/* ==========================================================================
   Happy Days - Design System & Custom Stylesheet
   Theme: Premium, Bold, Emotional & High-Contrast
   ========================================================================== */

/* --- CSS Variables & Color Tokens --- */
:root {
    /* Backgrounds — deep, layered, NOT flat */
    --bg-primary: #1A1118;        /* Aubergine-black premium dark */
    --bg-secondary: #241820;      /* Slightly lighter dark surface */
    --bg-card: #2D1F28;           /* Card surface — distinct from bg */
    --bg-card-hover: #351F2D;     /* Card hover state */
    --bg-section-alt: #130D10;    /* Deep section contrast */

    /* Brand Colors */
    --color-pink-soft: rgba(224, 90, 128, 0.12);   /* Soft pink tint */
    --color-pink-accent: #E8457A;  /* Vibrant rose — primary accent */
    --color-pink-fuchsia: #C9266A; /* Deep fuchsia */
    --color-pink-bright: #FF5E96; /* Bright pink for highlights */
    --color-burgundy: #9B1545;    /* Rich burgundy */
    --color-burgundy-deep: #6B0E2F; /* Deep burgundy */
    --color-gold: #D4A843;        /* Warm gold */
    --color-gold-bright: #E8C050; /* Bright gold for accents */
    --color-gold-muted: #A07820;  /* Subdued gold for borders */

    /* Text */
    --color-text-dark: #F8F0F4;   /* Near-white — primary text on dark bg */
    --color-text-mid: #D4B8C4;    /* Muted pink-white — secondary text */
    --color-text-light: #9A7A88;  /* Subdued text */
    --color-beige: rgba(212, 168, 67, 0.15); /* Gold border tint */
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', sans-serif;
    
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.45);
    --shadow-pink: 0 10px 30px rgba(232, 69, 122, 0.35);
    --shadow-gold: 0 10px 25px rgba(212, 168, 67, 0.3);
    
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;
}

/* --- Base Resets & Global Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}

body {
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(ellipse at 15% 0%, rgba(155, 21, 69, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 100%, rgba(232, 69, 122, 0.08) 0%, transparent 50%);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* --- Ambient Floating Animations --- */
.decorations-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.sparkle {
    position: absolute;
    color: var(--color-gold-bright);
    opacity: 0.45;
    font-size: 1.5rem;
    animation: floatSparkle 6s ease-in-out infinite;
}

.sparkle-1 { top: 15%; left: 10%; animation-delay: 0s; }
.sparkle-2 { top: 40%; right: 8%; animation-delay: 2s; }
.sparkle-3 { top: 80%; left: 45%; animation-delay: 4s; }

.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,69,122,0.18) 0%, rgba(155,21,69,0) 70%);
    pointer-events: none;
    animation: floatBubble 12s linear infinite;
}

.bubble-1 { width: 120px; height: 120px; top: 25%; left: 80%; animation-delay: 1s; }
.bubble-2 { width: 80px; height: 80px; top: 70%; left: 5%; animation-delay: 3s; }

@keyframes floatSparkle {
    0%, 100% { transform: translateY(0) scale(1) rotate(0deg); opacity: 0.2; }
    50% { transform: translateY(-15px) scale(1.2) rotate(45deg); opacity: 0.6; }
}

@keyframes floatBubble {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10% { opacity: 0.4; }
    90% { opacity: 0.4; }
    100% { transform: translateY(-20vh) translateX(50px); opacity: 0; }
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text-dark);
}

p {
    font-size: 1rem;
    color: var(--color-text-mid);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* --- Premium Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background 0.3s ease;
    border-radius: inherit;
}

.btn:hover::before {
    background: rgba(255,255,255,0.08);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-pink-bright) 0%, var(--color-pink-accent) 45%, var(--color-burgundy) 100%);
    color: white;
    box-shadow: 0 6px 24px rgba(232, 69, 122, 0.45), 0 2px 6px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 94, 150, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-pink-accent) 0%, var(--color-pink-fuchsia) 50%, var(--color-burgundy-deep) 100%);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 36px rgba(232, 69, 122, 0.55), 0 4px 12px rgba(0,0,0,0.4);
}

.btn-glow {
    box-shadow: 0 8px 28px rgba(232, 69, 122, 0.5);
}

.btn-glow:hover {
    box-shadow: 0 14px 40px rgba(232, 69, 122, 0.65);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--color-gold);
    color: var(--color-gold-bright);
    box-shadow: 0 4px 12px rgba(212, 168, 67, 0.15);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(212,168,67,0.15) 0%, rgba(212,168,67,0.08) 100%);
    border-color: var(--color-gold-bright);
    color: var(--color-gold-bright);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(212, 168, 67, 0.3);
}

.btn-large {
    padding: 1.15rem 2.8rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.btn-icon {
    width: 18px;
    height: 18px;
    margin-left: 8px;
    transition: var(--transition-fast);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* --- SPA View Wrapper Transition --- */
#app-view {
    flex: 1;
    z-index: 1;
    transition: opacity 0.25s ease-in-out;
}

.fade-in {
    animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* --- Header / Navigation --- */
.header {
    background-color: rgba(22, 14, 19, 0.92);
    backdrop-filter: blur(18px) saturate(1.8);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(212, 168, 67, 0.18);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text-dark);
    letter-spacing: -0.01em;
}

.logo-accent {
    background: linear-gradient(135deg, var(--color-pink-bright), var(--color-gold-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-mid);
    position: relative;
    padding: 0.4rem 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-pink-bright), var(--color-gold-bright));
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--color-text-dark);
}

.nav-link:hover::after {
    width: 100%;
}

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

.nav-link.active::after {
    width: 100%;
    background: linear-gradient(90deg, var(--color-pink-bright), var(--color-gold-bright));
}

/* Mobile Toggle Hamburger button */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-dark);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 7rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
    background:
        radial-gradient(ellipse at 70% 40%, rgba(155, 21, 69, 0.45) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(107, 14, 47, 0.35) 0%, transparent 45%),
        radial-gradient(ellipse at 90% 90%, rgba(232, 69, 122, 0.15) 0%, transparent 40%),
        var(--bg-section-alt);
    border-bottom: 1px solid rgba(212, 168, 67, 0.2);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-container {
    margin-bottom: 1.5rem;
}

.hero-badge {
    background: linear-gradient(135deg, rgba(232,69,122,0.25) 0%, rgba(155,21,69,0.25) 100%);
    color: var(--color-pink-bright);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: 1px solid rgba(232, 69, 122, 0.4);
    box-shadow: 0 0 20px rgba(232, 69, 122, 0.2), inset 0 1px 0 rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: 5.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8D0DF 40%, var(--color-gold-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.02;
    margin-bottom: 0.85rem;
    letter-spacing: -0.04em;
    text-shadow: none;
    filter: drop-shadow(0 4px 24px rgba(232,69,122,0.25));
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-gold-bright);
    margin-bottom: 2.25rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.9;
}

.hero-text {
    font-size: 1.1rem;
    line-height: 1.85;
    margin-bottom: 2.75rem;
    color: var(--color-text-mid);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.hero-secondary-action {
    margin-top: 0.75rem;
}

.link-guest {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-mid);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px dotted rgba(212, 168, 67, 0.5);
    padding-bottom: 2px;
    letter-spacing: 0.03em;
}

.link-guest:hover {
    color: var(--color-pink-bright);
    border-bottom-color: var(--color-pink-bright);
}

