@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@500;600;700&display=swap');

        /* ===== BRAND VARIABLES ===== */
        :root {
            --brand-pink: #d81b60;
            --brand-pink-d: #9f1239;
            --brand-pink-l: #fff0f5;
            --brand-choco: #3d1a0a;
            --brand-choco-m: #6d3a1f;
            --brand-gold: #f59e0b;
            --brand-gold-l: #fef3c7;
            --brand-cream: #fdf8f3;
            --bg-body: #fdf7f2;
            --text-dark: #271d19;
            --text-mid: #6b4c3b;
            --text-soft: #9d7b6e;
            --card-bg: #ffffff;
            --border-warm: rgba(245, 158, 11, 0.22);
            --shadow-s: 0 4px 14px rgba(216, 27, 96, 0.07);
            --shadow-m: 0 12px 30px rgba(216, 27, 96, 0.13);
            --shadow-h: 0 22px 44px rgba(216, 27, 96, 0.22);
            --r-sm: 10px;
            --r-md: 16px;
            --r-lg: 22px;
            --r-xl: 28px;
            --r-full: 9999px;
            --ease: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            --bottom-nav-h: 66px;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Plus Jakarta Sans', sans-serif;
            -webkit-tap-highlight-color: transparent;
        }

        html {
            scroll-behavior: smooth;
            max-width: 100%;
            overflow-x: hidden;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: #fff9f5;
            background-image: radial-gradient(#881337 0.6px, transparent 0.6px), radial-gradient(#d97706 0.6px, #fff9f5 0.6px);
            background-size: 24px 24px;
            background-position: 0 0, 12px 12px;
            color: var(--text-dark);
            margin: 0;
            padding: 0;
            overflow-x: hidden;
            max-width: 100%;
            min-height: 100vh;
            padding-bottom: calc(var(--bottom-nav-h) + 12px);
        }

        /* ===== HEADER (DESKTOP) ===== */
        header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
            padding: 10px 4%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            border-bottom: 2px solid var(--brand-pink-l);
        }

        /* Brand Logo Area */
        .logo-container {
            display: flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            text-decoration: none;
        }

        .logo-img-wrap {
            width: 52px;
            height: 52px;
            border-radius: 50%;
            overflow: hidden;
            border: 2.5px solid var(--brand-pink);
            box-shadow: 0 4px 12px rgba(216, 27, 96, 0.25);
            flex-shrink: 0;
            animation: logoFloat 3.5s ease-in-out infinite;
        }

        .logo-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        @keyframes logoFloat {

            0%,
            100% {
                transform: translateY(0) rotate(0deg);
            }

            50% {
                transform: translateY(-4px) rotate(1deg);
            }
        }

        .logo-text-block h1,
        .brand-title,
        .brand-main-title {
            font-family: 'Playfair Display', Georgia, serif !important;
            font-size: 1.55rem !important;
            font-weight: 800 !important;
            color: #24130e !important;
            line-height: 1.05 !important;
            letter-spacing: -0.3px !important;
            white-space: nowrap !important;
            display: block !important;
            margin: 0 !important;
        }

        .gold-italic-accent,
        .brand-gold-word {
            display: inline !important;
            font-size: inherit !important;
            text-transform: none !important;
            letter-spacing: normal !important;
            font-family: 'Playfair Display', Georgia, serif !important;
            font-style: italic !important;
            font-weight: 800 !important;
            color: #C58B2B !important;
        }

        .logo-text-block .brand-tagline,
        .brand-tagline,
        .brand-sub-title {
            font-size: 0.65rem !important;
            font-weight: 700 !important;
            color: #8a5a10 !important;
            letter-spacing: 2px !important;
            text-transform: uppercase !important;
            margin-top: 2px !important;
            display: block !important;
            line-height: 1.1 !important;
        }

        .logo-text-block .logo-sub {
            font-size: 0.62rem;
            font-weight: 800;
            color: var(--brand-choco-m);
            letter-spacing: 1.5px;
            text-transform: uppercase;
            margin-top: 1px;
            display: block;
        }

        .logo-text-block .logo-tag {
            font-size: 0.62rem;
            font-style: italic;
            color: var(--brand-gold);
            font-weight: 700;
            display: block;
        }

        /* Desktop Search */
        .search-box {
            position: relative;
            flex: 1;
            max-width: 300px;
        }

        .search-box input {
            width: 100%;
            padding: 9px 16px 9px 36px;
            border-radius: var(--r-full);
            border: 1.5px solid #e9ddd5;
            background: #fdf8f5;
            font-size: 0.87rem;
            font-weight: 500;
            outline: none;
            color: var(--text-dark);
            transition: var(--ease);
        }

        .search-box input:focus {
            background: #fff;
            border-color: var(--brand-pink);
            box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.11);
        }

        .search-icon {
            position: absolute;
            left: 13px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 0.82rem;
            opacity: 0.55;
        }

        /* Desktop Nav */
        nav {
            display: flex;
            gap: 4px;
            align-items: center;
        }

        .stock-filter-chip {
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            color: #475569;
            padding: 12px 20px;
            border-radius: var(--r-full);
            font-size: 0.95rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s;
            flex-grow: 1;
            text-align: center;
        }

        .stock-filter-chip.active {
            background: linear-gradient(135deg, var(--brand-pink), var(--brand-gold));
            color: white;
            border-color: transparent;
            box-shadow: 0 4px 10px rgba(216, 27, 96, 0.25);
        }

        .nav-link {
            background: none;
            border: none;
            font-size: 0.88rem;
            font-weight: 700;
            color: var(--text-mid);
            cursor: pointer;
            padding: 7px 16px;
            border-radius: var(--r-full);
            transition: var(--ease);
            letter-spacing: 0.2px;
        }

        .nav-link:hover {
            color: var(--brand-pink);
            background: var(--brand-pink-l);
        }

        .nav-link.active {
            color: #fff;
            background: linear-gradient(135deg, var(--brand-pink), var(--brand-pink-d));
            box-shadow: 0 4px 14px rgba(216, 27, 96, 0.28);
        }

        /* Header Actions */
        .header-actions {
            display: flex;
            align-items: center;
            gap: 10px;
            justify-content: flex-end;
        }

        /* Google Login Button */
        .btn-google-login {
            background: #fff;
            border: 1.5px solid #e2e8f0;
            color: #334155;
            padding: 7px 14px;
            border-radius: var(--r-full);
            font-weight: 700;
            font-size: 0.82rem;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 7px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
            transition: var(--ease);
        }

        .btn-google-login:hover {
            border-color: #94a3b8;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }

        /* User Pill */
        .user-pill {
            display: flex;
            align-items: center;
            gap: 7px;
            background: #fff;
            padding: 4px 12px 4px 5px;
            border-radius: var(--r-full);
            border: 1.5px solid #fbcfe8;
            cursor: pointer;
            transition: var(--ease);
            position: relative;
            box-shadow: 0 2px 8px rgba(216, 27, 96, 0.08);
        }

        .user-pill:hover {
            border-color: var(--brand-pink);
            background: #fff5f8;
        }

        .user-avatar-img {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--brand-pink);
        }

        .user-pill-name {
            font-size: 0.82rem;
            font-weight: 800;
            color: var(--text-dark);
            max-width: 100px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .user-pill-arrow {
            font-size: 0.65rem;
            color: var(--text-soft);
            transition: transform 0.2s;
        }

        .user-pill.open .user-pill-arrow {
            transform: rotate(180deg);
        }

        /* Dropdown Menu */
        .user-dropdown-menu {
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            left: auto;
            background: #fff;
            border-radius: var(--r-lg);
            box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
            border: 1px solid #f1e8e4;
            width: 240px;
            padding: 12px;
            display: none;
            flex-direction: column;
            gap: 5px;
            z-index: 160;
            animation: dropFade 0.2s ease-out;
            max-height: calc(100vh - 90px);
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }

        .user-dropdown-menu::-webkit-scrollbar {
            width: 5px;
        }
        .user-dropdown-menu::-webkit-scrollbar-track {
            background: transparent;
        }
        .user-dropdown-menu::-webkit-scrollbar-thumb {
            background: #f1e0dc;
            border-radius: 10px;
        }
        .user-dropdown-menu::-webkit-scrollbar-thumb:hover {
            background: #f4bec8;
        }

        @keyframes dropFade {
            from {
                opacity: 0;
                transform: translateY(-6px);
            }

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

        .user-dropdown-menu.active {
            display: flex;
        }

        .dropdown-profile-header {
            display: flex;
            align-items: center;
            gap: 10px;
            padding-bottom: 10px;
            border-bottom: 1px solid #f1e8e4;
        }

        .dropdown-profile-header img {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            border: 2px solid var(--brand-pink);
        }

        .dropdown-profile-info {
            overflow: hidden;
            min-width: 0;
            flex: 1;
        }

        .dropdown-profile-info strong {
            font-size: 0.86rem;
            display: block;
            color: var(--text-dark);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .dropdown-points-box {
            background: linear-gradient(135deg, #fdf2f8, #fce7f3);
            border: 1px solid #fbcfe8;
            border-radius: 10px;
            padding: 10px;
            text-align: center;
            margin: 4px 0;
        }

        .dropdown-points-box span {
            font-size: 0.85rem;
            color: #831843;
            display: block;
            margin-bottom: 6px;
        }

        .dropdown-points-box strong {
            font-size: 1.1rem;
            color: var(--brand-pink);
        }

        .points-progress {
            width: 100%;
            height: 6px;
            background: #fbcfe8;
            border-radius: 3px;
            overflow: hidden;
            margin-bottom: 4px;
        }

        .points-bar {
            height: 100%;
            background: var(--brand-pink);
            transition: width 0.3s;
        }

        .dropdown-points-box small {
            font-size: 0.7rem;
            color: #9d174d;
        }

        .dropdown-points-simulator {
            background: #f8fafc;
            border: 1px dashed #cbd5e1;
            border-radius: 8px;
            padding: 8px;
            text-align: center;
            margin-bottom: 6px;
        }

        .dropdown-points-simulator strong {
            display: block;
            font-size: 0.75rem;
            color: #475569;
            margin-bottom: 2px;
        }

        .dropdown-points-simulator span {
            font-size: 0.75rem;
            color: var(--brand-pink);
            font-weight: 700;
            line-height: 1.2;
            display: block;
        }

        /* ── Historial de movimientos de puntos ──────────────────────────── */
        #historial-puntos-tabla-wrap,
        #historial-puntos-tabla-desk-wrap {
            background: #ffffff !important;
            border: 1px solid #f1f1f1;
            border-radius: 10px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.07);
            overflow: hidden;
            margin: 10px 0 6px 0;
        }

        #historial-puntos-tabla table,
        #historial-puntos-tabla-desk table {
            background: #ffffff;
        }

        #historial-puntos-tabla thead tr,
        #historial-puntos-tabla-desk thead tr {
            background: #f8f9fb !important;
        }

        #historial-puntos-tabla th,
        #historial-puntos-tabla-desk th {
            color: #4a5568 !important;
            font-weight: 700;
            font-size: 12px;
            letter-spacing: 0.02em;
            border-bottom: 1px solid #e8ecf0;
        }

        /* Filas: fecha y descripción en gris oscuro legible */
        #historial-puntos-tabla td:nth-child(1),
        #historial-puntos-tabla td:nth-child(2),
        #historial-puntos-tabla-desk td:nth-child(1),
        #historial-puntos-tabla-desk td:nth-child(2) {
            color: #2d3748 !important;
        }

        /* Columna de puntos: color inyectado inline por JS; sólo aseguramos el peso */
        #historial-puntos-tabla td:nth-child(3),
        #historial-puntos-tabla-desk td:nth-child(3) {
            font-weight: 800;
            font-size: 13px;
        }

        /* Filas zebra suave para legibilidad */
        #historial-puntos-tabla tbody tr:nth-child(even),
        #historial-puntos-tabla-desk tbody tr:nth-child(even) {
            background: #fafafa;
        }

        #historial-puntos-tabla tbody tr,
        #historial-puntos-tabla-desk tbody tr {
            border-bottom: 1px solid #f0f0f0 !important;
        }

        /* Texto vacío / sin historial */
        #historial-puntos-tabla p,
        #historial-puntos-tabla-desk p {
            color: #94a3b8 !important;
            font-size: 12px;
        }
        /* ───────────────────────────────────────────────────────────────── */

        .dropdown-profile-info small {
            color: var(--text-soft);
            font-size: 0.73rem;
            display: block;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .dropdown-btn {
            background: none;
            border: none;
            padding: 7px 10px;
            border-radius: 8px;
            text-align: left;
            font-size: 0.83rem;
            font-weight: 600;
            color: #475569;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: var(--ease);
        }

        .dropdown-btn:hover {
            background: #f8fafc;
            color: var(--text-dark);
        }

        .dropdown-btn.logout {
            color: #e11d48;
            background: transparent !important;
            box-shadow: none !important;
            font-size: 0.82rem;
            font-weight: 600;
            text-decoration: underline;
            text-underline-offset: 3px;
            padding: 4px 10px;
            width: 100%;
            text-align: center;
            justify-content: center;
            margin-top: 2px;
            opacity: 0.85;
        }

        .dropdown-btn.logout:hover {
            background: transparent !important;
            opacity: 1;
            color: #be123c;
        }

        /* Header Cart Button */
        .cart-btn {
            background: linear-gradient(135deg, var(--brand-pink), var(--brand-pink-d));
            color: #fff;
            border: none;
            padding: 9px 18px;
            border-radius: var(--r-full);
            font-weight: 800;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 7px;
            font-size: 0.88rem;
            box-shadow: 0 6px 18px rgba(216, 27, 96, 0.3);
            transition: var(--ease);
            position: relative;
        }

        .cart-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 24px rgba(216, 27, 96, 0.4);
        }

        .cart-btn.bounce {
            animation: cartBounce 0.45s cubic-bezier(0.18, 0.89, 0.32, 1.28);
        }

        @keyframes cartBounce {
            0% {
                transform: scale(1);
            }

            40% {
                transform: scale(1.22) rotate(-4deg);
            }

            70% {
                transform: scale(0.94);
            }

            100% {
                transform: scale(1);
            }
        }

        .cart-badge {
            background: var(--brand-gold);
            color: var(--brand-choco);
            font-size: 0.75rem;
            font-weight: 900;
            padding: 2px 7px;
            border-radius: var(--r-full);
        }

        /* ===== MOBILE BOTTOM NAVIGATION ===== */
        .mobile-bottom-nav {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: var(--bottom-nav-h);
            background: #fff;
            box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.10);
            border-top: 1px solid #f3e8e5;
            z-index: 99;
            padding: 0;
        }

        .bottom-nav-items {
            display: flex;
            justify-content: space-around;
            height: 100%;
            align-items: stretch;
            width: 100%;
            padding: 0;
            margin: 0;
        }

        .bottom-nav-btn {
            flex: 1 1 0;
            min-width: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 3px;
            background: none;
            border: none;
            cursor: pointer;
            transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
            padding: 7px 1px 7px;
            position: relative;
        }

        .bottom-nav-btn .bn-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
            color: #6e564c;
            transition: transform 0.22s ease, color 0.22s ease;
        }

        .bottom-nav-btn .bn-icon svg {
            width: 22px;
            height: 22px;
            stroke-width: 1.9;
            stroke: currentColor;
            display: block;
            transition: transform 0.22s ease, stroke 0.22s ease;
        }

        .bottom-nav-btn .bn-label {
            font-size: 0.69rem;
            font-weight: 700;
            color: #6e564c;
            letter-spacing: 0.2px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 100%;
            text-align: center;
            line-height: 1.1;
            transition: color 0.22s ease;
        }

        .bottom-nav-btn.active .bn-icon {
            transform: translateY(-1px) scale(1.08);
            color: #9d174d;
        }

        .bottom-nav-btn.active .bn-icon svg {
            stroke: #9d174d;
            filter: drop-shadow(0 2px 6px rgba(157, 23, 77, 0.25));
        }

        .bottom-nav-btn.active .bn-label {
            color: #9d174d;
            font-weight: 800;
        }

        .bottom-nav-btn.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 22%;
            right: 22%;
            height: 3px;
            background: linear-gradient(90deg, #C58B2B 0%, #be185d 100%);
            border-radius: 3px 3px 0 0;
            box-shadow: 0 -1px 6px rgba(197, 139, 43, 0.45);
        }

        /* Cart bottom nav special style (Elevated circle boutique) */
        .bottom-nav-btn.cart-nav-btn {
            position: relative;
        }

        .bottom-nav-btn.cart-nav-btn .bn-icon {
            background: linear-gradient(135deg, #881337 0%, #9d174d 60%, #be185d 100%);
            color: #ffffff;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid #C58B2B;
            box-shadow: 0 4px 16px rgba(136, 19, 55, 0.38), 0 0 0 3px rgba(197, 139, 43, 0.18);
            margin-bottom: 2px;
            margin-top: -10px;
            transition: transform 0.22s ease, box-shadow 0.22s ease;
        }

        .bottom-nav-btn.cart-nav-btn .bn-icon svg {
            width: 22px;
            height: 22px;
            stroke-width: 2.1;
            stroke: #ffffff;
            filter: none;
        }

        .bottom-nav-btn.cart-nav-btn:active .bn-icon {
            transform: scale(0.94);
        }

        .cart-mobile-badge {
            position: absolute;
            top: -6px;
            right: calc(50% - 24px);
            background: linear-gradient(135deg, #C58B2B 0%, #e0a338 100%);
            color: #24130e;
            font-size: 0.65rem;
            font-weight: 900;
            min-width: 19px;
            height: 19px;
            padding: 0 4px;
            border-radius: 999px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid #ffffff;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
            z-index: 4;
        }

        /* ===== MOBILE HEADER (Compact) ===== */
        .mobile-header {
            display: none;
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(255, 255, 255, 0.97);
            backdrop-filter: blur(16px);
            box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
            padding: 8px 16px;
            align-items: center;
            justify-content: space-between;
            border-bottom: 2px solid var(--brand-pink-l);
            overflow: hidden;
        }

        .mobile-logo {
            display: flex;
            align-items: center;
            gap: 9px;
        }

        .mobile-logo-img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--brand-pink);
            box-shadow: 0 2px 8px rgba(216, 27, 96, 0.2);
        }

        .mobile-logo-text h1,
        .mobile-logo-text .brand-title,
        .mobile-logo-text .brand-main-title {
            font-family: 'Playfair Display', Georgia, serif !important;
            font-size: 1.15rem !important;
            font-weight: 800 !important;
            color: #24130e !important;
            line-height: 1.05 !important;
            letter-spacing: -0.3px !important;
            white-space: nowrap !important;
            display: block !important;
            margin: 0 !important;
        }

        .mobile-logo-text .brand-gold-word {
            display: inline !important;
            font-size: inherit !important;
            text-transform: none !important;
            letter-spacing: normal !important;
            font-family: 'Playfair Display', Georgia, serif !important;
            font-style: italic !important;
            font-weight: 800 !important;
            color: #C58B2B !important;
        }

        .mobile-logo-text .brand-sub-title,
        .mobile-logo-text .brand-tagline {
            font-size: 0.55rem !important;
            font-weight: 700 !important;
            color: #8a5a10 !important;
            text-transform: uppercase !important;
            letter-spacing: 1.8px !important;
            display: block !important;
            margin-top: 2px !important;
            line-height: 1 !important;
        }

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

        /* Botón Joya Marfil & Oro: Lupa y Hamburguesa */
        .search-circle-btn,
        .mobile-menu-btn {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: linear-gradient(145deg, #ffffff 0%, #fdf8ee 100%);
            border: 1.5px solid rgba(197, 139, 43, 0.65);
            box-shadow: 0 4px 12px rgba(44, 24, 16, 0.08);
            color: #2c1810;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.22s cubic-bezier(0.2, 0, 0.2, 1);
            padding: 0;
        }

        .search-circle-btn svg,
        .mobile-menu-btn svg {
            color: #2c1810;
            stroke: #2c1810;
            transition: stroke 0.22s ease, transform 0.22s ease;
        }

        .search-circle-btn:hover,
        .mobile-menu-btn:hover {
            border-color: #C58B2B;
            box-shadow: 0 6px 16px rgba(197, 139, 43, 0.22);
            transform: translateY(-1px);
        }

        .search-circle-btn:hover svg,
        .mobile-menu-btn:hover svg {
            stroke: #9d174d;
        }

        .search-circle-btn:active,
        .mobile-menu-btn:active {
            transform: scale(0.92);
            background: #fff8eb;
        }

        /* Botón de Acceso / Usuario cuando no ha iniciado sesión */
        .mobile-google-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            border: 1.5px solid rgba(197, 139, 43, 0.65);
            background: linear-gradient(145deg, #ffffff 0%, #fdf8ee 100%);
            box-shadow: 0 4px 12px rgba(44, 24, 16, 0.08);
            cursor: pointer;
            transition: all 0.22s ease;
        }

        .mobile-google-btn:hover {
            border-color: #C58B2B;
            transform: translateY(-1px);
        }

        /* Avatar de Usuario Móvil: Insignia VIP Imperial */
        #mobile-avatar-wrap {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: linear-gradient(135deg, #2c1810 0%, #7a1436 100%);
            border: 1.8px solid #C58B2B !important;
            box-shadow: 0 4px 12px rgba(44, 24, 16, 0.16);
            overflow: hidden;
            transition: transform 0.22s ease, box-shadow 0.22s ease;
        }

        #mobile-avatar-wrap:hover {
            transform: scale(1.06);
            box-shadow: 0 6px 16px rgba(197, 139, 43, 0.3);
        }

        #mobile-user-avatar {
            width: 100% !important;
            height: 100% !important;
            border-radius: 50% !important;
            object-fit: cover !important;
            border: none !important;
        }

        /* Mobile Search Bar (expandable) */
        .mobile-search-bar {
            display: none;
            padding: 0 14px 10px;
            background: rgba(255, 255, 255, 0.97);
            border-bottom: 1px solid #f3e8e5;
        }

        .mobile-search-bar.open {
            display: block;
        }

        .mobile-search-bar input {
            width: 100%;
            padding: 10px 16px 10px 38px;
            border-radius: var(--r-full);
            border: 1.5px solid #e2e8f0;
            background: #fdf8f5;
            font-size: 0.9rem;
            outline: none;
            position: relative;
        }

        .mobile-search-bar input:focus {
            border-color: var(--brand-pink);
            box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.1);
        }

        .mobile-search-wrap {
            position: relative;
        }

        .mobile-search-wrap .search-icon {
            position: absolute;
            left: 13px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 0.85rem;
            opacity: 0.5;
        }

        /* Botón de Menú Hamburguesa en Header Móvil */
        .mobile-menu-btn {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            border: 1.5px solid #ffe3ec;
            background-color: #fff5f8;
            color: #d81b60;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
            padding: 0;
            box-shadow: 0 2px 6px rgba(216, 27, 96, 0.08);
            flex-shrink: 0;
        }

        .mobile-menu-btn:hover {
            background-color: #ffe3ec;
            transform: scale(1.05);
        }

        .mobile-menu-btn:active {
            transform: scale(0.92);
        }

        /* Mobile Dropdown Sheet (Menú de Opciones Secundarias) */
        .mobile-dropdown-menu {
            position: fixed;
            inset: 0;
            z-index: 10001;
        }

        .mobile-menu-backdrop {
            position: absolute;
            inset: 0;
            background: rgba(15, 23, 42, 0.55);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            animation: fadeInModal 0.2s ease;
        }

        .mobile-menu-sheet {
            position: absolute;
            top: 0;
            right: 0;
            width: 310px;
            max-width: 86vw;
            height: 100%;
            background: linear-gradient(180deg, #fffdfa 0%, #fff7f9 100%);
            border-left: 2px solid rgba(197, 139, 43, 0.4);
            box-shadow: -8px 0 32px rgba(44, 24, 16, 0.16);
            display: flex;
            flex-direction: column;
            animation: slideInRight 0.28s cubic-bezier(0.16, 1, 0.3, 1);
            z-index: 2;
            padding: 18px 16px;
            box-sizing: border-box;
        }

        @keyframes slideInRight {
            from { transform: translateX(100%); }
            to { transform: translateX(0); }
        }

        .mobile-menu-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1.5px solid rgba(197, 139, 43, 0.22);
            padding-bottom: 14px;
            margin-bottom: 12px;
        }

        .btn-close-drawer {
            background: #fdf8ee;
            border: 1.5px solid #C58B2B;
            color: #2c1810;
            font-size: 1.25rem;
            line-height: 1;
            border-radius: 50%;
            width: 34px;
            height: 34px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
            box-shadow: 0 2px 6px rgba(197, 139, 43, 0.15);
            padding: 0;
        }

        .btn-close-drawer:hover,
        .btn-close-drawer:active {
            background: #C58B2B;
            color: #ffffff;
            transform: scale(1.05);
        }

        .mobile-menu-links {
            display: flex;
            flex-direction: column;
            gap: 8px;
            overflow-y: auto;
            flex-grow: 1;
            padding-right: 2px;
            padding-bottom: 8px;
        }

        .mobile-menu-item {
            display: flex;
            align-items: center;
            gap: 12px;
            width: 100%;
            padding: 10px 12px;
            background: #ffffff;
            border: 1px solid rgba(197, 139, 43, 0.35);
            border-radius: 14px;
            font-size: 0.9rem;
            font-weight: 700;
            color: #24130e;
            text-align: left;
            cursor: pointer;
            font-family: inherit;
            box-shadow: 0 2px 8px rgba(44, 24, 16, 0.04);
            transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
            box-sizing: border-box;
            position: relative;
        }

        .mobile-menu-item:hover,
        .mobile-menu-item:active {
            background: #fff0f5;
            border-color: #C58B2B;
            box-shadow: 0 4px 14px rgba(197, 139, 43, 0.18);
            transform: translateX(4px);
        }

        /* Medallón joya para el icono de cada opción */
        .mobile-menu-item .mmi-medallion {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            background: linear-gradient(135deg, #fff0f5 0%, #fdf6e9 100%);
            border: 1px solid rgba(197, 139, 43, 0.45);
            color: #9d174d;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            box-shadow: 0 2px 6px rgba(157, 23, 77, 0.08);
            transition: all 0.2s ease;
        }

        .mobile-menu-item:hover .mmi-medallion,
        .mobile-menu-item:active .mmi-medallion {
            background: linear-gradient(135deg, #9d174d 0%, #7a1436 100%);
            color: #ffffff;
            border-color: #C58B2B;
            transform: scale(1.05);
        }

        .mobile-menu-item .mmi-label {
            flex: 1;
            line-height: 1.25;
            letter-spacing: -0.15px;
        }

        .mobile-menu-item .mmi-arrow {
            color: #C58B2B;
            font-size: 1.25rem;
            font-weight: 700;
            line-height: 1;
            opacity: 0.85;
            transition: transform 0.2s ease;
            margin-left: auto;
            flex-shrink: 0;
        }

        .mobile-menu-item:hover .mmi-arrow,
        .mobile-menu-item:active .mmi-arrow {
            opacity: 1;
            transform: translateX(3px);
        }

        /* Tarjeta especial WhatsApp en Menú Lateral */
        .mobile-menu-item.mmi-whatsapp {
            background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
            border: 1.5px solid rgba(37, 211, 102, 0.45);
        }

        .mobile-menu-item.mmi-whatsapp:hover,
        .mobile-menu-item.mmi-whatsapp:active {
            border-color: #25D366;
            background: #ecfdf5;
            box-shadow: 0 4px 14px rgba(37, 211, 102, 0.2);
        }

        .mobile-menu-item .mmi-medallion-wa {
            background: linear-gradient(135deg, #e8f8ee 0%, #dcfce7 100%);
            border-color: rgba(37, 211, 102, 0.5);
            color: #15803d;
        }

        .mobile-menu-item.mmi-whatsapp:hover .mmi-medallion-wa,
        .mobile-menu-item.mmi-whatsapp:active .mmi-medallion-wa {
            background: #25D366;
            color: #ffffff;
            border-color: #1da851;
        }

        /* Compatibilidad retroactiva si algún elemento usa .mmi-icon */
        .mobile-menu-item .mmi-icon {
            font-size: 1.25rem;
            width: 26px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        /* ===== SECTIONS ===== */
        .section {
            display: none;
            max-width: 1200px;
            margin: 22px auto;
            padding: 0 18px;
            animation: secFade 0.3s ease-out;
        }

        .section.active {
            display: block;
        }

        @keyframes secFade {
            from {
                opacity: 0;
                transform: translateY(7px);
            }

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

        /* ===== HERO BANNER ===== */
        .hero {
            position: relative;
            background: radial-gradient(circle at 50% 30%, #fffbf2 0%, #fff0f5 70%, #fde8ef 100%) !important;
            padding: 28px 16px;
            display: flex;
            flex-direction: column;
            align-items: center;
            color: var(--text-dark);
            text-align: center;
            border-radius: var(--r-xl);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
            margin-bottom: 32px;
            overflow: hidden;
            border: 1px solid rgba(216, 27, 96, 0.08);
        }

        .hero-welcome-card {
            background: rgba(255, 255, 255, 0.82);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(229, 169, 60, 0.25);
            border-radius: 24px;
            padding: 24px;
            text-align: center;
            max-width: 500px;
            width: 90%;
            position: relative;
            z-index: 2;
            box-shadow: 0 15px 35px -10px rgba(136, 19, 55, 0.08);
            margin: 0 auto;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }

        .hero-welcome-card:hover {
            border-color: rgba(229, 169, 60, 0.55);
            box-shadow: 0 16px 40px rgba(197, 139, 43, 0.12), 0 15px 35px -10px rgba(136, 19, 55, 0.08);
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -60px;
            right: -60px;
            width: 240px;
            height: 240px;
            background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }

        .hero::after {
            content: '';
            position: absolute;
            bottom: -40px;
            left: -40px;
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(216, 27, 96, 0.08) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }

        .hero-brand-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--brand-pink-l);
            padding: 6px 16px;
            border-radius: var(--r-full);
            font-size: 0.82rem;
            font-weight: 700;
            margin-bottom: 18px;
            border: 1px solid rgba(216, 27, 96, 0.15);
            color: var(--brand-pink);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .hero-logo-img {
            width: 110px;
            height: 110px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid #fff;
            box-shadow: 0 8px 24px rgba(216, 27, 96, 0.15);
            margin: 0 auto 18px;
            display: block;
        }

        .hero h1 {
            font-family: 'Dancing Script', cursive;
            font-size: clamp(2.2rem, 5vw, 3.5rem);
            font-weight: 700;
            line-height: 1.1;
            margin-bottom: 8px;
            color: var(--brand-pink);
        }

        .hero .hero-sub {
            font-size: clamp(1rem, 2.2vw, 1.2rem);
            font-style: italic;
            color: var(--text-mid);
            margin-bottom: 6px;
            font-weight: 600;
        }

        .hero p.hero-body {
            font-size: clamp(0.88rem, 1.8vw, 1.05rem);
            margin: 0 auto 26px;
            max-width: 620px;
            color: var(--text-soft);
            font-weight: 500;
            line-height: 1.55;
        }

        .hero-actions {
            display: flex;
            justify-content: center;
            gap: 12px;
            flex-wrap: wrap;
            width: 100%;
        }

        .btn-gold-shimmer {
            background: linear-gradient(135deg, #e67e22 0%, #d35400 100%) !important;
            color: #ffffff !important;
            font-weight: 700;
            font-size: 1.05rem;
            border: none;
            border-radius: 30px;
            padding: 14px 28px;
            box-shadow: 0 6px 18px rgba(211, 84, 0, 0.32);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            width: 90%;
            max-width: 320px;
            margin: 14px auto;
        }

        .btn-gold-shimmer:active {
            transform: scale(0.96);
            box-shadow: 0 3px 10px rgba(211, 84, 0, 0.22);
        }

        .btn-gold {
            background: linear-gradient(135deg, #fbbf24, #f59e0b);
            color: #78350f;
            border: none;
            padding: 13px 28px;
            font-size: 1rem;
            font-weight: 800;
            border-radius: var(--r-full);
            cursor: pointer;
            box-shadow: 0 8px 22px rgba(245, 158, 11, 0.3);
            transition: var(--ease);
            display: inline-flex;
            align-items: center;
            gap: 7px;
        }

        .btn-gold:hover {
            transform: translateY(-2px) scale(1.03);
        }

        .btn-outline-white {
            background: #fff;
            color: var(--brand-pink);
            border: 2px solid var(--brand-pink);
            padding: 13px 24px;
            font-size: 1rem;
            font-weight: 700;
            border-radius: var(--r-full);
            cursor: pointer;
            transition: var(--ease);
            box-shadow: 0 4px 12px rgba(216, 27, 96, 0.08);
        }

        .btn-outline-white:hover {
            background: var(--brand-pink-l);
        }

        .btn-outline-white .bn-icon {
            color: #25D366;
            font-size: 1.2rem;
        }

        /* Love Phrase */
        .hero-love-phrase {
            margin-top: 32px;
            font-family: 'Dancing Script', cursive;
            font-size: 1.8rem;
            color: var(--brand-pink);
            font-weight: 700;
        }

        .hero-love-phrase span {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 0.95rem;
            display: block;
            color: var(--text-mid);
            margin-top: 4px;
            font-weight: 600;
            font-style: italic;
        }

        .login-incentive-box {
            display: flex;
            align-items: center;
            gap: 12px;
            background: rgba(255, 255, 255, 0.9);
            border: 2px dashed var(--brand-pink);
            padding: 12px 18px;
            border-radius: 16px;
            max-width: 480px;
            margin: 28px auto 0;
            cursor: pointer;
            transition: var(--ease);
            text-align: left;
            box-shadow: 0 4px 15px rgba(216, 27, 96, 0.1);
        }

        .login-incentive-box:hover {
            transform: translateY(-2px);
            background: #fff;
            box-shadow: 0 6px 20px rgba(216, 27, 96, 0.15);
        }

        .li-icon {
            font-size: 1.8rem;
        }

        .li-text strong {
            display: block;
            color: var(--brand-pink);
            font-size: 0.95rem;
            margin-bottom: 2px;
        }

        .li-text p {
            margin: 0;
            font-size: 0.8rem;
            color: var(--text-dark);
            line-height: 1.3;
        }

        .li-arrow {
            font-size: 1.2rem;
            color: var(--brand-pink);
            margin-left: auto;
            font-weight: bold;
        }

        .cart-login-incentive {
            background: #fdf2f8;
            border-radius: 12px;
            padding: 12px;
            margin-bottom: 15px;
            border: 1px solid #fbcfe8;
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
        }

        .cart-login-incentive:hover {
            background: #fce7f3;
        }

        .cart-login-incentive span {
            font-size: 0.82rem;
            color: #831843;
            font-weight: 500;
        }

        .cart-login-incentive strong {
            color: var(--brand-pink);
        }

        /* ===== CATEGORY CHIPS ===== */
        .section-title {
            text-align: center;
            font-family: 'Dancing Script', cursive;
            font-size: 2rem;
            color: var(--text-dark);
            margin: 28px 0 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .cat-chip-scroll {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            padding: 8px 4px 18px;
            margin-bottom: 20px;
            justify-content: center;
            flex-wrap: wrap;
            scrollbar-width: none;
        }

        .cat-chip-scroll::-webkit-scrollbar {
            display: none;
        }

        .cat-chip {
            background: #fff;
            color: var(--text-mid);
            border: 1.5px solid #f0d8ce;
            padding: 8px 18px;
            border-radius: var(--r-full);
            font-weight: 700;
            font-size: 0.86rem;
            cursor: pointer;
            white-space: nowrap;
            box-shadow: var(--shadow-s);
            transition: var(--ease);
        }

        .cat-chip:hover {
            border-color: var(--brand-pink);
            color: var(--brand-pink);
            transform: translateY(-2px);
        }

        .cat-chip.active {
            background: linear-gradient(135deg, var(--brand-pink), var(--brand-pink-d));
            color: #fff;
            border-color: var(--brand-pink);
            box-shadow: 0 6px 18px rgba(216, 27, 96, 0.35);
        }

        /* ===== PRODUCT GRID & CARDS ===== */
        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
            gap: 22px;
            margin-bottom: 40px;
        }

        .card {
            background: var(--card-bg);
            border-radius: 18px;
            overflow: hidden;
            box-shadow: var(--shadow-s);
            border: 1px solid var(--border-warm);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
        }

        .card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-h);
        }

        .card-img-wrap {
            position: relative;
            width: 100%;
            height: 180px;
            overflow: hidden;
            background: #f5ede8;
        }

        .card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .card:hover img {
            transform: scale(1.06);
        }

        .card-tag {
            position: absolute;
            top: 10px;
            left: 10px;
            background: linear-gradient(135deg, #fbbf24, #f59e0b);
            color: var(--brand-choco);
            font-weight: 800;
            font-size: 0.72rem;
            padding: 4px 11px;
            border-radius: var(--r-full);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
            z-index: 2;
        }

        .badge-discount {
            position: relative;
            background: linear-gradient(135deg, #D48817 0%, #B86B11 100%);
            color: #ffffff;
            font-weight: 700;
            font-size: 0.62rem;
            padding: 3px 9px;
            border-radius: var(--r-full);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
            z-index: 2;
        }

        .price-old {
            color: #9ca3af;
            font-size: 0.85rem;
            text-decoration: line-through;
            font-weight: 600;
        }

        .price-current {
            font-weight: 800;
            font-size: 1.05rem;
            color: #881337;
        }

        .card-body {
            padding: 16px;
            text-align: center;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .card h3 {
            font-size: 1.05rem;
            font-weight: 800;
            color: var(--text-dark);
            margin-bottom: 4px;
            line-height: 1.3;
        }

        .card-desc {
            font-size: 0.85rem;
            color: #4b5563;
            margin: 6px 0;
            line-height: 1.35;
        }

        .price-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            margin-bottom: 12px;
        }

        .price {
            color: var(--brand-pink);
            font-size: 1.45rem;
            font-weight: 900;
            letter-spacing: -0.5px;
        }

        .price-label {
            background: var(--brand-pink-l);
            color: var(--brand-pink);
            font-size: 0.68rem;
            font-weight: 700;
            padding: 2px 7px;
            border-radius: 6px;
            border: 1px solid #fecdd3;
        }

        /* Qty Controls */
        .quantity-control {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 7px;
            margin-bottom: 12px;
        }

        .qty-btn {
            background: #f5ede8;
            border: 1.5px solid #e0c8be;
            width: 34px;
            height: 34px;
            border-radius: 9px;
            font-weight: 800;
            cursor: pointer;
            font-size: 1.15rem;
            color: var(--brand-choco-m);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--ease);
        }

        .qty-btn:hover {
            background: #fcd5d5;
            border-color: var(--brand-pink);
            color: var(--brand-pink);
        }

        .qty-input {
            width: 54px;
            height: 34px;
            text-align: center;
            border: 1.5px solid #ddd3cd;
            border-radius: 9px;
            font-weight: 800;
            font-size: 0.96rem;
            outline: none;
            background: #fff;
            transition: border-color 0.2s;
        }

        .qty-input:focus {
            border-color: var(--brand-pink);
            box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.12);
        }

        .qty-input::-webkit-outer-spin-button,
        .qty-input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        .qty-input[type=number] {
            -moz-appearance: textfield;
        }

        /* Add to Cart Button */
        .btn-add {
            width: 100%;
            background: var(--brand-pink-l);
            color: var(--brand-pink);
            border: 1.5px solid #fecdd3;
            padding: 10px;
            border-radius: var(--r-sm);
            font-weight: 800;
            font-size: 0.88rem;
            cursor: pointer;
            transition: var(--ease);
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 6px;
        }

        .btn-add:hover {
            background: var(--brand-pink);
            color: #fff;
            border-color: var(--brand-pink);
            box-shadow: 0 6px 18px rgba(216, 27, 96, 0.3);
            transform: translateY(-1px);
        }

        .btn-add.added {
            background: #22c55e !important;
            color: #fff !important;
            border-color: #22c55e !important;
        }

        /* Flying animation */
        .flying-img {
            position: fixed;
            z-index: 9999;
            pointer-events: none;
            border-radius: 50%;
            object-fit: cover;
            box-shadow: 0 10px 24px rgba(216, 27, 96, 0.3);
            border: 3px solid #fff;
            transition: all 0.72s cubic-bezier(0.18, 0.89, 0.32, 1.28);
        }

        /* ===== ABOUT SECTION ELEMENTS ===== */
        .identity-banner {
            background: linear-gradient(135deg, #fff6f0, #fff0f5);
            border: 1.5px solid rgba(245, 158, 11, 0.25);
            border-radius: var(--r-xl);
            padding: 32px 24px;
            text-align: center;
            margin: 40px 0 24px;
            box-shadow: var(--shadow-s);
            position: relative;
            overflow: hidden;
        }

        .identity-banner::before {
            content: '🍰';
            position: absolute;
            top: -10px;
            right: -10px;
            font-size: 5rem;
            opacity: 0.06;
            pointer-events: none;
        }

        .identity-banner h3 {
            font-family: 'Dancing Script', cursive;
            font-size: 1.7rem;
            color: var(--brand-pink);
            margin-bottom: 8px;
        }

        .identity-banner p {
            color: #5c2a1a;
            font-weight: 600;
            max-width: 760px;
            margin: 0 auto;
            line-height: 1.65;
            font-size: 0.98rem;
        }

        .identity-tagline {
            font-family: 'Dancing Script', cursive;
            font-size: 1.1rem;
            color: var(--brand-gold);
            margin-top: 10px;
            font-weight: 700;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
            gap: 18px;
            margin: 24px 0 40px;
        }

        .feature-card {
            background: #fff;
            padding: 20px 18px;
            border-radius: var(--r-lg);
            box-shadow: var(--shadow-s);
            display: flex;
            align-items: flex-start;
            gap: 14px;
            border: 1px solid #f3e8e3;
            transition: var(--ease);
        }

        .feature-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-m);
        }

        .feature-icon {
            font-size: 1.9rem;
            flex-shrink: 0;
        }

        .feature-text strong {
            display: block;
            font-size: 0.95rem;
            color: var(--text-dark);
            margin-bottom: 3px;
        }

        .feature-text p {
            font-size: 0.8rem;
            color: var(--text-soft);
            line-height: 1.4;
        }

        .feature-card.delivery-clickable {
            cursor: pointer;
            border-color: #fce7f3;
            background: linear-gradient(180deg, #ffffff 0%, #fffbfd 100%);
        }

        .feature-card.delivery-clickable:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 24px rgba(216, 27, 96, 0.16);
            border-color: #f472b6;
        }

        .delivery-conditions-link {
            color: #d81b60;
            font-size: 0.82rem;
            font-weight: 700;
            text-decoration: underline;
            margin-top: 6px;
            display: inline-block;
            transition: color 0.2s ease;
        }

        .delivery-conditions-link:hover {
            color: #ad1457;
        }

        /* Info Sections (Nosotros / Ubicación) */
        .info-card {
            background: #fff;
            padding: 36px;
            border-radius: var(--r-xl);
            box-shadow: var(--shadow-s);
            border: 1px solid var(--border-warm);
            margin-bottom: 28px;
        }

        .info-card h2 {
            font-family: 'Dancing Script', cursive;
            color: var(--brand-pink);
            font-size: 2rem;
            margin-bottom: 14px;
        }

        .about-lead {
            font-size: 1.12rem;
            color: #1e293b;
            font-weight: 600;
            margin-bottom: 18px;
            line-height: 1.6;
        }

        .mv-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
            gap: 20px;
            margin: 26px 0;
        }

        .mv-card {
            padding: 24px;
            border-radius: 18px;
            border: 1.5px solid #e2d8d4;
            transition: var(--ease);
        }

        .mv-card:hover {
            transform: translateY(-3px);
        }

        .mv-card.mission {
            background: linear-gradient(135deg, #fff0f5, #fff);
            border-color: #fbcfe8;
        }

        .mv-card.vision {
            background: linear-gradient(135deg, #fef3c7, #fff);
            border-color: #fde68a;
        }

        .mv-card h3 {
            font-family: 'Dancing Script', cursive;
            font-size: 1.25rem;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .mv-card.mission h3 {
            color: var(--brand-pink);
        }

        .mv-card.vision h3 {
            color: #b45309;
        }

        .mv-card p {
            font-size: 0.95rem;
            color: #475569;
            line-height: 1.6;
        }

        .values-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 18px;
            margin-top: 26px;
        }

        .value-card {
            background: #faf7f4;
            padding: 20px;
            border-radius: 16px;
            border: 1px solid #edddd5;
        }

        .value-card h4 {
            color: var(--brand-pink);
            font-size: 1.05rem;
            font-weight: 800;
            margin-bottom: 6px;
            display: flex;
            align-items: center;
            gap: 7px;
        }

        .value-card p {
            color: var(--text-soft);
            font-size: 0.9rem;
            line-height: 1.5;
        }

        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
            gap: 22px;
            margin-top: 22px;
        }

        .contact-box {
            background: #faf7f4;
            padding: 22px;
            border-radius: 16px;
            border: 1px solid #edddd5;
        }

        .contact-box h4 {
            color: var(--brand-pink);
            font-size: 1.08rem;
            font-weight: 800;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 7px;
        }

        /* ===== AUTH MODAL ===== */
        .auth-modal {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(15, 23, 42, 0.65);
            backdrop-filter: blur(8px);
            z-index: 300;
            justify-content: center;
            align-items: center;
            padding: 16px;
        }

        .auth-card {
            background: #FFFDFB !important;
            padding: 30px 26px 24px !important;
            border-radius: 26px !important;
            width: 100%;
            max-width: 440px;
            box-shadow: 0 25px 60px rgba(42, 20, 15, 0.25), 0 4px 16px rgba(197, 139, 43, 0.08) !important;
            position: relative !important;
            animation: modalPop 0.28s cubic-bezier(0.16, 1, 0.3, 1);
            border: 1.5px solid rgba(197, 139, 43, 0.45) !important;
            z-index: 1050 !important;
            max-height: 90vh !important;
            max-height: 90dvh !important;
            overflow-y: auto !important;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none !important; /* Firefox */
            -ms-overflow-style: none !important; /* IE y Edge */
            box-sizing: border-box !important;
        }

        .auth-card::-webkit-scrollbar {
            display: none !important; /* Chrome, Safari, Opera */
            width: 0 !important;
            height: 0 !important;
        }

        @keyframes modalPop {
            from {
                opacity: 0;
                transform: scale(0.9);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        /* Modal Genérico y Políticas de Cobertura */
        .modal-backdrop-generic {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(15, 23, 42, 0.65);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            z-index: 10000;
            align-items: center;
            justify-content: center;
            padding: 16px;
            box-sizing: border-box;
            animation: fadeInModal 0.25s ease-out;
        }

        @keyframes fadeInModal {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .modal-content-card {
            background: #ffffff;
            width: 100%;
            max-width: 520px;
            max-height: 90vh;
            overflow-y: auto;
            border-radius: 20px;
            box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
            padding: 24px;
            box-sizing: border-box;
            position: relative;
            animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .modal-header-custom {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid #f1f5f9;
            padding-bottom: 12px;
            margin-bottom: 16px;
        }

        .modal-header-custom h3 {
            margin: 0;
            font-size: 1.18rem;
            font-weight: 800;
            color: #1e293b;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .btn-close-modal {
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            color: #64748b;
            font-size: 1.3rem;
            line-height: 1;
            border-radius: 50%;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
        }

        .btn-close-modal:hover {
            background: #e2e8f0;
            color: #0f172a;
        }

        .modal-body-custom {
            color: #334155;
            line-height: 1.5;
        }

        .coverage-zone-item {
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            padding: 10px 14px;
        }

        .auth-logo {
            text-align: center;
            margin-bottom: 18px;
        }

        .auth-logo img {
            width: 72px;
            height: 72px;
            border-radius: 50%;
            border: 3px solid var(--brand-pink);
            box-shadow: 0 4px 14px rgba(216, 27, 96, 0.22);
        }

        .auth-logo h3 {
            font-family: 'Dancing Script', cursive;
            font-size: 1.5rem;
            color: var(--brand-pink);
            margin-top: 8px;
        }

        .auth-logo p {
            font-size: 0.84rem;
            color: var(--text-soft);
        }

        .quick-user-card {
            display: flex;
            align-items: center;
            gap: 12px;
            background: #f8fafc;
            border: 1.5px solid #e2e8f0;
            padding: 12px 16px;
            border-radius: 14px;
            cursor: pointer;
            transition: var(--ease);
            margin-bottom: 14px;
        }

        .quick-user-card:hover {
            border-color: var(--brand-pink);
            background: #fff5f8;
            transform: translateY(-2px);
        }

        .quick-user-avatar {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--brand-pink);
        }

        .quick-user-info strong {
            display: block;
            font-size: 0.94rem;
            color: var(--text-dark);
        }

        .quick-user-info span {
            font-size: 0.77rem;
            color: var(--text-soft);
        }

        .auth-divider {
            display: flex;
            align-items: center;
            color: #94a3b8;
            font-size: 0.78rem;
            margin: 16px 0;
        }

        .auth-divider::before,
        .auth-divider::after {
            content: '';
            flex: 1;
            border-bottom: 1px solid #e2e8f0;
        }

        .auth-divider span {
            padding: 0 10px;
            font-weight: 600;
        }

        .custom-form {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 3px;
            text-align: left;
        }

        .form-group label {
            font-size: 0.78rem;
            font-weight: 700;
            color: #4A3528;
            letter-spacing: 0.02em;
        }

        .form-group label.label-birthday {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .form-group input {
            padding: 11px 14px 11px 40px;
            border-radius: 14px;
            border: 1.5px solid #E6D7C8;
            font-size: 0.9rem;
            outline: none;
            background: #FFFFFF;
            color: #2C1E18;
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
            width: 100%;
            box-sizing: border-box;
        }

        .form-group input::placeholder {
            color: #A89689;
            font-size: 0.86rem;
        }

        .form-group input:focus {
            border-color: #C58B2B;
            box-shadow: 0 0 0 3px rgba(197, 139, 43, 0.15);
            background: #FFFEFD;
        }

        /* Botón Joya Corporativo Principal */
        .btn-auth-submit {
            background: linear-gradient(135deg, #B81D5A 0%, #881337 100%) !important;
            color: #FFFFFF !important;
            border: 1.5px solid #C58B2B !important;
            padding: 12px 20px !important;
            border-radius: 999px !important;
            font-weight: 800 !important;
            font-size: 0.88rem !important;
            letter-spacing: 0.05em !important;
            text-transform: uppercase !important;
            cursor: pointer !important;
            margin-top: 6px !important;
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
            box-shadow: 0 6px 18px rgba(184, 29, 90, 0.28), 0 2px 6px rgba(197, 139, 43, 0.2) !important;
            width: 100% !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            box-sizing: border-box !important;
        }

        .btn-auth-submit:hover {
            transform: translateY(-2px) !important;
            box-shadow: 0 10px 24px rgba(184, 29, 90, 0.38), 0 4px 10px rgba(197, 139, 43, 0.3) !important;
            background: linear-gradient(135deg, #C58B2B 0%, #B81D5A 100%) !important;
            border-color: #D4AF37 !important;
        }

        .btn-auth-submit:active {
            transform: translateY(0) !important;
        }

        .input-wrap {
            position: relative;
            display: flex;
            align-items: center;
            width: 100%;
        }

        .input-wrap .field-icon {
            position: absolute;
            left: 13px;
            display: flex;
            align-items: center;
            justify-content: center;
            pointer-events: none;
            z-index: 1;
            line-height: 1;
        }

        .password-wrapper {
            position: relative;
            width: 100%;
            display: flex;
            align-items: center;
        }

        .password-wrapper input {
            width: 100%;
            padding-right: 44px !important;
        }

        .btn-toggle-password {
            position: absolute;
            right: 12px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0.7;
            transition: opacity 0.2s, transform 0.2s;
            user-select: none;
            z-index: 2;
        }

        .btn-toggle-password:hover {
            opacity: 1;
            transform: scale(1.1);
        }

        .btn-admin-action {
            border: none;
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: 700;
            cursor: pointer;
            font-size: 13px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.12);
            flex: 0 0 auto;
            white-space: nowrap;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .btn-admin-action:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.18);
        }

        #adminPointsModal, #modal-admin-points, #modalVipTerms {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(15, 23, 42, 0.7);
            backdrop-filter: blur(8px);
            z-index: 999999 !important;
            justify-content: center;
            align-items: center;
            padding: 16px;
        }

        #adminPointsModal.active, #modal-admin-points.active, #modalVipTerms.active {
            display: flex !important;
            visibility: visible !important;
            opacity: 1 !important;
            pointer-events: auto !important;
        }

        /* ===== COMPONENTES CORPORATIVOS BOUTIQUE DEL MODAL DE AUTENTICACIÓN ===== */
        .auth-card-boutique {
            text-align: center;
        }

        /* 1. Cabecera Corporativa y Anillo Dorado */
        .auth-header-corporate {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 18px;
        }

        .auth-logo-ring {
            width: 76px;
            height: 76px;
            border-radius: 50%;
            padding: 3px;
            background: linear-gradient(135deg, #FFFFFF 0%, #FFFDF8 100%);
            border: 2px solid #C58B2B;
            box-shadow: 0 6px 18px rgba(197, 139, 43, 0.25), 0 0 0 3px rgba(197, 139, 43, 0.12);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 10px;
            transition: transform 0.3s ease;
        }

        .auth-logo-ring:hover {
            transform: scale(1.05);
        }

        .auth-brand-logo {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
            display: block;
        }

        .auth-brand-title {
            font-family: 'Quicksand', 'Plus Jakarta Sans', sans-serif;
            font-size: 1.35rem;
            font-weight: 800;
            color: #2C1E18;
            margin: 0 0 3px 0;
            letter-spacing: -0.01em;
        }

        .auth-brand-subtitle {
            font-size: 0.8rem;
            color: #7A5C4F;
            font-weight: 600;
            margin: 0 0 8px 0;
            letter-spacing: 0.02em;
        }

        .auth-security-badge {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            background: #FFF9F0;
            border: 1px solid rgba(197, 139, 43, 0.35);
            padding: 3px 10px;
            border-radius: 999px;
            font-size: 0.68rem;
            font-weight: 700;
            color: #92400E;
            letter-spacing: 0.03em;
            text-transform: uppercase;
        }

        /* 2. Pestañas Estilo Cápsula Ejecutiva (Segmented Control) */
        .auth-tabs-capsule {
            display: flex !important;
            gap: 4px !important;
            background: #F8F1EB !important;
            padding: 5px !important;
            border-radius: 999px !important;
            border: 1px solid #EADCCF !important;
            margin-bottom: 16px !important;
        }

        .auth-tabs-capsule .auth-tab {
            flex: 1;
            padding: 8px 14px !important;
            background: transparent !important;
            border: 1px solid transparent !important;
            border-radius: 999px !important;
            font-size: 0.84rem !important;
            font-weight: 700 !important;
            color: #7A5C4F !important;
            cursor: pointer !important;
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
            position: relative;
            outline: none;
        }

        .auth-tabs-capsule .auth-tab::after {
            display: none !important;
        }

        .auth-tabs-capsule .auth-tab:hover:not(.active) {
            color: #2C1E18 !important;
        }

        .auth-tabs-capsule .auth-tab.active {
            background: #FFFFFF !important;
            color: #B81D5A !important;
            font-weight: 800 !important;
            border: 1px solid rgba(197, 139, 43, 0.45) !important;
            box-shadow: 0 3px 10px rgba(44, 30, 24, 0.08), 0 1px 3px rgba(197, 139, 43, 0.15) !important;
        }

        /* 3. Cintilla de Beneficio en Dorado Imperial */
        .auth-incentive-gold {
            background: linear-gradient(135deg, #FFFDF9 0%, #FBF3E4 100%) !important;
            border: 1px solid rgba(197, 139, 43, 0.45) !important;
            border-radius: 14px !important;
            padding: 9px 13px !important;
            margin-bottom: 16px !important;
            display: flex !important;
            align-items: center !important;
            gap: 10px !important;
            text-align: left !important;
            box-shadow: 0 3px 12px rgba(197, 139, 43, 0.08) !important;
        }

        .auth-incentive-gold .aib-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            filter: drop-shadow(0 2px 4px rgba(197, 139, 43, 0.3));
        }

        .auth-incentive-gold .aib-text {
            font-size: 0.78rem;
            color: #5A3E2B;
            line-height: 1.35;
        }

        .auth-incentive-gold .aib-text strong {
            color: #B81D5A;
        }

        /* 4. Enlace de Recuperación */
        .auth-recovery-link {
            font-size: 0.78rem;
            color: #8C5E28;
            font-weight: 700;
            text-decoration: none;
            display: inline-block;
            margin-top: 5px;
            text-align: right;
            transition: color 0.2s ease;
        }

        .auth-recovery-link:hover {
            color: #B81D5A;
            text-decoration: underline;
        }

        /* 5. Grid de 2 Columnas para Registrarse */
        .auth-form-grid-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }

        @media (max-width: 480px) {
            .auth-form-grid-2 {
                grid-template-columns: 1fr;
            }
            .auth-card {
                padding: 24px 18px 20px !important;
                border-radius: 22px !important;
            }
        }

        /* 6. Checkbox de Términos Alineado */
        .auth-terms-group {
            display: flex !important;
            flex-direction: row !important;
            align-items: flex-start !important;
            gap: 10px !important;
            text-align: left !important;
            margin: 8px 0 12px !important;
        }

        .auth-terms-group input[type="checkbox"] {
            width: 17px !important;
            height: 17px !important;
            min-width: 17px !important;
            margin-top: 2px !important;
            accent-color: #C58B2B !important;
            cursor: pointer !important;
            border-radius: 4px !important;
        }

        .auth-terms-group label {
            font-size: 0.75rem !important;
            color: #6B5244 !important;
            line-height: 1.35 !important;
            font-weight: 500 !important;
            cursor: pointer !important;
            margin: 0 !important;
        }

        /* 7. Google Auth Wrapper */
        .google-auth-wrapper {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 4px 0;
        }

        /* 8. Micro-sello de Respaldo Corporativo al Pie */
        .auth-footer-guarantee {
            margin-top: 18px;
            padding-top: 12px;
            border-top: 1px dashed #EEDDC9;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            font-size: 0.72rem;
            color: #8C5E28;
            font-weight: 700;
            letter-spacing: 0.02em;
        }

        .recovery-header {
            text-align: center;
            margin-bottom: 14px;
        }

        .recovery-title {
            color: #B81D5A;
            font-size: 1.15rem;
            font-weight: 800;
            margin: 0 0 4px 0;
        }

        .recovery-sub {
            font-size: 0.8rem;
            color: #7A5C4F;
            margin: 0;
            line-height: 1.35;
        }

        .auth-close-btn {
            position: absolute !important;
            top: 14px !important;
            right: 14px !important;
            z-index: 1051 !important;
            background: #F8F1EB !important;
            border: 1px solid #EADCCF !important;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            font-size: 0.95rem;
            cursor: pointer;
            font-weight: bold;
            color: #7A5C4F;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }

        .auth-close-btn:hover {
            background: #FFF0F5 !important;
            border-color: #B81D5A !important;
            color: #B81D5A !important;
            transform: scale(1.08);
        }

        .auth-pane {
            display: none;
            animation: paneFade 0.3s ease-out;
        }

        .auth-pane.active {
            display: block;
        }

        @keyframes paneFade {
            from {
                opacity: 0;
                transform: translateY(5px);
            }

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

        .auth-msg {
            display: none;
            padding: 10px;
            border-radius: 8px;
            font-size: 0.82rem;
            font-weight: 600;
            margin-bottom: 15px;
            text-align: center;
        }

        .auth-msg.error {
            display: block;
            background: #fee2e2;
            color: #b91c1c;
            border: 1px solid #fecaca;
        }

        .auth-msg.success {
            display: block;
            background: #dcfce7;
            color: #15803d;
            border: 1px solid #bbf7d0;
        }

        /* ===== CART MODAL ===== */
        .cart-modal {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(15, 23, 42, 0.70);
            backdrop-filter: blur(8px);
            z-index: 250;
            justify-content: center;
            align-items: center;
            padding: 15px;
            height: 100dvh;
            max-height: 100dvh;
            flex-direction: column;
            overflow: hidden;
        }

        .cart-content {
            background: #fff;
            padding-top: 22px;
            border-radius: var(--r-xl);
            width: 100%;
            max-width: 520px;
            max-height: 85vh;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            padding-bottom: 20px;
            box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.28);
            -webkit-overflow-scrolling: touch;
        }

        .cart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1.5px solid #f3e8e3;
            padding-bottom: 14px;
            margin-bottom: 14px;
        }

        .cart-header h3 {
            font-family: 'Dancing Script', cursive;
            font-size: 1.5rem;
            color: var(--text-dark);
        }

        .cart-list {
            min-height: 150px;
            display: flex;
            flex-direction: column;
            gap: 8px;
            padding: 6px 4px;
            margin: 10px 0;
            flex-shrink: 0;
            border: 1px solid #f1f1f1;
            border-radius: 12px;
        }

        /* ===== BARRA DE PROGRESO DE DOMICILIO GRATIS ===== */
        .free-shipping-container {
            background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
            border: 1.5px solid #fde68a;
            border-radius: 12px;
            margin-bottom: 12px;
            padding: 9px 12px;
            text-align: center;
            font-size: 0.84rem;
            font-weight: 600;
            color: #92400e;
            box-shadow: 0 2px 5px rgba(245, 158, 11, 0.08);
            transition: all 0.3s ease;
        }

        .free-shipping-container.completed {
            background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
            border-color: #6ee7b7;
            color: #065f46;
            box-shadow: 0 2px 5px rgba(16, 185, 129, 0.08);
        }

        .free-shipping-container .shipping-text {
            line-height: 1.35;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            flex-wrap: wrap;
        }

        .free-shipping-container .shipping-text strong {
            font-weight: 800;
            color: inherit;
        }

        .shipping-progress-bar-bg {
            height: 7px;
            background: #e2e8f0;
            border-radius: 10px;
            overflow: hidden;
            margin-top: 7px;
            width: 100%;
            position: relative;
        }

        .shipping-progress-bar-fill {
            height: 100%;
            background: linear-gradient(90deg, #f59e0b 0%, #f97316 100%);
            border-radius: 10px;
            transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .shipping-progress-bar-fill.completed {
            background: linear-gradient(90deg, #10b981 0%, #059669 100%);
        }

        .cart-item-row {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 6px 8px;
            border-radius: 14px;
            background: #fff;
            margin-bottom: 0;
            border: 1px solid #f3e8e3;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
            transition: var(--ease);
        }

        .cart-item-row:hover {
            border-color: #fecdd3;
            background: #fffbfa;
        }

        .cart-item-img {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            object-fit: cover;
            border: 1px solid #f3e8e3;
        }

        .cart-item-info {
            flex: 1;
        }

        .cart-item-title {
            font-size: 0.9rem;
            font-weight: 800;
            color: var(--text-dark);
        }

        .cart-item-price {
            font-size: 0.8rem;
            color: var(--text-soft);
            font-weight: 600;
            margin-top: 2px;
        }

        .cart-item-price strong {
            color: var(--brand-pink);
            font-size: 0.86rem;
        }

        .cart-item-actions {
            display: flex;
            align-items: center;
            gap: 4px;
            flex-shrink: 0;
        }

        .cart-item-actions button {
            width: 28px;
            height: 28px;
            border-radius: 6px;
            border: 1px solid #cbd5e1;
            background: #fff;
            font-weight: 800;
            cursor: pointer;
            color: var(--text-dark);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--ease);
            flex-shrink: 0;
            padding: 0;
        }

        .cart-item-actions button:hover {
            background: #f3e8e3;
            color: var(--brand-pink);
            border-color: #f472b6;
        }

        .cart-item-actions input,
        .cart-item-qty,
        .cart-qty-input {
            min-width: 48px;
            width: 55px;
            height: 28px;
            text-align: center;
            padding: 4px 6px;
            border: 1.5px solid #cbd5e1;
            border-radius: 7px;
            font-weight: 800;
            font-size: 0.85rem;
            color: #1e293b;
            background: #ffffff;
            outline: none;
            transition: all 0.2s ease;
            box-sizing: border-box;
        }

        .cart-item-actions input:focus,
        .cart-item-qty:focus,
        .cart-qty-input:focus {
            border-color: var(--brand-pink);
            box-shadow: 0 0 0 2px rgba(216, 27, 96, 0.15);
        }

        /* Ocultar flechas/spinners por defecto del navegador en inputs numéricos */
        .cart-item-actions input[type=number]::-webkit-inner-spin-button,
        .cart-item-actions input[type=number]::-webkit-outer-spin-button,
        .cart-qty-input::-webkit-inner-spin-button,
        .cart-qty-input::-webkit-outer-spin-button,
        input[type=number]::-webkit-inner-spin-button,
        input[type=number]::-webkit-outer-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        .cart-item-actions input[type=number],
        .cart-qty-input,
        input[type=number] {
            -moz-appearance: textfield;
            appearance: textfield;
        }

        .btn-delete-item {
            background: #fff1f2 !important;
            border: 1px solid #fecdd3 !important;
            color: #e11d48 !important;
            padding: 6px !important;
            border-radius: 9px !important;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--ease) !important;
            margin-left: 3px;
        }

        .btn-delete-item:hover {
            background: #e11d48 !important;
            color: #fff !important;
            border-color: #e11d48 !important;
        }

        .btn-delete-item svg {
            width: 14px;
            height: 14px;
            fill: currentColor;
        }

        /* ── Botón editar torta personalizada ────────────────────────────── */
        .btn-edit-custom-cake {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            margin-top: 6px;
            padding: 4px 10px;
            font-size: 0.76rem;
            font-weight: 700;
            color: #be185d;
            background: #fdf2f8;
            border: 1px solid #f9a8d4;
            border-radius: 20px;
            cursor: pointer;
            transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
            white-space: nowrap;
        }

        .btn-edit-custom-cake:hover {
            background: #be185d;
            color: #fff;
            border-color: #be185d;
            transform: translateY(-1px);
        }

        .btn-edit-custom-cake:active {
            transform: translateY(0);
        }

        /* ── Descripción colapsada de la torta personalizada ─────────────── */
        .cart-item-custom-desc {
            font-size: 0.72rem;
            color: #64748b;
            line-height: 1.4;
            margin-top: 3px;
            margin-bottom: 2px;
            /* Truncar a 2 líneas con ellipsis */
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* Borde izquierdo distintivo para ítems de torta personalizada */
        .cart-item-row--torta {
            border-left: 3px solid #f472b6;
            padding-left: 8px;
        }

        .cart-footer {
            flex-shrink: 0;
            background: #ffffff;
            padding: 16px 20px;
            padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
            box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
            border-radius: 0 0 var(--r-xl) var(--r-xl);
            position: sticky;
            bottom: 0;
            z-index: 10;
        }

        .cart-summary {
            background: linear-gradient(135deg, #fff0f5, #ffe4e6);
            padding: 14px 18px;
            border-radius: 16px;
            border: 1px solid #fecdd3;
            margin-bottom: 14px;
        }

        .sum-row {
            display: flex;
            justify-content: space-between;
            font-size: 0.92rem;
            font-weight: 700;
            color: #881337;
            margin-bottom: 5px;
        }

        .sum-row.total {
            font-size: 1.2rem;
            font-weight: 900;
            color: var(--brand-pink);
            border-top: 1.5px dashed #f472b6;
            padding-top: 9px;
            margin-top: 5px;
        }

        .checkout-form-card {
            background: #f8fafc;
            border: 1.5px solid #e2d8d4;
            border-radius: 16px;
            padding: 16px;
            margin-bottom: 14px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .checkout-form-title {
            font-size: 0.88rem;
            font-weight: 800;
            color: #334155;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .checkout-input {
            width: 100%;
            padding: 8px 12px;
            border-radius: 11px;
            border: 1.5px solid #cbd5e1;
            font-size: 0.86rem;
            outline: none;
            background: #fff;
            transition: border-color 0.2s;
        }

        .checkout-input:focus {
            border-color: var(--brand-pink);
            box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.12);
        }

        /* ===== SELECTOR DE ENTREGA (DOMICILIO VS RECOGER EN TIENDA) ===== */
        .delivery-method-section {
            margin-bottom: 10px;
        }

        .delivery-toggle-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }

        .delivery-toggle-btn {
            background: #ffffff;
            border: 1.5px solid #cbd5e1;
            border-radius: 12px;
            padding: 8px 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            font-family: inherit;
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            outline: none;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
        }

        .delivery-toggle-btn:hover {
            border-color: #f472b6;
            background: #fff5f8;
            transform: translateY(-1px);
        }

        .delivery-toggle-btn.active {
            background: linear-gradient(135deg, #fff0f5 0%, #ffe4ec 100%);
            border-color: var(--brand-pink);
            box-shadow: 0 3px 10px rgba(216, 27, 96, 0.16);
        }

        .delivery-toggle-btn .delivery-icon {
            font-size: 1.15rem;
            line-height: 1;
        }

        .delivery-toggle-btn .delivery-label {
            font-size: 0.78rem;
            font-weight: 800;
            color: #334155;
            display: flex;
            align-items: center;
            gap: 4px;
            text-align: left;
            line-height: 1.2;
        }

        .delivery-toggle-btn.active .delivery-label {
            color: var(--brand-pink);
        }

        .delivery-toggle-btn .free-badge {
            background: #10b981;
            color: #fff;
            font-size: 0.62rem;
            padding: 1px 5px;
            border-radius: 6px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }

        .delivery-conditional-block {
            display: flex;
            flex-direction: column;
            gap: 6px;
            animation: fadeInDelivery 0.25s ease-out;
        }

        @keyframes fadeInDelivery {
            from {
                opacity: 0;
                transform: translateY(-4px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .delivery-fee-badge {
            font-size: 0.76rem;
            font-weight: 700;
            padding: 8px 12px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            gap: 6px;
            line-height: 1.3;
            transition: all 0.2s ease;
        }

        .delivery-fee-badge.free {
            background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
            border: 1px solid #6ee7b7;
            color: #065f46;
        }

        .delivery-fee-badge.paid {
            background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
            border: 1px solid #fcd34d;
            color: #92400e;
        }

        .delivery-fee-badge.paid strong {
            color: #b45309;
        }

        /* Tarjeta de Recoger en Tienda */
        .pickup-store-card {
            background: #ffffff;
            border: 1.5px dashed #cbd5e1;
            border-radius: 14px;
            padding: 12px 14px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
        }

        .pickup-store-header {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            margin-bottom: 6px;
        }

        .pickup-store-icon {
            font-size: 1.3rem;
            line-height: 1;
        }

        .pickup-store-name {
            font-size: 0.85rem;
            font-weight: 800;
            color: #1e293b;
            display: block;
        }

        .pickup-store-address,
        .pickup-address {
            font-size: 0.76rem;
            color: #64748b;
            margin: 2px 0 0 0;
        }

        .pickup-store-note {
            font-size: 0.74rem;
            color: #475569;
            margin: 6px 0 10px 0;
            line-height: 1.35;
        }

        .btn-maps-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
            color: #ffffff !important;
            padding: 9px 14px;
            border-radius: 10px;
            font-size: 0.82rem;
            font-weight: 800;
            text-decoration: none;
            gap: 6px;
            box-shadow: 0 3px 8px rgba(2, 132, 199, 0.25);
            transition: all 0.2s ease;
        }

        .btn-maps-link:hover {
            background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
            transform: translateY(-1px);
            box-shadow: 0 5px 12px rgba(2, 132, 199, 0.35);
        }

        /* Botón Seguir Comprando en Paso 1 */
        .btn-continue-shopping {
            width: 100%;
            margin-top: 8px;
            padding: 10px 14px;
            background: #f8fafc;
            border: 1.5px solid #e2e8f0;
            border-radius: 12px;
            color: #475569;
            font-size: 0.92rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            font-family: inherit;
            box-sizing: border-box;
        }

        .btn-continue-shopping:hover {
            background: #f1f5f9;
            border-color: #cbd5e1;
            color: #1e293b;
        }

        #cart-user-greeting {
            background: #fff7fa;
            border-radius: var(--r-sm);
            padding: 12px 16px;
            font-size: 0.92rem;
            font-weight: 700;
            color: var(--text-dark);
            margin: 0 22px 14px 22px;
            border: 1px solid #fecdd3;
            text-align: center;
        }

        .tip-section {
            background: #fff;
            border: 1.5px dashed #f0e6e2;
            border-radius: 12px;
            padding: 10px 14px;
            margin: 12px 0;
            transition: var(--ease);
        }

        .tip-toggle {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.82rem;
            color: var(--text-soft);
            cursor: pointer;
            font-weight: 700;
        }

        .tip-toggle input {
            accent-color: var(--brand-pink);
            width: 16px;
            height: 16px;
            cursor: pointer;
        }

        .tip-buttons {
            display: flex;
            gap: 6px;
            margin-top: 12px;
            flex-wrap: wrap;
        }

        .tip-btn {
            background: #fff;
            border: 1.5px solid #e2e8f0;
            color: var(--text-mid);
            padding: 6px 10px;
            border-radius: var(--r-full);
            font-size: 0.78rem;
            font-weight: 800;
            cursor: pointer;
            transition: var(--ease);
            flex: 1;
            text-align: center;
        }

        .tip-btn:hover {
            border-color: var(--brand-pink);
            color: var(--brand-pink);
            background: #fff0f5;
        }

        .tip-btn.active {
            border-color: #881337;
            background: #881337;
            color: #fff;
            box-shadow: 0 4px 10px rgba(136, 19, 55, 0.25);
        }

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

        .payment-chip {
            background: #fff;
            border: 1.5px solid #cbd5e1;
            padding: 0 5px;
            height: 34px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 9px;
            text-align: center;
            font-size: 0.74rem;
            font-weight: 700;
            color: #475569;
            cursor: pointer;
            transition: var(--ease);
        }

        .payment-chip:hover {
            border-color: var(--brand-pink);
        }

        .payment-chip.active {
            background: var(--brand-pink-l);
            border-color: var(--brand-pink);
            color: var(--brand-pink);
        }

        /* ── Botón de tipo de pedido deshabilitado (tortas sin entrega inmediata) ── */
        .payment-chip[disabled],
        .payment-chip.chip-disabled {
            opacity: 0.42;
            cursor: not-allowed;
            pointer-events: none;
            border-color: #e2e8f0;
            color: #94a3b8;
            background: #f8fafc;
        }

        /* ── Panel de carrito mixto (torta + productos de vitrina) ─────────── */
        .mixed-cart-block {
            background: #fffbeb;
            border: 1.5px solid #fcd34d;
            border-left: 4px solid #f59e0b;
            border-radius: 12px;
            padding: 12px 14px;
            margin-bottom: 14px;
            font-size: 0.80rem;
            color: #78350f;
        }

        .mixed-cart-block .mixed-cart-title {
            font-weight: 800;
            font-size: 0.83rem;
            color: #92400e;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .mixed-cart-block label.mixed-opt {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            margin-bottom: 7px;
            cursor: pointer;
            line-height: 1.4;
            font-weight: 600;
            color: #78350f;
        }

        .mixed-cart-block label.mixed-opt input[type="radio"] {
            margin-top: 2px;
            accent-color: #f59e0b;
            flex-shrink: 0;
        }

        .mixed-cart-block .mixed-opt-note {
            font-size: 0.73rem;
            color: #b45309;
            font-weight: 400;
            display: block;
            margin-top: 1px;
            margin-left: 22px;
        }

        .avatar-vip-container {
            position: relative;
            box-shadow: 0 0 10px rgba(245, 158, 11, 0.45);
            border: 2px solid #f59e0b;
            border-radius: 50%;
            display: inline-flex;
            justify-content: center;
            align-items: center;
        }

        .vip-crown-badge {
            position: absolute;
            top: -8px;
            right: -8px;
            font-size: 1rem;
            z-index: 5;
            text-shadow: 0 2px 4px rgba(245, 158, 11, 0.4);
        }

        .badge-vip-cart {
            background: linear-gradient(135deg, #fef3c7, #fde68a);
            border: 1px solid #f59e0b;
            color: #451a03;
            font-weight: 700;
            font-size: 0.85rem;
            padding: 10px 14px;
            text-align: center;
            border-radius: 12px;
            margin: 0 22px 8px 22px;
            display: flex;
            align-items: center;
            gap: 8px;
            box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
        }

        .ticket-points-badge {
            background: linear-gradient(135deg, #f59e0b, #d97706);
            color: #fff;
            font-weight: 800;
            cursor: pointer;
            box-shadow: 0 4px 6px rgba(217, 119, 6, 0.3);
            border: 2px dashed rgba(255, 255, 255, 0.4);
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            height: 38px;
            padding: 0 12px;
            border-radius: 20px;
        }

        .ticket-points-badge:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 10px rgba(217, 119, 6, 0.4);
        }

        .ticket-points-badge:active {
            transform: translateY(0);
        }

                /* ===== SECCIÃ“N CLUB PUNTOS & VIP ===== */
        /* ===== SECCIÓN CLUB PUNTOS & RECOMPENSAS BOUTIQUE ===== */
        .club-puntos-section {
            background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF9 60%, #FFF8F1 100%);
            border: 1.5px solid #F1E5D8;
            border-radius: var(--r-xl, 24px);
            padding: 42px 26px;
            margin: 36px auto;
            box-shadow: 0 14px 40px rgba(197, 139, 43, 0.08);
            scroll-margin-top: 90px;
            position: relative;
            overflow: hidden;
        }

        .club-puntos-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #E6A838 0%, #C58B2B 50%, #B81D5A 100%);
        }

        .club-puntos-header {
            text-align: center;
            max-width: 680px;
            margin: 0 auto 36px;
        }

        .club-puntos-tag {
            display: inline-block;
            background: #FFF0F5;
            color: #B81D5A;
            border: 1px solid rgba(184, 29, 90, 0.22);
            font-size: 0.76rem;
            font-weight: 800;
            padding: 5px 16px;
            border-radius: 999px;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            margin-bottom: 10px;
        }

        .club-puntos-title {
            font-family: 'Quicksand', 'Plus Jakarta Sans', sans-serif;
            font-size: 2.1rem;
            font-weight: 800;
            color: #2C1E18;
            letter-spacing: -0.02em;
            margin: 0 0 14px;
        }

        /* Cajón A: Banner Interactivo de Invitado en Dorado Imperial (#C58B2B) */
        .club-points-guest-banner {
            display: flex;
            align-items: center;
            gap: 14px;
            background: linear-gradient(135deg, #FFFDF9 0%, #FDF5E6 100%);
            border: 2px dashed #C58B2B;
            border-radius: 18px;
            padding: 14px 22px;
            max-width: 560px;
            margin: 14px auto 18px;
            cursor: pointer;
            text-align: left;
            box-shadow: 0 4px 18px rgba(197, 139, 43, 0.12);
            transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
            user-select: none;
            outline: none;
        }

        .club-points-guest-banner:hover,
        .club-points-guest-banner:focus-visible {
            transform: translateY(-3px);
            background: linear-gradient(135deg, #FFFFFF 0%, #FFF8EE 100%);
            border-color: #B81D5A;
            box-shadow: 0 10px 26px rgba(197, 139, 43, 0.22);
        }

        .club-points-guest-banner:active {
            transform: translateY(-1px);
        }

        .club-points-guest-banner .cpg-icon {
            font-size: 2rem;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            filter: drop-shadow(0 2px 4px rgba(197, 139, 43, 0.35));
        }

        .club-points-guest-banner .cpg-text {
            flex-grow: 1;
        }

        .club-points-guest-banner .cpg-text strong {
            display: block;
            color: #78350F;
            font-size: 1.05rem;
            font-weight: 800;
            margin-bottom: 3px;
            font-family: 'Quicksand', 'Plus Jakarta Sans', sans-serif;
        }

        .club-points-guest-banner .cpg-text p {
            margin: 0;
            font-size: 0.82rem;
            color: #5A3E2B;
            line-height: 1.4;
        }

        .club-points-guest-banner .cpg-text p strong {
            display: inline;
            color: #B81D5A;
            font-weight: 800;
            font-size: inherit;
        }

        .club-points-guest-banner .cpg-arrow {
            font-size: 1.35rem;
            color: #C58B2B;
            font-weight: 800;
            flex-shrink: 0;
            transition: transform 0.25s ease, color 0.25s ease;
        }

        .club-points-guest-banner:hover .cpg-arrow {
            transform: translateX(4px);
            color: #B81D5A;
        }

        /* Tarjeta Joya Boutique de Puntos Acumulados (Usuario Autenticado) */
        .club-points-balance-card {
            display: inline-flex;
            align-items: center;
            gap: 16px;
            background: linear-gradient(135deg, #FFFFFF 0%, #FFFDF8 100%);
            border: 2px solid #C58B2B;
            border-radius: 999px;
            padding: 10px 28px;
            margin: 12px 0 16px;
            box-shadow: 0 8px 24px rgba(197, 139, 43, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
            position: relative;
            transition: transform 0.25s ease, box-shadow 0.25s ease;
        }

        .club-points-balance-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 28px rgba(197, 139, 43, 0.25);
        }

        .club-points-balance-card .cp-balance-icon {
            font-size: 1.9rem;
            display: flex;
            align-items: center;
            justify-content: center;
            filter: drop-shadow(0 2px 4px rgba(197, 139, 43, 0.3));
        }

        .club-points-balance-card .cp-balance-text {
            text-align: left;
        }

        .club-points-balance-card .cp-balance-text span {
            font-size: 0.74rem;
            text-transform: uppercase;
            color: #92400E;
            font-weight: 800;
            letter-spacing: 0.05em;
            display: block;
            margin-bottom: 2px;
        }

        .club-points-balance-card .cp-balance-text p {
            margin: 0;
            font-size: 1.05rem;
            color: #2C1E18;
            font-weight: 600;
        }

        .club-points-balance-card .cp-balance-text strong#modal-ticket-val {
            font-size: 1.45rem;
            color: #B81D5A;
            font-weight: 800;
            margin: 0 2px;
        }

        .club-puntos-subtitle {
            font-size: 0.96rem;
            color: #6B4E3D;
            margin: 0;
            line-height: 1.55;
            max-width: 580px;
            margin: 0 auto;
        }

        /* Grilla Boutique Gemela al Catálogo Principal */
        #rewards-container.rewards-grid,
        #rewards-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 20px;
            margin-bottom: 28px;
            align-items: stretch;
        }

        /* Tarjeta de Recompensa Vertical Boutique */
        .ticket-card,
        .reward-boutique-card {
            background: #FFFFFF;
            border: 1.5px solid #F1E5D8;
            border-radius: 18px;
            padding: 0;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            text-align: left;
            box-shadow: 0 4px 16px rgba(44, 30, 24, 0.05);
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
            position: relative;
            overflow: hidden;
            width: 100%;
            box-sizing: border-box;
        }

        .ticket-card:hover,
        .reward-boutique-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 28px rgba(197, 139, 43, 0.16);
            border-color: #C58B2B;
        }

        /* Envoltorio de Imagen Proporcionada (idéntico al catálogo) */
        .reward-img-wrap {
            position: relative;
            width: 100%;
            height: 180px;
            overflow: hidden;
            background: #FDFBF9;
            cursor: pointer;
            border-bottom: 1px solid #F6EDE4;
            border-radius: 16px 16px 0 0;
        }

        .reward-img-wrap img,
        .reward-img-wrap .reward-img-el {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            transition: transform 0.45s ease;
            display: block;
            border: none;
            margin: 0;
            border-radius: 0;
        }

        .reward-img-wrap img.reward-img-logo,
        .reward-img-wrap .reward-img-logo {
            object-fit: contain !important;
            padding: 10px !important;
            background: #fff9f5 !important;
        }

        .reward-boutique-card:hover .reward-img-wrap img {
            transform: scale(1.05);
        }

        /* Insignia Flotante Estilo Píldora: PREMIO DULCE */
        .reward-badge-floating {
            position: absolute;
            top: 10px;
            left: 10px;
            background: linear-gradient(135deg, #C58B2B 0%, #B81D5A 100%);
            color: #FFFFFF;
            font-weight: 800;
            font-size: 0.70rem;
            letter-spacing: 0.03em;
            padding: 4px 10px;
            border-radius: 999px;
            box-shadow: 0 4px 10px rgba(184, 29, 90, 0.28);
            z-index: 2;
            text-transform: uppercase;
        }

        /* Cuerpo de la Tarjeta */
        .reward-card-body {
            padding: 14px 14px 16px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
            justify-content: space-between;
        }

        .reward-category {
            font-size: 0.68rem;
            font-weight: 800;
            letter-spacing: 0.05em;
            color: #B81D5A;
            text-transform: uppercase;
            margin-bottom: 4px;
        }

        .reward-title {
            font-family: 'Quicksand', 'Plus Jakarta Sans', sans-serif;
            font-size: 1.05rem;
            font-weight: 800;
            color: #2C1E18;
            margin: 0 0 10px 0;
            line-height: 1.3;
        }

        /* Barra de Progreso Fina y Elegante */
        .reward-progress-block {
            background: #FFFDF9;
            border: 1px solid #F3E7DA;
            border-radius: 10px;
            padding: 8px 10px;
            margin-bottom: 12px;
        }

        .reward-progress-track {
            width: 100%;
            height: 6px;
            background: #EFE5DB;
            border-radius: 999px;
            overflow: hidden;
            margin-bottom: 5px;
        }

        .reward-progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #C58B2B 0%, #D81B60 100%);
            border-radius: 999px;
            transition: width 0.4s ease;
        }

        .reward-progress-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.72rem;
            color: #78350F;
            gap: 4px;
        }

        .reward-progress-info span {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .reward-progress-info strong {
            color: #B81D5A;
            font-weight: 700;
            white-space: nowrap;
        }

        /* Footer de la Tarjeta: Precio en Puntos y Botón Píldora */
        .reward-footer-area {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: auto;
            padding-top: 8px;
            border-top: 1px dashed #EEDDC9;
        }

        .reward-points-price {
            display: flex;
            align-items: baseline;
            gap: 5px;
        }

        .reward-points-price .pts-icon {
            font-size: 1.05rem;
        }

        .reward-points-price .pts-val {
            font-size: 1.25rem;
            font-weight: 800;
            color: #B81D5A;
            letter-spacing: -0.01em;
        }

        .reward-points-price .pts-label {
            font-size: 0.82rem;
            font-weight: 800;
            color: #C58B2B;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }

        /* Botón Estilo Píldora Boutique (Borde Dorado e Interior Rosa) */
        .btn-redeem-pill,
        .ticket-card .btn-redeem {
            width: 100% !important;
            height: 38px !important;
            padding: 0 12px !important;
            border-radius: 999px !important;
            font-size: 0.74rem !important;
            font-weight: 800 !important;
            letter-spacing: 0.03em !important;
            text-transform: uppercase !important;
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            cursor: pointer !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 5px !important;
            box-sizing: border-box !important;
            transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1) !important;
        }

        /* Estado A: Usuario TIENE puntos suficientes */
        .btn-redeem-pill.btn-redeem-active,
        .ticket-card .btn-redeem:not(:disabled) {
            background: #FFF0F5 !important;
            color: #B81D5A !important;
            border: 2px solid #C58B2B !important;
            box-shadow: 0 4px 12px rgba(197, 139, 43, 0.2) !important;
        }

        .btn-redeem-pill.btn-redeem-active:hover,
        .ticket-card .btn-redeem:hover:not(:disabled) {
            background: linear-gradient(135deg, #B81D5A 0%, #9E184D 100%) !important;
            color: #FFFFFF !important;
            border-color: #C58B2B !important;
            box-shadow: 0 6px 18px rgba(197, 139, 43, 0.38) !important;
            transform: translateY(-1px) !important;
        }

        /* Estado B: Al usuario le FALTAN puntos (meta aspiracional boutique) */
        .btn-redeem-pill.btn-redeem-missing,
        .ticket-card .btn-redeem:disabled {
            background: #FDF8F2 !important;
            color: #8C5E28 !important;
            border: 1.5px solid rgba(197, 139, 43, 0.35) !important;
            box-shadow: none !important;
            cursor: not-allowed !important;
            opacity: 0.95 !important;
            transform: none !important;
        }

        /* Estado C: No autenticado */
        .btn-redeem-pill.btn-redeem-auth {
            background: #FDFBF9 !important;
            color: #C58B2B !important;
            border: 1.5px dashed #C58B2B !important;
            box-shadow: none !important;
            cursor: pointer !important;
        }

        .btn-redeem-pill.btn-redeem-auth:hover {
            background: #FFF5E8 !important;
            color: #92400E !important;
            border-style: solid !important;
            transform: translateY(-1px) !important;
        }

        /* Adaptación en pantallas móviles (<= 768px): 2 Columnas idénticas al catálogo de panes */
        @media (max-width: 768px) {
            #rewards-container.rewards-grid,
            #rewards-container {
                display: grid !important;
                grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
                gap: 12px !important;
                padding: 8px 4px !important;
                margin-bottom: 24px !important;
            }

            .ticket-card,
            .reward-boutique-card {
                border-radius: 14px !important;
            }

            .reward-img-wrap {
                height: 145px !important;
                border-radius: 14px 14px 0 0 !important;
            }

            .reward-badge-floating {
                top: 8px !important;
                left: 8px !important;
                font-size: 0.65rem !important;
                padding: 3px 8px !important;
            }

            .reward-card-body {
                padding: 10px 10px 12px !important;
            }

            .reward-category {
                font-size: 0.65rem !important;
                margin-bottom: 3px !important;
            }

            .reward-title {
                font-size: 0.98rem !important;
                line-height: 1.25 !important;
                margin: 0 0 8px 0 !important;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
            }

            .reward-progress-block {
                padding: 6px 8px !important;
                border-radius: 8px !important;
                margin-bottom: 8px !important;
            }

            .reward-progress-track {
                height: 5px !important;
                margin-bottom: 4px !important;
            }

            .reward-progress-info {
                font-size: 0.66rem !important;
                flex-direction: column !important;
                align-items: flex-start !important;
                gap: 2px !important;
            }

            .reward-progress-info span {
                display: none !important;
            }

            .reward-progress-info strong {
                font-size: 0.70rem !important;
            }

            .reward-footer-area {
                gap: 8px !important;
                padding-top: 6px !important;
            }

            .reward-points-price .pts-icon {
                font-size: 0.95rem !important;
            }

            .reward-points-price .pts-val {
                font-size: 1.15rem !important;
            }

            .reward-points-price .pts-label {
                font-size: 0.75rem !important;
            }

            .btn-redeem-pill,
            .ticket-card .btn-redeem {
                height: 34px !important;
                padding: 0 8px !important;
                font-size: 0.68rem !important;
                letter-spacing: 0.02em !important;
            }
        }

        /* --- ESTILOS PARA MIS PEDIDOS --- */
        .dropdown-link-item {
            padding: 8px 12px;
            background: #fff5f8;
            color: var(--brand-pink);
            font-weight: 700;
            border-radius: 8px;
            cursor: pointer;
            text-align: center;
            margin-bottom: 4px;
            font-size: 0.85rem;
            transition: all 0.2s ease;
        }
        .dropdown-link-item:hover {
            background: #ffe3ec;
        }

        /* Mobile profile modal scroll containment */
        #mobileProfileModal .auth-card {
            max-height: 85vh;
            max-height: 85dvh;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            display: flex;
            flex-direction: column;
        }
        #mobileProfileModal .auth-card::-webkit-scrollbar {
            width: 5px;
        }
        #mobileProfileModal .auth-card::-webkit-scrollbar-track {
            background: transparent;
        }
        #mobileProfileModal .auth-card::-webkit-scrollbar-thumb {
            background: #f1e0dc;
            border-radius: 10px;
        }

        .points-history-toggle {
            display: flex !important;
            justify-content: space-between !important;
            align-items: center !important;
            text-align: left !important;
        }
        
        .orders-modal-content {
            max-width: 600px;
            width: 90%;
            padding: 24px;
            background: #fff;
            border-radius: 20px;
        }
        
        .orders-tabs {
            display: flex;
            gap: 8px;
            margin-bottom: 16px;
            background: #f8fafc;
            padding: 4px;
            border-radius: 12px;
            overflow-x: auto;
        }
        
        .order-tab-btn {
            flex: 1;
            padding: 10px 12px;
            border: none;
            background: transparent;
            border-radius: 8px;
            color: #64748b;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            white-space: nowrap;
        }
        
        .order-tab-btn.active {
            background: #fff;
            color: var(--brand-pink);
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .orders-tab-content {
            display: none;
            flex-direction: column;
            gap: 16px;
            max-height: 60vh;
            overflow-y: auto;
        }
        
        .orders-tab-content.active {
            display: flex;
        }
        
        .order-card {
            background: #fff;
            border: 1px solid #f0ece6;
            border-radius: 12px;
            padding: 16px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.02);
            text-align: left;
        }
        
        .order-card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 12px;
            border-bottom: 1px solid #f8fafc;
            padding-bottom: 8px;
        }
        
        .order-card-title {
            font-weight: 700;
            color: var(--text-dark);
            font-size: 1.1rem;
            margin: 0;
        }
        
        .order-card-date {
            font-size: 0.85rem;
            color: #94a3b8;
            margin: 0;
        }
        
        .order-badge-event {
            background: #fef3c7;
            color: #b45309;
            padding: 4px 8px;
            border-radius: 6px;
            font-size: 0.8rem;
            font-weight: 700;
            display: inline-block;
            margin-top: 4px;
        }
        
        .progress-bar-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 20px 0;
            position: relative;
        }
        
        .progress-line {
            position: absolute;
            top: 14px;
            left: 10px;
            right: 10px;
            height: 3px;
            background: #e2e8f0;
            z-index: 1;
        }
        
        .progress-line-fill {
            position: absolute;
            top: 14px;
            left: 10px;
            height: 3px;
            background: var(--brand-pink);
            z-index: 2;
            transition: width 0.3s ease;
        }
        
        .progress-step {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            position: relative;
            z-index: 3;
            width: 60px;
        }
        
        .step-circle {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: #fff;
            border: 3px solid #e2e8f0;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 0.8rem;
            color: #94a3b8;
            font-weight: 700;
        }
        
        .progress-step.active .step-circle {
            border-color: var(--brand-pink);
            background: var(--brand-pink);
            color: #fff;
        }
        
        .step-label {
            font-size: 0.75rem;
            color: #64748b;
            font-weight: 600;
            text-align: center;
            line-height: 1.1;
        }
        
        .progress-step.active .step-label {
            color: var(--brand-pink);
            font-weight: 700;
        }

        /* --- STOCK Y AGOTADOS --- */
        .out-of-stock img {
            filter: grayscale(70%);
            opacity: 0.75;
        }
        
        .out-of-stock {
            opacity: 0.85;
            position: relative;
        }
        
        .badge-out-of-stock {
            position: absolute;
            top: 10px;
            right: 10px;
            background: #fef2f2;
            color: #ef4444;
            border: 1px solid #f87171;
            padding: 6px 12px;
            border-radius: 8px;
            font-weight: 800;
            font-size: 0.9rem;
            box-shadow: 0 4px 6px rgba(239, 68, 68, 0.2);
            z-index: 10;
        }

        .btn-disabled {
            background: #e2e8f0 !important;
            color: #94a3b8 !important;
            cursor: not-allowed !important;
            transform: none !important;
            box-shadow: none !important;
        }

        .kitchen-stock-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: #f8fafc;
            color: #0f172a;
            padding: 12px 20px;
            border-radius: 12px;
            width: 100%;
            max-width: 600px;
            margin-bottom: 12px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }

        .stock-toggle-label {
            display: flex;
            align-items: center;
            cursor: pointer;
            gap: 12px;
        }

        .stock-toggle-input {
            display: none;
        }

        .stock-toggle-slider {
            width: 50px;
            height: 26px;
            background-color: #ef4444; /* Rojo para agotado */
            border-radius: 34px;
            position: relative;
            transition: 0.4s;
        }

        .stock-toggle-slider:before {
            position: absolute;
            content: "";
            height: 20px;
            width: 20px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            border-radius: 50%;
            transition: 0.4s;
        }

        .stock-toggle-input:checked + .stock-toggle-slider {
            background-color: #22c55e; /* Verde para disponible */
        }

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

        /* --- GESTIÓN DE CLIENTES & ROLES --- */
        .k-user-card {
            background: #f1ede8;
            border-radius: 12px;
            padding: 16px;
            color: #0f172a;
            display: flex;
            flex-direction: column;
            gap: 12px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

        .k-user-header {
            display: flex;
            align-items: center;
            gap: 12px;
            border-bottom: 1px solid #e2e8f0;
            padding-bottom: 12px;
        }

        .k-user-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: #d81b60;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            font-weight: bold;
        }

        .k-user-info h3 {
            margin: 0 0 4px 0;
            font-size: 1.1rem;
        }

        .k-user-info p {
            margin: 0;
            font-size: 0.9rem;
            color: #475569;
        }

        .k-role-badge {
            display: inline-block;
            padding: 4px 8px;
            border-radius: 6px;
            font-size: 0.8rem;
            font-weight: bold;
            margin-bottom: 8px;
        }

        .k-role-vip { background: #fef3c7; color: #f59e0b; border: 1px solid #fde68a; }
        .k-role-cocina { background: #eff6ff; color: #3b82f6; border: 1px solid #bfdbfe; }
        .k-role-admin { background: #fdf2f8; color: #d81b60; border: 1px solid #fbcfe8; }
        .k-role-regular { background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; }

        .k-points-control {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: white;
            padding: 8px 12px;
            border-radius: 8px;
            border: 1px solid #e2e8f0;
        }

        .k-btn-point {
            background: #f1f5f9;
            border: none;
            width: 28px;
            height: 28px;
            border-radius: 4px;
            cursor: pointer;
            font-weight: bold;
            color: #334155;
            transition: 0.2s;
        }
        .k-btn-point:active { transform: scale(0.9); }

        .k-role-select {
            width: 100%;
            padding: 10px;
            border-radius: 8px;
            border: 1px solid #cbd5e1;
            background: white;
            font-weight: bold;
            color: #334155;
            outline: none;
            cursor: pointer;
        }

        .avatar-vip-container img {
            border: 2px solid #f59e0b;
            box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
        }
        
        .vip-pill-badge {
            background: linear-gradient(135deg, #f59e0b, #d97706);
            color: white;
            text-transform: uppercase;
            border-radius: 10px;
            padding: 2px 8px;
            font-size: 0.65rem;
            font-weight: 800;
            margin-left: 6px;
            vertical-align: middle;
            display: inline-block;
        }

        .product-badges-row {
            position: absolute;
            top: 8px;
            left: 8px;
            right: 8px;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 6px;
            pointer-events: none;
            z-index: 2;
        }

        .vip-header-pill, .btn-vip-badge, #navVipBadge, #vip-header-badge {
            display: none;
            align-items: center;
            justify-content: center;
            height: 38px;
            padding: 0 14px;
            background: linear-gradient(135deg, #f59e0b, #d97706);
            color: #ffffff;
            font-weight: 700;
            font-size: 0.85rem;
            border-radius: 20px;
            box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
            margin-left: 10px;
            order: 2;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .vip-header-pill:hover, .btn-vip-badge:hover, #navVipBadge:hover, #vip-header-badge:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(217, 119, 6, 0.35);
        }

        #user-profile-container {
            order: 3;
        }

        .cart-btn {
            order: 1;
        }

        .custom-cake-banner {
            background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
            border: 2px dashed #f472b6;
            border-radius: 16px;
            padding: 24px;
            margin: 20px 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .custom-cake-banner:hover {
            transform: scale(1.02);
            box-shadow: 0 8px 24px rgba(216, 27, 96, 0.15);
        }
        .custom-cake-banner h2 {
            margin: 0 0 8px 0;
            color: #831843;
            font-size: 1.4rem;
        }
        .custom-cake-banner p {
            margin: 0;
            color: #9d174d;
        }

        .wizard-modal-content {
            background: white;
            width: 90%;
            max-width: 600px;
            border-radius: 20px;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
            position: relative;
        }

        .wizard-header {
            padding: 20px;
            border-bottom: 1px solid #f1f5f9;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #fffbf2;
        }

        .wizard-progress {
            display: flex;
            justify-content: space-between;
            padding: 20px 40px;
            position: relative;
            background: #f8fafc;
        }
        .wizard-progress-line {
            position: absolute;
            top: 50%;
            left: 40px;
            right: 40px;
            height: 2px;
            background: #e2e8f0;
            z-index: 0;
        }
        .wizard-step-circle {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: white;
            border: 2px solid #cbd5e1;
            color: #64748b;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            z-index: 1;
            transition: 0.3s;
        }
        .wizard-step-circle.active {
            background: #d81b60;
            border-color: #d81b60;
            color: white;
        }
        .wizard-step-circle.completed {
            background: #f59e0b;
            border-color: #f59e0b;
            color: white;
        }

        .wizard-step {
            display: none;
            padding: 24px;
            flex: 1;
            overflow-y: auto;
        }
        .wizard-step.active {
            display: block;
        }

        .wizard-options-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
            gap: 12px;
        }
        
        .step-option-card {
            border: 2px solid #fed7aa; /* Colores cálidos de panadería */
            border-radius: 50px; /* Forma de píldora */
            padding: 12px 20px;
            text-align: center;
            cursor: pointer;
            transition: all 0.2s ease;
            background: #fffbeb;
        }
        .step-option-card h4 { margin: 0 0 8px 0; color: #334155; }
        .step-option-card p { margin: 0 0 8px 0; font-size: 0.85rem; color: #64748b; }
        .step-option-card strong { color: #d81b60; display: block; }
        
        .step-option-card:hover {
            border-color: #fbcfe8;
            background: #fdf2f8;
        }
        .step-option-card.selected {
            border-color: #f43f5e;
            background: #fff1f2;
            box-shadow: 0 4px 15px rgba(244, 63, 94, 0.2);
            transform: scale(1.02);
        }
        
        .design-thumb {
            border: 3px solid transparent;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s ease;
            overflow: hidden;
            background: #f8fafc;
            padding: 4px;
        }
        .design-thumb:hover {
            transform: scale(1.05);
        }
        .design-thumb.selected {
            border-color: #d81b60;
            background: #fdf2f8;
            box-shadow: 0 4px 12px rgba(216, 27, 96, 0.3);
            transform: scale(1.05);
        }

        .wizard-footer {
            padding: 16px 24px;
            border-top: 1px solid #f1f5f9;
            display: flex;
            justify-content: space-between;
            background: white;
        }

        @media (max-width: 600px) {
            .custom-cake-banner {
                flex-direction: column;
                text-align: center;
            }
            .wizard-progress { padding: 20px; }
            .wizard-progress-line { left: 20px; right: 20px; }
            .wizard-options-grid { grid-template-columns: 1fr 1fr; }
        }

        /* --- MODO COCINA / DESPACHO --- */
        .kitchen-modal-content {
            width: 100vw;
            height: 100vh;
            max-width: none;
            border-radius: 0;
            background: #1e293b;
            color: #f8fafc;
            padding: 20px;
            display: flex;
            flex-direction: column;
        }

        .kitchen-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #334155;
            padding-bottom: 16px;
            margin-bottom: 20px;
        }

        .kitchen-header h2 {
            color: #f8fafc;
            margin: 0;
            font-size: 1.5rem;
        }

        .kitchen-close-btn {
            background: #ef4444;
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 8px;
            font-weight: bold;
            cursor: pointer;
        }

        .kitchen-tabs {
            display: flex;
            gap: 12px;
            margin-bottom: 24px;
        }

        .kitchen-tab-btn {
            background: #334155;
            color: #94a3b8;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.2s;
        }

        .kitchen-tab-btn.active {
            background: #f59e0b;
            color: #1e293b;
        }

        .kitchen-tab-content {
            display: none;
            flex: 1;
            overflow-y: auto;
            flex-wrap: wrap;
            gap: 20px;
            align-content: flex-start;
        }

        .kitchen-tab-content.active {
            display: flex;
        }

        .kitchen-card {
            background: #f8fafc;
            color: #0f172a;
            border-radius: 12px;
            padding: 20px;
            width: calc(33.333% - 14px);
            min-width: min(100%, 300px);
            max-width: 95vw;
            box-sizing: border-box;
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
            display: flex;
            flex-direction: column;
            border-left: 8px solid #f59e0b;
        }

        .kitchen-card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 12px;
            border-bottom: 1px solid #e2e8f0;
            padding-bottom: 12px;
        }

        .kitchen-card h3 {
            margin: 0 0 4px 0;
            font-size: 1.4rem;
            color: #0f172a;
        }
        
        .k-vip-badge {
            background: linear-gradient(135deg, #fef3c7, #fde68a);
            color: #b45309;
            padding: 2px 6px;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: bold;
            margin-left: 8px;
        }

        .kitchen-card p {
            margin: 4px 0;
            font-size: 1.1rem;
        }

        .kitchen-products {
            font-size: 1.2rem;
            font-weight: bold;
            color: #334155;
            background: #f1f5f9;
            padding: 12px;
            border-radius: 8px;
            margin: 12px 0;
            flex: 1;
        }

        .k-actions {
            display: flex;
            gap: 8px;
            margin-top: auto;
            flex-wrap: wrap;
        }

        .k-btn {
            flex: 1;
            padding: 12px;
            border: none;
            border-radius: 8px;
            font-weight: bold;
            font-size: 1rem;
            cursor: pointer;
            transition: transform 0.1s;
            min-width: 120px;
        }

        .k-btn:active {
            transform: scale(0.96);
        }

        .k-btn-horno { background: #f59e0b; color: white; }
        .k-btn-camino { background: #3b82f6; color: white; }
        .k-btn-entregado { background: #22c55e; color: white; }
        .k-btn-whatsapp { background: #25d366; color: white; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }

        .btn-whatsapp {
            width: 100%;
            background: linear-gradient(135deg, #25d366, #16a34a);
            color: #fff;
            border: none;
            padding: 14px;
            border-radius: 16px;
            font-weight: 800;
            font-size: 1rem;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 9px;
            box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
            transition: var(--ease);
        }

        .btn-whatsapp:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
        }

        .empty-cart-view {
            text-align: center;
            padding: 36px 15px;
            color: var(--text-soft);
        }

        .empty-cart-view span {
            font-size: 3.2rem;
            display: block;
            margin-bottom: 10px;
        }

        /* Toast & Cart Toast Feedback */
        .cart-toast-notification,
        .toast {
            position: fixed;
            bottom: calc(var(--bottom-nav-h, 60px) + 16px);
            left: 50%;
            transform: translateX(-50%) translateY(20px);
            background: #ffffff;
            border-left: 5px solid #d81b60; /* Fucsia / Frambuesa corporativo */
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
            border-radius: 12px;
            padding: 10px 18px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-family: inherit;
            font-size: 0.95rem;
            font-weight: 600;
            color: #2c3e50;
            z-index: 10000;
            opacity: 0;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            pointer-events: none;
            white-space: nowrap;
        }

        .cart-toast-notification strong,
        .toast strong {
            font-weight: 800;
            color: #d81b60;
        }

        .cart-toast-notification.toast-show,
        .cart-toast-notification.show,
        .toast.toast-show,
        .toast.show {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
            pointer-events: auto;
        }

        /* Microanimación de rebote para botón del carrito */
        @keyframes cartBounce {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.15); }
        }

        .cart-bump {
            animation: cartBounce 0.35s ease-in-out !important;
        }

        /* Floating WhatsApp FAB */
        .fab-whatsapp {
            position: fixed;
            bottom: calc(var(--bottom-nav-h) + 16px);
            right: 18px;
            width: 54px;
            height: 54px;
            background: linear-gradient(135deg, #25d366, #16a34a);
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
            cursor: pointer;
            z-index: 94;
            text-decoration: none;
            animation: fabPulse 2.8s infinite;
            transition: var(--ease);
        }

        @keyframes fabPulse {
            0% {
                box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
            }

            70% {
                box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
            }
        }

        .fab-whatsapp:hover {
            transform: scale(1.1) rotate(6deg);
        }

        .fab-whatsapp svg {
            width: 28px;
            height: 28px;
            fill: #fff;
        }

        /* ===== SHIMMER BUTTON ===== */
        .btn-gold-shimmer {
            position: relative;
            overflow: hidden;
            background: linear-gradient(135deg, #f59e0b, #d97706);
            color: #fff;
            font-size: 1.15rem;
            padding: 16px 40px;
            border-radius: 50px;
            font-weight: 700;
            box-shadow: 0 8px 20px rgba(217, 119, 6, 0.35);
            border: none;
            letter-spacing: 0.5px;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            text-align: center;
        }

        .btn-gold-shimmer:active {
            transform: scale(0.97);
        }

        .nav-link.active {
            color: var(--brand-pink);
            font-weight: 700;
        }

        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            width: 5px;
            height: 5px;
            background-color: var(--brand-pink);
            border-radius: 50%;
        }

        .nav-club-highlight {
            background: rgba(245, 158, 11, 0.12);
            color: #d97706;
            border-radius: 16px;
            padding: 8px 14px;
        }
        .nav-club-highlight:hover {
            background: rgba(245, 158, 11, 0.2);
        }

        .btn-gold-shimmer::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
            transform: rotate(45deg);
            animation: shimmerEffect 3.5s infinite;
        }

        @keyframes shimmerEffect {
            0% {
                transform: translateX(-100%) rotate(45deg);
            }

            100% {
                transform: translateX(100%) rotate(45deg);
            }
        }

        #productos {
            scroll-margin-top: 80px;
        }

        /* ===== CLUB DULCE RECOMPENSA (MARCO IMPERIAL DORADO) ===== */
        .rewards-club-section {
            background: linear-gradient(135deg, #FFFDF9 0%, #FFF5F7 50%, #FEF9F0 100%);
            border-radius: 24px;
            padding: 30px 22px 24px;
            margin: 0 auto 28px auto;
            text-align: center;
            box-shadow: 0 10px 30px rgba(136, 19, 55, 0.07), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
            border: 1.5px solid rgba(197, 139, 43, 0.45);
            position: relative;
        }

        .rewards-club-title {
            font-family: 'Playfair Display', Georgia, serif;
            font-size: 1.45rem;
            color: #831843;
            font-weight: 800;
            margin-bottom: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .rewards-club-sub {
            font-size: 0.92rem;
            color: #6E5A4F;
            margin-bottom: 20px;
            padding: 0 10px;
        }

        .rewards-btn-group {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 20px;
        }

        .rewards-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            text-decoration: none;
            padding: 10px 14px;
            min-height: 44px;
            border-radius: 25px;
            font-weight: 700;
            font-size: 0.9rem;
            color: #fff;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .rewards-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
        }

        .btn-tiktok {
            background: linear-gradient(135deg, #000000, #252525);
            border: 1px solid rgba(197, 139, 43, 0.3);
        }

        .btn-tiktok:hover {
            background: linear-gradient(135deg, #252525, #3a3a3a);
        }

        .btn-instagram {
            background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
            border: 1px solid rgba(248, 211, 141, 0.4);
        }

        .rewards-card {
            background: #FFFFFF;
            border: 1.5px dashed #C58B2B;
            border-radius: 16px;
            padding: 16px 18px;
            font-size: 0.9rem;
            color: #831843;
            font-weight: 600;
            line-height: 1.5;
            box-shadow: 0 4px 16px rgba(197, 139, 43, 0.1);
            cursor: pointer;
            transition: all 0.25s ease;
            margin-bottom: 16px;
        }
        
        .rewards-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 22px rgba(197, 139, 43, 0.22);
            background: #FFFDF8;
            border-color: #92400E;
        }

        .rewards-love-motto {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 4px;
            padding-top: 14px;
            border-top: 1px solid rgba(197, 139, 43, 0.25);
            margin-top: 8px;
        }

        .motto-quote {
            font-family: 'Playfair Display', Georgia, serif;
            font-size: 1.05rem;
            font-weight: 800;
            color: #831843;
            font-style: italic;
        }

        .motto-sub {
            font-family: 'Quicksand', sans-serif;
            font-size: 0.84rem;
            font-weight: 600;
            color: #6E5A4F;
        }

        @media (min-width: 640px) {
            .rewards-btn-group {
                flex-direction: row;
                justify-content: center;
            }

            .rewards-btn {
                flex: 1;
                max-width: 250px;
                font-size: 0.95rem;
                padding: 12px 16px;
            }
        }

        /* ===== DESKTOP: HIDE MOBILE ELEMENTS ===== */
        @media (min-width: 769px) {
            .mobile-bottom-nav {
                display: none !important;
            }

            .mobile-header {
                display: none !important;
            }

            .mobile-search-bar {
                display: none !important;
            }

            header {
                display: flex;
            }

            body {
                padding-bottom: 80px;
            }

            .toast,
            .cart-toast-notification {
                bottom: 25px;
            }

            .fab-whatsapp {
                bottom: 24px;
                right: 22px;
                width: 58px;
                height: 58px;
            }
        }

        /* ===== MOBILE BREAKPOINT ===== */
        @media (max-width: 768px) {

            /* Hide desktop header, show mobile header */
            header {
                display: none !important;
            }

            .mobile-header {
                display: flex;
            }

            #mob-ticket-badge, .ticket-points-badge {
                display: none !important;
            }

            body {
                padding-bottom: 84px !important;
            }

            .mobile-bottom-nav {
                display: block !important;
                height: 64px !important;
                background: rgba(255, 255, 255, 0.97) !important;
                backdrop-filter: blur(14px) !important;
                -webkit-backdrop-filter: blur(14px) !important;
                border-top: 1px solid #f1e6e2 !important;
                box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08) !important;
                z-index: 999 !important;
                padding-bottom: max(8px, env(safe-area-inset-bottom));
            }

            .bottom-nav-items {
                display: flex !important;
                justify-content: space-around !important;
                align-items: stretch !important;
                height: 100% !important;
                width: 100% !important;
                padding: 0 !important;
                margin: 0 !important;
            }

            .bottom-nav-btn {
                flex: 1 1 0 !important;
                min-width: 0 !important;
                padding: 6px 1px 8px !important;
                display: flex !important;
                flex-direction: column !important;
                align-items: center !important;
                justify-content: center !important;
                gap: 2px !important;
            }

            .bottom-nav-btn .bn-icon {
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
                line-height: 1 !important;
            }

            .bottom-nav-btn.cart-nav-btn .bn-icon {
                width: 44px !important;
                height: 44px !important;
                margin-top: -10px !important;
            }

            .bottom-nav-btn .bn-label {
                font-size: 0.69rem !important;
                font-weight: 700 !important;
                letter-spacing: 0.2px !important;
                white-space: nowrap !important;
                overflow: hidden !important;
                text-overflow: ellipsis !important;
                max-width: 100% !important;
                text-align: center !important;
                line-height: 1.1 !important;
            }

            .bottom-nav-btn.cart-nav-btn .cart-mobile-badge {
                right: calc(50% - 24px) !important;
                top: -6px !important;
            }

            .cat-chip-scroll {
                justify-content: flex-start;
                flex-wrap: nowrap;
                padding-left: 12px;
                padding-right: 12px;
            }

            .section {
                margin: 14px auto;
                padding: 0 12px;
            }

            /* Hero adjusts for mobile */
            .hero {
                padding: 28px 16px 24px;
                border-radius: 18px;
                margin-bottom: 20px;
            }

            .hero-logo-img {
                width: 80px;
                height: 80px;
                margin-bottom: 12px;
            }

            .hero h1 {
                font-size: 1.9rem;
            }

            .hero .hero-sub {
                font-size: 0.9rem;
            }

            .hero p.hero-body {
                font-size: 0.84rem;
            }

            .hero-brand-badge {
                font-size: 0.72rem;
                padding: 5px 12px;
                margin-bottom: 14px;
            }

            .hero-actions {
                flex-direction: column;
                gap: 10px;
            }

            .btn-gold,
            .btn-outline-white {
                width: 100%;
                justify-content: center;
                padding: 12px 20px;
                font-size: 0.95rem;
            }

            .brand-values-strip {
                gap: 6px;
            }

            .bv-pill {
                font-size: 0.72rem;
                padding: 5px 11px;
            }

            /* Grid: 2 columns on mobile */
            .grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
                margin-bottom: 28px;
            }

            .card {
                border-radius: 14px;
            }

            .card-img-wrap {
                height: 120px;
            }

            .card-body,
            .card .card-body {
                padding: 12px 12px 14px !important;
            }

            .card h3 {
                font-size: 0.88rem;
            }

            .card-desc {
                font-size: 0.8rem;
                margin-bottom: 8px;
            }

            .price,
            .card .price-row .price,
            .card .price-row .current-price {
                font-size: 1.15rem !important;
            }

            .price-label {
                font-size: 0.62rem;
            }

            .quantity-control,
            .card .quantity-control {
                height: 30px !important;
                padding: 0 6px !important;
                gap: 4px !important;
                margin-bottom: 0 !important;
            }

            .qty-btn,
            .card .qty-btn {
                width: 22px !important;
                height: 22px !important;
                font-size: 0.95rem !important;
                border-radius: 50% !important;
            }

            .qty-input,
            .card .qty-input {
                width: 28px !important;
                height: 24px !important;
                font-size: 0.85rem !important;
                border-radius: 4px !important;
            }

            .btn-add,
            .card .btn-add {
                width: 100% !important;
                max-width: 100% !important;
                height: 36px !important;
                padding: 0 10px !important;
                font-size: 0.74rem !important;
                font-weight: 700 !important;
                letter-spacing: 0.04em !important;
                box-sizing: border-box !important;
                overflow: hidden !important;
                white-space: nowrap !important;
            }

            .card-tag {
                font-size: 0.65rem;
                padding: 3px 9px;
            }

            /* Category chips horizontal scroll on mobile */
            .cat-chip-scroll {
                flex-wrap: nowrap;
                justify-content: flex-start;
                overflow-x: auto;
                padding: 6px 4px 14px;
            }

            .cat-chip {
                font-size: 0.8rem;
                padding: 7px 14px;
            }

            .section-title-wrapper {
                margin: 18px 0 12px 0 !important;
                text-align: center !important;
            }

            .section-title,
            section#productos h2,
            section#nosotros h2,
            .info-card h2 {
                display: block !important;
                text-align: center !important;
                font-size: 1.45rem !important;
                line-height: 1.25 !important;
                padding: 8px 12px !important;
                margin: 0 auto !important;
                overflow: visible !important;
            }

            .section-title em,
            section#productos h2 em,
            section#nosotros h2 em,
            .info-card h2 em {
                display: inline !important;
                float: none !important;
            }

            .toast,
            .cart-toast-notification {
                bottom: 78px !important;
            }

            /* Top bar compact */
            .top-bar {
                display: none !important;
            }
            
            #nav-club-puntos {
                display: none !important;
            }
            
            #modal-carrito .cart-content {
                max-height: 85vh;
                overflow-y: auto;
                -webkit-overflow-scrolling: touch;
            }

            .top-bar-phone {
                font-size: 0.7rem;
            }

            /* FAB position above bottom nav (~80px) */
            .fab-whatsapp {
                bottom: 82px !important;
                right: 16px !important;
                width: 52px !important;
                height: 52px !important;
                box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4) !important;
                z-index: 998 !important;
            }

            .fab-whatsapp svg {
                width: 26px;
                height: 26px;
            }

            /* Botones de acción CTA en móvil */
            .hero-buttons-group {
                display: flex !important;
                flex-direction: column !important;
                width: 100% !important;
                gap: 12px !important;
            }

            .btn-hero-primary,
            .btn-hero-secondary {
                width: 100% !important;
                max-width: 100% !important;
                min-height: 48px !important;
                height: auto !important;
                padding: 12px 18px !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                box-sizing: border-box !important;
                font-size: 0.95rem !important;
                border-radius: 50px !important;
                text-align: center !important;
            }

            /* Identity banner */
            .identity-banner {
                padding: 22px 16px;
                margin: 28px 0 18px;
            }

            .identity-banner h3 {
                font-size: 1.35rem;
            }

            .identity-banner p {
                font-size: 0.88rem;
            }

            /* Features grid 1 column */
            .features-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }

            /* Info card */
            .info-card {
                padding: 20px 16px;
            }

            .info-card h2 {
                font-size: 1.55rem;
            }

            .about-lead {
                font-size: 0.96rem;
            }

            .mv-grid {
                grid-template-columns: 1fr;
                gap: 14px;
            }

            .values-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }

            .info-grid {
                grid-template-columns: 1fr;
                gap: 14px;
            }

            /* Cart modal */
            .cart-content {
                padding: 16px;
                max-height: 94vh;
                border-radius: 22px;
            }

            .cart-header h3 {
                font-size: 1.25rem;
            }
        }

        /* ===== BUSCADOR ADMIN ===== */
        #adminUserSearch {
            width: 100%;
            padding: 12px 20px;
            border: 2px solid #f1e8e4;
            border-radius: 8px;
            font-size: 0.95rem;
            color: var(--text-dark);
            background-color: #fff;
            transition: border-color var(--ease), box-shadow var(--ease);
            margin-bottom: 15px;
        }
        #adminUserSearch:focus {
            outline: none;
            border-color: var(--brand-pink);
            box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.1);
        }

        /* ===== EVENTOS ===== */
        /* CTA Animations & Effects */
        @keyframes shineSweep {
            0% { transform: translateX(-100%) skewX(-15deg); }
            100% { transform: translateX(200%) skewX(-15deg); }
        }

        @keyframes bounceSub {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(3px); }
        }

        .event-banner {
            position: relative;
            overflow: hidden;
            background: linear-gradient(135deg, var(--brand-pink), var(--brand-gold));
            color: white;
            padding: 12px 20px;
            text-align: center;
            border-radius: var(--r-md);
            margin-bottom: 20px;
            font-weight: 700;
            cursor: pointer;
            box-shadow: var(--shadow-m);
            transition: var(--ease);
        }
        
        .event-banner::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 50%;
            height: 100%;
            background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 100%);
            animation: shineSweep 3.5s infinite;
        }

        .event-banner:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-h);
        }

        .btn-gold-shimmer {
            position: relative;
            overflow: hidden;
            background: linear-gradient(135deg, #fbbf24, #f59e0b);
            color: #78350f;
            border: none;
            padding: 13px 28px;
            font-size: 1rem;
            font-weight: 800;
            border-radius: var(--r-full);
            cursor: pointer;
            box-shadow: 0 8px 22px rgba(245, 158, 11, 0.3);
            transition: var(--ease);
            display: inline-flex;
            align-items: center;
            gap: 7px;
        }

        .btn-gold-shimmer::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 50%;
            height: 100%;
            background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 100%);
            animation: shineSweep 3.5s infinite;
        }

        .btn-gold-shimmer:hover {
            transform: translateY(-2px) scale(1.03);
        }

        .banner-action-btn {
            background: white;
            color: var(--brand-pink);
            padding: 4px 12px;
            border-radius: 12px;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.2s;
            display: inline-block;
            margin-left: 8px;
        }

        .banner-action-btn:hover {
            transform: scale(1.05);
        }

        .cta-subtext {
            font-family: inherit;
            font-size: 13.5px;
            font-weight: 600;
            color: #64748b;
            margin-top: 5px;
            animation: bounceSub 2s infinite;
            transform-origin: top center;
        }
        @keyframes ringBell {
            0% { transform: rotate(-15deg); }
            100% { transform: rotate(15deg); }
        }
        .order-toast-text {
            display: flex;
            flex-direction: column;
        }
        .order-toast-text strong {
            color: var(--text-dark);
            font-size: 0.95rem;
            margin-bottom: 2px;
        }
        .order-toast-text p {
            margin: 0;
            color: var(--text-soft);
            font-size: 0.85rem;
        }

        /* ===== TV / LARGE SCREENS ===== */
        @media (min-width: 1700px) {
            .section {
                max-width: 1500px;
            }

            .hero {
                padding: 80px 40px;
            }

            .hero h1 {
                font-size: 4rem;
            }

            .hero-logo-img {
                width: 130px;
                height: 130px;
            }

            .grid {
                grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
                gap: 28px;
            }

            .card-img-wrap {
                height: 210px;
            }
        }
