/* Source: header-base.css */
/* 
   LACABÚ High-End Theme Prototype (Reset Final)
   Design System: Silent Luxury
*/

        :root {
            /* Brand Colors */
            --color-primary: #603612;
            /* Café Chocolate Profundo */
            --color-primary-rgb: 96, 54, 18;
            --color-accent: #D4AF37;
            /* Dorado */
            --color-accent-light: #F2D675;
            --color-notify: #6B3FA0;
            /* Púrpura */
            --color-bg: #F9F7F2;
            /* Marfil suave */
            --color-text: #2A2A2A;
            /* Gris Carbón suave */
            --color-white: #FFFFFF;

            /* Typography */
            --font-heading: 'Playfair Display', serif;
            --font-body: 'Inter', sans-serif;

            /* Spacing */
            --container-width: 1300px;
            --header-height: 90px;
            --top-bar-height: 36px;
        }

        /* Reset & Base */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            background-color: var(--color-bg);
            /* Noise Texture Sutil - Base64 */
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
            color: var(--color-text);
            font-family: var(--font-body);
            font-size: 16px;
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        ul {
            list-style: none;
        }

        img {
            max-width: 100%;
            display: block;
        }

        /* Components */
        .container {
            max-width: var(--container-width);
            margin: 0 auto;
            padding: 0 40px;
        }

        /* Button Premium */
        .btn {
            display: inline-block;
            padding: 18px 42px;
            border: 1px solid transparent;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-size: 11px;
            font-weight: 600;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            transition: all 0.4s ease;
        }

        .btn-primary {
            background-color: var(--color-primary);
            color: var(--color-white);
            box-shadow: 0 10px 30px -10px rgba(96, 54, 18, 0.3);
        }

        .btn-primary:visited {
            color: var(--color-white);
        }

        .btn-primary:hover {
            background-color: var(--color-text);
            transform: translateY(-2px);
            box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.2);
        }

        /* 1. Top Bar */
        .top-bar {
            background-color: var(--color-primary);
            color: rgba(255, 255, 255, 0.9);
            height: var(--top-bar-height);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            font-weight: 500;
        }

        @media (max-width: 760px) {
            .top-bar {
                height: auto;
                min-height: var(--top-bar-height);
                padding: 8px 14px;
                font-size: 10px;
                letter-spacing: 0.6px;
                line-height: 1.45;
                text-align: center;
            }

            .top-bar .top-bar-extra {
                display: none;
            }
        }


        /* 2. Header Glassmorphism */
        .site-header {
            height: var(--header-height);
            background-color: rgba(249, 247, 242, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            position: sticky;
            top: 0;
            z-index: 100;
            border-bottom: 1px solid rgba(96, 54, 18, 0.05);
            transition: all 0.3s ease;
        }

        .header-grid {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 100%;
        }

        .logo-text {
            font-family: var(--font-heading);
            font-size: 38px;
            color: var(--color-primary);
            letter-spacing: -1px;
            font-weight: 500;
        }

        /* Original wordmark: show only the lettering in the existing PNG.
           Window in the 300px source: x35, y154, width249, height76.
           Keep a text fallback; do not redraw or alter the source asset. */
        .site-header .logo-link {
            display: inline-flex;
            align-items: center;
            min-height: 44px;
            flex-shrink: 0;
        }

        @supports ((mask-image: url('')) or (-webkit-mask-image: url(''))) {
            .site-header .header-wordmark {
                display: block;
                position: relative;
                --lc-wordmark-width: 132px;
                width: var(--lc-wordmark-width);
                height: calc(var(--lc-wordmark-width) * 76 / 249);
                overflow: hidden;
            }

            .site-header .header-wordmark-fallback {
                display: none;
            }

            .site-header .header-wordmark::before {
                content: '';
                position: absolute;
                width: 120.481928%;
                aspect-ratio: 1;
                left: -14.056225%;
                top: -202.631579%;
                background: #603612;
                -webkit-mask: url('../../logo-email.png') center / contain no-repeat;
                mask: url('../../logo-email.png') center / contain no-repeat;
                mask-mode: alpha;
            }
        }

        @media (max-width: 768px) {
            .site-header .header-wordmark {
                --lc-wordmark-width: 112px;
            }
        }

        .header-actions {
            display: flex;
            gap: 12px;
            align-items: center;
        }

        .icon {
            width: 22px;
            height: 22px;
            stroke-width: 1.2;
            opacity: 0.8;
        }

        .icon-link {
            width: 44px;
            height: 44px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .icon-link:hover .icon {
            opacity: 1;
            stroke: var(--color-accent);
            transform: scale(1.1);
            transition: 0.3s;
        }

        .cart-link {
            position: relative;
        }

        .cart-count {
            position: absolute;
            top: 4px;
            right: 4px;
            background-color: var(--color-primary);
            color: white;
            font-size: 9px;
            width: 16px;
            height: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }

        .menu-toggle {
            background: none;
            border: none;
            cursor: pointer;
            color: var(--color-primary);
            width: 44px;
            height: 44px;
            min-width: 44px;
            min-height: 44px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-left: 0 !important;
            padding: 0;
        }

        /* 3. Hero Section */
        .hero-section {
            height: 85vh;
            min-height: 600px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            background-color: #1a1a1a;
            /* Hero Image: Fallback Gradient */
            background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(62, 39, 35, 0.95) 100%),
                url('data:image/svg+xml,%3Csvg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%239C92AC" fill-opacity="0.05" fill-rule="evenodd"%3E%3Ccircle cx="3" cy="3" r="3"/%3E%3Ccircle cx="13" cy="13" r="3"/%3E%3C/g%3E%3C/svg%3E');
            background-size: cover;
            background-position: center;
            color: var(--color-white);
        }

        .hero-overlay {
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
        }

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 900px;
            padding: 0 20px;
            animation: fadeInUp 1.2s ease-out;
        }

        .hero-title {
            font-family: var(--font-heading);
            font-size: 72px;
            line-height: 1.1;
            margin-bottom: 30px;
            font-weight: 400;
            text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .hero-title em {
            font-style: italic;
            color: #F8F5E6;
            font-family: var(--font-heading);
        }

        .hero-subtitle {
            margin-bottom: 25px;
            font-weight: 300;
            letter-spacing: 0.5px;
            opacity: 0.95;
            text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
        }

        .hero-section .hero-title {
            color: #FFFFFF !important;
            text-shadow: 0 4px 18px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 0.85);
        }

        .hero-section .hero-title em {
            color: #FFF7DC !important;
        }

        .hero-section .hero-subtitle {
            color: rgba(255, 255, 255, 0.96);
            opacity: 1;
            text-shadow: 0 3px 14px rgba(0, 0, 0, 0.85);
        }

        .hero-section .btn-primary {
            background-color: #F8F5E6;
            border-color: #F8F5E6;
            color: var(--color-primary);
            box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32);
        }

        .hero-section .btn-primary:visited {
            color: var(--color-primary);
        }


        @media (max-width: 768px) {
            .single-product-page .product-split-container {
                width: 100%;
            }

            .single-product-page .product-gallery-sticky {
                padding: 0 10px !important;
                overflow: hidden;
            }

            .single-product-page .lacabu-gallery,
            .single-product-page .gallery-main {
                width: 100% !important;
                max-width: 100% !important;
                min-width: 0 !important;
            }

            .single-product-page .gallery-main img {
                width: 100% !important;
                max-width: 100% !important;
                height: auto !important;
                object-fit: contain !important;
            }

            .single-product-page .gallery-thumbs {
                width: 100% !important;
                max-width: 100% !important;
                padding: 0 2px 10px !important;
                scroll-padding-left: 2px;
            }

            .single-product-page .gallery-thumbs .thumb {
                flex: 0 0 60px;
            }
        }

        .single-product-page .lacabu-swatch {
            min-height: 44px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        body.woocommerce-cart .cart-remove-btn {
            width: 44px !important;
            height: 44px !important;
        }

        body.woocommerce-cart .lacabu-coupon-form button {
            min-height: 44px !important;
            padding: 0 10px !important;
        }

        body.woocommerce-account .woocommerce form.login {
            max-width: 760px;
        }

        body.woocommerce-account .woocommerce input.input-text {
            min-height: 44px !important;
            padding: 10px 12px !important;
        }

        body.woocommerce-account .show-password-input {
            min-width: 44px !important;
            min-height: 44px !important;
        }

        body.woocommerce-account .woocommerce-form__label-for-checkbox {
            min-height: 44px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        body.woocommerce-account .woocommerce-form__input-checkbox {
            width: 18px !important;
            height: 18px !important;
            margin: 0 !important;
        }

        .hero-actions {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 15px;
        }

        .hero-shipping-info {
            font-size: 12px;
            opacity: 0.9;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1px;
            animation: fadeInUp 1.5s ease-out;
        }

        /* 3.5. Trust Bar (Nuevo) */
        .trust-bar {
            background-color: var(--color-text);
            color: #fff;
            padding: 15px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .trust-grid {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            gap: 15px;
        }

        .trust-item {
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
            gap: 8px;
            opacity: 0.9;
        }

        /* Mobile Optimizations */
        /* Mobile Optimizations moved to end of file to fix cascade */

        /* 4. Categories */
        .section {
            padding: 120px 0;
        }

        .section-title {
            text-align: center;
            font-family: var(--font-heading);
            color: var(--color-primary);
            font-size: 42px;
            margin-bottom: 70px;
            letter-spacing: -0.5px;
        }

        .categories-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px !important;
            /* Reduced from 40px to give more width */
        }

        .category-card {
            background-color: #1a1a1a;
            height: 450px !important;
            /* Reduced from 550px to balance aspect ratio */
            display: flex;
            align-items: flex-end;
            justify-content: center;
            border: none;
            position: relative;
            overflow: hidden;
            box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.2);
            transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
            background-size: cover;
            background-position: center;
        }

        /* Category Images - Fallbacks */
        .card-gemas {
background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.7) 100%), url('../images/card-gemas.webp') center/cover no-repeat;
        }

        /* Chocolate Oscuro */
        .card-lingotes {
            background: linear-gradient(to bottom right, #D4AF37, #C5A028);
        }

        /* Dorado */
        .card-perlas {
            background: linear-gradient(to bottom right, #aebcbf, #889699);
        }

        .card-cajas {
            background: linear-gradient(to bottom right, #2c2c2c, #1a1a1a);
            color: #f4f1ea;
        }

        /* Plateado/Perla */

        .category-card::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(30, 30, 30, 0.9) 0%, transparent 50%);
            opacity: 0.8;
            transition: 0.4s;
            z-index: 1;
        }

        .category-card:hover {
            transform: translateY(-15px);
        }

        .category-card:hover::before {
            opacity: 0.9;
        }

        .cat-name {
            font-family: var(--font-heading);
            font-size: 28px;
            color: var(--color-white);
            z-index: 2;
            margin-bottom: 40px;
            letter-spacing: 1px;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* 5. Features Section */
        .features-section {
            background-color: #f4f1ea;
            padding: 80px 0;
            border-top: 1px solid rgba(0, 0, 0, 0.05);
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            text-align: center;
            /* Performance Improvement */
            /* content-visibility removed to fix hover clipping */
        }

        .feature-item h3 {
            font-family: var(--font-heading);
            font-size: 18px;
            margin: 15px 0 5px;
            color: var(--color-primary);
        }

        .feature-item p {
            font-size: 13px;
            color: #4A4038;
            max-width: 200px;
            margin: 0 auto;
        }

        /* 6. Footer */
        .site-footer {
            background-color: #111;
            color: rgba(255, 255, 255, 0.7);
            padding: 80px 0 30px;
            font-size: 14px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1.5fr;
            gap: 60px;
            margin-bottom: 60px;
        }

        .footer-logo {
            font-family: var(--font-heading);
            font-size: 28px;
            color: #fff;
            margin-bottom: 20px;
            display: block;
        }

        .footer-col h4 {
            color: #fff;
            font-family: var(--font-heading);
            font-size: 18px;
            margin-bottom: 25px;
        }

        .footer-col ul li {
            margin-bottom: 12px;
        }

        .footer-col a:hover {
            color: var(--color-accent);
        }

        .site-footer a {
            display: inline-flex;
            align-items: center;
            min-height: 32px;
        }

        .site-footer .footer-col ul a {
            padding: 4px 0;
        }

        .bottom-bar {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 30px;
            text-align: center;
            font-size: 12px;
        }

        /* 7. New Sections (Story & Corporate) */
        .story-section {
            background-color: #fff;
        }

        .story-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .story-content p {
            margin-bottom: 20px;
            color: #555;
            font-size: 15px;
        }

        .story-title {
            text-align: left;
            margin-bottom: 30px;
        }

        .story-cta {
            margin-top: 30px;
            display: inline-block;
        }

        .story-image {
            height: 450px;
            background-image: linear-gradient(135deg, rgba(22, 12, 8, 0.18), rgba(96, 54, 18, 0.28)), url('../images/bestseller-bg.webp');
            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;
            position: relative;
            border: 1px solid rgba(96, 54, 18, 0.08);
        }

        .story-image::after {
            content: '';
            position: absolute;
            inset: 16px;
            border: 1px solid rgba(255, 255, 255, 0.5);
            pointer-events: none;
        }

        .btn-outline {
            border: 1px solid var(--color-primary);
            color: var(--color-primary);
            padding: 15px 35px;
            text-transform: uppercase;
            font-size: 11px;
            letter-spacing: 2px;
            font-weight: 600;
        }

        .btn-outline:hover {
            background-color: var(--color-primary);
            color: #fff;
        }

        .corporate-section {
            padding: 80px 0;
            background-color: var(--color-bg);
        }

        .corporate-box {
            background-color: #1a1a1a;
            color: #fff;
            padding: 60px;
            text-align: center;
            max-width: 900px;
            margin: 0 auto;
            border: 1px solid var(--color-accent);
        }

        .corporate-title {
            font-family: var(--font-heading);
            font-size: 36px;
            margin-bottom: 20px;
            color: var(--color-accent);
        }

        .corporate-box p {
            margin-bottom: 40px;
            font-size: 16px;
            color: rgba(255, 255, 255, 0.8);
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Mobile Adjustments for New Sections */
        @media (max-width: 768px) {
            .story-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .story-image {
                height: 300px;
                order: -1;
            }

            /* Imagen primero en móvil */
            .corporate-box {
                padding: 40px 20px;
            }

            .corporate-title {
                font-size: 28px;
            }
        }

        /* 8. Best Seller Section */
        .bestseller-section {
            background-color: var(--color-bg);
            padding: 100px 0;
        }

        .bestseller-grid {
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            gap: 80px;
            align-items: center;
        }

        .bestseller-image {
            height: 450px;
            background: linear-gradient(to right bottom, #603612, #1a1a1a);
            position: relative;
            border-radius: 2px;
            box-shadow: 0 30px 60px -20px rgba(96, 54, 18, 0.4);
        }

        .bestseller-badge {
            position: absolute;
            top: 20px;
            left: 20px;
            background-color: var(--color-accent);
            color: #3E2723;
            padding: 8px 15px;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 600;
            z-index: 10;
        }

        .bestseller-content {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .eyebrow {
            color: var(--color-primary);
            text-transform: uppercase;
            font-size: 12px;
            letter-spacing: 2px;
            margin-bottom: 10px;
            font-weight: 600;
        }

        .bestseller-title {
            font-family: var(--font-heading);
            font-size: 42px;
            margin-bottom: 15px;
            line-height: 1.1;
        }

        .bestseller-price {
            font-size: 24px;
            color: var(--color-text);
            font-weight: 500;
            margin-bottom: 25px;
        }

        .bestseller-content p {
            margin-bottom: 30px;
            color: #4A4038;
            line-height: 1.6;
        }

        .bestseller-features {
            margin-bottom: 35px;
        }

        .bestseller-features li {
            margin-bottom: 10px;
            font-size: 14px;
            color: var(--color-text);
        }

        .btn-block {
            text-align: center;
            width: 100%;
            margin-bottom: 15px;
        }

        .shipping-note {
            font-size: 12px;
            color: #5E5149;
            text-align: center;
            display: block;
        }

        /* Mobile Adjustments for Best Seller */
        @media (max-width: 768px) {
            .bestseller-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }
        }

/* Source: commerce-layout.css */
/* 9. Product Page Styles */
        .product-page {
            padding-top: 40px;
            padding-bottom: 80px;
        }

        .product-grid {
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            gap: 60px;
        }

        .breadcrumb {
            font-size: 12px;
            color: #6B5B50;
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .product-gallery {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .main-image {
            height: 500px;
            background: linear-gradient(to bottom right, #f5f5f5, #e0e0e0);
            border-radius: 2px;
        }

        .thumbnails {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
        }

        .thumb {
            height: 100px;
            background: #eee;
            cursor: pointer;
            border: 1px solid transparent;
        }

        .thumb:hover {
            border-color: var(--color-accent);
        }

        .product-title {
            font-family: var(--font-heading);
            font-size: 36px;
            margin-bottom: 15px;
            line-height: 1.2;
        }

        .product-price {
            font-size: 24px;
            color: var(--color-primary);
            font-weight: 500;
            margin-bottom: 25px;
        }

        .product-short-desc {
            margin-bottom: 30px;
            color: #4A4038;
            line-height: 1.6;
        }

        .product-options {
            margin-bottom: 30px;
        }

        .product-options label {
            display: block;
            font-size: 12px;
            text-transform: uppercase;
            font-weight: 600;
            margin-bottom: 10px;
            letter-spacing: 1px;
        }

        .size-selector {
            display: flex;
            gap: 10px;
        }

        .size-btn {
            border: 1px solid #ddd;
            background: #fff;
            padding: 10px 20px;
            cursor: pointer;
            font-family: var(--font-body);
            font-size: 14px;
            transition: all 0.3s ease;
        }

        .size-btn:hover {
            border-color: var(--color-primary);
        }

        .size-btn.active {
            border-color: var(--color-primary);
            background-color: var(--color-primary);
            color: #fff;
        }

        .add-to-cart-block {
            display: flex;
            gap: 15px;
            margin-bottom: 40px;
        }

        /* --- 10. Shop Page (The Gallery) --- */
        .shop-hero {
            padding: 100px 0 60px;
            background-color: var(--color-bg);
            /* Consistent texture if needed */
        }

        .shop-title {
            font-family: var(--font-heading);
            font-size: 56px;
            color: var(--color-primary);
            margin-bottom: 15px;
            font-weight: 400;
            text-align: center !important;
            width: 100%;
            display: block;
        }

        .shop-subtitle {
            color: #4A4038;
            font-size: 16px;
            letter-spacing: 0.5px;
            max-width: 600px;
            margin: 0 auto;
            text-align: center;
        }

        /* Sticky Filters */
        .filter-bar-sticky {
            position: sticky;
            top: var(--header-height);
            /* Below header */
            z-index: 90;
            background: rgba(249, 247, 242, 0.9);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            padding: 15px 0;
            margin-bottom: 60px;
            transition: top 0.3s;
        }

        .filter-scroll {
            display: flex;
            justify-content: center;
            gap: 10px;
            overflow-x: auto;
            scrollbar-width: none;
            /* Hide scrollbar Firefox */
            -ms-overflow-style: none;
            /* Hide scrollbar IE */
        }

        .filter-scroll::-webkit-scrollbar {
            display: none;
            /* Hide scrollbar Chrome */
        }

        .filter-pill {
            padding: 8px 20px;
            border-radius: 50px;
            border: 1px solid rgba(96, 54, 18, 0.1);
            color: var(--color-text);
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .filter-pill:hover,
        .filter-pill.active {
            background-color: var(--color-primary);
            color: #fff;
            border-color: var(--color-primary);
        }

        /* Premium Product Grid */
        .premium-product-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 40px;
            row-gap: 80px;
        }

        .product-card-premium {
            group: product;
        }

        .pc-link-wrapper {
            display: block;
        }

        .pc-image-container {
            position: relative;
            aspect-ratio: 4/5;
            background-color: #f0f0f0;
            overflow: hidden;
            margin-bottom: 25px;
        }

        .pc-image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.7s cubic-bezier(0.2, 1, 0.3, 1);
        }

        .pc-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.1);
            opacity: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: opacity 0.4s ease;
        }

        .btn-quick-view {
            background: #fff;
            color: var(--color-primary);
            padding: 12px 25px;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 600;
            transform: translateY(20px);
            transition: transform 0.4s ease;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        /* Hover Effects */
        .pc-link-wrapper:hover .pc-image-container img {
            transform: scale(1.05);
        }

        .pc-link-wrapper:hover .pc-overlay {
            opacity: 1;
        }

        .pc-link-wrapper:hover .btn-quick-view {
            transform: translateY(0);
        }

        .pc-info {
            text-align: center;
        }

        .pc-title {
            font-family: var(--font-heading);
            font-size: 22px;
            margin-bottom: 8px;
            color: var(--color-text);
            font-weight: 400;
        }

        .pc-price {
            font-family: var(--font-body);
            font-size: 15px;
            color: #5E5149;
            font-weight: 500;
        }

        /* Mobile Responsiveness for Shop */
        @media (max-width: 768px) {
            .shop-title {
                font-size: 36px;
            }

            .filter-bar-sticky {
                top: 0;
                /* Adjust if header is static or ensuring visibility */
            }

            .filter-scroll {
                justify-content: flex-start;
                padding-left: 20px;
                padding-right: 20px;
            }

            .premium-product-grid {
                grid-template-columns: 1fr;
                /* Full width cards */
                gap: 50px;
            }
        }


        .qty-selector {
            display: flex;
            border: 1px solid #ddd;
            height: 48px;
        }

        .qty-selector button {
            width: 40px;
            background: none;
            border: none;
            cursor: pointer;
            font-size: 18px;
            color: var(--color-text);
        }

        .qty-selector input {
            width: 40px;
            border: none;
            text-align: center;
            font-size: 16px;
            font-family: var(--font-body);

        }

        .add-btn {
            flex-grow: 1;
            margin: 0;
        }

        /* Accordions */
        .product-accordions {
            border-top: 1px solid #eee;
        }

        .accordion-item {
            border-bottom: 1px solid #eee;
        }

        .accordion-header {
            padding: 20px 0;
            display: flex;
            justify-content: space-between;
            cursor: pointer;
            font-weight: 500;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .accordion-content {
            padding-bottom: 20px;
            display: none;
            /* JS needed to toggle */
            color: #4A4038;
            font-size: 14px;
        }

        /* Mobile Product Page */
        @media (max-width: 768px) {
            .product-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .main-image {
                height: 350px;
            }

            .product-title {
                font-size: 28px;
            }
        }



        /* Visual Enhancements for Product Page */
        .product-gallery {
            background-color: #f0f0f0;
            min-height: 500px;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .product-gallery::after {
            content: 'IMAGEN PRODUCTO';
            color: #6B5B50;
            letter-spacing: 2px;
            font-size: 14px;
        }

        .size-btn {
            border: 1px solid #ddd;
            background: transparent;
            padding: 10px 20px;
            cursor: pointer;
            font-family: var(--font-body);
            font-size: 13px;
            transition: all 0.3s;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .size-btn:hover {
            border-color: var(--color-primary);
        }

        .size-btn.active {
            background-color: var(--color-primary);
            color: #fff;
            border-color: var(--color-primary);
        }

        .qty-selector {
            border: 1px solid #ddd;
            display: inline-flex;
            height: 48px;
        }

        .qty-selector button {
            width: 40px;
            background: none;
            border: none;
            font-size: 18px;
            cursor: pointer;
            color: var(--color-primary);
        }

        .qty-selector input {
            border: none;
            text-align: center;
            width: 50px;
            font-size: 16px;
            color: var(--color-text);
        }

        /* 10. Shop Page Styles */
        .shop-page {
            padding-top: 40px;
            padding-bottom: 80px;
        }

        .shop-layout {
            display: grid;
            grid-template-columns: 250px 1fr;
            gap: 40px;
        }

        .shop-filters h3 {
            font-family: var(--font-heading);
            font-size: 18px;
            margin-bottom: 20px;
            border-bottom: 1px solid #eee;
            padding-bottom: 10px;
        }

        .shop-filters ul li {
            margin-bottom: 12px;
        }

        .shop-filters label {
            font-size: 14px;
            color: #555;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .shop-header {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            margin-bottom: 30px;
        }

        .shop-header h1 {
            font-family: var(--font-heading);
            font-size: 32px;
        }

        .result-count {
            color: #5E5149;
            font-size: 14px;
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .product-card {
            background: #fff;
            transition: transform 0.3s ease;
        }

        .product-card:hover {
            transform: translateY(-5px);
        }

        .p-image {
            height: 250px;
            width: 100%;
            margin-bottom: 15px;
            background-size: cover;
            background-position: center;
            border-radius: 2px;
        }

        .p-info {
            text-align: center;
        }

        .p-info h3 {
            font-family: var(--font-heading);
            font-size: 18px;
            margin-bottom: 8px;
        }

        .p-info .price {
            color: var(--color-primary);
            font-weight: 500;
            margin-bottom: 10px;
        }

        .btn-text {
            font-size: 12px;
            text-transform: uppercase;
            text-decoration: underline;
            color: #333;
            letter-spacing: 1px;
        }

        /* Shop Mobile */
        @media (max-width: 768px) {
            .shop-layout {
                grid-template-columns: 1fr;
            }

            .shop-filters {
                display: none;
            }

            .products-grid {
                grid-template-columns: 1fr 1fr;
                gap: 20px;
            }
        }

        /* 11. Checkout Styles */
        .checkout-page {
            padding-top: 40px;
            padding-bottom: 80px;
            background: #fcfcfc;
        }

        .checkout-layout {
            display: grid;
            grid-template-columns: 1.5fr 1fr;
            gap: 60px;
        }

        .checkout-step {
            background: #fff;
            padding: 30px;
            border: 1px solid #eee;
            margin-bottom: 20px;
            border-radius: 4px;
        }

        .checkout-step h2 {
            font-family: var(--font-heading);
            font-size: 20px;
            margin-bottom: 20px;
            color: var(--color-primary);
        }

        .form-input {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            margin-bottom: 15px;
            font-family: var(--font-body);
        }

        .payment-methods {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .p-method {
            padding: 15px;
            border: 1px solid #ddd;
            cursor: pointer;
            font-weight: 500;
        }

        .p-method.selected {
            border-color: var(--color-primary);
            background: #fafafa;
        }

        .order-summary {
            background: #fff;
            padding: 30px;
            border: 1px solid #eee;
            height: fit-content;
            position: sticky;
            top: 100px;
        }

        .order-summary h3 {
            font-family: var(--font-heading);
            font-size: 20px;
            margin-bottom: 20px;
            border-bottom: 1px solid #eee;
            padding-bottom: 15px;
        }

        .s-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            font-size: 14px;
        }

        .si-info small {
            display: block;
            color: #5E5149;
        }

        .summary-total {
            display: flex;
            justify-content: space-between;
            font-size: 18px;
            font-weight: 600;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid #000;
        }

        .gift-option {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px dashed #ddd;
        }

        /* Mobile Checkout */
        @media (max-width: 768px) {
            .checkout-layout {
                grid-template-columns: 1fr;
                gap: 30px;
            }
        }

        /* 12. Product Landing Page Extensions (ADS OPTIMIZED) */
        .lp-section {
            padding: 100px 0;
            position: relative;
            overflow: hidden;
        }

        /* Unboxing Experience */
        .lp-experience {
            background-color: #fff;
        }

        .lp-grid-visual {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
        }

        .lp-text h2 {
            font-family: var(--font-heading);
            font-size: 36px;
            margin-bottom: 20px;
            color: var(--color-primary);
        }

        .lp-image-block {
            height: 500px;
            background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
            position: relative;
            border-radius: 2px;
        }

        .lp-image-block::after {
            content: 'FOTO UNBOXING';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: #6B5B50;
            letter-spacing: 2px;
        }

        /* Flavors Grid */
        .lp-flavors {
            background-color: var(--color-bg);
            text-align: center;
        }

        .flavors-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            margin-top: 60px;
        }

        .flavor-card {
            background: #fff;
            padding: 30px 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease;
        }

        .flavor-card:hover {
            transform: translateY(-5px);
        }

        .flavor-color {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            margin: 0 auto 20px;
        }

        .flavor-card h4 {
            font-family: var(--font-heading);
            margin-bottom: 10px;
            color: var(--color-primary);
        }

        .flavor-card p {
            font-size: 13px;
            color: #4A4038;
            line-height: 1.5;
        }

        /* Social Proof & Guarantee */
        .lp-trust {
            background-color: #fdfdfd;
            border-top: 1px solid #eee;
            text-align: center;
        }

        .reviews-block {
            max-width: 800px;
            margin: 0 auto 80px;
        }

        .reviews-block h3 {
            text-transform: uppercase;
            font-size: 12px;
            letter-spacing: 2px;
            color: #6B5B50;
            margin-bottom: 30px;
        }

        .review-item p {
            font-family: var(--font-heading);
            font-size: 24px;
            font-style: italic;
            color: var(--color-text);
            margin-bottom: 20px;
        }

        .stars {
            color: var(--color-accent);
            margin-top: 10px;
        }

        .guarantee-badge {
            border: 1px solid var(--color-primary);
            padding: 40px;
            display: inline-block;
            max-width: 500px;
        }

        .guarantee-badge h4 {
            text-transform: uppercase;
        }

        /* Concierge Section */
        .shop-concierge {
            padding: 100px 20px;
            background-color: #F9F9F7;
            text-align: center;
            margin-top: 0;
        }

        .shop-concierge h3 {
            font-family: var(--font-heading);
            font-size: 28px;
            color: var(--color-primary);
            margin-bottom: 20px;
            font-style: italic;
        }

        .shop-concierge p {
            font-family: var(--font-body);
            font-size: 16px;
            color: #4A4038;
            margin-bottom: 30px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }


        /* --- SINGLE PRODUCT LANDING CSS --- */
        .single-product-page {
            width: 100%;
            overflow-x: hidden;
        }

        /* 1. SPLIT LAYOUT */
        .product-split-container {
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            /* Gallery larger */
            min-height: 100vh;
            max-width: 1600px;
            /* Increased by 10% from 1400px per user request */
            width: 95%;
            /* Ensure it doesn't touch edges on smaller screens */
            margin: 0 auto;
        }

        .product-gallery-sticky {
            position: sticky;
            top: 0;
            height: 100vh;
            background: #fdfbf7;
            padding: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .main-image-wrapper {
            width: 100%;
            height: auto;
            aspect-ratio: 1 / 1;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #fff;
            /* Optional: background for transparent pngs */
            position: relative;
        }

        .main-image-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            max-height: 80vh;
        }

        .product-info-panel {
            padding: 80px 60px;
            background: #fff;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .single-product-subtitle {
            font-family: var(--font-heading);
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: #6B5B50;
            margin-bottom: 10px;
            display: block;
        }

        .single-product-title {
            font-family: var(--font-heading);
            font-size: 42px;
            color: var(--color-primary);
            margin-bottom: 20px;
            font-weight: 300;
        }

        .single-product-price {
            font-size: 24px;
            color: var(--color-text);
            margin-bottom: 30px;
            display: block;
            font-weight: 400;
        }

        /* Accordions */
        .accordion-wrapper {
            border-top: 1px solid #eee;
            margin-top: 40px;
        }

        .accordion-item {
            border-bottom: 1px solid #eee;
        }

        .accordion-header {
            padding: 20px 0;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-family: var(--font-body);
            font-weight: 500;
            text-transform: uppercase;
            font-size: 13px;
            letter-spacing: 1px;
        }

        .accordion-content {
            display: none;
            padding-bottom: 20px;
            font-size: 14px;
            color: #4A4038;
            line-height: 1.6;
        }

        .accordion-header.active .plus {
            transform: rotate(45deg);
        }

        /* 2. STORY SECTION */
        .product-story-section {
            padding: 100px 20px;
            background: #fff;
            text-align: center;
        }

        .story-container {
            max-width: 800px;
            margin: 0 auto;
        }

        .story-badge {
            display: inline-block;
            border: 1px solid var(--color-primary);
            color: var(--color-primary);
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 12px;
            text-transform: uppercase;
            margin-bottom: 20px;
            letter-spacing: 1px;
        }

        .story-copy h2 {
            font-family: var(--font-heading);
            font-size: 36px;
            margin-bottom: 20px;
            color: var(--color-primary);
        }

        .story-copy p {
            font-size: 18px;
            line-height: 1.8;
            color: #555;
            font-weight: 300;
        }

        /* 3. FLAVORS GRID */
        .flavors-section {
            padding: 60px 20px 100px;
            background: #fdfbf7;
        }

        .flavors-title {
            font-family: var(--font-heading);
            font-size: 28px;
            color: var(--color-primary);
            margin-bottom: 50px;
            text-align: center;
        }

        .flavors-grid-visual {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .flavor-item {
            text-align: center;
        }

        /* 4. UPSELL GRID & VARIATIONS */
        .upsell-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
            max-width: 900px;
            margin: 0 auto;
        }

        .related-card {
            background: #fff;
            transition: all 0.3s ease;
        }

        .related-card:hover {
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            transform: translateY(-5px);
        }

        /* WooCommerce Variations Form Styling - Modern Stacked Layout */
        form.variations_form {
            margin-bottom: 30px;
        }

        table.variations {
            width: 100%;
            border: none;
            margin-bottom: 20px;
            display: block;
            /* Break table behavior */
        }

        table.variations tbody,
        table.variations tr {
            display: block;
            width: 100%;
        }

        table.variations td {
            display: block;
            width: 100%;
            padding: 0;
            margin: 0;
            text-align: left;
        }

        table.variations td.label {
            display: block;
            margin-bottom: 8px;
            color: var(--color-text);
            font-family: var(--font-body);
            font-weight: 500;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            width: 100%;
        }

        /* LUXURY SWATCHES STYLING */
        /* Hide select aggressively to let JS handle it, but keep it accessible for JS */
        table.variations select {
            /* 
               Fail-Safe: We do NOT hide the select here.
               JS will hide it by adding a class to the container or adjusting styles inline.
               This ensures that if JS fails, the messy dropdown is visible (better than nothing).
            */
            max-width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            background-color: #fff;
            color: #333;
        }

        /* Only hide if JS has successfully initialized */
        .has-lacabu-swatches select {
            display: none !important;
        }

        .lacabu-swatch-container {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 5px;
        }

        button.lacabu-swatch {
            background: transparent;
            border: 1px solid #D2C6B6;
            color: var(--color-text);
            padding: 8px 16px;
            font-family: var(--font-body);
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            cursor: pointer;
            transition: all 0.3s ease;
            min-width: 40px;
            text-align: center;
        }

        button.lacabu-swatch:hover {
            border-color: var(--color-primary);
            color: var(--color-primary);
        }

        button.lacabu-swatch.active {
            background-color: var(--color-primary);
            color: #fff;
            border-color: var(--color-primary);
        }

        /* UPSELL GRID & CARDS (SILENT LUXURY) */
        .upsell-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
            max-width: 900px;
            margin: 0 auto;
        }

        .related-card {
            padding: 30px;
            background: #fff;
            /* Border removed for cleaner look, optional subtle shadow */
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
            border: 1px solid transparent;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .related-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
            border-color: #f0f0f0;
        }

        .related-card a {
            text-decoration: none;
            display: block;
            width: 100%;
        }

        .related-card img {
            max-width: 100%;
            height: auto;
            margin-bottom: 20px;
            display: block;
            margin-left: auto;
            margin-right: auto;
        }

        .related-card h4 {
            margin-top: 15px;
            color: var(--color-primary);
            font-family: var(--font-heading);
            font-size: 18px;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 8px;
        }

        .related-card .price {
            color: var(--color-text);
            font-weight: 400;
            font-size: 16px;
            margin-bottom: 20px;
            display: block;
        }

        /* Button Fixes */
        .related-card .btn-outline {
            font-size: 12px;
            padding: 12px 24px;
            border: 1px solid #333;
            /* Darker border for visibility */
            color: #333;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            background: transparent;
            transition: all 0.3s ease;
            display: inline-block;
            text-decoration: none;
            width: 100%;
            text-align: center;
            box-sizing: border-box;
        }

        .related-card .btn-outline:hover {
            background-color: #5E503F;
            /* Fallback: Dark Brown */
            background-color: var(--color-primary);
            border-color: var(--color-primary);
            color: #fff !important;
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
            cursor: pointer;
        }

        /* Fix Spacing between Quantity and Add to Cart Button */
        .woocommerce-variation-add-to-cart,
        .cart {
            display: flex;
            gap: 20px;
            align-items: center;
            flex-wrap: wrap;
        }

        .woocommerce-variation-add-to-cart .quantity,
        .cart .quantity {
            margin: 0 !important;
            /* Reset default margins */
        }

        .single_add_to_cart_button {
            flex-grow: 1;
            max-width: 300px;
        }

        table.variations select:focus {
            border-color: var(--color-primary);
            box-shadow: 0 0 0 1px var(--color-primary);
        }

        table.variations .reset_variations {
            display: none !important;
        }

        .single_variation_wrap {
            margin-top: 20px;
        }

        .woocommerce-variation-price {
            margin-bottom: 20px;
            font-size: 18px;
            color: var(--color-primary);
        }

        /* Mobile Adjustments */
        @media (max-width: 768px) {
            .upsell-grid {
                grid-template-columns: 1fr;
            }

            table.variations td {
                display: block;
                width: 100%;
            }

            table.variations td.label {
                margin-bottom: 10px;
            }
        }
        }

        /* Updated Flavor Visuals (Wrapper-based) */
        .flavor-wrapper {
            width: 80px;
            height: 80px;
            margin: 0 auto 20px;
            position: relative;
            background-color: #E8E0D5;
            /* Placeholder Color */
            border-radius: 50%;
            border: 1px solid rgba(189, 155, 96, 0.4);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
            overflow: hidden;
            /* Clips the image to circle */
        }

        .flavor-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            border-radius: 50%;
            /* Double safety */
        }

        .flavor-dot {
            width: 100%;
            height: 100%;
            border-radius: 50%;
        }

        .flavor-dot {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            margin: 0 auto 20px;
        }

        .flavor-item h4 {
            font-size: 16px;
            margin-bottom: 5px;
            color: var(--color-text);
        }

        .flavor-item p {
            font-size: 13px;
            color: #5E5149;
            max-width: 200px;
            margin: 0 auto;
            line-height: 1.4;
        }

        /* Mobile */
        @media (max-width: 991px) {
            .product-split-container {
                display: block;
            }

            .product-gallery-sticky {
                position: relative;
                height: auto;
                top: 0;
                padding: 0;
            }

            .main-image-wrapper img {
                max-height: 500px;
                width: 100%;
                object-fit: cover;
            }

            .product-info-panel {
                padding: 40px 20px;
            }

            .flavors-grid-visual {
                grid-template-columns: repeat(2, 1fr);
            }
        }

/* Source: shared-responsive.css */
/* MOBILE OVERRIDES - See unified styles in Mobile Menu Overlay section below */

        /* General Responsive Fixes for Header & Footer */
        @media (max-width: 768px) {
            .site-header {
                padding-left: 15px;
                padding-right: 15px;
            }

            .header-grid {
                /* Ensure items don't overlap on small screens */
                gap: 10px;
            }

            /* Footer Responsive */
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 30px;
                text-align: center;
            }

            /* Typography Responsive */
            h1,
            .hero-title {
                font-size: 32px !important;
            }

            h2 {
                font-size: 26px !important;
            }

            /* Layout Adjustments */
            .container {
                padding-left: 20px;
                padding-right: 20px;
            }
        }

        /* --- MANUAL PATCHES (MARQUEE & CAROUSEL) --- */
        /* Trust Bar Marquee Styles (Restored) */
        .trust-bar-marquee {
            background-color: transparent;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            padding: 15px 0;
            overflow: hidden;
            /* CRUCIAL para evitar scroll infinito */
            white-space: nowrap;
            position: relative;
        }

        .marquee-track {
            display: flex;
            overflow: hidden;
            width: 100%;
        }

        .marquee-group {
            display: flex;
            flex-shrink: 0;
            align-items: center;
            justify-content: space-around;
            min-width: 100%;
            animation: scroll-x 30s linear infinite;
        }

        .trust-item {
            display: inline-flex;
            align-items: center;
            font-family: var(--font-heading, "Playfair Display", serif);
            font-size: 14px;
            color: #333;
            letter-spacing: 1px;
            padding: 0 30px;
            text-transform: uppercase;
        }

        .separator {
            color: #603612;
            opacity: 0.4;
            margin: 0 10px;
        }

        @keyframes scroll-x {
            from {
                transform: translateX(0);
            }

            to {
                transform: translateX(-100%);
            }
        }

        @media (max-width: 768px) {
            .trust-item {
                font-size: 0.8rem;
                padding: 0 15px;
            }

            .marquee-track {
                animation-duration: 25s;
            }

            /* Mobile Collections Carousel */
            .categories-grid {
                display: flex !important;
                flex-direction: row !important;
                overflow-x: auto;
                scroll-snap-type: x mandatory;
                gap: 20px;
                padding-bottom: 20px;
                scrollbar-width: none;
                -ms-overflow-style: none;
                margin-right: -20px;
                padding-right: 20px;
            }

            .categories-grid::-webkit-scrollbar {
                display: none;
            }

            .category-card {
                min-width: 80%;
                height: 55vh;
                scroll-snap-align: center;
                flex-shrink: 0;
                border-radius: 4px;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            }

            /* Story Section Mobile Fixes */
            .story-content {
                padding: 0 20px;
            }

            .story-content p,
            .story-content h2,
            .story-content h3 {
                text-align: left;
            }

            .story-content .btn {
                display: block;
                width: fit-content;
                margin: 30px auto 0 auto !important;
            }
        }

        /* Features Redesign (Option A) */
        .features-section {
            background-color: rgb(244, 241, 234);
            /* Mantener fondo original */
            padding: 80px 0;
            overflow: visible !important;
            /* Permitir que la animación salga */
            position: relative;
            z-index: 1;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            padding: 15px;
            /* Espacio para la sombra/movimiento sin romper layout */
            overflow: visible !important;
        }

        .feature-item {
            background: #fff;
            padding: 40px 20px;
            border: 1px solid #e6dfd5;
            border-radius: 2px;
            text-align: center;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            /* Transición más suave */
            position: relative;
            /* Necesario para z-index */
            z-index: 1;
            will-change: transform, box-shadow;
            /* Optimización de render */
        }

        .feature-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(96, 54, 18, 0.12);
            /* Sombra un poco más visible */
            border-color: #603612;
            z-index: 10;
            /* Asegurar que flote sobre todo */
        }

        .feature-icon {
            color: #603612;
            margin-bottom: 25px;
            display: flex;
            justify-content: center;
        }

        .feature-item h3 {
            font-family: var(--font-heading);
            font-size: 18px;
            margin-bottom: 12px;
            color: #3e2723;
            letter-spacing: 0.5px;
        }

        .feature-item p {
            font-size: 14px;
            color: #4A4038;
            line-height: 1.6;
        }

        /* Mobile Features */
        @media (max-width: 768px) {
            .features-grid {
                grid-template-columns: 1fr 1fr;
                /* 2 columnas en movil */
                gap: 15px;
            }

            .feature-item {
                padding: 25px 15px;
            }

            .feature-icon svg {
                width: 28px;
                height: 28px;
            }

            .feature-item h3 {
                font-size: 15px;
            }

            .feature-item p {
                font-size: 13px;
            }

            /* Footer Mobile Redesign */
            .site-footer {
                padding: 60px 0 30px;
                text-align: center;
                /* Centrar por defecto */
            }

            .footer-grid {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 30px 15px;
                text-align: left;
                /* Reset para las listas */
            }

            /* 1. Brand (Full Width) */
            .footer-col:nth-child(1) {
                grid-column: 1 / -1;
                text-align: center;
                margin-bottom: 20px;
                order: 1;
            }

            /* 2. Collection & Help (Side by Side) */
            .footer-col:nth-child(2),
            .footer-col:nth-child(3) {
                text-align: center;
                /* Centrado para equilibrio */
                padding: 0;
            }

            .footer-col:nth-child(2) {
                order: 2;
            }

            .footer-col:nth-child(3) {
                order: 3;
            }

            .footer-col h4 {
                font-size: 16px;
                margin-bottom: 15px;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
                padding-bottom: 5px;
                display: inline-block;
                /* Subrayado corto */
            }

            .site-footer .footer-col ul a,
            .site-footer .footer-col p a {
                min-height: 40px;
                align-items: center;
                justify-content: center;
            }

            /* 3. Social (Full Width Bottom) */
            .footer-col:nth-child(4) {
                grid-column: 1 / -1;
                text-align: center;
                order: 4;
                margin-top: 20px;
                border-top: 1px solid rgba(255, 255, 255, 0.05);
                /* Separador sutil */
                padding-top: 30px;
            }


        }

        /* Mobile Optimizations (Moved to end for cascade) */
        @media (max-width: 768px) {

            /* Hero Text Size Adjustment */
            .hero-title {
                font-size: 42px;
                margin-bottom: 15px;
            }

            .hero-subtitle {
                font-size: 16px;
                margin-bottom: 30px;
            }

            /* Trust Bar Scroll on Mobile */
            .trust-grid {
                justify-content: flex-start;
                overflow-x: auto;
                padding-bottom: 5px;
                -webkit-overflow-scrolling: touch;
                white-space: nowrap;
            }

            .trust-item {
                flex: 0 0 auto;
                margin-right: 20px;
            }

            /* Categories Stack */
            .categories-grid {
                display: grid !important;
                grid-template-columns: 1fr !important;
                gap: 30px;
                overflow-x: visible !important;
            }

            .category-card {
                height: 350px !important;
                /* Adjusted for mobile */
            }

            /* Menos alto en móvil */

            /* Features Grid */
            .features-grid {
                grid-template-columns: 1fr 1fr;
                gap: 40px 20px;
            }
        }


        /* WOOCOMMERCE OVERRIDES (Silent Luxury) - Global Application */
        /* Force Brand Colors on Buttons */
        .woocommerce #respond input#submit,
        .woocommerce a.button,
        .woocommerce button.button,
        .woocommerce input.button,
        .woocommerce #respond input#submit.alt,
        .woocommerce a.button.alt,
        .woocommerce button.button.alt,
        .woocommerce input.button.alt {
            background-color: var(--color-primary) !important;
            color: #fff !important;
            font-family: var(--font-body) !important;
            text-transform: uppercase !important;
            letter-spacing: 2px !important;
            font-size: 11px !important;
            font-weight: 600 !important;
            padding: 15px 30px !important;
            border-radius: 0 !important;
            /* Sharp edges */
            transition: all 0.3s ease !important;
        }

        .woocommerce #respond input#submit:hover,
        .woocommerce a.button:hover,
        .woocommerce button.button:hover,
        .woocommerce input.button:hover,
        .woocommerce #respond input#submit.alt:hover,
        .woocommerce a.button.alt:hover,
        .woocommerce button.button.alt:hover,
        .woocommerce input.button.alt:hover {
            background-color: var(--color-text) !important;
            transform: translateY(-2px);
        }

        /* Quantity Input Styling */
        .woocommerce .quantity .qty {
            width: 60px !important;
            padding: 10px !important;
            border: 1px solid #ddd !important;
            color: var(--color-primary) !important;
            font-family: var(--font-heading) !important;
            font-size: 18px !important;
        }

/* Source: navigation-overlay.css */
        /* Compact shared navigation. Same destinations, original brand assets. */

        .mobile-menu-overlay {
            position: fixed;
            inset: 0;
            background: rgba(40, 25, 10, .34);
            backdrop-filter: blur(4px);
            z-index: 9999;
            opacity: 0;
            visibility: hidden;
            transition: opacity 200ms ease, visibility 0s linear 280ms;
        }
        .mobile-menu-overlay.active {
            opacity: 1;
            visibility: visible;
            transition-delay: 0s;
        }
        .mobile-menu-container {
            position: absolute;
            inset: 0 0 0 auto;
            width: calc(100% - 24px);
            max-width: 380px;
            height: 100%;
            max-height: 100dvh;
            overflow: hidden;
            background: #F9F7F2;
            transform: translateX(100%);
            transition: transform 280ms cubic-bezier(.22, 1, .36, 1);
            padding: max(16px, env(safe-area-inset-top)) 24px max(16px, env(safe-area-inset-bottom));
            display: flex;
            flex-direction: column;
            align-items: stretch;
            box-shadow: -8px 0 28px rgba(47, 29, 14, .10);
        }
        .mobile-menu-overlay.active .mobile-menu-container { transform: translateX(0); }
        .close-menu {
            position: absolute;
            top: max(16px, env(safe-area-inset-top));
            right: 16px;
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px;
            border: 0;
            border-radius: 6px;
            background: transparent;
            color: #603612;
            cursor: pointer;
            opacity: 1;
            transition: background-color 160ms ease;
        }
        .close-menu:hover { background: rgba(96, 54, 18, .06); transform: none; }
        .close-menu svg { display: block; }
        .mobile-logo-wrapper {
            flex: 0 0 auto;
            width: 100%;
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            margin: 0 0 12px;
            padding: 0;
            border: 0;
        }
        .mobile-menu-logo {
            width: 104px;
            max-width: 104px;
            height: 104px;
            display: block;
            background: url('../../../../uploads/2025/12/LACABU-15-300x300.png') center / contain no-repeat;
        }
        @supports ((mask-image: url('')) or (-webkit-mask-image: url(''))) {
            .mobile-menu-logo {
                background: #603612;
                -webkit-mask: url('../../logo-email.png') center / contain no-repeat;
                mask: url('../../logo-email.png') center / contain no-repeat;
                mask-mode: alpha;
            }
        }
        .mobile-nav {
            flex: 1 1 auto;
            min-height: 0;
            width: 100%;
            text-align: left;
            overflow-y: auto;
            overscroll-behavior: contain;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;
            scrollbar-color: rgba(96, 54, 18, .24) transparent;
            padding: 4px;
            margin: -4px;
            box-sizing: content-box;
        }
        .mobile-menu-list {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 0;
        }
        .mobile-menu-list li {
            margin: 0;
            opacity: 1;
            transform: none;
            transition: none;
        }
        .mobile-menu-list .mobile-secondary-start {
            margin-top: 10px;
            padding-top: 10px;
            border-top: 1px solid rgba(96, 54, 18, .14);
        }
        .mobile-menu-list a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            min-height: 48px;
            padding: 10px 12px;
            border-radius: 6px;
            color: #603612;
            text-decoration: none;
            font-family: 'Inter', 'Inter', sans-serif;
            font-size: 17px;
            font-weight: 400;
            line-height: 1.5;
            letter-spacing: 0;
            transition: background-color 160ms ease;
        }
        .mobile-menu-list a:hover,
        .mobile-menu-list a:active {
            color: #603612;
            background: rgba(96, 54, 18, .055);
            font-style: normal;
        }
        .mobile-menu-list a[aria-current="page"] {
            text-decoration: underline;
            text-decoration-thickness: 1px;
            text-underline-offset: 5px;
            text-decoration-color: rgba(96, 54, 18, .45);
        }
        .mobile-menu-list .mobile-shop-link {
            min-height: 62px;
            margin-bottom: 8px;
            border: 1px solid rgba(96, 54, 18, .16);
            background: rgba(96, 54, 18, .035);
            font-family: 'Playfair Display', Georgia, serif;
            font-size: 28px;
            line-height: 1.2;
            font-weight: 400;
        }
        .mobile-shop-link svg { flex: 0 0 auto; }
        .mobile-footer {
            flex: 0 0 auto;
            width: 100%;
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid rgba(96, 54, 18, .14);
            text-align: center;
        }
        .mobile-footer .mobile-menu-cta {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            min-height: 48px;
            padding: 10px 12px;
            border: 1px solid rgba(96, 54, 18, .24);
            border-radius: 6px;
            color: #603612;
            font: 500 15px/1.4 'Inter', 'Inter', sans-serif;
            text-decoration: none;
            letter-spacing: 0;
            text-transform: none;
            transition: background-color 160ms ease;
        }
        .mobile-footer .mobile-menu-cta { gap: 8px; }
        .mobile-footer .mobile-menu-cta svg { display: block; flex: 0 0 auto; }
        .mobile-footer .mobile-menu-cta:hover { background: rgba(96, 54, 18, .055); }
        .mobile-social {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            column-gap: 12px;
            margin-top: 8px;
        }
        .mobile-social a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            padding: 10px;
            border: 1px solid rgba(96, 54, 18, .2);
            border-radius: 50%;
            color: #603612;
            font: 400 14px/1.4 'Inter', 'Inter', sans-serif;
            text-transform: none;
            letter-spacing: 0;
            text-decoration: none;
        }
        .mobile-social a:hover { background: rgba(96, 54, 18, .055); border-color: rgba(96, 54, 18, .4); }
        .mobile-social a svg { display: block; flex: 0 0 auto; }
        #mobile-menu-overlay :where(a, button):focus-visible {
            outline: 2px solid #603612;
            outline-offset: 3px;
        }
        @media (max-height: 600px) {
            .mobile-logo-wrapper { height: 72px; margin-bottom: 8px; }
            .mobile-menu-logo { width: 80px; height: 80px; }
            .mobile-footer { margin-top: 10px; padding-top: 10px; }
        }
        @media (prefers-reduced-motion: reduce) {
            #mobile-menu-overlay,
            #mobile-menu-overlay .mobile-menu-container,
            #mobile-menu-overlay a,
            #mobile-menu-overlay button {
                transition: none;
            }
        }

        @media (max-width: 768px) {
            :root { --header-height: 72px; }

            .site-header {
                padding-left: 0;
                padding-right: 0;
            }

            .site-header .header-grid {
                gap: 16px;
                padding-left: 20px;
                padding-right: 20px;
            }

            .site-header .header-actions { gap: 8px; }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 40px;
                text-align: center;
            }

            h1,
            .hero-title {
                font-size: 32px !important;
            }

            h2 {
                font-size: 26px !important;
            }

            .container {
                padding-left: 20px;
                padding-right: 20px;
            }
        }