.link-guest .arrow {
    transition: var(--transition-fast);
}

.link-guest:hover .arrow {
    transform: translateX(4px);
}

/* --- Vectorized Breakfast Gift Box Mockup --- */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.visual-wrapper {
    position: relative;
    width: 380px;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Floating decorations inside wrapper */
.floating-heart {
    position: absolute;
    font-size: 1.8rem;
    user-select: none;
    animation: floatGiftItem 5s ease-in-out infinite;
}

.heart-1 { top: 0%; left: 15%; animation-delay: 0s; }
.heart-2 { bottom: 5%; right: 10%; animation-delay: 1.5s; font-size: 2rem; }
.heart-3 { top: 25%; right: -5%; animation-delay: 3s; }

@keyframes floatGiftItem {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    50% { transform: translateY(-15px) rotate(8deg) scale(1.1); }
}

/* CSS Gift Box Mockup Card */
.gift-box-card {
    width: 320px;
    height: 320px;
    background: linear-gradient(145deg, #2D1F28 0%, #1E1118 60%, #2A1520 100%);
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(212,168,67,0.2), inset 0 1px 0 rgba(255,255,255,0.05);
    border: 1px solid rgba(212, 168, 67, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    animation: gentleBob 6s ease-in-out infinite;
}

.gift-box-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 40px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(232,69,122,0.4), 0 0 40px rgba(232,69,122,0.15);
    border-color: var(--color-pink-accent);
}

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

/* Box Lid & Ribbons */
.box-lid {
    height: 60px;
    background: linear-gradient(135deg, rgba(232,69,122,0.35) 0%, rgba(155,21,69,0.35) 100%);
    border-radius: 12px;
    border: 1px solid rgba(232, 69, 122, 0.4);
    position: relative;
    box-shadow: 0 4px 16px rgba(232,69,122,0.25);
    z-index: 5;
    transition: var(--transition-smooth);
}

.gift-box-card:hover .box-lid {
    transform: translateY(-5px);
}

.ribbon-vertical {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 100%;
    background-color: var(--color-pink-accent);
    z-index: 2;
}

.ribbon-horizontal {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 18px;
    background-color: var(--color-pink-accent);
    z-index: 1;
}

.ribbon-bow {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 30px;
    z-index: 3;
}

.bow-left, .bow-right {
    position: absolute;
    width: 32px;
    height: 22px;
    border: 3px solid var(--color-pink-accent);
    background-color: var(--color-pink-soft);
    border-radius: 50% 50% 0 50%;
}

.bow-left {
    left: -2px;
    transform: rotate(-30deg);
}

.bow-right {
    right: -2px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(30deg);
}

.bow-center {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background-color: var(--color-pink-accent);
    border-radius: 50%;
}

/* Box Body & Interactive Contents */
.box-body {
    flex: 1;
    background: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    margin-top: 15px;
    position: relative;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.2);
}

.box-contents {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-items: center;
}

.content-item {
    font-size: 1.8rem;
    transition: var(--transition-smooth);
    cursor: default;
}

.content-item:hover {
    transform: scale(1.3) rotate(8deg);
}

/* Coffee Cup Animation */
.cup-item {
    position: relative;
    display: inline-block;
}

.cup-steam {
    position: absolute;
    top: -15px;
    left: 6px;
    display: flex;
    gap: 3px;
}

.cup-steam span {
    width: 2px;
    height: 8px;
    background-color: var(--color-text-light);
    border-radius: 2px;
    opacity: 0;
    animation: steam 2s infinite linear;
}

.cup-steam span:nth-child(1) { animation-delay: 0.2s; }
.cup-steam span:nth-child(2) { animation-delay: 0.6s; }
.cup-steam span:nth-child(3) { animation-delay: 1s; }

@keyframes steam {
    0% { transform: translateY(0) scaleY(1); opacity: 0; }
    50% { transform: translateY(-4px) scaleY(1.3); opacity: 0.6; }
    100% { transform: translateY(-8px) scaleY(0.8); opacity: 0; }
}

/* Gift Tag detail */
.gift-tag {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(26, 17, 24, 0.85);
    border: 1px solid var(--color-gold);
    border-radius: 4px;
    padding: 2px 8px;
    transform: rotate(-10deg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    z-index: 10;
    transition: var(--transition-smooth);
    backdrop-filter: blur(4px);
}

.gift-box-card:hover .gift-tag {
    transform: rotate(5deg) scale(1.05);
}

.tag-text {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    color: var(--color-gold-bright);
    font-weight: 700;
}

.box-label {
    margin-top: 15px;
    text-align: center;
}

.box-label h3 {
    font-size: 1.1rem;
    color: var(--color-text-dark);
    margin-bottom: 2px;
}

.box-label p {
    font-size: 0.75rem;
    color: var(--color-gold-bright);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Features Section "¿Qué es Happy Days?" --- */
.features-section {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, var(--bg-section-alt) 0%, var(--bg-secondary) 100%);
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(212, 168, 67, 0.15);
    border-bottom: 1px solid rgba(212, 168, 67, 0.15);
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,168,67,0.5), transparent);
}

.section-header {
    max-width: 600px;
    margin: 0 auto 4.5rem auto;
    text-align: center;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--color-pink-bright);
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: inline-block;
}

.section-title {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--color-text-dark) 0%, var(--color-text-mid) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-pink-accent), var(--color-gold-bright));
    margin: 0 auto;
    border-radius: 2px;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(145deg, var(--bg-card) 0%, rgba(45,31,40,0.7) 100%);
    border: 1px solid rgba(212, 168, 67, 0.2);
    border-radius: 24px;
    padding: 3rem 2.25rem;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
    position: relative;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(232, 69, 122, 0.5);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(232,69,122,0.12), inset 0 1px 0 rgba(255,255,255,0.07);
    background: linear-gradient(145deg, var(--bg-card-hover) 0%, rgba(53,31,45,0.9) 100%);
}

.card-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(232,69,122,0.25) 0%, rgba(155,21,69,0.25) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem auto;
    color: var(--color-pink-bright);
    transition: var(--transition-smooth);
    border: 1px solid rgba(232,69,122,0.3);
    box-shadow: 0 0 20px rgba(232,69,122,0.15);
}

.feature-card:hover .card-icon-wrapper {
    background: linear-gradient(135deg, var(--color-pink-accent), var(--color-burgundy));
    color: white;
    transform: rotate(360deg);
    box-shadow: 0 0 30px rgba(232,69,122,0.4);
}

.card-icon {
    width: 32px;
    height: 32px;
}

.card-title {
    font-size: 1.35rem;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.card-text {
    font-size: 0.93rem;
    line-height: 1.75;
    color: var(--color-text-mid);
}

/* --- Final Call To Action (CTA) --- */
.cta-section {
    padding: 8rem 2rem;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-section-alt) 100%);
}