#w-date {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background-color: #f8fafc;
    font-family: inherit;
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
    outline: none;
    transition: all 0.2s;
}

#w-date:focus {
    border-color: #f43f5e;
    box-shadow: 0 0 0 3px rgba(244,63,94,0.1);
}

.nav-logo-img {
    height: 50px !important;
    width: auto !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    display: block !important;
}

@media (max-width: 768px) {
    .nav-logo-img {
        height: 42px !important;
    }
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
}

.hero-logo-img {
    border-radius: 0 !important;
    clip-path: none !important;
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none !important;
    mix-blend-mode: multiply !important;
    filter: brightness(1.04) contrast(1.06) !important;
    height: 185px !important;
    width: auto !important;
    max-width: 90% !important;
    display: block !important;
    margin: 0 auto 14px auto !important;
    object-fit: contain !important;
}

.hero-quote {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 20px;
    font-weight: 700;
    color: #9C2A48;
    margin: 10px 0 6px 0;
    text-align: center;
}
.hero-desc {
    font-family: 'Quicksand', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #6E5343;
    line-height: 1.45;
    max-width: 330px;
    margin: 0 auto 16px auto;
    text-align: center;
}

.brand-title, .nav-brand span, .brand-text h1 {
    font-family: 'Quicksand', 'Poppins', sans-serif !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: #9C1D54 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    letter-spacing: -0.3px !important;
}

