/*
Theme Name: Elessi Theme Child
Theme URI: https://elessi.nasatheme.com
Description: This is a child theme for Elessi Theme
Author: NasaTheme team
Author URI: https://nasatheme.com
Template: elessi-theme
Version: 1.0
*/

/*************** ADD YOUR CUSTOM CSS IN THIS AREA ***************/

/* ============================================================
   MBZ-LAYOUT-V5 - PRODUCT CARD LAYOUT ONLY
   Equal card height, square crop, 3-line title reserve.
   No PHP, review data, cart, wishlist or checkout changes.
   ============================================================ */

#wrapper .product-warp-item {
    display: flex !important;
    min-width: 0 !important;
}

#wrapper .product-warp-item > .product-item {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
    overflow: hidden !important;
    background: rgba(255, 255, 255, 0.88) !important;
    border: 1px solid rgba(255, 94, 118, 0.18) !important;
    border-radius: 16px !important;
    box-shadow: 0 7px 22px rgba(35, 25, 28, 0.07) !important;
    transition: box-shadow 0.25s ease, transform 0.25s ease !important;
}

@media (hover: hover) and (pointer: fine) {
    #wrapper .product-warp-item > .product-item:hover {
        box-shadow: 0 12px 30px rgba(35, 25, 28, 0.12) !important;
        transform: translateY(-2px);
    }
}

/* Reliable 1:1 media frame, independent of the source image ratio. */
#wrapper .product-warp-item > .product-item > .product-img-wrap {
    box-sizing: border-box !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1 / 1 !important;
    flex: 0 0 auto !important;
    overflow: hidden !important;
    background: #f6f6f6 !important;
    border-radius: 0 !important;
}

/* Padding fallback also neutralizes intrinsic portrait/landscape ratios. */
#wrapper .product-warp-item > .product-item > .product-img-wrap::before {
    content: "";
    display: block !important;
    width: 100% !important;
    padding-top: 100% !important;
}

#wrapper .product-warp-item .product-img-wrap > a.product-img {
    box-sizing: border-box !important;
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
}

#wrapper .product-warp-item .product-img-wrap .main-img,
#wrapper .product-warp-item .product-img-wrap .back-img {
    box-sizing: border-box !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
}

#wrapper .product-warp-item .product-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Desktop pointer hover: reveal the complete image without changing the frame. */
@media (hover: hover) and (pointer: fine) {
    #wrapper .product-warp-item .product-img-wrap:hover img {
        object-fit: contain !important;
        background: #ffffff !important;
    }
}

/* Fixed detail region keeps every row aligned. */
#wrapper .product-warp-item > .product-item > .product-info-wrap {
    box-sizing: border-box !important;
    position: relative !important;
    width: 100% !important;
    height: 190px !important;
    min-height: 190px !important;
    flex: 0 0 190px !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 12px 12px 14px !important;
    overflow: hidden !important;
    background: transparent !important;
    border: 0 !important;
}

/* Reserve exactly three title lines; shorter titles keep the same space. */
#wrapper .product-warp-item .product-info-wrap > .name,
#wrapper .product-warp-item .product-info-wrap > .woocommerce-loop-product__title {
    box-sizing: border-box !important;
    width: 100% !important;
    height: 4.05em !important;
    min-height: 4.05em !important;
    flex: 0 0 4.05em !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    overflow: hidden !important;
    white-space: normal !important;
    text-overflow: ellipsis !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
}

/* Existing real rating markup, when present, remains on one line. */
#wrapper .product-warp-item .product-info-wrap > .star-rating,
#wrapper .product-warp-item .product-info-wrap > .nasa-product-rating,
#wrapper .product-warp-item .product-info-wrap > .woocommerce-product-rating,
#wrapper .product-warp-item .product-info-wrap > .mbz-loop-rating {
    box-sizing: border-box !important;
    width: 100% !important;
    max-height: 20px !important;
    flex: 0 0 auto !important;
    margin: 0 0 4px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    line-height: 20px !important;
}

#wrapper .product-warp-item .product-info-wrap > .price {
    box-sizing: border-box !important;
    width: 100% !important;
    height: 25px !important;
    min-height: 25px !important;
    flex: 0 0 25px !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    font-size: 15.5px !important;
    line-height: 25px !important;
}

/* Keep the theme's button behavior; only place it inside the equal card. */
#wrapper .product-warp-item .product-info-wrap > .add-to-cart-grid,
#wrapper .product-warp-item .product-info-wrap > .add_to_cart_button {
    box-sizing: border-box !important;
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    min-height: 42px !important;
    flex: 0 0 auto !important;
    margin-top: auto !important;
}

@media only screen and (max-width: 767px) {
    #wrapper .product-warp-item > .product-item {
        border-radius: 13px !important;
        box-shadow: 0 5px 16px rgba(35, 25, 28, 0.07) !important;
    }

    #wrapper .product-warp-item > .product-item > .product-info-wrap {
        height: 178px !important;
        min-height: 178px !important;
        flex-basis: 178px !important;
        padding: 10px 9px 11px !important;
    }

    #wrapper .product-warp-item .product-info-wrap > .name,
    #wrapper .product-warp-item .product-info-wrap > .woocommerce-loop-product__title {
        font-size: 13.5px !important;
        line-height: 1.35 !important;
        height: 4.05em !important;
        min-height: 4.05em !important;
        flex-basis: 4.05em !important;
        margin-bottom: 5px !important;
    }

    #wrapper .product-warp-item .product-info-wrap > .star-rating,
    #wrapper .product-warp-item .product-info-wrap > .nasa-product-rating,
    #wrapper .product-warp-item .product-info-wrap > .woocommerce-product-rating,
    #wrapper .product-warp-item .product-info-wrap > .mbz-loop-rating {
        max-height: 18px !important;
        margin-bottom: 3px !important;
        line-height: 18px !important;
    }

    #wrapper .product-warp-item .product-info-wrap > .price {
        height: 22px !important;
        min-height: 22px !important;
        flex-basis: 22px !important;
        font-size: 14.5px !important;
        line-height: 22px !important;
    }

    #wrapper .product-warp-item .product-info-wrap > .add-to-cart-grid,
    #wrapper .product-warp-item .product-info-wrap > .add_to_cart_button {
        min-height: 40px !important;
    }
}

/* ============================================================
   MBZ-PREMIUM-V6 - VISUAL POLISH ONLY
   Price, image, title and always-visible Add to cart styling.
   ============================================================ */

#wrapper .product-warp-item > .product-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.90) 100%) !important;
    border-color: rgba(148, 163, 184, 0.24) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

@media (hover: hover) and (pointer: fine) {
    #wrapper .product-warp-item > .product-item:hover {
        border-color: rgba(255, 90, 118, 0.34) !important;
        box-shadow: 0 16px 38px rgba(15, 23, 42, 0.13) !important;
        transform: translateY(-3px);
    }
}

/* Softer, more premium image canvas. */
#wrapper .product-warp-item > .product-item > .product-img-wrap {
    background: linear-gradient(145deg, #f8fafc 0%, #fff7f8 100%) !important;
}

#wrapper .product-warp-item > .product-item > .product-img-wrap::after {
    content: "";
    position: absolute !important;
    inset: 0 !important;
    z-index: 5 !important;
    pointer-events: none !important;
    box-shadow: inset 0 -1px 0 rgba(148, 163, 184, 0.16) !important;
}

#wrapper .product-warp-item .product-img-wrap img {
    filter: saturate(1.03) contrast(1.01);
    transition: filter 0.35s ease, opacity 0.35s ease !important;
}

@media (hover: hover) and (pointer: fine) {
    #wrapper .product-warp-item .product-img-wrap:hover img {
        filter: saturate(1) contrast(1) !important;
    }
}

/* Clean information panel. */
#wrapper .product-warp-item > .product-item > .product-info-wrap {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.82) 100%) !important;
    border-top: 1px solid rgba(148, 163, 184, 0.14) !important;
}

#wrapper .product-warp-item .product-info-wrap > .name,
#wrapper .product-warp-item .product-info-wrap > .woocommerce-loop-product__title {
    height: 4.2em !important;
    min-height: 4.2em !important;
    flex-basis: 4.2em !important;
    color: #1f2937 !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: -0.015em !important;
    text-align: left !important;
    text-decoration: none !important;
    transition: color 0.22s ease !important;
}

@media (hover: hover) and (pointer: fine) {
    #wrapper .product-warp-item > .product-item:hover .product-info-wrap > .name,
    #wrapper .product-warp-item > .product-item:hover .product-info-wrap > .woocommerce-loop-product__title {
        color: #e94865 !important;
    }
}