.cta-content {
    max-width: 920px;
    width: 100%;
    background: 
        linear-gradient(135deg, #6B0E2F 0%, #3D0819 50%, #1A0810 100%);
    border: 1px solid rgba(212, 168, 67, 0.4);
    border-radius: 40px;
    padding: 6rem 4rem;
    text-align: center;
    box-shadow: 
        0 40px 80px rgba(0,0,0,0.6),
        0 0 0 1px rgba(255,255,255,0.05),
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 0 60px rgba(155,21,69,0.3);
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 60% 40%, rgba(232,69,122,0.14) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.cta-content::after {
    content: '✦';
    position: absolute;
    top: 28px;
    left: 48px;
    color: var(--color-gold-bright);
    font-size: 2rem;
    opacity: 0.6;
    animation: floatSparkle 4s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.cta-title {
    font-size: 3rem;
    color: #FFFFFF;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    font-weight: 800;
    text-shadow: 0 4px 24px rgba(0,0,0,0.4);
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2.75rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* --- Inner Routing Pages: Catalogo & Login --- */
.page-container {
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 75vh;
    background: var(--bg-primary);
}

.interactive-page-card {
    background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border: 1px solid rgba(212, 168, 67, 0.2);
    border-radius: 28px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.04);
    max-width: 700px;
    width: 100%;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
}

.page-badge {
    background: linear-gradient(135deg, rgba(232,69,122,0.2) 0%, rgba(155,21,69,0.2) 100%);
    color: var(--color-pink-bright);
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(232,69,122,0.3);
}

.page-title {
    font-size: 2.8rem;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
    font-weight: 800;
}

.page-description {
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    color: var(--color-text-mid);
}

.page-actions {
    margin-top: 3rem;
}

/* Skeleton Items in Catalog Preview */
.catalog-mockup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.catalog-item-skeleton {
    background: linear-gradient(145deg, var(--bg-card), var(--bg-secondary));
    border: 1px solid rgba(212, 168, 67, 0.25);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.skeleton-image {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.skeleton-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

.skeleton-price {
    font-size: 0.85rem;
    color: var(--color-pink-bright);
    font-weight: 700;
}

/* Login Form Styles */
.login-card {
    max-width: 460px;
    padding: 4rem 2.5rem;
}

.brand-sign {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-pink-bright), var(--color-gold-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
    margin-bottom: 1rem;
}

.login-form {
    text-align: left;
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text-mid);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 168, 67, 0.2);
    background: rgba(255,255,255,0.04);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-dark);
    outline: none;
    transition: var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--color-pink-accent);
    background: rgba(232,69,122,0.06);
    box-shadow: 0 0 0 3px rgba(232, 69, 122, 0.15);
}

.form-group input:disabled {
    cursor: not-allowed;
    background: rgba(255,255,255,0.02);
    color: var(--color-text-light);
    border-color: rgba(255,255,255,0.05);
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    margin-bottom: 2rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--color-text-mid);
}

.forgot-pwd {
    color: var(--color-gold-bright);
    font-weight: 500;
}

.forgot-pwd:hover {
    color: var(--color-pink-bright);
}

.login-footer {
    margin-top: 2rem;
    font-size: 0.85rem;
    text-align: center;
    color: var(--color-text-mid);
}

.link-register {
    color: var(--color-pink-bright);
    font-weight: 600;
}

.link-register:hover {
    border-bottom: 1px solid var(--color-pink-bright);
}

/* --- Footer --- */
.footer {
    background: linear-gradient(180deg, var(--bg-section-alt) 0%, #0E0A0D 100%);
    border-top: 1px solid rgba(212, 168, 67, 0.15);
    padding: 3rem 2rem;
    text-align: center;
    z-index: 1;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,168,67,0.4), transparent);
}

.footer p {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 3.25rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Responsive Navigation Menu */
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 73px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 73px);
        background: rgba(18, 10, 16, 0.97);
        backdrop-filter: blur(20px);
        box-shadow: -10px 10px 40px rgba(0,0,0,0.6);
        flex-direction: column;
        padding: 3rem 2rem;
        gap: 2rem;
        transition: var(--transition-smooth);
        z-index: 100;
        border-left: 1px solid rgba(212, 168, 67, 0.15);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .cta-content {
        padding: 4rem 2rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .catalog-mockup-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-actions {
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .visual-wrapper {
        width: 300px;
        height: 300px;
    }
    
    .gift-box-card {
        width: 270px;
        height: 270px;
        padding: 16px;
    }
}

/* ==========================================================================
   Customer Flow Specific Styles
   ========================================================================== */

/* --- Navigation Cart Badge --- */
.cart-badge {
    background: linear-gradient(135deg, var(--color-pink-accent), var(--color-burgundy));
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    margin-left: 4px;
    display: inline-block;
    vertical-align: middle;
    transition: var(--transition-fast);
    box-shadow: 0 2px 8px rgba(232,69,122,0.4);
}

.cart-badge.bump {
    transform: scale(1.3);
}

/* --- Login & Register Page layout --- */
.login-register-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border: 1px solid rgba(212, 168, 67, 0.2);
    border-radius: 28px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.04);
    overflow: hidden;
    padding: 3rem;
}

.auth-column {
    padding: 1rem;
}

.auth-column:first-child {
    border-right: 1px solid rgba(212, 168, 67, 0.12);
    padding-right: 3rem;
}

.auth-separator-mobile {
    display: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,168,67,0.3), transparent);
    margin: 2rem 0;
}

.guest-option-card {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(232,69,122,0.1) 0%, rgba(155,21,69,0.1) 100%);
    border: 1px solid rgba(232,69,122,0.25);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    margin-top: 1.5rem;
}

.guest-option-card p {
    font-size: 0.95rem;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
    font-weight: 500;
}

/* --- Catalog Section & Filters --- */
.catalog-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(212, 168, 67, 0.2);
    color: var(--color-text-mid);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    transition: var(--transition-fast);
    letter-spacing: 0.04em;
    backdrop-filter: blur(8px);
}

.filter-btn:hover {
    border-color: rgba(232, 69, 122, 0.5);
    color: var(--color-pink-bright);
    background: rgba(232,69,122,0.1);
    box-shadow: 0 4px 16px rgba(232,69,122,0.15);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--color-pink-accent), var(--color-burgundy));
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(232,69,122,0.4);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Product Card */
.product-card {
    background: linear-gradient(145deg, var(--bg-card) 0%, #251820 100%);
    border: 1px solid rgba(212, 168, 67, 0.18);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.04);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(232, 69, 122, 0.45);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px rgba(232,69,122,0.12), inset 0 1px 0 rgba(255,255,255,0.07);
}

.product-card-image {
    height: 220px;
    background: linear-gradient(135deg, rgba(232,69,122,0.2) 0%, rgba(155,21,69,0.25) 50%, rgba(26,17,24,0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    position: relative;
    border-bottom: 1px solid rgba(212, 168, 67, 0.12);
    transition: var(--transition-smooth);
}

.product-card:hover .product-card-image {
    font-size: 5rem;
    background: linear-gradient(135deg, rgba(232,69,122,0.3) 0%, rgba(155,21,69,0.35) 50%, rgba(26,17,24,0.7) 100%);
}

.product-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--color-burgundy) 0%, var(--color-pink-fuchsia) 100%);
    color: white;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(123, 24, 50, 0.2);
}

.product-card-info {
    padding: 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.product-card-price {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-pink-bright), var(--color-gold-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.product-card-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-text-mid);
    margin-bottom: 1.75rem;
    flex: 1;
}

/* --- Product Detail View (/producto/:slug) --- */
.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border: 1px solid rgba(212, 168, 67, 0.2);
    border-radius: 28px;
    padding: 3rem;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.04);
}

