/*
 Theme Name:   Motta Child
 Theme URI:    https://myfurni.local/
 Description:  Custom child theme for MyFurni with modern minimalist UI, conversion boosters, and high-performance styling.
 Author:       MyFurni Team
 Author URI:   https://myfurni.local/
 Template:     motta
 Version:      1.2.0
 Text Domain:  motta-child
*/

/* -------------------------------------------------------------
 * 1. Modern Design Tokens & Typography
 * ------------------------------------------------------------- */
:root {
    --myfurni-font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --myfurni-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --myfurni-color-primary: #18181b;
    --myfurni-color-secondary: #059669;
    --myfurni-color-accent: #0284c7;
    
    --myfurni-text-heading: #0f172a;
    --myfurni-text-body: #334155;
    --myfurni-text-muted: #64748b;
    
    --myfurni-surface-white: #ffffff;
    --myfurni-surface-subtle: #f8fafc;
    --myfurni-border-color: #e2e8f0;
    
    --myfurni-radius-card: 12px;
    --myfurni-radius-btn: 8px;
    --myfurni-radius-pill: 9999px;
    
    --myfurni-shadow-card: 0 4px 12px rgba(0, 0, 0, 0.04);
    --myfurni-shadow-hover: 0 16px 36px -8px rgba(0, 0, 0, 0.08), 0 6px 14px rgba(0, 0, 0, 0.03);
}

body {
    font-family: var(--myfurni-font-body);
    color: var(--myfurni-text-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.site-title,
.product-title,
.entry-title,
.woocommerce-loop-product__title {
    font-family: var(--myfurni-font-heading);
    color: var(--myfurni-text-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

html {
    scroll-behavior: smooth;
}

/* -------------------------------------------------------------
 * 2. Airy, Minimalist & Borderless Product Cards (Anti-Clipping)
 * ------------------------------------------------------------- */
.motta-product-card,
.products .product,
ul.products li.product {
    background: var(--myfurni-surface-white);
    border-radius: var(--myfurni-radius-card) !important;
    border: 1px solid transparent !important;
    box-shadow: var(--myfurni-shadow-card);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.28s ease !important;
    position: relative;
    overflow: visible !important;
    padding-bottom: 14px;
    height: auto !important;
}

ul.products.swiper-wrapper .swiper-slide,
.linked-products-carousel .swiper-slide,
.motta-products-carousel .swiper-slide {
    height: auto !important;
    display: flex;
    flex-direction: column;
}

ul.products li.product .product-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: visible !important;
    background: transparent;
}

.motta-product-card:hover,
.products .product:hover,
ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: var(--myfurni-shadow-hover) !important;
    border-color: #cbd5e1 !important;
}

.motta-product-card .product-thumbnail,
.products .product .product-thumbnail,
ul.products li.product .product-thumbnail {
    background: var(--myfurni-surface-subtle);
    border-radius: var(--myfurni-radius-card) var(--myfurni-radius-card) 0 0;
    overflow: hidden;
}

.motta-product-card .product-thumbnail img,
.products .product img,
ul.products li.product img {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 100%;
    height: auto;
    display: block;
}

.motta-product-card:hover .product-thumbnail img,
.products .product:hover img,
ul.products li.product:hover img {
    transform: scale(1.04);
}

/* Product Card Title & Price Hierarchy - Fully Visible & Unconstrained */
.woocommerce-loop-product__title,
.motta-product-card__title,
.motta-product-card__title a,
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title a,
.product-summary .woocommerce-loop-product__title,
.product-summary .woocommerce-loop-product__title a {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--myfurni-text-heading) !important;
    line-height: 1.45 !important;
    margin-top: 10px !important;
    margin-bottom: 8px !important;
    transition: color 0.2s ease;
    overflow: visible !important;
    white-space: normal !important;
    word-break: normal !important;
    text-overflow: clip !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    display: block !important;
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
}

ul.products li.product .product-summary,
.products .product .product-summary {
    overflow: visible !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.woocommerce-loop-product__title:hover,
.motta-product-card__title a:hover,
ul.products li.product .woocommerce-loop-product__title a:hover {
    color: var(--myfurni-color-secondary) !important;
}

.price,
.motta-product-card__price,
ul.products li.product .price {
    font-family: var(--myfurni-font-heading);
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--myfurni-color-primary) !important;
    margin-top: auto !important;
    padding-top: 6px;
}

/* -------------------------------------------------------------
 * 3. Modern Pill Badges
 * ------------------------------------------------------------- */
.motta-badge,
.woocommerce span.onsale,
.motta-product-card .product-badges span {
    border-radius: var(--myfurni-radius-pill) !important;
    font-family: var(--myfurni-font-heading);
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    padding: 4px 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* -------------------------------------------------------------
 * 4. Micro-Interactions: Buttons & Primary CTAs
 * ------------------------------------------------------------- */
.button,
.button.add_to_cart_button,
.single_add_to_cart_button,
.motta-button--primary,
#place_order {
    font-family: var(--myfurni-font-heading) !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px !important;
    border-radius: var(--myfurni-radius-btn) !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.button:hover,
.button.add_to_cart_button:hover,
.single_add_to_cart_button:hover,
.motta-button--primary:hover,
#place_order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.16);
}

.button:active,
.button.add_to_cart_button:active,
.single_add_to_cart_button:active {
    transform: translateY(0);
}

/* -------------------------------------------------------------
 * 5. Minimalist Pill Search Bar
 * ------------------------------------------------------------- */
.motta-search-form,
.header-search form,
.motta-header__search-form {
    border-radius: var(--myfurni-radius-pill) !important;
    border: 1px solid var(--myfurni-border-color) !important;
    background: var(--myfurni-surface-subtle) !important;
    transition: all 0.2s ease;
    overflow: hidden;
}

.motta-search-form:focus-within,
.header-search form:focus-within,
.motta-header__search-form:focus-within {
    border-color: var(--myfurni-color-secondary) !important;
    background: var(--myfurni-surface-white) !important;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12) !important;
}

/* -------------------------------------------------------------
 * 6. Visual Material & Color Swatches
 * ------------------------------------------------------------- */
.wcboost-variation-swatches .swatch {
    border-radius: 50% !important;
    transition: all 0.2s ease !important;
    border: 1px solid var(--myfurni-border-color) !important;
}

.wcboost-variation-swatches .swatch.selected,
.wcboost-variation-swatches .swatch:hover {
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--myfurni-color-primary) !important;
    transform: scale(1.08);
}

/* -------------------------------------------------------------
 * 7. Free Shipping Progress Bar (Mini-Cart & Cart)
 * ------------------------------------------------------------- */
.myfurni-shipping-progress-wrapper {
    background: var(--myfurni-surface-subtle);
    border: 1px solid var(--myfurni-border-color);
    border-radius: var(--myfurni-radius-btn);
    padding: 12px 14px;
    margin: 10px 0 16px 0;
}

.myfurni-shipping-progress-msg {
    font-size: 13px;
    color: var(--myfurni-text-heading);
    line-height: 1.4;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.myfurni-shipping-progress-bar {
    width: 100%;
    height: 7px;
    background-color: var(--myfurni-border-color);
    border-radius: 10px;
    overflow: hidden;
}

.myfurni-shipping-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    border-radius: 10px;
    transition: width 0.45s ease-in-out;
}

/* -------------------------------------------------------------
 * 8. Estimated Delivery & Low Stock Urgency (Product Page)
 * ------------------------------------------------------------- */
.myfurni-estimated-delivery-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--myfurni-radius-btn);
    padding: 12px 16px;
    margin: 16px 0;
}

.myfurni-delivery-icon {
    font-size: 20px;
    line-height: 1;
    margin-top: 2px;
}

.myfurni-delivery-headline {
    font-size: 14px;
    color: #166534;
    font-weight: 600;
}

.myfurni-delivery-subtext {
    font-size: 12px;
    color: #15803d;
    margin-top: 2px;
}

.myfurni-low-stock-alert {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--myfurni-radius-pill);
    margin-bottom: 12px;
}

.myfurni-stock-pulse {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    animation: myfurniPulse 1.6s infinite;
}

@keyframes myfurniPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Trust badges — defined in Section 13 (grid layout) below */
/* Duplicate flexbox definition removed to prevent conflicts */

.myfurni-trust-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--myfurni-text-body);
    font-weight: 500;
}

/* -------------------------------------------------------------
 * 10. Modern Checkout UI Polish
 * ------------------------------------------------------------- */
.woocommerce-checkout #order_review_heading {
    margin-top: 24px;
    font-weight: 700;
    font-size: 18px;
    color: var(--myfurni-text-heading);
}

.woocommerce-checkout #order_review {
    background: var(--myfurni-surface-white);
    border: 1px solid var(--myfurni-border-color);
    border-radius: var(--myfurni-radius-card);
    padding: 24px;
    box-shadow: var(--myfurni-shadow-card);
}

.woocommerce-checkout #payment {
    background: var(--myfurni-surface-subtle) !important;
    border-radius: var(--myfurni-radius-btn) !important;
    border: 1px solid var(--myfurni-border-color) !important;
    padding: 18px !important;
}

/* Place Order button — consistent branding */
#place_order,
.woocommerce #payment #place_order {
    background: #059669 !important;
    color: #ffffff !important;
    border: none !important;
    font-family: var(--myfurni-font-heading) !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    padding: 14px 28px !important;
    border-radius: var(--myfurni-radius-btn) !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3) !important;
    letter-spacing: 0.2px !important;
}

#place_order:hover,
.woocommerce #payment #place_order:hover {
    background: #047857 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.4) !important;
}

#place_order:active,
.woocommerce #payment #place_order:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25) !important;
}

[data-theme="dark"] #place_order,
[data-theme="dark"] .woocommerce #payment #place_order {
    background: #059669 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(5, 150, 105, 0.4) !important;
}

[data-theme="dark"] #place_order:hover,
[data-theme="dark"] .woocommerce #payment #place_order:hover {
    background: #10b981 !important;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5) !important;
}

/* Hide Tags on Single Product Pages */
.single-product .product_meta .tagged_as,
.motta-product-meta .tagged_as,
.tagged_as {
    display: none !important;
}

/* -------------------------------------------------------------
 * 11. Native Floating WhatsApp Widget
 * ------------------------------------------------------------- */
.myfurni-floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35), 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.myfurni-floating-whatsapp:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 4px 10px rgba(0, 0, 0, 0.18);
    color: #ffffff !important;
}

.myfurni-whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25d366;
    opacity: 0.7;
    animation: myfurniWaPulse 2s infinite ease-out;
    pointer-events: none;
}

@keyframes myfurniWaPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* -------------------------------------------------------------
 * 12. Mobile-First Sticky Bottom Navigation Bar
 * ------------------------------------------------------------- */
.myfurni-mobile-bottom-bar {
    display: none;
}

@media (max-width: 767px) {
    body {
        padding-bottom: 64px; /* Offset for sticky bottom nav */
    }

    .myfurni-floating-whatsapp {
        bottom: 76px !important; /* Move above bottom nav with extra clearance */
        right: 14px;
        width: 44px;
        height: 44px;
    }

    .myfurni-floating-whatsapp svg {
        width: 22px;
        height: 22px;
    }

    .myfurni-mobile-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid var(--myfurni-border-color);
        z-index: 9998;
        justify-content: space-around;
        align-items: center;
        padding: 0 6px;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
    }

    [data-theme="dark"] .myfurni-mobile-bottom-bar {
        background: rgba(15, 23, 42, 0.97);
        border-top-color: #1e293b;
    }

    .myfurni-mobile-bottom-bar .myfurni-bottom-nav-item,
    .myfurni-bottom-nav-item,
    .myfurni-bottom-nav-item.myfurni-night-mode-toggle-btn {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        color: var(--myfurni-text-muted) !important;
        flex: 1 1 0% !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        line-height: normal !important;
        padding: 6px 0 !important;
        margin: 0 !important;
        background: transparent !important;
        background-color: transparent !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        cursor: pointer !important;
        font-family: inherit !important;
        -webkit-tap-highlight-color: transparent !important;
        transition: color 0.2s ease !important;
    }

    .myfurni-mobile-bottom-bar .myfurni-bottom-nav-item.active,
    .myfurni-mobile-bottom-bar .myfurni-bottom-nav-item:hover,
    .myfurni-bottom-nav-item.myfurni-night-mode-toggle-btn:hover {
        color: var(--myfurni-color-secondary) !important;
        background: transparent !important;
        background-color: transparent !important;
        box-shadow: none !important;
    }

    [data-theme="dark"] .myfurni-mobile-bottom-bar .myfurni-bottom-nav-item,
    [data-theme="dark"] .myfurni-bottom-nav-item.myfurni-night-mode-toggle-btn {
        color: #94a3b8 !important;
        background: transparent !important;
        background-color: transparent !important;
        box-shadow: none !important;
    }

    [data-theme="dark"] .myfurni-mobile-bottom-bar .myfurni-bottom-nav-item.active,
    [data-theme="dark"] .myfurni-mobile-bottom-bar .myfurni-bottom-nav-item:hover,
    [data-theme="dark"] .myfurni-bottom-nav-item.myfurni-night-mode-toggle-btn:hover {
        color: #f1f5f9 !important;
        background: transparent !important;
        background-color: transparent !important;
        box-shadow: none !important;
    }

    .myfurni-nav-icon {
        font-size: 18px;
        line-height: 1;
        position: relative;
        transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .myfurni-bottom-nav-item:hover .myfurni-nav-icon,
    .myfurni-bottom-nav-item:active .myfurni-nav-icon {
        transform: scale(1.15);
    }

    [data-theme="dark"] .myfurni-night-mode-toggle-btn .myfurni-night-icon {
        filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.7));
    }

    .myfurni-nav-label {
        font-size: 10px;
        font-weight: 600;
        margin-top: 2px;
        letter-spacing: 0.2px;
    }

    .myfurni-cart-icon-wrapper {
        position: relative;
    }

    .myfurni-mobile-cart-badge {
        position: absolute;
        top: -6px;
        right: -10px;
        background: #ef4444;
        color: #ffffff;
        font-size: 9px;
        font-weight: 700;
        border-radius: var(--myfurni-radius-pill);
        padding: 1px 5px;
        min-width: 15px;
        text-align: center;
        line-height: 1.2;
    }
}

/* -------------------------------------------------------------
 * 12. Footer Cleanups: Remove Empty Social Icons
 * ------------------------------------------------------------- */
.site-footer .motta-social-icons,
.footer-main .motta-social-icons,
.footer-mobile .motta-social-icons,
.footer-main .widget_motta_socials,
.footer-mobile .widget_motta_socials {
    display: none !important;
}

/* -------------------------------------------------------------
 * 13. Commercial Assurance Badges (Single Product)
 * ------------------------------------------------------------- */
.myfurni-trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--myfurni-radius-card);
}

.myfurni-trust-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--myfurni-text-body);
}

