/* Togas Wishlist Customizations */
.breakdance .bde-wooproductcartbutton .single_product_button_div {
    width: 100%;
    margin: 0 0 12px;
    padding: 0 !important;
}

.breakdance .bde-wooproductcartbutton .single_product_button_div > button.wt-wishlist-button,
.breakdance .bde-wooproductcartbutton .single_product_button_div > a {
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: auto;
    min-height: 24px;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    color: #0f1319;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    text-decoration: none;
    transition: color 180ms ease;
}

.breakdance .bde-wooproductcartbutton .single_product_button_div > button.wt-wishlist-button {
    display: flex;
    appearance: none;
    cursor: pointer;
}

.breakdance .bde-wooproductcartbutton .single_product_button_div > button.wt-wishlist-button::before {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    background-color: currentColor;
    content: "";
    transition: transform 180ms ease;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78L12 21.23l8.84-8.84a5.5 5.5 0 0 0 0-7.78Z' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78L12 21.23l8.84-8.84a5.5 5.5 0 0 0 0-7.78Z' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.breakdance .bde-wooproductcartbutton .single_product_button_div > a img {
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    filter: grayscale(1) brightness(0);
    transition:
        filter 180ms ease,
        transform 180ms ease;
}

.breakdance .bde-wooproductcartbutton .single_product_button_div > a img[src*="wt-loader.svg"] {
    filter: none;
    transform: none;
}

.breakdance .bde-wooproductcartbutton .single_product_button_div > button.wt-wishlist-button:hover,
.breakdance .bde-wooproductcartbutton .single_product_button_div > a:hover {
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #686864;
}

.breakdance .bde-wooproductcartbutton .single_product_button_div > button.wt-wishlist-button:hover::before,
.breakdance .bde-wooproductcartbutton .single_product_button_div > a:hover img {
    transform: scale(1.12);
}

.breakdance .bde-wooproductcartbutton .single_product_button_div > button.wt-wishlist-button:focus-visible,
.breakdance .bde-wooproductcartbutton .single_product_button_div > a:focus-visible {
    outline: 2px solid #0f1319;
    outline-offset: 3px;
}

/* Product cards: icon-only wishlist action over the product image. */
.woocommerce ul.products li.product,
.breakdance-woocommerce ul.products li.product {
    position: relative;
}

.icon_above_image {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 12;
    margin: 0;
    padding: 0;
    line-height: 1;
    transition: opacity 180ms ease;
}

.icon_above_image.is-wishlist-loading {
    pointer-events: none;
    opacity: 0.55;
}

.icon_above_image > button.wt-wishlist-button,
.icon_above_image > a {
    align-items: center;
    justify-content: center;
    width: 36px !important;
    min-width: 36px;
    height: 36px !important;
    min-height: 36px;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 8px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.72) !important;
    box-shadow: 0 2px 10px rgba(15, 19, 25, 0.08) !important;
    color: rgba(15, 19, 25, 0.68) !important;
    line-height: 1 !important;
    text-decoration: none;
    cursor: pointer;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition:
        background-color 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.icon_above_image > button.wt-wishlist-button {
    display: inline-flex;
    overflow: hidden;
    font-size: 0 !important;
}

.icon_above_image > button.wt-wishlist-button::before {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    background-color: currentColor;
    content: "";
    transition:
        background-color 180ms ease,
        transform 180ms ease;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78L12 21.23l8.84-8.84a5.5 5.5 0 0 0 0-7.78Z' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.7'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78L12 21.23l8.84-8.84a5.5 5.5 0 0 0 0-7.78Z' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.icon_above_image > a {
    display: inline-flex;
    gap: 0;
}

.icon_above_image > a > i.wt-wishlist-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin: 0;
    color: inherit;
}

.icon_above_image > a > i.wt-wishlist-button > img {
    display: none !important;
}

