@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;
        }

        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;
            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 {
            font-family: 'Dancing Script', cursive;
            font-size: 1.55rem;
            color: var(--brand-pink);
            line-height: 1;
            letter-spacing: -0.3px;
        }

        .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: 230px;
            padding: 12px;
            display: none;
            flex-direction: column;
            gap: 6px;
            z-index: 160;
            animation: dropFade 0.2s ease-out;
        }

        @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;
        }

        .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;
        }

        .dropdown-btn.logout:hover {
            background: #ffe4e6;
        }

        /* 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;
            height: 100%;
            align-items: stretch;
        }

        .bottom-nav-btn {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 4px;
            background: none;
            border: none;
            cursor: pointer;
            transition: var(--ease);
            padding: 8px 4px 10px;
            position: relative;
        }

        .bottom-nav-btn .bn-icon {
            font-size: 1.35rem;
            line-height: 1;
            transition: transform 0.2s;
        }

        .bottom-nav-btn .bn-label {
            font-size: 0.64rem;
            font-weight: 700;
            color: #a08070;
            letter-spacing: 0.3px;
            text-transform: uppercase;
        }

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

        .bottom-nav-btn.active .bn-label {
            color: var(--brand-pink);
        }

        .bottom-nav-btn.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 20%;
            right: 20%;
            height: 3px;
            background: var(--brand-pink);
            border-radius: 3px 3px 0 0;
        }

        /* Cart bottom nav special style */
        .bottom-nav-btn.cart-nav-btn {
            position: relative;
        }

        .bottom-nav-btn.cart-nav-btn .bn-icon {
            background: linear-gradient(135deg, var(--brand-pink), var(--brand-pink-d));
            color: #fff;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            box-shadow: 0 6px 18px rgba(216, 27, 96, 0.35);
            margin-bottom: 2px;
        }

        .cart-mobile-badge {
            position: absolute;
            top: 4px;
            right: calc(50% - 26px);
            background: var(--brand-gold);
            color: var(--brand-choco);
            font-size: 0.6rem;
            font-weight: 900;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid #fff;
            z-index: 2;
        }

        /* ===== 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 {
            font-family: 'Dancing Script', cursive;
            font-size: 1.1rem;
            color: var(--brand-pink);
            line-height: 1;
            letter-spacing: -0.3px;
            white-space: nowrap;
        }

        .mobile-logo-text span {
            font-size: 0.54rem;
            font-weight: 700;
            color: var(--brand-choco-m);
            text-transform: uppercase;
            letter-spacing: 1.2px;
            display: block;
        }

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

        .search-circle-btn {
            width: 40px;
            height: 40px;
            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);
        }

        .search-circle-btn:active {
            transform: scale(0.92);
            background-color: #ffe3ec;
        }

        .mobile-google-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 34px;
            height: 34px;
            border-radius: 50%;
            border: 1.5px solid #e2e8f0;
            background: #fff;
            cursor: pointer;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
            transition: var(--ease);
        }

        .mobile-google-btn:hover {
            border-color: var(--brand-pink);
        }

        /* 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;
        }

        /* ===== 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(255, 245, 235, 0.9);
            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;
        }

        .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: absolute;
            top: 10px;
            right: 10px;
            background: linear-gradient(135deg, #e11d48, #be123c);
            color: #ffffff;
            font-weight: 800;
            font-size: 0.72rem;
            padding: 4px 11px;
            border-radius: var(--r-full);
            box-shadow: 0 2px 8px rgba(190, 18, 60, 0.25);
            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;
        }

        /* 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: transparent !important;
            background-color: #fff !important;
            padding: 28px;
            border-radius: 16px 16px 16px 16px !important; /* Asegura bordes redondeados */
            width: 100%;
            max-width: 420px;
            box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.25);
            position: relative !important;
            animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
            overflow: hidden !important;
            border: none !important;
            z-index: 1050 !important;
            max-height: 90vh !important;
            overflow-y: auto !important;
        }

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

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

        .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.8rem;
            font-weight: 700;
            color: #475569;
        }

        .form-group input {
            padding: 10px 13px 10px 38px;
            border-radius: 11px;
            border: 1.5px solid #cbd5e1;
            font-size: 0.9rem;
            outline: none;
            transition: var(--ease);
            width: 100%;
        }

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

        .btn-auth-submit {
            background: linear-gradient(135deg, var(--brand-pink), var(--brand-pink-d));
            color: #fff;
            border: none;
            padding: 12px;
            border-radius: 13px;
            font-weight: 800;
            font-size: 0.94rem;
            cursor: pointer;
            margin-top: 6px;
            transition: var(--ease);
            box-shadow: 0 6px 16px rgba(216, 27, 96, 0.3);
            width: 100%;
        }

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

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

        .input-wrap .field-icon {
            position: absolute;
            left: 12px;
            font-size: 1.1rem;
            color: #94a3b8;
            pointer-events: none;
            z-index: 1;
        }

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

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

        .btn-toggle-password {
            position: absolute;
            right: 10px;
            background: none;
            border: none;
            cursor: pointer;
            font-size: 1.1rem;
            padding: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0.6;
            transition: opacity 0.2s;
            user-select: none;
            z-index: 2;
        }

        .btn-toggle-password:hover {
            opacity: 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;
        }

        .auth-incentive-banner {
            background: linear-gradient(135deg, #fff0f5, #fce7f3);
            border: 1.5px dashed var(--brand-pink);
            border-radius: 12px;
            padding: 10px 14px;
            margin-bottom: 18px;
            font-size: 0.85rem;
            color: #831843;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
            text-align: left;
        }

        .auth-close-btn {
            position: absolute !important;
            top: 15px !important;
            right: 15px !important;
            z-index: 1051 !important; /* Más alto que el modal-content */
            background: #f1f5f9;
            border: none;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            font-size: 1rem;
            cursor: pointer;
            font-weight: bold;
            color: var(--text-soft);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--ease);
        }

        .auth-close-btn:hover {
            background: #ffe4e6;
            color: var(--brand-pink);
        }

        /* Tabs and Panes */
        .auth-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            border-bottom: 2px solid #f1f5f9;
        }

        .auth-tab {
            flex: 1;
            padding: 10px;
            background: none;
            border: none;
            font-size: 0.95rem;
            font-weight: 700;
            color: #94a3b8;
            cursor: pointer;
            transition: var(--ease);
            position: relative;
        }

        .auth-tab.active {
            color: var(--brand-pink);
        }

        .auth-tab.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--brand-pink);
            border-radius: 3px 3px 0 0;
        }

        .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;
        }

        .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: 5px;
        }

        .cart-item-actions button {
            width: 26px;
            height: 26px;
            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);
        }

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

        .cart-item-actions input {
            width: 32px;
            height: 26px;
            text-align: center;
            border: 1.5px solid #cbd5e1;
            border-radius: 7px;
            font-weight: 800;
            font-size: 0.85rem;
        }

        .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;
        }

        .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);
        }

        #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);
        }

        .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: -6px;
            right: -6px;
            font-size: 0.9rem;
            z-index: 5;
            background: #fff;
            border-radius: 50%;
            padding: 2px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.15);
        }

        .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 ===== */
        .club-puntos-section {
            background: linear-gradient(180deg, #fffdfa 0%, #fff8f1 100%);
            border: 1.5px solid #fde68a;
            border-radius: var(--r-xl, 20px);
            padding: 36px 24px;
            margin: 35px auto;
            box-shadow: 0 10px 30px rgba(245, 158, 11, 0.08);
            scroll-margin-top: 90px;
        }

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

        .club-puntos-tag {
            display: inline-block;
            background: #fef3c7;
            color: #b45309;
            font-size: 0.8rem;
            font-weight: 800;
            padding: 4px 14px;
            border-radius: 20px;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            margin-bottom: 8px;
        }

        .club-puntos-title {
            font-size: 1.8rem;
            font-weight: 800;
            color: #78350f;
            margin: 0 0 12px;
        }

        .club-points-balance-card {
            display: inline-flex;
            align-items: center;
            gap: 14px;
            background: #ffffff;
            border: 1.5px solid #fcd34d;
            border-radius: 16px;
            padding: 10px 22px;
            margin: 10px 0 14px;
            box-shadow: 0 4px 12px rgba(245, 158, 11, 0.12);
        }

        .club-points-balance-card .cp-balance-icon {
            font-size: 1.8rem;
        }

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

        .club-points-balance-card .cp-balance-text span {
            font-size: 0.78rem;
            text-transform: uppercase;
            color: #92400e;
            font-weight: 700;
            display: block;
        }

        .club-points-balance-card .cp-balance-text p {
            margin: 0;
            font-size: 1rem;
            color: #451a03;
        }

        .club-points-balance-card .cp-balance-text strong#modal-ticket-val {
            font-size: 1.4rem;
            color: #d97706;
            font-weight: 800;
        }

        .club-puntos-subtitle {
            font-size: 0.95rem;
            color: #78350f;
            margin: 0;
            line-height: 1.5;
        }

        #rewards-container.rewards-grid,
        #rewards-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 22px;
            margin-bottom: 28px;
        }

        .ticket-card {
            background: #ffffff;
            border: 2px solid #fef3c7;
            border-radius: 16px;
            padding: 16px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            text-align: center;
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
            transition: all 0.25s ease;
        }

        .ticket-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 24px rgba(245, 158, 11, 0.16);
            border-color: #fcd34d;
        }

        .ticket-card img {
            width: 100%;
            height: 180px;
            border-radius: 12px;
            object-fit: cover;
            margin-bottom: 12px;
            border: 1px solid #fde68a;
            background: #fffdfa;
        }

        .ticket-card-info h4 {
            margin: 0 0 6px 0;
            color: #1e293b;
            font-size: 1.1rem;
            font-weight: 700;
        }

        .ticket-card-info p {
            margin: 0 0 14px 0;
            color: #d97706;
            font-weight: 800;
            font-size: 1.05rem;
        }

        .ticket-card .btn-redeem {
            width: 100%;
            background: linear-gradient(135deg, #f59e0b, #d97706);
            color: #ffffff;
            border: none;
            padding: 12px 18px;
            border-radius: 12px;
            font-weight: 700;
            font-size: 0.95rem;
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(217, 119, 6, 0.25);
            transition: all 0.2s ease;
        }

        .ticket-card .btn-redeem:hover:not(:disabled) {
            background: linear-gradient(135deg, #d97706, #b45309);
            transform: translateY(-1px);
            box-shadow: 0 6px 14px rgba(217, 119, 6, 0.35);
        }

        .ticket-card .btn-redeem:disabled {
            background: #e2e8f0;
            color: #94a3b8;
            border: 1px solid #cbd5e1;
            box-shadow: none;
            cursor: not-allowed;
            transform: none;
        }

        .vip-perks-banner {
            background: #fff8f1;
            border: 1.5px solid #fbd38d;
            border-radius: 14px;
            padding: 18px 22px;
            display: flex;
            align-items: center;
            gap: 16px;
            color: #9a3412;
            font-size: 0.92rem;
            line-height: 1.5;
        }

        .vip-perks-banner .vip-perks-icon {
            font-size: 2.2rem;
            flex-shrink: 0;
        }

        .vip-perks-banner strong {
            color: #7c2d12;
            display: block;
            margin-bottom: 2px;
            font-size: 0.98rem;
        }

        .vip-perks-banner p {
            margin: 0;
        }

        /* --- ESTILOS PARA MIS PEDIDOS --- */
        .dropdown-link-item {
            padding: 10px 16px;
            background: #fff5f8;
            color: var(--brand-pink);
            font-weight: 700;
            border-radius: 8px;
            cursor: pointer;
            text-align: center;
            margin-bottom: 8px;
            transition: all 0.2s ease;
        }
        .dropdown-link-item:hover {
            background: #ffe3ec;
        }
        
        .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;
        }

        /* --- CART VIP MODE --- */
        .cart-vip-mode {
            border: 2px solid #f59e0b;
            box-shadow: 0 20px 45px rgba(245, 158, 11, 0.18);
        }
        .cart-vip-mode .cart-header h3::after {
            content: " 👑 Exclusivo";
            font-size: 1rem;
            color: #d97706;
        }
        .cart-vip-mode #discountRow span {
            color: #d97706 !important;
        }
        .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: 300px;
            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 */
        .toast {
            position: fixed;
            bottom: calc(var(--bottom-nav-h) + 14px);
            left: 50%;
            transform: translateX(-50%) translateY(20px);
            background: var(--brand-choco);
            color: #f9f0e8;
            padding: 12px 22px;
            border-radius: var(--r-full);
            font-weight: 700;
            font-size: 0.88rem;
            box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
            display: none;
            z-index: 400;
            opacity: 0;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            align-items: center;
            gap: 9px;
            white-space: nowrap;
        }

        .toast.show {
            display: flex;
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        /* 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;
        }

        /* ===== VIP SYSTEM CSS ===== */
        .vip-card-golden {
            background: linear-gradient(135deg, #f59e0b, #d97706);
            color: #fff;
            padding: 12px;
            border-radius: 8px;
            margin: 10px;
            text-align: center;
            font-size: 0.85rem;
            box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
            border: 1px solid #fcd34d;
        }

        .vip-card-golden strong {
            display: block;
            font-size: 1.05rem;
            margin-bottom: 4px;
        }

        .vip-upgrade-btn {
            background: #fff;
            color: #d97706;
            border: 1px solid #f59e0b;
            width: calc(100% - 20px);
            margin: 10px;
            padding: 10px;
            border-radius: 8px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .vip-upgrade-btn:hover {
            background: #fef3c7;
        }

        .cart-vip-discount {
            color: #15803d;
            font-weight: 700;
            display: flex;
            justify-content: space-between;
            margin-top: 6px;
        }

        .cart-vip-priority {
            background: #fef3c7;
            border: 1px solid #fde68a;
            color: #b45309;
            padding: 8px;
            border-radius: 8px;
            font-size: 0.85rem;
            text-align: center;
            margin-bottom: 12px;
            font-weight: 600;
            display: none;
        }

        /* VIP Modal */
        .vip-modal-content {
            background: #fff;
            border-radius: 16px;
            width: 90%;
            max-width: 400px;
            padding: 24px;
            position: relative;
            text-align: center;
            border: 2px solid #f59e0b;
            box-shadow: 0 10px 30px rgba(217, 119, 6, 0.2);
        }

        .vip-modal-content h3 {
            color: #d97706;
            font-size: 1.5rem;
            margin-bottom: 16px;
        }

        .vip-modal-content ul {
            text-align: left;
            margin-bottom: 20px;
            padding-left: 0;
            list-style: none;
        }

        .vip-modal-content ul li {
            margin-bottom: 10px;
            color: #475569;
            font-size: 0.95rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        /* ===== CLUB DULCE RECOMPENSA ===== */
        .rewards-club-section {
            background: linear-gradient(135deg, #fff0f5, #fdf2f8);
            border-radius: 14px;
            padding: 24px 16px;
            margin: 0 auto 24px auto;
            text-align: center;
            box-shadow: 0 4px 15px rgba(216, 27, 96, 0.08);
            border: 1px solid #fce7f3;
        }

        .rewards-club-title {
            font-size: 1.45rem;
            color: var(--brand-pink-d);
            font-weight: 800;
            margin-bottom: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .rewards-club-sub {
            font-size: 0.9rem;
            color: #64748b;
            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);
        }

        .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%);
        }

        .rewards-card {
            background: #fff;
            border: 1.5px dashed var(--brand-pink);
            border-radius: 12px;
            padding: 16px;
            font-size: 0.88rem;
            color: #831843;
            font-weight: 600;
            line-height: 1.5;
            box-shadow: inset 0 2px 10px rgba(252, 231, 243, 0.5);
        }

        @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 {
                bottom: 24px;
            }

            .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;
            }

            .mobile-bottom-nav {
                display: block;
            }

            .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 {
                padding: 11px 10px;
            }

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

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

            .price {
                font-size: 1.15rem;
            }

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

            .quantity-control {
                gap: 4px;
                margin-bottom: 8px;
            }

            .qty-btn {
                width: 30px;
                height: 30px;
                font-size: 1rem;
                border-radius: 7px;
            }

            .qty-input {
                width: 44px;
                height: 30px;
                font-size: 0.88rem;
                border-radius: 7px;
            }

            .btn-add {
                padding: 8px 6px;
                font-size: 0.78rem;
                border-radius: 8px;
            }

            .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 {
                font-size: 1.55rem;
                margin: 18px 0 10px;
            }

            /* 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 */
            .fab-whatsapp {
                bottom: calc(var(--bottom-nav-h) + 10px);
                right: 14px;
                width: 48px;
                height: 48px;
            }

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

            /* 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-order-hint {
    font-family: 'Quicksand', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #8C6239 !important;
    margin: 14px 0 12px 0 !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    animation: gentleFloat 2.4s ease-in-out infinite !important;
}

.bouncing-hand {
    display: inline-block !important;
    font-size: 17px !important;
    animation: handBounce 1.2s ease-in-out infinite !important;
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

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

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

.btn-hero-primary, .btn-hero-secondary {
    position: relative !important;
    overflow: hidden !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 320px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-family: 'Quicksand', sans-serif !important;
    letter-spacing: 0.2px !important;
    cursor: pointer !important;
    border: none;
}

.btn-hero-primary {
    padding: 13px 24px !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;
}

.btn-hero-secondary {
    padding: 11px 22px !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;
}

.btn-hero-primary:hover, .btn-hero-secondary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28) !important;
}

.btn-hero-primary:active, .btn-hero-secondary:active {
    transform: translateY(2px) scale(0.98) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
}

.btn-hero-primary::after, .btn-hero-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -130%;
    width: 70%;
    height: 100%;
    background: linear-gradient(
        115deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.25) 45%,
        rgba(255, 250, 235, 0.35) 50%,
        rgba(255, 255, 255, 0.25) 55%,
        rgba(255, 255, 255, 0) 100%
    );
    filter: blur(2px);
    transform: skewX(-25deg);
    animation: reflejoSol 6s infinite ease-in-out;
    pointer-events: none;
}

@keyframes reflejoSol {
    0% {
        left: -130%;
    }
    35% {
        left: 160%;
    }
    100% {
        left: 160%;
    }
}

.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 {
  z-index: 1100 !important;
}
#order-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%;
  appearance: none;
  -webkit-appearance: none;
  background: #fff9fa !important;
  border: 1.5px solid #f2cad5 !important;
  outline: none !important;
  border-radius: 10px !important;
  padding: 8px 32px 8px 10px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #4a2e35 !important;
  cursor: pointer;
}
.filling-select:focus { border-color: #9C1D54 !important; background: #fff !important; }
.custom-select-box::after {
  content: "▼";
  font-size: 0.65rem;
  color: #9C1D54;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  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: 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: 320px;
    flex: 1 1 320px;
    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
========================================= */
.btn-notif-bell {
    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);
}
@media (max-width: 480px) {
    #adminNotifDropdown {
        width: calc(100vw - 40px) !important;
        max-width: 320px !important;
        right: 0 !important;
    }
}

/* =========================================
   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;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.04);
    z-index: 20;
}

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

#wizard-summary-badge {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    display: block;
}

#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: 95vh !important;
        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;
    }

    .wizard-footer-sticky {
        padding: 10px 14px;
    }

    #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;
    }
}