.myfurni-trust-badge-icon {
    font-size: 16px;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .myfurni-trust-badges {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* -------------------------------------------------------------
 * 14. Smooth Image Fade-In (Anti-Flicker)
 * ------------------------------------------------------------- */
img.lazyloaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* -------------------------------------------------------------
 * 15. Top Banner & Footer Visibility Assurance
 * ------------------------------------------------------------- */
.motta-slides-elementor,
.motta-slides-elementor__wrapper,
.motta-slides-elementor .item-slider {
    min-height: 380px;
    position: relative;
    overflow: visible;
}

.site-footer,
.footer-main,
.footer-mobile {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    clear: both;
}

/* -------------------------------------------------------------
 * 16. Complete Removal of Prohibited Sections, Widgets & Menus
 * ------------------------------------------------------------- */
/* Header & Mobile Return / View History */
.header-return,
.header-view-history,
.motta-view-history,
[data-target="view-history-panel"],
.topbar-item-return,
.topbar-item-view-history {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Recently Viewed & Top Rated Product Widgets */
.motta-products-recently-viewed-carousel,
.motta-products-recently-viewed-grid,
.widget_recently_viewed_products,
.widget_recent_products,
.widget_top_rated_products {
    display: none !important;
}

/* Catalog Top Categories "New Arrivals" item */
.catalog-top-categories__item:has(span.new),
.catalog-top-categories__item .new.text,
.catalog-top-categories__item:has(a[href*="orderby=date"]) {
    display: none !important;
}

/* Navigation Links for Prohibited Endpoints */
.menu-item a[href*="order-tracking"],
.menu-item a[href*="track-order"],
.menu-item a[href*="tracking-order"],
.menu-item a[href*="customer-service"],
.menu-item a[href*="orders-and-returns"],
.menu-item a[href*="orders-returns"],
.header-account__link[href*="track-order"],
.header-account__link[href*="tracking-order"],
.header-account__item--track-order,
.header-account__item--track,
.mobile-menu__item--track-order,
.mobile-menu__item[data-item="track-order"],
.motta-hamburger-panel a[href*="track-order"],
.motta-hamburger-panel a[href*="tracking-order"] {
    display: none !important;
}

/* -------------------------------------------------------------
 * 17. B2B Quote Box & Product Specifications Table
 * ------------------------------------------------------------- */
.myfurni-b2b-quote-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--myfurni-radius-card);
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.myfurni-b2b-quote-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.myfurni-b2b-badge {
    background: #0f172a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: var(--myfurni-radius-pill);
}

.myfurni-b2b-moq-badge {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--myfurni-radius-pill);
}

.myfurni-b2b-quote-desc {
    font-size: 13px;
    color: var(--myfurni-text-muted);
    line-height: 1.5;
    margin-bottom: 16px !important;
}

.myfurni-b2b-quote-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.myfurni-btn-whatsapp-quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25d366;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 22px;
    border-radius: var(--myfurni-radius-btn);
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
    flex: 1 1 200px;
    text-align: center;
}

.myfurni-btn-whatsapp-quote:hover {
    background: #1ebc59;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.myfurni-btn-email-quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    color: var(--myfurni-text-heading) !important;
    border: 1px solid #cbd5e1;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: var(--myfurni-radius-btn);
    text-decoration: none !important;
    transition: all 0.2s ease;
    flex: 1 1 180px;
    text-align: center;
}

.myfurni-btn-email-quote:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    transform: translateY(-2px);
}

/* Specifications Table */
.myfurni-specifications-box {
    margin: 24px 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--myfurni-radius-card);
    overflow: hidden;
}

.myfurni-specs-title {
    font-size: 14px;
    font-weight: 700;
    padding: 12px 18px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    margin: 0 !important;
    color: var(--myfurni-text-heading);
}

.myfurni-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.myfurni-specs-table th,
.myfurni-specs-table td {
    padding: 10px 18px;
    border-bottom: 1px solid #f1f5f9;
    text-align: left;
}

.myfurni-specs-table th {
    width: 38%;
    font-weight: 600;
    color: var(--myfurni-text-muted);
    background: #ffffff;
}

.myfurni-specs-table td {
    color: var(--myfurni-text-heading);
    font-weight: 500;
}

.myfurni-specs-table tr:last-child th,
.myfurni-specs-table tr:last-child td {
    border-bottom: none;
}

/* Topbar Ribbon (Disabled per user preference) */
.topbar,
#topbar,
.site-topbar {
    display: none !important;
    height: 0 !important;
    visibility: hidden !important;
}

/* -------------------------------------------------------------
 * 18. Preferences Modal & Dark Mode Engine
 * ------------------------------------------------------------- */
#preferences-modal.modal--open,
#preferences-modal.open {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    inset: 0 !important;
    z-index: 999999 !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(15, 23, 42, 0.75) !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 16px !important;
    box-sizing: border-box !important;
}

#preferences-modal .modal__backdrop {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    inset: 0 !important;
    cursor: pointer !important;
    z-index: 1 !important;
    background: transparent !important;
}

#preferences-modal .modal__preferences,
.myfurni-preferences-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    z-index: 2 !important;
    width: 100% !important;
    max-width: 480px !important;
    background: var(--myfurni-surface-white) !important;
    border-radius: var(--myfurni-radius-card) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4) !important;
    overflow: hidden !important;
    margin: auto !important;
}

/* Preferences Trigger in Side Menu */
.preferences-menu,
.preferences-menu__heading,
.preferences-menu a {
    cursor: pointer !important;
    transition: color 0.15s ease !important;
}

.preferences-menu:hover,
.preferences-menu__heading:hover,
.preferences-menu a:hover {
    color: #0284c7 !important;
}

.myfurni-preferences-content {
    padding: 16px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.myfurni-pref-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--myfurni-surface-subtle);
    border: 1px solid var(--myfurni-border-color);
    border-radius: var(--myfurni-radius-card);
    gap: 16px;
}

.myfurni-pref-info {
    flex: 1;
}

.myfurni-pref-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--myfurni-text-heading);
    margin-bottom: 2px;
}

.myfurni-pref-subtext {
    font-size: 12px;
    color: var(--myfurni-text-muted);
}

.myfurni-pref-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #059669;
    color: #ffffff;
    border-radius: var(--myfurni-radius-pill);
    font-size: 11px;
    font-weight: 700;
}

.myfurni-btn-pref-wa {
    display: inline-block;
    padding: 6px 14px;
    background: #25d366;
    color: #ffffff !important;
    border-radius: var(--myfurni-radius-btn);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: transform 0.2s ease;
}

.myfurni-btn-pref-wa:hover {
    transform: scale(1.04);
}

.myfurni-btn-pref-save {
    width: 100%;
    padding: 10px;
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: var(--myfurni-radius-btn);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.myfurni-btn-pref-save:hover {
    opacity: 0.9;
}

/* Toggle Switch */
.myfurni-toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.myfurni-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.myfurni-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #cbd5e1;
    transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 26px;
}

.myfurni-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input:checked + .myfurni-toggle-slider {
    background-color: #0284c7;
}

input:checked + .myfurni-toggle-slider:before {
    transform: translateX(22px);
}

/* Cart Counter Badge Positioned Inline Next to Cart */
.header-cart .motta-button {
    display: inline-flex !important;
    align-items: center !important;
    position: relative !important;
    gap: 4px !important;
}

.header-cart .header-counter,
.header-cart .header-cart__counter,
.header-cart .motta-button--base .header-counter,
.header-cart .header-counter {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 20px !important;
    height: 20px !important;
    padding: 0 6px !important;
    margin-left: 6px !important;
    border-radius: 10px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 20px !important;
    background-color: #ef4444 !important;
    color: #ffffff !important;
    vertical-align: middle !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    transform: none !important;
}

/* -------------------------------------------------------------
 * 19. Comprehensive Dark Mode Theme Engine
 * ------------------------------------------------------------- */
[data-theme="dark"],
html.dark-theme,
html.dark-theme body,
body.dark-mode {
    --myfurni-color-primary: #38bdf8;
    --myfurni-text-heading: #f8fafc;
    --myfurni-text-body: #cbd5e1;
    --myfurni-text-muted: #94a3b8;
    --myfurni-surface-white: #0f172a;
    --myfurni-surface-subtle: #1e293b;
    --myfurni-border-color: #334155;
    background-color: #0b0f19 !important;
    color: #cbd5e1 !important;
}

/* Page & Global Layout Containers */
[data-theme="dark"] #page,
[data-theme="dark"] .site,
[data-theme="dark"] .site-content,
[data-theme="dark"] .content-area,
[data-theme="dark"] .site-main,
[data-theme="dark"] main,
[data-theme="dark"] .elementor,
[data-theme="dark"] .elementor-section-wrap,
[data-theme="dark"] .elementor-section:not([data-settings*="background_background"]) {
    background-color: #0b0f19 !important;
    color: #cbd5e1 !important;
}