.product-detail-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.product-detail-image-box {
    height: 380px;
    background: linear-gradient(135deg, rgba(232,69,122,0.2) 0%, rgba(155,21,69,0.25) 50%, rgba(26,17,24,0.9) 100%);
    border: 1px solid rgba(212, 168, 67, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.product-includes-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(212, 168, 67, 0.15);
    border-radius: 16px;
    padding: 2rem;
}

.includes-title {
    font-size: 1.1rem;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(212, 168, 67, 0.15);
    padding-bottom: 0.5rem;
    font-weight: 700;
}

.includes-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.includes-list li {
    font-size: 0.9rem;
    color: var(--color-text-mid);
    position: relative;
    padding-left: 1.5rem;
}

.includes-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--color-gold-bright);
}

.product-detail-info {
    display: flex;
    flex-direction: column;
}

.detail-title {
    font-size: 2.5rem;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
    font-weight: 800;
    line-height: 1.15;
}

.detail-price {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-pink-bright), var(--color-gold-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.detail-desc {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: var(--color-text-mid);
}

.customization-section {
    border-top: 1px solid rgba(212, 168, 67, 0.15);
    padding-top: 2rem;
}

.customization-title {
    font-size: 1.25rem;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.qty-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(212, 168, 67, 0.35);
    background: rgba(255,255,255,0.05);
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-dark);
    transition: var(--transition-fast);
}

.qty-btn:hover {
    background: rgba(232,69,122,0.2);
    border-color: var(--color-pink-accent);
    color: var(--color-pink-bright);
}

.qty-input {
    width: 50px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    background: transparent;
    color: var(--color-text-dark);
}

/* Map Mockup Component */
.map-placeholder {
    height: 180px;
    background-color: #E2ECE9;
    border-radius: 12px;
    border: 1px dashed #A5C4B9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#A5C4B9 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

.map-marker {
    font-size: 2.2rem;
    z-index: 2;
    animation: markerBounce 1.5s ease-in-out infinite;
}

.map-text {
    font-size: 0.8rem;
    color: #4A635A;
    font-weight: 600;
    z-index: 2;
    margin-top: 0.5rem;
}

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

/* --- Carrito Page Layout --- */
.cart-container {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border: 1px solid rgba(212, 168, 67, 0.2);
    border-radius: 28px;
    padding: 3rem;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.04);
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
}

.cart-empty-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.cart-table-wrapper {
    margin-bottom: 2.5rem;
    overflow-x: auto;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.cart-table th {
    border-bottom: 2px solid rgba(212, 168, 67, 0.2);
    padding: 1rem;
    color: var(--color-text-mid);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cart-table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    vertical-align: top;
    color: var(--color-text-dark);
}

.cart-product-cell {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.cart-product-emoji {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(232,69,122,0.2), rgba(155,21,69,0.2));
    border: 1px solid rgba(232,69,122,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-product-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-text-dark);
}

.cart-product-meta {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 0.4rem;
    line-height: 1.5;
}

.cart-product-meta strong {
    color: var(--color-text-dark);
}

.cart-price {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.btn-remove {
    background: transparent;
    border: none;
    color: #cc7466;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-remove:hover {
    color: #a83d2c;
    text-decoration: underline;
}

.cart-total-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(155,21,69,0.2) 0%, rgba(107,14,47,0.2) 100%);
    border: 1px solid rgba(232,69,122,0.25);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.total-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-mid);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
}

.total-amount {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-pink-bright), var(--color-gold-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Order Submission Notification Overlay */
.order-success-card {
    text-align: center;
    padding: 2rem 1rem;
}

.success-icon {
    font-size: 5rem;
    animation: successPulse 1s cubic-bezier(0.16, 1, 0.3, 1) infinite alternate;
    display: inline-block;
    margin-bottom: 1.5rem;
}

@keyframes successPulse {
    from { transform: scale(1) rotate(-5deg); }
    to { transform: scale(1.15) rotate(5deg); }
}

.success-title {
    font-size: 2.2rem;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.success-text {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.7;
}

/* ==========================================================================
   Additional Mobile Adaptability Queries
   ========================================================================== */

@media (max-width: 992px) {
    .login-register-container {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 0;
    }
    
    .auth-column {
        padding: 0;
    }
    
    .auth-column:first-child {
        border-right: none;
        padding-right: 0;
    }
    
    .auth-separator-mobile {
        display: block;
    }
    
    .guest-option-card {
        grid-column: span 1;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
    
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2rem;
    }
    
    .product-detail-image-box {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cart-table th:nth-child(2),
    .cart-table td:nth-child(2) {
        display: none; /* Hide individual price column on small tablets to save space */
    }
    
    .cart-container {
        padding: 2rem 1.25rem;
    }
    
    .cart-table td {
        padding: 1.25rem 0.5rem;
    }
    
    .cart-product-cell {
        gap: 0.75rem;
    }
    
    .cart-product-emoji {
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }
    
    .cart-product-name {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cart-total-bar {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
        text-align: center;
        padding: 1.25rem;
    }
}

/* --- Extras Available Section --- */
.extras-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.extra-checkbox-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(212, 168, 67, 0.15);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    user-select: none;
}

.extra-checkbox-card:hover {
    border-color: rgba(232,69,122,0.4);
    background: rgba(232,69,122,0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(232,69,122,0.12);
}

.extra-checkbox-card.selected {
    border-color: var(--color-pink-accent);
    background: rgba(232,69,122,0.12);
    box-shadow: 0 4px 16px rgba(232,69,122,0.2);
}

.extra-checkbox-card input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-pink-accent);
    cursor: pointer;
}

.extra-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.extra-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.extra-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-pink-bright);
    margin-top: 0.1rem;
}

.detail-price-calculation {
    background: linear-gradient(135deg, rgba(155,21,69,0.2) 0%, rgba(107,14,47,0.2) 100%);
    border: 1px solid rgba(232,69,122,0.25);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.calc-label {
    font-size: 0.9rem;
    color: var(--color-text-mid);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.calc-total {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-pink-bright), var(--color-gold-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Toast Notifications (Quick Add) --- */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, rgba(26,17,24,0.98), rgba(36,24,32,0.98));
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(232,69,122,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(232,69,122,0.4);
    backdrop-filter: blur(20px);
    transform: translateY(100px);
    opacity: 0;
    animation: toastSlideIn 3.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-icon {
    color: var(--color-pink-accent);
    font-size: 1.2rem;
}

@keyframes toastSlideIn {
    0% { transform: translateY(100px); opacity: 0; }
    10% { transform: translateY(0); opacity: 1; }
    90% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(-20px); opacity: 0; }
}

    .extras-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* --- Checkout Layout & Form Enhancements --- */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 2.5rem;
    width: 100%;
    align-items: start;
}

.checkout-left-panel {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.checkout-right-panel {
    position: sticky;
    top: 100px;
    background: linear-gradient(145deg, rgba(155,21,69,0.15) 0%, rgba(36,24,32,0.8) 100%);
    border: 1px solid rgba(212, 168, 67, 0.25);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
}

/* Editable in-cart elements */
.cart-editable-textarea {
    width: 100%;
    min-height: 55px;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid rgba(212, 168, 67, 0.2);
    background: rgba(255,255,255,0.04);
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--color-text-dark);
    resize: vertical;
    transition: var(--transition-fast);
    margin-top: 5px;
    outline: none;
}

.cart-editable-textarea:focus {
    border-color: var(--color-pink-accent);
    background: rgba(232,69,122,0.06);
    box-shadow: 0 0 0 3px rgba(232,69,122,0.15);
}

.delivery-details-card {
    background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border: 1px solid rgba(212, 168, 67, 0.2);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 12px 36px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.03);
}