.brand-subtitle, .brand-tagline {
    font-family: 'Quicksand', 'Poppins', sans-serif !important;
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    color: #7A5C58 !important;
    letter-spacing: 1.8px !important;
    text-transform: uppercase !important;
    margin-top: 1px !important;
    display: block !important;
}


.hero-buttons-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.btn-hero-primary, .btn-hero-secondary {
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 380px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-family: 'Quicksand', sans-serif !important;
    letter-spacing: 0.2px !important;
    cursor: pointer !important;
    border: 1.5px solid rgba(229, 169, 60, 0.35) !important; /* Filito dorado sutil en reposo */
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

/* Botón 1: Naranja original con orillo y glow dorado */
.btn-hero-primary {
    padding: 13px 22px !important;
    font-size: 15.5px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    background: linear-gradient(135deg, #F37A20 0%, #D85606 100%) !important;
    box-shadow: 0 6px 18px rgba(216, 86, 6, 0.35) !important;
}

/* Botón 2: Vino / Magenta original con orillo y glow dorado */
.btn-hero-secondary {
    padding: 12px 20px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    background: linear-gradient(135deg, #D81B60 0%, #880E4F 100%) !important;
    box-shadow: 0 5px 16px rgba(136, 14, 79, 0.28) !important;
}

/* Al pasar el mouse o tocar en móvil (:hover, :active, :focus-visible) */
.btn-hero-primary:hover,
.btn-hero-secondary:hover,
.btn-hero-primary:active,
.btn-hero-secondary:active,
.btn-hero-primary:focus-visible,
.btn-hero-secondary:focus-visible {
    border-color: #FFD571 !important;
    box-shadow: 0 0 18px rgba(229, 169, 60, 0.65), 0 6px 16px rgba(197, 139, 43, 0.35) !important;
    transform: translateY(-2px) !important;
}

.btn-hero-primary:active,
.btn-hero-secondary:active {
    transform: translateY(0px) scale(0.98) !important;
}

/* Rayo de luz dorado al rozar (Shimmer Effect con ::after) */
.btn-hero-primary::after,
.btn-hero-secondary::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 60% !important;
    height: 100% !important;
    background: linear-gradient(120deg, transparent, rgba(255, 235, 160, 0.45), transparent) !important;
    transform: skewX(-20deg) !important;
    transition: left 0.6s ease !important;
    pointer-events: none !important;
}

.btn-hero-primary:hover::after,
.btn-hero-secondary:hover::after,
.btn-hero-primary:active::after,
.btn-hero-secondary:active::after,
.btn-hero-primary:focus-visible::after,
.btn-hero-secondary:focus-visible::after {
    left: 140% !important;
}

@media (max-width: 768px) {
    .hero-buttons-group {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100% !important;
        max-width: 380px !important;
        min-height: 48px !important;
        height: auto !important;
        padding: 13px 18px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        font-size: 0.94rem !important;
        border-radius: 50px !important;
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .btn-hero-primary,
    .btn-hero-secondary {
        max-width: 100% !important;
        white-space: normal !important;
        font-size: 0.90rem !important;
        padding: 12px 14px !important;
    }
}

.hero-trust-badge {
    font-family: 'Quicksand', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #8C6239;
    margin: 10px 0 0 0;
    text-align: center;
}

/* ===== FLATPICKR CUSTOM STYLES ===== */
.flatpickr-calendar {
  border-radius: 16px !important;
  box-shadow: 0 12px 30px rgba(156, 29, 84, 0.15) !important;
  border: 1px solid #f3d5dc !important;
  font-family: 'Quicksand', 'Plus Jakarta Sans', sans-serif !important;
  background: #ffffff !important;
}
.flatpickr-months {
  background: #9C1D54 !important;
  border-radius: 16px 16px 0 0 !important;
  color: #fff !important;
  padding: 6px 0 !important;
}
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
  color: #ffffff !important;
  font-weight: 700 !important;
}
.flatpickr-day.selected, 
.flatpickr-day.startRange, 
.flatpickr-day.endRange {
  background: #9C1D54 !important;
  border-color: #9C1D54 !important;
  color: #fff !important;
  font-weight: bold !important;
  border-radius: 50% !important;
}
.flatpickr-day:hover {
  background: #FCE4EC !important;
  color: #9C1D54 !important;
}

/* ===== HISTORIAL DE PEDIDOS ===== */
.history-order-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #f0e2e5;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  padding: 16px;
  display: flex;
  flex-direction: column;
}
.badge-status {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
}
#modal-order-history,
#modal-points-history {
  z-index: 1100 !important;
}
#order-history-content,
#points-history-content {
  overflow-y: auto;
}