/* Requested price color. */
#wrapper .product-warp-item .product-info-wrap > .price,
#wrapper .product-warp-item .product-info-wrap > .price * {
    color: #374151 !important;
}

#wrapper .product-warp-item .product-info-wrap > .price {
    justify-content: flex-start !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    font-variant-numeric: tabular-nums !important;
}

#wrapper .product-warp-item .product-info-wrap > .price del,
#wrapper .product-warp-item .product-info-wrap > .price del * {
    color: #9ca3af !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

#wrapper .product-warp-item .product-info-wrap > .price ins,
#wrapper .product-warp-item .product-info-wrap > .price ins * {
    color: #374151 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

/* Always visible on desktop and mobile; WooCommerce actions remain unchanged. */
#wrapper .product-warp-item .product-info-wrap > .add-to-cart-grid,
#wrapper .product-warp-item .product-info-wrap > .add_to_cart_button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #ff5a76 0%, #ff758b 100%) !important;
    border: 1px solid rgba(255, 90, 118, 0.28) !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 18px rgba(255, 90, 118, 0.22) !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    text-decoration: none !important;
    transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease !important;
}

#wrapper .product-warp-item .product-info-wrap > .add-to-cart-grid:hover,
#wrapper .product-warp-item .product-info-wrap > .add_to_cart_button:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #f34866 0%, #ff6c84 100%) !important;
    box-shadow: 0 10px 22px rgba(255, 90, 118, 0.30) !important;
    transform: translateY(-1px) !important;
}

@media only screen and (max-width: 767px) {
    #wrapper .product-warp-item > .product-item {
        box-shadow: 0 7px 20px rgba(15, 23, 42, 0.08) !important;
    }

    #wrapper .product-warp-item .product-info-wrap > .name,
    #wrapper .product-warp-item .product-info-wrap > .woocommerce-loop-product__title {
        height: 4.2em !important;
        min-height: 4.2em !important;
        flex-basis: 4.2em !important;
    }

    #wrapper .product-warp-item .product-info-wrap > .add-to-cart-grid,
    #wrapper .product-warp-item .product-info-wrap > .add_to_cart_button {
        height: 40px !important;
        min-height: 40px !important;
        border-radius: 9px !important;
        box-shadow: 0 6px 14px rgba(255, 90, 118, 0.20) !important;
    }
}

/* ============================================================
   MBZ-POLISH-V7 - TITLE WEIGHT + POSITIVE PRICE COLOR
   ============================================================ */

/* Comfortable medium title weight, with the original brand hover color. */
#wrapper .product-warp-item .product-info-wrap > .name,
#wrapper .product-warp-item .product-info-wrap > .woocommerce-loop-product__title {
    color: #374151 !important;
    font-weight: 500 !important;
}

#wrapper .product-warp-item .product-info-wrap > .name:hover,
#wrapper .product-warp-item .product-info-wrap > .name:focus,
#wrapper .product-warp-item .product-info-wrap > .woocommerce-loop-product__title:hover,
#wrapper .product-warp-item .product-info-wrap > .woocommerce-loop-product__title:focus,
#wrapper .product-warp-item > .product-item:hover .product-info-wrap > .name,
#wrapper .product-warp-item > .product-item:hover .product-info-wrap > .woocommerce-loop-product__title {
    color: #ff5e76 !important;
}

/* Positive purchase color; old price stays quiet and current price stays bold. */
#wrapper .product-warp-item .product-info-wrap > .price,
#wrapper .product-warp-item .product-info-wrap > .price * {
    color: #16a34a !important;
    font-weight: 800 !important;
}

#wrapper .product-warp-item .product-info-wrap > .price del,
#wrapper .product-warp-item .product-info-wrap > .price del * {
    color: #9ca3af !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

#wrapper .product-warp-item .product-info-wrap > .price ins,
#wrapper .product-warp-item .product-info-wrap > .price ins * {
    color: #16a34a !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

/* ============================================================
   MBZ-SINGLE-V9 - CLEAN PREMIUM PRODUCT EXPERIENCE
   Layout only. Theme button colors and product data stay untouched.
   ============================================================ */

/* ---------- Single product: clean, calm and conversion-focused ---------- */
body.single-product {
    padding-bottom: 92px !important;
}

.single-product .breadcrumb-row {
    background: #fafafa !important;
    border-bottom: 1px solid #f0f1f3 !important;
}

.single-product .breadcrumb-row .breadcrumb {
    color: #6b7280 !important;
    font-size: 13px !important;
}

.single-product .nasa-product-details-page .focus-info > .row {
    box-sizing: border-box !important;
    padding: 18px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.single-product .product-gallery {
    box-sizing: border-box !important;
    padding: 14px !important;
    background: #f8fafc !important;
    border: 1px solid #eceff3 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
}

.single-product .product-gallery .woocommerce-product-gallery,
.single-product .product-gallery .woocommerce-product-gallery__wrapper,
.single-product .product-gallery .woocommerce-product-gallery__image {
    border-radius: 14px !important;
    overflow: hidden !important;
}

.single-product .product-gallery .woocommerce-product-gallery__image img {
    border-radius: 14px !important;
    transition: transform .3s ease !important;
}

@media (hover: hover) and (pointer: fine) {
    .single-product .product-gallery .woocommerce-product-gallery__image:hover img {
        transform: scale(1.018) !important;
    }
}

.single-product .summary .nasa-product-info-wrap {
    box-sizing: border-box !important;
    padding: 24px !important;
    background: #fff !important;
    border: 1px solid #eceff3 !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .065) !important;
}

.single-product .summary .product_title {
    margin: 0 0 14px !important;
    color: #1f2937 !important;
    font-size: clamp(27px, 1.75vw, 33px) !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    letter-spacing: -.02em !important;
}

.single-product .summary .nasa-single-product-price,
.single-product .summary .price {
    margin: 0 0 18px !important;
    color: #16a34a !important;
    font-size: clamp(24px, 1.7vw, 30px) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

.single-product .summary .price ins,
.single-product .summary .price ins * {
    color: #16a34a !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.single-product .summary .price del,
.single-product .summary .price del * {
    color: #9ca3af !important;
    font-size: .76em !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

.single-product .woocommerce-product-details__short-description {
    box-sizing: border-box !important;
    margin: 0 0 18px !important;
    padding: 14px 16px !important;
    color: #4b5563 !important;
    line-height: 1.7 !important;
    background: #f8fafc !important;
    border: 1px solid #edf0f3 !important;
    border-radius: 12px !important;
}

.single-product .summary form.cart {
    margin: 18px 0 !important;
}

/* Equal main purchase buttons. Their theme colors are intentionally untouched. */
.single-product .summary form.cart:not(.variations_form) {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: stretch !important;
    gap: 10px !important;
}

.single-product .summary form.cart:not(.variations_form) > .quantity {
    grid-column: 1 !important;
    grid-row: 1 !important;
}

.single-product .summary form.cart:not(.variations_form) > .single_add_to_cart_button {
    grid-column: 2 !important;
    grid-row: 1 !important;
}

.single-product .summary form.cart:not(.variations_form) > .nasa-buy-now {
    grid-column: 3 !important;
    grid-row: 1 !important;
}

.single-product .summary form.cart .quantity {
    box-sizing: border-box !important;
    width: 88px !important;
    min-width: 88px !important;
    min-height: 48px !important;
    margin: 0 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    background: #fff !important;
}

.single-product .summary form.cart .single_add_to_cart_button,
.single-product .summary form.cart .nasa-buy-now {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    transition: transform .2s ease, box-shadow .2s ease !important;
}

@media (hover: hover) and (pointer: fine) {
    .single-product .summary form.cart .single_add_to_cart_button:hover,
    .single-product .summary form.cart .nasa-buy-now:hover {
        transform: translateY(-1px) !important;
    }
}

.single-product .nasa-est-delivery {
    box-sizing: border-box !important;
    margin-top: 16px !important;
    padding: 13px 15px !important;
    color: #166534 !important;
    background: #f3fbf5 !important;
    border: 1px solid #d9f2df !important;
    border-radius: 12px !important;
}

.single-product .nasa-accordions-content > .row,
.single-product .woocommerce-tabs > .row {
    box-sizing: border-box !important;
    padding: 26px !important;
    background: #fff !important;
    border: 1px solid #eceff3 !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .05) !important;
}

.single-product .nasa-single-product-tab a {
    color: #374151 !important;
    font-weight: 600 !important;
}

.single-product .nasa-single-product-tab.active a,
.single-product .nasa-single-product-tab a:hover {
    color: #ff5e76 !important;
}

/* ---------- Equal related / upsell / cross-sell slider cards ---------- */
#wrapper .products .slick-track {
    display: flex !important;
    align-items: stretch !important;
}

#wrapper .products .slick-track > .product-item {
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 100% !important;
    padding: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid #e8ebef !important;
    border-radius: 15px !important;
    box-shadow: 0 7px 22px rgba(15, 23, 42, .065) !important;
    transition: transform .22s ease, box-shadow .22s ease !important;
}

@media (hover: hover) and (pointer: fine) {
    #wrapper .products .slick-track > .product-item:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 12px 30px rgba(15, 23, 42, .10) !important;
    }
}

#wrapper .products .slick-track > .product-item > .product-img-wrap {
    box-sizing: border-box !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1 / 1 !important;
    flex: 0 0 auto !important;
    overflow: hidden !important;
    background: #f6f7f8 !important;
    border-radius: 12px !important;
}

