.wsmc-toggle {
    border: 0;
    background: transparent;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    padding: 6px 8px;
    font-weight: 600;
    min-height: 36px;
}

.wsmc-toggle,
.wsmc-toggle:hover,
.wsmc-toggle:focus,
.wsmc-toggle:active {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    outline: 0 !important;
}

.wsmc-toggle .wsmc-icon {
    display: inline-flex;
    line-height: 0;
    position: relative;
    flex: 0 0 auto;
}

.wsmc-toggle .wsmc-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.wsmc-toggle .wsmc-label {
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
}

.wsmc-toggle .wsmc-count {
    position: absolute;
    top: -8px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #355bff;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    padding: 0 5px;
}

.wsmc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    z-index: 99990;
}

.wsmc-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.wsmc-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(92vw, var(--wsmc-width, 410px));
    max-width: 100vw;
    height: 100dvh;
    background: linear-gradient(
        165deg,
        var(--wsmc-grad-start, #7c1527) 0%,
        var(--wsmc-grad-mid, #4a193c) 52%,
        var(--wsmc-grad-end, #1e2f64) 100%
    );
    color: #fff;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 99991;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.28);
}

.wsmc-drawer.is-active {
    transform: translateX(0);
}

.wsmc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: max(18px, env(safe-area-inset-top));
}

.wsmc-head h3 {
    margin: 0;
    font-size: 31px;
    font-weight: 600;
    color: #fff;
}

.wsmc-close {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    min-width: 36px;
    min-height: 36px;
}

.wsmc-body {
    flex: 1;
    overflow: auto;
    padding: 12px;
    overscroll-behavior: contain;
}

.wsmc-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wsmc-item {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 10px;
    align-items: start;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    padding: 10px;
}

.wsmc-item-thumb img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.wsmc-item-name {
    margin: 0 0 5px;
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
}

.wsmc-item-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 13px;
    color: #f5f5f5;
    margin-bottom: 8px;
}

.wsmc-qty-wrap {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    overflow: hidden;
    min-height: 32px;
    padding: 0 10px;
    gap: 10px;
    background: transparent;
}

.wsmc-qty-btn {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
    width: 18px;
    min-width: 18px;
    height: 30px;
    line-height: 30px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wsmc-qty-input {
    width: 40px;
    border: 0;
    background: transparent;
    color: #fff;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    -moz-appearance: textfield;
    border: none !important;
    outline: none !important;
    line-height: normal;
    padding: 0;
}

.wsmc-qty-input::-webkit-outer-spin-button,
.wsmc-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wsmc-remove {
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    opacity: 0.85;
    padding: 8px;
    min-width: 34px;
    min-height: 34px;
}

.wsmc-remove:hover {
    opacity: 1;
    background: transparent;
    border-radius: 0;
}

.wsmc-foot {
    padding: 14px 14px calc(16px + env(safe-area-inset-bottom));
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.wsmc-foot.is-hidden {
    display: none;
}

.wsmc-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 700;
}

.wsmc-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.wsmc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    background: #f6f6f6;
    border-radius: 999px;
    color: #000000;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    padding: 8px 10px;
    border: 0;
}

.wsmc-btn:hover {
    background: #f6f6f6;
    color: #000000;
    filter: brightness(0.98);
}