/* ===== FLATPICKR TIME CUSTOM STYLES ===== */
.flatpickr-calendar.hasTime.noCalendar {
  border-radius: 14px !important;
  border: 1px solid #f3d5dc !important;
  box-shadow: 0 10px 25px rgba(156, 29, 84, 0.12) !important;
  padding: 10px 14px !important;
  background: #ffffff !important;
}
.flatpickr-time {
  max-height: 50px !important;
}
.flatpickr-time input:hover,
.flatpickr-time input:focus {
  background: #FCE4EC !important;
  color: #9C1D54 !important;
}
.flatpickr-time .flatpickr-am-pm:hover,
.flatpickr-time .flatpickr-am-pm:focus {
  background: #9C1D54 !important;
  color: #ffffff !important;
}
.flatpickr-time .arrowUp:after, 
.flatpickr-time .arrowDown:after {
  border-top-color: #9C1D54 !important;
  border-bottom-color: #9C1D54 !important;
}

/* ===== RELLENOS Y PRECIOS DINÁMICOS ===== */
.old-price { 
  text-decoration: line-through; 
  color: #999; 
  font-size: 0.9rem; 
  margin-right: 6px; 
}
.current-price { 
  color: #9C1D54; 
  font-weight: 800; 
  font-size: 1.25rem; 
}
.badge-promo-filling { 
  background: #e8f5e9; 
  color: #2e7d32; 
  font-size: 0.75rem; 
  font-weight: 700; 
  padding: 3px 8px; 
  border-radius: 6px; 
  border: 1px solid #c8e6c9; 
  margin-left: 6px; 
}