/* Invoice Summary Item block */
.billing-summary-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(212, 168, 67, 0.15);
    padding-bottom: 1.5rem;
}

.billing-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--color-text-mid);
}

.billing-item.billing-total {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-pink-bright), var(--color-gold-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0.5rem;
}

.billing-payment-notice {
    background: rgba(212, 168, 67, 0.08);
    border-left: 3px solid var(--color-gold);
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--color-text-mid);
    margin-bottom: 2rem;
}

.form-group-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 1.5rem 0;
}

/* Validation Alert Banner */
.validation-alert-banner {
    background: rgba(220,38,38,0.1);
    border: 1px solid rgba(220,38,38,0.35);
    color: #FCA5A5;
    border-radius: 12px;
    padding: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Simulated Receipt Dashboard Box */
.receipt-box {
    background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border: 1px solid rgba(212, 168, 67, 0.25);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    margin: 2rem auto;
    padding: 2.5rem 2rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.04);
    text-align: left;
    position: relative;
}

.receipt-header {
    border-bottom: 1px dashed rgba(212, 168, 67, 0.3);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.receipt-number {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-gold-bright);
    margin-top: 0.25rem;
}

.receipt-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    border-bottom: 1px dotted rgba(255,255,255,0.06);
    padding-bottom: 0.5rem;
    color: var(--color-text-mid);
}

.receipt-row strong {
    color: var(--color-text-dark);
}

.receipt-status-badge {
    background-color: #FEF9E7;
    border: 1px solid #F9E79F;
    color: #B7950B;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}

@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-right-panel {
        position: static;
        margin-top: 1.5rem;
    }
}

/* ==========================================================================
   Happy Days - Admin Panel Styles
   Design: Modern, Clean, Professional & Organized
   ========================================================================/* Body layout modification when inside admin */
.admin-body-style {
    background-color: #12100F !important; /* Premium Carbon Black */
    color: #E5E7EB !important;
    display: block !important;
}

/* Outer layout wrapper */
.admin-layout-wrapper {
    display: flex;
    min-height: 100vh;
    font-family: var(--font-body);
}

/* Sidebar Fijo */
.admin-sidebar {
    width: 260px;
    background-color: #191615; /* Slate Black Carbon */
    color: #f3f4f6;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
    border-right: 1px solid #2B2523;
}

.admin-sidebar-brand {
    padding: 2rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: bold;
    border-bottom: 1px solid #2B2523;
}

.admin-sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 0.75rem;
    gap: 0.5rem;
    flex: 1;
}

.admin-sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    color: #d1d5db;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.admin-sidebar-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.admin-sidebar-item.active {
    background: linear-gradient(135deg, var(--color-pink-accent) 0%, var(--color-pink-fuchsia) 100%);
    color: #fff;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(224, 90, 128, 0.3);
}

.admin-sidebar-icon {
    font-size: 1.15rem;
}

.admin-sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid #2B2523;
}

/* Contenedor de contenido */
.admin-main-container {
    flex: 1;
    margin-left: 260px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #12100F;
}

.admin-main-header {
    background-color: #191615;
    padding: 1.5rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #2B2523;
}

.admin-header-title-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.admin-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-pink-accent);
    letter-spacing: 0.08em;
}

.admin-title {
    font-size: 1.75rem;
    color: #FFFFFF;
    margin-bottom: 2px;
    font-weight: 700;
}

.admin-description {
    font-size: 0.85rem;
    color: #A39690;
}

.admin-header-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #25201E;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    border: 1px solid #38302D;
}

.profile-avatar {
    font-size: 1.25rem;
}

.profile-name {
    font-size: 0.85rem;
    font-weight: bold;
    color: #E5E7EB;
}

.admin-main-content {
    padding: 2.5rem;
    flex: 1;
    z-index: 1;
}

/* Panel Box Containers */
.admin-panel-box {
    background-color: #191615;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    border: 1px solid #2B2523;
    margin-bottom: 2rem;
}

.panel-box-header {
    border-bottom: 1px solid #2B2523;
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
}

.panel-box-title {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: bold;
    color: #FFFFFF;
}

/* Dashboard Statistics Cards Grid */
.admin-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stats-card {
    background-color: #191615;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border: 1px solid #2B2523;
}

.stats-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stats-icon.pending { background-color: rgba(217, 119, 6, 0.15); color: #F59E0B; }
.stats-icon.delivered { background-color: rgba(5, 150, 105, 0.15); color: #10B981; }
.stats-icon.active-prods { background-color: rgba(37, 99, 235, 0.15); color: #3B82F6; }
.stats-icon.oos-prods { background-color: rgba(220, 38, 38, 0.15); color: #EF4444; }
.stats-icon.deliveries { background-color: rgba(124, 58, 237, 0.15); color: #8B5CF6; }

.stats-info {
    display: flex;
    flex-direction: column;
}

.stats-label {
    font-size: 0.8rem;
    color: #A39690;
    font-weight: 500;
}

.stats-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFFFFF;
    line-height: 1.2;
}

/* Beautiful Admin Data Tables */
.admin-table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.admin-table th {
    background-color: #25201E;
    padding: 0.85rem 1rem;
    color: #D1D5DB;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #38302D;
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid #25201E;
    vertical-align: middle;
    color: #E5E7EB;
}

.admin-table tr:hover td {
    background-color: #1E1A19;
}

/* Badge tags */
.admin-category-badge {
    background-color: #2E2724;
    color: #D1D5DB;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}ht: 600;
}

.admin-status-badge {
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
}

.admin-status-badge.status-pending { background-color: #fef3c7; color: #b45309; }
.admin-status-badge.status-confirmed { background-color: #dbeafe; color: #1d4ed8; }
.admin-status-badge.status-prep { background-color: #e0f2fe; color: #0369a1; }
.admin-status-badge.status-route { background-color: #f3e8ff; color: #6d28d9; }
.admin-status-badge.status-delivered { background-color: #d1fae5; color: #047857; }
.admin-status-badge.status-cancelled { background-color: #fee2e2; color: #b91c1c; }

.price-highlight {
    color: var(--color-pink-accent);
}

/* Modales Administrativos */
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 27, 26, 0.5); /* Semi-transparent backdrop */
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 1.5rem;
}

.admin-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.admin-modal-content {
    background-color: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.admin-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-modal-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #111827;
}

.admin-modal-close {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #9ca3af;
    line-height: 1;
    transition: var(--transition-fast);
}

.admin-modal-close:hover {
    color: #111827;
}

.admin-modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

/* Animations for deliveries visual map */
@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-8px); }
}

/* Responsive Adaptability */
@media (max-width: 1024px) {
    .admin-sidebar {
        width: 70px;
    }
    
    .admin-sidebar-brand {
        padding: 1.5rem 0.5rem;
        text-align: center;
    }
    
    .admin-sidebar-brand .logo-accent {
        font-size: 1.2rem;
    }
    
    .admin-sidebar-brand span:not(.logo-accent), 
    .admin-sidebar-label, 
    .admin-sidebar-footer {
        display: none !important;
    }
    
    .admin-main-container {
        margin-left: 70px;
    }
    
    .admin-sidebar-item {
        justify-content: center;
        padding: 0.85rem;
    }
    
    .admin-sidebar-icon {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .admin-main-header {
        padding: 1rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .admin-header-profile {
        width: 100%;
        justify-content: center;
    }
    
    .admin-main-content {
        padding: 1.25rem;
    }
    
    .admin-panel-box {
        padding: 1.25rem;
    }
}

/* --- Elegant Placeholder Styles --- */
.elegant-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(232,69,122,0.2) 0%, rgba(155,21,69,0.25) 50%, rgba(26,17,24,0.9) 100%);
    transition: var(--transition-smooth);
}

.elegant-placeholder.large {
    min-height: 380px;
}

.placeholder-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    z-index: 1;
}

.placeholder-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.placeholder-emoji {
    filter: drop-shadow(0 6px 20px rgba(232,69,122,0.3));
    transition: var(--transition-smooth);
    display: inline-block;
}

.product-card:hover .placeholder-emoji {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 8px 28px rgba(232,69,122,0.5));
}

.placeholder-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold-bright);
    background: rgba(255, 255, 255, 0.06);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    border: 1px solid rgba(212, 168, 67, 0.25);
    backdrop-filter: blur(8px);
}

.placeholder-brand {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-style: italic;
    color: var(--color-text-mid);
    opacity: 0.7;
}

.elegant-placeholder.large .placeholder-brand {
    font-size: 1.1rem;
}

/* --- Catalog page wrapper background --- */
.catalog-page-wrapper,
.cart-page-wrapper,
.product-detail-wrapper,
.login-page-wrapper {
    background: var(--bg-primary);
    padding: 5rem 2rem;
    min-height: 80vh;
}

/* Section title overrides for dark theme --- */
.customization-title {
    font-size: 1.2rem;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

/* Cart product name on dark bg */
.cart-product-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-text-dark);
}