/* Header & Navigation */
[data-theme="dark"] #site-header,
[data-theme="dark"] .site-header,
[data-theme="dark"] .site-header.header-v5,
[data-theme="dark"] .site-header-v5,
[data-theme="dark"] .header-v5,
[data-theme="dark"] .site-header .header-main,
[data-theme="dark"] .site-header .header-bottom,
[data-theme="dark"] .site-header .header-contents,
[data-theme="dark"] .site-header.header-sticky,
[data-theme="dark"] .header-sticky,
[data-theme="dark"] .header-mobile,
[data-theme="dark"] .header-desktop {
    background-color: #0f172a !important;
    background: #0f172a !important;
    color: #f8fafc !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .site-header a,
[data-theme="dark"] .site-header .motta-button,
[data-theme="dark"] .site-header .header-icon,
[data-theme="dark"] .site-header svg {
    color: #f8fafc !important;
}

/* Offscreen Hamburger Side Panel & Visible Sidebar Items */
[data-theme="dark"] .offscreen-panel,
[data-theme="dark"] .offscreen-panel .panel__container,
[data-theme="dark"] .offscreen-panel .panel__content,
[data-theme="dark"] .panel--hamburger,
[data-theme="dark"] .hamburger-panel,
[data-theme="dark"] .mobile-navigation,
[data-theme="dark"] .navigation,
[data-theme="dark"] .menu-category-menu-container,
[data-theme="dark"] .menu-primary-container,
[data-theme="dark"] .menu-item,
[data-theme="dark"] .menu-item a {
    background-color: #0f172a !important;
    background: #0f172a !important;
    color: #f8fafc !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .offscreen-panel a,
[data-theme="dark"] .offscreen-panel .menu-item a,
[data-theme="dark"] .offscreen-panel .preferences-menu,
[data-theme="dark"] .offscreen-panel .preferences-menu__heading,
[data-theme="dark"] .offscreen-panel .preferences-menu a,
[data-theme="dark"] .offscreen-panel .menu-category-menu-container a,
[data-theme="dark"] .offscreen-panel .panel__heading,
[data-theme="dark"] .offscreen-panel span,
[data-theme="dark"] .offscreen-panel div,
[data-theme="dark"] .offscreen-panel h1,
[data-theme="dark"] .offscreen-panel h2,
[data-theme="dark"] .offscreen-panel h3,
[data-theme="dark"] .offscreen-panel h4,
[data-theme="dark"] .offscreen-panel h5,
[data-theme="dark"] .offscreen-panel h6 {
    color: #f8fafc !important;
}

[data-theme="dark"] .offscreen-panel .see-all {
    color: #38bdf8 !important;
    opacity: 0.9 !important;
}

[data-theme="dark"] .offscreen-panel hr,
[data-theme="dark"] .offscreen-panel .divider,
[data-theme="dark"] .offscreen-panel .panel__divider {
    border-color: #334155 !important;
}

[data-theme="dark"] .offscreen-panel .panel__header,
[data-theme="dark"] .offscreen-panel .panel__footer,
[data-theme="dark"] .hamburger-panel .account-links {
    background-color: #131d31 !important;
    background: #131d31 !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .offscreen-panel .menu li a:hover,
[data-theme="dark"] .offscreen-panel .menu-item:hover,
[data-theme="dark"] .offscreen-panel .preferences-menu:hover,
[data-theme="dark"] .offscreen-panel .preferences-menu__heading:hover,
[data-theme="dark"] .offscreen-panel .preferences-menu a:hover,
[data-theme="dark"] .offscreen-panel a:hover {
    background-color: #1e293b !important;
    color: #38bdf8 !important;
}

/* Search Bar & Dropdown in Dark Mode */
[data-theme="dark"] .header-search__container,
[data-theme="dark"] .header-search__form {
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .header-search__field,
[data-theme="dark"] .search-modal__field,
[data-theme="dark"] .header-search input[type="text"],
[data-theme="dark"] .header-search input[type="search"],
[data-theme="dark"] .header-search__input {
    background-color: transparent !important;
    background: transparent !important;
    color: #f8fafc !important;
    border: none !important;
    box-shadow: none !important;
}

[data-theme="dark"] .header-search input::placeholder {
    color: #64748b !important;
}

[data-theme="dark"] .header-search__categories {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .header-search__categories-title {
    color: #f8fafc !important;
    border-bottom-color: #334155 !important;
}

[data-theme="dark"] .header-search__categories-container li a {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .header-search__categories-container li a:hover,
[data-theme="dark"] .header-search__categories-container li a.active {
    background-color: #1e293b !important;
    color: #38bdf8 !important;
}

/* Product Cards & Catalog Loop */
[data-theme="dark"] .motta-product-card,
[data-theme="dark"] .products .product,
[data-theme="dark"] .product-inner,
[data-theme="dark"] .product-card,
[data-theme="dark"] .motta-product-card__inner,
[data-theme="dark"] .product-summary {
    background-color: #0f172a !important;
    color: #cbd5e1 !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .product-thumbnail,
[data-theme="dark"] .product-card__thumbnail,
[data-theme="dark"] .motta-product-card__thumbnail,
[data-theme="dark"] .woocommerce-loop-product__thumbnail,
[data-theme="dark"] .products .product-inner .product-thumbnail {
    background-color: #ffffff !important;
    border-radius: 10px !important;
    padding: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #1e293b !important;
    box-sizing: border-box !important;
}

[data-theme="dark"] .product-thumbnail img,
[data-theme="dark"] .product-card__thumbnail img,
[data-theme="dark"] .motta-product-card__thumbnail img {
    border-radius: 6px !important;
    object-fit: contain !important;
    max-height: 100% !important;
}

[data-theme="dark"] .product-title,
[data-theme="dark"] .woocommerce-loop-product__title,
[data-theme="dark"] .product-title a,
[data-theme="dark"] .woocommerce-loop-product__title a {
    color: #f8fafc !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

[data-theme="dark"] .product-title a:hover,
[data-theme="dark"] .woocommerce-loop-product__title a:hover {
    color: #38bdf8 !important;
}

[data-theme="dark"] .product-card__category,
[data-theme="dark"] .product-card__category a,
[data-theme="dark"] .woocommerce-loop-product__category,
[data-theme="dark"] .woocommerce-loop-product__category a {
    color: #94a3b8 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
}

[data-theme="dark"] .product-card__category a:hover,
[data-theme="dark"] .woocommerce-loop-product__category a:hover {
    color: #38bdf8 !important;
}

/* Clean Unhighlighted B2B Price & Price Suppression */
.single-product .summary .price,
.single-product div.product p.price,
.single-product div.product span.price {
    display: none !important;
}

.myfurni-loop-b2b-price {
    display: inline-block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0284c7 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-top: 4px;
}

[data-theme="dark"] .myfurni-loop-b2b-price {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #38bdf8 !important;
    padding: 0 !important;
}

/* Shop Sidebar & Filters */
[data-theme="dark"] .catalog-sidebar,
[data-theme="dark"] .widget-area,
[data-theme="dark"] .sidebar,
[data-theme="dark"] .widget,
[data-theme="dark"] .woocommerce-widget-layered-nav,
[data-theme="dark"] .catalog-filter,
[data-theme="dark"] .offscreen-panel--sidebar {
    background-color: #0f172a !important;
    color: #cbd5e1 !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .widget-title,
[data-theme="dark"] .widgettitle,
[data-theme="dark"] .catalog-sidebar h3,
[data-theme="dark"] .catalog-sidebar h4 {
    color: #f8fafc !important;
    border-bottom-color: #1e293b !important;
}

[data-theme="dark"] .catalog-sidebar a,
[data-theme="dark"] .cat-item a,
[data-theme="dark"] .cat-item span {
    color: #94a3b8 !important;
}

[data-theme="dark"] .catalog-sidebar a:hover,
[data-theme="dark"] .cat-item.current-cat a {
    color: #38bdf8 !important;
}

/* Catalog Toolbar, Result Count & Ordering */
.catalog-toolbar,
.motta-catalog-toolbar {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

[data-theme="dark"] .catalog-toolbar,
[data-theme="dark"] .motta-catalog-toolbar {
    background-color: transparent !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .woocommerce-result-count,
[data-theme="dark"] .catalog-toolbar__left,
[data-theme="dark"] .catalog-toolbar__result-count,
[data-theme="dark"] .motta-result-count {
    color: #cbd5e1 !important;
    font-size: 13px !important;
}

.catalog-toolbar select,
.woocommerce-ordering select,
.motta-ordering select {
    padding: 6px 36px 6px 14px !important;
    height: 36px !important;
    line-height: 22px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    cursor: pointer;
    min-width: 140px;
    box-sizing: border-box !important;
}

.catalog-toolbar__toolbar .woocommerce-ordering__label {
    margin-right: 8px !important;
    font-weight: 500 !important;
}

.catalog-toolbar__toolbar .woocommerce-ordering + .motta-toolbar-view::before {
    margin-left: 14px !important;
    margin-right: 14px !important;
}

[data-theme="dark"] .woocommerce-ordering select,
[data-theme="dark"] .motta-ordering select,
[data-theme="dark"] .catalog-toolbar select {
    background-color: #1e293b !important;
    color: #f8fafc !important;
    border: 1px solid #334155 !important;
    border-radius: 8px !important;
}

[data-theme="dark"] .catalog-toolbar__view button,
[data-theme="dark"] .catalog-toolbar__view .motta-button,
[data-theme="dark"] .catalog-toolbar__view svg,
[data-theme="dark"] .motta-view-button svg {
    color: #94a3b8 !important;
    stroke: #94a3b8 !important;
    fill: #94a3b8 !important;
}

[data-theme="dark"] .catalog-toolbar__view button:hover,
[data-theme="dark"] .catalog-toolbar__view button.active,
[data-theme="dark"] .catalog-toolbar__view .motta-button.current,
[data-theme="dark"] .catalog-toolbar__view .motta-button:hover svg,
[data-theme="dark"] .catalog-toolbar__view .motta-button.current svg {
    color: #38bdf8 !important;
    stroke: #38bdf8 !important;
    fill: #38bdf8 !important;
}

[data-theme="dark"] .catalog-toolbar__divider {
    background-color: #334155 !important;
}

/* Breadcrumbs & Product Meta in Dark Mode */
[data-theme="dark"] .woocommerce-breadcrumb,
[data-theme="dark"] .woocommerce-breadcrumb a,
[data-theme="dark"] .entry-breadcrumbs,
[data-theme="dark"] .entry-breadcrumbs a,
[data-theme="dark"] .site-breadcrumb,
[data-theme="dark"] .site-breadcrumb a {
    color: #94a3b8 !important;
}

[data-theme="dark"] .woocommerce-breadcrumb a:hover,
[data-theme="dark"] .entry-breadcrumbs a:hover,
[data-theme="dark"] .site-breadcrumb a:hover {
    color: #38bdf8 !important;
}

[data-theme="dark"] .product_meta,
[data-theme="dark"] .product_meta .sku_wrapper,
[data-theme="dark"] .product_meta .posted_in,
[data-theme="dark"] .product_meta .tagged_as,
[data-theme="dark"] .single-product .entry-summary .product_meta,
[data-theme="dark"] .single-product .entry-summary .product_meta a,
[data-theme="dark"] .single-product .entry-summary .product-header-meta,
[data-theme="dark"] .single-product .entry-summary .product-header-meta a {
    color: #94a3b8 !important;
}

[data-theme="dark"] .product_meta a:hover,
[data-theme="dark"] .product-header-meta a:hover {
    color: #38bdf8 !important;
}

/* Single Product Details */
[data-theme="dark"] .single-product,
[data-theme="dark"] .product-details,
[data-theme="dark"] .summary.entry-summary,
[data-theme="dark"] .product-summary {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .single-product h1.product-title,
[data-theme="dark"] .single-product h1.product_title {
    color: #f8fafc !important;
}

[data-theme="dark"] .myfurni-b2b-quote-card {
    background-color: #111c30 !important;
    background: #111c30 !important;
    border: 1px solid #1e293b !important;
    color: #cbd5e1 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .myfurni-btn-whatsapp-quote {
    background-color: #16a34a !important;
    color: #ffffff !important;
}

[data-theme="dark"] .myfurni-btn-email-quote {
    background-color: #1e293b !important;
    background: #1e293b !important;
    color: #f8fafc !important;
    border: 1px solid #334155 !important;
}

[data-theme="dark"] .myfurni-btn-email-quote:hover {
    background-color: #334155 !important;
    background: #334155 !important;
    color: #ffffff !important;
    border-color: #475569 !important;
}

[data-theme="dark"] .myfurni-b2b-badge {
    background-color: #1e293b !important;
    background: #1e293b !important;
    color: #cbd5e1 !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .myfurni-b2b-badge-icon {
    color: #38bdf8 !important;
}

[data-theme="dark"] .myfurni-trust-badges {
    background-color: #111c30 !important;
    background: #111c30 !important;
    border: 1px solid #1e293b !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .myfurni-trust-badge-item,
[data-theme="dark"] .myfurni-trust-badge-item span {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .myfurni-specifications-box {
    background-color: #111c30 !important;
    background: #111c30 !important;
    border: 1px solid #1e293b !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .myfurni-specs-title {
    background-color: #18263f !important;
    background: #18263f !important;
    border-bottom: 1px solid #1e293b !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .myfurni-specs-table th {
    background-color: #18263f !important;
    background: #18263f !important;
    color: #f8fafc !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .myfurni-specs-table td {
    background-color: #111c30 !important;
    background: #111c30 !important;
    color: #cbd5e1 !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .woocommerce-tabs,
[data-theme="dark"] .woocommerce-tabs .wc-tabs,
[data-theme="dark"] .woocommerce-Tabs-panel {
    background-color: #0f172a !important;
    color: #cbd5e1 !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .woocommerce-tabs .wc-tabs li a {
    color: #94a3b8 !important;
}

[data-theme="dark"] .woocommerce-tabs .wc-tabs li.active a {
    color: #38bdf8 !important;
    border-bottom-color: #38bdf8 !important;
}

/* Cart, Checkout & Tables */
[data-theme="dark"] .woocommerce-cart,
[data-theme="dark"] .woocommerce-checkout,
[data-theme="dark"] .woocommerce-cart-form,
[data-theme="dark"] .cart_totals,
[data-theme="dark"] .checkout-review-order,
[data-theme="dark"] .shop_table,
[data-theme="dark"] .shop_table th,
[data-theme="dark"] .shop_table td,
[data-theme="dark"] .order-total {
    background-color: #0f172a !important;
    color: #cbd5e1 !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .cart_totals table th,
[data-theme="dark"] .cart_totals table td,
[data-theme="dark"] .checkout-review-order table th,
[data-theme="dark"] .checkout-review-order table td {
    background-color: #111c30 !important;
    color: #f8fafc !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] #payment,
[data-theme="dark"] .payment_methods,
[data-theme="dark"] .payment_box,
[data-theme="dark"] .wc_payment_method {
    background-color: #1e293b !important;
    color: #cbd5e1 !important;
    border-color: #334155 !important;
}

[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="tel"],
[data-theme="dark"] input[type="password"],
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background-color: #1e293b !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}

/* Preferences Modal in Dark Mode */
[data-theme="dark"] #preferences-modal,
[data-theme="dark"] #preferences-modal .modal__preferences,
[data-theme="dark"] .myfurni-preferences-card {
    background-color: #0f172a !important;
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7) !important;
}

[data-theme="dark"] #preferences-modal .modal__header {
    border-bottom: 1px solid #1e293b !important;
}

[data-theme="dark"] #preferences-modal .modal__heading,
[data-theme="dark"] .myfurni-preferences-card .modal__heading,
[data-theme="dark"] .modal__heading {
    color: #f8fafc !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

[data-theme="dark"] #preferences-modal .modal__button-close,
[data-theme="dark"] #preferences-modal .modal__button-close svg {
    color: #94a3b8 !important;
    stroke: #94a3b8 !important;
}

[data-theme="dark"] #preferences-modal .modal__button-close:hover,
[data-theme="dark"] #preferences-modal .modal__button-close:hover svg {
    color: #f8fafc !important;
    stroke: #f8fafc !important;
}

[data-theme="dark"] #preferences-modal .myfurni-pref-item {
    background-color: #1e293b !important;
    background: #1e293b !important;
    border: 1px solid #334155 !important;
}

[data-theme="dark"] #preferences-modal .myfurni-pref-label strong {
    color: #f8fafc !important;
}

[data-theme="dark"] #preferences-modal .myfurni-pref-subtext {
    color: #94a3b8 !important;
}

[data-theme="dark"] #preferences-modal .myfurni-btn-pref-save {
    background-color: #0284c7 !important;
    background: #0284c7 !important;
    color: #ffffff !important;
}

/* Footer in Complete Dark Mode */
[data-theme="dark"] #site-footer,
[data-theme="dark"] .site-footer,
[data-theme="dark"] .single-motta_footer,
[data-theme="dark"] .elementor-location-footer,
[data-theme="dark"] #colophon,
[data-theme="dark"] .footer-main,
[data-theme="dark"] .footer-widgets,
[data-theme="dark"] .footer-bottom,
[data-theme="dark"] .footer-extra,
[data-theme="dark"] .site-footer__bottom,
[data-theme="dark"] .site-footer .elementor-section,
[data-theme="dark"] .site-footer .elementor-container,
[data-theme="dark"] .site-footer .elementor-widget-wrap,
[data-theme="dark"] .site-footer .elementor-column,
[data-theme="dark"] .site-footer .elementor-widget {
    background-color: #090d16 !important;
    background: #090d16 !important;
    color: #94a3b8 !important;
}

[data-theme="dark"] .site-footer h1,
[data-theme="dark"] .site-footer h2,
[data-theme="dark"] .site-footer h3,
[data-theme="dark"] .site-footer h4,
[data-theme="dark"] .site-footer h5,
[data-theme="dark"] .site-footer h6,
[data-theme="dark"] .site-footer .widget-title,
[data-theme="dark"] .site-footer strong {
    color: #f8fafc !important;
}

[data-theme="dark"] .site-footer a,
[data-theme="dark"] .site-footer p,
[data-theme="dark"] .site-footer span,
[data-theme="dark"] .site-footer li,
[data-theme="dark"] .site-footer div {
    color: #94a3b8 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

[data-theme="dark"] .site-footer a:hover {
    color: #38bdf8 !important;
}

/* Global Headings & Elements */
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3,
[data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6 {
    color: #f8fafc !important;
}

[data-theme="dark"] .slick-arrow,
[data-theme="dark"] .swiper-button-prev,
[data-theme="dark"] .swiper-button-next {
    background-color: #1e293b !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .pagination a,
[data-theme="dark"] .page-numbers {
    background-color: #1e293b !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .page-numbers.current,
[data-theme="dark"] .page-numbers:hover {
    background-color: #0284c7 !important;
    color: #ffffff !important;
}

/* -------------------------------------------------------------
 * 20. Strict Elimination of Free Shipping & Consumer Fluff
 * ------------------------------------------------------------- */
.myfurni-shipping-progress-wrapper,
.motta-free-shipping-bar,
.free-shipping-bar,
.cart-panel-free-shipping,
.widget_shopping_cart .free-shipping-bar,
.widget_shopping_cart .motta-free-shipping-bar,
.mini-cart__free-shipping,
.woocommerce-mini-cart__free-shipping,
.product-delivery-return,
.motta-product-extra-content,
.product-extra-content,
.product-extra-delivery,
.delivery-return {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* -------------------------------------------------------------
 * 21. Header Search Bar & Category Dropdown Visibility
 * ------------------------------------------------------------- */
.header-search__form,
.header-search__container,
.header-search {
    overflow: visible !important;
}

.header-search__categories {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    min-width: 280px !important;
    padding: 16px !important;
    display: none !important;
    z-index: 9999 !important;
}

.header-search__categories.header-search__categories--open,
.header-search__form.categories--open .header-search__categories {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.header-search__categories-title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    color: #0f172a !important;
}

.header-search__categories-close {
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.header-search__categories-container {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    max-height: 320px !important;
    overflow-y: auto !important;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE/Edge */
}

.header-search__categories-container::-webkit-scrollbar,
.header-search__categories-container::-webkit-scrollbar-track,
.header-search__categories-container::-webkit-scrollbar-thumb {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

.header-search__categories-container li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.header-search__categories-container li a {
    position: relative !important;
    display: block !important;
    padding: 9px 14px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    transition: background 0.15s ease, color 0.15s ease !important;
}

/* Strictly remove underline line on hover and active */
.header-search__categories-container li a::before,
.header-search__categories-container li a::after,
.header-search__categories-container li a:hover::after,
.header-search__categories-container li a.active::after,
.header-search__categories-container li a:hover::before,
.header-search__categories-container li a.active::before {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    background: transparent !important;
    border: none !important;
}

.header-search__categories-container li a:hover,
.header-search__categories-container li a.active {
    background: #f1f5f9 !important;
    color: #0284c7 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

[data-theme="dark"] .header-search__categories {
    background: #0f172a !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .header-search__categories-title {
    color: #f8fafc !important;
    border-bottom-color: #334155 !important;
}

[data-theme="dark"] .header-search__categories-container li a {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .header-search__categories-container li a:hover,
[data-theme="dark"] .header-search__categories-container li a.active {
    background: #1e293b !important;
    color: #38bdf8 !important;
    border-bottom: none !important;
}

/* -------------------------------------------------------------
 * 22. Strict Removal of Demo Banners ("Furniture & Co.")
 * ------------------------------------------------------------- */
.page-header,
.shop-page-header,
.page-header--standard,
.page-header--custom,
.page-header__image,
.page-header-bg,
.shop-page-header__image,
.page-header__image-bg,
.page-header__background {
    background-image: none !important;
}

.page-header,
.shop-page-header {
    background: transparent !important;
    padding: 20px 0 !important;
    min-height: auto !important;
}

.page-header .page-header__title,
.shop-page-header .page-header__title,
.page-title {
    color: var(--myfurni-text-heading) !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}

[data-theme="dark"] .page-header .page-header__title,
[data-theme="dark"] .shop-page-header .page-header__title,
[data-theme="dark"] .page-title {
    color: #f8fafc !important;
}

/* -------------------------------------------------------------
 * 23. Similar (Related) Products & Comprehensive Reviews Styling
 * ------------------------------------------------------------- */
.related.products,
.up-sells.products {
    margin-top: 48px !important;
    padding-top: 32px !important;
    border-top: 1px solid #e2e8f0;
}

section.related.products ~ section.related.products {
    display: none !important;
}

.related.products > h2,
.up-sells.products > h2 {
    font-size: 22px !important;
    font-weight: 700 !important;
    margin-bottom: 24px !important;
    color: var(--myfurni-text-heading) !important;
}

[data-theme="dark"] .related.products,
[data-theme="dark"] .up-sells.products {
    border-top-color: #1e293b !important;
}

[data-theme="dark"] .related.products > h2,
[data-theme="dark"] .up-sells.products > h2 {
    color: #f8fafc !important;
}

/* Reviews Section in Complete Dark Mode */
[data-theme="dark"] #reviews,
[data-theme="dark"] .woocommerce-Reviews,
[data-theme="dark"] #comments,
[data-theme="dark"] .commentlist {
    background-color: transparent !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .woocommerce-Reviews-title,
[data-theme="dark"] .comment-reply-title {
    color: #f8fafc !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

[data-theme="dark"] .commentlist {
    list-style: none !important;
    padding: 0 !important;
    margin: 20px 0 !important;
}

[data-theme="dark"] .commentlist li.review,
[data-theme="dark"] .commentlist li.comment,
[data-theme="dark"] .review-item {
    background-color: #111c30 !important;
    background: #111c30 !important;
    border: 1px solid #1e293b !important;
    border-radius: 12px !important;
    padding: 20px 24px !important;
    margin-bottom: 16px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .comment-text {
    border: none !important;
    padding: 0 !important;
}

[data-theme="dark"] .comment-text .meta,
[data-theme="dark"] .comment-text .meta strong,
[data-theme="dark"] .woocommerce-review__author {
    color: #f8fafc !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

[data-theme="dark"] .comment-text .meta time,
[data-theme="dark"] .woocommerce-review__published-date {
    color: #94a3b8 !important;
    font-size: 12px !important;
}

[data-theme="dark"] .comment_container,
[data-theme="dark"] .comment_container p,
[data-theme="dark"] .comment_container .description,
[data-theme="dark"] .comment_container .description p,
[data-theme="dark"] .comment-text,
[data-theme="dark"] .comment-text p,
[data-theme="dark"] .comment-text .description,
[data-theme="dark"] .comment-text .description p,
[data-theme="dark"] .commentlist p,
[data-theme="dark"] .commentlist li,
[data-theme="dark"] .comment-content,
[data-theme="dark"] .comment-content p,
[data-theme="dark"] .comment-body,
[data-theme="dark"] .comment-body p,
[data-theme="dark"] .review__content,
[data-theme="dark"] .review__content p {
    color: #cbd5e1 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

[data-theme="dark"] .comment-content .fn,
[data-theme="dark"] .comment-metadata .fn {
    color: #f8fafc !important;
    font-weight: 700 !important;
}

.related.products .product-inner,
.related.products .product,
.related.products .linked-products-carousel,
.up-sells.products .product-inner,
.up-sells.products .product {
    opacity: 1 !important;
    visibility: visible !important;
}

[data-theme="dark"] .star-rating,
[data-theme="dark"] .star-rating span {
    color: #f59e0b !important;
}

[data-theme="dark"] .woocommerce-review-link {
    color: #38bdf8 !important;
}

[data-theme="dark"] #respond,
[data-theme="dark"] .comment-respond {
    background-color: #111c30 !important;
    background: #111c30 !important;
    border: 1px solid #1e293b !important;
    border-radius: 12px !important;
    padding: 24px !important;
    margin-top: 24px !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] #respond textarea,
[data-theme="dark"] #respond input[type="text"],
[data-theme="dark"] #respond input[type="email"] {
    background-color: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
}

[data-theme="dark"] #respond #submit {
    background-color: #0284c7 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

[data-theme="dark"] #respond #submit:hover {
    background-color: #0369a1 !important;
}

[data-theme="dark"] .product-reviews-overview,
[data-theme="dark"] .reviews-overview,
[data-theme="dark"] .reviews-overview__average,
[data-theme="dark"] .reviews-overview__summary,
[data-theme="dark"] .reviews-overview__ratings {
    background-color: #111c30 !important;
    background: #111c30 !important;
    border-color: #1e293b !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .product-reviews-overview .average-number,
[data-theme="dark"] .reviews-overview__average h2,
[data-theme="dark"] .reviews-overview__average .average-number {
    color: #f8fafc !important;
}

/* -------------------------------------------------------------
 * 24. MyFurni Premium Smoothness & Micro-Interactions Engine
 * ------------------------------------------------------------- */
/* 1. Global Fluid Scrolling & Smooth Transitions */
html {
    scroll-behavior: smooth !important;
}

body,
.site-header,
.site-footer,
.offscreen-panel,
.modal,
.myfurni-preferences-card,
.product-card,
.commentlist li.review,
.commentlist li.comment,
#respond {
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.15s ease, box-shadow 0.25s ease !important;
}

/* 2. Keyframe Animations */
@keyframes myfurniFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes myfurniModalPop {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes myfurniPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* 3. Search Dropdown & Modals Smooth Enter */
.header-search__categories.header-search__categories--open,
.header-search__form.categories--open .header-search__categories {
    animation: myfurniFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

#preferences-modal.open .modal__preferences,
#preferences-modal.modal--open .modal__preferences {
    animation: myfurniModalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

/* 4. Glassmorphic Modal & Panel Backdrops */
.modal__backdrop,
.offscreen-panel__backdrop,
.mfp-bg {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    background: rgba(15, 23, 42, 0.65) !important;
    transition: opacity 0.25s ease !important;
}

/* 5. Product Card Elevation & Micro-Interactions */
.products .product-inner,
.product-card,
.motta-product-card,
.woocommerce ul.products li.product .product-inner {
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    border-radius: 12px !important;
}

.products .product-inner:hover,
.product-card:hover,
.motta-product-card:hover,
.woocommerce ul.products li.product .product-inner:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="dark"] .products .product-inner:hover,
[data-theme="dark"] .product-card:hover,
[data-theme="dark"] .motta-product-card:hover,
[data-theme="dark"] .woocommerce ul.products li.product .product-inner:hover {
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(56, 189, 248, 0.25) !important;
}

/* 6. Buttons & Interactive Elements Hover Tactility */
.motta-button,
.myfurni-b2b-btn,
.header-search__button,
#respond #submit,
.woocommerce a.button,
.woocommerce button.button {
    transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.18s ease, background-color 0.18s ease !important;
}

.motta-button:hover,
.myfurni-b2b-btn:hover,
.header-search__button:hover,
#respond #submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.25) !important;
}

.motta-button:active,
.myfurni-b2b-btn:active,
.header-search__button:active,
#respond #submit:active,
.woocommerce a.button:active,
.woocommerce button.button:active {
    transform: translateY(0) scale(0.98) !important;
    box-shadow: none !important;
}

/* 7. Input Fields Smooth Focus Rings */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
textarea,
select {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2) !important;
    outline: none !important;
}

[data-theme="dark"] input[type="text"]:focus,
[data-theme="dark"] input[type="email"]:focus,
[data-theme="dark"] input[type="tel"]:focus,
[data-theme="dark"] input[type="password"]:focus,
[data-theme="dark"] input[type="search"]:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] select:focus {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2) !important;
}

/* 8. Floating Action Buttons (Back-to-Top & WhatsApp) */
#gotop,
.gotop,
.scroll-to-top,
.back-to-top {
    border-radius: 50% !important;
    background-color: #0284c7 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35) !important;
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease, background-color 0.2s ease !important;
}

#gotop:hover,
.gotop:hover,
.scroll-to-top:hover,
.back-to-top:hover {
    transform: translateY(-3px) scale(1.05) !important;
    background-color: #0369a1 !important;
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.5) !important;
}

[data-theme="dark"] #gotop,
[data-theme="dark"] .gotop,
[data-theme="dark"] .scroll-to-top,
[data-theme="dark"] .back-to-top {
    background-color: #1e293b !important;
    color: #38bdf8 !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] #gotop:hover,
[data-theme="dark"] .gotop:hover,
[data-theme="dark"] .scroll-to-top:hover,
[data-theme="dark"] .back-to-top:hover {
    background-color: #0284c7 !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
    box-shadow: 0 12px 28px rgba(2, 132, 199, 0.4) !important;
}

/* Floating WhatsApp Button Pulse & Hover */
a[href*="wa.me"],
a[href*="whatsapp.com"],
.whatsapp-floating,
.wa-float-btn {
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease !important;
}

a[href*="wa.me"]:hover,
a[href*="whatsapp.com"]:hover,
.whatsapp-floating:hover,
.wa-float-btn:hover {
    transform: scale(1.08) !important;
}

/* 9. Carousel Navigation Buttons */
.slick-arrow,
.swiper-button-prev,
.swiper-button-next,
.motta-swiper-button {
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12) !important;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease !important;
}

.slick-arrow:hover,
.swiper-button-prev:hover,
.swiper-button-next:hover,
.motta-swiper-button:hover {
    transform: scale(1.08) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18) !important;
}

[data-theme="dark"] .slick-arrow,
[data-theme="dark"] .swiper-button-prev,
[data-theme="dark"] .swiper-button-next,
[data-theme="dark"] .motta-swiper-button {
    background-color: #1e293b !important;
    color: #f8fafc !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .slick-arrow:hover,
[data-theme="dark"] .swiper-button-prev:hover,
[data-theme="dark"] .swiper-button-next:hover,
[data-theme="dark"] .motta-swiper-button:hover {
    background-color: #0284c7 !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
}

/* 10. Specifications Table Row Subtle Hover */
.woocommerce-product-details__short-description table tr,
.myfurni-product-specs-box table tr,
.shop_attributes tr {
    transition: background-color 0.15s ease !important;
}

[data-theme="dark"] .woocommerce-product-details__short-description table tr:hover,
[data-theme="dark"] .myfurni-product-specs-box table tr:hover,
[data-theme="dark"] .shop_attributes tr:hover {
    background-color: rgba(56, 189, 248, 0.06) !important;
}

/* -------------------------------------------------------------
 * 11. Shopee / Lazada Interactive Product Image Zoom Engine
 * ------------------------------------------------------------- */
/* Hide non-functional floating lightbox square button */
.single-product div.product .motta-product-images-buttons,
.single-product div.product .motta-button--product-lightbox,
.single-product div.product .woocommerce-product-gallery__trigger,
.woocommerce-product-gallery .motta-product-images-buttons {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Product gallery main image container & enlarged showcase */
.single-product div.product .woocommerce-product-gallery__wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
}

.single-product div.product .woocommerce-product-gallery__image {
    position: relative !important;
    overflow: hidden !important;
    cursor: crosshair !important;
    border-radius: 16px !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 520px !important;
    min-height: 380px !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

[data-theme="dark"] .single-product div.product .woocommerce-product-gallery__image,
html.dark-theme .single-product div.product .woocommerce-product-gallery__image {
    background-color: #ffffff !important;
    border: 1px solid #1e293b !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45) !important;
}

.single-product div.product .woocommerce-product-gallery__image a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

/* Main image zoom transition & crisp scaling */
.single-product div.product .woocommerce-product-gallery__image img,
.single-product div.product .woocommerce-product-gallery img.wp-post-image {
    display: block !important;
    width: 100% !important;
    max-width: 480px !important;
    height: auto !important;
    max-height: 440px !important;
    object-fit: contain !important;
    transform-origin: center center;
    transition: transform 0.12s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    will-change: transform, transform-origin !important;
    pointer-events: none !important;
    image-rendering: -webkit-optimize-contrast;
}

.single-product div.product .woocommerce-product-gallery__image.is-zoomed img {
    transform: scale(1.8) !important;
}

/* -------------------------------------------------------------
 * 25. Search Bar – Clean Unified Pill (Light & Dark Mode)
 * ------------------------------------------------------------- */
/*
 * HOW MOTTA RENDERS THE SEARCH BAR:
 *  .header-search (max-width container)
 *    └── .header-search__form  (flexbox row, no visual styling from Motta)
 *          ├── .header-search__container.motta-type--input-text  ← THE VISUAL PILL
 *          │     ├── [icon] .header-search__icon
 *          │     ├── .header-search__field  (text input)
 *          │     ├── .header-search__divider
 *          │     └── .header-search__categories-label
 *          ├── .header-search__button  (search submit btn)
 *          └── .header-search__results (live dropdown)
 *
 * We override .motta-type--input-text on the container as the visual pill.
 */

/* ── Outer wrapper ─────────────────────────────────────────── */
.header-search {
    position: relative !important;
    width: 100% !important;
    max-width: 560px !important;
}

/* ── Form row (no visual border/bg – just layout) ─────────── */
.header-search__form {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: 48px !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    gap: 6px !important;
}

/* ── THE actual visual pill: .header-search__container ──────── */
.header-search__container,
.header-search__container.motta-type--input-text {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    height: 100% !important;
    padding: 0 6px 0 18px !important;
    margin: 0 !important;
    background-color: #ffffff !important;
    border: 1.5px solid #d1d5db !important;
    border-radius: 9999px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: visible !important;
}

.header-search__container.motta-type--input-text:focus-within,
.header-search__form--focused .header-search__container,
.header-search__form--focused .header-search__container.motta-type--input-text {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

/* ── Text input inside the pill ──────────────────────────── */
.header-search__field,
.header-search__container .header-search__field,
.header-search input[type="text"],
.header-search input[type="search"] {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
    color: #111827 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    padding: 0 8px 0 0 !important;
    margin: 0 !important;
    height: auto !important;
    line-height: normal !important;
}

.header-search__field:focus,
.header-search input[type="text"]:focus,
.header-search input[type="search"]:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.header-search input::placeholder,
.header-search__field::placeholder {
    color: #9ca3af !important;
    font-weight: 400 !important;
}

/* ── Search icon (left of input if present) ─────────────── */
.header-search__icon {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    color: #9ca3af !important;
    margin-right: 8px !important;
    margin-left: 0 !important;
}

/* ── Close/spinner icon ─────────────────────────────────── */
.header-search .close-search-results {
    color: #9ca3af !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    margin: 0 4px !important;
}

.header-search .close-search-results:hover {
    color: #374151 !important;
}

/* ── Divider line between input and category chip ────────── */
.header-search__divider {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    margin: 0 2px !important;
}

.header-search__divider::before {
    display: block !important;
    content: '' !important;
    width: 1px !important;
    height: 18px !important;
    background-color: #e5e7eb !important;
}

/* ── Category selector label ─────────────────────────────── */
.header-search__categories-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    margin: 0 2px !important;
    padding: 4px 10px !important;
    border-radius: 9999px !important;
    background: #f3f4f6 !important;
    color: #6b7280 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    transition: background 0.15s ease, color 0.15s ease !important;
    border: none !important;
    line-height: 1.4 !important;
    max-width: 130px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.header-search__categories-label:hover {
    background: #e5e7eb !important;
    color: #111827 !important;
}

.header-search__categories-label svg,
.header-search__categories-label .motta-svg-icon svg {
    width: 10px !important;
    height: 10px !important;
    fill: currentColor !important;
    flex-shrink: 0 !important;
}

/* ── Search submit button ────────────────────────────────── */
.header-search__button {
    flex-shrink: 0 !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 50% !important;
    background: #0284c7 !important;
    color: #ffffff !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3) !important;
    transition: background 0.15s ease, transform 0.1s ease !important;
}

.header-search__button:hover {
    background: #0369a1 !important;
    transform: scale(1.05) !important;
}

.header-search__button svg {
    fill: currentColor !important;
    color: #ffffff !important;
    width: 16px !important;
    height: 16px !important;
    display: block !important;
    margin: 0 !important;
}

/* ── Hide trending overlay ───────────────────────────────── */
.header-search__trending--outside,
.header-search__trending {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* ── Category dropdown popup ─────────────────────────────── */
.header-search__categories {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    background: #ffffff !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 32px -4px rgba(0, 0, 0, 0.12) !important;
    min-width: 220px !important;
    max-width: 320px !important;
    padding: 10px !important;
    display: none !important;
    z-index: 999999 !important;
}

.header-search__categories.header-search__categories--open,
.header-search__form.categories--open .header-search__categories {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ═══════════════════════════════════════════════════════════
 * DARK MODE
 * ═══════════════════════════════════════════════════════════ */
[data-theme="dark"] .header-search__container,
[data-theme="dark"] .header-search__container.motta-type--input-text {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .header-search__container.motta-type--input-text:focus-within,
[data-theme="dark"] .header-search__form--focused .header-search__container {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2) !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
}

[data-theme="dark"] .header-search__field,
[data-theme="dark"] .header-search input[type="text"],
[data-theme="dark"] .header-search input[type="search"] {
    color: #f9fafb !important;
}

[data-theme="dark"] .header-search input::placeholder,
[data-theme="dark"] .header-search__field::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
}

[data-theme="dark"] .header-search__icon {
    color: rgba(255, 255, 255, 0.5) !important;
}

[data-theme="dark"] .header-search__divider::before {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

[data-theme="dark"] .header-search__categories-label {
    background: rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

[data-theme="dark"] .header-search__categories-label:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .header-search__button {
    background: #0284c7 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.5) !important;
}

[data-theme="dark"] .header-search__button:hover {
    background: #38bdf8 !important;
}

[data-theme="dark"] .header-search .close-search-results {
    color: rgba(255, 255, 255, 0.4) !important;
}

[data-theme="dark"] .header-search .close-search-results:hover {
    color: #f9fafb !important;
}

[data-theme="dark"] .header-search__categories {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
}

/* ═══════════════════════════════════════════════════════════
 * RESPONSIVE
 * ═══════════════════════════════════════════════════════════ */
/* Tablet / narrow desktop */
@media (max-width: 991px) {
    .header-search {
        max-width: 100% !important;
    }

    .header-search__form {
        height: 46px !important;
    }

    .header-search__container,
    .header-search__container.motta-type--input-text {
        padding-left: 14px !important;
        padding-right: 6px !important;
    }

    .header-search__button {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
    }

    .header-search__categories-label {
        max-width: 110px !important;
    }
}

/* Small tablets */
@media (max-width: 640px) {
    .header-search__categories-label {
        max-width: 90px !important;
        padding: 4px 8px !important;
        font-size: 11px !important;
    }

    .header-search__field,
    .header-search input[type="text"],
    .header-search input[type="search"] {
        font-size: 13px !important;
    }
}

/* Mobile: hide category chip to maximise input width */
@media (max-width: 480px) {
    .header-search__divider {
        display: none !important;
    }

    .header-search__categories-label {
        display: none !important;
    }

    .header-search__container,
    .header-search__container.motta-type--input-text {
        padding-left: 12px !important;
    }
}


/* -------------------------------------------------------------
 * 26. Product Card Action & "Read More" Buttons Inside The Card
 * ------------------------------------------------------------- */
/* Force .product-inner to act as a structured vertical flex column */
ul.products li.product .product-inner,
.products .product .product-inner {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    position: relative !important;
    padding-bottom: 14px !important;
}

/* Summary expands so buttons sit docked at the bottom */
ul.products li.product .product-summary,
.products .product .product-summary {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
}

/* Keep price group visible and in normal flow */
ul.products.product-card-layout-3 li.product .product-price-group,
ul.products li.product .product-price-group {
    min-height: auto !important;
    margin-top: 8px !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

ul.products.product-card-layout-3 li.product .product-inner:hover .product-price-group > * {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Neutralize Motta layout-3 hover fly-up and keep buttons inside card */
ul.products.product-card-layout-3 li.product .product-actions,
ul.products li.product .product-actions,
ul.products li.product .product-loop-actions,
.woocommerce ul.products li.product .product-actions {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 0 !important;
    margin-top: auto !important;
    padding-top: 10px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

ul.products.product-card-layout-3 li.product .product-inner:hover .product-actions,
ul.products li.product .product-inner:hover .product-actions {
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Button appearance inside card: clean, aligned, high-contrast */
ul.products li.product .product-actions a.button,
ul.products li.product .product-actions .add_to_cart_button,
ul.products li.product .product-actions .button,
ul.products li.product .product-loop-actions a.button {
    flex: 1 1 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 9px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: var(--myfurni-radius-btn) !important;
    text-align: center !important;
    background: #0284c7 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 2px 4px rgba(2, 132, 199, 0.2) !important;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.15s ease !important;
    line-height: 1.3 !important;
}

ul.products li.product .product-actions a.button:hover,
ul.products li.product .product-actions .add_to_cart_button:hover,
ul.products li.product .product-actions .button:hover {
    background: #0369a1 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

/* Dark mode action buttons */
[data-theme="dark"] ul.products li.product .product-actions a.button,
[data-theme="dark"] ul.products li.product .product-actions .add_to_cart_button,
[data-theme="dark"] ul.products li.product .product-actions .button {
    background-color: #0284c7 !important;
    color: #ffffff !important;
    border: 1px solid #0284c7 !important;
}

[data-theme="dark"] ul.products li.product .product-actions a.button:hover,
[data-theme="dark"] ul.products li.product .product-actions .add_to_cart_button:hover,
[data-theme="dark"] ul.products li.product .product-actions .button:hover {
    background-color: #38bdf8 !important;
    border-color: #38bdf8 !important;
    color: #0f172a !important;
}

/* -------------------------------------------------------------
 * 27. Bug Fix: PhotoSwipe Black Screen on Esc
 * ------------------------------------------------------------- */
.pswp {
    z-index: 100050 !important;
}

.pswp:not(.pswp--open):not(.pswp--animate_opacity) {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.pswp__bg {
    transition: opacity 0.25s ease !important;
}

body.pswp-scrollbar-offset {
    margin-right: 0 !important;
}

/* -------------------------------------------------------------
 * 28. Live Search Results Dropdown & Theme Matching
 * ------------------------------------------------------------- */
.header-search__results,
.search-results.woocommerce {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    background-color: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.12), 0 8px 16px -4px rgba(0, 0, 0, 0.06) !important;
    z-index: 99999 !important;
    margin-top: 0 !important;
    overflow: hidden !important;
    transform: none !important;
}

.header-search__results .search-list .list-item {
    display: flex !important;
    align-items: center !important;
    padding: 12px 18px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    gap: 14px !important;
    color: #1e293b !important;
    transition: background-color 0.15s ease !important;
}

.header-search__results .search-list .list-item:hover {
    background-color: #f8fafc !important;
}

.header-search__results .search-list .list-item:last-child {
    border-bottom: none !important;
}

.header-search__results .search-list .image-item {
    width: 52px !important;
    height: 52px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    padding: 4px !important;
}

.header-search__results .search-list .image-item img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.header-search__results .search-list .content-item {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.header-search__results .search-list .title-item {
    color: #0f172a !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    line-height: 1.3 !important;
}

.header-search__results .search-list .title-item:hover {
    color: #0284c7 !important;
}

.header-search__results .search-list .price-item,
.header-search__results .price-item .amount {
    color: #0284c7 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.header-search__results .myfurni-loop-b2b-price {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #0284c7 !important;
}

.header-search__results .result-list-not-found .list-item {
    color: #64748b !important;
    font-size: 13px !important;
    padding: 20px 16px !important;
    justify-content: center !important;
    text-align: center !important;
}

.header-search__results .view-more {
    background: #f8fafc !important;
    padding: 10px 16px !important;
    text-align: center !important;
    justify-content: center !important;
}

.header-search__results .view-more a {
    color: #0284c7 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
}

/* Dark Mode Dropdown Container */
[data-theme="dark"] .header-search__results,
[data-theme="dark"] .search-results.woocommerce {
    background-color: #0f172a !important;
    border: 1.5px solid #334155 !important;
    box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.7) !important;
}

[data-theme="dark"] .header-search__results .search-list .list-item {
    border-bottom: 1px solid #1e293b !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .header-search__results .search-list .list-item:hover {
    background-color: #1e293b !important;
}

[data-theme="dark"] .header-search__results .search-list .image-item {
    background: #1e293b !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .header-search__results .search-list .title-item {
    color: #f8fafc !important;
}

[data-theme="dark"] .header-search__results .search-list .title-item:hover {
    color: #38bdf8 !important;
}

[data-theme="dark"] .header-search__results .search-list .price-item,
[data-theme="dark"] .header-search__results .price-item .amount,
[data-theme="dark"] .header-search__results .myfurni-loop-b2b-price {
    color: #38bdf8 !important;
}

[data-theme="dark"] .header-search__results .result-list-not-found .list-item {
    color: #94a3b8 !important;
}

[data-theme="dark"] .header-search__results .view-more {
    background: #1e293b !important;
}

[data-theme="dark"] .header-search__results .view-more a {
    color: #38bdf8 !important;
}


/* =============================================================
 * 29. My Account / Login Page — Full Light & Dark Theme
 * ============================================================= */

/* Full container width so logged-in dashboard and guest login layout naturally */
.woocommerce-account .woocommerce,
.woocommerce-page.woocommerce-account .woocommerce {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* Dedicated, spacious Card for Sign-in & Registration (Fixes 225px squished laptop bug) */
.woocommerce-account:not(.logged-in) .woocommerce-account__summary {
    width: 100% !important;
    max-width: 520px !important;
    margin: 48px auto 64px !important;
    padding: 36px 40px 40px !important;
    background: var(--myfurni-surface-white, #ffffff);
    border: 1px solid var(--myfurni-border-color, #e2e8f0);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    overflow: hidden;
}

@media (max-width: 576px) {
    .woocommerce-account:not(.logged-in) .woocommerce-account__summary {
        margin: 24px auto 40px !important;
        padding: 24px 20px 28px !important;
        border-radius: 8px;
    }
}

/* Tab Headings (Sign in / Create Account) */
.woocommerce-account:not(.logged-in) .woocommerce-account__heading {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 28px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 12px;
}

.woocommerce-account:not(.logged-in) .woocommerce-account__heading h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
    padding-bottom: 6px;
    position: relative;
}

.woocommerce-account:not(.logged-in) .woocommerce-account__heading h2.active {
    color: #0f172a;
    font-weight: 700;
}

.woocommerce-account:not(.logged-in) .woocommerce-account__heading h2.active::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--myfurni-primary-color, #0f172a);
}

/* Inner forms inside Motta summary slider: no duplicate border or nested padding */
.woocommerce-account:not(.logged-in) .woocommerce-form-login,
.woocommerce-account:not(.logged-in) .woocommerce-form-register {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Form Fields & Labels */
.woocommerce-account:not(.logged-in) .woocommerce-form .form-row {
    margin-bottom: 18px;
}

.woocommerce-account:not(.logged-in) .woocommerce-form label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: #334155;
    margin-bottom: 6px;
}

.woocommerce-account:not(.logged-in) .woocommerce-form .input-text {
    width: 100% !important;
    min-height: 46px;
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #ffffff;
    color: #0f172a;
}

.woocommerce-account:not(.logged-in) .woocommerce-form .input-text:focus {
    border-color: #0f172a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

/* Remember me & Forgot Password Row */
.woocommerce-account:not(.logged-in) .woocommerce-form .form-row-remember {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 14px 0 22px;
    font-size: 13px;
}

.woocommerce-account:not(.logged-in) .woocommerce-form .form-row-remember a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.woocommerce-account:not(.logged-in) .woocommerce-form .form-row-remember a:hover {
    text-decoration: underline;
}

/* Submit Button */
.woocommerce-account:not(.logged-in) .woocommerce-form button.button {
    width: 100%;
    min-height: 48px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Switch Links (New Customer? Create account / Already a member?) */
.woocommerce-account:not(.logged-in) .motta-create-account,
.woocommerce-account:not(.logged-in) .motta-sign-in {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
}

.woocommerce-account:not(.logged-in) .motta-create-account a,
.woocommerce-account:not(.logged-in) .motta-sign-in a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.woocommerce-account:not(.logged-in) .motta-create-account a:hover,
.woocommerce-account:not(.logged-in) .motta-sign-in a:hover {
    text-decoration: underline;
}

/* Standalone Lost Password form */
.woocommerce-ResetPassword {
    max-width: 480px;
    margin: 40px auto;
    background: var(--myfurni-surface-white, #ffffff);
    border: 1px solid var(--myfurni-border-color, #e2e8f0);
    border-radius: 12px;
    padding: 36px 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

/* Dark mode: My Account page body */
[data-theme="dark"] .woocommerce-account #page,
[data-theme="dark"] .woocommerce-account .site-main,
[data-theme="dark"] .woocommerce-account .entry-content,
[data-theme="dark"] .woocommerce-account .woocommerce {
    background-color: #0b0f19 !important;
    color: #cbd5e1 !important;
}

/* Dark mode: Sign-in & Register Card */
[data-theme="dark"] .woocommerce-account:not(.logged-in) .woocommerce-account__summary,
[data-theme="dark"] .woocommerce-ResetPassword {
    background-color: #0f172a !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .woocommerce-account:not(.logged-in) .woocommerce-account__heading {
    border-bottom-color: #1e293b;
}

[data-theme="dark"] .woocommerce-account:not(.logged-in) .woocommerce-account__heading h2 {
    color: #64748b;
}

[data-theme="dark"] .woocommerce-account:not(.logged-in) .woocommerce-account__heading h2.active {
    color: #f8fafc;
}

[data-theme="dark"] .woocommerce-account:not(.logged-in) .woocommerce-account__heading h2.active::after {
    background-color: #38bdf8;
}

[data-theme="dark"] .woocommerce-account:not(.logged-in) .woocommerce-form label {
    color: #e2e8f0;
}

[data-theme="dark"] .woocommerce-account:not(.logged-in) .woocommerce-form .input-text {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .woocommerce-account:not(.logged-in) .woocommerce-form .input-text:focus {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15) !important;
}

[data-theme="dark"] .woocommerce-account:not(.logged-in) .woocommerce-form .form-row-remember a,
[data-theme="dark"] .woocommerce-account:not(.logged-in) .motta-create-account a,
[data-theme="dark"] .woocommerce-account:not(.logged-in) .motta-sign-in a {
    color: #38bdf8;
}

[data-theme="dark"] .woocommerce-form-login p,
[data-theme="dark"] .woocommerce-form-register p,
[data-theme="dark"] .woocommerce-form-login .woocommerce-privacy-policy-text {
    color: #94a3b8 !important;
}

[data-theme="dark"] .woocommerce-form-login a,
[data-theme="dark"] .woocommerce-form-register a {
    color: #38bdf8 !important;
}

[data-theme="dark"] .woocommerce-form-login a:hover,
[data-theme="dark"] .woocommerce-form-register a:hover {
    color: #7dd3fc !important;
}

/* Dark mode: My Account navigation sidebar */
[data-theme="dark"] .woocommerce-MyAccount-navigation,
[data-theme="dark"] .woocommerce-MyAccount-navigation ul,
[data-theme="dark"] .woocommerce-MyAccount-navigation li {
    background-color: #0f172a !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .woocommerce-MyAccount-navigation li a {
    color: #94a3b8 !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .woocommerce-MyAccount-navigation li.is-active a,
[data-theme="dark"] .woocommerce-MyAccount-navigation li a:hover {
    color: #38bdf8 !important;
    background-color: #1e293b !important;
}

/* Dark mode: My Account content area */
[data-theme="dark"] .woocommerce-MyAccount-content,
[data-theme="dark"] .woocommerce-account .woocommerce-MyAccount-content {
    background-color: #0f172a !important;
    color: #cbd5e1 !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .woocommerce-MyAccount-content h3,
[data-theme="dark"] .woocommerce-MyAccount-content h4,
[data-theme="dark"] .woocommerce-MyAccount-content strong {
    color: #f8fafc !important;
}

[data-theme="dark"] .woocommerce-MyAccount-content a {
    color: #38bdf8 !important;
}

[data-theme="dark"] .woocommerce-MyAccount-content table th {
    background-color: #18263f !important;
    color: #f8fafc !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .woocommerce-MyAccount-content table td {
    background-color: #0f172a !important;
    color: #cbd5e1 !important;
    border-color: #1e293b !important;
}

/* Dark mode: WooCommerce notices */
[data-theme="dark"] .woocommerce-message,
[data-theme="dark"] .woocommerce-info,
[data-theme="dark"] .woocommerce-error {
    background-color: #111c30 !important;
    border-color: #1e293b !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .woocommerce-message::before,
[data-theme="dark"] .woocommerce-info::before {
    color: #38bdf8 !important;
}

[data-theme="dark"] .woocommerce-message a,
[data-theme="dark"] .woocommerce-info a {
    color: #38bdf8 !important;
}


/* =============================================================
 * 30. Hamburger Panel Extras — Account & Preferences Links
 * ============================================================= */
.myfurni-hamburger-extras {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 20px 16px;
    border-top: 1px solid var(--myfurni-border-color);
    margin-top: 8px;
}

.myfurni-hamburger-account-link,
.myfurni-hamburger-pref-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--myfurni-text-body);
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    font-family: var(--myfurni-font-body);
    transition: background-color 0.18s ease, color 0.18s ease;
}

.myfurni-hamburger-account-link:hover,
.myfurni-hamburger-pref-btn:hover {
    background-color: var(--myfurni-surface-subtle);
    color: var(--myfurni-color-accent);
}

.myfurni-hamburger-account-link svg,
.myfurni-hamburger-pref-btn svg {
    flex-shrink: 0;
    opacity: 0.75;
}

/* Dark mode: hamburger extras */
[data-theme="dark"] .myfurni-hamburger-extras {
    border-top-color: #1e293b !important;
}

[data-theme="dark"] .myfurni-hamburger-account-link,
[data-theme="dark"] .myfurni-hamburger-pref-btn {
    color: #cbd5e1 !important;
    background: transparent !important;
}

[data-theme="dark"] .myfurni-hamburger-account-link:hover,
[data-theme="dark"] .myfurni-hamburger-pref-btn:hover {
    background-color: #1e293b !important;
    color: #38bdf8 !important;
}

/* =============================================================
 * 30b. Hamburger Menu Panel — Subtle Accessibility Night Toggle
 * (Appears only once in the opened navbar panel; compact & minimal)
 * ============================================================= */
.myfurni-hamburger-night-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 10px 20px 14px !important;
    margin-top: 6px !important;
    border-top: 1px solid var(--myfurni-border-color, rgba(0, 0, 0, 0.08)) !important;
    background: transparent !important;
}

.myfurni-hamburger-night-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 28px !important;
    min-height: 0 !important;
    line-height: normal !important;
    padding: 3px 10px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.2px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    font-family: inherit !important;
    background: rgba(0, 0, 0, 0.03) !important;
    background-color: rgba(0, 0, 0, 0.03) !important;
    color: var(--myfurni-text-muted, #64748b) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: none !important;
    transition: all 0.18s ease !important;
}

.myfurni-hamburger-night-toggle:hover {
    background: rgba(0, 0, 0, 0.07) !important;
    background-color: rgba(0, 0, 0, 0.07) !important;
    color: var(--myfurni-text-heading, #0f172a) !important;
    border-color: rgba(0, 0, 0, 0.18) !important;
    box-shadow: none !important;
}

.myfurni-hamburger-night-toggle .myfurni-night-toggle-icon {
    font-size: 12px !important;
    line-height: 1 !important;
    display: inline-block !important;
    transition: transform 0.25s ease !important;
}

.myfurni-hamburger-night-toggle:hover .myfurni-night-toggle-icon {
    transform: scale(1.15);
}

.myfurni-hamburger-night-toggle .myfurni-night-toggle-text {
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
}

/* Dark mode: Subtle accessibility night toggle */
[data-theme="dark"] .myfurni-hamburger-night-wrapper {
    border-top-color: #1e293b !important;
    background: transparent !important;
}

[data-theme="dark"] .myfurni-hamburger-night-toggle {
    background: rgba(255, 255, 255, 0.04) !important;
    background-color: rgba(255, 255, 255, 0.04) !important;
    color: #94a3b8 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: none !important;
}

[data-theme="dark"] .myfurni-hamburger-night-toggle:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #f1f5f9 !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    box-shadow: none !important;
}

/* Ensure any floating desktop toggle is permanently hidden */
.myfurni-desktop-corner-toggle {
    display: none !important;
}


/* =============================================================
 * 31. Cart Page — Additional Dark Mode & UI Polish
 * ============================================================= */

/* Cart form table additional coverage */
[data-theme="dark"] .woocommerce-cart-form table.shop_table {
    background-color: #0f172a !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .woocommerce-cart-form .cart_item td {
    background-color: #0f172a !important;
    border-bottom-color: #1e293b !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .woocommerce-cart-form .product-name a {
    color: #f8fafc !important;
}

[data-theme="dark"] .woocommerce-cart-form .product-name a:hover {
    color: #38bdf8 !important;
}

[data-theme="dark"] .woocommerce-cart-form .product-remove a {
    color: #ef4444 !important;
}

/* Coupon area in dark mode */
[data-theme="dark"] .coupon input[type="text"],
[data-theme="dark"] .cart-collaterals input[type="text"] {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

/* Update cart button */
[data-theme="dark"] .actions .button[name="update_cart"] {
    background-color: #1e293b !important;
    color: #94a3b8 !important;
    border: 1px solid #334155 !important;
}

/* Apply coupon button */
[data-theme="dark"] .actions .button[name="apply_coupon"],
[data-theme="dark"] .coupon .button {
    background-color: #0284c7 !important;
    color: #ffffff !important;
    border: none !important;
}

/* Cart totals: shipping, total rows */
[data-theme="dark"] .cart_totals h2 {
    color: #f8fafc !important;
}

[data-theme="dark"] .cart_totals .woocommerce-shipping-calculator a {
    color: #38bdf8 !important;
}


/* =============================================================
 * 32. AJAX Add-to-Cart Spinner — Graceful Degradation
 * ============================================================= */

/* While AJAX is loading — still looks intentional */
.woocommerce-page .single_add_to_cart_button.loading,
.woocommerce .single_add_to_cart_button.loading {
    opacity: 0.75 !important;
    pointer-events: none !important;
    position: relative !important;
}

.woocommerce-page .single_add_to_cart_button.loading::after,
.woocommerce .single_add_to_cart_button.loading::after {
    content: '' !important;
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    margin-left: 10px !important;
    border: 2px solid rgba(255,255,255,0.4) !important;
    border-top-color: #ffffff !important;
    border-radius: 50% !important;
    animation: myfurniSpinner 0.65s linear infinite !important;
    vertical-align: middle !important;
}

@keyframes myfurniSpinner {
    to { transform: rotate(360deg); }
}

/* Added to cart success state */
.woocommerce-page .single_add_to_cart_button.added,
.woocommerce .single_add_to_cart_button.added {
    background: #059669 !important;
    color: #ffffff !important;
}


/* =============================================================
 * 33. Checkout Page — Comprehensive Polish & Dark Mode
 * ============================================================= */

/* Checkout layout improvements */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout #order_review_heading {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--myfurni-text-heading);
}

/* Checkout field labels */
.woocommerce-checkout .woocommerce-input-wrapper label,
.woocommerce-checkout .form-row label {
    font-weight: 600;
    font-size: 13px;
    color: var(--myfurni-text-body);
    margin-bottom: 4px;
}

/* Checkout input hover state */
.woocommerce-checkout input[type="text"]:hover,
.woocommerce-checkout input[type="email"]:hover,
.woocommerce-checkout input[type="tel"]:hover,
.woocommerce-checkout select:hover,
.woocommerce-checkout textarea:hover {
    border-color: #94a3b8;
}

/* Dark mode: checkout page background */
[data-theme="dark"] .woocommerce-checkout #page,
[data-theme="dark"] .woocommerce-checkout .site-main,
[data-theme="dark"] .woocommerce-page.woocommerce-checkout .site-main {
    background-color: #0b0f19 !important;
}

/* Dark mode: checkout headings */
[data-theme="dark"] .woocommerce-checkout .woocommerce-billing-fields h3,
[data-theme="dark"] .woocommerce-checkout .woocommerce-shipping-fields h3,
[data-theme="dark"] .woocommerce-checkout #order_review_heading {
    color: #f8fafc !important;
}

/* Dark mode: checkout field labels */
[data-theme="dark"] .woocommerce-checkout .woocommerce-input-wrapper label,
[data-theme="dark"] .woocommerce-checkout .form-row label {
    color: #94a3b8 !important;
}

/* Dark mode: checkout order review panel */
[data-theme="dark"] .woocommerce-checkout #order_review {
    background-color: #0f172a !important;
    border-color: #1e293b !important;
}

/* Dark mode: checkout order review table */
[data-theme="dark"] .woocommerce-checkout-review-order table.shop_table th,
[data-theme="dark"] .checkout-review-order table th {
    background-color: #18263f !important;
    color: #f8fafc !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .woocommerce-checkout-review-order table.shop_table td,
[data-theme="dark"] .checkout-review-order table td {
    background-color: #111c30 !important;
    color: #cbd5e1 !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .woocommerce-checkout-review-order .order-total th,
[data-theme="dark"] .woocommerce-checkout-review-order .order-total td {
    color: #f8fafc !important;
    font-weight: 700 !important;
}

/* Dark mode: payment section */
[data-theme="dark"] .woocommerce-checkout #payment {
    background-color: #111c30 !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .woocommerce-checkout .payment_methods li label {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .woocommerce-checkout .payment_methods li label a {
    color: #38bdf8 !important;
}

/* Dark mode: checkout notices */
[data-theme="dark"] .woocommerce-checkout .woocommerce-info {
    background-color: #111c30 !important;
    border-color: #1e293b !important;
    color: #94a3b8 !important;
}

/* Checkout "returning customer" login link */
[data-theme="dark"] .woocommerce-checkout .woocommerce-info a {
    color: #38bdf8 !important;
}


/* =============================================================
 * 34. WooCommerce Account — Logged-In Dashboard Dark Mode
 * ============================================================= */

[data-theme="dark"] .woocommerce-account .woocommerce-orders-table th,
[data-theme="dark"] .woocommerce-account .woocommerce-wishlist-table th {
    background-color: #18263f !important;
    color: #f8fafc !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .woocommerce-account .woocommerce-orders-table td,
[data-theme="dark"] .woocommerce-account .woocommerce-wishlist-table td {
    background-color: #0f172a !important;
    color: #cbd5e1 !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .woocommerce-account .woocommerce-orders-table .woocommerce-button {
    background-color: #0284c7 !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
}

[data-theme="dark"] .woocommerce-account address {
    background-color: #111c30 !important;
    border-color: #1e293b !important;
    color: #cbd5e1 !important;
}

/* Edit address button */
[data-theme="dark"] .woocommerce-account .woocommerce-Address-title .edit {
    color: #38bdf8 !important;
}

/* ==========================================================================
 * 35. Header Search Bar Spacing & Alignment
 * ========================================================================== */
.header-search__button {
    height: 38px !important;
    width: 38px !important;
    min-width: 38px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 4px !important;
    flex-shrink: 0 !important;
    align-self: center !important;
    border-radius: 50% !important;
}

.header-search__button .motta-button__icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
    width: auto !important;
    line-height: 1 !important;
    position: static !important;
    top: auto !important;
    transform: none !important;
}

.header-search__button .motta-button__icon svg {
    width: 17px !important;
    height: 17px !important;
    margin: 0 !important;
    display: block !important;
    vertical-align: middle !important;
}

.header-search__categories-label {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 6px 0 10px !important;
    padding: 4px 12px !important;
    max-width: 150px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    cursor: pointer;
    border-radius: 9999px;
    background-color: rgba(0, 0, 0, 0.03);
    transition: background-color 0.2s;
}

.header-search__categories-label:hover {
    background-color: rgba(0, 0, 0, 0.06);
}

.header-search__categories-label .header-search__categories-text {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 110px !important;
    white-space: nowrap !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

.header-search__categories-label span.motta-svg-icon {
    margin-left: 6px !important;
    position: static !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    flex-shrink: 0;
}

.header-search__form {
    align-items: center !important;
    padding: 3px 4px 3px 14px !important;
    border-radius: 9999px !important;
    box-sizing: border-box !important;
}

[data-theme="dark"] .header-search__categories-label {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #e2e8f0 !important;
}

[data-theme="dark"] .header-search__categories-label:hover {
    background-color: rgba(255, 255, 255, 0.14) !important;
}

[data-theme="dark"] .header-search__categories-label .header-search__categories-text {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .header-search__categories-label span.motta-svg-icon svg {
    fill: #94a3b8 !important;
}

/* ==========================================================================
 * 36. Customer Registration Form Styling
 * ========================================================================== */
.woocommerce-account .woocommerce-account__summary {
    max-width: 520px;
    margin: 0 auto 40px auto;
}

.myfurni-reg-row {
    display: flex;
    gap: 16px;
    width: 100%;
}

.myfurni-reg-row .form-row-first,
.myfurni-reg-row .form-row-last {
    flex: 1 1 50%;
    width: 50% !important;
    margin-bottom: 16px !important;
}

@media (max-width: 640px) {
    .myfurni-reg-row {
        flex-direction: column;
        gap: 0;
    }
    .myfurni-reg-row .form-row-first,
    .myfurni-reg-row .form-row-last {
        width: 100% !important;
    }
}

.woocommerce-account .woocommerce-form-register .form-row {
    margin-bottom: 16px;
}

.woocommerce-account .woocommerce-form-register .form-row label {
    display: block;
    font-size: 13.5px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #1e293b;
}

.woocommerce-account .woocommerce-form-register .form-row label .required {
    color: #ef4444;
    text-decoration: none;
    font-weight: bold;
}

.woocommerce-account .woocommerce-form-register .form-row label .optional {
    color: #64748b;
    font-weight: 400;
    font-size: 12px;
}

.woocommerce-account .woocommerce-form-register input.input-text {
    width: 100%;
    height: 44px;
    padding: 8px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    background-color: #ffffff;
    color: #0f172a;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.woocommerce-account .woocommerce-form-register input.input-text:focus {
    border-color: #0284c7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.woocommerce-account .woocommerce-form-register .woocommerce-form-register__submit {
    width: 100%;
    height: 46px;
    border-radius: 8px;
    background-color: #0284c7;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    margin-top: 8px;
}

.woocommerce-account .woocommerce-form-register .woocommerce-form-register__submit:hover {
    background-color: #0369a1;
}

.woocommerce-account .motta-sign-in,
.woocommerce-account .motta-create-account {
    text-align: center;
    margin-top: 18px;
    font-size: 13.5px;
}

.woocommerce-account .motta-sign-in a,
.woocommerce-account .motta-create-account a {
    color: #0284c7;
    font-weight: 500;
    text-decoration: none;
}

.woocommerce-account .motta-sign-in a:hover,
.woocommerce-account .motta-create-account a:hover {
    text-decoration: underline;
}

/* Dark mode for registration form */
[data-theme="dark"] .woocommerce-account .woocommerce-form-register .form-row label {
    color: #e2e8f0 !important;
}

[data-theme="dark"] .woocommerce-account .woocommerce-form-register .form-row label .optional {
    color: #94a3b8 !important;
}

[data-theme="dark"] .woocommerce-account .woocommerce-form-register input.input-text {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .woocommerce-account .woocommerce-form-register input.input-text:focus {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2) !important;
}

[data-theme="dark"] .woocommerce-account .woocommerce-form-register .woocommerce-form-register__submit {
    background-color: #0284c7 !important;
    color: #ffffff !important;
}

[data-theme="dark"] .woocommerce-account .woocommerce-form-register .woocommerce-form-register__submit:hover {
    background-color: #38bdf8 !important;
}

[data-theme="dark"] .woocommerce-account__heading h2 {
    color: #64748b;
    cursor: pointer;
}

[data-theme="dark"] .woocommerce-account__heading h2.active {
    color: #38bdf8 !important;
    border-bottom: 2px solid #38bdf8 !important;
}

[data-theme="dark"] .woocommerce-account .motta-sign-in a,
[data-theme="dark"] .woocommerce-account .motta-create-account a {
    color: #38bdf8 !important;
}

/* ==========================================================================
 * 37. Layout & Spacing Uniformity Across Key Pages
 * ========================================================================== */
/* Ensure consistent section vertical rhythm */
.site-content {
    margin-top: 16px;
    margin-bottom: 32px;
}

/* Ensure breadcrumbs have neat, consistent spacing */
.woocommerce-breadcrumb,
.site-breadcrumb {
    margin-bottom: 16px !important;
    padding: 0 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

/* Ensure product grid cards have consistent margins and no clipping */
ul.products {
    margin-left: -8px !important;
    margin-right: -8px !important;
}

ul.products li.product {
    padding-left: 8px !important;
    padding-right: 8px !important;
    margin-bottom: 24px !important;
}

/* -------------------------------------------------------------
 * 36. Header Search Categories Dropdown Pill Spacing & Arrow
 * ------------------------------------------------------------- */
.header-search__categories-label {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 0 8px 0 10px !important;
    padding: 6px 14px 6px 16px !important;
    min-width: auto !important;
    max-width: none !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    border-radius: 9999px !important;
    background-color: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

[data-theme="dark"] .header-search__categories-label {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.header-search__categories-label:hover {
    background-color: rgba(0, 0, 0, 0.09) !important;
}

[data-theme="dark"] .header-search__categories-label:hover {
    background-color: rgba(255, 255, 255, 0.14) !important;
}

.header-search__categories-label .header-search__categories-text {
    display: inline-block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 120px !important;
    white-space: nowrap !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    color: inherit !important;
    margin: 0 !important;
    padding: 0 !important;
}

.header-search__categories-label span.motta-svg-icon,
.header-search__categories-label .motta-svg-icon--select-arrow {
    position: static !important;
    transform: none !important;
    right: auto !important;
    top: auto !important;
    margin: 0 0 0 2px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 10px !important;
    height: 10px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    color: currentColor !important;
    opacity: 0.7 !important;
}

.header-search__categories-label span.motta-svg-icon svg {
    width: 10px !important;
    height: 10px !important;
    vertical-align: middle !important;
    display: block !important;
}

/* -------------------------------------------------------------
 * 37. Wishlist Guest Merge Notice & Buttons
 * ------------------------------------------------------------- */
.woocommerce-message .wcboost-wishlist-merge-button,
.woocommerce-info .wcboost-wishlist-merge-button,
.woocommerce-notice .wcboost-wishlist-merge-button,
a.wcboost-wishlist-merge-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 5px 16px !important;
    margin: 0 4px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    line-height: 1.3 !important;
    transition: all 0.2s ease !important;
}

.wcboost-wishlist-merge-yes {
    background-color: #0284c7 !important;
    color: #ffffff !important;
    border: 1px solid #0284c7 !important;
    margin-right: 8px !important;
}

.wcboost-wishlist-merge-yes:hover {
    background-color: #0369a1 !important;
    color: #ffffff !important;
}

.wcboost-wishlist-merge-no {
    background-color: transparent !important;
    color: #64748b !important;
    border: 1px solid #cbd5e1 !important;
}

.wcboost-wishlist-merge-no:hover {
    background-color: #f1f5f9 !important;
    color: #334155 !important;
}

[data-theme="dark"] .wcboost-wishlist-merge-no {
    color: #94a3b8 !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .wcboost-wishlist-merge-no:hover {
    background-color: #1e293b !important;
    color: #f8fafc !important;
}

/* -------------------------------------------------------------
 * 38. My Account: Orders Table Alignment & Clean Formatting
 * ------------------------------------------------------------- */
.woocommerce-orders-table,
table.shop_table_responsive.woocommerce-orders-table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.woocommerce-orders-table th,
.woocommerce-orders-table td {
    vertical-align: middle !important;
    padding: 16px 18px !important;
    text-align: left !important;
    font-size: 14px !important;
}

.woocommerce-orders-table th {
    background-color: rgba(0, 0, 0, 0.02) !important;
    font-weight: 600 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    letter-spacing: 0.5px !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="dark"] .woocommerce-orders-table th {
    background-color: rgba(255, 255, 255, 0.03) !important;
    color: #94a3b8 !important;
    border-bottom-color: #1e293b !important;
}

.woocommerce-orders-table td {
    border-bottom: 1px solid #f1f5f9 !important;
}

[data-theme="dark"] .woocommerce-orders-table td {
    border-bottom-color: #1e293b !important;
}

.woocommerce-orders-table__cell-order-actions {
    text-align: right !important;
}

.woocommerce-orders-table__cell-order-actions .woocommerce-button.view,
.woocommerce-orders-table__cell-order-actions .button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 20px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    background-color: #1e293b !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.woocommerce-orders-table__cell-order-actions .woocommerce-button.view:hover,
.woocommerce-orders-table__cell-order-actions .button:hover {
    background-color: #0f172a !important;
}

[data-theme="dark"] .woocommerce-orders-table__cell-order-actions .woocommerce-button.view,
[data-theme="dark"] .woocommerce-orders-table__cell-order-actions .button {
    background-color: #334155 !important;
    color: #ffffff !important;
}

[data-theme="dark"] .woocommerce-orders-table__cell-order-actions .woocommerce-button.view:hover,
[data-theme="dark"] .woocommerce-orders-table__cell-order-actions .button:hover {
    background-color: #475569 !important;
}

/* -------------------------------------------------------------
 * 39. Order Received / Thank You Contact Box
 * ------------------------------------------------------------- */
.myfurni-thankyou-contact-box {
    margin: 24px 0 32px !important;
    padding: 24px 28px !important;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #0284c7;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .myfurni-thankyou-contact-box {
    background: #1e293b;
    border-color: #334155;
    border-left-color: #38bdf8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.myfurni-thankyou-contact-box h3 {
    margin: 0 0 10px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

[data-theme="dark"] .myfurni-thankyou-contact-box h3 {
    color: #f8fafc !important;
}

.myfurni-thankyou-contact-box p {
    margin: 0 0 16px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #475569 !important;
}

[data-theme="dark"] .myfurni-thankyou-contact-box p {
    color: #94a3b8 !important;
}

.myfurni-thankyou-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.myfurni-thankyou-whatsapp-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 22px !important;
    background-color: #25D366 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3) !important;
}

.myfurni-thankyou-whatsapp-btn:hover {
    background-color: #1ebc59 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.myfurni-thankyou-email-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 22px !important;
    background-color: #0284c7 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3) !important;
}

.myfurni-thankyou-email-btn:hover {
    background-color: #0369a1 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* -------------------------------------------------------------
 * 40. Complete Store-Wide Price Field Removal
 * ------------------------------------------------------------- */
.price,
.product-price,
.woocommerce-Price-amount,
.woocommerce-Price-currencySymbol,
.cart-subtotal .woocommerce-Price-amount,
.order-total .woocommerce-Price-amount,
.product-total .woocommerce-Price-amount,
.product-subtotal .woocommerce-Price-amount,
.woocommerce-table--order-details .product-total,
.cart_totals .order-total,
.cart_totals .cart-subtotal,
th.product-price,
td.product-price,
div.product-price,
th.product-subtotal,
td.product-subtotal,
.woocommerce-cart-form th.product-price,
.woocommerce-cart-form td.product-price,
.woocommerce-cart-form th.product-subtotal,
.woocommerce-cart-form td.product-subtotal,
.woocommerce-cart-form .product-price,
.woocommerce-cart-form .product-subtotal,
.shop_table th.product-price,
.shop_table td.product-price,
.shop_table th.product-subtotal,
.shop_table td.product-subtotal,
.shop_table .product-price,
.shop_table .product-subtotal,
.woocommerce-checkout-review-order-table .order-total,
.woocommerce-checkout-review-order-table .cart-subtotal,
.wc-block-cart-item__prices,
.wc-block-cart-item__total,
.wc-block-components-totals-item,
.wc-block-components-totals-footer-item,
.wc-block-components-formatted-money-amount {
    display: none !important;
}


.cart_totals h2 {
    display: none !important;
}

.cart_totals .shop_table {
    border: none !important;
}

/* -------------------------------------------------------------
 * 41. Global Anti-Horizontal Overflow, Viewport Shield & Cross-Device Resilience
 * ------------------------------------------------------------- */
html,
body {
    max-width: 100vw !important;
    overflow-x: clip !important;
    position: relative !important;
}

@supports not (overflow: clip) {
    html,
    body {
        overflow-x: hidden !important;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box !important;
}

/* Table container scroll guards on mobile */
@media (max-width: 767px) {
    .woocommerce-account .woocommerce-MyAccount-content {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .woocommerce-orders-table,
    table.shop_table_responsive.woocommerce-orders-table {
        min-width: 480px !important;
    }

    .myfurni-thankyou-contact-box {
        padding: 18px 16px !important;
        margin: 16px 0 24px !important;
    }

    .myfurni-thankyou-contact-actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .myfurni-thankyou-whatsapp-btn,
    .myfurni-thankyou-email-btn {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }
}

/* Small mobile screens (320px - 480px) fluid scaling */
@media (max-width: 480px) {
    .header-search {
        max-width: 100% !important;
    }

    .header-search__container,
    .header-search__container.motta-type--input-text {
        padding: 0 4px 0 12px !important;
    }

    .header-search__categories-label {
        max-width: 90px !important;
        font-size: 11px !important;
        padding: 3px 6px !important;
    }

    .myfurni-b2b-quote-card {
        padding: 16px 14px !important;
    }

    .myfurni-b2b-quote-actions {
        flex-direction: column !important;
    }

    .myfurni-btn-whatsapp-quote,
    .myfurni-btn-email-quote {
        width: 100% !important;
        justify-content: center !important;
    }

    .myfurni-specifications-box {
        padding: 14px 12px !important;
    }

    .myfurni-specs-table th,
    .myfurni-specs-table td {
        padding: 8px 10px !important;
        font-size: 13px !important;
    }

    .single-product div.product .woocommerce-product-gallery__image {
        min-height: 240px !important;
        padding: 12px !important;
    }
}

/* Touch devices: disable mouse hover zoom transforms */
@media (hover: none) and (pointer: coarse) {
    .single-product div.product .woocommerce-product-gallery__image {
        cursor: default !important;
    }

    .single-product div.product .woocommerce-product-gallery__image img {
        transform: none !important;
    }
}

/* Print Cleanliness */
@media print {
    .myfurni-floating-whatsapp,
    #gotop,
    .header-search,
    .site-footer,
    .myfurni-b2b-quote-actions {
        display: none !important;
    }
}

/* =============================================================
 * 32. About Us Page — Centered Container & Typography Polish
 * ============================================================= */
.page-id-6675 .site-content,
.page-id-6675 .elementor-6675 {
    width: 100%;
}

.page-id-6675 .elementor-element-e0b9ce2 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 60px clamp(24px, 6vw, 64px) 80px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

.page-id-6675 .elementor-element-e0b9ce2 > .e-con-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 880px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    gap: 32px !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.page-id-6675 .elementor-element-8e2cd21 {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto !important;
}

.page-id-6675 .elementor-element-8e2cd21 h2.elementor-heading-title {
    text-align: center !important;
    font-size: clamp(32px, 4vw, 44px) !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.5px !important;
    color: var(--myfurni-text-heading, #0f172a) !important;
    margin: 0 0 12px 0 !important;
}

.page-id-6675 .elementor-element-8c5ef4f {
    width: 100% !important;
    max-width: 840px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

.page-id-6675 .elementor-element-8c5ef4f p {
    text-align: center !important;
    font-size: clamp(15px, 1.8vw, 17px) !important;
    line-height: 1.85 !important;
    color: var(--myfurni-text-body, #334155) !important;
    margin-bottom: 24px !important;
}

.page-id-6675 .elementor-element-8c5ef4f p:last-child {
    margin-bottom: 0 !important;
}

/* Dark mode typography */
[data-theme="dark"].page-id-6675 .elementor-element-8e2cd21 h2.elementor-heading-title,
[data-theme="dark"] .page-id-6675 .elementor-element-8e2cd21 h2.elementor-heading-title {
    color: #f8fafc !important;
}

[data-theme="dark"].page-id-6675 .elementor-element-8c5ef4f p,
[data-theme="dark"] .page-id-6675 .elementor-element-8c5ef4f p {
    color: #cbd5e1 !important;
}

/* Contact Us Page Form Card in Dark Mode */
[data-theme="dark"] .elementor-element-3a7835f9,
[data-theme="dark"] .elementor-element-3a7835f9 > .elementor-widget-wrap,
[data-theme="dark"] .elementor-element-3a7835f9 > .elementor-column-wrap,
html.dark-theme .elementor-element-3a7835f9,
html.dark-theme .elementor-element-3a7835f9 > .elementor-widget-wrap,
html.dark-theme .elementor-element-3a7835f9 > .elementor-column-wrap {
    background-color: #161f30 !important;
    background: #161f30 !important;
    border: 1px solid #283548 !important;
    border-radius: 12px !important;
}

[data-theme="dark"] .elementor-element-3a7835f9 .elementor-heading-title,
[data-theme="dark"] .elementor-element-3a7835f9 h4,
[data-theme="dark"] .elementor-element-3a7835f9 h2,
[data-theme="dark"] .elementor-element-3a7835f9 h3,
html.dark-theme .elementor-element-3a7835f9 .elementor-heading-title,
html.dark-theme .elementor-element-3a7835f9 h4 {
    color: #f8fafc !important;
}

[data-theme="dark"] .elementor-element-3a7835f9 p,
[data-theme="dark"] .elementor-element-3a7835f9 span,
[data-theme="dark"] .elementor-element-3a7835f9 label,
[data-theme="dark"] .elementor-element-3a7835f9 .wpcf7-form label,
html.dark-theme .elementor-element-3a7835f9 p,
html.dark-theme .elementor-element-3a7835f9 span,
html.dark-theme .elementor-element-3a7835f9 label {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .elementor-element-3a7835f9 input,
[data-theme="dark"] .elementor-element-3a7835f9 textarea,
[data-theme="dark"] .elementor-element-3a7835f9 select,
html.dark-theme .elementor-element-3a7835f9 input,
html.dark-theme .elementor-element-3a7835f9 textarea,
html.dark-theme .elementor-element-3a7835f9 select {
    background-color: #0b0f19 !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

/* Page 118 (Contact Us) Complete Dark Mode Typography & Contrast */
[data-theme="dark"].page-id-118 h1,
[data-theme="dark"].page-id-118 h2,
[data-theme="dark"].page-id-118 h3,
[data-theme="dark"].page-id-118 h4,
[data-theme="dark"].page-id-118 .elementor-heading-title,
html.dark-theme.page-id-118 h1,
html.dark-theme.page-id-118 h2,
html.dark-theme.page-id-118 h3,
html.dark-theme.page-id-118 h4,
html.dark-theme.page-id-118 .elementor-heading-title,
[data-theme="dark"] .page-id-118 h1,
[data-theme="dark"] .page-id-118 h2,
[data-theme="dark"] .page-id-118 h3,
[data-theme="dark"] .page-id-118 h4,
[data-theme="dark"] .page-id-118 .elementor-heading-title,
html.dark-theme .page-id-118 h1,
html.dark-theme .page-id-118 h2,
html.dark-theme .page-id-118 h3,
html.dark-theme .page-id-118 h4,
html.dark-theme .page-id-118 .elementor-heading-title {
    color: #f8fafc !important;
}

[data-theme="dark"].page-id-118 p,
[data-theme="dark"].page-id-118 span,
[data-theme="dark"].page-id-118 .motta-icon-box__title,
html.dark-theme.page-id-118 p,
html.dark-theme.page-id-118 span,
html.dark-theme.page-id-118 .motta-icon-box__title,
[data-theme="dark"] .page-id-118 p,
[data-theme="dark"] .page-id-118 span,
[data-theme="dark"] .page-id-118 .motta-icon-box__title,
html.dark-theme .page-id-118 p,
html.dark-theme .page-id-118 span,
html.dark-theme .page-id-118 .motta-icon-box__title {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .page-id-118 a,
html.dark-theme .page-id-118 a {
    color: #38bdf8 !important;
}

/* =============================================================
 * 30. Comprehensive Product & Site-Wide Dark Mode Legibility Suite
 * ============================================================= */

/* 30.1 Single Product Header Meta (Category, SKU, Brand) */
[data-theme="dark"] .product-gallery-summary .meta,
[data-theme="dark"] .product-gallery-summary .meta-cat,
[data-theme="dark"] .product-gallery-summary .meta-sku,
[data-theme="dark"] .entry-summary .meta,
[data-theme="dark"] .entry-summary .meta-cat,
[data-theme="dark"] .entry-summary .meta-sku,
html.dark-theme .product-gallery-summary .meta,
html.dark-theme .product-gallery-summary .meta-cat,
html.dark-theme .product-gallery-summary .meta-sku,
html.dark-theme .entry-summary .meta,
html.dark-theme .entry-summary .meta-cat,
html.dark-theme .entry-summary .meta-sku {
    color: #94a3b8 !important;
}

[data-theme="dark"] .product-gallery-summary .meta-cat a,
[data-theme="dark"] .entry-summary .meta-cat a,
html.dark-theme .product-gallery-summary .meta-cat a,
html.dark-theme .entry-summary .meta-cat a {
    color: #38bdf8 !important;
    font-weight: 600 !important;
}

[data-theme="dark"] .product-gallery-summary .meta-sku span.sku,
[data-theme="dark"] .entry-summary .meta-sku span.sku,
html.dark-theme .product-gallery-summary .meta-sku span.sku,
html.dark-theme .entry-summary .meta-sku span.sku {
    color: #f8fafc !important;
    font-weight: 600 !important;
}

/* 30.2 Compare & Wishlist Buttons on Product Page */
[data-theme="dark"] .wcboost-products-compare-button,
[data-theme="dark"] .wcboost-wishlist-button,
[data-theme="dark"] .add-to-wishlist-button,
[data-theme="dark"] .wcboost-products-compare-button__text,
[data-theme="dark"] .add-to-wishlist-button__text,
html.dark-theme .wcboost-products-compare-button,
html.dark-theme .wcboost-wishlist-button,
html.dark-theme .add-to-wishlist-button,
html.dark-theme .wcboost-products-compare-button__text,
html.dark-theme .add-to-wishlist-button__text {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .wcboost-products-compare-button:hover,
[data-theme="dark"] .wcboost-wishlist-button:hover,
[data-theme="dark"] .add-to-wishlist-button:hover,
[data-theme="dark"] .wcboost-products-compare-button:hover .wcboost-products-compare-button__text,
[data-theme="dark"] .add-to-wishlist-button:hover .add-to-wishlist-button__text,
html.dark-theme .wcboost-products-compare-button:hover,
html.dark-theme .wcboost-wishlist-button:hover,
html.dark-theme .add-to-wishlist-button:hover,
html.dark-theme .wcboost-products-compare-button:hover .wcboost-products-compare-button__text,
html.dark-theme .add-to-wishlist-button:hover .add-to-wishlist-button__text {
    color: #38bdf8 !important;
}

[data-theme="dark"] .wcboost-products-compare-button svg,
[data-theme="dark"] .add-to-wishlist-button svg,
html.dark-theme .wcboost-products-compare-button svg,
html.dark-theme .add-to-wishlist-button svg {
    color: #cbd5e1 !important;
    fill: currentColor !important;
}

/* 30.3 Customer Reviews & Rating Distribution */
[data-theme="dark"] #reviews,
[data-theme="dark"] .motta-product-rating,
html.dark-theme #reviews,
html.dark-theme .motta-product-rating {
    background-color: #0f172a !important;
    border-color: #1e293b !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .motta-product-rating__count,
[data-theme="dark"] .motta-product-rating__summary > p,
[data-theme="dark"] .motta-product-rating__bar .slabel,
[data-theme="dark"] .motta-product-rating__bar .svalue,
html.dark-theme .motta-product-rating__count,
html.dark-theme .motta-product-rating__summary > p,
html.dark-theme .motta-product-rating__bar .slabel,
html.dark-theme .motta-product-rating__bar .svalue {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .motta-product-rating__average,
html.dark-theme .motta-product-rating__average {
    color: #f8fafc !important;
}

[data-theme="dark"] .motta-product-rating__box,
html.dark-theme .motta-product-rating__box {
    border-color: #334155 !important;
}

[data-theme="dark"] #reviews .commentlist li .comment_container,
[data-theme="dark"] #reviews .comment-text,
html.dark-theme #reviews .commentlist li .comment_container,
html.dark-theme #reviews .comment-text {
    background-color: #161f30 !important;
    border: 1px solid #283548 !important;
    border-radius: 10px !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] #reviews .comment-author,
[data-theme="dark"] #reviews .comment-author strong,
html.dark-theme #reviews .comment-author,
html.dark-theme #reviews .comment-author strong {
    color: #f8fafc !important;
}

[data-theme="dark"] #reviews .comment-text .description,
[data-theme="dark"] #reviews .comment-text p,
html.dark-theme #reviews .comment-text .description,
html.dark-theme #reviews .comment-text p {
    color: #cbd5e1 !important;
}

/* 30.4 Review Submission Form (#commentform) */
[data-theme="dark"] form#commentform,
[data-theme="dark"] #respond,
html.dark-theme form#commentform,
html.dark-theme #respond {
    background-color: #111c30 !important;
    border: 1px solid #1e293b !important;
    border-radius: 12px !important;
    padding: 24px !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] #respond .comment-reply-title,
[data-theme="dark"] form#commentform label,
html.dark-theme #respond .comment-reply-title,
html.dark-theme form#commentform label {
    color: #f8fafc !important;
    font-weight: 600 !important;
}

[data-theme="dark"] form#commentform p.comment-notes,
html.dark-theme form#commentform p.comment-notes {
    color: #cbd5e1 !important;
}

[data-theme="dark"] form#commentform input[type="text"],
[data-theme="dark"] form#commentform input[type="email"],
[data-theme="dark"] form#commentform textarea,
html.dark-theme form#commentform input[type="text"],
html.dark-theme form#commentform input[type="email"],
html.dark-theme form#commentform textarea {
    background-color: #0b0f19 !important;
    background: #0b0f19 !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
    border-radius: 8px !important;
}

[data-theme="dark"] form#commentform input[type="submit"],
html.dark-theme form#commentform input[type="submit"] {
    background-color: #0284c7 !important;
    color: #ffffff !important;
    border: none !important;
}

/* 30.5 Sticky Add-to-Cart Bar */
[data-theme="dark"] #motta-sticky-add-to-cart,
[data-theme="dark"] .motta-sticky-add-to-cart,
html.dark-theme #motta-sticky-add-to-cart,
html.dark-theme .motta-sticky-add-to-cart {
    background-color: #0f172a !important;
    background: #0f172a !important;
    border-top: 1px solid #1e293b !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .motta-sticky-add-to-cart__content-title,
html.dark-theme .motta-sticky-add-to-cart__content-title {
    color: #f8fafc !important;
}

/* 30.6 Similar Products, Upsells & Catalog Cards */
[data-theme="dark"] .product-inner,
[data-theme="dark"] .motta-product-card,
html.dark-theme .product-inner,
html.dark-theme .motta-product-card {
    background-color: #0f172a !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .product-inner .meta-cat a,
[data-theme="dark"] .products .meta-cat a,
[data-theme="dark"] .related.products .meta-cat a,
[data-theme="dark"] .upsells.products .meta-cat a,
html.dark-theme .product-inner .meta-cat a,
html.dark-theme .products .meta-cat a,
html.dark-theme .related.products .meta-cat a,
html.dark-theme .upsells.products .meta-cat a {
    color: #94a3b8 !important;
}

[data-theme="dark"] .product-inner .meta-cat a:hover,
[data-theme="dark"] .products .meta-cat a:hover,
html.dark-theme .product-inner .meta-cat a:hover,
html.dark-theme .products .meta-cat a:hover {
    color: #38bdf8 !important;
}

[data-theme="dark"] .product-summary .review-count,
[data-theme="dark"] .product-summary .review-count span,
html.dark-theme .product-summary .review-count,
html.dark-theme .product-summary .review-count span {
    color: #94a3b8 !important;
}

/* 30.7 Mobile Bottom Navigation Bar in Dark Mode */
[data-theme="dark"] .myfurni-mobile-bottom-bar,
html.dark-theme .myfurni-mobile-bottom-bar {
    background-color: #0f172a !important;
    background: #0f172a !important;
    border-top: 1px solid #1e293b !important;
}

[data-theme="dark"] .myfurni-mobile-bottom-bar .myfurni-bottom-nav-item,
[data-theme="dark"] .myfurni-mobile-bottom-bar .myfurni-nav-label,
[data-theme="dark"] .myfurni-mobile-bottom-bar .myfurni-nav-icon,
html.dark-theme .myfurni-mobile-bottom-bar .myfurni-bottom-nav-item,
html.dark-theme .myfurni-mobile-bottom-bar .myfurni-nav-label,
html.dark-theme .myfurni-mobile-bottom-bar .myfurni-nav-icon {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .myfurni-mobile-bottom-bar .myfurni-bottom-nav-item.active,
[data-theme="dark"] .myfurni-mobile-bottom-bar .myfurni-bottom-nav-item:hover,
html.dark-theme .myfurni-mobile-bottom-bar .myfurni-bottom-nav-item.active,
html.dark-theme .myfurni-mobile-bottom-bar .myfurni-bottom-nav-item:hover {
    color: #38bdf8 !important;
}

/* 30.8 Service Boxes & Trust Badge Links */
[data-theme="dark"] .motta-icon-box-widget__button,
[data-theme="dark"] .motta-icon-box-widget a,
html.dark-theme .motta-icon-box-widget__button,
html.dark-theme .motta-icon-box-widget a {
    color: #38bdf8 !important;
}

/* 30.9 Quantity Stepper Buttons */
[data-theme="dark"] .quantity .qty-button,
[data-theme="dark"] .quantity button,
html.dark-theme .quantity .qty-button,
html.dark-theme .quantity button {
    background-color: #1e293b !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .quantity input.qty,
html.dark-theme .quantity input.qty {
    background-color: #0b0f19 !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}