/* ===== SCROLL HORIZONTAL DE CATEGORÍAS ===== */
.cat-chip-scroll {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-x !important;
  gap: 8px !important;
  padding: 8px 12px !important;
  scrollbar-width: none !important;
  user-select: none !important;
  cursor: grab;
}

.cat-chip-scroll::-webkit-scrollbar {
  display: none !important;
}

.cat-chip {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

/* ===== CONTENEDOR SELECTOR DE RELLENOS ===== */
.product-filling-wrapper { margin: 8px 0 10px; width: 100%; }
.filling-label { font-size: 0.8rem; font-weight: 700; color: #7a4f5d; display: block; margin-bottom: 4px; }
.custom-select-box { position: relative; width: 100%; }
.filling-select {
  width: 100% !important;
  appearance: none;
  -webkit-appearance: none;
  background: #ffffff !important;
  border: 1px solid #fbcfe8 !important; /* Borde rosa sutil */
  outline: none !important;
  border-radius: 12px !important;
  padding: 8px 40px 8px 14px !important; /* Padding cómodo y espacio extra para la flecha */
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  color: #4a2e35 !important;
  cursor: pointer;
}
.filling-select:focus { border-color: #f472b6 !important; }
.custom-select-box::after {
  content: "▼";
  font-size: 0.65rem;
  color: #f472b6;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  pointer-events: none;
}
/* =========================================
   TABS ADMINISTRADOR
========================================= */
.admin-tabs-nav {
    display: flex;
    gap: 10px;
    background: #f4f4f6;
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 25px;
    overflow-x: auto;
    scrollbar-width: none;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}
.admin-tabs-nav::-webkit-scrollbar {
    display: none;
}
.admin-tab-btn {
    flex: 1;
    min-width: min(100%, 200px);
    background: transparent;
    color: #64748b;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}
.admin-tab-btn:hover {
    background: #e2e8f0;
    color: #334155;
}
.admin-tab-btn.active {
    background: #fff;
    color: #e6396b;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.admin-tab-container {
    animation: fadeInTab 0.3s ease-in-out;
}
@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* =========================================
   TARJETAS M�TRICAS INTERACTIVAS
========================================= */
.metric-card {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1) !important;
}
/* =========================================
   BARRA DE FILTROS LIBRO CONTABLE
========================================= */
.contable-filtros-bar {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 15px 0;
    flex-wrap: wrap;
    background: #f8fafc;
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}
.contable-filtros-bar input {
    border-radius: 8px;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    background: #fff;
    font-size: 0.9rem;
    outline: none;
    flex: 1;
    min-width: 200px;
}
.contable-filtros-bar input:focus {
    border-color: var(--brand-pink);
    box-shadow: 0 0 0 2px rgba(230, 57, 107, 0.1);
}
.btn-secundario {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.btn-secundario:hover {
    background: #e2e8f0;
    color: #334155;
}
/* =========================================
   AJUSTE DE SELECT DE RELLENOS EN MOVILES
========================================= */
.filling-select {
  font-size: 0.76rem !important;
  padding: 6px 8px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.filling-label {
  font-size: 0.75rem !important;
}
/* =========================================
   ESTADOS DE PEDIDOS
========================================= */
.status-select {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  outline: none;
  transition: all 0.2s ease;
}
.status-pendiente { background-color: #fff3cd !important; color: #856404 !important; border-color: #ffeeba !important; }
.status-en-horno { background-color: #e1f5fe !important; color: #0277bd !important; border-color: #b3e5fc !important; }
.status-entregado { background-color: #e8f5e9 !important; color: #2e7d32 !important; border-color: #c8e6c9 !important; }

/* =========================================
   ESTILO MODERNO PARA SELECTOR DE FECHA
========================================= */
.cake-delivery-date, input[type="date"].form-control, #w-date, #eventDate {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  background-color: #fff9fa;
  border: 1.8px solid #f6c5d2;
  border-radius: 12px;
  cursor: pointer;
  outline: none;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 2px 6px rgba(230, 57, 107, 0.05);
}

.cake-delivery-date:hover, input[type="date"].form-control:hover, #w-date:hover, #eventDate:hover {
  border-color: #e6396b;
  background-color: #ffffff;
}

.cake-delivery-date:focus, input[type="date"].form-control:focus, #w-date:focus, #eventDate:focus {
  border-color: #e6396b;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(230, 57, 107, 0.15);
}

/* Estilizar el icono del calendario nativo */
input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(32%) sepia(85%) saturate(2280%) hue-rotate(324deg) brightness(91%) contrast(93%);
  padding: 4px;
  transform: scale(1.15);
  transition: transform 0.2s ease;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
  transform: scale(1.3);
}

/* =========================================
   ESTILOS PARA TARJETAS DE ADMIN MEJORADAS
========================================= */
.admin-order-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    min-width: min(100%, 280px);
    flex: 1 1 280px;
    box-sizing: border-box;
    transition: transform 0.2s, box-shadow 0.2s;
}

.admin-order-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.admin-order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.badge-type {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: bold;
    flex-shrink: 1;
}

.order-total {
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--brand-pink);
    white-space: nowrap; /* Evita que el precio se corte en varias lneas */
    flex-shrink: 0;
}

.pay-sin { background-color: #fee2e2 !important; color: #991b1b !important; }
.pay-anticipo { background-color: #fef3c7 !important; color: #b45309 !important; }
.pay-pagado { background-color: #dcfce3 !important; color: #166534 !important; }

/* CSS RESTRUCTURING FOR ADMIN GRID */
#live-orders-grid, .orders-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)) !important;
    gap: 20px !important;
    padding: 15px 0 !important;
    width: 100% !important;
}

.admin-order-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    transition: transform 0.2s, box-shadow 0.2s;
    /* width is now handled by CSS grid */
    min-width: 0;
}

.admin-order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.order-total {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #e6396b !important;
    white-space: nowrap !important;
}

/* Estilos para las tarjetas de métricas interactivas */
.metric-card {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.metric-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

/* =========================================
   CENTRO DE NOTIFICACIONES ADMIN / OPERATIVO
========================================= */
.admin-notif-wrapper {
    position: relative;
    display: inline-block;
    touch-action: none;
}

.admin-notif-wrapper.is-floating {
    position: fixed !important;
    z-index: 9999998 !important;
    margin: 0 !important;
}

.btn-notif-bell {
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-notif-bell:hover {
    background: #fff5f7 !important;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.2) !important;
}
.btn-notif-bell:active {
    transform: scale(0.95);
    cursor: grabbing;
}

#adminNotifDropdown {
    box-sizing: border-box !important;
    max-width: calc(100vw - 24px) !important;
    overflow-x: hidden !important;
}

@media (max-width: 600px) {
    #adminNotifDropdown {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        left: 12px !important;
        right: 12px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
}

/* Destello brillante al localizar pedido desde notificación */
.order-card-highlight {
    animation: orderCardGlow 2.5s ease-out forwards !important;
}

@keyframes orderCardGlow {
    0% {
        background-color: #fef08a !important;
        box-shadow: 0 0 0 4px #eab308, 0 8px 24px rgba(234, 179, 8, 0.45) !important;
        transform: scale(1.02);
    }
    30% {
        background-color: #fef9c3 !important;
        box-shadow: 0 0 0 3px #f59e0b, 0 6px 18px rgba(245, 158, 11, 0.35) !important;
        transform: scale(1.01);
    }
    70% {
        background-color: #fefce8 !important;
        box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.3), 0 4px 12px rgba(0,0,0,0.08) !important;
        transform: scale(1);
    }
    100% {
        background-color: #ffffff !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
        transform: scale(1);
    }
}

/* Badge de Notificaciones con Pulso */
#adminNotifBadge {
    animation: notifPulse 2s infinite ease-in-out;
}
@keyframes notifPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); box-shadow: 0 0 8px rgba(233, 30, 99, 0.7); }
    100% { transform: scale(1); }
}

/* Interruptor de Sonido de Notificaciones */
.switch-sound {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 22px;
}
.switch-sound input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider-sound {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 34px;
}
.slider-sound:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
.switch-sound input:checked + .slider-sound {
    background-color: #10b981;
}
.switch-sound input:checked + .slider-sound:before {
    transform: translateX(20px);
}

/* =========================================
   WIZARD DE PERSONALIZACIÓN DE TORTAS (MODERNO)
========================================= */

@keyframes popIn {
    0% { transform: scale(0.6); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeInPanel {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.wizard-modal-content {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #fed7aa;
    position: relative;
    max-width: 640px;
    width: 95%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Stepper Superior */
.wizard-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background: #fffbf7;
    border-bottom: 1px solid #fce7f3;
}

.stepper-step {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.stepper-step:hover {
    color: #be123c;
}

.stepper-step.active {
    color: #be123c;
    font-weight: 800;
}

.stepper-step.completed {
    color: #15803d;
}

.step-badge {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    background: #e2e8f0;
    color: #64748b;
    transition: all 0.25s ease;
}

.stepper-step.active .step-badge {
    background: linear-gradient(135deg, #d81b60, #f43f5e);
    color: #fff;
    box-shadow: 0 2px 8px rgba(216, 27, 96, 0.35);
}

.stepper-step.completed .step-badge {
    background: #16a34a;
    color: #fff;
}

.stepper-connector {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin: 0 8px;
    border-radius: 2px;
    transition: background 0.25s ease;
}

.stepper-connector.completed {
    background: #16a34a;
}

/* Cuerpo del Wizard */
.wizard-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    background: #fffbf7;
}

.wizard-panel {
    display: none;
}

.wizard-panel.active {
    display: block;
    animation: fadeInPanel 0.25s ease forwards;
}

/* Tarjetas de Sabor / Relleno (Paso 1) */
.wizard-flavor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.flavor-card {
    position: relative;
    background: #fff;
    border: 2px solid #f1e5d8;
    border-radius: 16px;
    padding: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.flavor-card:hover {
    border-color: #f43f5e;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(216, 27, 96, 0.08);
}

.flavor-card.selected {
    border-color: #d81b60;
    background: #fff5f7;
    box-shadow: 0 6px 18px rgba(216, 27, 96, 0.14);
}

.card-check-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #d81b60;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    display: none;
    align-items: center;
    justify-content: center;
}

.flavor-card.selected .card-check-icon,
.size-card.selected .card-check-icon {
    display: flex;
    animation: popIn 0.2s ease;
}

.flavor-icon {
    font-size: 1.8rem;
    background: #fff1f2;
    border-radius: 12px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flavor-info {
    flex: 1;
}

.flavor-info strong {
    font-size: 0.92rem;
    color: #1e293b;
    display: block;
    margin-bottom: 3px;
    font-weight: 800;
}

.flavor-badge-tag {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
    background: #ffe4e6;
    color: #be123c;
    margin-bottom: 5px;
}

.flavor-info p {
    font-size: 0.76rem;
    color: #64748b;
    line-height: 1.35;
    margin: 0;
}

/* Tarjetas de Tamaño (Paso 2) */
.wizard-size-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.size-card {
    position: relative;
    background: #fff;
    border: 2px solid #f1e5d8;
    border-radius: 16px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.22s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.size-card:hover {
    border-color: #f43f5e;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(216, 27, 96, 0.08);
}

.size-card.selected {
    border-color: #d81b60;
    background: #fff5f7;
    box-shadow: 0 6px 18px rgba(216, 27, 96, 0.14);
}

.size-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.size-icon {
    font-size: 1.4rem;
}

.size-title-block strong {
    font-size: 0.92rem;
    color: #1e293b;
    display: block;
    font-weight: 800;
}

.size-title-block small {
    font-size: 0.72rem;
    color: #15803d;
    font-weight: 700;
    display: block;
}

.size-featured-tag {
    background: linear-gradient(135deg, #d81b60, #ff4081);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 8px;
    align-self: flex-start;
    margin-bottom: 6px;
}

.size-desc {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.35;
    margin-bottom: 12px;
    flex: 1;
}

.size-price-tag {
    font-size: 1rem;
    font-weight: 800;
    color: #d81b60;
    background: #fff1f2;
    padding: 8px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #fecdd3;
}

/* Tarjeta Subir Foto y Galería (Paso 3) */
.upload-custom-design-card {
    border: 2px dashed #f43f5e;
    background: #fff5f7;
    border-radius: 16px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-custom-design-card:hover {
    background: #ffe4e6;
    border-color: #d81b60;
}

.upload-custom-design-card.selected {
    border: 2px solid #16a34a;
    background: #f0fdf4;
}

.wizard-design-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

.design-thumb {
    position: relative;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.22s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.design-thumb:hover {
    border-color: #f43f5e;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(216, 27, 96, 0.08);
}

.design-thumb.selected {
    border-color: #d81b60;
    background: #fff5f7;
    box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.2);
}

.extra-item-row {
    transition: all 0.2s ease;
}

.extra-item-row:hover {
    border-color: #f43f5e !important;
    background: #fff5f7 !important;
}

/* Footer Sticky Fijo */
.wizard-footer-sticky {
    position: sticky;
    bottom: 0;
    background: #fff;
    border-top: 1px solid #fce7f3;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px; /* avoid squeezing buttons against text */

    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.04);
    z-index: 20;
    flex-shrink: 0 !important;
}

.wizard-footer-summary {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#wizard-summary-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

#wizard-summary-total {
    font-size: 1.25rem;
    font-weight: 800;
    color: #d81b60;
    display: block;
}

.wizard-footer-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

#btnWizardPrev {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: none;
}

#btnWizardPrev:hover {
    background: #e2e8f0;
    color: #1e293b;
}

#btnWizardNext {
    background: linear-gradient(135deg, #d81b60, #ff4081);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 11px 22px;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(216, 27, 96, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#btnWizardNext:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(216, 27, 96, 0.35);
}

#btnWizardSubmit {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 11px 22px;
    font-weight: 800;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
    display: none;
    align-items: center;
    justify-content: center;
}

#btnWizardSubmit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.35);
}

/* Adaptabilidad Responsive en Móviles */
@media (max-width: 600px) {
    .wizard-modal-content {
        width: 100% !important;
        max-height: 90dvh !important;
        max-height: 90vh; /* fallback */
        height: auto;
        border-radius: 20px 20px 0 0 !important;
        margin-top: auto !important;
    }

    .wizard-stepper {
        padding: 10px 14px;
    }

    .stepper-step span {
        font-size: 0.72rem;
    }

    .step-badge {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }

    .stepper-connector {
        margin: 0 4px;
    }

    .wizard-body {
        padding: 16px 14px;
    }

    .wizard-flavor-grid {
        grid-template-columns: 1fr;
    }

    .wizard-size-grid {
        grid-template-columns: 1fr;
    }

    .size-card {
        padding: 10px 12px;
    }

    .size-desc {
        margin-bottom: 8px;
        font-size: 0.72rem;
    }

    .wizard-footer-sticky {
        padding: 10px 10px;
        padding-bottom: max(16px, env(safe-area-inset-bottom)) !important;
        gap: 6px;
    }
    #wizard-summary-badge {
        max-width: 110px;
    }

    #wizard-summary-badge {
        font-size: 0.75rem;
    }

    #wizard-summary-total {
        font-size: 1.1rem;
    }

    #btnWizardPrev, #btnWizardNext, #btnWizardSubmit {
        padding: 9px 14px;
        font-size: 0.84rem;
        border-radius: 10px;
    }
}