.cart-product-meta {
    font-size: 0.8rem;
    color: var(--color-text-mid);
    margin-top: 0.4rem;
    line-height: 1.5;
}

.cart-price {
    font-size: 1.05rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-pink-bright), var(--color-gold-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile bar on dark nav */
.mobile-toggle .bar {
    background-color: var(--color-text-dark);
}

/* ==========================================================================
   Happy Days - Logo Palette Refresh
   ========================================================================== */
:root {
    --bg-primary: #fffdf8;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #fff8dc;
    --bg-section-alt: #fff7c7;

    --color-pink-soft: rgba(236, 20, 137, 0.1);
    --color-pink-accent: #ec1489;
    --color-pink-fuchsia: #ef0f65;
    --color-pink-bright: #ff7dbd;
    --color-burgundy: #662d85;
    --color-burgundy-deep: #4c246d;
    --color-gold: #ffd23f;
    --color-gold-bright: #ffe36a;
    --color-gold-muted: #f2b705;
    --color-green: #8bd400;
    --color-coral: #ff6b35;
    --color-turquoise: #22b8c7;
    --color-sky: #22aeea;

    --color-text-dark: #191919;
    --color-text-mid: #4c4c4c;
    --color-text-light: #767676;
    --color-beige: rgba(25, 25, 25, 0.1);

    --shadow-sm: 0 4px 14px rgba(25, 25, 25, 0.08);
    --shadow-md: 0 14px 32px rgba(25, 25, 25, 0.11);
    --shadow-lg: 0 28px 70px rgba(25, 25, 25, 0.14);
    --shadow-pink: 0 12px 28px rgba(236, 20, 137, 0.22);
    --shadow-gold: 0 12px 28px rgba(255, 210, 63, 0.36);
}

body {
    background-color: var(--bg-primary);
    background-image:
        radial-gradient(ellipse at 14% 6%, rgba(255, 210, 63, 0.38) 0%, transparent 34%),
        radial-gradient(ellipse at 88% 12%, rgba(34, 184, 199, 0.14) 0%, transparent 34%),
        radial-gradient(ellipse at 78% 88%, rgba(236, 20, 137, 0.09) 0%, transparent 34%);
}

.decorations-container {
    position: fixed;
    inset: 0;
    opacity: 0.55;
}

.bubble {
    background: radial-gradient(circle, rgba(255, 210, 63, 0.38) 0%, rgba(255, 210, 63, 0) 70%);
}

.header {
    background-color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(25, 25, 25, 0.08);
    box-shadow: 0 8px 24px rgba(25, 25, 25, 0.08);
}

.logo {
    color: var(--color-text-dark);
}

.logo-accent {
    background: linear-gradient(90deg, #ec1489 0%, #8bd400 36%, #8a62c4 62%, #ff6b35 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.nav-link {
    color: var(--color-text-mid);
}

.nav-link::after,
.nav-link.active::after {
    background: linear-gradient(90deg, #ec1489, #8bd400, #22b8c7, #22aeea);
}

.nav-link.active,
.nav-link:hover {
    color: var(--color-pink-accent);
}

.mobile-toggle .bar {
    background-color: var(--color-text-dark);
}

.btn-primary,
.filter-btn.active {
    background: linear-gradient(135deg, #ec1489 0%, #ff6b35 55%, #ffd23f 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: var(--shadow-pink);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ef0f65 0%, #ec1489 52%, #662d85 100%);
    box-shadow: 0 14px 34px rgba(236, 20, 137, 0.28);
}

.btn-secondary {
    background: #ffffff;
    border-color: #22b8c7;
    color: #127988;
    box-shadow: 0 8px 20px rgba(34, 184, 199, 0.14);
}

.btn-secondary:hover {
    background: #e8fbfd;
    border-color: #22aeea;
    color: #066b9b;
}

.hero-section {
    background:
        radial-gradient(ellipse at 76% 34%, rgba(255, 210, 63, 0.75) 0%, transparent 42%),
        radial-gradient(ellipse at 18% 82%, rgba(34, 184, 199, 0.16) 0%, transparent 38%),
        linear-gradient(135deg, #fffdf8 0%, #fff7c7 55%, #ffffff 100%);
    border-bottom: 1px solid rgba(25, 25, 25, 0.08);
}

.hero-section::before {
    opacity: 0.35;
}

.hero-badge {
    background: #ffffff;
    color: #662d85;
    border-color: rgba(102, 45, 133, 0.16);
    box-shadow: var(--shadow-sm);
}

.hero-title {
    background: linear-gradient(90deg, #ec1489 0%, #8bd400 24%, #8a62c4 48%, #ff6b35 68%, #22b8c7 84%, #22aeea 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: none;
}

.hero-subtitle {
    color: #191919;
}

.hero-text,
.link-guest {
    color: var(--color-text-mid);
}

.gift-box-card {
    background: linear-gradient(145deg, #ffe36a 0%, #ffd23f 70%, #ffc72f 100%);
    border-color: rgba(242, 183, 5, 0.45);
    box-shadow: var(--shadow-gold);
}

.box-lid {
    background: linear-gradient(135deg, #ec1489 0%, #ff7dbd 100%);
    border-color: rgba(236, 20, 137, 0.2);
}

.catalog-page-wrapper,
.cart-page-wrapper,
.product-detail-wrapper,
.login-page-wrapper {
    background:
        radial-gradient(ellipse at 10% 0%, rgba(255, 210, 63, 0.28) 0%, transparent 32%),
        radial-gradient(ellipse at 95% 22%, rgba(34, 174, 234, 0.1) 0%, transparent 32%),
        var(--bg-primary);
}

.filter-btn {
    background: #ffffff;
    border-color: rgba(25, 25, 25, 0.1);
    color: var(--color-text-mid);
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
    background: #fff8dc;
    border-color: rgba(236, 20, 137, 0.22);
    color: var(--color-pink-accent);
}

.product-card,
.product-detail-container,
.cart-container,
.login-register-container,
.receipt-box,
.admin-panel-box {
    background: var(--bg-card);
    border-color: rgba(25, 25, 25, 0.09);
    box-shadow: var(--shadow-md);
}

.product-card:hover {
    border-color: rgba(236, 20, 137, 0.22);
    box-shadow: 0 22px 48px rgba(25, 25, 25, 0.13), 0 12px 28px rgba(236, 20, 137, 0.1);
}

.product-card-image,
.product-detail-image-box,
.elegant-placeholder {
    background:
        radial-gradient(circle at 74% 24%, rgba(236, 20, 137, 0.18) 0%, transparent 18%),
        linear-gradient(145deg, #ffe36a 0%, #ffd23f 72%, #fff3a6 100%);
    border-color: rgba(242, 183, 5, 0.28);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.placeholder-tag {
    background: #ffffff;
    color: #662d85;
    border-color: rgba(102, 45, 133, 0.14);
}

.placeholder-brand {
    color: var(--color-text-dark);
}

.product-card-badge {
    background: linear-gradient(135deg, #662d85 0%, #ec1489 100%);
}

.product-card-price,
.detail-price,
.cart-price {
    background: linear-gradient(135deg, #ec1489 0%, #ff6b35 55%, #662d85 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.product-includes-card,
.extra-checkbox-card,
.checkout-left-panel,
.checkout-right-panel,
.cart-total-bar,
.guest-option-card,
.auth-column {
    background: #ffffff;
    border-color: rgba(25, 25, 25, 0.09);
    box-shadow: var(--shadow-sm);
}

.includes-list li::before {
    color: var(--color-pink-accent);
}

.qty-btn {
    background: #fff8dc;
    border-color: rgba(242, 183, 5, 0.35);
}

.qty-btn:hover {
    background: #ffe36a;
    color: #191919;
}

.cart-table th {
    border-bottom-color: rgba(25, 25, 25, 0.12);
}

.cart-table td {
    border-bottom-color: rgba(25, 25, 25, 0.08);
}

input,
textarea,
select {
    background-color: #ffffff;
    color: var(--color-text-dark);
}

.footer {
    background: #ffffff;
    border-top: 1px solid rgba(25, 25, 25, 0.08);
}

/* Logo and final light-theme cleanup */
.site-logo-img {
    display: block;
    width: auto;
    height: clamp(46px, 5vw, 58px);
}

.hero-logo-img {
    display: block;
    width: min(420px, 88vw);
    height: auto;
    margin: 0 0 1.5rem;
}

.hero-logo-img + .hero-title {
    display: none;
}

.header-container {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.features-section {
    background:
        radial-gradient(ellipse at 16% 10%, rgba(255, 210, 63, 0.34) 0%, transparent 34%),
        linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
    border-color: rgba(25, 25, 25, 0.08);
}

.features-section::before {
    background: linear-gradient(90deg, transparent, rgba(236, 20, 137, 0.26), rgba(34, 184, 199, 0.26), transparent);
}

.feature-card {
    background: #ffffff;
    border-color: rgba(25, 25, 25, 0.08);
    box-shadow: 0 18px 42px rgba(25, 25, 25, 0.1);
    backdrop-filter: none;
}

.feature-card:hover {
    background: #fffdf8;
    border-color: rgba(236, 20, 137, 0.18);
    box-shadow: 0 22px 48px rgba(25, 25, 25, 0.12);
}

.card-icon-wrapper {
    background: linear-gradient(135deg, rgba(255, 210, 63, 0.75), rgba(255, 125, 189, 0.28));
    border-color: rgba(236, 20, 137, 0.18);
    color: var(--color-pink-accent);
    box-shadow: 0 12px 30px rgba(255, 210, 63, 0.22);
}

.feature-card:hover .card-icon-wrapper {
    background: linear-gradient(135deg, #ec1489, #662d85);
    box-shadow: 0 14px 32px rgba(236, 20, 137, 0.22);
}

.box-body {
    background: rgba(255, 255, 255, 0.42);
    border-color: rgba(25, 25, 25, 0.08);
    box-shadow: inset 0 2px 8px rgba(255, 255, 255, 0.45);
}

.gift-tag {
    background: #ffffff;
    border-color: rgba(236, 20, 137, 0.22);
    box-shadow: 0 8px 20px rgba(25, 25, 25, 0.12);
}

.tag-text,
.box-label p {
    color: var(--color-pink-accent);
}

.interactive-page-card,
.login-card,
.order-success-card,
.delivery-details-card {
    background: #ffffff;
    border-color: rgba(25, 25, 25, 0.09);
    box-shadow: var(--shadow-md);
}

.toast-notification {
    background: rgba(255, 255, 255, 0.97);
    color: var(--color-text-dark);
    border-color: rgba(236, 20, 137, 0.18);
    box-shadow: 0 16px 36px rgba(25, 25, 25, 0.16);
}

.cta-section {
    background: linear-gradient(180deg, #ffffff 0%, #fff7c7 100%);
}

.cta-content {
    background:
        radial-gradient(ellipse at 84% 12%, rgba(34, 184, 199, 0.24), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #fff7c7 100%);
    border-color: rgba(25, 25, 25, 0.08);
    box-shadow: var(--shadow-lg);
}

.cta-title {
    color: var(--color-text-dark);
    text-shadow: none;
}

.cta-text {
    color: var(--color-text-mid);
}

@media (max-width: 768px) {
    .site-logo-img {
        width: auto;
        height: 44px;
    }

    .hero-logo-img {
        width: min(330px, 86vw);
    }

    .nav-menu {
        display: none;
        top: 0;
        right: 0;
        transform: translateX(100%);
        width: min(86vw, 340px);
        max-width: none;
        height: 100dvh;
        background:
            radial-gradient(ellipse at 20% 0%, rgba(255, 210, 63, 0.34) 0%, transparent 38%),
            linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
        backdrop-filter: blur(18px);
        border-left: 1px solid rgba(25, 25, 25, 0.08);
        box-shadow: -18px 0 46px rgba(25, 25, 25, 0.16);
        padding: 7.5rem 2rem 2.5rem;
        gap: 1.6rem;
    }

    .nav-menu.active {
        display: flex;
        transform: translateX(0);
    }

    .nav-menu .nav-link {
        color: var(--color-text-dark);
        font-size: 1rem;
        font-weight: 800;
        opacity: 1;
    }

    .nav-menu .nav-link.active {
        color: var(--color-pink-accent);
    }

    .nav-menu .nav-link::after {
        background: linear-gradient(90deg, #ec1489, #8bd400, #22b8c7);
    }

    .mobile-toggle.active .bar {
        background-color: var(--color-text-dark);
    }
}

/* Hero layout refinement and seasonal promo carousel */
.hero-section {
    padding: clamp(4.5rem, 8vw, 7rem) 2rem;
    min-height: calc(100vh - 90px);
}

.hero-container {
    grid-template-columns: minmax(320px, 0.85fr) minmax(360px, 1.15fr);
    gap: clamp(3rem, 7vw, 6rem);
}

.hero-content {
    max-width: 520px;
}

.badge-container {
    margin-bottom: 1rem;
}

.hero-logo-img {
    width: min(330px, 82vw);
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    max-width: 430px;
    margin-bottom: 1.45rem;
    line-height: 1.55;
}

.hero-text {
    max-width: 450px;
    margin-bottom: 2rem;
}

.hero-promo-visual + .hero-visual {
    display: none;
}

.promo-fusion-carousel {
    width: min(680px, 100%);
    aspect-ratio: 16 / 9;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 30px;
    background:
        radial-gradient(ellipse at 16% 18%, rgba(236, 20, 137, 0.22), transparent 32%),
        radial-gradient(ellipse at 82% 78%, rgba(34, 174, 234, 0.2), transparent 34%),
        linear-gradient(135deg, #fff7c7 0%, #ffffff 56%, #e8fbfd 100%);
    border: 1px solid rgba(255, 210, 63, 0.55);
    box-shadow: 0 30px 70px rgba(25, 25, 25, 0.16), 0 16px 36px rgba(255, 210, 63, 0.18);
}

.promo-fusion-glow {
    position: absolute;
    inset: 0;
    background:
        conic-gradient(from 120deg, rgba(236,20,137,0.14), rgba(139,212,0,0.12), rgba(34,184,199,0.16), rgba(255,107,53,0.13), rgba(236,20,137,0.14));
    filter: blur(30px);
    opacity: 0.78;
    animation: promoGlowSpin 14s linear infinite;
    z-index: -1;
}

.promo-slide {
    position: absolute;
    inset: 18px;
    border-radius: 22px;
    overflow: hidden;
    opacity: 0;
    transform: scale(1.04);
    filter: blur(10px);
    animation: promoFusionCycle calc(var(--slide-total) * 5s) ease-in-out infinite;
    animation-delay: calc(var(--slide-index) * 5s);
}

.promo-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.promo-slide-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.7rem;
    padding: clamp(1.6rem, 4vw, 3rem);
    background:
        linear-gradient(115deg, rgba(255,255,255,0.94) 0%, rgba(255,247,199,0.88) 54%, rgba(232,251,253,0.9) 100%),
        radial-gradient(circle at 84% 18%, rgba(236,20,137,0.22), transparent 24%);
}

.promo-slide-placeholder span {
    width: max-content;
    max-width: 100%;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: #ffffff;
    color: var(--color-pink-accent);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}

.promo-slide-placeholder strong {
    max-width: 520px;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 1;
    color: var(--color-text-dark);
}

.promo-slide-placeholder small {
    max-width: 420px;
    color: var(--color-text-mid);
    font-size: clamp(0.92rem, 1.6vw, 1.05rem);
    line-height: 1.7;
}

.promo-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: flex;
    gap: 0.55rem;
    z-index: 3;
}

.promo-dots span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(25, 25, 25, 0.24);
}

.promo-dots span.active {
    width: 24px;
    background: linear-gradient(90deg, #ec1489, #22b8c7);
}

.admin-promo-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.8rem;
    margin: 0.75rem 0;
}

.admin-promo-preview {
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(25, 25, 25, 0.1);
    background: #fff8dc;
}

.admin-promo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes promoFusionCycle {
    0%, 100% { opacity: 0; transform: scale(1.04); filter: blur(10px); }
    8%, 42% { opacity: 1; transform: scale(1); filter: blur(0); }
    50% { opacity: 0; transform: scale(0.98); filter: blur(8px); }
}

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

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        max-width: 620px;
        margin: 0 auto;
        align-items: center;
        text-align: center;
    }

    .hero-text,
    .hero-subtitle {
        max-width: 560px;
    }

    .promo-fusion-carousel {
        width: min(680px, 100%);
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 1.25rem;
    }

    .hero-logo-img {
        width: min(290px, 82vw);
    }

    .promo-fusion-carousel {
        border-radius: 22px;
    }

    .promo-slide {
        inset: 12px;
        border-radius: 16px;
    }
}

/* Admin light theme */
.admin-body-style {
    background:
        radial-gradient(ellipse at 8% 0%, rgba(255, 210, 63, 0.24) 0%, transparent 32%),
        linear-gradient(180deg, #fffdf8 0%, #ffffff 100%) !important;
    color: var(--color-text-dark) !important;
}

.admin-sidebar {
    background:
        radial-gradient(ellipse at 30% 0%, rgba(255, 210, 63, 0.32) 0%, transparent 42%),
        linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
    color: var(--color-text-dark);
    border-right: 1px solid rgba(25, 25, 25, 0.08);
    box-shadow: 12px 0 34px rgba(25, 25, 25, 0.08);
}

.admin-sidebar-brand {
    border-bottom: 1px solid rgba(25, 25, 25, 0.08);
    color: var(--color-text-dark);
}

.admin-sidebar-item {
    color: var(--color-text-mid);
    font-weight: 700;
}

.admin-sidebar-item:hover {
    background-color: rgba(255, 210, 63, 0.24);
    color: var(--color-text-dark);
}

.admin-sidebar-item.active {
    background: linear-gradient(135deg, #ec1489 0%, #ff6b35 55%, #ffd23f 100%);
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(236, 20, 137, 0.22);
}

.admin-sidebar-footer {
    border-top: 1px solid rgba(25, 25, 25, 0.08);
}

.admin-sidebar-footer .btn {
    background: #ffffff !important;
    color: #127988 !important;
    border-color: #22b8c7 !important;
}

.admin-main-container {
    background:
        radial-gradient(ellipse at 88% 6%, rgba(34, 184, 199, 0.12) 0%, transparent 34%),
        linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
}

.admin-main-header {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(25, 25, 25, 0.08);
    box-shadow: 0 8px 24px rgba(25, 25, 25, 0.06);
}

.admin-title,
.panel-box-title,
.stats-value,
.profile-name {
    color: var(--color-text-dark);
}

.admin-description,
.stats-label {
    color: var(--color-text-mid);
}

.admin-header-profile {
    background: #ffffff;
    border: 1px solid rgba(25, 25, 25, 0.08);
    box-shadow: var(--shadow-sm);
}

.admin-panel-box,
.stats-card {
    background: #ffffff;
    border: 1px solid rgba(25, 25, 25, 0.08);
    box-shadow: 0 14px 34px rgba(25, 25, 25, 0.08);
}

.panel-box-header {
    border-bottom: 1px solid rgba(25, 25, 25, 0.08);
}

.admin-table th {
    background: #fff8dc;
    color: var(--color-text-dark);
    border-bottom: 1px solid rgba(25, 25, 25, 0.1);
}

.admin-table td {
    color: var(--color-text-dark);
    border-bottom: 1px solid rgba(25, 25, 25, 0.07);
}

.admin-table tr:hover td {
    background-color: #fffdf8;
}

.admin-category-badge {
    background-color: #e8fbfd;
    color: #127988;
}

.admin-main-content input,
.admin-main-content textarea,
.admin-main-content select {
    background: #ffffff !important;
    color: var(--color-text-dark) !important;
    border-color: rgba(25, 25, 25, 0.12) !important;
}

.admin-modal-content {
    background: #ffffff;
}

.admin-modal-body,
.admin-modal-title {
    color: var(--color-text-dark);
}

@media (max-width: 1024px) {
    .admin-sidebar {
        box-shadow: 8px 0 24px rgba(25, 25, 25, 0.08);
    }
}
