/* =========================================================
 * MISTER COFFEE — CLASSIC WOOCOMMERCE CHECKOUT STYLING
 * (Compatible with Site Settings, Additional CSS & Elementor)
 * ======================================================= */

/* Outer Page & Container */
html body.woocommerce-checkout,
html body.woocommerce-checkout #content,
html body.woocommerce-checkout #main {
    background-color: #f7f7f8 !important;
}

/* 1. Reset nested wrappers inside main content so padding never multiplies */
html body.woocommerce-checkout #content .elementor-32733 .e-con,
html body.woocommerce-checkout #content .elementor-widget-shortcode,
html body.woocommerce-checkout #content .elementor-widget-container,
html body.woocommerce-checkout #content .elementor-shortcode {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 2. Single Master Container: Only .woocommerce handles max-width and outer padding */
html body.woocommerce-checkout .woocommerce {
    width: 100% !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 24px 20px 56px !important;
    box-sizing: border-box !important;
}

/* 1. Coupon Notice Box & Toggle */
html body.woocommerce-checkout .woocommerce-info,
html body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background-color: #ffffff !important;
    color: #111827 !important;
    border: 1px solid #e5e7eb !important;
    border-left: 5px solid #80142b !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
    font-size: 14px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.03) !important;
}

/* Hide broken icon square overlapping "Have a coupon?" */
html body.woocommerce-checkout .woocommerce-info::before {
    display: none !important;
}

html body.woocommerce-checkout .woocommerce-info a,
html body.woocommerce-checkout .woocommerce-info a.showcoupon {
    color: #80142b !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    margin-left: auto !important;
}

/* Coupon Form */
html body.woocommerce-checkout form.checkout_coupon,
html body.woocommerce-checkout form.woocommerce-form-coupon {
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 20px 24px !important;
    margin-bottom: 28px !important;
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.03) !important;
}

html body.woocommerce-checkout form.checkout_coupon p.form-row-first {
    width: 65% !important;
    float: left !important;
    margin: 0 !important;
}

html body.woocommerce-checkout form.checkout_coupon p.form-row-last {
    width: 32% !important;
    float: right !important;
    margin: 0 !important;
}

html body.woocommerce-checkout form.checkout_coupon input.input-text {
    height: 42px !important;
    padding: 0 14px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
}

html body.woocommerce-checkout form.checkout_coupon .button {
    height: 42px !important;
    background-color: #111827 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
}

/* 2. Modern 2-Column Layout (Left 55% Float Left, Right 40% Float Right) */
@media (min-width: 992px) {

    html body.woocommerce-checkout form.checkout,
    html body.woocommerce-checkout form.woocommerce-checkout {
        display: block !important;
        width: 100% !important;
        float: none !important;
        clear: both !important;
    }

    html body.woocommerce-checkout form.checkout::after,
    html body.woocommerce-checkout form.woocommerce-checkout::after {
        content: "" !important;
        display: table !important;
        clear: both !important;
    }

    /* Left column: Customer Information (Billing & Shipping Details) */
    html body.woocommerce-checkout #customer_details,
    html body.woocommerce-checkout .col2-set#customer_details {
        width: 55% !important;
        max-width: 55% !important;
        float: left !important;
        margin-right: 5% !important;
        margin-bottom: 0 !important;
        box-sizing: border-box !important;
    }

    /* Right column: Heading "Your order" */
    html body.woocommerce-checkout #order_review_heading {
        width: 40% !important;
        max-width: 40% !important;
        float: right !important;
        clear: right !important;
        margin-top: 0 !important;
        margin-bottom: 16px !important;
        box-sizing: border-box !important;
    }

    /* Right column: Order Review Summary Card */
    html body.woocommerce-checkout #order_review,
    html body.woocommerce-checkout .woocommerce-checkout-review-order {
        width: 40% !important;
        max-width: 40% !important;
        float: right !important;
        clear: right !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
}

/* 3. Section Titles (Headers) */
html body.woocommerce-checkout h3,
html body.woocommerce-checkout #order_review_heading {
    font-family: inherit !important;
    color: #111827 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    border-bottom: 2px solid #eeeeee !important;
    padding-bottom: 10px !important;
    margin-bottom: 20px !important;
}

/* 4. Billing & Shipping Containers */
html body.woocommerce-checkout #customer_details {
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    padding: 24px 28px !important;
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.035) !important;
    box-sizing: border-box !important;
}

html body.woocommerce-checkout #customer_details .col-1,
html body.woocommerce-checkout #customer_details .col-2 {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Form Input Fields & Labels */
html body.woocommerce-checkout label {
    display: block !important;
    margin-bottom: 6px !important;
    color: #111827 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

html body.woocommerce-checkout input.input-text,
html body.woocommerce-checkout select,
html body.woocommerce-checkout textarea,
html body.woocommerce-checkout .thwcfe-input-field,
html body.woocommerce-checkout .select2-container .select2-selection--single {
    width: 100% !important;
    min-height: 42px !important;
    height: 42px !important;
    padding: 0 14px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    background-color: #ffffff !important;
    color: #111827 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 40px !important;
    box-shadow: 0 1px 3px rgba(17, 24, 39, 0.035) !important;
    outline: none !important;
    box-sizing: border-box !important;
}

html body.woocommerce-checkout textarea,
html body.woocommerce-checkout textarea.thwcfe-input-field {
    min-height: 88px !important;
    padding-top: 10px !important;
    line-height: 1.45 !important;
}

html body.woocommerce-checkout input.input-text:focus,
html body.woocommerce-checkout textarea:focus,
html body.woocommerce-checkout select:focus,
html body.woocommerce-checkout .select2-container--open .select2-selection--single {
    border-color: #80142b !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(128, 20, 43, 0.1) !important;
}

/* 5. Order Review & Payment Section */
html body.woocommerce-checkout #order_review {
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    padding: 24px 28px !important;
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.035) !important;
    box-sizing: border-box !important;
}

/* Order Review Product Thumbnail Styling */
html body.woocommerce-checkout .mc-checkout-item-title-wrap {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
}

html body.woocommerce-checkout .mc-checkout-product-thumb {
    width: 50px !important;
    height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    border: 1px solid #e5e7eb !important;
    flex-shrink: 0 !important;
    display: block !important;
}

html body.woocommerce-checkout #order_review table.shop_table {
    width: 100% !important;
    border: none !important;
    background-color: transparent !important;
    table-layout: auto !important;
}

html body.woocommerce-checkout #order_review table.shop_table th,
html body.woocommerce-checkout #order_review table.shop_table td {
    padding: 12px 0 !important;
    border-bottom: 1px solid #f3f4f6 !important;
    background-color: transparent !important;
    color: #111827 !important;
    word-break: normal !important;
}

html body.woocommerce-checkout #order_review table.shop_table tr.order-total th,
html body.woocommerce-checkout #order_review table.shop_table tr.order-total td,
html body.woocommerce-checkout #order_review table.shop_table tr.order-total .amount {
    color: #80142b !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    border-bottom: none !important;
}

/* Shipping & Payment Method Text Clean Wrap */
html body.woocommerce-checkout #order_review .woocommerce-shipping-methods li label,
html body.woocommerce-checkout #payment ul.payment_methods li label {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    line-height: 1.4 !important;
    font-size: 13.5px !important;
    word-break: normal !important;
}

/* Payment Methods */
html body.woocommerce-checkout #payment {
    background-color: transparent !important;
    border: none !important;
    padding: 10px 0 0 0 !important;
}

html body.woocommerce-checkout #payment ul.payment_methods {
    border: none !important;
    padding: 0 !important;
    margin-bottom: 20px !important;
}

html body.woocommerce-checkout #payment ul.payment_methods li {
    padding: 12px 16px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    background-color: #ffffff !important;
    margin-bottom: 10px !important;
}

html body.woocommerce-checkout #payment ul.payment_methods li input.input-radio {
    accent-color: #80142b !important;
}

/* 6. Place Order Button */
html body.woocommerce-checkout #place_order {
    background-color: #80142b !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    border-radius: 24px !important;
    padding: 14px 30px !important;
    width: 100% !important;
    border: none !important;
    box-shadow: 0 8px 18px rgba(128, 20, 43, 0.22) !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}

html body.woocommerce-checkout #place_order:hover {
    background-color: #5f0f20 !important;
}

/* =========================================================
   CHECKOUT RESPONSIVE & MOBILE PADDING OPTIMIZATIONS
========================================================= */

@media (max-width: 991px) {
    html body.woocommerce-checkout #customer_details,
    html body.woocommerce-checkout .col2-set#customer_details,
    html body.woocommerce-checkout #order_review_heading,
    html body.woocommerce-checkout #order_review,
    html body.woocommerce-checkout .woocommerce-checkout-review-order {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
        clear: both !important;
    }

    html body.woocommerce-checkout #order_review_heading {
        margin-top: 28px !important;
    }
}

@media (max-width: 767px) {
    /* Reset nested wrappers inside checkout page content */
    html body.woocommerce-checkout #content .elementor-32733 .e-con,
    html body.woocommerce-checkout #content .elementor-widget-shortcode,
    html body.woocommerce-checkout #content .elementor-widget-container,
    html body.woocommerce-checkout #content .elementor-shortcode {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Single clean mobile padding on .woocommerce: 16px top, 14px left/right, 36px bottom */
    html body.woocommerce-checkout .woocommerce {
        padding: 16px 14px 36px !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Info / Coupon / Login notice cards */
    html body.woocommerce-checkout .woocommerce-info,
    html body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
    html body.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info {
        padding: 12px 14px !important;
        margin-bottom: 14px !important;
        font-size: 13.5px !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        border-radius: 10px !important;
    }

    html body.woocommerce-checkout .woocommerce-info a,
    html body.woocommerce-checkout .woocommerce-info a.showcoupon,
    html body.woocommerce-checkout .woocommerce-info a.showlogin {
        margin-left: auto !important;
        font-size: 13.5px !important;
    }

    /* Coupon Form on Mobile */
    html body.woocommerce-checkout form.checkout_coupon,
    html body.woocommerce-checkout form.woocommerce-form-coupon {
        padding: 16px 14px !important;
        margin-bottom: 20px !important;
        border-radius: 12px !important;
    }

    html body.woocommerce-checkout form.checkout_coupon p.form-row-first,
    html body.woocommerce-checkout form.checkout_coupon p.form-row-last {
        width: 100% !important;
        float: none !important;
        margin-bottom: 10px !important;
    }

    html body.woocommerce-checkout form.checkout_coupon .button {
        width: 100% !important;
        height: 44px !important;
    }

    /* Cards: Comfortable 14px inner padding instead of 28px */
    html body.woocommerce-checkout #customer_details,
    html body.woocommerce-checkout .col2-set#customer_details,
    html body.woocommerce-checkout #order_review,
    html body.woocommerce-checkout .woocommerce-checkout-review-order {
        padding: 18px 14px !important;
        border-radius: 12px !important;
        margin-bottom: 18px !important;
        box-sizing: border-box !important;
    }

    html body.woocommerce-checkout h3,
    html body.woocommerce-checkout #order_review_heading {
        font-size: 18px !important;
        padding-bottom: 8px !important;
        margin-bottom: 16px !important;
    }

    html body.woocommerce-checkout #order_review_heading {
        margin-top: 20px !important;
    }

    /* Force all form rows full width on mobile so nothing overflows */
    html body.woocommerce-checkout .form-row,
    html body.woocommerce-checkout .form-row-first,
    html body.woocommerce-checkout .form-row-last,
    html body.woocommerce-checkout .form-row-wide {
        width: 100% !important;
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 14px !important;
        clear: both !important;
    }

    /* Mobile inputs touch target */
    html body.woocommerce-checkout input.input-text,
    html body.woocommerce-checkout select,
    html body.woocommerce-checkout textarea,
    html body.woocommerce-checkout .thwcfe-input-field,
    html body.woocommerce-checkout .select2-container .select2-selection--single {
        min-height: 44px !important;
        height: 44px !important;
        font-size: 14px !important;
        padding: 0 12px !important;
        border-radius: 8px !important;
    }

    /* Review Table & Payment */
    html body.woocommerce-checkout #order_review table.shop_table th,
    html body.woocommerce-checkout #order_review table.shop_table td {
        padding: 10px 0 !important;
        font-size: 13.5px !important;
    }

    html body.woocommerce-checkout #payment ul.payment_methods li {
        padding: 10px 12px !important;
    }

    html body.woocommerce-checkout #place_order {
        padding: 14px 20px !important;
        font-size: 15px !important;
        height: 48px !important;
        border-radius: 999px !important;
    }
}

/* =========================================================
   MISTER COFFEE — PREMIUM PRODUCT ARCHIVE
========================================================= */