/* ========================================================
   MODAL VISOR DE IMAGEN AMPLIADA (PRODUCT LIGHTBOX)
   ======================================================== */
.product-lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 9999999 !important; /* Supera la barra inferior móvil y modales estándar (y al wizard) */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.product-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 29, 0.86);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: lightboxFadeIn 0.22s ease-out;
}

.product-lightbox-dialog {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: lightboxZoomIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-lightbox-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    color: #1e293b;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    z-index: 10;
}

.product-lightbox-close:hover {
    background: var(--brand-pink, #d81b60);
    color: #ffffff;
    transform: scale(1.1);
}

.product-lightbox-close:active {
    transform: scale(0.92);
}

.product-lightbox-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    max-width: 100%;
}

.product-lightbox-image {
    max-width: 82vw;
    max-height: 72vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.product-lightbox-caption {
    margin-top: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    padding: 4px 12px 6px;
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: 0.2px;
    max-width: 100%;
    word-break: break-word;
}

.card-img-wrap {
    cursor: pointer;
}

.card-img-wrap img {
    cursor: pointer;
    transition: transform 0.25s ease;
}

.card:hover .card-img-wrap img {
    transform: scale(1.04);
}

@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes lightboxZoomIn {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 768px) {
    .product-lightbox-dialog {
        max-width: 95vw;
        max-height: 92vh;
    }
    .product-lightbox-close {
        top: -12px;
        right: -10px;
        width: 38px;
        height: 38px;
        font-size: 1.4rem;
    }
    .product-lightbox-body {
        padding: 8px;
        border-radius: 16px;
    }
    .product-lightbox-image {
        max-width: 90vw;
        max-height: 68vh;
        border-radius: 12px;
    }
    .product-lightbox-caption {
        font-size: 0.95rem;
        margin-top: 8px;
        padding: 2px 8px 4px;
    }
}

/* ===== LANDSCAPE MOBILE: compactar header para no encimar elementos ===== */
@media (orientation: landscape) and (max-height: 550px) {
    .mobile-header {
        padding: 4px 10px !important;
        min-height: 44px !important;
    }
    .mobile-header .logo-img,
    .mobile-header img {
        width: 32px !important;
        height: 32px !important;
    }
    .mobile-header .brand-name,
    .mobile-header .header-brand {
        font-size: 0.85rem !important;
    }
    .mobile-header .mobile-header-actions {
        gap: 4px !important;
    }
    .mobile-header .icon-btn,
    .mobile-header button {
        width: 34px !important;
        height: 34px !important;
        font-size: 0.9rem !important;
    }
    .mobile-bottom-nav {
        height: 50px !important;
    }
    .bottom-nav-btn .bn-label {
        display: none !important;
    }
    .bottom-nav-btn .bn-icon {
        font-size: 1.3rem !important;
    }
    body {
        padding-bottom: 54px !important;
    }
}

/* ===== TABLA ADMIN: scroll horizontal interno sin romper el centrado ===== */
#admin-tab-usuarios .admin-table-scroll,
.admin-users-table-wrap {
    overflow-x: auto;
    width: 100%;
    display: block;
    -webkit-overflow-scrolling: touch;
}

/* ===== MODAL PERFIL MOVIL: scroll interno para que la barra inferior no tape los botones ===== */
#mobileProfileModal {
    z-index: 10000 !important;
}

#mobileProfileModal .auth-card {
    max-height: 85vh !important;
    overflow-y: auto !important;
    padding-bottom: 90px !important;
    -webkit-overflow-scrolling: touch;
}

/* ===== BARRA INFERIOR MOVIL: forzar visibilidad de #bnNosotros ===== */
@media (max-width: 768px) {
    #bnNosotros {
        display: flex !important;
    }
}

/* Botones Rápidos de Efectivo */
.cash-quick-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 5px 9px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cash-quick-btn:hover {
    background: #e0f2fe;
    border-color: #0284c7;
    color: #0369a1;
}

/* Keep tablet portrait layouts on the compact navigation until desktop header fits. */
@media (min-width: 769px) and (max-width: 1023px) {
    header {
        display: none !important;
    }

    .mobile-header {
        display: flex !important;
    }

    .mobile-search-bar {
        display: none !important;
    }

    .mobile-search-bar.open {
        display: block !important;
    }

    .mobile-bottom-nav {
        display: block !important;
    }

    body {
        padding-bottom: 84px !important;
    }
}

/* Search UI: consistent controls for the desktop header and compact mobile header. */
.search-box input { padding-right: 42px; }
.search-box:focus-within {
    filter: drop-shadow(0 5px 12px rgba(216, 27, 96, 0.08));
}
.search-clear-btn {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #9f1239;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}
.search-clear-btn:hover { background: #fff0f5; }
.search-clear-btn[hidden] { display: none !important; }
.mobile-search-bar {
    padding: 10px 14px 12px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(68, 38, 46, 0.08);
}
.mobile-search-wrap { max-width: 760px; margin: 0 auto; }
.mobile-search-bar input {
    box-sizing: border-box;
    min-height: 46px;
    padding-right: 48px;
    border-color: #f2cbd8;
    background: #fffafb;
    color: #38252b;
    box-shadow: 0 2px 8px rgba(103, 44, 63, 0.05);
}
.mobile-search-bar input::placeholder { color: #927b82; opacity: 1; }
.search-help {
    margin: 0 0 18px;
    padding: 16px 18px;
    border: 1px solid #f4ccd8;
    border-left: 4px solid #d81b60;
    border-radius: 14px;
    background: linear-gradient(120deg, #fff8fb, #fff);
    color: #49343b;
    line-height: 1.55;
    box-shadow: 0 5px 16px rgba(90, 34, 55, 0.06);
}
.search-help strong { display: block; margin-bottom: 4px; color: #9f1239; }
.search-help p { margin: 0; }
.search-help button {
    margin-top: 12px;
    padding: 9px 14px;
    border: 0;
    border-radius: 999px;
    background: #d81b60;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.search-help button:hover { background: #ad1457; }

@media (max-width: 768px) {
    .mobile-search-bar.open { display: block !important; }
    .search-help { margin: 0 0 14px; padding: 14px; }
}

/* ==========================================================================
   BOUTIQUE & EDITORIAL ARTISANAL REFACTORING (UI / CSS ONLY)
   Palette: Dorado (#C58B2B, #E2AC48), Café Cacao Profundo (#2C1E18), Cálido (#FAF6F0)
   ========================================================================== */

/* 1. Animación Dorada Premium en el Menú Superior (Efecto Video Mejorado) */
html {
    scroll-behavior: smooth !important;
}

header nav {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    padding: 0;
    border: none;
}

header nav .nav-indicator,
.nav-indicator {
    display: none !important;
}

header nav .nav-link,
header nav #nav-club-puntos.nav-link,
.nav-link {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 4px !important;
    margin: 0 12px !important;
    transform: none !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #5C493E !important;
    font-weight: 500 !important;
    font-size: 0.92rem !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

header nav .nav-link:hover,
header nav #nav-club-puntos.nav-link:hover,
header nav .nav-link.active,
.nav-link.active {
    background: transparent !important;
    color: #C58B2B !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Línea inferior animada milimétrica anclada a cada enlace */
header nav .nav-link::after,
header nav #nav-club-puntos.nav-link::after,
.nav-link::after,
.nav-link.active::after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important; /* Elimina cualquier translateX viejo */
    width: 0% !important;
    height: 2px !important;
    background: linear-gradient(90deg, #C58B2B, #E2AC48) !important;
    border-radius: 2px !important;
    transition: width 0.3s ease !important;
}

header nav .nav-link:hover::after,
header nav #nav-club-puntos.nav-link:hover::after,
header nav .nav-link.active::after,
.nav-link:hover::after,
.nav-link.active::after {
    width: 100% !important;
    left: 0 !important;
    transform: none !important;
}

/* Unificación definitiva del botón Carrito en el Header a Café Cacao y Dorado */
header .cart-btn,
#headerCartBtn,
button.cart-btn {
    background: #2C1E18 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 9px 20px !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    box-shadow: 0 4px 14px rgba(44, 30, 24, 0.22) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
}

header .cart-btn:hover,
#headerCartBtn:hover,
button.cart-btn:hover {
    background: #3D2B23 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(44, 30, 24, 0.32) !important;
}

header .cart-badge,
#cartCount,
.cart-btn .cart-badge {
    background: #C58B2B !important;
    color: #FFFFFF !important;
    font-weight: 800 !important;
    font-size: 0.75rem !important;
    padding: 2px 8px !important;
    border-radius: 50px !important;
}

/* 2. Encabezados de Sección estilo Alta Pastelería */
.section-pretitle {
    display: block;
    text-transform: uppercase !important;
    letter-spacing: 2.5px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: #C58B2B !important;
    margin-bottom: 8px !important;
    text-align: center;
}

.section-title,
section#productos h2,
section#nosotros h2,
.info-card h2 {
    font-family: 'Playfair Display', Georgia, serif !important;
    color: #2C1E18 !important;
    font-size: 2.4rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-align: center;
}

.section-title em,
section#productos h2 em,
section#nosotros h2 em,
.info-card h2 em {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-style: italic !important;
    color: #C58B2B !important;
}

/* 3. Buscador Centrado y Píldoras de Categorías del Catálogo */
.search-box {
    max-width: 480px !important;
    background: #FFFFFF !important;
    border: 1px solid #EAE2D7 !important;
    border-radius: 50px !important;
    padding: 3px 14px 3px 18px !important;
    box-shadow: 0 4px 20px rgba(44, 30, 24, 0.04) !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
    display: flex;
    align-items: center;
}

.search-box:focus-within {
    border-color: #C58B2B !important;
    box-shadow: 0 4px 20px rgba(197, 139, 43, 0.15) !important;
    filter: none !important;
}

.search-box input#searchInputDesktop,
.search-box input {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    color: #2C1E18 !important;
    padding: 9px 12px 9px 36px !important;
    font-size: 0.88rem !important;
    box-shadow: none !important;
}

.search-box:focus-within input,
.search-box input:focus {
    box-shadow: none !important;
    border: none !important;
}

/* Píldoras de filtro de categorías con jerarquía Cristal & Cacao/Oro (Optimizado sin backdrop-filter) */
.cat-chip {
    background: rgba(255, 253, 250, 0.96) !important;
    border: 1px solid rgba(197, 139, 43, 0.35) !important;
    color: #5c4338 !important;
    border-radius: 50px !important;
    padding: 8px 18px !important;
    font-weight: 600 !important;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease !important;
    box-shadow: none !important;
}

.cat-chip:hover:not(.active) {
    border-color: #C58B2B !important;
    color: #C58B2B !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(197, 139, 43, 0.16) !important;
}

.cat-chip.active {
    background: linear-gradient(135deg, #24130e 0%, #3d231a 100%) !important;
    color: #fffdf9 !important;
    border: 1.5px solid #C58B2B !important;
    box-shadow: 0 6px 16px rgba(36, 19, 14, 0.18) !important;
}

/* 4. Grilla de Productos y Tarjetas Estilo Editorial Boutique */
.grid {
    display: grid !important;
    gap: 22px !important;
    margin-bottom: 40px !important;
}

@media (min-width: 1024px) {
    #productos .grid,
    #inicio #featuredGrid,
    .grid#productGrid,
    .grid#featuredGrid {
        max-width: 1120px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        gap: 28px !important;
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@keyframes cardRevealSubtle {
    from {
        opacity: 0;
        transform: translate3d(0, 10px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.grid .card,
.card {
    background: #FFFFFF !important;
    border-radius: 22px !important;
    border: 1px solid rgba(44, 30, 24, 0.07) !important;
    overflow: hidden !important;
    box-shadow: 0 10px 28px rgba(44, 30, 24, 0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease !important;
    position: relative !important;
    animation: cardRevealSubtle 0.32s ease-out both !important;
    contain: layout style;
}

@media (prefers-reduced-motion: reduce) {
    .grid .card,
    .card {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

.grid .card:hover,
.card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 16px 36px rgba(44, 30, 24, 0.12) !important;
    border-color: rgba(44, 30, 24, 0.14) !important;
}

/* Imagen superior que ocupa todo el ancho sin márgenes internos */
.card .card-img-wrap {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    border-radius: 22px 22px 0 0 !important;
    overflow: hidden !important;
    position: relative !important;
    background: #FAF6F0 !important;
    margin: 0 !important;
    cursor: pointer !important;
}

.card .card-img-wrap img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    filter: contrast(1.05) saturate(1.1) brightness(1.02) !important;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease !important;
}

.card:hover .card-img-wrap img {
    transform: scale(1.03) !important;
    filter: contrast(1.08) saturate(1.15) brightness(1.03) !important;
}

/* Badges como píldoras flotantes en la esquina superior izquierda */
.card .product-badges-row {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    max-width: calc(100% - 62px) !important;
    display: flex !important;
    align-items: center !important;
    z-index: 3 !important;
    pointer-events: none !important;
}

.card .product-badges-row > div:first-child {
    display: flex !important;
    flex-direction: row !important;
    gap: 4px !important;
    align-items: flex-start !important;
    max-width: 100% !important;
}

.card .badge-status,
.card .card-tag {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-style: normal !important;
    font-weight: 800 !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 999px !important;
    box-shadow: 0 4px 12px rgba(36, 19, 14, 0.22) !important;
    padding: 4px 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    background: linear-gradient(135deg, #b45309 0%, #78350f 100%) !important;
}

/* 1. MÁS PEDIDO: Dorado Imperial a Vino Rubí (gemelo a PREMIO DULCE) */
.card .badge-fresh-pedido,
.card .badge-status.badge-fresh-pedido {
    background: linear-gradient(135deg, #c58b2b 0%, #9d174d 100%) !important;
}

/* 2. FAVORITO: Cacao Profundo a Bronce Imperial */
.card .badge-fresh-hoy,
.card .badge-status.badge-fresh-hoy {
    background: linear-gradient(135deg, #24130e 0%, #8a5a19 100%) !important;
}

/* 3. POPULAR: Vino Imperial a Ciruela Real */
.card .badge-fresh-popular,
.card .badge-status.badge-fresh-popular {
    background: linear-gradient(135deg, #b91c56 0%, #590d2b 100%) !important;
}

/* 4. TRADICIONAL / ESPECIAL / RECOMENDADO / OTRAS ETIQUETAS */
.card .badge-tag-general,
.card .badge-status.badge-tag-general {
    background: linear-gradient(135deg, #b45309 0%, #78350f 100%) !important;
}

.card .badge-discount,
.badge-discount {
    background: linear-gradient(135deg, #c58b2b 0%, #b45309 100%) !important;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 4px 12px rgba(36, 19, 14, 0.22) !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin: 0 !important;
    width: auto !important;
    border-radius: 999px !important;
    padding: 4px 10px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-style: normal !important;
    font-weight: 800 !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}

.card .badge-status.badge-agotado,
.card .badge-status.badge-out {
    background: rgba(185, 28, 28, 0.95) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-style: normal !important;
    font-weight: 800 !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.04em !important;
}

/* Botón flotante de Favoritos en la esquina superior derecha de la foto */
.card .fav-heart-btn {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 4 !important;
    padding: 0 !important;
    color: #7A6F68 !important;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.2s ease, color 0.2s ease !important;
    outline: none !important;
}

.card .fav-heart-btn:hover {
    transform: scale(1.12) !important;
    background: #FFFFFF !important;
    color: #E11D48 !important;
}

.card .fav-heart-btn svg {
    width: 16px !important;
    height: 16px !important;
    fill: transparent !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    transition: fill 0.2s ease, stroke 0.2s ease, transform 0.2s ease !important;
}

.card .fav-heart-btn.is-fav {
    color: #E11D48 !important;
    background: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.22) !important;
}

.card .fav-heart-btn.is-fav svg {
    fill: #E11D48 !important;
    stroke: #E11D48 !important;
    animation: heartBeatFav 0.35s ease forwards !important;
}

@keyframes heartBeatFav {
    0% { transform: scale(1); }
    50% { transform: scale(1.22); }
    100% { transform: scale(1); }
}

/* Tarjeta de Estado Vacío (Empty State) para Favoritos */
.fav-empty-state-card {
    grid-column: 1 / -1 !important;
    background: #FFFFFF !important;
    border: 1.5px dashed rgba(197, 139, 43, 0.35) !important;
    border-radius: 24px !important;
    padding: 48px 24px !important;
    text-align: center !important;
    box-shadow: 0 10px 28px rgba(44, 30, 24, 0.04) !important;
    max-width: 560px !important;
    margin: 20px auto 40px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.fav-empty-icon-wrap {
    width: 72px !important;
    height: 72px !important;
    border-radius: 50% !important;
    background: #FFF5F7 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 18px !important;
    border: 1px solid #FFE4EA !important;
}

.fav-empty-icon-wrap svg {
    width: 36px !important;
    height: 36px !important;
    fill: none !important;
    stroke: #E11D48 !important;
    stroke-width: 1.8 !important;
}

.fav-empty-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #1E1612 !important;
    margin-bottom: 10px !important;
}

.fav-empty-desc {
    color: #6E6259 !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    max-width: 440px !important;
    margin-bottom: 24px !important;
}

.fav-empty-btn-cta {
    background: linear-gradient(135deg, #B81D5A 0%, #9F1239 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 13px 28px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    cursor: pointer !important;
    box-shadow: 0 6px 18px rgba(184, 29, 90, 0.28) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.fav-empty-btn-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(184, 29, 90, 0.38) !important;
}

/* Cuerpo de texto alineado a la izquierda (Estilo Boutique) */
.card .card-body {
    text-align: left !important;
    padding: 18px 20px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    justify-content: space-between !important;
    height: auto !important;
}

.card .card-category {
    color: #B8336A !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    margin-bottom: 4px !important;
    display: block !important;
}

.card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #1E1612 !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.3 !important;
    min-height: auto !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
}

.card .card-desc {
    text-align: left !important;
    color: #6E6259 !important;
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
    margin: 0 0 12px 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Separador fino y zona inferior de compra */
.card .card-footer-area,
.card-body > div:last-child {
    border-top: 1px solid rgba(44, 30, 24, 0.08) !important;
    padding-top: 14px !important;
    margin-top: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

/* Fila de Precio grande a la izquierda y selector de cantidad a la derecha */
.card .card-price-qty-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
}

.card .price-row {
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.card .price-row .price,
.card .price-row .current-price {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    color: #A8382B !important;
    line-height: 1 !important;
}

.card .price-row .price-old {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #9CA3AF !important;
    text-decoration: line-through !important;
}

/* Ocultar badge COP c/u */
.card .price-row .price-label,
.price-label {
    display: none !important;
}

/* Selector de cantidad compacto, nítido y refinado */
.card .quantity-control {
    background: #FAF6F2 !important;
    border: 1px solid rgba(44, 30, 24, 0.12) !important;
    border-radius: 999px !important;
    padding: 2px 5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    margin: 0 !important;
    height: 34px !important;
    box-sizing: border-box !important;
}

.card .qty-btn {
    background: transparent !important;
    border: none !important;
    width: 26px !important;
    height: 26px !important;
    color: #2C1E18 !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s ease, transform 0.15s ease, color 0.2s ease !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.card .qty-btn:hover {
    background: rgba(44, 30, 24, 0.08) !important;
    color: #1E1612 !important;
}

.card .qty-input {
    background: transparent !important;
    border: none !important;
    width: 32px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #2C1E18 !important;
    text-align: center !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Botón de acción '+ AGREGAR' con Orillo Dorado Dinámico y Sincronizado */
.card .btn-add {
    background: #FFF5F8 !important;
    color: #B81D5A !important;
    border: 1.5px solid rgba(184, 29, 90, 0.25) !important;
    border-radius: 999px !important;
    width: 100% !important;
    height: 40px !important;
    padding: 0 14px !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1) !important;
    box-sizing: border-box !important;
}

.card .btn-add span {
    color: inherit !important;
    white-space: nowrap !important;
}

.card .btn-add:hover,
.card .btn-add:active,
.card .btn-add:focus-visible,
.card .btn-add.added {
    border: 2px solid #C58B2B !important;
    background: linear-gradient(135deg, #B81D5A 0%, #9E184D 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 5px 15px rgba(197, 139, 43, 0.35) !important;
    transform: translateY(-1px) !important;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.card .btn-add.disabled {
    background: #F1F5F9 !important;
    color: #94A3B8 !important;
    border-color: #CBD5E1 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Mini-Tarjeta Boutique Dorada Voladora para Carrito */
.cart-fly-pill {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #FFFFFF;
    border: 2px solid #C58B2B;
    box-shadow: 0 10px 25px rgba(197, 139, 43, 0.45), 0 4px 12px rgba(44, 30, 24, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 10001;
    pointer-events: none;
    overflow: visible;
    transition: top 0.6s cubic-bezier(0.22, 1, 0.36, 1), 
                left 0.6s cubic-bezier(0.22, 1, 0.36, 1), 
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), 
                opacity 0.6s ease;
}

.cart-fly-pill img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.cart-fly-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #B81D5A;
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    padding: 3px 6px;
    border-radius: 999px;
    border: 1.5px solid #FFFFFF;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* Pulso Elástico de Recepción en el Carrito */
@keyframes cartReceivePulseAnim {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(197, 139, 43, 0));
    }
    40% {
        transform: scale(1.22);
        filter: drop-shadow(0 0 10px rgba(197, 139, 43, 0.75));
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(197, 139, 43, 0));
    }
}

.cart-receive-pulse {
    animation: cartReceivePulseAnim 0.42s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* 5. Banner 'Torta para Celebración (Bajo Pedido)' Boutique */
.cake-custom-banner-editorial {
    background: linear-gradient(135deg, #FFF9F3 0%, #FDF3E7 50%, #FBECE8 100%) !important;
    border: 1px solid #EED6C4 !important;
    border-radius: var(--r-lg, 22px) !important;
    padding: 24px 28px !important;
    text-align: center;
    margin-bottom: 28px !important;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(110, 90, 79, 0.07) !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease !important;
}

.cake-custom-banner-editorial:hover {
    transform: translateY(-2px) scale(1.01) !important;
    box-shadow: 0 16px 36px rgba(110, 90, 79, 0.13) !important;
    border-color: #C58B2B !important;
}

.cake-custom-banner-editorial .cake-custom-banner-title {
    color: #2C1E18 !important;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.45rem !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    letter-spacing: -0.2px;
}

.cake-custom-banner-editorial .cake-custom-banner-desc {
    color: #6E5A4F !important;
    font-size: 0.95rem !important;
    margin-bottom: 16px !important;
}

/* ==========================================================================
   5. BOUTIQUE EDITORIAL CART MODAL (SIDE DRAWER / TU CARRITO)
   Palette: Crema (#FDFBF7), Café Cacao (#2C1E18), Dorado (#C58B2B)
   ========================================================================== */

/* Backdrop y Contenedor Side Drawer */
#cartModal.cart-modal {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(44, 30, 24, 0.45) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    z-index: 9999 !important;
    display: none; /* Controlado por JS como flex */
    justify-content: flex-end !important;
    align-items: stretch !important;
    padding: 0 !important;
    overflow: hidden !important;
    animation: cartBackdropFadeIn 0.25s ease-out;
}

@keyframes cartBackdropFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#cartModal .cart-content {
    position: fixed !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    width: 100% !important;
    max-width: 430px !important;
    background: #FFFFFF !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    animation: cartSlideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cartSlideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Header Fijo Arriba (flex-shrink: 0) */
#cartModal .cart-header {
    flex-shrink: 0 !important;
    background: #FFFFFF !important;
    padding: 18px 20px !important;
    margin: 0 !important;
    border-bottom: 1px solid #EFEAE2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    z-index: 10;
}

#cartModal .cart-header h3 {
    margin: 0 !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: #2C1E18 !important;
    letter-spacing: -0.3px;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

#cartModal .cart-header .cart-header-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #2C1E18 !important;
    color: #FFFFFF !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.95rem !important;
}

#cartModal .cart-header .auth-close-btn {
    position: static !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #FDFBF7 !important;
    border: 1px solid #EAE2D7 !important;
    color: #6E5A4F !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

#cartModal .cart-header .auth-close-btn:hover {
    background: #2C1E18 !important;
    color: #FFFFFF !important;
    border-color: #2C1E18 !important;
}

/* Cuerpo Central con Scroll Amplio */
#cartModal #cart-step-1 {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

#cartModal #cart-step-2 {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    padding: 16px 20px !important;
}

#cartModal .cart-list {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    padding: 14px 20px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

/* Banner de Saludo / Cliente VIP Compacto */
#cartModal #cart-user-greeting {
    margin: 10px 20px 4px 20px !important;
    padding: 6px 12px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    text-align: center;
    background: #FAF3E6 !important;
    border: 1px solid #E6D2B5 !important;
    color: #8A5A19 !important;
}

/* Banner Domicilio Gratis Compacto */
#cartModal #freeShippingBanner.free-shipping-container {
    margin: 10px 20px 4px 20px !important;
    padding: 6px 12px !important;
    font-size: 0.8rem !important;
    background: #F2F9F5 !important;
    border: 1px solid #CBE8D6 !important;
    color: #1E6B43 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

#cartModal #freeShippingBanner.free-shipping-container.completed {
    background: #E8F7EE !important;
    border-color: #A3D9B5 !important;
    color: #116238 !important;
}

#cartModal .shipping-progress-bar-bg {
    height: 4px !important;
    background: #E0EFE5 !important;
    border-radius: 4px !important;
    margin-top: 5px !important;
}

#cartModal .shipping-progress-bar-fill {
    height: 100% !important;
    background: #1E7E48 !important;
    border-radius: 4px !important;
}

/* Incentivo de login si aparece en carrito */
#cartModal .cart-login-incentive {
    margin: 6px 20px 10px 20px !important;
    padding: 8px 12px !important;
    background: #FAF3E6 !important;
    border: 1px dashed #E6D2B5 !important;
    border-radius: 8px !important;
    font-size: 0.78rem !important;
    color: #8A5A19 !important;
}

/* Tarjetas de Productos dentro del Carrito (Horizontales, Cómodas y Limpias) */
#cartModal .cart-item-row {
    background: #FFFFFF !important;
    border: 1px solid #EFEAE2 !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    margin-bottom: 2px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    box-shadow: 0 2px 8px rgba(44, 30, 24, 0.03) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

#cartModal .cart-item-row:hover {
    border-color: #E2D3C4 !important;
    box-shadow: 0 4px 12px rgba(44, 30, 24, 0.06) !important;
    background: #FFFFFF !important;
}

#cartModal .cart-item-img {
    width: 52px !important;
    height: 52px !important;
    border-radius: 8px !important;
    object-fit: cover !important;
    border: 1px solid #EFEAE2 !important;
    flex-shrink: 0 !important;
}

#cartModal .cart-item-info {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

#cartModal .cart-item-title {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #2C1E18 !important;
    line-height: 1.25 !important;
    margin-bottom: 3px !important;
}

#cartModal .cart-item-price {
    font-size: 0.78rem !important;
    color: #8C7A6B !important;
    font-weight: 500 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    gap: 4px !important;
}

#cartModal .cart-item-price strong {
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    color: #C58B2B !important;
}

/* Píldora de Controles de Cantidad (-, número, +) */
#cartModal .cart-item-actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0 !important;
    background: #FDFBF7 !important;
    border: 1px solid #E6E0D6 !important;
    border-radius: 50px !important;
    padding: 2px 4px !important;
    flex-shrink: 0 !important;
}

#cartModal .cart-item-actions button {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    border: none !important;
    background: transparent !important;
    color: #2C1E18 !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.18s ease, color 0.18s ease !important;
    padding: 0 !important;
}

#cartModal .cart-item-actions button:hover {
    background: #EAE2D7 !important;
    color: #2C1E18 !important;
}

#cartModal .cart-item-actions input.cart-qty-input,
#cartModal .cart-item-actions .cart-item-qty {
    width: 32px !important;
    min-width: 32px !important;
    height: 24px !important;
    border: none !important;
    background: transparent !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #2C1E18 !important;
    text-align: center !important;
    padding: 0 !important;
}

#cartModal .cart-item-actions .btn-delete-item {
    margin-left: 2px !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    color: #A89587 !important;
}

#cartModal .cart-item-actions .btn-delete-item:hover {
    background: #FCE8E6 !important;
    color: #D32F2F !important;
}

#cartModal .cart-item-actions .btn-delete-item svg {
    width: 14px !important;
    height: 14px !important;
    fill: currentColor !important;
}

/* Footer Fijo Abajo (flex-shrink: 0, #FDFBF7) */
#cartModal .cart-footer {
    flex-shrink: 0 !important;
    background: #FDFBF7 !important;
    border-top: 1px solid #EFEAE2 !important;
    padding: 16px 20px !important;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 16px) !important;
    box-shadow: 0 -4px 16px rgba(44, 30, 24, 0.04) !important;
    border-radius: 0 !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Resumen de Precios Limpio (Sin marco rojo/rosado) */
#cartModal .cart-summary {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 14px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#cartModal .sum-row:not(#discountRow):not(.is-hidden) {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 0.86rem !important;
    font-weight: 500 !important;
    color: #6E5A4F !important;
    margin-bottom: 4px !important;
}

#cartModal .sum-row.is-hidden,
#cartModal #discountRow.is-hidden,
.sum-row.is-hidden {
    display: none !important;
}

#cartModal #discountRow,
#cartModal #discountRow span {
    color: #C58B2B !important;
    font-weight: 600 !important;
}