#wrapper .products .slick-track > .product-item > .product-img-wrap::before {
    content: "" !important;
    display: block !important;
    width: 100% !important;
    padding-top: 100% !important;
}

#wrapper .products .slick-track > .product-item .product-img-wrap > a.product-img {
    box-sizing: border-box !important;
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}

#wrapper .products .slick-track > .product-item .product-img-wrap img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform .28s ease !important;
}

@media (hover: hover) and (pointer: fine) {
    #wrapper .products .slick-track > .product-item:hover .product-img-wrap img {
        object-fit: contain !important;
        transform: scale(.96) !important;
    }
}

#wrapper .products .slick-track > .product-item > .product-info-wrap {
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 198px !important;
    flex: 1 1 auto !important;
    padding: 14px 6px 4px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    background: transparent !important;
}

/* Full related title: no ellipsis and no line clamp. */
#wrapper .products .slick-track > .product-item .product-info-wrap > .name,
#wrapper .products .slick-track > .product-item .product-info-wrap > .woocommerce-loop-product__title {
    box-sizing: border-box !important;
    width: 100% !important;
    height: auto !important;
    min-height: 66px !important;
    max-height: none !important;
    margin: 0 0 7px !important;
    display: block !important;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
    color: #374151 !important;
    font-weight: 500 !important;
    line-height: 22px !important;
    -webkit-box-orient: initial !important;
    -webkit-line-clamp: unset !important;
    transition: color .2s ease !important;
}

#wrapper .products .slick-track > .product-item .product-info-wrap > .name:hover,
#wrapper .products .slick-track > .product-item:hover .product-info-wrap > .name {
    color: #ff5e76 !important;
}

#wrapper .products .slick-track > .product-item .product-info-wrap > .star-rating,
#wrapper .products .slick-track > .product-item .product-info-wrap > .nasa-product-rating,
#wrapper .products .slick-track > .product-item .product-info-wrap > .woocommerce-product-rating {
    flex: 0 0 auto !important;
    margin-bottom: 6px !important;
}

#wrapper .products .slick-track > .product-item .product-info-wrap > .price {
    min-height: 24px !important;
    margin: 0 0 9px !important;
    color: #16a34a !important;
    font-weight: 800 !important;
    line-height: 24px !important;
}

#wrapper .products .slick-track > .product-item .product-info-wrap > .price *,
#wrapper .products .slick-track > .product-item .product-info-wrap > .price ins {
    color: #16a34a !important;
    font-weight: 800 !important;
}

#wrapper .products .slick-track > .product-item .product-info-wrap > .price del,
#wrapper .products .slick-track > .product-item .product-info-wrap > .price del * {
    color: #9ca3af !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

/* Keep the theme's own button colors; only make the button permanently visible. */
#wrapper .products .slick-track > .product-item .product-info-wrap > .add-to-cart-grid,
#wrapper .products .slick-track > .product-item .product-info-wrap > .add_to_cart_button {
    box-sizing: border-box !important;
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    min-height: 42px !important;
    margin: auto 0 0 !important;
    padding: 0 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
}

/* ---------- Sticky purchase bar: visible immediately ---------- */
.single-product .nasa-add-to-cart-fixed {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: 0 !important;
    z-index: 99999 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate3d(0, 0, 0) !important;
}

.single-product .nasa-add-to-cart-fixed .nasa-wrap-content-inner {
    box-sizing: border-box !important;
    padding: 8px 20px !important;
    background: rgba(255, 255, 255, .97) !important;
    border-top: 1px solid #e8ebef !important;
    box-shadow: 0 -9px 28px rgba(15, 23, 42, .10) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

.single-product .nasa-add-to-cart-fixed .nasa-wrap-content {
    width: min(1200px, 100%) !important;
    min-height: 60px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
}

.single-product .nasa-add-to-cart-fixed .nasa-fixed-product-info {
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 11px !important;
}

.single-product .nasa-add-to-cart-fixed .nasa-thumb-clone img {
    width: 50px !important;
    height: 50px !important;
    object-fit: cover !important;
    border-radius: 9px !important;
}

.single-product .nasa-add-to-cart-fixed .nasa-title-clone {
    min-width: 0 !important;
}

.single-product .nasa-add-to-cart-fixed .nasa-title-clone h3 {
    max-width: 430px !important;
    margin: 0 0 2px !important;
    display: -webkit-box !important;
    overflow: hidden !important;
    color: #374151 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
}

.single-product .nasa-add-to-cart-fixed .price,
.single-product .nasa-add-to-cart-fixed .price * {
    color: #16a34a !important;
    font-weight: 800 !important;
}

.single-product .nasa-add-to-cart-fixed .price del,
.single-product .nasa-add-to-cart-fixed .price del * {
    color: #9ca3af !important;
    font-weight: 500 !important;
}

.single-product .nasa-add-to-cart-fixed .nasa-fixed-product-btn,
.single-product .nasa-add-to-cart-fixed .nasa-single-btn-clone {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.single-product .nasa-add-to-cart-fixed .quantity {
    box-sizing: border-box !important;
    width: 72px !important;
    min-width: 72px !important;
    min-height: 44px !important;
    margin: 0 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 9px !important;
    background: #fff !important;
}

/* Same desktop dimensions; original theme colors remain in control. */
.single-product .nasa-add-to-cart-fixed .single_add_to_cart_button,
.single-product .nasa-add-to-cart-fixed .nasa-buy-now {
    box-sizing: border-box !important;
    flex: 0 0 150px !important;
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    border-radius: 9px !important;
    font-weight: 700 !important;
}

/* ---------- Tablet ---------- */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .single-product .nasa-product-details-page .focus-info > .row {
        padding: 12px !important;
    }

    .single-product .product-gallery {
        padding: 10px !important;
    }

    .single-product .summary .nasa-product-info-wrap {
        padding: 19px !important;
    }

    .single-product .summary .product_title {
        font-size: 27px !important;
    }

    .single-product .nasa-add-to-cart-fixed .nasa-title-clone h3 {
        max-width: 220px !important;
    }

    .single-product .nasa-add-to-cart-fixed .single_add_to_cart_button,
    .single-product .nasa-add-to-cart-fixed .nasa-buy-now {
        flex-basis: 125px !important;
        width: 125px !important;
        min-width: 125px !important;
        max-width: 125px !important;
    }
}

/* ---------- Mobile ---------- */
@media only screen and (max-width: 767px) {
    body.single-product {
        padding-bottom: 70px !important;
    }

    .single-product .nasa-product-details-page .focus-info > .row {
        padding: 8px !important;
    }

    .single-product .product-gallery {
        padding: 7px !important;
        border-radius: 14px !important;
    }

    .single-product .summary .nasa-product-info-wrap {
        margin-top: 10px !important;
        padding: 17px !important;
        border-radius: 14px !important;
    }

    .single-product .summary .product_title {
        font-size: 24px !important;
        line-height: 1.28 !important;
    }

    .single-product .summary form.cart:not(.variations_form) {
        grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 7px !important;
    }

    .single-product .summary form.cart .quantity {
        width: 72px !important;
        min-width: 72px !important;
    }

    .single-product .summary form.cart .single_add_to_cart_button,
    .single-product .summary form.cart .nasa-buy-now {
        min-height: 46px !important;
        padding: 0 7px !important;
        font-size: 12px !important;
    }

    .single-product .nasa-accordions-content > .row,
    .single-product .woocommerce-tabs > .row {
        padding: 17px !important;
        border-radius: 14px !important;
    }

    #wrapper .products .slick-track > .product-item {
        padding: 7px !important;
        border-radius: 13px !important;
    }

    #wrapper .products .slick-track > .product-item > .product-info-wrap {
        min-height: 210px !important;
        padding: 11px 4px 3px !important;
    }

    #wrapper .products .slick-track > .product-item .product-info-wrap > .name,
    #wrapper .products .slick-track > .product-item .product-info-wrap > .woocommerce-loop-product__title {
        min-height: 80px !important;
        font-size: 14px !important;
        line-height: 20px !important;
    }

    #wrapper .products .slick-track > .product-item .product-info-wrap > .add-to-cart-grid,
    #wrapper .products .slick-track > .product-item .product-info-wrap > .add_to_cart_button {
        min-height: 40px !important;
        font-size: 13px !important;
    }

    .single-product .nasa-add-to-cart-fixed .nasa-wrap-content-inner {
        padding: 7px !important;
    }

    .single-product .nasa-add-to-cart-fixed .nasa-wrap-content {
        min-height: 52px !important;
        gap: 0 !important;
    }

    .single-product .nasa-add-to-cart-fixed .nasa-fixed-product-info {
        display: none !important;
    }

    .single-product .nasa-add-to-cart-fixed .nasa-fixed-product-btn {
        width: 100% !important;
        display: flex !important;
        align-items: stretch !important;
        gap: 7px !important;
    }

    .single-product .nasa-add-to-cart-fixed .nasa-single-btn-clone {
        min-width: 0 !important;
        flex: 1 1 50% !important;
        display: flex !important;
    }

    .single-product .nasa-add-to-cart-fixed .quantity {
        display: none !important;
    }

    .single-product .nasa-add-to-cart-fixed .single_add_to_cart_button,
    .single-product .nasa-add-to-cart-fixed .nasa-buy-now {
        flex: 1 1 50% !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 44px !important;
        padding: 0 9px !important;
        font-size: 13px !important;
        line-height: 1.15 !important;
    }

    .single-product .nasa-add-to-cart-fixed .nasa-buy-now {
        flex-basis: 50% !important;
    }
}