.mc-premium-products {
    --mc-card-bg: var(--e-global-color-background, #ffffff);
    --mc-media-bg: #ffffff;
    --mc-text: var(--e-global-color-text, #2b1a14);
    --mc-muted: var(--e-global-color-secondary, #786c66);
    --mc-border: #ebe4dc;
    --mc-red: var(--e-global-color-accent, var(--e-global-color-primary, #80142b));
    --mc-red-dark: #640f21;
    --mc-star: #a62439;
    --mc-radius: 18px;

    width: 100%;
}

.mc-premium-products *,
.mc-premium-products *::before,
.mc-premium-products *::after {
    box-sizing: border-box;
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.mc-premium-products ul.products,
.elementor-widget-woocommerce-products ul.products,
.woocommerce ul.products,
ul.products {
    display: grid !important;
    grid-template-columns: var(--grid-template-columns, repeat(4, minmax(0, 1fr)));
    gap: 24px 20px;
    margin: 0 !important;
    padding: 0 !important;
}

/* Allow Elementor and WooCommerce native classes to set the column count natively if --grid-template-columns is absent */
ul.products.columns-1, .woocommerce.columns-1 ul.products { grid-template-columns: var(--grid-template-columns, repeat(1, minmax(0, 1fr))); }
ul.products.columns-2, .woocommerce.columns-2 ul.products { grid-template-columns: var(--grid-template-columns, repeat(2, minmax(0, 1fr))); }
ul.products.columns-3, .woocommerce.columns-3 ul.products { grid-template-columns: var(--grid-template-columns, repeat(3, minmax(0, 1fr))); }
ul.products.columns-4, .woocommerce.columns-4 ul.products { grid-template-columns: var(--grid-template-columns, repeat(4, minmax(0, 1fr))); }
ul.products.columns-5, .woocommerce.columns-5 ul.products { grid-template-columns: var(--grid-template-columns, repeat(5, minmax(0, 1fr))); }
ul.products.columns-6, .woocommerce.columns-6 ul.products { grid-template-columns: var(--grid-template-columns, repeat(6, minmax(0, 1fr))); }

.mc-premium-products ul.products::before,
.mc-premium-products ul.products::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}


/* =========================================================
   PRODUCT CARD (BORDERLESS BY DEFAULT, EXPANDS ON HOVER)
========================================================= */

.mc-premium-products ul.products li.product,
.elementor-widget-woocommerce-products ul.products li.product,
.woocommerce ul.products li.product,
ul.products li.product {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 10px !important;
    border: 1px solid transparent !important;
    border-radius: var(--mc-radius, 16px) !important;
    background: #ffffff !important;
    box-shadow: none !important;
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
}

@media (hover: hover) and (pointer: fine) {
    .mc-premium-products ul.products li.product:hover {
        z-index: 50 !important;
        border-color: #eee9e3 !important;
        background: #ffffff !important;
        box-shadow: 0 16px 40px rgba(51, 31, 21, 0.12) !important;
        transform: translateY(-6px) scale(1.015) !important;
    }
}


/* =========================================================
   PRODUCT MEDIA CONTAINER
========================================================= */

.sc-product-media {
    position: relative !important;
    width: 100% !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    border: 1px solid #f0ebe5 !important;
    display: block !important;
}

.sc-product-media-link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    color: inherit !important;
    text-decoration: none !important;
}


/* Image swap frame */

.sc-product-swap {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    overflow: hidden !important;
    aspect-ratio: 1 / 1.05;
    background: transparent !important;
}


/* Product images */

.sc-product-swap .sc-product-swap__image {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 18px 18px 18px !important;
    border: 0 !important;
    object-fit: contain !important;
    transition: opacity 0.38s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) !important;
}


/* Main & Secondary images */

.sc-product-swap .sc-product-swap__primary {
    z-index: 1 !important;
    opacity: 1 !important;
}

.sc-product-swap .sc-product-swap__secondary {
    z-index: 2 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* Hover image swap (triggers ONLY when hovering directly over the image media container) */

@media (hover: hover) and (pointer: fine) {
    .sc-product-media:hover .sc-product-swap__primary {
        opacity: 0 !important;
        transform: scale(1.045) !important;
    }

    .sc-product-media:hover .sc-product-swap__secondary {
        opacity: 1 !important;
        transform: scale(1.045) !important;
    }
}


/* =========================================================
   HOVER ACTIONS CONTAINER (BELOW PRICE - ADD TO CART / QUOTE)
========================================================= */

.sc-product-hover-actions {
    position: relative !important;
    z-index: 10 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    width: 100% !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    max-height: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    transition: max-height 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.3s ease, margin-top 0.3s ease, visibility 0.3s ease !important;
}

@media (hover: hover) and (pointer: fine) {
    .mc-premium-products ul.products li.product:hover .sc-product-hover-actions {
        max-height: 180px !important;
        opacity: 1 !important;
        margin-top: 8px !important;
        visibility: visible !important;
    }
}

/* Always visible on touch / mobile devices */
@media (hover: none),
(max-width: 767px) {
    .sc-product-hover-actions {
        max-height: 180px !important;
        opacity: 1 !important;
        margin-top: 8px !important;
        visibility: visible !important;
    }
}

.sc-product-quick-add .button,
.sc-product-quick-add a.button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 8px 16px !important;
    border: none !important;
    border-radius: 30px !important;
    background: var(--mc-red, #80142b) !important;
    box-shadow: none !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.06em !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    transition: background-color 0.25s ease, transform 0.2s ease !important;
}

.sc-product-quick-add .button:hover {
    background: var(--mc-red-dark, #640f21) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.sc-product-quick-add .button.loading {
    opacity: 0.7 !important;
}

.sc-product-quick-add .button.loading::after {
    width: 14px;
    height: 14px;
    margin-left: 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    border-radius: 50%;
    content: "";
    animation: mc-product-button-spin 0.7s linear infinite;
}

@keyframes mc-product-button-spin {
    to {
        transform: rotate(360deg);
    }
}


/* Variable products button */

.sc-product-quick-add .product_type_variable {
    background: #33221b !important;
}

.sc-product-quick-add .product_type_variable:hover {
    background: #20140f !important;
}


/* =========================================================
   SALE & OUT OF STOCK BADGES
========================================================= */

.mc-premium-products ul.products li.product .onsale {
    position: absolute !important;
    z-index: 12 !important;
    top: 10px !important;
    right: auto !important;
    left: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: auto !important;
    min-height: 24px !important;
    margin: 0 !important;
    padding: 4px 8px !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: var(--mc-red, #80142b) !important;
    color: #ffffff !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.07em !important;
    text-transform: uppercase !important;
}

.sc-badge-outofstock {
    position: absolute !important;
    z-index: 12 !important;
    top: 10px !important;
    left: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 24px !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    background: #6f6762 !important;
    color: #ffffff !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.07em !important;
    text-transform: uppercase !important;
}

.sc-badge-freeshipping-wrap {
    position: absolute !important;
    z-index: 11 !important;
    top: 0 !important;
    right: 0 !important;
    width: 40px !important;
    height: 40px !important;
    cursor: pointer !important;
}

.sc-badge-freeshipping {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

/* Tooltip */
.sc-badge-freeshipping-tooltip {
    position: absolute !important;
    z-index: 100 !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    width: 260px !important;
    padding: 12px 14px !important;
    border-radius: 8px !important;
    background: #1a1a1a !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .18) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity .2s ease, visibility .2s ease !important;
}

/* Invisible bridge so cursor can travel from badge to tooltip */
.sc-badge-freeshipping-tooltip::before {
    content: "" !important;
    position: absolute !important;
    top: -12px !important;
    right: 0 !important;
    width: 100% !important;
    height: 12px !important;
    background: transparent !important;
}

/* Arrow */
.sc-badge-freeshipping-tooltip::after {
    content: "" !important;
    position: absolute !important;
    top: -5px !important;
    right: 12px !important;
    width: 10px !important;
    height: 10px !important;
    background: #1a1a1a !important;
    transform: rotate(45deg) !important;
    border-radius: 2px 0 0 0 !important;
}

/* Learn More link */
.sc-badge-freeshipping-learn {
    display: block !important;
    margin-top: 10px !important;
    color: #8bb8f5 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color .15s ease !important;
}

.sc-badge-freeshipping-learn:hover {
    color: #bdd5fb !important;
    text-decoration: underline !important;
}

.sc-learn-arrow {
    display: inline-block !important;
    margin-left: 3px !important;
    transition: transform .15s ease !important;
}

.sc-badge-freeshipping-learn:hover .sc-learn-arrow {
    transform: translateX(3px) !important;
}

/* Show on hover (badge or tooltip itself) */
.sc-badge-freeshipping-wrap:hover .sc-badge-freeshipping-tooltip,
.sc-badge-freeshipping-tooltip:hover {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Allow tooltip to overflow the product image container */
.sc-product-media:has(.sc-badge-freeshipping-wrap:hover),
.sc-product-media:has(.sc-badge-freeshipping-tooltip:hover) {
    overflow: visible !important;
}


/* Out of Stock Visual Cues */

.mc-premium-products ul.products li.product.outofstock .sc-product-swap {
    opacity: 0.65 !important;
    filter: grayscale(35%) !important;
}

.mc-premium-products ul.products li.product.outofstock .sc-product-quick-add .button,
.mc-premium-products ul.products li.product.outofstock .sc-product-quick-add a.button {
    background: #887d77 !important;
    border-color: #887d77 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}


/* =========================================================
   PRODUCT DETAILS
========================================================= */

.mc-premium-products .sc-product-category {
    display: none !important;
}

.sc-product-title-link {
    display: block !important;
    text-decoration: none !important;
    color: inherit !important;
    margin-left: 2px !important;
    margin-right: 2px !important;
}

.mc-premium-products ul.products li.product .woocommerce-loop-product__title {
    display: -webkit-box !important;
    min-height: 0 !important;
    max-height: 38px !important;
    height: auto !important;
    margin-top: 6px !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    color: var(--mc-text, #141414) !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.015em !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
}


/* =========================================================
   RATING AND REVIEW COUNT INLINE ROW
========================================================= */

.sc-product-rating-row {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 2px !important;
    margin-bottom: 0 !important;
    margin-left: 2px !important;
    margin-right: 2px !important;
    min-height: 0 !important;
    height: auto !important;
}

.sc-product-rating-row:empty,
.sc-product-rating-placeholder {
    display: none !important;
    min-height: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    visibility: hidden !important;
}

.mc-premium-products ul.products li.product .star-rating {
    display: inline-block !important;
    float: none !important;
    width: 5.4em !important;
    height: 1em !important;
    margin: 0 !important;
    color: var(--mc-star, #a62439) !important;
    font-size: 13px !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

.mc-premium-products ul.products li.product .star-rating::before {
    color: #d6ccc5 !important;
}

.mc-premium-products ul.products li.product .star-rating span::before {
    color: var(--mc-star, #a62439) !important;
}

.mc-product-review-count,
.sc-product-review-count {
    display: inline-block !important;
    margin: 0 !important;
    color: var(--mc-muted, #786c66) !important;
    font-size: 12px !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}


/* =========================================================
   PRICE
========================================================= */

.mc-premium-products ul.products li.product .price {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 2px !important;
    margin-bottom: 0 !important;
    margin-left: 2px !important;
    margin-right: 2px !important;
    color: var(--mc-text, #141414) !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

.mc-premium-products ul.products li.product .price ins {
    order: 1 !important;
    background: transparent !important;
    color: var(--mc-text, #141414) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.mc-premium-products ul.products li.product .price del {
    order: 2 !important;
    color: #9c948f !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    text-decoration: line-through !important;
    opacity: 1 !important;
}

.mc-premium-products ul.products li.product .price .woocommerce-Price-amount {
    color: inherit !important;
}

.mc-premium-products ul.products li.product .price .sc-price-from-label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--mc-muted, #786c66) !important;
    margin-right: 2px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
}

.mc-premium-products ul.products li.product .price small,
.mc-premium-products ul.products li.product .price .woocommerce-price-suffix,
.mc-premium-products ul.products li.product .woocommerce-price-suffix {
    font-size: 11px !important;
    font-weight: 400 !important;
    font-style: italic !important;
    color: var(--mc-muted, #786c66) !important;
    margin-left: 2px !important;
}


/* =========================================================
   REMOVE DEFAULT ELEMENTOR BUTTON BELOW CARD
========================================================= */

.mc-premium-products ul.products li.product>.button,
.mc-premium-products ul.products li.product>.added_to_cart,
.mc-premium-products .added_to_cart,
.sc-product-quick-add .added_to_cart,
a.added_to_cart {
    display: none !important;
}


/* =========================================================
   YITH REQUEST A QUOTE INTEGRATION
========================================================= */

.mc-premium-products .yith-ywraq-add-to-quote {
    display: block !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.mc-premium-products .yith-ywraq-add-to-quote .yith-ywraq-add-button {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.mc-premium-products .yith-ywraq-add-to-quote a.add-request-quote-button,
.mc-premium-products .yith-ywraq-add-to-quote a.button,
.mc-premium-products .yith-ywraq-add-to-quote .yith_ywraq_add_item_browse_message a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 8px 16px !important;
    border: none !important;
    border-radius: 30px !important;
    background: #2b1a14 !important;
    box-shadow: none !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.06em !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    box-sizing: border-box !important;
    transition: background-color 0.25s ease, transform 0.2s ease !important;
}

.mc-premium-products .yith-ywraq-add-to-quote a.add-request-quote-button:hover,
.mc-premium-products .yith-ywraq-add-to-quote a.button:hover,
.mc-premium-products .yith-ywraq-add-to-quote .yith_ywraq_add_item_browse_message a:hover {
    background: #180e0a !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.mc-premium-products .yith_ywraq_add_item_product_message,
.mc-premium-products .yith_ywraq_add_item_response_message {
    display: none !important;
}

.mc-premium-products .yith_ywraq_add_item_browse_message.hide,
.mc-premium-products .yith_ywraq_add_item_browse_message[style*="display:none"],
.mc-premium-products .yith_ywraq_add_item_browse_message[style*="display: none"] {
    display: none !important;
}

.mc-premium-products .yith_ywraq_add_item_browse_message:not(.hide) {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.mc-premium-products a:focus-visible,
.mc-premium-products button:focus-visible {
    outline: 2px solid var(--mc-red);
    outline-offset: 3px;
}


/* =========================================================
   WOOCOMMERCE SORT DROPDOWN (ORDERBY)
========================================================= */

.woocommerce-ordering {
    margin-bottom: 20px !important;
}

.woocommerce-ordering select,
.mc-premium-products .woocommerce-ordering select,
select.orderby {
    display: inline-flex !important;
    align-items: center !important;
    min-width: 170px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 36px 0 16px !important;
    border: 1px solid #ebe4dc !important;
    border-radius: 30px !important;
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232b1a14' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    color: #2b1a14 !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 40px !important;
    cursor: pointer !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.woocommerce-ordering select:hover,
.woocommerce-ordering select:focus,
select.orderby:hover,
select.orderby:focus {
    border-color: var(--mc-red, #80142b) !important;
    box-shadow: 0 4px 12px rgba(128, 20, 43, 0.1) !important;
}


/* =========================================================
   WOOCOMMERCE PAGINATION
========================================================= */

.woocommerce-pagination,
nav.woocommerce-pagination,
.mc-premium-products nav.woocommerce-pagination {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 36px !important;
    margin-bottom: 24px !important;
    border: none !important;
    background: transparent !important;
}

.woocommerce-pagination ul.page-numbers,
nav.woocommerce-pagination ul.page-numbers,
.mc-premium-products nav.woocommerce-pagination ul.page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    list-style: none !important;
}

.woocommerce-pagination ul.page-numbers li,
nav.woocommerce-pagination ul.page-numbers li {
    display: inline-block !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span,
nav.woocommerce-pagination ul.page-numbers li a,
nav.woocommerce-pagination ul.page-numbers li span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 38px !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border: 1px solid #ebe4dc !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #2b1a14 !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.25s ease !important;
}

.woocommerce-pagination ul.page-numbers li a:hover,
nav.woocommerce-pagination ul.page-numbers li a:hover {
    background: #fdfaf7 !important;
    border-color: var(--mc-red, #80142b) !important;
    color: var(--mc-red, #80142b) !important;
    transform: translateY(-1px) !important;
}

.woocommerce-pagination ul.page-numbers li span.current,
nav.woocommerce-pagination ul.page-numbers li span.current {
    background: var(--mc-red, #80142b) !important;
    border-color: var(--mc-red, #80142b) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(128, 20, 43, 0.25) !important;
}

.woocommerce-pagination ul.page-numbers li span.dots,
nav.woocommerce-pagination ul.page-numbers li span.dots {
    border: none !important;
    background: transparent !important;
    color: #9c948f !important;
    box-shadow: none !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1200px) {
    .mc-premium-products ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .mc-premium-products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 14px;
    }

    .sc-product-swap {
        aspect-ratio: 1 / 1.05;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
    .mc-premium-products {
        --mc-radius: 14px;
    }

    .mc-premium-products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 10px;
    }

    .mc-premium-products ul.products li.product {
        padding: 8px !important;
    }

    .sc-product-swap {
        aspect-ratio: 1 / 1.05;
    }

    .sc-product-swap .sc-product-swap__image {
        padding: 12px 12px 42px !important;
    }

    .sc-product-quick-add {
        right: 6px !important;
        bottom: 6px !important;
        left: 6px !important;
    }

    .sc-product-quick-add .button,
    .sc-product-quick-add a.button {
        min-height: 34px !important;
        height: 34px !important;
        padding: 6px 6px !important;
        font-size: 9px !important;
        letter-spacing: 0.035em !important;
    }

    .mc-premium-products ul.products li.product .onsale {
        top: 6px !important;
        left: 6px !important;
        min-height: 20px !important;
        padding: 3px 6px !important;
        font-size: 8px !important;
    }

    .mc-premium-products .sc-product-category {
        margin-top: 10px !important;
        margin-bottom: 4px !important;
        font-size: 8px !important;
    }

    .mc-premium-products ul.products li.product .woocommerce-loop-product__title {
        min-height: 0 !important;
        margin-top: 6px !important;
        margin-bottom: 0 !important;
        font-size: 13px !important;
        line-height: 1.25 !important;
    }

    .mc-premium-products ul.products li.product .star-rating {
        margin-right: 3px !important;
        margin-top: 2px !important;
        margin-bottom: 0 !important;
        font-size: 11px !important;
    }

    .mc-premium-products ul.products li.product .sc-product-review-count {
        font-size: 10px !important;
        margin-top: 2px !important;
        margin-bottom: 0 !important;
    }

    .mc-premium-products ul.products li.product .price {
        margin-top: 2px !important;
        margin-bottom: 0 !important;
        font-size: 14px !important;
    }

    .mc-premium-products ul.products li.product .price del {
        font-size: 10px !important;
    }
}


/* Single-column narrow phones */

@media (max-width: 390px) {
    .mc-premium-products ul.products {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sc-product-swap {
        aspect-ratio: 1 / 1;
    }
}

/* =========================================================
   MISTER COFFEE — PREMIUM ARCHIVE FILTERS
========================================================= */

.mc-shop-filters {
    --mc-ink: var(--e-global-color-text, #141414);
    --mc-muted: var(--e-global-color-secondary, #6f6f6f);
    --mc-soft-muted: #9b9b9b;
    --mc-border: #e2dfda;
    --mc-surface: #f5f3ef;
    --mc-surface-hover: #efede8;
    --mc-white: #ffffff;
    --mc-accent: var(--e-global-color-accent, var(--e-global-color-primary, #8f0014));

    width: 100%;
    color: var(--mc-ink);
    font-family: inherit;
}

.mc-shop-filters,
.mc-shop-filters * {
    box-sizing: border-box;
}


/* =========================================================
   FILTER HEADER
========================================================= */

.mc-filter-topbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--mc-border);
}

.mc-filter-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: var(--mc-muted);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mc-filter-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: var(--mc-ink);
    font-size: 25px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.mc-active-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 23px;
    height: 23px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--mc-ink);
    color: var(--mc-white);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
}

.mc-clear-filters {
    flex: 0 0 auto;
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
    color: var(--mc-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.mc-clear-filters:hover {
    color: var(--mc-ink);
}


/* =========================================================
   FILTER ACCORDIONS
========================================================= */

.mc-filter-group {
    margin: 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--mc-border);
}

.mc-filter-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 0;
    color: var(--mc-ink);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.015em;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.mc-filter-heading::-webkit-details-marker {
    display: none;
}

.mc-filter-toggle {
    position: relative;
    display: block;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
}

.mc-filter-toggle::before,
.mc-filter-toggle::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 1.4px;
    background: currentColor;
    content: "";
    transform: translate(-50%, -50%);
    transition:
        transform 0.24s ease,
        opacity 0.24s ease;
}

.mc-filter-toggle::after {
    transform:
        translate(-50%, -50%) rotate(90deg);
}

.mc-filter-group[open] .mc-filter-toggle::after {
    transform:
        translate(-50%, -50%) rotate(0deg);
}

.mc-filter-group-content {
    padding: 0 0 25px;
}


/* =========================================================
   STANDARD FILTER OPTIONS
========================================================= */

.mc-filter-options {
    display: flex;
    flex-direction: column;
    gap: 13px;
    max-height: 280px;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 7px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.mc-filter-options::-webkit-scrollbar {
    width: 4px;
}

.mc-filter-options::-webkit-scrollbar-track {
    background: transparent;
}

.mc-filter-options::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.2);
}

.mc-filter-option {
    display: grid;
    grid-template-columns:
        18px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    width: 100%;
    margin: 0;
    color: var(--mc-ink);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    cursor: pointer;
}

.mc-filter-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.mc-filter-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 1px solid #cec9c2;
    border-radius: 3px;
    background: var(--mc-white);
    color: var(--mc-white);
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.mc-filter-checkbox svg {
    width: 11px;
    height: 9px;
    opacity: 0;
    transform: scale(0.65);
    transition:
        opacity 0.16s ease,
        transform 0.16s ease;
}

.mc-filter-option:hover .mc-filter-checkbox {
    border-color: var(--mc-ink);
}

.mc-filter-option input:focus-visible+.mc-filter-checkbox {
    outline: 2px solid rgba(143, 0, 20, 0.22);
    outline-offset: 2px;
}

.mc-filter-option input:checked+.mc-filter-checkbox {
    border-color: var(--mc-ink);
    background: var(--mc-ink);
}

.mc-filter-option input:checked+.mc-filter-checkbox svg {
    opacity: 1;
    transform: scale(1);
}

.mc-filter-option-label {
    min-width: 0;
}

.mc-filter-count {
    color: var(--mc-soft-muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.mc-filter-empty {
    margin: 0;
    color: var(--mc-muted);
    font-size: 13px;
}


/* =========================================================
   CATEGORY FILTER — FIXED HEIGHT
========================================================= */

.mc-filter-categories .mc-filter-group-content {
    padding-bottom: 18px;
}

.mc-category-tree {
    max-height: 380px;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 9px;
    scrollbar-width: thin;
    scrollbar-color: #bbb6af transparent;
}

.mc-category-tree::-webkit-scrollbar {
    width: 5px;
}

.mc-category-tree::-webkit-scrollbar-track {
    background: transparent;
}

.mc-category-tree::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #c7c2bb;
}

.mc-category-tree::-webkit-scrollbar-thumb:hover {
    background: #9f9991;
}


/* =========================================================
   CATEGORY TREE STRUCTURE
========================================================= */

.mc-category-level {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
}

.mc-category-item {
    position: relative;
    width: 100%;
}

.mc-category-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    align-items: center;
    gap: 5px;
    width: 100%;
    min-height: 38px;
}

.mc-category-row .mc-filter-option {
    display: grid;
    grid-template-columns:
        17px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 7px 5px;
    border-radius: 7px;
    font-size: 13px;
    line-height: 1.35;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.mc-category-row .mc-filter-option:hover {
    background: var(--mc-surface);
}

.mc-category-row .mc-filter-option-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mc-category-row .mc-filter-count {
    padding-left: 4px;
    color: #99948d;
    font-size: 11px;
}

.mc-category-row .mc-filter-checkbox {
    width: 17px;
    height: 17px;
}

.mc-category-row .mc-filter-option:has(input:checked) {
    background: #f1eee9;
    font-weight: 500;
}


/* =========================================================
   SUBCATEGORY HIERARCHY
========================================================= */

.mc-category-children {
    position: relative;
    margin: 1px 0 6px 12px;
    padding-left: 16px;
}

.mc-category-children::before {
    position: absolute;
    top: 3px;
    bottom: 6px;
    left: 0;
    width: 1px;
    background: #e5e1db;
    content: "";
}

.mc-category-level .mc-category-level {
    margin: 0;
    padding: 0;
}

.mc-category-level-1>.mc-category-item,
.mc-category-level-2>.mc-category-item {
    position: relative;
}

.mc-category-level-1>.mc-category-item>.mc-category-row::before,
.mc-category-level-2>.mc-category-item>.mc-category-row::before {
    position: absolute;
    top: 18px;
    left: -16px;
    width: 9px;
    height: 1px;
    background: #e5e1db;
    content: "";
}

.mc-category-level-1 .mc-category-row .mc-filter-option {
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 12.5px;
}

.mc-category-level-2 .mc-category-row .mc-filter-option {
    font-size: 12px;
}

.mc-category-level-1 .mc-filter-checkbox,
.mc-category-level-2 .mc-filter-checkbox {
    width: 16px;
    height: 16px;
}


/* =========================================================
   CATEGORY EXPAND BUTTON
========================================================= */

.mc-category-toggle,
.mc-category-toggle:hover,
.mc-category-toggle:focus,
.mc-category-toggle:active {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px !important;
    min-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #76716b !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.mc-category-toggle:hover {
    background: var(--mc-surface) !important;
    color: var(--mc-ink) !important;
}

.mc-category-toggle span {
    position: relative;
    display: block;
    width: 8px;
    height: 8px;
}

.mc-category-toggle span::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-right: 1.4px solid currentColor;
    border-bottom: 1.4px solid currentColor;
    background: transparent !important;
    content: "";
    transform:
        translate(-60%, -70%) rotate(45deg);
    transition: transform 0.2s ease;
}

.mc-category-toggle span::after {
    display: none !important;
}

.mc-category-toggle[aria-expanded="true"] span::before {
    transform:
        translate(-60%, -30%) rotate(225deg);
}

.mc-category-children[hidden] {
    display: none !important;
}


/* =========================================================
   PRICE FILTER
========================================================= */

.mc-price-caption {
    margin: 0 0 25px;
    color: var(--mc-muted);
    font-size: 13px;
    line-height: 1.5;
}

.mc-price-caption strong {
    color: inherit;
    font-weight: 500;
}

.mc-price-caption .woocommerce-Price-amount {
    font-weight: 500;
}

.mc-price-range {
    position: relative;
    height: 24px;
    margin: 0 7px 20px;
}

.mc-price-track,
.mc-price-progress {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 3px;
    border-radius: 999px;
    transform: translateY(-50%);
}

.mc-price-track {
    background: #d8d4ce;
}

.mc-price-progress {
    z-index: 2;
    background: var(--mc-ink);
}

.mc-price-slider {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    width: 100%;
    height: 24px;
    margin: 0;
    padding: 0;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.mc-price-slider::-webkit-slider-runnable-track {
    height: 3px;
    background: transparent;
}

.mc-price-slider::-moz-range-track {
    height: 3px;
    background: transparent;
}

.mc-price-slider::-webkit-slider-thumb {
    width: 17px;
    height: 17px;
    margin-top: -7px;
    border: 0;
    border-radius: 50%;
    background: var(--mc-ink);
    box-shadow: 0 0 0 4px transparent;
    cursor: grab;
    pointer-events: auto;
    -webkit-appearance: none;
    appearance: none;
    transition: box-shadow 0.2s ease;
}

.mc-price-slider::-moz-range-thumb {
    width: 17px;
    height: 17px;
    border: 0;
    border-radius: 50%;
    background: var(--mc-ink);
    box-shadow: 0 0 0 4px transparent;
    cursor: grab;
    pointer-events: auto;
    transition: box-shadow 0.2s ease;
}

.mc-price-slider::-webkit-slider-thumb:hover {
    box-shadow:
        0 0 0 5px rgba(0, 0, 0, 0.08);
}

.mc-price-slider::-moz-range-thumb:hover {
    box-shadow:
        0 0 0 5px rgba(0, 0, 0, 0.08);
}

.mc-price-slider::-webkit-slider-thumb:active {
    cursor: grabbing;
}

.mc-price-slider::-moz-range-thumb:active {
    cursor: grabbing;
}

.mc-price-fields {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 9px;
}

.mc-price-field {
    display: flex;
    align-items: center;
    min-width: 0;
    height: 48px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--mc-surface);
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.mc-price-field:hover {
    background: var(--mc-surface-hover);
}

.mc-price-field:focus-within {
    border-color: #bbb6ae;
    background: var(--mc-white);
}

.mc-price-currency {
    flex: 0 0 auto;
    margin-right: 7px;
    color: var(--mc-muted);
    font-size: 13px;
}

.mc-price-input {
    width: 100%;
    min-width: 0;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--mc-ink);
    font-family: inherit;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    appearance: textfield;
}

.mc-price-input::-webkit-inner-spin-button,
.mc-price-input::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.mc-price-separator {
    color: var(--mc-soft-muted);
    font-size: 11px;
}


/* =========================================================
   LOADING STATE
========================================================= */

.mc-filter-is-updating {
    pointer-events: none;
    opacity: 0.58;
    transition: opacity 0.2s ease;
}

.mc-filter-is-updating .mc-filter-title::after {
    display: inline-block;
    width: 13px;
    height: 13px;
    margin-left: 8px;
    border: 1.5px solid rgba(0, 0, 0, 0.22);
    border-top-color: var(--mc-ink);
    border-radius: 50%;
    content: "";
    animation:
        mc-filter-spin 0.65s linear infinite;
}

@keyframes mc-filter-spin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   STICKY DESKTOP SIDEBAR
========================================================= */

@media (min-width: 1025px) {
    .mc-shop-filters {
        position: sticky;
        top: 110px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {
    .mc-filter-title {
        font-size: 23px;
    }

    .mc-filter-heading {
        padding: 21px 0;
    }

    .mc-category-tree {
        max-height: 360px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
    .mc-filter-topbar {
        padding-bottom: 20px;
    }

    .mc-filter-title {
        font-size: 21px;
    }

    .mc-filter-eyebrow {
        font-size: 9px;
    }

    .mc-filter-heading {
        padding: 19px 0;
        font-size: 15px;
    }

    .mc-filter-group-content {
        padding-bottom: 21px;
    }

    .mc-category-tree {
        max-height: 320px;
    }

    .mc-category-row {
        grid-template-columns:
            minmax(0, 1fr) 26px;
    }

    .mc-category-row .mc-filter-option {
        font-size: 13px;
    }

    .mc-category-children {
        margin-left: 9px;
        padding-left: 14px;
    }

    .mc-category-level-1>.mc-category-item>.mc-category-row::before,
    .mc-category-level-2>.mc-category-item>.mc-category-row::before {
        left: -14px;
        width: 8px;
    }

    .mc-price-fields {
        gap: 7px;
    }

    .mc-price-field {
        height: 45px;
        padding: 0 11px;
    }
}


/* =========================================================
   MOBILE FILTER TOGGLE & DRAWER
========================================================= */

.mc-mobile-filter-toggle {
    display: none !important;
}

.mc-active-filter-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 20px !important;
    height: 20px !important;
    padding: 0 6px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #2b1a14 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

@media (max-width: 1024px) {
    .mc-mobile-filter-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 9px !important;
        width: 100% !important;
        height: 46px !important;
        margin: 0 0 16px 0 !important;
        padding: 0 20px !important;
        border: none !important;
        border-radius: 30px !important;
        background: #2b1a14 !important;
        color: #ffffff !important;
        font-family: inherit !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        letter-spacing: 0.04em !important;
        text-transform: uppercase !important;
        cursor: pointer !important;
        box-shadow: 0 4px 14px rgba(43, 26, 20, 0.15) !important;
        transition: background-color 0.25s ease, transform 0.2s ease !important;
    }

    .mc-mobile-filter-toggle:hover {
        background: #180e0a !important;
    }

    .mc-shop-filters:not(.mc-mobile-filter-open) .mc-filter-form {
        display: none !important;
    }

    .mc-shop-filters.mc-mobile-filter-open .mc-filter-form {
        display: block !important;
        margin-bottom: 24px !important;
        padding: 20px !important;
        border: 1px solid #ebe4dc !important;
        border-radius: 16px !important;
        background: #ffffff !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
        animation: mcFilterSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }
}

@keyframes mcFilterSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   SHOPIFY-INSPIRED SINGLE PRODUCT GALLERY STYLING
========================================================= */

/* Remove any outer borders from Elementor gallery widget containers */
.elementor-widget-woocommerce-product-images,
.elementor-widget-woocommerce-product-images .elementor-widget-container,
.woocommerce-product-gallery {
    position: relative !important;
    width: 100% !important;
    margin-bottom: 24px !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Main featured image viewport container */
.woocommerce-product-gallery .flex-viewport {
    width: 100% !important;
    height: auto !important;
    border-radius: 16px !important;
    border: none !important;
    outline: none !important;
    background: #ffffff !important;
    box-shadow: none !important;
    overflow: hidden !important;
    margin-bottom: 16px !important;
}

.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.woocommerce-product-gallery .woocommerce-product-gallery__image {
    float: left !important;
    margin-right: 0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border: none !important;
    box-sizing: border-box !important;
}

.woocommerce-product-gallery .woocommerce-product-gallery__image a {
    display: block !important;
    width: 100% !important;
    border: none !important;
}

.woocommerce-product-gallery .woocommerce-product-gallery__image img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 560px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    border-radius: 16px !important;
    border: none !important;
}

/* Modern zoom trigger button (top right circular icon) */
.elementor-widget-woocommerce-product-images .woocommerce-product-gallery__trigger,
.woocommerce-product-gallery .woocommerce-product-gallery__trigger,
a.woocommerce-product-gallery__trigger {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 99 !important;
    display: block !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232b1a14' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 16px 16px !important;
    border: 1px solid #ebe4dc !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12) !important;
    text-decoration: none !important;
    overflow: hidden !important;
    text-indent: -99999px !important;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.2s ease, box-shadow 0.25s ease !important;
}

.elementor-widget-woocommerce-product-images .woocommerce-product-gallery__trigger:hover,
.woocommerce-product-gallery .woocommerce-product-gallery__trigger:hover,
a.woocommerce-product-gallery__trigger:hover {
    background-color: #ffffff !important;
    transform: scale(1.08) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
}

/* Destroy ALL pseudo-elements (before & after) to eliminate double icons */
.elementor-widget-woocommerce-product-images .woocommerce-product-gallery__trigger::before,
.woocommerce-product-gallery .woocommerce-product-gallery__trigger::before,
a.woocommerce-product-gallery__trigger::before,
.elementor-widget-woocommerce-product-images .woocommerce-product-gallery__trigger::after,
.woocommerce-product-gallery .woocommerce-product-gallery__trigger::after,
a.woocommerce-product-gallery__trigger::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
}

/* Destroy ALL inner DOM tags (img.emoji, span, img, svg) */
.elementor-widget-woocommerce-product-images .woocommerce-product-gallery__trigger *,
.woocommerce-product-gallery .woocommerce-product-gallery__trigger *,
a.woocommerce-product-gallery__trigger *,
.woocommerce-product-gallery__trigger img.emoji,
.woocommerce-product-gallery__trigger img,
.woocommerce-product-gallery__trigger span {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    font-size: 0 !important;
}

/* Thumbnails row (Shopify style) */
ol.flex-control-thumbs,
.woocommerce-product-gallery ol.flex-control-nav,
.woocommerce-product-gallery ol.flex-control-thumbs {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 16px 0 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
    border: none !important;
}

ol.flex-control-thumbs li,
.woocommerce-product-gallery ol.flex-control-thumbs li {
    position: relative !important;
    float: none !important;
    flex: 0 0 auto !important;
    width: 72px !important;
    height: 72px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 12px !important;
    border: 2px solid transparent !important;
    background: #ffffff !important;
    overflow: hidden !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: border-color 0.25s ease, transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) !important;
}

ol.flex-control-thumbs li:hover,
.woocommerce-product-gallery ol.flex-control-thumbs li:hover {
    border-color: var(--mc-red, #80142b) !important;
    transform: translateY(-2px) !important;
}

ol.flex-control-thumbs li img,
.woocommerce-product-gallery ol.flex-control-thumbs li img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 9px !important;
    opacity: 0.75 !important;
    transition: opacity 0.2s ease !important;
    border: none !important;
}

ol.flex-control-thumbs li img.flex-active,
.woocommerce-product-gallery ol.flex-control-thumbs li img.flex-active {
    opacity: 1 !important;
}

/* Active thumbnail border highlighting */
ol.flex-control-thumbs li:has(img.flex-active),
.woocommerce-product-gallery ol.flex-control-thumbs li:has(img.flex-active) {
    border-color: #2b1a14 !important;
}


/* =========================================================
   SHOPIFY-INSPIRED SINGLE PRODUCT BUY SECTION
========================================================= */

.elementor-add-to-cart,
form.cart {
    margin-top: 16px !important;
}

/* Variations Table */
.elementor-add-to-cart table.variations,
form.cart table.variations {
    display: block !important;
    width: 100% !important;
    border: none !important;
    margin-bottom: 20px !important;
    background: transparent !important;
    background-color: transparent !important;
}

.elementor-add-to-cart table.variations tbody,
form.cart table.variations tbody {
    display: block !important;
    width: 100% !important;
    background: transparent !important;
}

.elementor-add-to-cart table.variations tr,
form.cart table.variations tr {
    display: block !important;
    width: 100% !important;
    margin-bottom: 16px !important;
    border: none !important;
    background: transparent !important;
}

.elementor-add-to-cart table.variations th.label,
form.cart table.variations th.label {
    display: block !important;
    padding: 0 0 8px 0 !important;
    text-align: left !important;
    border: none !important;
    background: transparent !important;
}

.elementor-add-to-cart table.variations th.label label,
form.cart table.variations th.label label {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #2b1a14 !important;
    text-transform: capitalize !important;
}

.elementor-add-to-cart table.variations td.value,
form.cart table.variations td.value {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    background-color: transparent !important;
}

/* Push Clear link below swatches and right-align */
form.cart table.variations td.value a.reset_variations {
    order: 10 !important;
    align-self: flex-end !important;
    margin-top: 8px !important;
}

/* Swatch group sits above Clear */
form.cart table.variations td.value .mc-swatch-group {
    order: 5 !important;
}

/* Sleek Variation Dropdown Select */
.elementor-add-to-cart table.variations select,
form.cart table.variations select {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 48px !important;
    padding: 0 40px 0 18px !important;
    border: 1.5px solid #e8e3dd !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #000000 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    box-shadow: none !important;
    white-space: nowrap !important;
}

/* Shopify-Inspired Pill Swatches — HIGH SPECIFICITY to override theme */
html body .mc-swatch-group,
html body form.cart .mc-swatch-group,
html body form.cart table.variations .mc-swatch-group {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    align-items: center !important;
    margin-top: 8px !important;
}

html body .mc-swatch-group button.mc-swatch-btn,
html body form.cart .mc-swatch-group button.mc-swatch-btn,
html body form.cart table.variations td.value .mc-swatch-group button.mc-swatch-btn,
html body button.mc-swatch-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 42px !important;
    padding: 0 20px !important;
    border: 1.5px solid #e5e0d8 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: #000000 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    box-shadow: none !important;
    white-space: nowrap !important;
    margin: 0 !important;
    line-height: 1 !important;
}

html body .mc-swatch-group button.mc-swatch-btn:hover,
html body form.cart table.variations td.value .mc-swatch-group button.mc-swatch-btn:hover,
html body button.mc-swatch-btn:hover {
    border-color: #000000 !important;
    color: #000000 !important;
    background: #ffffff !important;
}

html body .mc-swatch-group button.mc-swatch-btn.is-selected,
html body form.cart table.variations td.value .mc-swatch-group button.mc-swatch-btn.is-selected,
html body button.mc-swatch-btn.is-selected {
    background: #000000 !important;
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}

html body .mc-swatch-group button.mc-swatch-btn.disabled,
html body .mc-swatch-group button.mc-swatch-btn:disabled,
html body button.mc-swatch-btn.disabled,
html body button.mc-swatch-btn:disabled {
    position: relative !important;
    border-color: #eeeeee !important;
    color: #bbbbbb !important;
    background: #fdfdfd !important;
    cursor: not-allowed !important;
    opacity: 0.55 !important;
    background-image: linear-gradient(to top right, transparent calc(50% - 1px), #d0d0d0 50%, transparent calc(50% + 1px)) !important;
}

.mc-selected-value {
    font-weight: 400 !important;
    color: #666666 !important;
    margin-left: 6px !important;
}

.elementor-add-to-cart a.reset_variations,
form.cart a.reset_variations {
    display: inline-block !important;
    margin-top: 10px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #80142b !important;
    text-decoration: underline !important;
}

/* Variable product form: column layout on the outer form */
form.cart.variations_form {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

/* Variable product: single_variation_wrap is a column container */
form.cart.variations_form .single_variation_wrap,
html body .single_variation_wrap {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    overflow: visible !important;
    background: transparent !important;
}

/* Quantity & Add to Cart Horizontal Flex Row — covers BOTH simple and variable */
form.cart:not(.variations_form),
.elementor-add-to-cart form.cart:not(.variations_form),
form.cart.variations_form .woocommerce-variation-add-to-cart,
form.cart.variations_form .single_variation_wrap .woocommerce-variation-add-to-cart,
.woocommerce-variation-add-to-cart.variations_button {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: 16px !important;
}

/* Quantity Stepper Pill Box */
.single-product .quantity,
.elementor-add-to-cart .quantity,
.woocommerce-variation-add-to-cart .quantity,
form.cart .quantity {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex: 0 0 110px !important;
    width: 110px !important;
    min-width: 110px !important;
    max-width: 110px !important;
    height: 50px !important;
    padding: 0 8px !important;
    border: 1px solid #e5e0d8 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* Remove any inner rectangle borders from Quantity inputs */
html body .woocommerce .quantity input,
html body .woocommerce div.product form.cart .quantity input,
html body .woocommerce-page .quantity input,
html body .elementor-widget-woocommerce-add-to-cart .quantity input,
html body .elementor-add-to-cart .quantity input,
html body .single-product .quantity input,
html body form.cart .quantity input,
html body .woocommerce .quantity input.qty,
html body .woocommerce div.product form.cart .quantity input.qty,
html body .woocommerce-page .quantity input.qty,
html body .elementor-widget-woocommerce-add-to-cart .quantity input.qty,
html body .elementor-add-to-cart .quantity input.qty,
html body .single-product .quantity input.qty,
html body form.cart .quantity input.qty,
html body .quantity input[type="number"],
html body .quantity input.input-text,
html body .quantity input.text,
html body .quantity input.qty.text,
html body .quantity input,
html body .quantity input::before,
html body .quantity input::after {
    width: 36px !important;
    height: 100% !important;
    border: 0 none transparent !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    border-top: 0 none transparent !important;
    border-bottom: 0 none transparent !important;
    border-left: 0 none transparent !important;
    border-right: 0 none transparent !important;
    outline: none !important;
    outline-width: 0 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
    text-align: center !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    appearance: textfield !important;
    -webkit-appearance: textfield !important;
    -moz-appearance: textfield !important;
}

.single-product .quantity input::-webkit-outer-spin-button,
.single-product .quantity input::-webkit-inner-spin-button,
.elementor-add-to-cart .quantity input::-webkit-outer-spin-button,
.elementor-add-to-cart .quantity input::-webkit-inner-spin-button,
.quantity input.qty::-webkit-outer-spin-button,
.quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Quantity Stepper Minus & Plus Buttons */
html body button.mc-qty-btn,
.mc-qty-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    background-color: transparent !important;
    color: #000000 !important;
    font-family: inherit !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    border-radius: 50% !important;
    line-height: 1 !important;
    padding: 0 !important;
    transition: background-color 0.2s ease !important;
    box-shadow: none !important;
}

html body button.mc-qty-btn:hover,
.mc-qty-btn:hover {
    background: #f4f2ef !important;
}

/* Add To Cart Button (Global Accent Red #80142b with Left-to-Right Black Hover Fill) */
html body form.cart button.single_add_to_cart_button,
html body .elementor-add-to-cart button.single_add_to_cart_button,
html body .woocommerce-variation-add-to-cart button.single_add_to_cart_button,
html body form.cart.variations_form .single_variation_wrap .woocommerce-variation-add-to-cart button.single_add_to_cart_button,
html body button.single_add_to_cart_button.button {
    flex: 1 1 0% !important;
    width: 0 !important;
    min-width: 0 !important;
    height: 50px !important;
    margin: 0 !important;
    padding: 0 20px !important;
    border: none !important;
    border-radius: 999px !important;
    background-color: #80142b !important;
    background-image: linear-gradient(to right, #000000 50%, #80142b 50%) !important;
    background-size: 200% 100% !important;
    background-position: 100% 0 !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    text-transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(128, 20, 43, 0.22) !important;
    transition: background-position 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease, transform 0.2s ease !important;
    white-space: nowrap !important;
}

html body form.cart button.single_add_to_cart_button:hover,
html body .elementor-add-to-cart button.single_add_to_cart_button:hover,
html body .woocommerce-variation-add-to-cart button.single_add_to_cart_button:hover {
    background-position: 0 0 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) !important;
}

html body form.cart button.single_add_to_cart_button.disabled,
html body form.cart button.single_add_to_cart_button:disabled,
html body .woocommerce-variation-add-to-cart button.single_add_to_cart_button.disabled,
html body .woocommerce-variation-add-to-cart button.single_add_to_cart_button:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    background: #80142b !important;
    background-image: none !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

/* Hide All Buy It Now Buttons */
html body button.mc-buy-now-btn,
html body .mc-buy-now-btn,
html body .wc-buy-now-btn,
html body .wc-buy-now-button,
html body .buy-now-btn,
html body button.buy-now {
    display: none !important;
}

/* Low Stock Urgency Indicator matching Reference Image 2 */
p.stock.mc-stock-urgency,
.woocommerce-variation-availability p.stock.mc-stock-urgency,
.stock.in-stock.mc-stock-urgency {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 12px 0 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #008a00 !important;
}

span.mc-stock-dot {
    position: relative !important;
    display: inline-block !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background-color: #00a650 !important;
    flex-shrink: 0 !important;
}

span.mc-stock-dot::before {
    content: '' !important;
    position: absolute !important;
    top: -3px !important;
    left: -3px !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    background-color: rgba(0, 166, 80, 0.28) !important;
    animation: mc-stock-pulse 2s infinite ease-in-out !important;
}

@keyframes mc-stock-pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.3;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.8;
    }
}

/* =========================================================
   CLEAN PRODUCT META WIDGET STYLING (SKU, MPN, BRAND, CATS)
========================================================= */

.product_meta {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    margin-top: 24px !important;
    padding-top: 16px !important;
    border-top: 1px solid #f0ece7 !important;
    font-size: 13px !important;
    color: #666666 !important;
    line-height: 1.5 !important;
}

.product_meta br {
    display: none !important;
}

.product_meta span.detail-container,
.product_meta .sku_wrapper,
.product_meta .posted_in,
.product_meta .tagged_as,
.product_meta .cr_mpn,
.product_meta .cr_brand {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    font-size: 13px !important;
    color: #666666 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.product_meta .detail-label,
.product_meta .sku_wrapper .detail-label,
.product_meta .posted_in .detail-label,
.product_meta .cr_mpn,
.product_meta .cr_brand {
    font-weight: 600 !important;
    color: #2b1a14 !important;
}

.product_meta .sku,
.product_meta .detail-content,
.product_meta .cr_mpn_val,
.product_meta .cr_brand_val {
    font-weight: 400 !important;
    color: #555555 !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.product_meta a {
    color: #555555 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.product_meta a:hover {
    color: #80142b !important;
    text-decoration: underline !important;
}

/* =========================================================
   ADD TO CART BUTTON SUBMITTING LOADING SPINNER
========================================================= */

html body button.single_add_to_cart_button.mc-loading,
html body button.single_add_to_cart_button.loading,
form.cart button.single_add_to_cart_button.mc-loading,
form.cart button.single_add_to_cart_button.loading {
    pointer-events: none !important;
    cursor: wait !important;
    opacity: 0.9 !important;
}

html body button.single_add_to_cart_button.mc-loading::after,
html body button.single_add_to_cart_button.loading::after,
form.cart button.single_add_to_cart_button.mc-loading::after,
form.cart button.single_add_to_cart_button.loading::after {
    content: '' !important;
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    margin-left: 10px !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    border-top-color: #ffffff !important;
    border-radius: 50% !important;
    animation: mc-atc-spinner-rotate 0.7s linear infinite !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}

@keyframes mc-atc-spinner-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* =========================================================
   WCPA PRODUCT ADD-ON RADIO GROUP PILL SWATCHES
========================================================= */

html body .wcpa_type_radio-group .wcpa_group_field,
html body .wcpa_field.wcpa_group_field {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    align-items: center !important;
    margin-top: 8px !important;
}

html body .wcpa_type_radio-group .wcpa_radio,
html body .wcpa_field .wcpa_radio {
    display: inline-flex !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body .wcpa_type_radio-group .wcpa_radio input[type="radio"],
html body .wcpa_type_radio-group .wcpa_radio .wcpa_radio_custom,
html body .wcpa_field .wcpa_radio input[type="radio"],
html body .wcpa_field .wcpa_radio .wcpa_radio_custom {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

html body .wcpa_type_radio-group .wcpa_radio label,
html body .wcpa_field .wcpa_radio label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 42px !important;
    padding: 0 20px !important;
    border: 1.5px solid #e5e0d8 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    box-shadow: none !important;
    white-space: nowrap !important;
    margin: 0 !important;
    line-height: 1 !important;
    user-select: none !important;
}

html body .wcpa_type_radio-group .wcpa_radio label:hover,
html body .wcpa_field .wcpa_radio label:hover {
    border-color: #000000 !important;
    color: #000000 !important;
    background: #ffffff !important;
}

html body .wcpa_type_radio-group .wcpa_radio label:has(input:checked),
html body .wcpa_field .wcpa_radio label:has(input:checked),
html body .wcpa_type_radio-group .wcpa_radio label.is-selected,
html body .wcpa_field .wcpa_radio label.is-selected {
    background: #000000 !important;
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}

/* =========================================================
   ELEMENTOR SIDEBAR CART DRAWER STYLING
========================================================= */

/* Side Cart Backdrop Container (Translucent dark overlay) */
html body .elementor-menu-cart__container {
    background: rgba(0, 0, 0, 0.45) !important;
    background-color: rgba(0, 0, 0, 0.45) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    width: 100vw !important;
    height: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
    overscroll-behavior: contain !important;
    touch-action: none !important;
    z-index: 999998 !important;
}

/* Prevent underlying page scroll when cart drawer is shown */
html body.elementor-menu-cart--shown,
body:has(.elementor-menu-cart--shown) {
    overflow: hidden !important;
}

/* Ensure Side Cart Drawer captures pointer & wheel events */
html body .elementor-menu-cart__container,
html body .elementor-menu-cart__main,
html body .widget_shopping_cart_content {
    pointer-events: auto !important;
}

/* Side Cart Panel Drawer (White Right Panel - Exact Viewport Height via top:0; bottom:0) */
html body .elementor-menu-cart__main {
    font-family: inherit !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    width: min(420px, 100vw) !important;
    max-width: 100vw !important;
    height: auto !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    overscroll-behavior: contain !important;
    touch-action: pan-y !important;
    box-sizing: border-box !important;
    z-index: 999999 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 100% Full Width & Edge-to-Edge on Mobile Devices */
@media (max-width: 767px) {
    html body .elementor-menu-cart__main {
        width: 100% !important;
        width: 100vw !important;
        max-width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        border-radius: 0 !important;
    }
}

/* Close Button: Fixed at top-right of drawer */
html body .elementor-menu-cart__close-button {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    align-self: flex-end !important;
    margin: 12px 16px 6px auto !important;
    z-index: 10 !important;
}

/* Inner Content Layout: Strictly fills remaining space below close button */
html body .elementor-menu-cart__main .widget_shopping_cart_content {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 0% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    position: relative !important;
}

@media (max-width: 767px) {
    html body .elementor-menu-cart__main .widget_shopping_cart_content {
        padding: 0 14px !important;
    }
}

/* Free Shipping Progress Card at the top of content */
.mc-mini-cart-fs-card {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    margin: 0 0 10px 0 !important;
}

/* Products List Layout: Takes all available middle space & scrolls smoothly */
html body .elementor-menu-cart__products {
    flex: 1 1 0% !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    padding: 0 4px 0 0 !important;
    margin: 0 !important;
    border: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
}

/* Slim scrollbar for middle cart items */
html body .elementor-menu-cart__products::-webkit-scrollbar {
    width: 4px !important;
}
html body .elementor-menu-cart__products::-webkit-scrollbar-track {
    background: transparent !important;
}
html body .elementor-menu-cart__products::-webkit-scrollbar-thumb {
    background: #e5e7eb !important;
    border-radius: 4px !important;
}

/* Individual Cart Item Row */
html body .elementor-menu-cart__product {
    display: grid !important;
    grid-template-columns: 65px 1fr auto !important;
    grid-template-areas: "image name remove" "image price remove" !important;
    gap: 4px 12px !important;
    align-items: center !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid #f0ece7 !important;
    margin: 0 !important;
    position: relative !important;
}

/* Product Thumbnail */
html body .elementor-menu-cart__product-image {
    grid-area: image !important;
    width: 65px !important;
    height: 65px !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body .elementor-menu-cart__product-image img {
    width: 65px !important;
    height: 65px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    border: 1px solid #e5e0d8 !important;
    display: block !important;
}

/* Product Name & Links */
html body .elementor-menu-cart__product-name {
    grid-area: name !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
}

html body .elementor-menu-cart__product-name a {
    color: #2b1a14 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

html body .elementor-menu-cart__product-name a:hover {
    color: #80142b !important;
}

/* Add-on Variation Details (WCPA) */
html body .elementor-menu-cart__product-name ul.wcpa_cart_meta,
html body .wcpa_cart_meta {
    margin: 4px 0 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

html body .elementor-menu-cart__product-name ul.wcpa_cart_meta li.wcpa_cart_meta_item,
html body .wcpa_cart_meta_item {
    font-size: 12px !important;
    color: #666666 !important;
    line-height: 1.3 !important;
    margin: 2px 0 0 0 !important;
    padding: 0 !important;
    display: flex !important;
    gap: 4px !important;
    flex-wrap: wrap !important;
}

html body .wcpa_cart_meta_item-label {
    font-weight: 600 !important;
    color: #555555 !important;
    margin: 0 !important;
}

html body .wcpa_cart_meta_item-value p {
    margin: 0 !important;
    color: #777777 !important;
}

/* Prevent main product quantity stepper pill styling from leaking into side cart price */
html body .elementor-menu-cart__product-price .quantity,
html body .elementor-menu-cart__products .quantity,
html body .woocommerce-mini-cart .quantity {
    display: inline !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    overflow: visible !important;
    box-shadow: none !important;
    flex: none !important;
}

/* Price & Quantity */
html body .elementor-menu-cart__product-price {
    grid-area: price !important;
    margin: 2px 0 0 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #2b1a14 !important;
}

html body .elementor-menu-cart__product-price .product-quantity {
    color: #777777 !important;
    font-weight: 500 !important;
    margin-right: 2px !important;
}

html body .elementor-menu-cart__product-price .amount {
    color: #2b1a14 !important;
    font-weight: 700 !important;
}

/* Remove Item Icon */
html body .elementor-menu-cart__product-remove {
    grid-area: remove !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body .elementor-menu-cart__product-remove a {
    color: #999999 !important;
    font-size: 16px !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

html body .elementor-menu-cart__product-remove a:hover {
    color: #80142b !important;
}

/* Subtotal Row - Fixed & Docked Above Buttons */
html body .elementor-menu-cart__subtotal,
html body .widget_shopping_cart_content .total,
html body .woocommerce-mini-cart__total {
    flex-shrink: 0 !important;
    margin-top: auto !important;
    margin-bottom: 0 !important;
    padding: 14px 0 10px 0 !important;
    border-top: 1px solid #e5e7eb !important;
    border-bottom: none !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #2b1a14 !important;
}

html body .elementor-menu-cart__subtotal strong,
html body .widget_shopping_cart_content .total strong,
html body .woocommerce-mini-cart__total strong {
    font-weight: 700 !important;
    color: #2b1a14 !important;
}

html body .elementor-menu-cart__subtotal .amount,
html body .widget_shopping_cart_content .total .amount,
html body .woocommerce-mini-cart__total .amount {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #80142b !important;
}

/* Footer Action Buttons: Fixed at the Bottom of Viewport */
html body .elementor-menu-cart__footer-buttons,
html body .widget_shopping_cart_content .buttons,
html body .woocommerce-mini-cart__buttons {
    flex-shrink: 0 !important;
    display: flex !important;
    gap: 10px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 6px 0 max(16px, env(safe-area-inset-bottom, 16px)) 0 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    box-sizing: border-box !important;
}

/* View Cart Button (Outlined Pill) */
html body a.elementor-button--view-cart,
html body .elementor-menu-cart__footer-buttons a.elementor-button--view-cart,
html body .widget_shopping_cart_content .buttons a.button:not(.checkout) {
    flex: 1 1 0% !important;
    height: 48px !important;
    border: 1.5px solid #000000 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    text-transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
}

html body a.elementor-button--view-cart:hover,
html body .elementor-menu-cart__footer-buttons a.elementor-button--view-cart:hover,
html body .widget_shopping_cart_content .buttons a.button:not(.checkout):hover {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

/* Checkout Button (Solid Black Pill) */
html body a.elementor-button--checkout,
html body .elementor-menu-cart__footer-buttons a.elementor-button--checkout,
html body .widget_shopping_cart_content .buttons a.button.checkout {
    flex: 1 1 0% !important;
    height: 48px !important;
    border: none !important;
    border-radius: 999px !important;
    background: #000000 !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    text-transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: background-color 0.2s ease, box-shadow 0.2s ease !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
}

html body a.elementor-button--checkout:hover,
html body .elementor-menu-cart__footer-buttons a.elementor-button--checkout:hover,
html body .widget_shopping_cart_content .buttons a.button.checkout:hover {
    background: #222222 !important;
    background-color: #222222 !important;
    color: #ffffff !important;
}

/* Mobile Responsive Optimization for Sticky Bottom Actions */
@media (max-width: 767px) {
    html body .elementor-menu-cart__subtotal,
    html body .widget_shopping_cart_content .total,
    html body .woocommerce-mini-cart__total {
        padding: 10px 0 6px 0 !important;
        font-size: 14px !important;
    }

    html body .elementor-menu-cart__footer-buttons,
    html body .widget_shopping_cart_content .buttons,
    html body .woocommerce-mini-cart__buttons {
        gap: 8px !important;
        padding-top: 4px !important;
        padding-bottom: max(14px, env(safe-area-inset-bottom, 14px)) !important;
    }

    html body a.elementor-button--view-cart,
    html body .elementor-menu-cart__footer-buttons a.elementor-button--view-cart,
    html body .widget_shopping_cart_content .buttons a.button:not(.checkout),
    html body a.elementor-button--checkout,
    html body .elementor-menu-cart__footer-buttons a.elementor-button--checkout,
    html body .widget_shopping_cart_content .buttons a.button.checkout {
        height: 44px !important;
        font-size: 13px !important;
    }
}

/* =========================================================
   CONDITIONAL FREE SHIPPING ICON BOX BADGE VISIBILITY
========================================================= */

/* Hide by default */
html body .mc-free-shipping-badge {
    display: none !important;
}

/* Show ONLY when product is in "free-shipping-products" category */
html body.mc-has-free-shipping .mc-free-shipping-badge {
    display: flex !important;
}

/* =========================================================
   SINGLE PRODUCT REVIEWS CAROUSEL & WRITE A REVIEW FORM
========================================================= */

.sc-product-reviews-section {
    margin: 24px 0 !important;
    font-family: inherit !important;
}

/* Header: Left-aligned Write a Review button */
.sc-product-reviews-header {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin-bottom: 20px !important;
}

.sc-write-review-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 44px !important;
    padding: 0 22px !important;
    border: 1.5px solid #000000 !important;
    border-radius: 999px !important;
    background: #000000 !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    box-shadow: none !important;
    margin-left: 0 !important;
}

.sc-write-review-btn:hover {
    background: #222222 !important;
    background-color: #222222 !important;
    color: #ffffff !important;
}

/* White Review Card Styling (Matching Image 2) */
html body .sc-review-card {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 280px !important;
    height: auto !important;
    box-sizing: border-box !important;
}

html body .sc-review-stars span {
    color: #ffb400 !important;
    font-size: 16px !important;
    letter-spacing: 2px !important;
}

html body .sc-review-content {
    color: #2b1a14 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 12px 0 20px 0 !important;
    flex: 1 1 auto !important;
}

html body .sc-review-content p {
    color: #2b1a14 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 0 0 8px 0 !important;
}

html body .sc-review-author {
    color: #2b1a14 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #f0ece7 !important;
    margin-bottom: 12px !important;
}

html body .sc-review-product-bar {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

html body .sc-review-product-image img,
html body img.sc-review-product-thumbnail {
    width: 40px !important;
    height: 40px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    border: 1px solid #e5e0d8 !important;
}

html body .sc-review-product-name {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #2b1a14 !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Bottom Carousel Controls: Left-aligned Navigation Buttons + Progress Line */
html body .sc-review-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin-top: 24px !important;
    position: relative !important;
    gap: 16px !important;
    padding: 8px 0 0 0 !important;
}

html body .sc-review-navigation {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex-shrink: 0 !important;
}

html body .sc-review-prev,
html body .sc-review-next {
    width: 36px !important;
    height: 36px !important;
    border-radius: 6px !important;
    background: #000000 !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 18px !important;
    line-height: 1 !important;
    transition: background-color 0.2s ease !important;
}

html body .sc-review-prev:hover,
html body .sc-review-next:hover {
    background: #333333 !important;
    background-color: #333333 !important;
}

html body .sc-review-progress.swiper-pagination,
html body .sc-review-progress.swiper-pagination-progressbar,
html body .sc-product-reviews-section .swiper-pagination-progressbar {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    flex: 1 1 auto !important;
    max-width: 240px !important;
    height: 4px !important;
    background: rgba(255, 255, 255, 0.25) !important;
    background-color: rgba(255, 255, 255, 0.25) !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    margin: 0 !important;
}

html body .sc-review-progress .swiper-pagination-progressbar-fill,
html body .sc-product-reviews-section .swiper-pagination-progressbar-fill,
html body [class*="elementor-element"] .sc-review-progress .swiper-pagination-progressbar-fill,
html body .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: #80142b !important;
    background-color: #80142b !important;
    border-radius: 999px !important;
}

/* =========================================================
   MISTER COFFEE — WOOCOMMERCE WRITE A REVIEW FORM STYLING
========================================================= */

#reviews,
#review_form_wrapper,
#review_form,
#respond,
.comment-respond,
.sc-review-form-wrap,
.woocommerce-Reviews {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    padding: 28px 32px !important;
    margin-top: 24px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
    box-sizing: border-box !important;
}

#reply-title,
.comment-reply-title,
#review_form h3,
#respond h3 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #2b1a14 !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.3 !important;
}

.logged-in-as,
p.logged-in-as,
#respond p.logged-in-as {
    font-size: 13.5px !important;
    color: #6b7280 !important;
    margin-bottom: 20px !important;
}

.comment-form label,
#respond label,
.sc-review-form-wrap label {
    display: block !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 6px !important;
}

/* Star Rating Dropdown / WooCommerce Stars */
p.comment-form-rating select,
select#rating,
#respond select {
    width: 100% !important;
    max-width: 100% !important;
    height: 44px !important;
    padding: 0 16px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    font-size: 14.5px !important;
    color: #1f2937 !important;
    outline: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

p.comment-form-rating select:focus,
select#rating:focus,
#respond select:focus,
.comment-form textarea:focus,
#comment:focus,
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus {
    border-color: #80142b !important;
    box-shadow: 0 0 0 3px rgba(128, 20, 43, 0.12) !important;
    outline: none !important;
}

/* Star Rating Stars interactive & selected cumulative filling */
.comment-form p.stars a,
#respond p.stars a {
    color: #d1d5db !important;
    font-size: 22px !important;
    margin-right: 4px !important;
    text-decoration: none !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    transition: color 0.15s ease !important;
}

.comment-form p.stars a:focus,
.comment-form p.stars a:active,
#respond p.stars a:focus,
#respond p.stars a:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* When 5 Stars is selected or hovered -> fill ALL 5 stars */
.comment-form p.stars:has(a.star-5.active) a,
.comment-form p.stars:has(a.star-5:hover) a,
#respond p.stars:has(a.star-5.active) a,
#respond p.stars:has(a.star-5:hover) a,
.comment-form p.stars a.star-5.active,
#respond p.stars a.star-5.active {
    color: #fbbf24 !important;
}

/* When 4 Stars is selected or hovered -> fill stars 1 to 4 */
.comment-form p.stars:has(a.star-4.active) a:not(.star-5),
.comment-form p.stars:has(a.star-4:hover) a:not(.star-5),
#respond p.stars:has(a.star-4.active) a:not(.star-5),
#respond p.stars:has(a.star-4:hover) a:not(.star-5) {
    color: #fbbf24 !important;
}

/* When 3 Stars is selected or hovered -> fill stars 1 to 3 */
.comment-form p.stars:has(a.star-3.active) a.star-1,
.comment-form p.stars:has(a.star-3.active) a.star-2,
.comment-form p.stars:has(a.star-3.active) a.star-3,
.comment-form p.stars:has(a.star-3:hover) a.star-1,
.comment-form p.stars:has(a.star-3:hover) a.star-2,
.comment-form p.stars:has(a.star-3:hover) a.star-3,
#respond p.stars:has(a.star-3.active) a.star-1,
#respond p.stars:has(a.star-3.active) a.star-2,
#respond p.stars:has(a.star-3.active) a.star-3,
#respond p.stars:has(a.star-3:hover) a.star-1,
#respond p.stars:has(a.star-3:hover) a.star-2,
#respond p.stars:has(a.star-3:hover) a.star-3 {
    color: #fbbf24 !important;
}

/* When 2 Stars is selected or hovered -> fill stars 1 to 2 */
.comment-form p.stars:has(a.star-2.active) a.star-1,
.comment-form p.stars:has(a.star-2.active) a.star-2,
.comment-form p.stars:has(a.star-2:hover) a.star-1,
.comment-form p.stars:has(a.star-2:hover) a.star-2,
#respond p.stars:has(a.star-2.active) a.star-1,
#respond p.stars:has(a.star-2.active) a.star-2,
#respond p.stars:has(a.star-2:hover) a.star-1,
#respond p.stars:has(a.star-2:hover) a.star-2 {
    color: #fbbf24 !important;
}

/* When 1 Star is selected or hovered -> fill star 1 */
.comment-form p.stars:has(a.star-1.active) a.star-1,
.comment-form p.stars:has(a.star-1:hover) a.star-1,
#respond p.stars:has(a.star-1.active) a.star-1,
#respond p.stars:has(a.star-1:hover) a.star-1 {
    color: #fbbf24 !important;
}

/* Form Inputs & Textarea */
.comment-form textarea,
#comment,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.sc-review-form-wrap textarea,
.sc-review-form-wrap input {
    width: 100% !important;
    border: 1px solid #d1d5db !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    padding: 12px 16px !important;
    font-family: inherit !important;
    font-size: 14.5px !important;
    color: #1f2937 !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.comment-form textarea,
#comment {
    min-height: 120px !important;
    resize: vertical !important;
}

/* File Upload Button Styling */
.comment-form input[type="file"],
#respond input[type="file"] {
    margin-top: 6px !important;
    font-size: 13.5px !important;
    color: #4b5563 !important;
}

.comment-form input[type="file"]::file-selector-button,
#respond input[type="file"]::file-selector-button,
.comment-form input[type="file"]::-webkit-file-upload-button,
#respond input[type="file"]::-webkit-file-upload-button {
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    padding: 7px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    cursor: pointer !important;
    margin-right: 12px !important;
    transition: all 0.2s ease !important;
}

.comment-form input[type="file"]::file-selector-button:hover,
#respond input[type="file"]::file-selector-button:hover {
    background: #f9fafb !important;
    border-color: #80142b !important;
    color: #80142b !important;
}

/* Submit Review Button */
.comment-form input[type="submit"],
.comment-form button[type="submit"],
#submit,
#respond #submit,
.sc-submit-review-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 46px !important;
    padding: 0 32px !important;
    margin-top: 16px !important;
    border: none !important;
    border-radius: 999px !important;
    background: #80142b !important;
    background-color: #80142b !important;
    color: #ffffff !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, transform 0.1s ease !important;
    box-shadow: none !important;
}

.comment-form input[type="submit"]:hover,
.comment-form button[type="submit"]:hover,
#submit:hover,
#respond #submit:hover,
.sc-submit-review-btn:hover {
    background: #600f20 !important;
    background-color: #600f20 !important;
    color: #ffffff !important;
}

/* =========================================================
   MOBILE RESPONSIVE OPTIMIZATIONS (< 768px)
========================================================= */
@media (max-width: 767px) {
    html body .sc-product-reviews-section {
        margin: 16px 0 !important;
    }

    html body .sc-product-reviews-header {
        justify-content: flex-start !important;
        margin-bottom: 16px !important;
    }

    html body .sc-write-review-btn {
        width: 100% !important;
        height: 44px !important;
        font-size: 13.5px !important;
    }

    html body .sc-review-card {
        padding: 18px 16px !important;
        min-height: 230px !important;
        border-radius: 12px !important;
    }

    html body .sc-review-content {
        font-size: 13.5px !important;
        margin: 10px 0 16px 0 !important;
    }

    html body .sc-review-controls {
        margin-top: 18px !important;
        gap: 12px !important;
    }

    html body .sc-review-prev,
    html body .sc-review-next {
        width: 34px !important;
        height: 34px !important;
        font-size: 16px !important;
    }

    html body .sc-review-progress.swiper-pagination,
    html body .sc-review-progress.swiper-pagination-progressbar {
        max-width: none !important;
        flex: 1 1 auto !important;
    }

    html body .sc-review-form-wrap {
        padding: 16px !important;
        margin-top: 16px !important;
        border-radius: 12px !important;
    }

    html body .sc-submit-review-btn {
        width: 100% !important;
    }
}

/* =========================================================
   MISTER COFFEE — FREE SHIPPING PROGRESS WIDGET
========================================================= */
.mc-free-shipping-widget {
    --mc-brand-accent: var(--e-global-color-primary, #80142b);
    --mc-brand-dark: #80142b;
    --mc-text-dark: #1f2937;
    --mc-text-muted: #6b7280;
    --mc-bg-card: transparent;
    --mc-border-card: transparent;
    --mc-track-bg: #e5e7eb;

    font-family: inherit;
    margin: 16px 0 24px 0;
    width: 100%;
}

.mc-fs-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.mc-fs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.mc-fs-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mc-fs-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--mc-brand-dark);
}

.mc-fs-heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--mc-text-dark);
    line-height: 1.3;
}

.mc-fs-dropdown-wrap {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14.5px;
    color: var(--mc-text-muted);
}

.mc-fs-dropdown-label {
    font-size: 14.5px;
    color: var(--mc-text-muted);
}

.mc-fs-select-outer {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.mc-fs-region-select {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid transparent;
    border-radius: 0;
    padding: 0 16px 0 2px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--mc-text-dark);
    cursor: pointer;
    outline: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.mc-fs-region-select:focus,
.mc-fs-region-select:hover {
    color: var(--mc-brand-dark);
    border-bottom-color: var(--mc-brand-dark);
}

.mc-fs-select-arrow {
    position: absolute;
    right: 2px;
    font-size: 10px;
    color: var(--mc-text-dark);
    pointer-events: none;
}

/* Progress Bar */
.mc-fs-progress-block {
    margin-bottom: 12px;
}

.mc-fs-bar-track {
    background: var(--mc-track-bg);
    border-radius: 999px;
    height: 9px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.mc-fs-bar-track.is-small {
    height: 7px;
}

.mc-fs-bar-fill {
    background: var(--mc-brand-dark);
    height: 100%;
    border-radius: 999px;
    transition: width 0.4s ease-in-out;
}

.mc-fs-bar-fill.is-complete {
    background: #10b981;
}

.mc-fs-bar-fill.is-weight {
    background: #4b5563;
}

.mc-fs-bar-fill.is-alert {
    background: #ef4444;
}

.mc-fs-bar-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: var(--mc-text-muted);
    margin-top: 6px;
}

/* Status Message */
.mc-fs-status-message {
    font-size: 14.5px;
    line-height: 1.45;
    margin-top: 6px;
}

.mc-fs-msg-pending {
    color: var(--mc-text-dark);
}

.mc-fs-msg-success {
    color: #059669;
    font-weight: 600;
}

/* East Malaysia Compact Weight Badge */
.mc-fs-weight-compact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.35;
    margin-top: 10px;
    transition: all 0.2s ease;
}

.mc-fs-weight-compact.is-ok {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.mc-fs-weight-compact.is-overweight {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.mc-fs-weight-text {
    font-weight: 500;
}

.mc-fs-weight-text strong {
    font-weight: 700;
}

.mc-fs-weight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
    flex-shrink: 0;
}

.mc-fs-weight-compact.is-ok .mc-fs-weight-icon {
    background: #10b981;
    color: #ffffff;
}

.mc-fs-weight-compact.is-overweight .mc-fs-weight-icon {
    background: #ef4444;
    color: #ffffff;
}

/* East Malaysia Weight Tooltip */
.mc-fs-weight-tooltip-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin-left: 2px;
}

.mc-fs-tooltip-icon {
    font-size: 13px;
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.mc-fs-weight-tooltip-trigger:hover .mc-fs-tooltip-icon,
.mc-fs-weight-compact:focus .mc-fs-tooltip-icon {
    opacity: 1;
}

.mc-fs-tooltip-bubble {
    visibility: hidden;
    opacity: 0;
    width: 220px;
    background-color: #1f2937;
    color: #ffffff;
    text-align: left;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 400;
    position: absolute;
    z-index: 99;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

.mc-fs-tooltip-bubble::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #1f2937 transparent transparent transparent;
}

.mc-fs-weight-tooltip-trigger:hover .mc-fs-tooltip-bubble,
.mc-fs-weight-compact:focus .mc-fs-tooltip-bubble {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.mc-fs-weight-alert-msg {
    font-size: 13px;
    font-weight: 600;
    color: #dc2626;
    margin-top: 6px;
}

/* Disclaimer Pill */
.mc-fs-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 12px 14px;
    margin-top: 12px;
    font-size: 13.5px;
    line-height: 1.45;
    color: #1e40af;
}

.mc-fs-disclaimer-icon {
    font-weight: bold;
}

.mc-fs-disclaimer-link {
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: underline;
}

.mc-fs-disclaimer-link:hover {
    color: #1e3a8a;
}

/* =========================================================
   MISTER COFFEE — REWARD POINTS TEXT [mc_points_to_purchase]
========================================================= */
.mc-points-to-purchase-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 8px 0 16px 0;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--e-global-color-primary, #80142b);
    line-height: 1.4;
    font-family: inherit;
}

.mc-points-to-purchase-badge .mc-pt-icon {
    font-size: 16px;
    line-height: 1;
}

.mc-points-to-purchase-badge .mc-pt-count {
    color: var(--e-global-color-primary, #80142b);
    font-weight: 700;
}

/* =========================================================
   MISTER COFFEE — WOOCOMMERCE NOTICES & ALERTS (SUCCESS/INFO/ERROR)
========================================================= */

html body .woocommerce-notices-wrapper {
    width: 100% !important;
    margin-bottom: 16px !important;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice,
html body div.woocommerce-message,
html body div.woocommerce-info,
html body div.woocommerce-error {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    padding: 14px 20px !important;
    margin: 16px 0 24px 0 !important;
    border-radius: 12px !important;
    font-size: 14.5px !important;
    line-height: 1.45 !important;
    font-family: inherit !important;
    outline: none !important;
    outline-width: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

/* Remove blue focus ring outline when focused via tabindex="-1" */
.woocommerce-message:focus,
.woocommerce-message:focus-visible,
.woocommerce-info:focus,
.woocommerce-info:focus-visible,
.woocommerce-error:focus,
.woocommerce-error:focus-visible,
html body div.woocommerce-message[tabindex],
html body div.woocommerce-info[tabindex],
html body div.woocommerce-error[tabindex] {
    outline: none !important;
    outline-width: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

/* WooCommerce Notices: Common Position & Icon Spacing */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
html body div.woocommerce-message,
html body div.woocommerce-info,
html body div.woocommerce-error {
    position: relative !important;
    padding-left: 48px !important;
    border-left-width: 1px !important;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before,
html body div.woocommerce-message::before,
html body div.woocommerce-info::before,
html body div.woocommerce-error::before {
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

/* Success Notice (Added to Cart) */
.woocommerce-message,
html body div.woocommerce-message {
    background: #ecfdf5 !important;
    background-color: #ecfdf5 !important;
    border: 1px solid #a7f3d0 !important;
    color: #064e3b !important;
}

.woocommerce-message::before,
html body div.woocommerce-message::before {
    color: #10b981 !important;
}

/* Info Notice */
.woocommerce-info,
html body div.woocommerce-info {
    background: #eff6ff !important;
    background-color: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    color: #1e40af !important;
}

.woocommerce-info::before,
html body div.woocommerce-info::before {
    color: #3b82f6 !important;
}

/* Error Notice */
.woocommerce-error,
html body div.woocommerce-error {
    background: #fef2f2 !important;
    background-color: #fef2f2 !important;
    border: 1px solid #fca5a5 !important;
    color: #991b1b !important;
    list-style: none !important;
}

.woocommerce-error::before,
html body div.woocommerce-error::before {
    color: #ef4444 !important;
}

/* Notice Action Buttons (e.g., "View Cart") */
.woocommerce-message a.button,
.woocommerce-info a.button,
.woocommerce-error a.button,
.woocommerce-message a.button.wc-forward,
html body div.woocommerce-message a.button,
html body div.woocommerce-message a.button.wc-forward {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    order: 2 !important;
    margin-left: auto !important;
    padding: 8px 22px !important;
    height: 38px !important;
    border: none !important;
    border-radius: 999px !important;
    background: #80142b !important;
    background-color: #80142b !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, transform 0.1s ease !important;
    box-shadow: none !important;
    outline: none !important;
    float: none !important;
    white-space: nowrap !important;
}

.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover,
.woocommerce-error a.button:hover,
html body div.woocommerce-message a.button:hover,
html body div.woocommerce-message a.button.wc-forward:hover {
    background: #600f20 !important;
    background-color: #600f20 !important;
    color: #ffffff !important;
}

/* =========================================================
   CART PAGE FREE SHIPPING PROGRESS WIDGET
========================================================= */
.mc-fs-cart-widget {
    width: 100% !important;
    max-width: 600px !important;
    margin: 20px auto 24px auto !important;
    text-align: center !important;
    font-family: inherit !important;
}

.mc-fs-cart-copy {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #111827 !important;
    margin-bottom: 12px !important;
    line-height: 1.4 !important;
}

.mc-fs-cart-copy strong {
    font-weight: 700 !important;
    color: #000000 !important;
}

.mc-fs-cart-copy a.mc-fs-cart-link {
    color: var(--e-global-color-primary, #80142b) !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
}

.mc-fs-cart-copy .mc-fs-cart-success {
    color: #059669 !important;
    font-weight: 700 !important;
}

.mc-fs-cart-bar-track {
    width: 100% !important;
    height: 6px !important;
    background: #e5e7eb !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    position: relative !important;
}

.mc-fs-cart-bar-fill {
    height: 100% !important;
    background: #80142b !important;
    background-color: #80142b !important;
    border-radius: 999px !important;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.mc-fs-cart-bar-fill.is-complete {
    background: #059669 !important;
    background-color: #059669 !important;
}

.mc-fs-cart-bar-labels {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 6px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #6b7280 !important;
}

/* =========================================================
   MISTER COFFEE — ELEMENTOR CART PAGE STYLING (PERFECT DESKTOP + MOBILE)
   ========================================================= */

/* 1. Desktop Side-by-Side Layout */
.e-cart__container,
html body .elementor-widget-woocommerce-cart .e-cart__container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 40px !important;
    align-items: flex-start !important;
    width: 100% !important;
}

.e-cart__column.e-cart__column-start,
html body .e-cart__column-start {
    width: 62% !important;
    max-width: 62% !important;
    flex: 0 0 62% !important;
    min-width: 0 !important;
}

.e-cart__column.e-cart__column-end,
html body .e-cart__column-end {
    width: 35% !important;
    max-width: 35% !important;
    flex: 0 0 35% !important;
    min-width: 300px !important;
}

/* 2. Strip Extra Outer Boxes & Borders */
.e-cart-section,
.e-cart__column-start,
.e-cart__column-end,
.e-cart__column-inner,
.e-shop-table,
.e-cart-totals,
.cart-collaterals,
.woocommerce-cart-form,
html body .woocommerce-cart-form {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    outline: none !important;
}

/* 3. Hide WooCommerce Pseudo Labels Everywhere ("Product:", "Price:", etc.) */
table.shop_table_responsive td::before,
.woocommerce-cart-form table.shop_table td::before,
table.shop_table.cart td::before {
    display: none !important;
    content: "" !important;
}

/* 4. Desktop Product Table Styling (Perfect Table) */
table.shop_table.cart,
.woocommerce-cart-form table.shop_table {
    display: table !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: none !important;
    width: 100% !important;
    background: transparent !important;
    box-shadow: none !important;
}

table.shop_table.cart thead,
.woocommerce-cart-form table.shop_table thead {
    display: table-header-group !important;
}

table.shop_table.cart thead th,
.woocommerce-cart-form table.shop_table thead th {
    display: table-cell !important;
    border: none !important;
    border-bottom: 1px solid #e5e7eb !important;
    padding: 12px 16px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #4b5563 !important;
    background: transparent !important;
}

table.shop_table.cart tbody,
.woocommerce-cart-form table.shop_table tbody {
    display: table-row-group !important;
}

table.shop_table.cart tbody tr.cart_item,
.woocommerce-cart-form table.shop_table tbody tr.cart_item {
    display: table-row !important;
    background: transparent !important;
}

table.shop_table.cart td,
.woocommerce-cart-form table.shop_table td {
    display: table-cell !important;
    border: none !important;
    border-bottom: 1px solid #f3f4f6 !important;
    padding: 18px 12px !important;
    vertical-align: middle !important;
    background: transparent !important;
}

/* Desktop Columns */
table.shop_table.cart td.product-thumbnail,
.woocommerce-cart-form table.shop_table td.product-thumbnail {
    width: 90px !important;
}

table.shop_table.cart td.product-thumbnail img,
.woocommerce-cart-form table.shop_table td.product-thumbnail img {
    width: 80px !important;
    height: 80px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    border: none !important;
    background: #faf8f5 !important;
    display: block !important;
}

table.shop_table.cart td.product-name a,
.woocommerce-cart-form table.shop_table td.product-name a {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    text-decoration: none !important;
}

table.shop_table.cart td.product-name a:hover {
    color: #80142b !important;
}

table.shop_table.cart td.product-remove a.remove,
.woocommerce-cart-form table.shop_table td.product-remove a.remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    color: #9ca3af !important;
    background: #f3f4f6 !important;
    font-size: 15px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    border: none !important;
}

table.shop_table.cart td.product-remove a.remove:hover,
.woocommerce-cart-form table.shop_table td.product-remove a.remove:hover {
    color: #ef4444 !important;
    background: #fee2e2 !important;
}

table.shop_table.cart td.product-price,
table.shop_table.cart td.product-subtotal,
.woocommerce-cart-form table.shop_table td.product-price,
.woocommerce-cart-form table.shop_table td.product-subtotal {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #111827 !important;
}

/* Quantity Stepper Pill Box */
.woocommerce-cart-form .quantity,
table.shop_table.cart .quantity {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 999px !important;
    padding: 2px 6px !important;
    height: 36px !important;
    width: auto !important;
    min-width: 96px !important;
}

.woocommerce-cart-form .quantity .mc-qty-btn,
table.shop_table.cart .quantity .mc-qty-btn {
    width: 26px !important;
    height: 26px !important;
    border: none !important;
    background: #f3f4f6 !important;
    color: #111827 !important;
    border-radius: 50% !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

.woocommerce-cart-form .quantity input.qty,
table.shop_table.cart .quantity input.qty {
    width: 32px !important;
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
}

/* Actions Row (Update Cart Button) */
table.shop_table.cart td.actions,
.woocommerce-cart-form table.shop_table td.actions {
    border: none !important;
    padding-top: 16px !important;
    text-align: left !important;
}

table.shop_table.cart td.actions button[name="update_cart"] {
    background: #ffffff !important;
    color: #6b7280 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 999px !important;
    padding: 8px 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}

table.shop_table.cart td.actions button[name="update_cart"]:hover:not(:disabled) {
    background: #80142b !important;
    border-color: #80142b !important;
    color: #ffffff !important;
}

/* 5. Right Side Cart Totals Card */
/* 5. Right Side Order Summary Card (Cart Totals) */
.cart_totals,
html body .cart_totals {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.cart_totals h2 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    border-bottom: 1px solid #f3f4f6 !important;
    padding-bottom: 14px !important;
    letter-spacing: -0.3px !important;
}

.cart_totals table.shop_table,
html body .cart_totals table.shop_table {
    display: block !important;
    border: none !important;
    width: 100% !important;
    margin-bottom: 16px !important;
    background: transparent !important;
}

.cart_totals table.shop_table tbody {
    display: block !important;
    width: 100% !important;
}

.cart_totals table.shop_table tr {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #f3f4f6 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.cart_totals table.shop_table tr.shipping {
    align-items: flex-start !important;
    flex-wrap: wrap !important;
}

/* Labels (th) */
.cart_totals table.shop_table tr th {
    display: block !important;
    border: none !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #4b5563 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    background: transparent !important;
    text-align: left !important;
    width: auto !important;
}

/* Values (td) */
.cart_totals table.shop_table tr td {
    display: block !important;
    border: none !important;
    padding: 0 !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    color: #111827 !important;
    background: transparent !important;
    text-align: right !important;
    margin-left: auto !important;
}

.cart_totals table.shop_table tr td::before {
    display: none !important;
    content: "" !important;
}

/* Subtotal Row */
.cart_totals table.shop_table tr.cart-subtotal td .amount {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #111827 !important;
}

/* Shipping Details */
.cart_totals table.shop_table tr.shipping td {
    font-size: 13px !important;
    color: #6b7280 !important;
    font-weight: 400 !important;
    max-width: 220px !important;
}

.cart_totals table.shop_table tr.shipping td .woocommerce-Price-amount {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #059669 !important;
}

/* Order Total Row (Highlighted Big Total) */
.cart_totals table.shop_table tr.order-total {
    border-bottom: none !important;
    padding-top: 16px !important;
    padding-bottom: 4px !important;
}

.cart_totals table.shop_table tr.order-total th {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #111827 !important;
}

.cart_totals table.shop_table tr.order-total td,
.cart_totals table.shop_table tr.order-total td strong,
.cart_totals table.shop_table tr.order-total td .amount {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    letter-spacing: -0.4px !important;
}

/* Hide Coupon block in its original location inside cart table so it never flashes on the left */
.woocommerce-cart-form .coupon,
td.actions .coupon,
.woocommerce-cart-form td.actions .coupon {
    display: none !important;
}

/* Coupon Input Block inside Cart Totals Card */
.cart_totals .coupon,
.e-cart__column-end .coupon {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    width: 100% !important;
}

.cart_totals .coupon input#coupon_code {
    flex: 1 !important;
    height: 44px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 999px !important;
    padding: 0 18px !important;
    font-size: 13.5px !important;
    background: #faf8f5 !important;
    color: #111827 !important;
    outline: none !important;
    transition: border-color 0.2s ease !important;
}

.cart_totals .coupon input#coupon_code:focus {
    border-color: #111827 !important;
    background: #ffffff !important;
}

.cart_totals .coupon button.button,
.cart_totals .coupon button[name="apply_coupon"] {
    height: 44px !important;
    padding: 0 22px !important;
    background: #111827 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: background 0.2s ease !important;
}

.cart_totals .coupon button.button:hover,
.cart_totals .coupon button[name="apply_coupon"]:hover {
    background: #80142b !important;
}

/* Proceed to Checkout Button */
.wc-proceed-to-checkout {
    padding-top: 4px !important;
    width: 100% !important;
}

.wc-proceed-to-checkout a.checkout-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 48px !important;
    background: #111827 !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.15) !important;
    transition: all 0.2s ease !important;
    letter-spacing: 0.2px !important;
}

.wc-proceed-to-checkout a.checkout-button:hover {
    background: #80142b !important;
    box-shadow: 0 4px 14px rgba(128, 20, 43, 0.25) !important;
    transform: translateY(-1px) !important;
}

/* 6. Tablet & Mobile Responsive Adjustments */
@media (max-width: 991px) {

    .e-cart__container,
    html body .elementor-widget-woocommerce-cart .e-cart__container {
        flex-direction: column !important;
        gap: 24px !important;
    }

    .e-cart__column.e-cart__column-start,
    html body .e-cart__column-start,
    .e-cart__column.e-cart__column-end,
    html body .e-cart__column-end {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        min-width: 0 !important;
    }
}

@media (max-width: 768px) {

    /* ---- RESET: Force block/grid layout, override desktop table-cell display ---- */
    table.shop_table.cart thead,
    .woocommerce-cart-form table.shop_table thead {
        display: none !important;
    }

    table.shop_table_responsive td::before,
    .woocommerce-cart-form table.shop_table td::before,
    table.shop_table.cart td::before {
        display: none !important;
        content: "" !important;
    }

    table.shop_table.cart,
    .woocommerce-cart-form table.shop_table {
        display: block !important;
        width: 100% !important;
        border: none !important;
    }

    table.shop_table.cart tbody,
    .woocommerce-cart-form table.shop_table tbody {
        display: block !important;
        width: 100% !important;
    }

    /* Hide original tr rows replaced by JS div cards (class-based, high specificity beats display:grid !important) */
    table.shop_table.cart tbody tr.cart_item.mc-mobile-hidden,
    .woocommerce-cart-form table.shop_table tbody tr.cart_item.mc-mobile-hidden {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
    }

    /* ---- GRID ROW: Each cart item is a 2-row, 3-column grid ---- */
    table.shop_table.cart tbody tr.cart_item,
    .woocommerce-cart-form table.shop_table tbody tr.cart_item {
        display: grid !important;
        grid-template-columns: 72px 1fr auto !important;
        grid-template-rows: auto auto !important;
        grid-template-areas:
            "thumb title  subtotal"
            "thumb qty    remove" !important;
        column-gap: 12px !important;
        row-gap: 8px !important;
        align-items: center !important;
        padding: 16px 0 !important;
        border-top: none !important;
        border-left: none !important;
        border-right: none !important;
        border-bottom: 1px solid #f3f4f6 !important;
        background: transparent !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* ---- ALL td: must be block so they participate in the parent grid ---- */
    table.shop_table.cart td,
    .woocommerce-cart-form table.shop_table td {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        vertical-align: unset !important;
    }

    /* 1. Thumbnail */
    table.shop_table.cart td.product-thumbnail,
    .woocommerce-cart-form table.shop_table td.product-thumbnail {
        grid-area: thumb !important;
        grid-row: 1 / 3 !important;
        width: 72px !important;
        height: 72px !important;
        align-self: center !important;
    }

    table.shop_table.cart td.product-thumbnail img,
    .woocommerce-cart-form table.shop_table td.product-thumbnail img {
        width: 72px !important;
        height: 72px !important;
        object-fit: cover !important;
        border-radius: 12px !important;
        display: block !important;
        background: #f3f4f6 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 2. Product Name (top-middle) */
    table.shop_table.cart td.product-name,
    .woocommerce-cart-form table.shop_table td.product-name {
        grid-area: title !important;
        align-self: end !important;
    }

    table.shop_table.cart td.product-name a,
    .woocommerce-cart-form table.shop_table td.product-name a {
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #111827 !important;
        text-decoration: none !important;
        line-height: 1.3 !important;
    }

    /* 3. Unit Price — rendered inside .product-name cell by JS card */

    /* 4. Quantity stepper (bottom-middle) */
    table.shop_table.cart td.product-quantity,
    .woocommerce-cart-form table.shop_table td.product-quantity {
        grid-area: qty !important;
        align-self: start !important;
    }

    /* Override desktop quantity pill styles for mobile */
    .woocommerce-cart-form .quantity,
    table.shop_table.cart .quantity {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        background: #ffffff !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 999px !important;
        padding: 2px 6px !important;
        height: 32px !important;
        min-width: 90px !important;
        width: auto !important;
    }

    .woocommerce-cart-form .quantity .mc-qty-btn,
    table.shop_table.cart .quantity .mc-qty-btn {
        width: 22px !important;
        height: 22px !important;
        background: #f3f4f6 !important;
        border: none !important;
        border-radius: 50% !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #111827 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
    }

    .woocommerce-cart-form .quantity input.qty,
    table.shop_table.cart .quantity input.qty {
        width: 28px !important;
        border: none !important;
        background: transparent !important;
        text-align: center !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #111827 !important;
        padding: 0 !important;
        margin: 0 !important;
        outline: none !important;
    }

    /* 5. Subtotal (top-right) */
    table.shop_table.cart td.product-subtotal,
    .woocommerce-cart-form table.shop_table td.product-subtotal {
        grid-area: subtotal !important;
        justify-self: end !important;
        align-self: end !important;
        text-align: right !important;
    }

    table.shop_table.cart td.product-subtotal .amount,
    .woocommerce-cart-form table.shop_table td.product-subtotal .amount {
        font-size: 15px !important;
        font-weight: 800 !important;
        color: #111827 !important;
    }

    /* 6. Remove button (circle × icon top-right) */
    table.shop_table.cart td.product-remove,
    .woocommerce-cart-form table.shop_table td.product-remove,
    .mc-cart-mobile-card td.product-remove {
        grid-area: remove !important;
        justify-self: end !important;
        align-self: start !important;
        padding: 0 !important;
        border: none !important;
    }

    table.shop_table.cart td.product-remove a.remove,
    .woocommerce-cart-form table.shop_table td.product-remove a.remove,
    .mc-cart-mobile-card td.product-remove a.remove {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 26px !important;
        height: 26px !important;
        border-radius: 50% !important;
        color: #9ca3af !important;
        background: #f3f4f6 !important;
        font-size: 16px !important;
        line-height: 1 !important;
        text-decoration: none !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    table.shop_table.cart td.product-remove a.remove:hover,
    .woocommerce-cart-form table.shop_table td.product-remove a.remove:hover,
    .mc-cart-mobile-card td.product-remove a.remove:hover {
        color: #ef4444 !important;
        background: #fee2e2 !important;
    }

    table.shop_table.cart td.product-remove a.remove::after,
    .woocommerce-cart-form table.shop_table td.product-remove a.remove::after,
    .mc-cart-mobile-card td.product-remove a.remove::after {
        display: none !important;
        content: "" !important;
    }

    /* Cart totals card on mobile */
    .cart_totals,
    html body .cart_totals {
        padding: 20px 16px !important;
        border-radius: 14px !important;
    }
}


/* =========================================================
 * WOOCOMMERCE MY ACCOUNT ORDER ACTION BUTTONS (View, Invoice, etc.)
 * ======================================================= */
html body .woocommerce-orders-table__cell-order-actions .woocommerce-button,
html body a.woocommerce-button.button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 36px !important;
    padding: 0 16px !important;
    margin: 3px 4px 3px 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

/* "View" Button — Primary Accent Fill */
html body .woocommerce-orders-table__cell-order-actions a.woocommerce-button.button.view,
html body a.woocommerce-button.button.view {
    background-color: #80142b !important;
    color: #ffffff !important;
    border: 1px solid #80142b !important;
    box-shadow: 0 2px 8px rgba(128, 20, 43, 0.18) !important;
}

html body .woocommerce-orders-table__cell-order-actions a.woocommerce-button.button.view:hover,
html body a.woocommerce-button.button.view:hover {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

/* "Invoice" & other Action Buttons — Clean Subtle Outline */
html body .woocommerce-orders-table__cell-order-actions a.woocommerce-button.button.invoice,
html body a.woocommerce-button.button.invoice,
html body .woocommerce-orders-table__cell-order-actions a.woocommerce-button.button:not(.view) {
    background-color: #ffffff !important;
    color: #374151 !important;
    border: 1px solid #d1d5db !important;
}

html body .woocommerce-orders-table__cell-order-actions a.woocommerce-button.button.invoice:hover,
html body a.woocommerce-button.button.invoice:hover,
html body .woocommerce-orders-table__cell-order-actions a.woocommerce-button.button:not(.view):hover {
    background-color: #80142b !important;
    border-color: #80142b !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(128, 20, 43, 0.18) !important;
}


/* =========================================================
 * GLOBAL WOOCOMMERCE BUTTON STANDARDIZATION
 * (Applies Mister Coffee Pill Red #80142b + Black Hover globally)
 * ======================================================= */

/* Global Primary Buttons */
html body .woocommerce button.button,
html body .woocommerce input.button,
html body .woocommerce a.button:not(.view):not(.invoice),
html body button[name="calc_shipping"],
html body button[name="apply_coupon"],
html body button[name="update_cart"],
html body .shipping-calculator-form button,
html body #place_order,
html body button.woocommerce-form-login__submit,
html body button.woocommerce-form-register__submit,
html body .woocommerce-form-login button[name="login"],
html body .woocommerce-form-register button[name="register"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    padding: 0 24px !important;
    background-color: #80142b !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(128, 20, 43, 0.22) !important;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

/* Global Primary Buttons Hover State */
html body .woocommerce button.button:hover,
html body .woocommerce input.button:hover,
html body .woocommerce a.button:not(.view):not(.invoice):hover,
html body button[name="calc_shipping"]:hover,
html body button[name="apply_coupon"]:hover,
html body button[name="update_cart"]:hover,
html body .shipping-calculator-form button:hover,
html body #place_order:hover,
html body button.woocommerce-form-login__submit:hover,
html body button.woocommerce-form-register__submit:hover,
html body .woocommerce-form-login button[name="login"]:hover,
html body .woocommerce-form-register button[name="register"]:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28) !important;
}

/* Global Primary Buttons Active Press Feedback */
html body .woocommerce button.button:active,
html body .woocommerce input.button:active,
html body button[name="calc_shipping"]:active,
html body button[name="apply_coupon"]:active,
html body button[name="update_cart"]:active,
html body .shipping-calculator-form button:active,
html body #place_order:active,
html body button.woocommerce-form-login__submit:active,
html body button.woocommerce-form-register__submit:active {
    transform: scale(0.98) !important;
}

/* Full Width Form Submit Buttons */
html body button.woocommerce-form-login__submit,
html body button.woocommerce-form-register__submit,
html body .woocommerce-form-login button[name="login"],
html body .woocommerce-form-register button[name="register"],
html body #place_order {
    width: 100% !important;
    min-height: 48px !important;
    margin-top: 12px !important;
}


/* =========================================================
 * MISTER COFFEE — BLOG CATEGORIES WIDGET STYLING
 * ======================================================= */
html body .elementor-widget-wp-widget-categories,
html body .widget_categories {
    background: #ffffff !important;
    border: 1px solid #f0ebe5 !important;
    border-radius: 16px !important;
    padding: 24px 20px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
    margin-bottom: 24px !important;
}

html body .elementor-widget-wp-widget-categories .elementor-widget-container > h2,
html body .elementor-widget-wp-widget-categories h2,
html body .elementor-widget-wp-widget-categories .widget-title,
html body .widget_categories .elementor-widget-container > h2,
html body .widget_categories h2,
html body .widget_categories .widget-title,
html body [class*="widget-categories"] h2 {
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    color: #111827 !important;
    margin: 0 0 16px 0 !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #80142b !important;
    letter-spacing: -0.01em !important;
    display: block !important;
}

html body .elementor-widget-wp-widget-categories nav ul,
html body .elementor-widget-wp-widget-categories ul,
html body .widget_categories ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

html body .elementor-widget-wp-widget-categories li.cat-item,
html body .widget_categories li.cat-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    background: #fbf9f7 !important;
    border: 1px solid #f3f0ec !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #6b7280 !important;
    transition: all 0.2s ease !important;
}

html body .elementor-widget-wp-widget-categories li.cat-item:hover,
html body .widget_categories li.cat-item:hover {
    background: #fdf2f4 !important;
    border-color: #fca5a5 !important;
    transform: translateX(4px) !important;
}

html body .elementor-widget-wp-widget-categories li.cat-item a,
html body .widget_categories li.cat-item a {
    color: #374151 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
    flex: 1 1 auto !important;
    margin-right: 8px !important;
}

html body .elementor-widget-wp-widget-categories li.cat-item:hover a,
html body .widget_categories li.cat-item:hover a {
    color: #80142b !important;
}


/* =========================================================
 * RANK MATH BREADCRUMBS STYLING
 * ======================================================= */
html body .rank-math-breadcrumb,
html body .rank-math-breadcrumb p,
html body .rank-math-breadcrumb a,
html body .rank-math-breadcrumb .separator {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

html body .rank-math-breadcrumb a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

html body .rank-math-breadcrumb .last,
html body .rank-math-breadcrumb span.last {
    color: #80142b !important;
    font-weight: 700 !important;
}


/* =========================================================
 * ELEMENTOR MENU CART STYLING (Left × Button, Badge & Progress)
 * ======================================================= */

/* Main Drawer Container Padding Safeguard */
html body .elementor-menu-cart__main .widget_shopping_cart_content {
    box-sizing: border-box !important;
    overflow-x: hidden !important;
}

/* Cart Item Row */
html body .elementor-menu-cart__product,
html body .woocommerce-mini-cart-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    position: relative !important;
    grid-template-columns: none !important;
    grid-template-areas: none !important;
    padding: 12px 0 !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-bottom: 1px solid #f3f4f6 !important;
}

/* Move Remove Button (×) to Left - Overriding Elementor Absolute Position */
html body .elementor-widget-menu-cart .elementor-menu-cart__product-remove,
html body .elementor-menu-cart__main .elementor-menu-cart__product-remove,
html body .elementor-menu-cart__products .elementor-menu-cart__product-remove,
html body .elementor-menu-cart__product .elementor-menu-cart__product-remove,
html body .elementor-menu-cart__product-remove,
html body .woocommerce-mini-cart-item .product-remove,
html body div.elementor-menu-cart__product-remove {
    position: static !important;
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    grid-column: auto !important;
    grid-row: auto !important;
    grid-area: auto !important;
    order: -1 !important;
    margin-right: 10px !important;
    margin-left: 0 !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    background: none !important;
    width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;
}

html body .elementor-menu-cart__product-image,
html body .woocommerce-mini-cart-item .product-thumbnail {
    grid-column: auto !important;
    grid-row: auto !important;
    grid-area: auto !important;
    order: 0 !important;
    position: relative !important;
    flex-shrink: 0 !important;
    margin-right: 12px !important;
}

html body .elementor-menu-cart__product-name,
html body .woocommerce-mini-cart-item .product-name {
    grid-column: auto !important;
    grid-row: auto !important;
    grid-area: auto !important;
    order: 1 !important;
    flex: 1 1 auto !important;
}

html body .elementor-menu-cart__product-price,
html body .woocommerce-mini-cart-item .product-price {
    grid-column: auto !important;
    grid-row: auto !important;
    grid-area: auto !important;
    order: 2 !important;
    margin-left: 8px !important;
}

html body .elementor-widget-menu-cart .elementor-menu-cart__product-remove a,
html body .elementor-menu-cart__main .elementor-menu-cart__product-remove a,
html body .elementor-menu-cart__product-remove a,
html body a.elementor_remove_from_cart_button,
html body a.remove_from_cart_button {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    background-color: #f3f4f6 !important;
    color: #4b5563 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

/* Hide duplicate remove link if present */
html body .elementor-menu-cart__product-remove a:nth-child(2) {
    display: none !important;
}

/* Render explicit '×' symbol */
html body .elementor-menu-cart__product-remove a::before,
html body a.elementor_remove_from_cart_button::before,
html body a.remove_from_cart_button::before {
    content: "×" !important;
    display: inline-block !important;
    font-family: Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: bold !important;
    line-height: 1 !important;
    color: #4b5563 !important;
}

html body .elementor-menu-cart__product-remove a:hover,
html body a.elementor_remove_from_cart_button:hover,
html body a.remove_from_cart_button:hover {
    background-color: #fee2e2 !important;
}

html body .elementor-menu-cart__product-remove a:hover::before,
html body a.elementor_remove_from_cart_button:hover::before,
html body a.remove_from_cart_button:hover::before {
    color: #ef4444 !important;
}

/* Mini Cart Product Image Free Shipping Badge Overlay (20% size at TOP RIGHT) */
.elementor-menu-cart__product-image,
.product-thumbnail,
.mc-mini-cart-thumb-wrap {
    position: relative !important;
    display: inline-block !important;
    overflow: visible !important;
}

.mc-mini-cart-thumb-wrap img,
.elementor-menu-cart__product-image img,
.product-thumbnail img {
    border-radius: 8px !important;
    display: block !important;
}

.mc-mini-cart-badge {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    left: auto !important;
    bottom: auto !important;
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    z-index: 9999 !important;
    pointer-events: none !important;
    display: block !important;
}

.mc-mini-cart-badge img {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    object-fit: contain !important;
    display: block !important;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3)) !important;
}

/* Mini Cart Free Shipping Progress Bar Card */
.mc-mini-cart-fs-card {
    background: #ffffff !important;
    border: 1px solid #f0ebe5 !important;
    border-radius: 14px !important;
    padding: 14px 16px !important;
    margin: 8px 0 16px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
}

/* Title Header: 🚚 Add RM35.00 to Free Shipping */
.mc-mini-cart-fs-title {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin-bottom: 6px !important;
}

.mc-mini-cart-fs-icon {
    font-size: 16px !important;
}

/* Unbordered Dropdown "Shipping to Singapore ▼" */
.mc-mini-cart-shipping-to {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    font-size: 13px !important;
    color: #6b7280 !important;
    margin-bottom: 12px !important;
    width: 100% !important;
}

.mc-shipping-to-label {
    color: #6b7280 !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.mc-shipping-to-select-wrapper {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
}

.mc-mini-cart-region-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    cursor: pointer !important;
    padding: 0 16px 0 0 !important;
    margin: 0 !important;
}

.mc-shipping-to-arrow {
    position: absolute !important;
    right: 0 !important;
    font-size: 8px !important;
    color: #111827 !important;
    pointer-events: none !important;
}

.mc-mini-cart-fs-progress-block {
    width: 100% !important;
    margin-bottom: 10px !important;
}

.mc-mini-cart-fs-msg {
    font-size: 12.5px !important;
    color: #374151 !important;
    line-height: 1.45 !important;
}

.mc-mini-cart-fs-msg a,
.mc-fs-cart-link {
    color: #80142b !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

.mc-mini-cart-fs-msg a:hover,
.mc-fs-cart-link:hover {
    color: #5e0d1f !important;
}

/* =========================================================
   MINI CART POSITION FIXES — REMOVE BUTTON & SHIPPING BADGE
========================================================= */

html body .elementor-menu-cart__main {
    width: min(420px, 100vw) !important;
    max-width: 100vw !important;
}

@media (max-width: 767px) {
    html body .elementor-menu-cart__main {
        width: 100% !important;
        width: 100vw !important;
        max-width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
    }
}

html body .elementor-menu-cart__main .widget_shopping_cart_content {
    padding: 0 16px !important;
}

@media (max-width: 767px) {
    html body .elementor-menu-cart__main .widget_shopping_cart_content {
        padding: 0 14px !important;
    }
}

html body .elementor-menu-cart__products {
    padding-left: 0 !important;
    padding-right: 4px !important;
}

html body .elementor-menu-cart__products .elementor-menu-cart__product,
html body .elementor-menu-cart__main .woocommerce-mini-cart-item {
    display: grid !important;
    grid-template-columns: 18px 65px minmax(0, 1fr) auto !important;
    grid-template-areas: "remove image name price" !important;
    align-items: center !important;
    column-gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid #f3f4f6 !important;
    position: relative !important;
}

html body .elementor-menu-cart__products .elementor-menu-cart__product-remove,
html body .elementor-menu-cart__main .woocommerce-mini-cart-item .product-remove {
    grid-area: remove !important;
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 3 !important;
}

html body .elementor-menu-cart__products .elementor-menu-cart__product-remove::before,
html body .elementor-menu-cart__products .elementor-menu-cart__product-remove::after,
html body .elementor-menu-cart__main .woocommerce-mini-cart-item .product-remove::before,
html body .elementor-menu-cart__main .woocommerce-mini-cart-item .product-remove::after {
    display: none !important;
    content: none !important;
}

html body .elementor-menu-cart__products .elementor-menu-cart__product-remove a,
html body .elementor-menu-cart__main a.elementor_remove_from_cart_button,
html body .elementor-menu-cart__main a.remove_from_cart_button {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    box-shadow: none !important;
    opacity: 0.48 !important;
}

html body .elementor-menu-cart__products .elementor-menu-cart__product-remove a:nth-child(n+2),
html body .elementor-menu-cart__main .woocommerce-mini-cart-item .product-remove a:nth-child(n+2) {
    display: none !important;
}

html body .elementor-menu-cart__products .elementor-menu-cart__product-remove a::before,
html body .elementor-menu-cart__main a.elementor_remove_from_cart_button::before,
html body .elementor-menu-cart__main a.remove_from_cart_button::before {
    content: "×" !important;
    display: block !important;
    color: #9ca3af !important;
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

html body .elementor-menu-cart__products .elementor-menu-cart__product-remove a::after,
html body .elementor-menu-cart__main a.elementor_remove_from_cart_button::after,
html body .elementor-menu-cart__main a.remove_from_cart_button::after {
    display: none !important;
    content: none !important;
}

html body .elementor-menu-cart__products .elementor-menu-cart__product-image,
html body .elementor-menu-cart__main .woocommerce-mini-cart-item .product-thumbnail {
    grid-area: image !important;
    width: 65px !important;
    height: 65px !important;
    max-width: 65px !important;
    max-height: 65px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

html body .elementor-menu-cart__products .elementor-menu-cart__product-name,
html body .elementor-menu-cart__main .woocommerce-mini-cart-item .product-name {
    grid-area: name !important;
    min-width: 0 !important;
    margin: 0 !important;
    line-height: 1.25 !important;
}

html body .elementor-menu-cart__products .elementor-menu-cart__product-price,
html body .elementor-menu-cart__main .woocommerce-mini-cart-item .product-price {
    grid-area: price !important;
    justify-self: end !important;
    margin: 0 !important;
    white-space: nowrap !important;
    text-align: right !important;
    line-height: 1.25 !important;
}

html body .elementor-menu-cart__products .elementor-menu-cart__product-price .quantity,
html body .elementor-menu-cart__main .woocommerce-mini-cart-item .product-price .quantity {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 3px !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    line-height: 1.1 !important;
}

html body .elementor-menu-cart__products .elementor-menu-cart__product-price .product-quantity,
html body .elementor-menu-cart__main .woocommerce-mini-cart-item .product-price .product-quantity {
    margin: 0 !important;
    color: #6b7280 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
}

html body .elementor-menu-cart__product-image .mc-mini-cart-thumb-wrap,
html body .woocommerce-mini-cart-item .mc-mini-cart-thumb-wrap {
    position: relative !important;
    display: block !important;
    width: 65px !important;
    height: 65px !important;
    overflow: visible !important;
    line-height: 0 !important;
}

html body .elementor-menu-cart__product-image>a,
html body .woocommerce-mini-cart-item .product-thumbnail>a {
    position: relative !important;
    display: block !important;
    width: 65px !important;
    height: 65px !important;
    overflow: visible !important;
}

html body .elementor-menu-cart__products .elementor-menu-cart__product-image img:not(.mc-mini-cart-badge-img):not(.mc-mini-cart-badge img),
html body .elementor-menu-cart__main .woocommerce-mini-cart-item .product-thumbnail img:not(.mc-mini-cart-badge-img):not(.mc-mini-cart-badge img),
html body .elementor-menu-cart__products .elementor-menu-cart__product-image a img:not(.mc-mini-cart-badge-img):not(.mc-mini-cart-badge img),
html body .elementor-menu-cart__main .woocommerce-mini-cart-item .product-thumbnail a img:not(.mc-mini-cart-badge-img):not(.mc-mini-cart-badge img),
html body .elementor-menu-cart__product-image img:not(.mc-mini-cart-badge-img):not(.mc-mini-cart-badge img),
html body .woocommerce-mini-cart-item .product-thumbnail img:not(.mc-mini-cart-badge-img):not(.mc-mini-cart-badge img),
html body .elementor-menu-cart__product-image .mc-mini-cart-thumb-wrap>img:not(.mc-mini-cart-badge-img):not(.mc-mini-cart-badge img),
html body .elementor-menu-cart__product-image .mc-mini-cart-thumb-wrap>a>img:not(.mc-mini-cart-badge-img):not(.mc-mini-cart-badge img),
html body .woocommerce-mini-cart-item .mc-mini-cart-thumb-wrap>img:not(.mc-mini-cart-badge-img):not(.mc-mini-cart-badge img),
html body .woocommerce-mini-cart-item .mc-mini-cart-thumb-wrap>a>img:not(.mc-mini-cart-badge-img):not(.mc-mini-cart-badge img) {
    display: block !important;
    width: 65px !important;
    height: 65px !important;
    max-width: 65px !important;
    max-height: 65px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
}

html body .elementor-menu-cart__products .elementor-menu-cart__product-name img,
html body .elementor-menu-cart__main .woocommerce-mini-cart-item .product-name img,
html body .woocommerce-cart-form .product-name img,
html body .shop_table .product-name img,
html body td.product-name img {
    display: none !important;
}

.mc-mini-cart-badge,
.mc-mini-cart-thumb-wrap .mc-mini-cart-badge,
html body .mc-mini-cart-badge,
html body .mc-mini-cart-thumb-wrap .mc-mini-cart-badge,
html body .elementor-menu-cart__products .mc-mini-cart-badge,
html body .elementor-menu-cart__product .mc-mini-cart-badge,
html body .elementor-menu-cart__product-image .mc-mini-cart-badge,
html body .elementor-menu-cart__main .mc-mini-cart-badge,
html body .woocommerce-mini-cart-item .mc-mini-cart-badge,
html body .mini_cart_item .mc-mini-cart-badge,
html body .widget_shopping_cart .mc-mini-cart-badge,
html body .cart_list .mc-mini-cart-badge {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 10 !important;
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    pointer-events: none !important;
    line-height: 1 !important;
}

.mc-mini-cart-badge-img,
img.mc-mini-cart-badge-img,
.mc-mini-cart-badge img,
.mc-mini-cart-thumb-wrap .mc-mini-cart-badge img,
html body .mc-mini-cart-badge img,
html body .mc-mini-cart-thumb-wrap .mc-mini-cart-badge img,
html body .elementor-menu-cart__products .mc-mini-cart-badge img,
html body .elementor-menu-cart__product .mc-mini-cart-badge img,
html body .elementor-menu-cart__product-image .mc-mini-cart-badge img,
html body .elementor-menu-cart__main .mc-mini-cart-badge img,
html body .woocommerce-mini-cart-item .mc-mini-cart-badge img,
html body .mini_cart_item .mc-mini-cart-badge img,
html body .widget_shopping_cart .mc-mini-cart-badge img,
html body .cart_list .mc-mini-cart-badge img {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
}