#cartModal #deliveryRow #sumDelivery {
    color: #1E7E48 !important;
    font-weight: 700 !important;
}

/* Fila de Total a Pagar con Divisoria Fina */
#cartModal .sum-row.total {
    border-top: 1px solid #E6E0D6 !important;
    border-dashed: none !important;
    margin-top: 10px !important;
    padding-top: 10px !important;
    margin-bottom: 0 !important;
}

#cartModal .sum-row.total > span:first-child {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #2C1E18 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

#cartModal .sum-row.total > span:last-child {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 1.45rem !important;
    font-weight: 700 !important;
    color: #C58B2B !important;
    letter-spacing: -0.2px !important;
}

/* Botón Principal: Continuar con la Entrega */
#cartModal #btnContinueCheckout {
    width: 100% !important;
    background: #2C1E18 !important;
    color: #FFFFFF !important;
    padding: 13px 18px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(44, 30, 24, 0.22) !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
}

#cartModal #btnContinueCheckout:hover {
    background: #C58B2B !important;
    color: #FFFFFF !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(197, 139, 43, 0.3) !important;
}

/* Botón Secundario: Seguir Comprando */
#cartModal #btnContinueShopping.btn-continue-shopping {
    width: 100% !important;
    margin-top: 8px !important;
    padding: 9px 14px !important;
    background: transparent !important;
    border: 1px solid #E6E0D6 !important;
    border-radius: 8px !important;
    color: #6E5A4F !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    text-align: center !important;
    transition: all 0.2s ease !important;
}

#cartModal #btnContinueShopping.btn-continue-shopping:hover {
    background: #FFFFFF !important;
    border-color: #C58B2B !important;
    color: #C58B2B !important;
}

@media (max-width: 480px) {
    #cartModal .cart-content {
        max-width: 100% !important;
    }
}

/* ==========================================================================
   6. CART STEP 2 OVERFLOW & BOUTIQUE UI REFACTORING (100% CSS)
   - Resuelve el bug de múltiples scrolls y texto cortado en Paso 2
   - Oculta resúmenes/banners duplicados del Paso 1 cuando Paso 2 está visible
   - Estiliza selectores y botón WhatsApp a la estética Boutique (#FAF3E6 / #118C5B)
   ========================================================================== */

/* Cuando Paso 2 o Paso 3 (Éxito) están visibles,
   garantizar que Paso 1, saludo y banners no ocupen espacio ni se dupliquen */
#cartModal:has(#cart-step-2:not([style*="display: none"]):not([style*="display:none"])) #cart-step-1,
#cartModal:has(#cart-step-2:not([style*="display: none"]):not([style*="display:none"])) #cart-user-greeting,
#cartModal:has(#cart-step-2:not([style*="display: none"]):not([style*="display:none"])) #freeShippingBanner,
#cartModal:has(#cart-step-2:not([style*="display: none"]):not([style*="display:none"])) #cartLoginIncentive,
#cartModal:has(#cart-step-success:not([style*="display: none"]):not([style*="display:none"])) #cart-step-1,
#cartModal:has(#cart-step-success:not([style*="display: none"]):not([style*="display:none"])) #cart-step-2,
#cartModal:has(#cart-step-success:not([style*="display: none"]):not([style*="display:none"])) #cart-user-greeting,
#cartModal:has(#cart-step-success:not([style*="display: none"]):not([style*="display:none"])) #freeShippingBanner,
#cartModal:has(#cart-step-success:not([style*="display: none"]):not([style*="display:none"])) #cartLoginIncentive {
    display: none !important;
}

#cartModal #cart-step-success {
    display: flex;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: 100% !important;
    overflow-y: auto !important;
    padding: 24px 20px !important;
    background: #FFFFFF !important;
}

/* Scroll único, limpio y fluido para el Paso 2 */
#cartModal #cart-step-2 {
    display: flex;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: 100% !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 0 !important;
    background: #FFFFFF !important;
}

/* Tarjeta del formulario de entrega dentro de Paso 2 */
#cartModal #checkoutCard.checkout-form-card {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 16px 20px 24px 20px !important;
    margin: 0 !important;
    flex: 1 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

#cartModal .checkout-form-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 1.08rem !important;
    font-weight: 700 !important;
    color: #2C1E18 !important;
    margin-bottom: 2px !important;
}

#cartModal .checkout-form-title small {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    color: #C58B2B !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
}

/* Inputs del Checkout con estilo boutique */
#cartModal .checkout-input {
    background: #FAF6F0 !important;
    border: 1.5px solid #EAE2D7 !important;
    border-radius: 10px !important;
    color: #2C1E18 !important;
    font-size: 0.86rem !important;
    padding: 9px 12px !important;
    transition: all 0.2s ease !important;
}

#cartModal .checkout-input:focus {
    background: #FFFFFF !important;
    border-color: #C58B2B !important;
    box-shadow: 0 0 0 3px rgba(197, 139, 43, 0.16) !important;
}

/* Selector Método de Entrega (Domicilio en Cúcuta vs Recoger en Tienda) */
#cartModal .delivery-toggle-btn {
    background: #FFFFFF !important;
    border: 1.5px solid #E6E0D6 !important;
    border-radius: 10px !important;
    color: #6E5A4F !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

#cartModal .delivery-toggle-btn .delivery-label {
    color: #6E5A4F !important;
    font-weight: 600 !important;
}

#cartModal .delivery-toggle-btn:hover {
    border-color: #C58B2B !important;
    background: #FAF6F0 !important;
}

#cartModal .delivery-toggle-btn.active {
    background: #FAF3E6 !important;
    border: 1.5px solid #C58B2B !important;
    box-shadow: 0 2px 8px rgba(197, 139, 43, 0.14) !important;
}

#cartModal .delivery-toggle-btn.active .delivery-label {
    color: #2C1E18 !important;
    font-weight: 700 !important;
}

/* Chips de Tipo de Pedido y Forma de Pago (Inmediato, Evento, Nequi, Efectivo, Bancolombia) */
#cartModal .payment-chip {
    background: #FFFFFF !important;
    border: 1.5px solid #E6E0D6 !important;
    border-radius: 10px !important;
    color: #6E5A4F !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

#cartModal .payment-chip:hover:not([disabled]) {
    border-color: #C58B2B !important;
    color: #C58B2B !important;
    background: #FAF6F0 !important;
}

#cartModal .payment-chip.active {
    background: #FAF3E6 !important;
    border: 1.5px solid #C58B2B !important;
    color: #2C1E18 !important;
    box-shadow: 0 2px 8px rgba(197, 139, 43, 0.12) !important;
}

/* Resumen Rápido dentro del Paso 2 (checkoutQuickSummary) */
#cartModal .checkout-quick-summary {
    background: #FDFBF7 !important;
    border: 1px solid #EFEAE2 !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    margin-top: 8px !important;
}

#cartModal .checkout-quick-summary .sum-row {
    font-size: 0.84rem !important;
    color: #6E5A4F !important;
}

#cartModal .checkout-quick-summary .sum-row.total {
    border-top: 1px solid #E6E0D6 !important;
    margin-top: 6px !important;
    padding-top: 8px !important;
    font-size: 0.95rem !important;
}

#cartModal .checkout-quick-summary .sum-row.total span:last-child {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 1.25rem !important;
    color: #C58B2B !important;
    font-weight: 700 !important;
}

/* Footer Fijo del Paso 2 */
#cartModal #cart-step-2 .cart-footer {
    flex-shrink: 0 !important;
    background: #FDFBF7 !important;
    border-top: 1px solid #EFEAE2 !important;
    padding: 16px 20px !important;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 16px) !important;
    box-shadow: 0 -4px 16px rgba(44, 30, 24, 0.04) !important;
    position: sticky !important;
    bottom: 0 !important;
    z-index: 10 !important;
}

/* Botón Final 'Confirmar y Enviar Pedido' (Verde Esmeralda Elegante #118C5B) */
#cartModal #cart-step-2 .btn-whatsapp {
    width: 100% !important;
    background: #118C5B !important;
    color: #FFFFFF !important;
    padding: 14px 18px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 0.96rem !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(17, 140, 91, 0.22) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
}

#cartModal #cart-step-2 .btn-whatsapp:hover {
    background: #0E734A !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(17, 140, 91, 0.32) !important;
}

/* Botón Secundario '← Volver a la canasta' */
#cartModal #cart-step-2 .cart-footer button[onclick*="goToCartStep1"] {
    width: 100% !important;
    margin-top: 8px !important;
    padding: 9px 14px !important;
    background: transparent !important;
    border: 1px solid #E6E0D6 !important;
    border-radius: 8px !important;
    color: #6E5A4F !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    text-align: center !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

#cartModal #cart-step-2 .cart-footer button[onclick*="goToCartStep1"]:hover {
    background: #FFFFFF !important;
    border-color: #C58B2B !important;
    color: #C58B2B !important;
}

/* ==========================================================================
   GUARDIÁN STUDIO — IA WORKSTATION ESTILO MODERNO (GEMINI / CHATGPT)
   ========================================================================== */
.guardian-studio-wrapper {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(44, 30, 24, 0.08);
    border: 1px solid #ebd9cf;
    margin-top: 25px;
    overflow: hidden;
    font-family: inherit;
}

.guardian-studio-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    background: linear-gradient(135deg, #2C1E18 0%, #3D2920 100%);
    color: #ffffff;
    border-bottom: 2px solid #C58B2B;
}

.guardian-studio-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.guardian-studio-avatar {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #C58B2B 0%, #DF9E33 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 2px 10px rgba(197, 139, 43, 0.4);
    flex-shrink: 0;
}

.guardian-studio-info h4 {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.guardian-studio-status {
    font-size: 0.78rem;
    color: #a3e635;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.guardian-studio-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-studio-header {
    background: rgba(255, 255, 255, 0.1);
    color: #F8F5F2;
    border: 1px solid rgba(197, 139, 43, 0.4);
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-studio-header:hover {
    background: rgba(197, 139, 43, 0.25);
    border-color: #C58B2B;
    color: #ffffff;
    transform: translateY(-1px);
}

.guardian-messages-container {
    height: 460px;
    max-height: 540px;
    overflow-y: auto;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #FAF8F5;
    scroll-behavior: smooth;
}

.guardian-bubble {
    max-width: 82%;
    font-size: 0.92rem;
    line-height: 1.58;
    position: relative;
    animation: fadeInBubble 0.25s ease-out;
    word-break: break-word;
}

@keyframes fadeInBubble {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.guardian-bubble-user {
    align-self: flex-end;
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
    color: #ffffff;
    border-radius: 18px 18px 4px 18px;
    padding: 12px 18px;
    box-shadow: 0 3px 12px rgba(37, 99, 235, 0.2);
}

.guardian-bubble-bot {
    align-self: flex-start;
    background: #ffffff;
    color: #2C1E18;
    border-radius: 18px 18px 18px 4px;
    padding: 16px 20px;
    box-shadow: 0 2px 12px rgba(44, 30, 24, 0.06);
    border: 1px solid #ebd9cf;
    border-left: 4px solid #C58B2B;
}

.guardian-bubble-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px dashed #f0e4dd;
}

.guardian-source-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    background: #fdf2f4;
    color: #be185d;
    border: 1px solid #fbcfe8;
}

.guardian-source-badge.web {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.guardian-source-badge.local {
    background: #f0fdf4;
    color: #15803d;
    border-color: #bbf7d0;
}

.guardian-bubble-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bubble-action-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 3px 6px;
    border-radius: 4px;
    color: #8C7A70;
    transition: all 0.15s ease;
}

.bubble-action-btn:hover {
    background: #f3ece7;
    color: #C58B2B;
}

/* Formato Markdown dentro de las burbujas */
.guardian-bubble-bot strong {
    color: #2C1E18;
    font-weight: 800;
}

.guardian-bubble-bot h3, .guardian-bubble-bot h4 {
    margin: 8px 0 4px 0;
    color: #C58B2B;
    font-size: 1rem;
}

.guardian-bubble-bot ul {
    margin: 6px 0 8px 18px;
    padding: 0;
}

.guardian-bubble-bot li {
    margin-bottom: 4px;
}

.guardian-bubble-bot table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    font-size: 0.85rem;
}

.guardian-bubble-bot table th, .guardian-bubble-bot table td {
    border: 1px solid #ebd9cf;
    padding: 6px 10px;
}

.guardian-bubble-bot table th {
    background: #FAF8F5;
    color: #2C1E18;
    font-weight: 700;
}

/* Indicador de pensamiento y estados */
.guardian-thinking-box {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px dashed #C58B2B;
    border-radius: 12px;
    font-size: 0.85rem;
    color: #8C7A70;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(197, 139, 43, 0.1);
}

.thinking-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #ebd9cf;
    border-top: 2px solid #C58B2B;
    border-radius: 50%;
    animation: spinThinking 0.8s linear infinite;
}

@keyframes spinThinking {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Chips de sugerencias */
.guardian-chips-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 22px;
    background: #ffffff;
    border-top: 1px solid #f0e4dd;
}

.guardian-chip {
    white-space: nowrap;
    background: #FAF8F5;
    color: #4A3B32;
    border: 1px solid #ebd9cf;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.guardian-chip:hover {
    background: #fff;
    border-color: #C58B2B;
    color: #C58B2B;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(197, 139, 43, 0.15);
}

/* Barra de entrada avanzada */
.guardian-input-area {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 14px 22px;
    background: #ffffff;
    border-top: 1px solid #ebd9cf;
}

.guardian-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.guardian-textarea {
    width: 100%;
    min-height: 44px;
    max-height: 120px;
    padding: 11px 48px 11px 16px;
    border: 1.5px solid #ebd9cf;
    border-radius: 22px;
    font-family: inherit;
    font-size: 0.92rem;
    line-height: 1.4;
    resize: none;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
    color: #2C1E18;
}

.guardian-textarea:focus {
    border-color: #C58B2B;
    box-shadow: 0 0 0 3px rgba(197, 139, 43, 0.12);
}

.btn-mic-guardian {
    position: absolute;
    right: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: #8C7A70;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-mic-guardian:hover {
    color: #C58B2B;
    background: #FAF8F5;
}

.btn-mic-guardian.recording {
    color: #dc2626;
    animation: micPulse 1.2s infinite;
}

@keyframes micPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.btn-send-guardian {
    background: linear-gradient(135deg, #C58B2B 0%, #B37A20 100%);
    color: #ffffff;
    border: none;
    height: 44px;
    padding: 0 20px;
    border-radius: 22px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(197, 139, 43, 0.3);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-send-guardian:hover {
    background: linear-gradient(135deg, #D49733 0%, #C58B2B 100%);
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(197, 139, 43, 0.4);
}

/* Gaveta Lateral (Drawer) Inspector & Bóveda */
.guardian-drawer {
    position: absolute;
    top: 0;
    right: -420px;
    width: 390px;
    height: 100%;
    background: #ffffff;
    border-left: 2px solid #C58B2B;
    box-shadow: -6px 0 25px rgba(44, 30, 24, 0.15);
    z-index: 50;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.guardian-drawer.open {
    right: 0;
}

.guardian-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: #2C1E18;
    color: #ffffff;
}

.guardian-drawer-tabs {
    display: flex;
    background: #FAF8F5;
    border-bottom: 1px solid #ebd9cf;
}

.drawer-tab-btn {
    flex: 1;
    padding: 10px 5px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 0.8rem;
    font-weight: 700;
    color: #8C7A70;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.drawer-tab-btn.active {
    color: #C58B2B;
    border-bottom-color: #C58B2B;
    background: #ffffff;
}

.guardian-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    font-size: 0.85rem;
}

/* ==========================================================================
   AUDITORÍA RESPONSIVA & SIMETRÍA MULTI-DISPOSITIVO (MÓVIL, TABLET, PC)
   Garantiza nivelación geométrica 100% simétrica sin tocar lógica JS
   ========================================================================== */

/* 1. Nivelación milimétrica del Header Móvil (Punto 1.1) */
.mobile-header-actions,
#mobile-user-area {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.search-circle-btn,
.mobile-menu-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Solo aplicar tamaño y centrado a .mobile-google-btn sin forzar su display (para permitir display: none cuando hay sesión activa) */
.mobile-google-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

#mobile-user-area {
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. Simetría en la Barra Inferior Móvil (Punto 1.2) */
.bottom-nav-items {
    align-items: center !important;
}

.bottom-nav-btn {
    height: 100% !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.bottom-nav-btn .bn-label {
    line-height: 1.1 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

/* 3. Igualdad de altura en Botones del Hero (Punto 1.3) */
@media (min-width: 769px) {
    .hero-actions .btn-gold,
    .hero-actions .btn-outline-white,
    .hero-actions .btn-gold-shimmer {
        min-height: 48px !important;
        height: 48px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        line-height: 1.2 !important;
        margin: 0 !important;
    }
}

/* 4. Simetría Total en Tarjetas de Productos (Punto 2.1) */
.grid .card,
.card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.card-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    justify-content: space-between !important;
    height: auto !important;
}

.card-body > div:last-child {
    margin-top: auto !important;
    display: flex !important;
    flex-direction: column !important;
}

.card h3 {
    min-height: auto !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
}

/* 5. Chips de Categorías y Pestañas del Admin (Puntos 3.1 y 3.2) */
.cat-chip {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 38px !important;
    min-height: 38px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

.admin-tab-btn {
    min-height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

/* 6. Alineación de Controles e Inputs en Guardián Studio (Punto 3.3) */
.btn-send-guardian,
.guardian-send-btn {
    background: linear-gradient(135deg, #C58B2B 0%, #B37A20 100%) !important;
    color: #ffffff !important;
    border: none !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 18px !important;
    border-radius: 22px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-shadow: 0 3px 10px rgba(197, 139, 43, 0.3) !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.btn-mic-guardian,
.guardian-mic-btn {
    height: 42px !important;
    width: 42px !important;
    min-height: 42px !important;
    min-width: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer !important;
    font-size: 1.25rem !important;
    color: #8C7A70 !important;
    border-radius: 50% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.btn-mic-guardian:hover,
.guardian-mic-btn:hover {
    color: #C58B2B !important;
    background: #FAF8F5 !important;
}

.guardian-input-toolbar {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.guardian-chip {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 32px !important;
    min-height: 32px !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
}

/* 7. Modales con dvh, Gaveta de Guardián y Filtros Contables (Puntos 4.1, 4.2 y 4.3) */
.auth-card,
#mobileProfileModal .auth-card,
.wizard-modal-content,
.vip-modal-content,
.orders-modal-content {
    max-height: 85vh !important;
    max-height: 85dvh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box !important;
}

.guardian-drawer {
    width: 100% !important;
    max-width: 390px !important;
    box-sizing: border-box !important;
    right: -105% !important;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.guardian-drawer.open {
    right: 0 !important;
}

.contable-filtros-bar input {
    height: 40px !important;
    box-sizing: border-box !important;
}

@media (max-width: 480px) {
    .contable-filtros-bar input {
        flex: 1 1 100% !important;
        width: 100% !important;
        min-width: 0 !important;
    }
}

/* ==========================================================================
   ESTILO BOUTIQUE EDITORIAL: PERFIL DE USUARIO, HISTORIAL Y MIS PEDIDOS
   Paleta: Cacao Profundo (#2C1E18), Crema Marfil (#FFFDF9, #FAF5EE), Oro (#C58B2B)
   ========================================================================== */

/* 1. Backdrop del Modal de Perfil Móvil */
#mobileProfileModal.auth-modal {
    background: rgba(44, 30, 24, 0.55) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    z-index: 10000 !important;
    padding: 12px !important;
}

/* 2. Contenedor Principal (#mobileProfileModal .auth-card) */
#mobileProfileModal .auth-card {
    background: linear-gradient(180deg, #FFFDF9 0%, #FAF5EE 100%) !important;
    border: 1px solid rgba(197, 139, 43, 0.28) !important;
    border-radius: 22px !important;
    box-shadow: 0 16px 40px rgba(44, 30, 24, 0.22) !important;
    padding: 20px 18px 24px 18px !important;
    width: 100% !important;
    max-width: 390px !important;
    max-height: 88dvh !important;
    margin: auto auto 12px auto !important;
    align-self: center !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box !important;
    position: relative !important;
}

/* Dropdown de Escritorio en Header */
.user-dropdown-menu {
    background: linear-gradient(180deg, #FFFDF9 0%, #FAF5EE 100%) !important;
    border: 1px solid rgba(197, 139, 43, 0.28) !important;
    border-radius: 18px !important;
    box-shadow: 0 16px 40px rgba(44, 30, 24, 0.18) !important;
    width: 270px !important;
    padding: 16px !important;
    gap: 8px !important;
}

/* 3. Cabecera de Usuario (Avatar, Nombre, Email y Cierre) */
.dropdown-profile-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid rgba(197, 139, 43, 0.16) !important;
    position: relative !important;
}

.dropdown-profile-header img,
#mp-avatar,
#dropdown-avatar {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #C58B2B !important;
    box-shadow: 0 0 0 2px #FAF5EE, 0 3px 8px rgba(197, 139, 43, 0.25) !important;
    flex-shrink: 0 !important;
}

.dropdown-profile-info {
    flex: 1 !important;
    min-width: 0 !important;
}

.dropdown-profile-info strong,
#mp-name,
#dropdown-name {
    font-size: 0.96rem !important;
    font-weight: 700 !important;
    color: #2C1E18 !important;
    letter-spacing: -0.2px;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
}

.dropdown-profile-info small,
#mp-email,
#dropdown-email {
    font-size: 0.76rem !important;
    color: #7A6960 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    margin-top: 2px !important;
}

/* Botón de Cierre Circular Limpio */
#mobileProfileModal .auth-close-btn {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: #FFFFFF !important;
    border: 1px solid rgba(197, 139, 43, 0.25) !important;
    color: #6E5A4F !important;
    font-size: 0.85rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05) !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 5 !important;
}

#mobileProfileModal .auth-close-btn:hover {
    background: #2C1E18 !important;
    color: #FFFFFF !important;
    border-color: #2C1E18 !important;
}

/* 4. Tarjeta 'Mis Puntos Dulce' & Barra de Progreso */
.dropdown-points-box {
    background: linear-gradient(135deg, #FFFDF9 0%, #F9F1E4 100%) !important;
    border: 1px solid rgba(197, 139, 43, 0.35) !important;
    border-radius: 14px !important;
    padding: 10px 12px !important;
    text-align: center !important;
    margin: 6px 0 !important;
    box-shadow: 0 2px 8px rgba(197, 139, 43, 0.08) !important;
}

.dropdown-points-box span {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #4A3B32 !important;
    display: block !important;
    margin-bottom: 5px !important;
}

.dropdown-points-box strong,
#mp-points-val,
#dropdown-points-val {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #C58B2B !important;
}

.points-progress {
    width: 100% !important;
    height: 6px !important;
    background: rgba(197, 139, 43, 0.16) !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    margin: 6px 0 5px 0 !important;
}

.points-bar {
    height: 100% !important;
    background: linear-gradient(90deg, #C58B2B 0%, #D9386A 100%) !important;
    border-radius: 4px !important;
    transition: width 0.4s ease !important;
}

.dropdown-points-box small {
    font-size: 0.72rem !important;
    color: #8C7567 !important;
    font-weight: 500 !important;
    display: block !important;
}

/* Bloque 'Gana Puntos Hoy' Ultra Compacto */
.dropdown-points-simulator {
    background: #FFFDF9 !important;
    border: 1px dashed rgba(197, 139, 43, 0.4) !important;
    border-radius: 10px !important;
    padding: 6px 10px !important;
    text-align: center !important;
    margin-bottom: 6px !important;
}

.dropdown-points-simulator strong {
    font-size: 0.72rem !important;
    color: #C58B2B !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px;
    margin-bottom: 2px !important;
    display: inline-block !important;
}

.dropdown-points-simulator span,
#mp-sim-points-msg,
#sim-points-msg {
    font-size: 0.74rem !important;
    color: #4A3B32 !important;
    font-weight: 600 !important;
    display: block !important;
    line-height: 1.25 !important;
}

/* 5. Botones de 📊 Historial y 📦 Pedidos (Lista Ejecutiva 100% Ancho Completo) */
.dropdown-link-item {
    background: #FFFFFF !important;
    border: 1px solid rgba(197, 139, 43, 0.28) !important;
    color: #2C1E18 !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    border-radius: 12px !important;
    padding: 10px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-shadow: 0 2px 6px rgba(44, 30, 24, 0.04) !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    white-space: nowrap !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
}

.dropdown-link-item .dropdown-link-arrow {
    color: #C58B2B !important;
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    transition: transform 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
}

.dropdown-link-item:hover,
.dropdown-link-item:active {
    background: #FFFDF9 !important;
    border-color: #C58B2B !important;
    color: #C58B2B !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(197, 139, 43, 0.16) !important;
}

.dropdown-link-item:hover .dropdown-link-arrow {
    transform: translateX(3px) !important;
}

/* 6. Botones de Acción (Admin, Carrito, Logout) */
#desk-admin-btn,
#mob-admin-btn {
    background: #2C1E18 !important;
    color: #F3D078 !important;
    border: 1px solid #C58B2B !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    padding: 10px 14px !important;
    box-shadow: 0 3px 10px rgba(44, 30, 24, 0.2) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 6px 0 !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

#desk-admin-btn:hover,
#mob-admin-btn:hover {
    background: #3D2B22 !important;
    border-color: #E2B258 !important;
    color: #FFE5A3 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 14px rgba(44, 30, 24, 0.28) !important;
}

/* Botón Ver Mi Carrito */
#user-dropdown-menu .dropdown-btn:not(.logout):not(#desk-admin-btn):not(#desk-kitchen-btn),
#mobileProfileModal .dropdown-btn:not(.logout):not(#mob-admin-btn):not(#mob-kitchen-btn) {
    background: #FFFFFF !important;
    border: 1px solid rgba(44, 30, 24, 0.12) !important;
    border-radius: 12px !important;
    color: #2C1E18 !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    padding: 10px 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin-bottom: 6px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(44, 30, 24, 0.04) !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

#user-dropdown-menu .dropdown-btn:not(.logout):not(#desk-admin-btn):not(#desk-kitchen-btn):hover,
#mobileProfileModal .dropdown-btn:not(.logout):not(#mob-admin-btn):not(#mob-kitchen-btn):hover {
    background: #FFFDF9 !important;
    border-color: #C58B2B !important;
    color: #C58B2B !important;
    transform: translateY(-1px) !important;
}

/* Botón Cerrar Sesión (Fantasma Limpio Sin Subrayado) */
.dropdown-btn.logout {
    text-decoration: none !important;
    color: #C0392B !important;
    background: transparent !important;
    font-weight: 600 !important;
    font-size: 0.82rem !important;
    padding: 8px 14px !important;
    border-radius: 10px !important;
    border: 1px solid transparent !important;
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    margin-top: 4px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    opacity: 0.9 !important;
}

.dropdown-btn.logout:hover {
    background: #FDF2F2 !important;
    border-color: #F8D7DA !important;
    color: #A93226 !important;
    opacity: 1 !important;
    text-decoration: none !important;
}

/* ==========================================================================
   MODALES DE HISTORIAL DE PUNTOS Y MIS PEDIDOS (DISEÑO BOUTIQUE PREMIUM)
   ========================================================================== */
#modal-points-history .auth-card,
#modal-order-history .auth-card {
    background: linear-gradient(180deg, #FFFDF9 0%, #FAF5EE 100%) !important;
    border: 1px solid rgba(197, 139, 43, 0.3) !important;
    border-radius: 22px !important;
    box-shadow: 0 18px 45px rgba(44, 30, 24, 0.22) !important;
    padding: 20px 18px !important;
    max-height: 85vh !important;
    max-height: 85dvh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box !important;
}

/* Cabeceras de los Modales de Historial y Pedidos */
#modal-points-history .auth-card > div:first-child,
#modal-order-history .auth-card > div:first-child {
    border-bottom: 1px solid rgba(197, 139, 43, 0.18) !important;
    padding-bottom: 12px !important;
    margin-bottom: 14px !important;
}

#modal-points-history h3,
#modal-order-history h3 {
    font-family: 'Playfair Display', Georgia, serif !important;
    color: #2C1E18 !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

/* Botones de Cierre y Volver en Modales Secundarios */
#modal-points-history .auth-close-btn,
#modal-order-history .auth-close-btn {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    background: #FFFFFF !important;
    border: 1px solid rgba(197, 139, 43, 0.25) !important;
    color: #6E5A4F !important;
    font-size: 0.9rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.04) !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
}

#modal-points-history .auth-close-btn:hover,
#modal-order-history .auth-close-btn:hover {
    background: #2C1E18 !important;
    color: #FFFFFF !important;
    border-color: #2C1E18 !important;
}

/* Resumen de Saldo en Historial de Puntos */
#points-history-summary {
    background: linear-gradient(135deg, #FFFDF9 0%, #F9F1E4 100%) !important;
    border: 1px solid rgba(197, 139, 43, 0.35) !important;
    border-radius: 14px !important;
    padding: 12px 16px !important;
    box-shadow: 0 2px 8px rgba(197, 139, 43, 0.08) !important;
}

#points-history-summary span:first-child {
    color: #5C4B40 !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
}

#modal-points-balance {
    color: #C58B2B !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
}

/* Tarjetas de Movimientos y Pedidos */
.history-order-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(197, 139, 43, 0.2) !important;
    border-radius: 14px !important;
    padding: 14px !important;
    box-shadow: 0 2px 8px rgba(44, 30, 24, 0.05) !important;
    transition: all 0.2s ease !important;
}