/* ================================================================
   MBZ-CHECKOUT-V10 — premium one-step checkout + confirmation
   ================================================================ */

body.woocommerce-checkout:not(.woocommerce-order-received) {
    --mbz-ink: #1f2937;
    --mbz-muted: #6b7280;
    --mbz-line: #e6e9ee;
    --mbz-soft: #f7f8fb;
    --mbz-brand: #ff5e76;
    --mbz-brand-dark: #ed4964;
    --mbz-green: #0f9f73;
    background: #f8f9fb !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .page-checkout-modern {
    min-height: 100vh !important;
    background:
        radial-gradient(circle at 12% 4%, rgba(255, 94, 118, 0.08), transparent 25rem),
        #f8f9fb !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-bg {
    display: none !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-wrap {
    box-sizing: border-box !important;
    width: min(860px, calc(100% - 32px)) !important;
    max-width: 860px !important;
    min-height: auto !important;
    margin: 0 auto !important;
    padding: 20px 0 116px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    align-items: stretch !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-left-wrap,
body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-left-wrap {
    order: 1 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap {
    order: 2 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout.woocommerce-checkout,
body.woocommerce-checkout:not(.woocommerce-order-received) .order-review-modern {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 22px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid var(--mbz-line) !important;
    border-radius: 20px !important;
    box-shadow: 0 18px 48px rgba(31, 41, 55, 0.08) !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .order-review-modern {
    position: static !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .nasa-bc-modern,
body.woocommerce-checkout:not(.woocommerce-order-received) #nasa-step_billing,
body.woocommerce-checkout:not(.woocommerce-order-received) #nasa-step_payment,
body.woocommerce-checkout:not(.woocommerce-order-received) #nasa-billing-info,
body.woocommerce-checkout:not(.woocommerce-order-received) .nasa-switch-step,
body.woocommerce-checkout:not(.woocommerce-order-received) .ns_carousel_pro_checkout {
    display: none !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #ns-checkout-contact,
body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-group.woo-billing,
body.woocommerce-checkout:not(.woocommerce-order-received) #customer_details,
body.woocommerce-checkout:not(.woocommerce-order-received) #nasa-payment-wrap,
body.woocommerce-checkout:not(.woocommerce-order-received) #payment,
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .form-row.place-order {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-group {
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-group + .checkout-group,
body.woocommerce-checkout:not(.woocommerce-order-received) #et-delivery-zone-wrapper,
body.woocommerce-checkout:not(.woocommerce-order-received) #nasa-payment-wrap {
    margin-top: 14px !important;
    padding-top: 14px !important;
    border-top: 1px solid var(--mbz-line) !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-group h3,
body.woocommerce-checkout:not(.woocommerce-order-received) #nasa-payment-wrap .nasa-box-heading {
    margin: 0 0 12px !important;
    color: var(--mbz-ink) !important;
    font-size: 17px !important;
    font-weight: 650 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout:not(.woocommerce-order-received) #ns-checkout-contact .form-row-wrap {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #ns-checkout-contact .form-row-wrap {
    grid-template-columns: minmax(0, 1fr) !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #billing_address_1_field {
    grid-column: 1 / -1 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .form-row,
body.woocommerce-checkout:not(.woocommerce-order-received) #et_delivery_zone_field {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 47px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    position: relative !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .form-row label {
    display: block !important;
    position: absolute !important;
    z-index: 2 !important;
    top: 6px !important;
    left: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--mbz-muted) !important;
    font-size: 10px !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    letter-spacing: 0.02em !important;
    pointer-events: none !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .form-row .required {
    color: var(--mbz-brand) !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout input.input-text,
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout select,
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout textarea,
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .select2-container .select2-selection {
    box-sizing: border-box !important;
    width: 100% !important;
    height: 47px !important;
    min-height: 47px !important;
    margin: 0 !important;
    padding: 17px 14px 5px !important;
    color: var(--mbz-ink) !important;
    background: #fff !important;
    border: 1px solid #dfe3e8 !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 2px rgba(31, 41, 55, 0.02) !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    transition: border-color .2s ease, box-shadow .2s ease !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout select {
    appearance: auto !important;
    padding-right: 36px !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout input.input-text:focus,
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout select:focus,
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout textarea:focus {
    outline: none !important;
    border-color: rgba(255, 94, 118, .75) !important;
    box-shadow: 0 0 0 4px rgba(255, 94, 118, .10) !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #nasa-payment-wrap .nasa-box-desc {
    margin: -7px 0 11px !important;
    color: var(--mbz-muted) !important;
    font-size: 12px !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #payment ul.payment_methods {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #payment .wc_payment_method {
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 50px !important;
    padding: 12px 14px !important;
    display: flex !important;
    align-items: flex-start !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    background: #f8fafc !important;
    border: 1px solid var(--mbz-line) !important;
    border-radius: 13px !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #payment .payment_box {
    flex: 0 0 100% !important;
    margin: 0 !important;
    padding: 7px 0 0 24px !important;
    color: var(--mbz-muted) !important;
    background: transparent !important;
    font-size: 12px !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .order-review-modern::before {
    content: "Your order";
    display: block;
    margin: 0 0 15px;
    color: var(--mbz-ink);
    font-size: 17px;
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #order_review,
body.woocommerce-checkout:not(.woocommerce-order-received) #order_review table {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #order_review table,
body.woocommerce-checkout:not(.woocommerce-order-received) #order_review tbody,
body.woocommerce-checkout:not(.woocommerce-order-received) #order_review tfoot,
body.woocommerce-checkout:not(.woocommerce-order-received) #order_review tr,
body.woocommerce-checkout:not(.woocommerce-order-received) #order_review td,
body.woocommerce-checkout:not(.woocommerce-order-received) #order_review th {
    box-sizing: border-box !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #order_review tbody tr.cart_item {
    display: block !important;
    margin: 0 0 14px !important;
    padding: 0 0 14px !important;
    border-bottom: 1px solid var(--mbz-line) !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #order_review tbody td.product-name {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #order_review .co-wrap-item {
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 12px !important;
    width: 100% !important;
    align-items: center !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #order_review .co-wrap-img {
    width: 72px !important;
    height: 72px !important;
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    background: var(--mbz-soft) !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #order_review .co-wrap-img img {
    width: 72px !important;
    height: 72px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #order_review .quantity-review-item {
    min-width: 20px !important;
    min-height: 20px !important;
    display: grid !important;
    place-items: center !important;
    right: 4px !important;
    top: 4px !important;
    color: #fff !important;
    background: var(--mbz-brand) !important;
    border-radius: 50% !important;
    font-size: 10px !important;
    font-weight: 700 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #order_review .co-wrap-info {
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px 12px !important;
    align-items: center !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #order_review .co-product-name {
    grid-column: 1 / -1 !important;
    color: var(--mbz-ink) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #order_review .quantity {
    grid-column: 1 !important;
    width: max-content !important;
    margin: 0 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #order_review .product-total {
    grid-column: 2 !important;
    color: var(--mbz-ink) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #order_review tfoot th,
body.woocommerce-checkout:not(.woocommerce-order-received) #order_review tfoot td {
    padding: 9px 0 !important;
    color: var(--mbz-muted) !important;
    border: 0 !important;
    font-size: 13px !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #order_review tfoot td {
    color: var(--mbz-ink) !important;
    font-weight: 650 !important;
    text-align: right !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #order_review .order-total th,
body.woocommerce-checkout:not(.woocommerce-order-received) #order_review .order-total td {
    padding-top: 13px !important;
    color: var(--mbz-ink) !important;
    border-top: 1px solid var(--mbz-line) !important;
    font-size: 16px !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #place_order {
    box-sizing: border-box !important;
    transform: none !important;
    position: fixed !important;
    z-index: 9999 !important;
    left: 50% !important;
    bottom: 18px !important;
    transform: translateX(-50%) !important;
    width: min(520px, calc(100% - 32px)) !important;
    min-width: 0 !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 0 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    background: linear-gradient(135deg, var(--mbz-brand), var(--mbz-brand-dark)) !important;
    border: 0 !important;
    border-radius: 15px !important;
    box-shadow: 0 16px 34px rgba(237, 73, 100, .30) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #place_order::before {
    content: "Secure checkout";
    margin-right: 12px;
    padding-right: 12px;
    border-right: 1px solid rgba(255,255,255,.35);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .04em;
    text-transform: uppercase;
    opacity: .88;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #place_order:hover,
body.woocommerce-checkout:not(.woocommerce-order-received) #place_order:focus {
    background: linear-gradient(135deg, #ff6a80, #e8425d) !important;
    box-shadow: 0 18px 38px rgba(237, 73, 100, .38) !important;
}

/* Order confirmation */
body.woocommerce-order-received {
    background: #f8f9fb !important;
}

.mbz-thankyou-v10 {
    box-sizing: border-box;
    width: min(860px, calc(100% - 28px));
    margin: 34px auto 28px;
    padding: 36px;
    overflow: hidden;
    position: relative;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(15, 159, 115, .14), transparent 18rem),
        #fff;
    border: 1px solid #e4e8ec;
    border-radius: 26px;
    box-shadow: 0 24px 64px rgba(31, 41, 55, .10);
}

.mbz-thankyou-v10__celebration {
    width: 88px;
    height: 88px;
    margin: 0 auto 18px;
    position: relative;
}

.mbz-thankyou-v10__check {
    width: 72px;
    height: 72px;
    position: absolute;
    inset: 8px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #18b886, #0d956d);
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(15, 159, 115, .28);
    font-size: 34px;
    font-weight: 800;
    animation: mbz-confirm-pop .7s cubic-bezier(.2,.9,.25,1.25) both;
}

.mbz-thankyou-v10__spark {
    width: 9px;
    height: 9px;
    position: absolute;
    display: block;
    background: #ffb443;
    border-radius: 50%;
    animation: mbz-spark 1.6s ease-in-out infinite alternate;
}

.mbz-thankyou-v10__spark--one { top: 2px; left: 3px; }
.mbz-thankyou-v10__spark--two { top: 12px; right: 0; animation-delay: .25s; background: #ff5e76; }
.mbz-thankyou-v10__spark--three { right: 4px; bottom: 6px; animation-delay: .5s; background: #55c8d7; }

.mbz-thankyou-v10__eyebrow {
    margin: 0 0 8px !important;
    color: #0f9f73 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: .13em !important;
}

.mbz-thankyou-v10 h2 {
    margin: 0 !important;
    color: #1f2937 !important;
    font-size: clamp(25px, 4vw, 36px) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: -.035em !important;
}

.mbz-thankyou-v10__lead {
    max-width: 610px;
    margin: 12px auto 24px !important;
    color: #6b7280 !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
}

.mbz-thankyou-v10__journey {
    max-width: 650px;
    margin: 0 auto 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: relative;
}

.mbz-thankyou-v10__journey::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 16.66%;
    right: 16.66%;
    height: 2px;
    background: linear-gradient(90deg, #0f9f73 0 34%, #e5e7eb 34%);
}

.mbz-thankyou-v10__journey > div {
    z-index: 1;
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    color: #6b7280;
}

.mbz-thankyou-v10__journey span {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
    display: grid;
    place-items: center;
    color: #6b7280;
    background: #fff;
    border: 2px solid #dfe3e8;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}

.mbz-thankyou-v10__journey .is-active span {
    color: #fff;
    background: #0f9f73;
    border-color: #0f9f73;
}

.mbz-thankyou-v10__journey strong {
    color: #374151;
    font-size: 13px;
}

.mbz-thankyou-v10__journey small {
    margin-top: 2px;
    font-size: 11px;
}

.mbz-thankyou-v10__delivery {
    max-width: 650px;
    margin: 0 auto;
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    text-align: left;
    background: #f7faf9;
    border: 1px solid #dceee8;
    border-radius: 16px;
}

.mbz-thankyou-v10__delivery > div {
    padding: 4px 10px;
}

.mbz-thankyou-v10__delivery > div + div {
    border-left: 1px solid #dceee8;
}

.mbz-thankyou-v10__delivery span,
.mbz-thankyou-v10__delivery strong {
    display: block;
}

.mbz-thankyou-v10__delivery span {
    margin-bottom: 4px;
    color: #6b7280;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.mbz-thankyou-v10__delivery strong {
    color: #1f2937;
    font-size: 15px;
}

.mbz-thankyou-v10__return {
    max-width: 650px;
    margin: 14px auto 0 !important;
    padding: 12px 14px;
    color: #7c5f2b !important;
    background: #fffaf0;
    border: 1px solid #f3e4c4;
    border-radius: 13px;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

.mbz-thankyou-v10__return span {
    margin-right: 7px;
    font-size: 17px;
}

@keyframes mbz-confirm-pop {
    from { opacity: 0; transform: scale(.55) rotate(-8deg); }
    to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes mbz-spark {
    from { transform: translateY(1px) scale(.75); opacity: .45; }
    to { transform: translateY(-3px) scale(1.15); opacity: 1; }
}

@media (max-width: 640px) {
    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-wrap {
        width: calc(100% - 18px) !important;
        padding-top: 10px !important;
        gap: 12px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout.woocommerce-checkout,
    body.woocommerce-checkout:not(.woocommerce-order-received) .order-review-modern {
        padding: 16px !important;
        border-radius: 17px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields__field-wrapper,
    body.woocommerce-checkout:not(.woocommerce-order-received) #ns-checkout-contact .form-row-wrap {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 9px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) #et-delivery-zone-wrapper {
        margin-top: 12px !important;
        padding-top: 12px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) #place_order {
        bottom: 10px !important;
        width: calc(100% - 18px) !important;
        min-height: 52px !important;
        border-radius: 14px !important;
        font-size: 15px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) #place_order::before {
        display: none;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) #order_review .co-wrap-item {
        grid-template-columns: 64px minmax(0, 1fr) !important;
        gap: 10px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) #order_review .co-wrap-img,
    body.woocommerce-checkout:not(.woocommerce-order-received) #order_review .co-wrap-img img {
        width: 64px !important;
        height: 64px !important;
    }

    .mbz-thankyou-v10 {
        width: calc(100% - 18px);
        margin-top: 18px;
        padding: 25px 15px;
        border-radius: 20px;
    }

    .mbz-thankyou-v10__journey small {
        display: none;
    }

    .mbz-thankyou-v10__journey strong {
        font-size: 11px;
    }

    .mbz-thankyou-v10__delivery {
        grid-template-columns: 1fr;
    }

    .mbz-thankyou-v10__delivery > div + div {
        padding-top: 12px;
        border-top: 1px solid #dceee8;
        border-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mbz-thankyou-v10__check,
    .mbz-thankyou-v10__spark {
        animation: none !important;
    }
}

/* MBZ-CHECKOUT-V10 exact field alignment */
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields {
    box-sizing: border-box !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ============================================================
   MBZ-CHECKOUT-V11
   Compact checkout visibility + responsive single-product controls.
   Existing delivery fee logic and all CTA colors remain unchanged.
   ============================================================ */

body.woocommerce-checkout:not(.woocommerce-order-received) #ns-checkout-contact,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-privacy-policy-text,
body.woocommerce-checkout:not(.woocommerce-order-received) #nasa-payment-wrap > .payment-method-step,
body.woocommerce-checkout:not(.woocommerce-order-received) #payment > .payment_methods,
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .payment_box,
body.woocommerce-checkout:not(.woocommerce-order-received) #billing_email_field {
    display: none !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) #nasa-payment-wrap,
body.woocommerce-checkout:not(.woocommerce-order-received) #payment,
body.woocommerce-checkout:not(.woocommerce-order-received) #payment .form-row.place-order {
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.mbz-checkout-nav-v11 {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: min(100%, 1180px);
    margin: 0 auto 16px;
    padding: 0 4px;
}

.mbz-checkout-nav-v11__link {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid rgba(31, 41, 55, 0.10);
    border-radius: 999px;
    color: #374151;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 6px 18px rgba(31, 41, 55, 0.06);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.mbz-checkout-nav-v11__link:hover,
.mbz-checkout-nav-v11__link:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(255, 91, 111, 0.35);
    color: #ff5b6f;
    box-shadow: 0 8px 22px rgba(31, 41, 55, 0.09);
}

body.woocommerce-checkout:not(.woocommerce-order-received) #place_order {
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 58px !important;
    margin: 14px 0 0 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
}

.mbz-thankyou-v11-cod {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: min(100%, 720px);
    margin: 0 auto 18px;
    padding: 12px 16px;
    border: 1px solid rgba(31, 41, 55, 0.08);
    border-radius: 14px;
    color: #374151;
    background: #fff;
    box-shadow: 0 10px 28px rgba(31, 41, 55, 0.07);
}

.mbz-thankyou-v11-cod > span {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: #fff;
    background: #10b981;
    font-weight: 800;
}

@media (min-width: 641px) {
    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap {
        display: block !important;
        align-self: flex-start !important;
        max-height: calc(100vh - 132px);
        overflow: auto;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) #place_order {
        position: static !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        max-width: none !important;
    }
}

@media (min-width: 768px) {
    body.single-product .nasa-add-to-cart-fixed {
        display: none !important;
    }

    body.single-product {
        padding-bottom: 0 !important;
    }
}

@media (max-width: 767px) {
    body.single-product .product-info form.cart:not(.variations_form):not(.grouped_form) {
        display: none !important;
    }

    body.single-product .woocommerce-product-details__short-description {
        box-sizing: border-box;
        margin: 14px 0 16px !important;
        padding: 14px 15px !important;
        border: 1px solid rgba(31, 41, 55, 0.08);
        border-radius: 14px;
        color: #374151;
        background: linear-gradient(145deg, #ffffff 0%, #fff9fa 100%);
        box-shadow: 0 8px 24px rgba(31, 41, 55, 0.05);
        line-height: 1.65;
    }

    body.single-product .woocommerce-product-details__short-description .ns-read-more-short-description-wrap,
    body.single-product .woocommerce-product-details__short-description .ns-short-description-wrap {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    body.single-product .woocommerce-product-details__short-description .ns-btn-read-more-sdesc {
        display: none !important;
    }
}

@media (max-width: 640px) {
    body.woocommerce-checkout:not(.woocommerce-order-received) .mbz-checkout-nav-v11 {
        margin: 0 0 10px;
        padding: 0;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .mbz-checkout-nav-v11__link {
        min-height: 34px;
        padding: 6px 10px;
        font-size: 11px;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-left-wrap > .your-order-mobile {
        box-sizing: border-box;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 48px;
        margin: 0 0 10px !important;
        padding: 11px 14px !important;
        border: 1px solid rgba(31, 41, 55, 0.08);
        border-radius: 14px;
        color: #374151;
        background: #fff;
        box-shadow: 0 8px 24px rgba(31, 41, 55, 0.07);
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-left-wrap,
    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout,
    body.woocommerce-checkout:not(.woocommerce-order-received) .nasa-billing-details-wrap,
    body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields__field-wrapper > .form-row {
        margin-bottom: 8px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields__field-wrapper input.input-text,
    body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields__field-wrapper select,
    body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields__field-wrapper .select2-selection {
        min-height: 44px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap {
        display: block !important;
        position: static !important;
        width: 100% !important;
        max-width: none !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap #order_review_heading,
    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap .woocommerce-checkout-review-order-table,
    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap .close-your-order-mobile {
        display: none !important;
    }

    body.woocommerce-checkout.mbz-order-open-v11:not(.woocommerce-order-received)::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 10008;
        background: rgba(17, 24, 39, 0.48);
        -webkit-backdrop-filter: blur(3px);
        backdrop-filter: blur(3px);
    }

    body.woocommerce-checkout.mbz-order-open-v11:not(.woocommerce-order-received) .checkout-modern-right-wrap {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        z-index: 10009 !important;
        max-height: 74vh !important;
        overflow: auto !important;
        padding: 18px 14px 88px !important;
        border-radius: 22px 22px 0 0 !important;
        background: #fff !important;
        box-shadow: 0 -20px 60px rgba(17, 24, 39, 0.20) !important;
    }

    body.woocommerce-checkout.mbz-order-open-v11:not(.woocommerce-order-received) .checkout-modern-right-wrap #order_review_heading {
        display: block !important;
        margin: 2px 44px 14px 2px !important;
    }

    body.woocommerce-checkout.mbz-order-open-v11:not(.woocommerce-order-received) .checkout-modern-right-wrap .woocommerce-checkout-review-order-table {
        display: table !important;
        width: 100% !important;
        margin: 0 !important;
    }

    body.woocommerce-checkout.mbz-order-open-v11:not(.woocommerce-order-received) .checkout-modern-right-wrap .close-your-order-mobile {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: sticky;
        top: 0;
        z-index: 2;
        float: right;
        width: 36px;
        height: 36px;
        margin: -4px 0 4px;
        border-radius: 50%;
        background: #f3f4f6;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout-review-order-table img {
        width: 52px !important;
        height: 52px !important;
        object-fit: cover !important;
        border-radius: 10px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) #place_order {
        position: fixed !important;
        left: 12px !important;
        right: 12px !important;
        bottom: calc(10px + env(safe-area-inset-bottom)) !important;
        z-index: 10010 !important;
        width: calc(100% - 24px) !important;
        min-height: 54px !important;
        margin: 0 !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) {
        padding-bottom: 78px !important;
    }
}

/* MBZ-CHECKOUT-V11-R2 — reliable CTA, coupon and small-screen refinements */
body.woocommerce-checkout:not(.woocommerce-order-received) #place_order {
    transform: none !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields > h3 {
    margin: 0 0 14px !important;
    color: #1f2937;
    font-size: clamp(18px, 2vw, 22px) !important;
    font-weight: 650 !important;
    letter-spacing: -0.02em;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-form-coupon-toggle.nasa-toggle-coupon-checkout {
    display: block !important;
    width: 100% !important;
    margin: 0 0 12px !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-form-coupon-toggle .woocommerce-info {
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 54px;
    margin: 0 !important;
    padding: 11px 14px !important;
    border: 1px solid rgba(255, 91, 111, 0.18) !important;
    border-radius: 16px !important;
    color: #374151 !important;
    background: linear-gradient(135deg, #fff7f9 0%, #ffffff 72%) !important;
    box-shadow: 0 8px 24px rgba(31, 41, 55, 0.055);
    font-size: 13px !important;
    font-weight: 600;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-form-coupon-toggle .showcoupon {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    color: #ed4964 !important;
    font-weight: 700;
    text-decoration: none !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-form-coupon-toggle .showcoupon svg {
    width: 22px;
    height: 22px;
    transition: transform .2s ease;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-form-coupon-toggle .showcoupon[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon.woocommerce-form-coupon {
    box-sizing: border-box;
    width: 100% !important;
    margin: -2px 0 12px !important;
    padding: 12px !important;
    border: 1px solid rgba(31, 41, 55, 0.08) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 10px 28px rgba(31, 41, 55, 0.07);
}

body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon > .row > .columns > p {
    display: none !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon .form-row.coupon {
    display: flex !important;
    align-items: stretch;
    gap: 8px;
    width: 100% !important;
    margin: 0 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon #coupon_code {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
    min-height: 46px !important;
    margin: 0 !important;
    border: 1px solid rgba(31, 41, 55, 0.12) !important;
    border-radius: 12px !important;
    background: #f9fafb !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon button[name="apply_coupon"] {
    flex: 0 0 auto;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .coupon-clone-td {
    display: none !important;
}

@media (max-width: 640px) {
    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        z-index: 10009 !important;
        max-height: 72vh !important;
        overflow: auto !important;
        padding: 16px 12px 84px !important;
        border-radius: 22px 22px 0 0 !important;
        background: #fff !important;
        box-shadow: 0 -20px 60px rgba(17, 24, 39, 0.20) !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 #order_review_heading {
        display: block !important;
        margin: 2px 44px 12px 2px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 .woocommerce-checkout-review-order-table {
        display: table !important;
        width: 100% !important;
        margin: 0 !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 .close-your-order-mobile {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: sticky;
        top: 0;
        z-index: 2;
        float: right;
        width: 36px;
        height: 36px;
        margin: -3px 0 3px;
        border-radius: 50%;
        background: #f3f4f6;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-form-coupon-toggle .woocommerce-info {
        min-height: 46px;
        padding: 8px 11px !important;
        border-radius: 13px !important;
        font-size: 12px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon.woocommerce-form-coupon {
        padding: 9px !important;
        border-radius: 13px !important;
    }
}

@media (max-width: 430px) {
    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-wrap {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-left-wrap {
        padding: 10px !important;
        border-radius: 16px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .mbz-checkout-nav-v11 {
        margin-bottom: 7px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .mbz-checkout-nav-v11__link {
        min-height: 31px;
        padding: 5px 9px;
        font-size: 10.5px;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-left-wrap > .your-order-mobile {
        min-height: 43px;
        margin-bottom: 7px !important;
        padding: 8px 11px !important;
        border-radius: 12px;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-form-coupon-toggle.nasa-toggle-coupon-checkout {
        margin-bottom: 7px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields > h3 {
        margin-bottom: 8px !important;
        font-size: 17px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields__field-wrapper > .form-row {
        margin-bottom: 6px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields__field-wrapper input.input-text,
    body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields__field-wrapper select,
    body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields__field-wrapper .select2-selection {
        min-height: 41px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) #place_order {
        min-height: 51px !important;
        bottom: calc(7px + env(safe-area-inset-bottom)) !important;
    }
}



/* ============================================================
   MBZ-CHECKOUT-PRODUCT-V12
   Reliable mobile CTA + true checkout order modal.
   ============================================================ */

/* Desktop checkout CTA: keep the actual button label only. */
body.woocommerce-checkout:not(.woocommerce-order-received) #place_order::before {
    content: none !important;
    display: none !important;
}

/* Coupon validation: readable, compact feedback directly below the field. */
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon .mbz-coupon-feedback-v12 {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    margin: 8px 0 0 !important;
    padding: 0 2px !important;
    color: #c7354f !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
}

/* Instant, balanced, conversion-focused single-product mobile CTA. */
@media (max-width: 767px) {
    body.single-product .nasa-add-to-cart-fixed,
    body.single-product .nasa-add-to-cart-fixed.mbz-sticky-ready-v12 {
        box-sizing: border-box !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        position: fixed !important;
        left: 10px !important;
        right: 10px !important;
        bottom: calc(8px + env(safe-area-inset-bottom)) !important;
        width: auto !important;
        min-height: 68px !important;
        margin: 0 !important;
        padding: 8px !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
        z-index: 1000010 !important;
        overflow: visible !important;
        background: rgba(255, 255, 255, 0.97) !important;
        border: 1px solid rgba(31, 41, 55, 0.08) !important;
        border-radius: 20px !important;
        box-shadow: 0 14px 40px rgba(31, 41, 55, 0.22), 0 2px 8px rgba(255, 94, 118, 0.12) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        backdrop-filter: blur(16px) !important;
    }

    body.single-product .nasa-add-to-cart-fixed .cart,
    body.single-product .nasa-add-to-cart-fixed form.cart {
        box-sizing: border-box !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        align-items: stretch !important;
        gap: 8px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.single-product .nasa-add-to-cart-fixed .single_add_to_cart_button,
    body.single-product .nasa-add-to-cart-fixed .nasa-buy-now,
    body.single-product .nasa-add-to-cart-fixed .nasa-buy-now-button,
    body.single-product .nasa-add-to-cart-fixed [name="nasa_buy_now"] {
        box-sizing: border-box !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 52px !important;
        height: 52px !important;
        margin: 0 !important;
        padding: 0 12px !important;
        border-radius: 14px !important;
        font-size: 15px !important;
        line-height: 1 !important;
        font-weight: 750 !important;
        letter-spacing: 0.01em !important;
        text-align: center !important;
        white-space: nowrap !important;
        transform: none !important;
        animation: none !important;
        transition: filter 0.18s ease, box-shadow 0.18s ease !important;
    }

    body.single-product .nasa-add-to-cart-fixed .single_add_to_cart_button {
        color: #374151 !important;
        background: #ffffff !important;
        border: 1.5px solid #ff5e76 !important;
        box-shadow: inset 0 0 0 1px rgba(255, 94, 118, 0.04) !important;
    }

    body.single-product .nasa-add-to-cart-fixed .nasa-buy-now,
    body.single-product .nasa-add-to-cart-fixed .nasa-buy-now-button,
    body.single-product .nasa-add-to-cart-fixed [name="nasa_buy_now"] {
        color: #ffffff !important;
        background: linear-gradient(135deg, #ff5e76 0%, #e74362 100%) !important;
        border: 1.5px solid #e74362 !important;
        box-shadow: 0 8px 18px rgba(231, 67, 98, 0.28) !important;
    }

    body.single-product {
        padding-bottom: calc(88px + env(safe-area-inset-bottom)) !important;
    }
}

/* Checkout mobile: order details open as a real modal; Place Order stays available. */
@media (max-width: 640px) {
    body.woocommerce-checkout:not(.woocommerce-order-received).mbz-order-open-v11 {
        overflow: hidden !important;
        overscroll-behavior: none !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received).mbz-order-open-v11::before {
        content: "" !important;
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        z-index: 1000000 !important;
        background: rgba(17, 24, 39, 0.52) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        backdrop-filter: blur(4px) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap {
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 {
        box-sizing: border-box !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        position: fixed !important;
        inset: 68px 12px calc(84px + env(safe-area-inset-bottom)) 12px !important;
        width: auto !important;
        height: auto !important;
        max-width: none !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 17px 15px 18px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        -webkit-overflow-scrolling: touch !important;
        transform: none !important;
        z-index: 1000004 !important;
        color: #374151 !important;
        background: #ffffff !important;
        border: 1px solid rgba(255, 94, 118, 0.14) !important;
        border-radius: 22px !important;
        box-shadow: 0 24px 70px rgba(17, 24, 39, 0.30) !important;
        touch-action: pan-y !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 .woocommerce-checkout-review-order,
    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 .woocommerce-checkout-review-order-table {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 table.woocommerce-checkout-review-order-table {
        display: table !important;
        width: 100% !important;
        margin: 4px 0 0 !important;
        border-collapse: separate !important;
        border-spacing: 0 8px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 .close-your-order-mobile {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        position: sticky !important;
        top: 0 !important;
        float: right !important;
        width: 38px !important;
        height: 38px !important;
        margin: 0 0 8px 8px !important;
        align-items: center !important;
        justify-content: center !important;
        color: #374151 !important;
        background: #f8fafc !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 50% !important;
        z-index: 4 !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) #place_order {
        box-sizing: border-box !important;
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        position: fixed !important;
        left: 12px !important;
        right: 12px !important;
        bottom: calc(8px + env(safe-area-inset-bottom)) !important;
        width: auto !important;
        min-width: 0 !important;
        min-height: 54px !important;
        height: 54px !important;
        margin: 0 !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 1000010 !important;
        border-radius: 16px !important;
        box-shadow: 0 12px 30px rgba(255, 94, 118, 0.28) !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) #place_order::before {
        content: none !important;
        display: none !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon .mbz-coupon-feedback-v12 {
        font-size: 13.5px !important;
        line-height: 1.4 !important;
        margin-top: 7px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout_coupon .form-row.coupon {
        flex-wrap: wrap !important;
    }
}


/* MBZ-CHECKOUT-V12-R2 — compact modal and viewport-anchored mobile CTA */
@media (max-width: 640px) {
    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap {
        position: fixed !important;
        inset: 68px 12px calc(84px + env(safe-area-inset-bottom)) 12px !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 {
        top: 68px !important;
        right: 12px !important;
        bottom: auto !important;
        left: 12px !important;
        height: auto !important;
        max-height: calc(100dvh - 164px) !important;
        padding: 14px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 .order-review::before {
        content: none !important;
        display: none !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 .order-review {
        width: 100% !important;
        margin: 0 !important;
        padding: 14px !important;
        border-radius: 16px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 #order_review_heading {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        min-height: 42px !important;
        margin: 0 0 8px !important;
        padding: 0 2px 10px !important;
        color: #1f2937 !important;
        border-bottom: 1px solid #eef0f3 !important;
        font-size: 19px !important;
        line-height: 1.2 !important;
        font-weight: 750 !important;
        text-transform: none !important;
        letter-spacing: -0.01em !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 #order_review_heading .close-your-order-mobile {
        position: static !important;
        float: none !important;
        flex: 0 0 38px !important;
        margin: 0 0 0 auto !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 #order_review {
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 table.woocommerce-checkout-review-order-table {
        border-spacing: 0 6px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 .co-wrap-item {
        display: grid !important;
        grid-template-columns: 66px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 11px !important;
        width: 100% !important;
        padding: 8px 0 !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 .co-wrap-img {
        width: 66px !important;
        height: 66px !important;
        margin: 0 !important;
        overflow: hidden !important;
        border-radius: 12px !important;
        background: #f8fafc !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 .co-wrap-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: inherit !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 .co-wrap-info {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 7px 10px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 .co-product-name {
        display: -webkit-box !important;
        grid-column: 1 / -1 !important;
        min-width: 0 !important;
        overflow: hidden !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 3 !important;
        color: #374151 !important;
        font-size: 13.5px !important;
        line-height: 1.35 !important;
        font-weight: 650 !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 .co-wrap-info > .quantity {
        grid-column: 1 !important;
        justify-self: start !important;
        margin: 0 !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 .co-wrap-info > .product-total {
        grid-column: 2 !important;
        justify-self: end !important;
        color: #ff5e76 !important;
        font-size: 14px !important;
        font-weight: 750 !important;
        white-space: nowrap !important;
    }
}


/* MBZ-CHECKOUT-V12-R3 — neutralize the theme's closed-sheet translation */
@media (max-width: 640px) {
    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap {
        inset: 0 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 {
        top: 68px !important;
        right: 12px !important;
        bottom: auto !important;
        left: 12px !important;
    }
}


/* MBZ-CHECKOUT-V12-R4 — keep quantity and price in separate grid areas */
@media (max-width: 640px) {
    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 .co-wrap-info {
        grid-template-columns: minmax(88px, 1fr) minmax(72px, auto) !important;
        grid-template-areas:
            "title title"
            "quantity price" !important;
        column-gap: 12px !important;
        overflow: visible !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 .co-product-name {
        grid-area: title !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 .co-wrap-info > .quantity {
        grid-area: quantity !important;
        grid-column: auto !important;
        justify-self: start !important;
        width: 78px !important;
        min-width: 78px !important;
        max-width: 78px !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 .co-wrap-info > .product-total {
        grid-area: price !important;
        grid-column: auto !important;
        justify-self: end !important;
        align-self: center !important;
        position: static !important;
        min-width: 72px !important;
        margin: 0 !important;
        padding: 0 0 0 8px !important;
        background: #ffffff !important;
        text-align: right !important;
        overflow: visible !important;
        z-index: 2 !important;
    }
}

@media (max-width: 420px) {
    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 .co-wrap-info {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas:
            "title"
            "quantity"
            "price" !important;
        row-gap: 6px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 .co-wrap-info > .product-total {
        justify-self: start !important;
        min-width: 0 !important;
        padding-left: 0 !important;
        text-align: left !important;
    }
}


/* MBZ-CHECKOUT-V12-R5 — restore full-width colspan rows inside order modal */
@media (max-width: 640px) {
    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 table.woocommerce-checkout-review-order-table > tbody > tr.cart_item {
        display: table-row !important;
        width: 100% !important;
        max-width: none !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 table.woocommerce-checkout-review-order-table > tbody > tr.cart_item > td.product-name[colspan="2"] {
        display: table-cell !important;
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 table.woocommerce-checkout-review-order-table > tbody > tr.cart_item .co-wrap-item,
    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 table.woocommerce-checkout-review-order-table > tbody > tr.cart_item .co-wrap-info {
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box !important;
    }
}


/* MBZ-CHECKOUT-V12-R6 — quantity and price never share the same row */
@media (max-width: 640px) {
    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 .co-wrap-info {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas:
            "title"
            "quantity"
            "price" !important;
        row-gap: 5px !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap.mbz-order-sheet-open-v11 .co-wrap-info > .product-total {
        justify-self: start !important;
        min-width: 0 !important;
        padding-left: 0 !important;
        text-align: left !important;
    }
}


/* ============================================================
   MBZ-PRODUCT-CHECKOUT-V13
   Edge-to-edge premium product CTA and visible checkout CTA.
   ============================================================ */

@media (max-width: 640px) {
    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap {
        opacity: 1 !important;
    }

    body.woocommerce-checkout:not(.woocommerce-order-received) .checkout-modern-right-wrap:not(.mbz-order-sheet-open-v11) #place_order {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

@media (max-width: 767px) {
    body.single-product .nasa-add-to-cart-fixed,
    body.single-product .nasa-add-to-cart-fixed.mbz-sticky-ready-v12 {
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        min-height: 74px !important;
        padding: 9px 11px calc(9px + env(safe-area-inset-bottom)) !important;
        background: rgba(255, 255, 255, 0.985) !important;
        border: 0 !important;
        border-top: 1px solid rgba(31, 41, 55, 0.09) !important;
        border-radius: 0 !important;
        box-shadow: 0 -12px 34px rgba(31, 41, 55, 0.14) !important;
        -webkit-backdrop-filter: blur(18px) saturate(150%) !important;
        backdrop-filter: blur(18px) saturate(150%) !important;
    }

    body.single-product .nasa-add-to-cart-fixed .nasa-wrap-content-inner,
    body.single-product .nasa-add-to-cart-fixed .nasa-wrap-content,
    body.single-product .nasa-add-to-cart-fixed .nasa-fixed-product-btn,
    body.single-product .nasa-add-to-cart-fixed .nasa-single-btn-clone {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.single-product .nasa-add-to-cart-fixed .nasa-fixed-product-info,
    body.single-product .nasa-add-to-cart-fixed .nasa-single-btn-clone > .quantity,
    body.single-product .nasa-add-to-cart-fixed .nasa-single-btn-clone > input[type="hidden"] {
        display: none !important;
    }

    body.single-product .nasa-add-to-cart-fixed .nasa-single-btn-clone {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        align-items: stretch !important;
        gap: 9px !important;
    }

    body.single-product .nasa-add-to-cart-fixed button.single_add_to_cart_button,
    body.single-product .nasa-add-to-cart-fixed button.nasa-buy-now {
        box-sizing: border-box !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 54px !important;
        height: 54px !important;
        margin: 0 !important;
        padding: 0 12px !important;
        border-radius: 15px !important;
        font-size: 15px !important;
        line-height: 1 !important;
        font-weight: 750 !important;
        letter-spacing: 0.005em !important;
        white-space: nowrap !important;
        box-shadow: none !important;
        transform: none !important;
    }

    body.single-product .nasa-add-to-cart-fixed button.single_add_to_cart_button {
        color: #b92e49 !important;
        background: linear-gradient(145deg, #fff8fa 0%, #ffedf1 100%) !important;
        border: 1px solid #ffc2ce !important;
    }

    body.single-product .nasa-add-to-cart-fixed button.nasa-buy-now {
        color: #ffffff !important;
        background: linear-gradient(135deg, #ff647c 0%, #e63f60 100%) !important;
        border: 1px solid #e63f60 !important;
        box-shadow: 0 8px 20px rgba(230, 63, 96, 0.24) !important;
    }

    body.single-product .nasa-add-to-cart-fixed button.single_add_to_cart_button.loading::before,
    body.single-product .nasa-add-to-cart-fixed button.single_add_to_cart_button.loading::after {
        content: none !important;
        display: none !important;
        animation: none !important;
    }

    body.single-product .nasa-add-to-cart-fixed button.mbz-cta-loading-v13::after {
        content: "" !important;
        display: inline-block !important;
        flex: 0 0 15px !important;
        width: 15px !important;
        height: 15px !important;
        margin: 0 0 0 8px !important;
        border: 2px solid currentColor !important;
        border-right-color: transparent !important;
        border-radius: 50% !important;
        animation: mbz-cta-spin-v13 0.72s linear infinite !important;
    }

    body.single-product .nasa-add-to-cart-fixed button.mbz-cta-loading-v13 {
        filter: saturate(0.94) brightness(0.98) !important;
        cursor: progress !important;
    }

    body.single-product {
        padding-bottom: calc(78px + env(safe-area-inset-bottom)) !important;
    }
}

@keyframes mbz-cta-spin-v13 {
    to { transform: rotate(360deg); }
}


/* MBZ-PRODUCT-CTA-V14 — active Add to Cart spinner overrides theme loading pseudo. */
@media (max-width: 767px) {
    body.single-product .nasa-add-to-cart-fixed button.single_add_to_cart_button.mbz-cta-loading-v13::after,
    body.single-product .nasa-add-to-cart-fixed button.nasa-buy-now.mbz-cta-loading-v13::after {
        content: "" !important;
        display: inline-block !important;
        animation: mbz-cta-spin-v13 0.72s linear infinite !important;
    }
}
