/* product single page */
.wopb-wishlist-addon-btn  {
    cursor: pointer;
    display: inline-flex;
}
.wopb-wishlist-addon-btn span {
    display: flex;
    align-items: center;
    line-height: 1;
    gap: 5px;
}
.wopb-wishlist-addon-btn:not(.wopb-wishlist-active) .wopb-wishlist-browse,
.wopb-wishlist-addon-btn.wopb-wishlist-active .wopb-wishlist-text
{
    display: none;
}
/* wishlist page */
.wopb-wishlist-popup {
    display: none;
    position: fixed;
    background-color: #e4ff00;
    padding: 20px;
    overflow: hidden;
    margin: 0 auto;
    width: 600px;
    top: 0%;
    left: 0%;
}
.wopb-wishlist-popup.active{
    display: block;
}
.wopb-modal-wrap .wopb-wishlist-modal {
    padding: 0;
}
.wopb-modal-wrap .wopb-wishlist-modal table {
    min-height: 80px;
    width: 100%;
}
.wopb-wishlist-modal table {
    margin: 0;
    border: none;
}
.wopb-wishlist-modal table thead {
    /*background: #ededed;*/
    position: sticky;
    top: 0;
    z-index: 1;
}
.wopb-wishlist-modal table thead tr th {
    padding: 12px 15px;
}
.wopb-wishlist-modal table tbody tr td {
    padding: 12px 15px;
    vertical-align: middle;
    text-decoration: none;
}
.wopb-wishlist-modal table tbody tr td.wopb-wishlist-product-action {
    min-width: 160px;
}
.wopb-wishlist-modal table tbody tr td.wopb-wishlist-product-price {
    min-width: 170px;
}
.wopb-wishlist-modal table tbody tr td.wopb-wishlist-product-price del {
    margin-right: 8px;
}
.wopb-wishlist-modal table tbody tr td.wopb-wishlist-product-image a {
    line-height: 0;
    font-size: 0;
    display: inherit;
}
.wopb-wishlist-modal table tbody tr td.wopb-wishlist-product-image img {
    width: 80px;
    height: 100%;
}
.wopb-wishlist-modal table tbody tr td a.wopb-wishlist-remove {
    color: #f37262;
    font-size: 20px;
    height: 20px;
    width: 20px;
    line-height: 18px;
    text-decoration: none !important;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    border-radius: 100%;
    font-weight: 700;
    border: 0;
    text-align: center;
    display: inline-block;
}
.wopb-wishlist-modal table tbody tr td a.wopb-wishlist-remove:hover {
    color: #fff;
    background: red;
}
.wopb-wishlist-modal table tbody tr td.wopb-wishlist-product-action p.add_to_cart_inline {
    padding: 0 !important;
    border: none !important;
    margin-bottom: 0;
}
.wopb-wishlist-modal table tbody tr td.wopb-wishlist-product-action p.add_to_cart_inline a.button {
    margin-left: 0;
}
.wopb-wishlist-modal table tbody tr td.wopb-wishlist-product-name {
    line-height: 1.3;
}
.wopb-wishlist-modal td a {
    text-decoration: none !important;
}
.wopb-wishlist-product-footer,
.wopb-wishlist-shortcode .wopb-wishlist-product-footer {
    padding: 12px 20px;
    background: #ededed;
    display: flex;
    align-items: center;
}
.wopb-wishlist-product-footer span:first-child,
.wopb-wishlist-shortcode .wopb-wishlist-product-footer span:first-child {
    display: none;
}
.wopb-wishlist-product-footer span:nth-child(2),
.wopb-wishlist-shortcode .wopb-wishlist-product-footer span:nth-child(2) {
    display: flex;
    margin-right: auto;
}
/* popup */
.wopb-modal-wrap .wopb-wishlist-modal-content {
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    margin: 0 auto;
    position: relative;
    max-width: 1200px;
    max-height: 100%;
    border-radius: 4px;
}
.wopb-wishlist-table-body {
    overflow-y: auto;
    height: 80vh;
    scrollbar-color: #ff8645;
}
.wopb-wishlist-table-body::-webkit-scrollbar  {
    width: 6px;
    height: 6px;
}
.wopb-wishlist-table-body::-webkit-scrollbar-track  {
    background-color: #eae8e8;
}
.wopb-wishlist-table-body::-webkit-scrollbar-thumb {
    background-color: #ff8645;
    border-radius: 50px;
}
.wopb-wishlist-table-body::-webkit-scrollbar-thumb:hover  {
    background-color: #e24f00;
}

.product-gallery-summary .botiga-single-addtocart-wrapper {
    flex-wrap: wrap;
}

.product-gallery-summary .botiga-single-addtocart-wrapper .button {
    width: fit-content;
}

/* wishlist for default shop page  */
.woocommerce-shop:not(:has(.wopb-builder-container)):not(:has(.wopb-block-wrapper)) .wopb-wishlist-addon-btn {
    display: block;
    cursor: pointer;
}
.woocommerce-shop:not(:has(.wopb-builder-container)):has(.wopb-block-wrapper) .wopb-cart-action .wopb-wishlist-addon-btn {
    display:none;
}
.woocommerce-shop:not(:has(.wopb-builder-container)) .wopb-wishlist-addon-btn strong {
    margin-right: 5px;
    font-size: 16px;
}

.woocommerce-shop .wopb-modal-wrap.active .wopb-wishlist-modal .wopb-wishlist-addon-btn , .woocommerce-shop .wopb-modal-wrap.active .wopb-wishlist-modal .wopb-compare-btn , .woocommerce-shop .wopb-modal-wrap.active .wopb-wishlist-modal .wopb-quickview-btn {
    display: none;
}
.wopb-modal-continue {
    cursor: pointer;
}

/* wishlist header nav style */
.wopb-wishlist-nav-item {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    height: fit-content;
    justify-content: center;
    cursor: pointer;
    line-height: normal;
}
.wopb-wishlist-nav-item.wopb-flex-column-dir
{
    flex-direction: column;
    gap: 0;
}
.wopb-wishlist-nav-item .wopb-wishlist-icon
{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wopb-wishlist-nav-item .wopb-wishlist-icon .wopb-wishlist-count {
    position: absolute;
    background: #FF176B;
    color: #fff;
    border-radius: 10px;
    width: 16px;
    height: 16px;
    font-size: 10px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    top: -8px;
    right: -5px;
}
.wopb-wishlist-nav-item svg {
    width: 18px;
    height: 18px;
}
/*Compare header nav style end */

.wopb-modal-content .wopb-empty-wishlist-wrap {
    text-align: center;
    margin-top: 50px;
}
.wopb-wishlist-modal .wopb-wishlist-cart-added a,
.wopb-wishlist-modal .wopb-wishlist-cart-added a:hover {
    color: #ffffff;
    background-color: #FF176B;
}
.wopb-wishlist-modal .wopb-wishlist-cart-added a {
    border-color: #FF176B;
    padding: 12px 24px;
}