.history-order-card:hover {
    border-color: #C58B2B !important;
    box-shadow: 0 4px 12px rgba(197, 139, 43, 0.12) !important;
}

.history-order-card strong[style*="var(--brand-pink)"] {
    color: #2C1E18 !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 0.98rem !important;
}

/* ==========================================================================
   SECCIÓN NOSOTROS - CENTRO CORPORATIVO & SUB-PESTAÑAS BOUTIQUE
   ========================================================================== */
.nosotros-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
    width: 100%;
}

.nosotros-chip-scroll {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 8px 16px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
    max-width: 100%;
    user-select: none !important;
    cursor: grab;
}

.nosotros-chip-scroll::-webkit-scrollbar {
    display: none !important;
}

@media (max-width: 768px) {
    .nosotros-tabs-wrapper {
        justify-content: flex-start !important;
        margin-left: -12px;
        margin-right: -12px;
        width: calc(100% + 24px);
    }
    .nosotros-chip-scroll {
        justify-content: flex-start !important;
        padding: 6px 16px !important;
        width: 100%;
    }
}

.nos-chip {
    flex: 0 0 auto !important;
    background: #FFFFFF !important;
    border: 1px solid #EAE2D7 !important;
    color: #4A3A31 !important;
    border-radius: 50px !important;
    padding: 9px 20px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.nos-chip:hover:not(.active) {
    border-color: #C58B2B !important;
    color: #C58B2B !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(197, 139, 43, 0.12) !important;
}

.nos-chip.active {
    background: #2C1E18 !important;
    color: #FFFFFF !important;
    border-color: #C58B2B !important;
    box-shadow: 0 4px 14px rgba(44, 30, 24, 0.25) !important;
}

.nos-tab-panel {
    display: none;
    animation: nosFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.nos-tab-panel.active {
    display: block;
}

@keyframes nosFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Acordeón FAQ Boutique */
.faq-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
}

.faq-item {
    background: #FFFFFF;
    border: 1px solid rgba(197, 139, 43, 0.25);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(44, 30, 24, 0.04);
}

.faq-item:hover {
    border-color: rgba(197, 139, 43, 0.5);
    box-shadow: 0 4px 14px rgba(197, 139, 43, 0.08);
}

.faq-item.open {
    border-color: #C58B2B;
    box-shadow: 0 6px 18px rgba(197, 139, 43, 0.12);
}

.faq-question-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 16px 20px;
    cursor: pointer;
    text-align: left;
    font-size: 0.98rem;
    font-weight: 700;
    color: #2C1E18;
    transition: background 0.2s ease, color 0.2s ease;
    gap: 14px;
}

.faq-question-btn:hover {
    background: #FFFDF9;
    color: #9A6B1F;
}

.faq-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #FAF5EE;
    color: #C58B2B;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.faq-item.open .faq-toggle-icon {
    background: #2C1E18;
    color: #FFFFFF;
    transform: rotate(45deg);
}

.faq-answer-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: #FFFEFC;
    border-top: 1px solid transparent;
}

.faq-item.open .faq-answer-panel {
    border-top: 1px solid rgba(197, 139, 43, 0.15);
}

.faq-answer-content {
    padding: 16px 20px 20px 20px;
    font-size: 0.94rem;
    line-height: 1.65;
    color: #4A3A31;
}

.faq-gps-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 9px 18px;
    background: linear-gradient(135deg, #FFFDF9 0%, #F9F1E4 100%);
    border: 1.5px solid #C58B2B;
    border-radius: 50px;
    color: #9A6B1F;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 3px 10px rgba(197, 139, 43, 0.12);
}

.faq-gps-btn:hover {
    background: #2C1E18;
    border-color: #2C1E18;
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(44, 30, 24, 0.2);
}

/* Tarjetas Ejecutivas de Contacto */
.contacto-grid-boutique {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 20px;
    margin-top: 20px;
}

.contacto-card-boutique {
    background: #FFFFFF;
    border: 1px solid rgba(197, 139, 43, 0.25);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 3px 10px rgba(44, 30, 24, 0.04);
    transition: all 0.25s ease;
}

.contacto-card-boutique:hover {
    border-color: #C58B2B;
    box-shadow: 0 8px 24px rgba(197, 139, 43, 0.15);
    transform: translateY(-2px);
}

.contacto-card-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: inline-block;
}

.contacto-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2C1E18;
    margin-bottom: 8px;
}

.contacto-card-desc {
    font-size: 0.92rem;
    color: #5C4B40;
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.btn-contacto-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
}

.btn-contacto-wa {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.btn-contacto-wa:hover {
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
    color: #FFFFFF;
}

.btn-contacto-gold {
    background: linear-gradient(135deg, #FFFDF9 0%, #F9F1E4 100%);
    border: 1.5px solid #C58B2B;
    color: #9A6B1F;
    box-shadow: 0 4px 12px rgba(197, 139, 43, 0.12);
}

.btn-contacto-gold:hover {
    background: #2C1E18;
    border-color: #2C1E18;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(44, 30, 24, 0.2);
}

/* Tarjetas Institucionales de Políticas */
.politicas-grid-boutique {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 20px;
    margin-top: 20px;
}

.politica-card-boutique {
    background: #FFFFFF;
    border: 1px solid rgba(197, 139, 43, 0.25);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 3px 10px rgba(44, 30, 24, 0.04);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.politica-card-boutique:hover {
    border-color: #C58B2B;
    box-shadow: 0 8px 24px rgba(197, 139, 43, 0.12);
    transform: translateY(-2px);
}

.politica-card-boutique::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #C58B2B, #2C1E18);
}

.politica-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.politica-card-icon {
    font-size: 1.6rem;
}

.politica-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2C1E18;
    line-height: 1.35;
}

.politica-card-body {
    font-size: 0.91rem;
    color: #5C4B40;
    line-height: 1.65;
}

/* ==========================================================================
   QUIÉNES SOMOS - REDISEÑO BOUTIQUE EJECUTIVO
   ========================================================================== */
.about-manifesto-box {
    margin-bottom: 22px;
}

.about-quote-card {
    background: #FFFCF7;
    border-left: 4px solid #C58B2B;
    border-top: 1px solid rgba(197, 139, 43, 0.22);
    border-right: 1px solid rgba(197, 139, 43, 0.22);
    border-bottom: 1px solid rgba(197, 139, 43, 0.22);
    border-radius: 0 16px 16px 0;
    padding: 20px 24px;
    margin-bottom: 16px;
    box-shadow: 0 4px 14px rgba(197, 139, 43, 0.06);
}

.about-quote-card p {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.08rem;
    line-height: 1.7;
    color: #2C1E18;
    margin: 0;
    font-weight: 500;
}

.about-quote-card strong {
    color: #9A6B1F;
    font-weight: 700;
}

.about-sublead-text {
    font-size: 0.98rem;
    line-height: 1.68;
    color: #5C4B40;
    margin: 0 0 20px 0;
}

/* Cintilla de 3 Sellos de Respaldo */
.about-seals-ribbon {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin: 18px 0 28px 0;
}

.about-seal-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #FFFFFF, #FAF5EE);
    border: 1px solid rgba(197, 139, 43, 0.28);
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 2px 8px rgba(44, 30, 24, 0.04);
    transition: all 0.25s ease;
}

.about-seal-item:hover {
    border-color: #C58B2B;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(197, 139, 43, 0.12);
}

.about-seal-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2C1E18;
    color: #C58B2B;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(44, 30, 24, 0.25);
}

.about-seal-text {
    font-size: 0.88rem;
    font-weight: 700;
    color: #2C1E18;
    line-height: 1.35;
}

/* Tarjetas Misión & Visión Boutique */
.mv-boutique-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 20px;
    margin: 28px 0;
}

.mv-boutique-card {
    border-radius: 20px;
    padding: 26px 24px;
    border: 1px solid rgba(197, 139, 43, 0.35);
    box-shadow: 0 6px 20px rgba(44, 30, 24, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.mv-boutique-card.mission-card {
    background: linear-gradient(135deg, #FFFDFB 0%, #FFF5F7 100%);
}

.mv-boutique-card.vision-card {
    background: linear-gradient(135deg, #FFFDFB 0%, #FAF4E8 100%);
}

.mv-boutique-card:hover {
    transform: translateY(-3px);
    border-color: #C58B2B;
    box-shadow: 0 10px 28px rgba(197, 139, 43, 0.16);
}

.mv-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.mv-medallion {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #C58B2B;
    background: #2C1E18;
    color: #C58B2B;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(44, 30, 24, 0.22);
}

.mv-boutique-card h3 {
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #2C1E18;
    letter-spacing: -0.01em;
}

.mv-boutique-card p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.68;
    color: #4A3A31;
}

/* 3 Pilares Corporativos */
.pillars-boutique-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 10px;
}

.pillar-boutique-card {
    background: #FFFFFF;
    border: 1px solid rgba(197, 139, 43, 0.25);
    border-top: 3px solid #C58B2B;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(44, 30, 24, 0.04);
    transition: all 0.25s ease;
}

.pillar-boutique-card:hover {
    border-color: #C58B2B;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(197, 139, 43, 0.12);
}

.pillar-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.pillar-icon-badge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #FAF5EE;
    border: 1px solid rgba(197, 139, 43, 0.3);
    color: #C58B2B;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pillar-header h4 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 700;
    color: #2C1E18;
}

.pillar-boutique-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #5C4B40;
}

/* Bloque Inferior: Visítanos o Pide Domicilio Boutique */
.visit-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 18px;
    margin-top: 20px;
}

.visit-info-card {
    background: #FFFFFF;
    border: 1px solid rgba(197, 139, 43, 0.28);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 3px 12px rgba(44, 30, 24, 0.04);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.visit-info-card:hover {
    border-color: #C58B2B;
    box-shadow: 0 8px 24px rgba(197, 139, 43, 0.12);
    transform: translateY(-2px);
}

.visit-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.visit-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #2C1E18;
    color: #C58B2B;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(197, 139, 43, 0.4);
    box-shadow: 0 2px 6px rgba(44, 30, 24, 0.18);
}

.visit-card-head h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #2C1E18;
}

.visit-card-content {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #5C4B40;
    flex-grow: 1;
}

.visit-badge-pill {
    display: inline-block;
    padding: 3px 10px;
    background: #FAF5EE;
    border: 1px solid rgba(197, 139, 43, 0.3);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #9A6B1F;
    margin-bottom: 8px;
}

.btn-gps-joya {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #2C1E18 0%, #1A100B 100%);
    border: 1.5px solid #C58B2B;
    border-radius: 12px;
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(44, 30, 24, 0.28);
    transition: all 0.25s ease;
}

.btn-gps-joya svg {
    color: #C58B2B;
    flex-shrink: 0;
}

.btn-gps-joya:hover {
    background: linear-gradient(135deg, #3D291F 0%, #2C1E18 100%);
    border-color: #E6B04C;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 139, 43, 0.32);
}

@media (max-width: 360px) {
    .contacto-card-boutique,
    .politica-card-boutique,
    .visit-info-card,
    .mv-boutique-card {
        padding: 16px 14px !important;
    }
}

/* ==========================================================================
   INICIO BOUTIQUE EXECUTIVE REDESIGN (5 BLOQUES INMERSIVOS)
   ========================================================================== */

/* --- BLOQUE 1: HERO BOUTIQUE INMERSIVO (FONDO 100% FULL-WIDTH DE PARED A PARED, SIN CAJA ENCAJONADA) --- */
.hero-boutique-immersive {
    position: relative;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: linear-gradient(135deg, #fffdfa 0%, #fff3f5 50%, #fef8f0 100%);
    border: none !important;
    border-radius: 0 !important;
    padding: 38px 24px 28px;
    margin-top: -22px;
    margin-bottom: 28px;
    overflow: hidden;
    box-shadow: none !important;
    box-sizing: border-box;
}

.hero-boutique-immersive::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(197, 139, 43, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-boutique-immersive::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -40px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(216, 27, 96, 0.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-two-columns {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1140px;
    margin: 0 auto;
}

.hero-col-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-col-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.6) 45%, rgba(255, 255, 255, 0) 72%);
    border-radius: 50%;
}

/* LOGO PROTAGONISTA: LIBRE, SIN CÍRCULOS NI BORDES DORADOS, INTEGRADO CON MULTIPLY */
.hero-logo-free {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    mix-blend-mode: multiply !important;
    filter: drop-shadow(0 14px 28px rgba(136, 19, 55, 0.12));
    transition: transform 0.35s ease, filter 0.35s ease;
    display: block;
}

.hero-logo-free:hover {
    transform: scale(1.03) translateY(-3px);
    filter: drop-shadow(0 18px 34px rgba(197, 139, 43, 0.22));
}

.hero-sparkle {
    position: absolute;
    font-size: 1.35rem;
    pointer-events: none;
    animation: gentleFloat 2.6s ease-in-out infinite;
    filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.4));
}

.hero-sparkle.sp-1 {
    top: -8px;
    left: 8px;
    animation-delay: 0.2s;
}

.hero-sparkle.sp-2 {
    bottom: 32px;
    right: 8px;
    animation-delay: 1.4s;
}

.hero-logo-pill {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFFFFF;
    border: 1px solid rgba(197, 139, 43, 0.35);
    border-radius: 999px;
    padding: 6px 18px;
    font-size: 0.82rem;
    font-weight: 800;
    color: #8a5a10;
    box-shadow: 0 4px 14px rgba(197, 139, 43, 0.12);
}

.hero-oven-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFF7ED;
    border: 1px solid rgba(197, 139, 43, 0.35);
    padding: 6px 18px;
    border-radius: 999px;
    color: #B87D1E;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(197, 139, 43, 0.08);
}

.hero-brand-clean {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}

.hero-title-cacao {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.85rem, 3.8vw, 2.7rem);
    font-weight: 800;
    color: #24130e;
    line-height: 1.2;
    margin: 0;
}

.gold-italic-accent {
    color: #C58B2B !important;
    font-style: italic !important;
    font-weight: 700 !important;
}

.hero-quote-boutique {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(1.4rem, 2.6vw, 1.85rem);
    color: #9d174d;
    font-weight: 700;
    margin: 0;
}

.hero-subt-desc {
    font-size: 1.04rem;
    color: #3d251e;
    font-weight: 500;
    line-height: 1.65;
    margin: 0 0 16px 0;
    max-width: 580px;
}

/* BOTÓN EXPLORAR NUESTRA CARTA (ESTILO BOUTIQUE DORADO IMPERIAL) */
.hero-cta-ActionWrap {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
}

.btn-explore-carta {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #d49a35 0%, #b86b28 42%, #9d174d 100%) !important;
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.04rem;
    letter-spacing: 0.3px;
    padding: 15px 34px;
    border: 1.5px solid rgba(255, 248, 235, 0.75) !important;
    box-shadow: 0 10px 24px rgba(157, 23, 77, 0.22), 0 4px 10px rgba(197, 139, 43, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.45) !important;
    text-shadow: 0 1px 2px rgba(36, 19, 14, 0.25) !important;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    outline: none;
    user-select: none;
}

/* Destello de luz diagonal suave (brillito boutique acelerado por hardware) */
.btn-explore-carta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -120%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.25) 45%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(255, 255, 255, 0.25) 55%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    pointer-events: none;
    will-change: transform;
    animation: btnBoutiqueShimmer 4s ease-in-out infinite;
}

@keyframes btnBoutiqueShimmer {
    0%, 25% {
        transform: translate3d(0, 0, 0) rotate(25deg);
    }
    60%, 100% {
        transform: translate3d(500px, 0, 0) rotate(25deg);
    }
}

.btn-carta-sparkle {
    color: #fff3d1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 5px rgba(255, 243, 209, 0.8));
    animation: btnSparklePulse 3.5s infinite ease-in-out;
}

.btn-carta-sparkle path {
    fill: #fff3d1;
    stroke: #fff3d1;
}

@keyframes btnSparklePulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 4px rgba(255, 243, 209, 0.7));
    }
    50% {
        transform: scale(1.18) rotate(8deg);
        filter: drop-shadow(0 0 8px rgba(255, 243, 209, 0.95));
    }
}

.btn-hand-down {
    display: inline-block;
    font-size: 1.15rem;
    line-height: 1;
    will-change: transform;
    animation: btnHandBounce 1.6s infinite ease-in-out;
}

@keyframes btnHandBounce {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, 4px, 0);
    }
}

.btn-explore-carta:hover {
    transform: translateY(-2.5px);
    border-color: #ffffff !important;
    background: linear-gradient(135deg, #dfac4c 0%, #c57830 45%, #b31d58 100%) !important;
    box-shadow: 0 12px 28px rgba(157, 23, 77, 0.28), 0 6px 14px rgba(197, 139, 43, 0.32), inset 0 1px 2px rgba(255, 255, 255, 0.55) !important;
    color: #ffffff !important;
}

.btn-explore-carta:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(157, 23, 77, 0.25), 0 2px 6px rgba(197, 139, 43, 0.2) !important;
}

/* --- BLOQUE 2: EXPERIENCIAS P&S PUNTO DULCE (3 TARJETAS-BOTÓN PRINCIPALES) --- */
.especialidades-boutique-section {
    margin: 14px 0 28px;
}

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

/* Tarjeta-Botón interactiva Boutique de Alta Costura */
.especialidad-card {
    background: linear-gradient(145deg, #ffffff 0%, #fff9f5 60%, #fdf2f6 100%);
    border: 1.5px solid rgba(197, 139, 43, 0.55);
    border-radius: 20px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    position: relative;
    box-shadow: 0 10px 26px rgba(44, 24, 16, 0.06);
    transition: transform 0.24s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.24s cubic-bezier(0.2, 0, 0.2, 1), border-color 0.24s ease, background 0.24s ease;
    cursor: pointer;
    overflow: hidden;
}

/* Línea superior decorativa sutil en Dorado / Vino */
.especialidad-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, #C58B2B 0%, #be185d 50%, #C58B2B 100%);
    opacity: 0.85;
    transition: opacity 0.24s ease, height 0.24s ease;
}

.especialidad-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(157, 23, 77, 0.15), 0 6px 16px rgba(197, 139, 43, 0.12);
    border-color: #C58B2B;
    background: linear-gradient(145deg, #ffffff 0%, #fffbf8 50%, #fdf0f5 100%);
}

.especialidad-card:hover::before {
    opacity: 1;
    height: 4.5px;
}

/* Fila de Encabezado: Medallón de icono + Píldora corta */
.esp-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 14px;
}

/* Medallón 46px x 46px con degradado Vino/Rosa y borde dorado */
.esp-icon-halo {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #9d174d 0%, #be185d 100%);
    border: 1.5px solid #C58B2B;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(157, 23, 77, 0.28);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.esp-icon-halo svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
    display: block;
}

.especialidad-card:hover .esp-icon-halo {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 6px 18px rgba(157, 23, 77, 0.38);
}

/* Píldora corta y elegante (width: auto, NO estirada al 100%) */
.esp-tag {
    display: inline-flex;
    align-items: center;
    width: auto;
    flex-grow: 0;
    flex-shrink: 0;
    background: #fdf6e9;
    border: 1px solid rgba(197, 139, 43, 0.45);
    color: #8a5a10;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    padding: 5px 12px;
    border-radius: 999px;
    line-height: 1.2;
    box-shadow: 0 2px 6px rgba(197, 139, 43, 0.08);
}

.esp-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.18rem;
    font-weight: 800;
    color: #24130e;
    margin: 0 0 8px 0;
    line-height: 1.25;
    letter-spacing: -0.2px;
}

.esp-desc {
    font-size: 0.88rem;
    color: #4a3228;
    line-height: 1.5;
    margin: 0 0 16px 0;
    flex-grow: 1;
    font-weight: 500;
}

/* Botón Píldora Interno con sello Dorado + Rosa */
.esp-btn-pill {
    margin-top: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-radius: 999px;
    background: #fff0f5;
    border: 1.5px solid #C58B2B;
    color: #881337;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    box-shadow: 0 3px 10px rgba(197, 139, 43, 0.12);
    transition: all 0.24s cubic-bezier(0.2, 0, 0.2, 1);
}

.esp-btn-arrow {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1;
    transition: transform 0.24s cubic-bezier(0.2, 0, 0.2, 1);
}

.especialidad-card:hover .esp-btn-pill {
    background: linear-gradient(135deg, #881337 0%, #be185d 60%, #C58B2B 100%);
    border-color: #B87D1E;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(136, 19, 55, 0.32);
}

.especialidad-card:hover .esp-btn-arrow {
    transform: translateX(5px);
}

@media (max-width: 900px) {
    .especialidades-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-two-columns {
        grid-template-columns: 1fr;
        gap: 22px;
        text-align: center;
    }

    .hero-col-content {
        align-items: center;
        text-align: center;
    }

    .hero-brand-clean {
        align-items: center;
    }

    .hero-cta-ActionWrap {
        justify-content: center;
        width: 100%;
        margin-top: 14px;
    }

    .btn-explore-carta {
        width: auto;
        padding: 13px 28px;
        font-size: 0.95rem;
    }

    .hero-col-logo {
        order: -1;
    }

    .hero-logo-free {
        max-width: 210px !important;
    }
}

/* --- BLOQUE 3: LOS 3 SELLOS DE GARANTÍA Y CONFIANZA --- */
.sellos-garantia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 16px;
    margin: 28px 0 32px;
}

.sello-card {
    background: #FFFFFF;
    border: 1px solid rgba(197, 139, 43, 0.28);
    border-radius: 20px;
    padding: 22px 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 6px 18px rgba(56, 38, 31, 0.04);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.sello-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(197, 139, 43, 0.16);
    border-color: #C58B2B;
}

.sello-card:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(197, 139, 43, 0.12);
}

.sello-icon-halo {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #FFF7ED 0%, #FEF3C7 100%);
    border: 1px solid rgba(197, 139, 43, 0.35);
    color: #C58B2B;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease;
}

.sello-card:hover .sello-icon-halo {
    transform: scale(1.08) rotate(3deg);
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
}

.sello-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sello-content h4 {
    margin: 0 0 6px 0;
    font-size: 1.02rem;
    color: #24130e;
    font-weight: 800;
}

.sello-content p {
    margin: 0 0 8px 0;
    font-size: 0.88rem;
    color: #4a3228;
    line-height: 1.5;
    font-weight: 500;
}

.sello-card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #C58B2B;
    margin-top: auto;
    transition: color 0.2s ease;
}

.sello-link-arrow {
    display: inline-block;
    transition: transform 0.22s ease;
}

.sello-card:hover .sello-card-link {
    color: #8c5218;
}

.sello-card:hover .sello-link-arrow {
    transform: translateX(4px);
}

/* --- BLOQUE 4: TARJETA ÚNETE AL CLUB DE PUNTOS P&S --- */
.club-points-exclusive-card {
    position: relative;
    background: linear-gradient(135deg, #2D1420 0%, #431A2D 60%, #5B1E3B 100%);
    border: 2px dashed #C58B2B;
    border-radius: 24px;
    padding: 30px 28px;
    margin: 28px 0 32px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(45, 20, 32, 0.25);
    color: #FFFFFF;
}

.cpe-glow-bg {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(197, 139, 43, 0.22) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cpe-body {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.cpe-chest-icon {
    font-size: 3.2rem;
    line-height: 1;
    filter: drop-shadow(0 4px 14px rgba(197, 139, 43, 0.45));
    flex-shrink: 0;
}

.cpe-text-content {
    flex: 1;
}

.cpe-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    color: #F8D38D;
    letter-spacing: 1.2px;
    margin-bottom: 6px;
}

.cpe-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
    font-weight: 800;
    color: #FFF6E5;
    margin: 0 0 8px 0;
    line-height: 1.25;
}

.cpe-desc {
    font-size: 0.92rem;
    color: #EBD6CE;
    line-height: 1.5;
    margin: 0 0 18px 0;
    max-width: 720px;
}

.cpe-desc strong {
    color: #F8D38D;
}

.cpe-buttons-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-cpe-register {
    background: linear-gradient(135deg, #C58B2B 0%, #E6B04C 100%);
    color: #2D1420 !important;
    font-weight: 800;
    font-size: 0.88rem;
    border: none;
    border-radius: 999px;
    padding: 10px 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(197, 139, 43, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cpe-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(197, 139, 43, 0.48);
}

.btn-cpe-rewards {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(248, 211, 141, 0.5);
    color: #FFF6E5 !important;
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 999px;
    padding: 10px 18px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-cpe-rewards:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #F8D38D;
}

/* --- BLOQUE 5: EL CIERRE VISÍTANOS CON MAPA --- */
.visitanos-cierre-card {
    background: #FFFFFF;
    border: 1px solid rgba(197, 139, 43, 0.26);
    border-radius: 26px;
    padding: 32px 28px;
    margin: 36px 0 24px;
    box-shadow: 0 12px 36px rgba(56, 38, 31, 0.05);
}

.vc-header-wrap {
    text-align: center;
    margin-bottom: 24px;
}

.vc-subhead {
    font-size: 0.94rem;
    color: #6E5A4F;
    margin: 0;
}

.vc-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
}

.vc-info-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.vc-badge-pill {
    display: inline-block;
    background: #FFF7ED;
    border: 1px solid rgba(197, 139, 43, 0.3);
    color: #92400E;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.vc-store-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.35rem;
    color: #38261F;
    font-weight: 800;
    margin: 0 0 16px 0;
}

.vc-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.88rem;
    color: #5C4B40;
}

.vc-detail-item .vc-icon {
    font-size: 1.15rem;
    line-height: 1.2;
    flex-shrink: 0;
}

.vc-detail-item strong {
    color: #38261F;
    display: block;
    margin-bottom: 2px;
}

.vc-detail-item p {
    margin: 0;
    line-height: 1.4;
}

.btn-ruta-dorada {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    background: linear-gradient(135deg, #2C1E18 0%, #1A100B 100%);
    border: 1.5px solid #C58B2B;
    border-radius: 12px;
    color: #FFFFFF !important;
    font-weight: 800;
    font-size: 0.92rem;
    padding: 12px 22px;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(44, 30, 24, 0.28);
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.btn-ruta-dorada svg {
    color: #C58B2B;
    flex-shrink: 0;
}

.btn-ruta-dorada:hover {
    background: linear-gradient(135deg, #3D291F 0%, #2C1E18 100%);
    border-color: #E6B04C;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(197, 139, 43, 0.32);
}

.vc-map-box {
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: flex;
}

.vc-map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 280px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border: 1px solid #EFE6D8;
}

/* --- RESPONSIVIDAD DEL REDISEÑO DE INICIO --- */
@media (max-width: 900px) {
    .vc-card-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .cpe-body {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .cpe-buttons-row {
        justify-content: center;
    }
}

@media (max-width: 540px) {
    .hero-boutique-immersive {
        padding: 24px 16px;
        margin-top: -14px;
        border-radius: 0 !important;
    }

    .hero-capsule-actions button {
        width: 100%;
    }

    .cpe-buttons-row button {
        width: 100%;
    }

    .visitanos-cierre-card {
        padding: 22px 16px;
        border-radius: 20px;
    }

    .vc-map-box,
    .vc-map-wrapper {
        min-height: 240px;
    }
}



/* ═══════════════════════════════════════════════════════════════════════
   BOTÓN FLOTANTE DE CARRITO (Solo Escritorio > 768px)
   ═══════════════════════════════════════════════════════════════════════ */

.desktop-floating-cart-pill {
    background: linear-gradient(135deg, #24130e 0%, #381d14 100%);
    color: #ffffff;
    border: 1px solid rgba(197, 139, 43, 0.65) !important;
    border-radius: 999px;
    padding: 7px 13px !important;
    display: inline-flex;
    align-items: center;
    gap: 7px !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.78rem !important;
    box-shadow: 0 10px 25px rgba(36, 19, 14, 0.32);
    cursor: pointer;
}

.desktop-floating-cart-pill svg {
    width: 15px !important;
    height: 15px !important;
    flex-shrink: 0;
}

@media (min-width: 769px) {
    #desktop-floating-cart.desktop-floating-cart-pill {
        display: inline-flex !important;
        position: fixed !important;
        top: 22px !important;
        right: 24px !important;
        bottom: auto !important;
        left: auto !important;
        z-index: 9999 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translate3d(0, -14px, 0) scale(0.95) !important;
        transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.25s !important;
    }
    #desktop-floating-cart.desktop-floating-cart-pill.is-visible {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translate3d(0, 0, 0) scale(1) !important;
    }
}

.desktop-floating-cart-pill:hover {
    box-shadow: 0 14px 32px rgba(36, 19, 14, 0.42);
    transform: translate3d(0, -2px, 0) scale(1.02);
}

.desktop-floating-cart-pill:active {
    transform: translate3d(0, 0, 0) scale(0.97);
}

.desktop-floating-cart-pill svg {
    flex-shrink: 0;
}

.floating-cart-badge {
    background: #C58B2B;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.72rem !important;
    min-width: 20px !important;
    height: 20px !important;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-cart-badge.badge-pulse {
    animation: badgePulseEffect 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes badgePulseEffect {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.25);
    }
    100% {
        transform: scale(1);
    }
}

/* Animación de recepción para el botón flotante cuando llega un producto */
.desktop-floating-cart-pill.cart-receive-bump {
    animation: cartReceiveBump 260ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cartReceiveBump {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(0, -3px, 0) scale(1.12);
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

/* Ocultar completamente en móvil y tablets */
@media (max-width: 768px) {
    .desktop-floating-cart-pill {
        display: none !important;
    }
}