.icon_above_image > a > i.wt-wishlist-button::before {
    display: block;
    width: 20px;
    height: 20px;
    background-color: currentColor;
    content: "";
    transition: transform 180ms ease;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78L12 21.23l8.84-8.84a5.5 5.5 0 0 0 0-7.78Z' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.7'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78L12 21.23l8.84-8.84a5.5 5.5 0 0 0 0-7.78Z' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.icon_above_image > a > i.wt-wishlist-button[data-action="remove"]::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78L12 21.23l8.84-8.84a5.5 5.5 0 0 0 0-7.78Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78L12 21.23l8.84-8.84a5.5 5.5 0 0 0 0-7.78Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}

.icon_above_image > a .wishlist_text_icon_image {
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    opacity: 0.68;
    filter: grayscale(1) brightness(0);
    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

.icon_above_image > a span.wt-wishlist-button,
.icon_above_image > .browse_wishlist,
.icon_above_image > br {
    display: none !important;
}

.icon_above_image > button.wt-wishlist-button:hover,
.icon_above_image > a:hover {
    background: rgba(255, 255, 255, 0.94) !important;
    color: #0f1319 !important;
    transform: translateY(-1px);
}

.icon_above_image > button.wt-wishlist-button:hover::before,
.icon_above_image > a:hover > i.wt-wishlist-button::before,
.icon_above_image > a:hover .wishlist_text_icon_image {
    transform: scale(1.12);
}

.icon_above_image > a:hover .wishlist_text_icon_image {
    opacity: 1;
}

.icon_above_image > button.wt-wishlist-button:focus-visible,
.icon_above_image > a:focus-visible {
    outline: 2px solid #0f1319;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .icon_above_image > button.wt-wishlist-button::before,
    .icon_above_image > a,
    .icon_above_image > a > i.wt-wishlist-button::before,
    .icon_above_image > a .wishlist_text_icon_image {
        transition: none;
    }
}

/* Wishlist page */
.wbte_wishlist_heading {
    margin: 0 0 32px;
    color: #0f1319;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 400;
    line-height: 1.2;
}

.wbte_wishlist_heading ~ form {
    width: 100%;
}

.wt_frontend_wishlist_table {
    width: 100%;
    border: 0;
    border-collapse: collapse;
    background: #fff;
}

.wt_frontend_wishlist_table th,
.wt_frontend_wishlist_table td {
    border: 0;
    border-bottom: 1px solid #dededb;
    padding: 20px 12px;
    color: #0f1319;
    text-align: left;
    vertical-align: middle;
}

.wt_frontend_wishlist_table th {
    padding-top: 0;
    padding-bottom: 14px;
    color: #686864;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-transform: uppercase;
}

.wt_frontend_wishlist_table .col-remove {
    width: 36px;
    padding-left: 0;
    text-align: left;
}

.wt_frontend_wishlist_table .col-image {
    width: 116px;
}

.wt_frontend_wishlist_table .col-image img {
    display: block;
    width: 96px;
    max-width: 96px;
    height: 96px;
    margin: 0;
    object-fit: cover;
}

.wt_frontend_wishlist_table .col-name a {
    color: #0f1319;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: color 180ms ease;
}

.wt_frontend_wishlist_table .col-name a:hover {
    color: #686864;
}

.wt_frontend_wishlist_table .col-price {
    font-size: 16px;
    white-space: nowrap;
}

.wt_frontend_wishlist_table .stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #686864;
    font-size: 13px;
    white-space: nowrap;
}

.wt_frontend_wishlist_table .stock-badge::before {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.wt_frontend_wishlist_table .stock-badge.in {
    background: transparent;
    color: #527153;
}

.wt_frontend_wishlist_table .stock-badge.out {
    background: transparent;
    color: #8d4b4b;
}

.wt_frontend_wishlist_table .remove-link {
    display: inline-flex;
    padding: 4px;
    color: #686864;
    text-decoration: none;
}

.wt_frontend_wishlist_table .remove_wishlist_single {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    background: rgba(15, 19, 25, 0.08);
    transition:
        background-color 180ms ease,
        transform 180ms ease;
}

.wt_frontend_wishlist_table .remove_wishlist_single::before,
.wt_frontend_wishlist_table .remove_wishlist_single::after {
    position: absolute;
    width: 11px;
    height: 1px;
    border-radius: 1px;
    background: #0f1319;
    content: "";
    transition: background-color 180ms ease;
}

.wt_frontend_wishlist_table .remove_wishlist_single::before {
    transform: rotate(45deg);
}

.wt_frontend_wishlist_table .remove_wishlist_single::after {
    transform: rotate(-45deg);
}

.wt_frontend_wishlist_table .remove_wishlist_single img {
    display: none !important;
}

.wt_frontend_wishlist_table .remove-link:hover .remove_wishlist_single {
    background: #0f1319;
    transform: scale(1.06);
}

.wt_frontend_wishlist_table .remove-link:hover .remove_wishlist_single::before,
.wt_frontend_wishlist_table .remove-link:hover .remove_wishlist_single::after {
    background: #fff;
}

.wt_frontend_wishlist_table .col-action {
    padding-right: 0;
    text-align: right;
}

.wt_frontend_wishlist_table .single-add-to-cart,
.bulk-add-wrapper .bulk-add-btn {
    min-height: 44px;
    margin: 0;
    padding: 11px 22px;
    border: 1px solid #0f1319;
    border-radius: 0;
    background: #0f1319;
    box-shadow: none;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background-color 180ms ease,
        color 180ms ease;
}

.wt_frontend_wishlist_table .single-add-to-cart:hover,
.bulk-add-wrapper .bulk-add-btn:hover {
    background: #fff;
    color: #0f1319;
}

.wt_frontend_wishlist_table .added_to_cart.wc-forward {
    display: none !important;
}

.bulk-add-wrapper {
    margin-top: 24px;
    margin-bottom: 0;
}

.bulk-add-wrapper .bulk-add-btn[disabled] {
    cursor: wait;
    opacity: 0.55;
}

.togas-wishlist-bulk-notice {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 24px;
    padding: 14px 16px;
    border: 1px solid #dededb;
    background: #f5f5f3;
    color: #0f1319;
    font-size: 14px;
    line-height: 1.5;
}

.togas-wishlist-bulk-notice.is-error {
    border-color: #c9a3a3;
    background: #faf3f3;
    color: #704040;
}

.wbte_wishlist_heading + h3 {
    margin: 0;
    padding: 64px 24px;
    background: #f5f5f3;
    color: #686864;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .wbte_wishlist_heading {
        margin-bottom: 24px;
        font-size: 24px;
    }

    .wt_frontend_wishlist_table,
    .wt_frontend_wishlist_table tbody {
        display: block;
        width: 100%;
    }

    .wt_frontend_wishlist_table .wishlist-row {
        position: relative;
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr);
        width: 100%;
        padding: 18px 0;
        border-bottom: 1px solid #dededb;
        column-gap: 14px;
    }

    .wt_frontend_wishlist_table .wishlist-row td {
        display: block;
        width: auto;
        padding: 0;
        border: 0;
    }

    .wt_frontend_wishlist_table .wishlist-row .col-image {
        grid-row: 1 / span 4;
        grid-column: 1;
    }

    .wt_frontend_wishlist_table .col-image img {
        width: 88px;
        max-width: 88px;
        height: 88px;
    }

    .wt_frontend_wishlist_table .wishlist-row .col-name,
    .wt_frontend_wishlist_table .wishlist-row .col-price,
    .wt_frontend_wishlist_table .wishlist-row .col-stock,
    .wt_frontend_wishlist_table .wishlist-row .col-action {
        grid-column: 2;
    }

    .wt_frontend_wishlist_table .wishlist-row .col-name {
        grid-row: 1;
        padding-right: 30px;
    }

    .wt_frontend_wishlist_table .wishlist-row .col-price {
        grid-row: 2;
        margin-top: 6px;
        font-size: 14px;
    }

    .wt_frontend_wishlist_table .wishlist-row .col-stock {
        grid-row: 3;
        margin-top: 7px;
    }

    .wt_frontend_wishlist_table .wishlist-row .col-action {
        grid-row: 4;
        margin-top: 12px;
        text-align: left;
    }

    .wt_frontend_wishlist_table .wishlist-row .col-remove {
        position: absolute;
        top: 11px;
        right: -7px;
        left: auto !important;
        width: auto !important;
    }

    .wt_frontend_wishlist_table .single-add-to-cart {
        width: auto;
        min-height: 40px;
        padding: 9px 16px;
    }

    .bulk-add-wrapper .bulk-add-btn {
        width: 100%;
    }

    .wbte_wishlist_heading + h3 {
        padding: 48px 18px;
    }
}
