/**
 * Pick Point — Single Product Page
 *
 * Moved out of an inline <style> block in single-product.php into a
 * properly enqueued, conditionally-loaded stylesheet (see functions.php,
 * pluspoint_product_page_assets()) so it no longer ships on every page
 * of the site — only on actual product pages.
 *
 * Same color tokens / class names as before (kept intentionally so no
 * existing markup or JS hooks break). Additions below the "PREMIUM
 * ADDITIONS" marker: gallery empty-box fix, sticky mobile CTA bar,
 * accordion (Product Info / Delivery Info), lazy-load support.
 */


    .woocommerce-breadcrumb, .storefront-breadcrumb, .site-breadcrumbs, .ast-breadcrumbs-wrapper, .woocommerce-products-header, .page-title, .woocommerce-product-gallery, .product-images, .minimog-product-images, .woocommerce-product-rating, .star-rating, .onsale { display: none !important; }
    :root { --mm-pink: #FA5053; --mm-pink-light: #FFF1F1; --mm-dark: #111111; --mm-text: #4b5563; --mm-border: #e5e7eb; --mm-green: #059669; --tp-pink: #FA5053; --tp-dark: #111111; --tp-text: #555555; --tp-green: #00A650; --tp-font-bn: 'Anek Bangla', sans-serif; --tp-font-en: 'Poppins', sans-serif; }
    html, body { overflow-x: hidden !important; background-color: #fcfcfc; }
    .mm-product-page { width: 100%; max-width: 1280px; margin: 0 auto; padding: 30px 15px; font-family: inherit; box-sizing: border-box !important; }
    .mm-product-page * { box-sizing: border-box !important; }
    .mm-product-page div.product { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 30px; }
    .summary .price, .woocommerce-variation-price, .mm-price-box, .mm-price-sale { text-decoration: none !important; border-bottom: none !important; outline: none !important; }
    .mm-price-box { display: flex !important; align-items: center !important; flex-wrap: wrap !important; gap: 12px !important; margin-top: 5px !important; margin-bottom: 10px !important; width: 100% !important; }
    .mm-price-sale { display: flex !important; align-items: center !important; gap: 8px !important; line-height: 1 !important; }
    .summary .price del, .summary .price del *, .woocommerce-variation-price .price del, .woocommerce-variation-price .price del *, .mm-price-sale del, .mm-price-sale del * { text-decoration: line-through !important; text-decoration-color: #9ca3af !important; color: #9ca3af !important; font-size: 18px !important; font-weight: 500 !important; background: transparent !important; border: none !important; box-shadow: none !important; }
    .summary .price ins, .summary .price ins *, .summary .price > span.amount, .summary .price > bdi, .woocommerce-variation-price .price ins, .woocommerce-variation-price .price ins *, .woocommerce-variation-price .price > span.amount, .woocommerce-variation-price .price > bdi, .mm-price-sale ins, .mm-price-sale ins *, .mm-price-sale > span.amount, .mm-price-sale > bdi { text-decoration: none !important; color: var(--mm-pink) !important; font-size: 26px !important; font-weight: 800 !important; background: transparent !important; border: none !important; box-shadow: none !important; }
    .woocommerce-variation, .woocommerce-variation-price, .woocommerce-variation-availability { display: none !important; margin: 0 !important; padding: 0 !important; height: 0 !important; opacity: 0 !important; visibility: hidden !important; }
    .single_variation { display: none !important; margin: 0 !important; padding: 0 !important; height: 0 !important; line-height: 0 !important; border: none !important; }
    table.variations { width: 100% !important; border: none !important; margin-bottom: 20px !important; background: transparent !important; }
    table.variations tbody tr { display: flex !important; align-items: center !important; margin-bottom: 5px !important; border: none !important; }
    table.variations th { width: 60px !important; min-width: 60px !important; padding: 0 !important; font-family: 'Poppins', sans-serif !important; font-size: 15px !important; font-weight: 600 !important; color: var(--mm-dark) !important; text-align: left !important; border: none !important; }
    table.variations td { padding: 0 !important; display: flex !important; align-items: center !important; flex-wrap: wrap !important; gap: 10px !important; border: none !important; width: calc(100% - 60px) !important; }
    .reset_variations { margin-left: 15px !important; font-size: 13px !important; color: var(--mm-pink) !important; font-weight: 500 !important; text-decoration: none !important; transition: all 0.2s ease !important; }
    .reset_variations:hover { text-decoration: underline !important; }
    .mm-swatch-wrapper { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; margin-bottom: 0 !important; padding-bottom: 0 !important; }
    .mm-swatch-btn { padding: 6px 16px !important; border: 1px solid #d1d5db !important; background: #ffffff !important; border-radius: 4px !important; cursor: pointer !important; font-family: 'Poppins', sans-serif !important; font-size: 14px !important; font-weight: 500 !important; color: #4b5563 !important; transition: all 0.2s ease-in-out !important; outline: none !important; }
    .mm-swatch-btn:hover { border-color: var(--mm-pink) !important; color: var(--mm-pink) !important; }
    .mm-swatch-btn.active { border-color: var(--mm-pink) !important; color: var(--mm-pink) !important; font-weight: 600 !important; background: #fffafa !important; box-shadow: 0 0 0 1px var(--mm-pink) !important; }
    .woocommerce-message { display: block !important; background: #ffffff !important; border-radius: 10px !important; border: 1px solid #e5e7eb !important; border-left: 5px solid var(--mm-green) !important; box-shadow: 0 8px 25px rgba(0,0,0,0.06) !important; padding: 16px 20px 16px 55px !important; position: relative !important; margin: 0 0 30px 0 !important; clear: both !important; width: 100% !important; }
    .woocommerce-message i, .woocommerce-message svg:not(.wc-forward svg), .woocommerce-message .icon, .woocommerce-message::before { display: none !important; }
    .woocommerce-message::after { content: '' !important; position: absolute !important; left: 18px !important; top: 50% !important; transform: translateY(-50%) !important; width: 22px !important; height: 22px !important; display: block !important; background-color: var(--mm-green) !important; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") !important; mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") !important; -webkit-mask-size: contain !important; mask-size: contain !important; -webkit-mask-repeat: no-repeat !important; mask-repeat: no-repeat !important; }
    .woocommerce-message .button.wc-forward { float: right !important; background: var(--mm-pink) !important; color: #ffffff !important; border: none !important; border-radius: 6px !important; padding: 8px 20px !important; font-weight: 600 !important; font-size: 14px !important; margin: -2px 0 0 15px !important; box-shadow: 0 4px 12px rgba(245, 61, 123, 0.25) !important; transition: all 0.3s ease !important; white-space: nowrap !important; display: inline-block !important; text-decoration: none !important; }
    .woocommerce-message .button.wc-forward:hover { background: #111111 !important; transform: translateY(-1px) !important; }
    .mm-gallery-side { width: 48% !important; float: none !important; position: relative !important; display: block !important; }
    .mm-main-swiper { border-radius: 8px !important; overflow: hidden !important; margin-bottom: 8px !important; border: 1px solid var(--mm-border) !important; background: #ffffff; position: relative; }
    .mm-swiper-next, .mm-swiper-prev { width: 42px !important; height: 42px !important; background: #ffffff !important; border-radius: 50% !important; box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important; color: #111111 !important; opacity: 0 !important; transition: all 0.3s ease !important; position: absolute !important; top: 50% !important; transform: translateY(-50%) !important; z-index: 99 !important; }
    .mm-swiper-prev { left: 15px !important; }
    .mm-swiper-next { right: 15px !important; }
    .mm-main-swiper:hover .mm-swiper-prev, .mm-main-swiper:hover .mm-swiper-next { opacity: 1 !important; }
    .mm-thumb-swiper .swiper-slide { width: 105px !important; height: 105px !important; opacity: 0.6; cursor: pointer; border-radius: 6px; border: 2px solid transparent; padding: 2px; box-sizing: border-box; background: #ffffff; flex-shrink: 0; }
    .mm-thumb-swiper .swiper-slide.swiper-slide-thumb-active { opacity: 1 !important; border-color: #111111 !important; }
    .mm-product-page div.product .summary { width: 48% !important; float: none !important; background: transparent !important; padding: 0 !important; }
    .mm-product-page .product_title { font-family: inherit !important; font-size: 26px !important; font-weight: 600 !important; color: var(--mm-dark); margin: 0 0 12px 0; line-height: 1.35; }
    .mm-sold-by { background-color: #1A2844 !important; font-family: 'Poppins', sans-serif !important; font-size: 11px !important; padding: 4px 8px !important; border-radius: 4px !important; display: inline-flex !important; align-items: center !important; gap: 4px !important; line-height: 1 !important; letter-spacing: 0.5px !important; text-transform: uppercase !important; margin-left: 10px !important; flex-shrink: 0 !important; }
    .mm-sold-by span { color: #ffffff !important; font-weight: 600 !important; }
    .mm-sold-by strong { color: var(--mm-pink) !important; font-weight: 800 !important; }
    .mm-features { list-style: none; padding: 0; margin: 0 0 25px 0; }
    .mm-features li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--mm-text); padding: 8px 0; border-bottom: 1px dashed var(--mm-border); }
    .mm-features li:last-child { border-bottom: none; }
    .mm-features li svg { width: 18px !important; height: 18px !important; color: var(--mm-green); flex-shrink: 0 !important; }
    .woocommerce div.product form.cart .single_variation_wrap, .variations_form .single_variation_wrap { display: block !important; opacity: 1 !important; visibility: visible !important; margin: 0 !important; padding: 0 !important; }
    .woocommerce div.product form.cart:not(.variations_form), .woocommerce div.product form.cart .woocommerce-variation-add-to-cart { display: flex !important; flex-wrap: wrap !important; align-items: flex-start !important; gap: 12px !important; margin-top: 15px !important; margin-bottom: 0 !important; width: 100% !important; padding: 0 !important; }
    .woocommerce div.product form.cart .quantity { display: flex !important; align-items: center !important; justify-content: space-between !important; background: #ffffff !important; border-radius: 6px !important; height: 48px !important; border: 1px solid #e5e7eb !important; margin: 0 !important; flex: 0 0 120px !important; overflow: hidden !important; padding: 0 !important; }
    .sp-qty-btn { background: #f9fafb !important; border: none !important; width: 38px !important; height: 100% !important; font-size: 20px !important; font-weight: 500 !important; cursor: pointer !important; color: var(--mm-dark) !important; display: flex !important; align-items: center !important; justify-content: center !important; padding: 0 !important; }
    .sp-qty-btn:hover { background: #f3f4f6 !important; }
    .mm-minus { border-right: 1px solid #e5e7eb !important; }
    .mm-plus { border-left: 1px solid #e5e7eb !important; }
    .woocommerce div.product form.cart .quantity input.qty { width: 44px !important; height: 100% !important; border: none !important; background: #ffffff !important; text-align: center !important; font-size: 16px !important; font-weight: 600 !important; color: var(--mm-dark) !important; padding: 0 !important; margin: 0 !important; box-shadow: none !important; }
    .woocommerce div.product form.cart button.single_add_to_cart_button { flex: 1 !important; height: 48px !important; background-color: #ffffff !important; color: var(--mm-pink) !important; border: 1px solid var(--mm-pink) !important; border-radius: 6px !important; font-family: inherit !important; font-size: 15px !important; font-weight: 600 !important; display: flex !important; justify-content: center !important; align-items: center !important; gap: 8px !important; cursor: pointer !important; transition: all 0.2s ease !important; margin: 0 !important; padding: 0 15px !important; box-shadow: none !important; }
    .woocommerce div.product form.cart button.single_add_to_cart_button:hover { background-color: var(--mm-pink-light) !important; }
    /* Switched approach entirely after repeated rendering issues with
       the layered-background gradient-border technique (it kept either
       hiding the real pink face or bleeding the rotating gradient across
       the whole button instead of staying confined to a thin border —
       clearly not rendering reliably in the live environment, and a
       rainbow-colored rotating border isn't a typical "premium"
       e-commerce pattern anyway).
       This is a simpler, safer, and more conventional premium-CTA
       pattern: a solid vivid brand-gradient button (guaranteed to
       render correctly — no layering, no clipping tricks) with a soft
       animated light "shine" sweeping across it, plus a gentle
       breathing glow. Both effects are separate elements painted
       normally on top of the real background, using only `transform`
       and `opacity` — nothing that can compete with or hide the
       button's own fill. */
    .mm-checkout-btn {
        flex: 0 0 100% !important;
        width: 100% !important;
        height: 52px !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 10px !important;
        background: linear-gradient(135deg, var(--mm-pink) 0%, #ff3b7a 100%) !important;
        font-family: inherit !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        letter-spacing: 0.2px;
        cursor: pointer !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        margin: 5px 0 0 0 !important;
        padding: 0 !important;
        box-shadow: 0 4px 16px rgba(250, 80, 83, 0.35) !important;
        position: relative !important;
        overflow: hidden !important;
        transition: transform 0.2s ease, box-shadow 0.2s ease !important;
        animation: mmGlowBreathe 2.6s ease-in-out infinite;
    }
    .mm-checkout-btn::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 45%;
        height: 100%;
        background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%);
        transform: translateX(-220%) skewX(-18deg);
        animation: mmShine 3.2s ease-in-out infinite;
        pointer-events: none;
    }
    .mm-checkout-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 26px rgba(250, 80, 83, 0.45) !important;
    }
    @keyframes mmShine {
        0%   { transform: translateX(-220%) skewX(-18deg); }
        55%  { transform: translateX(260%) skewX(-18deg); }
        100% { transform: translateX(260%) skewX(-18deg); }
    }
    @keyframes mmGlowBreathe {
        0%, 100% { box-shadow: 0 4px 16px rgba(250, 80, 83, 0.35); }
        50%      { box-shadow: 0 6px 22px rgba(250, 80, 83, 0.55); }
    }
    .mm-trust-box { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px !important; padding-top: 15px !important; border-top: 1px dashed var(--mm-border); width: 100%; }
    .mm-trust-item { background: #ffffff; border-radius: 6px; padding: 12px 5px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; border: 1px solid var(--mm-border); }
    .mm-trust-item svg { width: 20px !important; height: 20px !important; color: var(--mm-pink); }
    .mm-trust-item strong { font-size: 12px; font-weight: 600; color: var(--mm-dark); }
    .mm-trust-item span { font-size: 10px; color: #9ca3af; }
    .woocommerce-tabs { width: 100% !important; margin-top: 20px !important; background: #ffffff !important; padding: 40px !important; border-radius: 16px !important; box-shadow: 0 8px 30px rgba(0,0,0,0.04) !important; border: 1px solid var(--mm-border) !important; clear: both !important; }
    .woocommerce-tabs ul.tabs { list-style: none !important; padding: 0 !important; margin: 0 0 30px 0 !important; display: flex !important; gap: 25px !important; border-bottom: 2px solid #f3f4f6 !important; background: transparent !important; }
    .woocommerce-tabs ul.tabs li { margin: 0 !important; border: none !important; padding: 0 !important; background: transparent !important; }
    .woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { display: none !important; }
    .woocommerce-tabs ul.tabs li a { background: transparent !important; font-family: 'Poppins', inherit !important; font-size: 18px !important; font-weight: 700 !important; color: #9ca3af !important; text-decoration: none !important; padding: 0 0 12px 0 !important; display: block !important; position: relative !important; text-transform: uppercase !important; border: none !important; box-shadow: none !important; }
    .woocommerce-tabs ul.tabs li.active a, .woocommerce-tabs ul.tabs li a:hover { color: var(--mm-pink) !important; background: transparent !important; }
    .woocommerce-tabs ul.tabs li.active a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 3px; background: var(--mm-pink); border-radius: 3px 3px 0 0; display: block !important; }
    .woocommerce-Tabs-panel { font-family: inherit !important; font-size: 16px !important; line-height: 1.8 !important; color: #4b5563 !important; }
    .woocommerce-Tabs-panel h2 { display: none !important; }
    .custom-related-section { margin-top: 40px !important; margin-bottom: 50px !important; width: 100% !important; clear: both !important; }
    .custom-related-section .tp-title { font-family: var(--tp-font-bn) !important; font-size: 26px !important; font-weight: 800 !important; color: var(--tp-dark) !important; margin: 0 0 20px 0 !important; border-left: 5px solid var(--tp-pink) !important; padding-left: 12px !important; }
    .custom-related-section .tp-title em { font-style: normal !important; color: var(--tp-pink) !important; }
    .custom-related-section .tp-grid { display: grid !important; grid-template-columns: repeat(5, 1fr) !important; gap: 20px !important; }
    .custom-related-section .tp-card { background: #ffffff !important; border: 1px solid rgba(252,90,141,0.15) !important; border-radius: 14px !important; padding: 10px !important; display: flex !important; flex-direction: column !important; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important; box-shadow: 0 8px 20px rgba(252,90,141,0.12) !important; position: relative !important; }
    .custom-related-section .tp-card:hover { transform: translateY(-6px) !important; box-shadow: 0 15px 35px rgba(252,90,141,0.3) !important; border-color: rgba(252,90,141,0.3) !important; }
    .custom-related-section .tp-img-wrap { display: block !important; width: 100% !important; aspect-ratio: 1 / 1 !important; border-radius: 6px !important; overflow: hidden !important; position: relative !important; background: #fdfdfd !important; }
    .custom-related-section .tp-img-wrap img { width: 100% !important; height: 100% !important; object-fit: cover !important; transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) !important; }
    .custom-related-section .tp-card:hover .tp-img-wrap img { transform: scale(1.08) !important; }
    .custom-related-section .tp-info { padding: 12px 4px 4px 4px !important; display: flex !important; flex-direction: column !important; flex-grow: 1 !important; background: #ffffff !important; }
    .custom-related-section .tp-product-title { font-family: var(--tp-font-bn) !important; font-size: 16px !important; font-weight: 600 !important; color: var(--tp-dark) !important; margin: 0 0 8px 0 !important; line-height: 1.4 !important; height: 2.8em !important; text-decoration: none !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; transition: color 0.3s ease !important; border: none !important; }
    .custom-related-section .tp-card:hover .tp-product-title { color: var(--tp-pink) !important; }
    .custom-related-section .tp-stock-status { display: inline-flex !important; align-items: center !important; gap: 4px !important; background: rgba(0, 166, 80, 0.08) !important; color: var(--tp-green) !important; font-family: var(--tp-font-en) !important; font-size: 11px !important; font-weight: 600 !important; padding: 3px 8px !important; border-radius: 4px !important; margin-bottom: 12px !important; align-self: flex-start !important; text-transform: uppercase !important; }
    .custom-related-section .tp-stock-status svg { width: 12px !important; height: 12px !important; }
    .custom-related-section .tp-price-wrap { margin-bottom: 14px !important; margin-top: auto !important; }
    .custom-related-section .tp-price-wrap .price { font-family: var(--tp-font-en) !important; color: var(--tp-pink) !important; font-size: 20px !important; font-weight: 800 !important; margin: 0 !important; display: flex !important; align-items: baseline !important; flex-wrap: wrap !important; gap: 8px !important; }
    .custom-related-section .tp-price-wrap .price del { text-decoration: line-through !important; color: #888888 !important; font-size: 14px !important; font-weight: 500 !important; background: transparent !important; }
    .custom-related-section .tp-price-wrap ins { text-decoration: none !important; color: var(--tp-pink) !important; font-weight: 800 !important; background: transparent !important; }
    .custom-related-section .tp-btn { display: flex !important; justify-content: center !important; align-items: center !important; gap: 8px !important; width: 100% !important; background: var(--tp-pink) !important; color: #ffffff !important; font-family: var(--tp-font-bn) !important; font-size: 16px !important; font-weight: 700 !important; padding: 10px 0 !important; border-radius: 8px !important; text-decoration: none !important; transition: all 0.3s ease !important; border: none !important; }
    .custom-related-section .tp-btn svg { width: 16px !important; height: 16px !important; stroke-width: 2.5 !important; }
    .custom-related-section .tp-card:hover .tp-btn { background: var(--tp-dark) !important; box-shadow: 0 5px 15px rgba(17,17,17,0.2) !important; }
    .custom-related-section .tp-card .stock, .custom-related-section .tp-card .wpc-stock-status, .custom-related-section .tp-card .product-stock-status, .custom-related-section .tp-card .in-stock { display: none !important; }
    @media (max-width: 1199px) { .custom-related-section .tp-grid { grid-template-columns: repeat(4, 1fr) !important; } }
    @media (max-width: 991px) { .mm-gallery-side, .mm-product-page div.product .summary { width: 100% !important; } .custom-related-section .tp-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 15px !important; } }
    @media (max-width: 768px) {
        .mm-product-page { padding: 15px 12px; }
        .mm-product-page div.product { gap: 15px; }
        .mm-product-page .product_title { font-size: 18px !important; margin-bottom: 8px !important; line-height: 1.3 !important; }
        .mm-price-box { display: flex !important; flex-wrap: nowrap !important; align-items: center !important; justify-content: flex-start !important; gap: 6px !important; margin-top: 15px !important; margin-bottom: 12px !important; width: 100% !important; overflow: hidden !important; }
        .mm-price-sale, .summary .price { display: flex !important; flex-wrap: nowrap !important; align-items: baseline !important; gap: 6px !important; }
        .summary .price ins, .summary .price ins *, .mm-price-sale ins, .mm-price-sale ins *, .mm-price-sale, .mm-price-sale * { font-size: 20px !important; }
        .summary .price del, .summary .price del *, .mm-price-sale del, .mm-price-sale del * { font-size: 14px !important; }
        .mm-sold-by { margin: 0 0 0 5px !important; white-space: nowrap !important; padding: 4px 8px !important; font-size: 11px !important; border-radius: 4px !important; flex-shrink: 0 !important; }
        table.variations { margin-bottom: 0px !important; padding-bottom: 0px !important; border: none !important; }
        table.variations { overflow: visible !important; }
        table.variations tbody, table.variations tbody tr { margin: 0 !important; padding: 0 !important; border: none !important; overflow: visible !important; }
        table.variations td { margin: 0 !important; padding: 0 !important; border: none !important; width: 100% !important; max-width: 100% !important; overflow: visible !important; display: block !important; }
        table.variations tbody tr { flex-direction: column !important; align-items: flex-start !important; margin-bottom: 0px !important; border: none !important; }
        table.variations th { width: 100% !important; padding: 0 !important; font-size: 14px !important; padding-bottom: 6px !important; margin: 0 !important; border: none !important; }
        /* Variation scroll fix: escape table cell, use viewport-width trick */
        table.variations { overflow: visible !important; width: 100% !important; }
        table.variations td { overflow: visible !important; }
        /* Swatch container: full viewport width, left-aligned, independent scroll */
        .mm-swatch-wrapper {
            display: flex !important;
            flex-wrap: nowrap !important;
            gap: 8px !important;
            padding: 4px 15px 12px 0 !important;
            margin: 0 !important;
            border: none !important;
            /* Independent scroll container — must NOT be inside overflow:hidden */
            overflow-x: auto !important;
            overflow-y: visible !important;
            -webkit-overflow-scrolling: touch !important;
            /* Force browser to treat this as scroll container */
            position: relative !important;
            width: calc(100vw - 30px) !important;
            max-width: calc(100vw - 30px) !important;
            box-sizing: border-box !important;
            /* Thin pink scrollbar */
            scrollbar-width: thin !important;
            scrollbar-color: #FC5A8D #f0f0f0 !important;
        }
        .mm-swatch-wrapper::-webkit-scrollbar { height: 3px !important; }
        .mm-swatch-wrapper::-webkit-scrollbar-track { background: #f0f0f0 !important; border-radius: 99px !important; }
        .mm-swatch-wrapper::-webkit-scrollbar-thumb { background: #FC5A8D !important; border-radius: 99px !important; }
        .mm-swatch-btn { padding: 7px 15px !important; font-size: 13px !important; border-radius: 5px !important; white-space: nowrap !important; flex-shrink: 0 !important; }
        .mm-swatch-btn { font-size: 13px !important; padding: 6px 12px !important; min-width: unset !important; white-space: nowrap !important; flex-shrink: 0 !important; }
        .mm-features { margin-top: -12px !important; margin-bottom: 15px !important; padding-top: 0 !important; border: none !important; position: relative; z-index: 10; }
        .mm-features li { padding: 5px 0 !important; font-size: 12px !important; gap: 6px !important; }
        .mm-features li :first-child { margin-top: 0px !important; }
        .mm-features li svg { width: 16px !important; height: 16px !important; }
        .woocommerce div.product form.cart { padding: 0 !important; margin: 0 !important; }
        .woocommerce div.product form.cart .single_variation_wrap, .variations_form .single_variation_wrap { margin-top: 0 !important; padding-top: 0 !important; border: none !important; }
        .woocommerce-variation-add-to-cart, .woocommerce div.product form.cart:not(.variations_form) { margin-top: 0px !important; gap: 8px !important; }
        .woocommerce div.product form.cart .quantity { flex: 0 0 100px !important; height: 42px !important; }
        .woocommerce div.product form.cart button.single_add_to_cart_button { height: 42px !important; font-size: 14px !important; padding: 0 10px !important; }
        .sp-qty-btn { font-size: 18px !important; width: 32px !important; }
        .woocommerce div.product form.cart .quantity input.qty { font-size: 14px !important; }
        .mm-checkout-btn { height: 46px !important; font-size: 14px !important; margin-top: 5px !important; }
        .mm-trust-box { grid-template-columns: repeat(2, 1fr) !important; margin-top: 15px !important; padding-top: 15px !important; gap: 8px !important; }
        .mm-trust-item { padding: 8px 4px !important; gap: 4px !important; }
        .mm-trust-item svg { width: 18px !important; height: 18px !important; }
        .mm-trust-item strong { font-size: 11px !important; }
        .mm-trust-item span { font-size: 9px !important; }
        .woocommerce-message { flex-wrap: wrap !important; padding: 12px 12px 12px 40px !important; font-size: 13px !important; gap: 8px !important; }
        .woocommerce-message::after { left: 12px !important; width: 16px !important; height: 16px !important; }
        .woocommerce-message .button.wc-forward { float: none !important; display: block !important; text-align: center !important; margin: 8px 0 0 0 !important; width: 100% !important; padding: 8px 15px !important; font-size: 13px !important; }
        .mm-swiper-next, .mm-swiper-prev { width: 32px !important; height: 32px !important; opacity: 1 !important; }
        .mm-swiper-next::after, .mm-swiper-prev::after { font-size: 14px !important; }
        .mm-thumb-swiper .swiper-slide { width: 75px !important; height: 75px !important; }
        .woocommerce-tabs { padding: 15px !important; margin-top: 0px !important; border-radius: 12px !important; }
        .woocommerce-tabs ul.tabs { gap: 15px !important; overflow-x: auto !important; flex-wrap: nowrap !important; white-space: nowrap !important; }
        .woocommerce-tabs ul.tabs::-webkit-scrollbar { display: none !important; }
        .woocommerce-tabs ul.tabs li a { font-size: 14px !important; }
        .custom-related-section { margin-top: 20px !important; margin-bottom: 30px !important; }
        .custom-related-section .tp-title { font-size: 18px !important; margin-bottom: 12px !important; padding-left: 10px !important; border-left-width: 4px !important; }
        .custom-related-section .tp-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
        .custom-related-section .tp-card { padding: 8px !important; border-radius: 10px !important; }
        .custom-related-section .tp-info { padding: 8px 2px 2px 2px !important; }
        .custom-related-section .tp-product-title { font-size: 13px !important; margin-bottom: 6px !important; height: 2.8em !important; }
        .custom-related-section .tp-stock-status { font-size: 9px !important; padding: 3px 6px !important; margin-bottom: 8px !important; }
        .custom-related-section .tp-price-wrap { margin-bottom: 8px !important; }
        .custom-related-section .tp-price-wrap .price { font-size: 16px !important; gap: 6px !important; }
        .custom-related-section .tp-price-wrap .price del { font-size: 12px !important; }
        .custom-related-section .tp-btn { font-size: 13px !important; padding: 8px 0 !important; border-radius: 6px !important; gap: 6px !important; }
} /* END @media (max-width: 768px) — this closing brace was missing before,
     which silently nested EVERY rule below (including the entire
     Description | Delivery Information two-column grid) inside this
     mobile-only media query. That's the real reason the grid never
     rendered as two columns on desktop across earlier fix attempts —
     it was there, just permanently scoped to <=768px only. */


/* ==========================================================================
   PREMIUM ADDITIONS — gallery fix, accordion, sticky mobile CTA bar
   ========================================================================== */

/* Fix: gallery box rendering empty/collapsed before Swiper JS finishes
   initializing (no height on .swiper-wrapper until Swiper sets it via JS).
   A fixed aspect-ratio + object-fit means the box is never empty, with
   or without JS, and never causes layout shift (CLS) once images arrive. */
.mm-main-swiper { aspect-ratio: 1 / 1 !important; background: #f7f7f7 !important; }
.mm-main-swiper .swiper-wrapper { height: 100% !important; }
.mm-main-swiper .swiper-slide { height: 100% !important; }
.mm-main-img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }
.mm-thumb-swiper .swiper-slide { aspect-ratio: 1 / 1 !important; height: auto !important; }
.mm-thumb-img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; border-radius: 4px; }
/* Skeleton shimmer while the real image decodes, instead of a blank box */
.mm-main-swiper::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #f7f7f7 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: ppShimmer 1.4s ease infinite;
    z-index: 0;
}
.mm-main-swiper.swiper-initialized::before { display: none; }
@keyframes ppShimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* Description | Delivery Information — two-column ROW (desktop),
   stacks on mobile. Replaces the old accordion + default WC tabs.
   NOTE: this sits as a direct child of div.product, which has
   `display:flex` (see .mm-product-page div.product above). flex:0 0 100%
   (grow:0, shrink:0, basis:100%) pins it to exactly full row width no
   matter what — flex:1 1 100% previously used grow/shrink of 1, which
   left room for flex math edge cases to squeeze it; 0 0 100% cannot be
   resized by the flex algorithm at all. */
.pp-desc-delivery-grid {
    display: grid !important;
    grid-template-columns: 1.7fr 1fr !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    align-self: stretch !important;
    gap: 24px;
    margin-top: 32px;
}
.pp-desc-card,
.pp-delivery-card {
    background: #ffffff;
    border: 1px solid var(--mm-border);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(16, 24, 40, 0.04);
    height: 100%;
    box-sizing: border-box;
}
.pp-section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: inherit;
    font-size: 17px;
    font-weight: 800;
    color: var(--mm-dark);
    margin: 0 0 16px 0;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--mm-border);
}
.pp-section-heading svg { color: var(--mm-pink); flex-shrink: 0; }
/* ==========================================================================
   Product Description Typography System (.pp-desc-body)
   Applies to the raw HTML that WooCommerce/wpautop generates from the
   product's stored description — content itself is untouched, this only
   styles headings, paragraphs, lists, links, quotes, tables, images, etc.
   ========================================================================== */
.pp-desc-card .pp-desc-body {
    font-size: 14.5px;
    line-height: 1.9;
    color: var(--mm-text);
    max-width: 720px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Paragraphs */
.pp-desc-body p { margin: 0 0 16px; }
.pp-desc-body p:first-child { margin-top: 0; }
.pp-desc-body p:last-child { margin-bottom: 0; }

/* Headings / subheadings — visually distinct from body copy */
.pp-desc-body h1,
.pp-desc-body h2,
.pp-desc-body h3,
.pp-desc-body h4,
.pp-desc-body h5,
.pp-desc-body h6 {
    font-family: inherit;
    color: var(--mm-dark);
    font-weight: 800;
    line-height: 1.4;
    margin: 28px 0 14px;
}
.pp-desc-body h1:first-child,
.pp-desc-body h2:first-child,
.pp-desc-body h3:first-child,
.pp-desc-body h4:first-child,
.pp-desc-body h5:first-child,
.pp-desc-body h6:first-child { margin-top: 0; }
.pp-desc-body h1 { font-size: 21px; }
.pp-desc-body h2 {
    font-size: 19px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--mm-border);
}
.pp-desc-body h3 {
    font-size: 16.5px;
    position: relative;
    padding-left: 14px;
}
.pp-desc-body h3::before {
    content: '';
    position: absolute;
    left: 0; top: 3px; bottom: 3px;
    width: 4px;
    border-radius: 2px;
    background: var(--mm-pink);
}
.pp-desc-body h4,
.pp-desc-body h5,
.pp-desc-body h6 {
    font-size: 15px;
    color: var(--mm-pink);
    font-weight: 700;
}

/* Bold / italic emphasis */
.pp-desc-body strong,
.pp-desc-body b { color: var(--mm-dark); font-weight: 800; }
.pp-desc-body em,
.pp-desc-body i { font-style: italic; }

/* Lists — proper hanging-indent alignment for wrapped lines */
.pp-desc-body ul,
.pp-desc-body ol { margin: 4px 0 18px; padding-left: 22px; }
.pp-desc-body ul:first-child,
.pp-desc-body ol:first-child { margin-top: 0; }
.pp-desc-body ul:last-child,
.pp-desc-body ol:last-child { margin-bottom: 0; }
.pp-desc-body li { line-height: 1.85; margin-bottom: 10px; }
.pp-desc-body li:last-child { margin-bottom: 0; }
.pp-desc-body li > ul,
.pp-desc-body li > ol { margin: 10px 0 0; }
.pp-desc-body ul { list-style: none; padding-left: 4px; }
.pp-desc-body ul > li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.pp-desc-body ul > li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    margin-top: 9px;
    border-radius: 50%;
    background: var(--mm-pink);
}
.pp-desc-body ol { list-style: decimal; }
.pp-desc-body ol > li::marker { color: var(--mm-pink); font-weight: 700; }

/* Links */
.pp-desc-body a {
    color: var(--mm-pink);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(250, 80, 83, 0.35);
    text-underline-offset: 3px;
    transition: color .2s ease, text-decoration-color .2s ease;
}
.pp-desc-body a:hover { color: #d8393c; text-decoration-color: currentColor; }

/* Premium blockquote */
.pp-desc-body blockquote {
    margin: 24px 0;
    padding: 16px 20px;
    background: var(--mm-pink-light);
    border-left: 4px solid var(--mm-pink);
    border-radius: 8px;
    font-style: italic;
    color: var(--mm-dark);
    font-size: 14px;
    line-height: 1.85;
}
.pp-desc-body blockquote p { margin: 0; }
.pp-desc-body blockquote p + p { margin-top: 10px; }
.pp-desc-body blockquote:first-child { margin-top: 0; }
.pp-desc-body blockquote:last-child { margin-bottom: 0; }

/* Responsive table — CSS-only horizontal scroll, no markup change needed */
.pp-desc-body table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
    margin: 20px 0;
    border: 1px solid var(--mm-border);
    border-radius: 10px;
}
.pp-desc-body table:first-child { margin-top: 0; }
.pp-desc-body table:last-child { margin-bottom: 0; }
.pp-desc-body table thead { background: var(--mm-pink-light); }
.pp-desc-body table th,
.pp-desc-body table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--mm-border);
    font-size: 13.5px;
    white-space: nowrap;
}
.pp-desc-body table th { color: var(--mm-dark); font-weight: 700; }
.pp-desc-body table tr:last-child td { border-bottom: none; }

/* Images — clear separation from surrounding text */
.pp-desc-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(16, 24, 40, 0.08);
}
.pp-desc-body img:first-child { margin-top: 0; }
.pp-desc-body img:last-child { margin-bottom: 0; }

/* Divider */
.pp-desc-body hr {
    border: none;
    border-top: 1px dashed var(--mm-border);
    margin: 28px 0;
}

/* Inline code / preformatted blocks (rare, but kept tidy if present) */
.pp-desc-body code {
    background: #f3f4f6;
    color: #d8393c;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    font-family: 'Courier New', monospace;
}
.pp-desc-body pre {
    background: #f9fafb;
    border: 1px solid var(--mm-border);
    border-radius: 8px;
    padding: 14px 16px;
    overflow-x: auto;
    margin: 20px 0;
}
.pp-desc-body pre code { background: none; padding: 0; color: var(--mm-text); }
.pp-delivery-card .pp-free-delivery-badge { margin: 0 0 16px 0; width: fit-content; }
.pp-delivery-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.pp-delivery-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 13.5px; color: var(--mm-text); line-height: 1.5; padding-bottom: 14px; border-bottom: 1px dashed var(--mm-border); }
.pp-delivery-list li:last-child { border-bottom: none; padding-bottom: 0; }
.pp-delivery-list li svg { flex-shrink: 0; color: var(--mm-pink); margin-top: 1px; background: var(--primary-light, #fff1f1); border-radius: 8px; padding: 6px; width: 30px; height: 30px; box-sizing: border-box; }

@media (max-width: 820px) {
    .pp-desc-delivery-grid { grid-template-columns: 1fr !important; gap: 16px; margin-top: 24px; }
    .pp-desc-card, .pp-delivery-card { padding: 18px; border-radius: 12px; }
    .pp-section-heading { font-size: 16px; }

    /* Description typography — mobile scale */
    .pp-desc-card .pp-desc-body { font-size: 13.5px; line-height: 1.85; max-width: 100%; }
    .pp-desc-body h1 { font-size: 18px; }
    .pp-desc-body h2 { font-size: 16.5px; }
    .pp-desc-body h3 { font-size: 15px; }
    .pp-desc-body h4, .pp-desc-body h5, .pp-desc-body h6 { font-size: 14px; }
    .pp-desc-body h1, .pp-desc-body h2, .pp-desc-body h3,
    .pp-desc-body h4, .pp-desc-body h5, .pp-desc-body h6 { margin: 22px 0 12px; }
    .pp-desc-body ul, .pp-desc-body ol { padding-left: 18px; }
    .pp-desc-body ul { padding-left: 2px; }
    .pp-desc-body blockquote { padding: 14px 16px; font-size: 13.5px; }
    .pp-desc-body table th, .pp-desc-body table td { padding: 8px 10px; font-size: 12.5px; white-space: normal; }
    .pp-desc-body img { margin: 14px auto; border-radius: 8px; }
}

/* Sticky mobile Add to Cart / Buy Now bar */
.pp-sticky-cta-bar {
    display: none;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
    background: #ffffff; padding: 10px 12px;
    box-shadow: 0 -6px 20px rgba(0,0,0,0.08);
    border-top: 1px solid var(--mm-border);
    gap: 10px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
}
.pp-sticky-cta-bar.pp-visible { display: flex !important; }
.pp-sticky-cta-bar button { flex: 1; height: 46px; border-radius: 8px; font-family: inherit; font-weight: 700; font-size: 14px; border: none; cursor: pointer; }
.pp-sticky-add { background: #ffffff !important; color: var(--mm-pink) !important; border: 1px solid var(--mm-pink) !important; }
.pp-sticky-buy { background-image: linear-gradient(135deg, var(--mm-pink) 0%, #ff3b7a 100%) !important; color: #ffffff !important; }

@media (max-width: 768px) {
    .pp-sticky-cta-bar.pp-visible { display: flex !important; }
    /* keep page content from being hidden behind the fixed bar */
    body.pp-has-sticky-cta { padding-bottom: 66px; }
}