.wsmc-btn-clear {
    grid-column: 1 / -1;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.wsmc-btn-clear:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.wsmc-empty {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    gap: 10px;
}

.wsmc-empty h4 {
    margin: 0;
    color: #fff;
    font-size: 33px;
    line-height: 1.2;
}

.wsmc-empty p {
    margin: 0;
    color: #f0f0f0;
    font-size: 16px;
    line-height: 1.45;
    max-width: 320px;
}

.wsmc-empty-btn {
    margin-top: 6px;
    min-width: 168px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    background: #0f4c81;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
}

.wsmc-empty-btn:hover {
    background: #145d9b;
    color: #fff;
}

.wsmc-open {
    overflow: hidden;
}

.wsmc-drawer.is-loading .wsmc-body {
    opacity: 0.58;
    pointer-events: none;
}

@media (max-width: 767px) {
    .wsmc-drawer {
        width: min(96vw, 380px);
    }

    .wsmc-head h3 {
        font-size: 28px;
    }

    .wsmc-item {
        grid-template-columns: 56px 1fr auto;
    }

    .wsmc-item-thumb img {
        width: 56px;
        height: 56px;
    }

    .wsmc-empty h4 {
        font-size: 30px;
    }

    .wsmc-empty p {
        font-size: 15px;
    }

    .wsmc-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .wsmc-head {
        padding: 14px 12px;
        padding-top: max(14px, env(safe-area-inset-top));
    }

    .wsmc-head h3 {
        font-size: 24px;
    }

    .wsmc-body {
        padding: 10px;
    }

    .wsmc-item {
        grid-template-columns: 52px 1fr auto;
        gap: 8px;
        padding: 8px;
    }

    .wsmc-item-thumb img {
        width: 52px;
        height: 52px;
    }

    .wsmc-item-name {
        font-size: 13px;
    }

    .wsmc-item-meta {
        font-size: 12px;
    }

    .wsmc-qty-btn {
        width: 30px;
        height: 30px;
    }

    .wsmc-qty-input {
        width: 38px;
        font-size: 12px;
    }

    .wsmc-foot {
        padding: 12px 10px calc(14px + env(safe-area-inset-bottom));
    }

    .wsmc-total-row {
        margin-bottom: 10px;
        font-size: 14px;
    }

    .wsmc-btn {
        min-height: 42px;
        font-size: 11px;
    }

    .wsmc-empty {
        padding: 12px;
    }

    .wsmc-empty h4 {
        font-size: 26px;
    }

    .wsmc-empty p {
        font-size: 14px;
    }

    .wsmc-empty-btn {
        min-height: 40px;
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .wsmc-toggle .wsmc-label {
        display: none;
    }

    .wsmc-toggle {
        padding-right: 4px;
    }

    .wsmc-toggle .wsmc-count {
        top: -7px;
        right: -9px;
        min-width: 17px;
        height: 17px;
        line-height: 17px;
        font-size: 10px;
    }

    .wsmc-head h3 {
        font-size: 22px;
    }

    .wsmc-empty h4 {
        font-size: 22px;
    }

    .wsmc-empty p {
        font-size: 13px;
    }
}

.wsmc-qty-wrap {
    padding: 0px;
}

.wsmc-qty-btn {
    color: rgb(255, 255, 255) !important;
    font-size: 18px;
    cursor: pointer;
    border-width: 0px;
    border-style: initial;
    border-color: initial;
    border-image: initial;
    background: transparent !important;
    border: none !important;
    line-height: normal;
    padding: 10px 20px !important;
    height: auto;
    width: min-content !important;
    align-items: center;
    justify-content: center;
    font-size: 18px !important;
    min-width: auto;
    display: flex !important;
}

.wsmc-qty-btn:hover,
.wsmc-remove:hover {
    /* background: rgb(113, 22, 43) !important; */
    background: #fff !important;
    color: rgb(113, 22, 43) !important;
}

.wsmc-remove {
    border: none !important;
    padding: 8px !important;
    min-width: 34px;
    min-height: 34px;
    line-height: normal;
}

.wsmc-remove svg path {
    fill: #fff !important;
}

.wsmc-remove:hover svg path {
    color: rgb(113, 22, 43) !important;
}

.wsmc-remove:hover {
    opacity: 1;
    line-height: normal;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    /* width: auto; */
    background: rgb(113, 22, 43);
    border-radius: 100px;
}

.wsmc-btn-clear {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    background: transparent !important;
    border-radius: 999px !important;
    text-decoration: none;
    padding: 8px 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
}

.wsmc-btn-clear:hover {
    opacity: 1;
    line-height: normal;
    justify-content: center;
    align-items: center;
    width: auto;
    min-width: 34px;
    height: auto;
    background: rgba(255, 255, 255, 0.14) !important;
}

.wsmc-close {
    border: 0;
    background: transparent;
    color: #fff !important;
    font-size: 34px !important;
    line-height: 1;
    cursor: pointer !important;
    padding: 0 !important;
    min-width: 36px;
    min-height: 36px;
    border: none !important;
}

.wsmc-close:hover {
    background: #c36 !important;
}

/* Cart page explore-more cards aligned with shop/archive product card styling */
.waterstop-cart-explore__grid {
    display: grid;
    grid-template-columns: repeat(var(--ws-cart-explore-cols-desktop, 3), minmax(0, 1fr));
    gap: var(--ws-cart-explore-gap, 20px);
    align-items: stretch;
}

.waterstop-cart-explore__grid > .list-col-item,
.waterstop-cart-explore__grid > .list-col-item > [class*="item-grid-product-style"] {
    width: 100%;
    max-width: 100%;
}

.waterstop-cart-explore__grid > .list-col-item {
    display: block;
    margin: 0;
}

.waterstop-cart-explore .item-grid-product-style4,
.waterstop-cart-explore .item-grid-product-style5 {
    display: block;
    height: 100%;
}

.waterstop-cart-explore .item-grid-product-style4 .item-product,
.waterstop-cart-explore .item-grid-product-style5 .item-product {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(180deg, #542233 0%, #1f335f 100%);
    padding: 10px !important;
    border: 1px solid #cccc;
    border-radius: 10px !important;
}

.waterstop-cart-explore .item-grid-product-style4 .product-thumb,
.waterstop-cart-explore .item-grid-product-style4 .product-info,
.waterstop-cart-explore .item-grid-product-style5 .product-thumb,
.waterstop-cart-explore .item-grid-product-style5 .product-info {
    float: none;
    width: 100%;
}

.waterstop-cart-explore .item-grid-product-style4 .product-thumb,
.waterstop-cart-explore .item-grid-product-style5 .product-thumb {
    position: relative;
    flex: 0 0 auto;
    background: #fff;
    border-radius: 0;
    aspect-ratio: 1 / 1;
    min-height: 0;
    overflow: hidden;
}

.waterstop-cart-explore .item-grid-product-style4 .product-thumb .product-thumb-link,
.waterstop-cart-explore .item-grid-product-style5 .product-thumb .product-thumb-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.waterstop-cart-explore .item-grid-product-style4 .product-thumb .product-thumb-link img,
.waterstop-cart-explore .item-grid-product-style5 .product-thumb .product-thumb-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.waterstop-cart-explore .item-grid-product-style4 .product-info,
.waterstop-cart-explore .item-grid-product-style5 .product-info {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: flex-start;
    padding: 14px 14px 16px;
}

.waterstop-cart-explore .item-grid-product-style4 .product-category-single-top,
.waterstop-cart-explore .item-grid-product-style4 .item-brand-product,
.waterstop-cart-explore .item-grid-product-style4 .wap-item-attribute,
.waterstop-cart-explore .item-grid-product-style5 .product-category-single-top,
.waterstop-cart-explore .item-grid-product-style5 .item-brand-product,
.waterstop-cart-explore .item-grid-product-style5 .wap-item-attribute {
    display: none !important;
}

.waterstop-cart-explore .item-grid-product-style4 .product-title,
.waterstop-cart-explore .item-grid-product-style4 .product-title a,
.waterstop-cart-explore .item-grid-product-style4 .product-price,
.waterstop-cart-explore .item-grid-product-style4 .woocs_price_code,
.waterstop-cart-explore .item-grid-product-style4 .woocommerce-Price-amount,
.waterstop-cart-explore .item-grid-product-style4 .woocommerce-Price-currencySymbol,
.waterstop-cart-explore .item-grid-product-style4 .ex-tax,
.waterstop-cart-explore .item-grid-product-style5 .product-title,
.waterstop-cart-explore .item-grid-product-style5 .product-title a,
.waterstop-cart-explore .item-grid-product-style5 .product-price,
.waterstop-cart-explore .item-grid-product-style5 .woocs_price_code,
.waterstop-cart-explore .item-grid-product-style5 .woocommerce-Price-amount,
.waterstop-cart-explore .item-grid-product-style5 .woocommerce-Price-currencySymbol,
.waterstop-cart-explore .item-grid-product-style5 .ex-tax,
.waterstop-cart-explore .item-grid-product-style5 .title-rating > span[aria-hidden="true"] {
    color: #fff !important;
}

.waterstop-cart-explore .item-grid-product-style4 .product-title,
.waterstop-cart-explore .item-grid-product-style5 .product-title {
    min-height: calc(1.35em * 2);
    margin-bottom: 0;
}

.waterstop-cart-explore .item-grid-product-style4 .product-title a,
.waterstop-cart-explore .item-grid-product-style5 .product-title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.waterstop-cart-explore .item-grid-product-style4 .wrap-rating,
.waterstop-cart-explore .item-grid-product-style5 .wrap-rating {
    margin: 8px 0 6px !important;
}

.waterstop-cart-explore .item-grid-product-style4 .title-rating,
.waterstop-cart-explore .item-grid-product-style5 .title-rating {
    display: block;
    min-height: 2.8em;
    word-break: break-word;
}

.waterstop-cart-explore .item-grid-product-style4 .title-rating .ex-tax,
.waterstop-cart-explore .item-grid-product-style5 .title-rating .ex-tax {
    margin-left: 0.35em;
    white-space: nowrap;
}

.waterstop-cart-explore .item-grid-product-style4 .product-thumb .product-extra-link,
.waterstop-cart-explore .item-grid-product-style5 .product-thumb .product-extra-link {
    position: absolute;
    right: -50px;
    top: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: 0.3s;
    z-index: 2;
}

.waterstop-cart-explore .item-grid-product-style4 .item-product:hover .product-thumb .product-extra-link,
.waterstop-cart-explore .item-grid-product-style5 .item-product:hover .product-thumb .product-extra-link {
    right: 12px;
}

.waterstop-cart-explore .item-grid-product-style4 .product-thumb .product-extra-link a,
.waterstop-cart-explore .item-grid-product-style5 .product-thumb .product-extra-link a {
    /* width: 36px;
    height: 36px;
    border-radius: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    box-shadow: 0 0 8px 0 #00000014;
    transition: 0.3s; */
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #374bff;
    color: #fff;
    border: none;
    box-shadow: 0 6px 18px rgba(20, 41, 74, .18);
    transition: all .25s ease;
}

.waterstop-cart-explore .item-grid-product-style4 .product-thumb .product-extra-link a:hover,
.waterstop-cart-explore .item-grid-product-style5 .product-thumb .product-extra-link a:hover {
    background: #333333;
    color: #fff;
}

.waterstop-cart-explore .item-grid-product-style4 .product-info .action-buttons,
.waterstop-cart-explore .item-grid-product-style5 .product-info .action-buttons {
    /* position: absolute;
    bottom: -50px;
    display: flex;
    justify-content: center;
    width: 100%;
    transition: 0.3s;
    background: #fff;
    z-index: 1; */

    margin-top: auto;
    padding-top: 14px;
    width: 100%;
    align-self: stretch;
    opacity: 1;
    visibility: visible;
    position: static;
    bottom: auto;
    /* display: flex; */
}

.waterstop-cart-explore .item-grid-product-style4 .item-product:hover .product-thumb .action-buttons,
.waterstop-cart-explore .item-grid-product-style5 .item-product:hover .product-thumb .action-buttons {
    bottom: 0;
}

.waterstop-cart-explore .item-grid-product-style4 .addcart-link-style5,
.waterstop-cart-explore .item-grid-product-style5 .addcart-link-style5 {
    /* color: #fff;
    width: 100%;
    text-align: center;
    padding: 8px 0;
    background: var(--bzo-main-color);
    font-size: 15px;
    font-weight: 500;
    text-transform: capitalize;
    font-family: var(--bzo-title_typo-font-family); */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100% !important;
    max-width: 100%;
    background-size: 100% 100%;
    transition: all .25s ease;
    color: #fff;
    text-align: center;
    padding: 8px 0;
    background: var(--bzo-main-color);
    font-size: 15px;
    font-weight: 500;
    text-transform: capitalize;
    font-family: var(--bzo-title_typo-font-family);
    background: linear-gradient(90deg, #8b6f7d 0%, #7d8399 100%);
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 50px 50px 50px 50px;
    padding: 13px 25px 13px 25px;
}

.waterstop-cart-explore .item-grid-product-style4 .addcart-link-style5:hover,
.waterstop-cart-explore .item-grid-product-style5 .addcart-link-style5:hover {
    background-color: #000;
    color: #fff;
}

@media (max-width: 1024px) {
    .waterstop-cart-explore__grid {
        grid-template-columns: repeat(var(--ws-cart-explore-cols-tablet, 2), minmax(0, 1fr));
    }
}

@media (max-width: 880px) {
    .waterstop-cart-explore .item-grid-product-style4 .item-product .product-extra-link a.quickview-link,
    .waterstop-cart-explore .item-grid-product-style5 .item-product .product-extra-link a.quickview-link {
        display: none;
    }
}

@media (max-width: 767px) {
    .waterstop-cart-explore__grid {
        grid-template-columns: repeat(var(--ws-cart-explore-cols-mobile, 1), minmax(0, 1fr));
    }

    .waterstop-cart-explore .item-grid-product-style4 .addcart-link-style5,
    .waterstop-cart-explore .item-grid-product-style5 .addcart-link-style5 {
        padding: 5px 0;
    }
}


.cart-custom .waterstop-cart-coupon__fields button.button {
    border: none !important;
    margin-left: 0px !important;
}

.cart-custom .waterstop-cart-coupon__fields button.button:hover,
.cart-custom .cart_totals .wc-proceed-to-checkout .checkout-button:hover {
    background: #000 !important;
    color: #fff !important;
}

.cart-custom .waterstop-cart-coupon__fields {
    gap: 15px !important;
}