/* ============================================================
   Animaz Pet Shop — Glassmorphism Dark Premium Theme
   Senior Frontend / UX-UI Design System
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ---- CSS Custom Properties (Design Tokens) ---- */
:root {
    /* Animaz Brand Purple Palette */
    --animaz-purple: #9e71ff;
    --animaz-purple-dark: #3C157A;
    --animaz-purple-deep: #270d50;
    --animaz-purple-light: #af8aff;
    
    /* Animaz Brand Lime Green (Logo) */
    --animaz-lime: #B8E62E;
    --animaz-lime-dark: #8EBD00;

    /* Copa do Mundo Brasil — Accent Colors */
    --accent-orange: #FF7300;
    --accent-orange-dark: #D66000;
    --brasil-yellow: #FFDF00;
    --brasil-green: #009B3A;
    --brasil-blue: #002776;

    /* Glassmorphism Tokens */
    --bg-glass: rgba(255, 255, 255, 0.04);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);
    --border-glass: rgba(158, 113, 255, 0.12);
    --border-glass-hover: rgba(158, 113, 255, 0.4);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(158, 113, 255, 0.35);
    --shadow-glow-orange: 0 0 25px rgba(255, 115, 0, 0.4);
    --shadow-glow-green: 0 0 20px rgba(0, 155, 58, 0.35);
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Red Hat Display', 'Outfit', system-ui, -apple-system, sans-serif;
    background-color: #0D0520;
    background-image:
        radial-gradient(ellipse at 10% 0%, rgba(60, 21, 122, 0.6) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 5%, rgba(158, 113, 255, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(39, 13, 80, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 100%, rgba(255, 115, 0, 0.06) 0%, transparent 40%),
        radial-gradient(ellipse at 0% 80%, rgba(39, 13, 80, 0.7) 0%, transparent 50%);
    background-attachment: fixed;
    color: #e2e0ea;
    min-height: 100vh;
    overflow-x: hidden;
}

::selection {
    background: var(--animaz-purple);
    color: #fff;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #080412; }
::-webkit-scrollbar-thumb { background: var(--animaz-purple-light); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--animaz-purple); }

/* ---- Hidden utility ---- */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(8, 4, 18, 0.6);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid var(--border-glass);
    z-index: 100;
    transition: var(--transition);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: var(--transition);
}
.header-logo:hover img {
    opacity: 1;
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(158,113,255,0.3));
}

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 480px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-bar .search-icon {
    position: absolute;
    left: 18px;
    color: #666;
    pointer-events: none;
    transition: var(--transition);
}

.search-bar input {
    width: 100%;
    height: 46px;
    padding: 0 48px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.search-bar input::placeholder { color: #555; }
.search-bar input:focus {
    border-color: rgba(158, 113, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-glow);
}
.search-bar input:focus ~ .search-icon { color: var(--animaz-purple-light); }

#search-clear {
    position: absolute;
    right: 16px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #888;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
#search-clear:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* Cart Button */
.cart-btn {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    transition: var(--transition);
}
.cart-btn:hover {
    background: var(--bg-glass-hover);
    box-shadow: var(--shadow-glow);
}
.cart-btn svg { width: 24px; height: 24px; }

#cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent-orange);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border: 2px solid #080412;
}
#cart-badge.pulse {
    animation: pulseAnim 0.4s ease;
}

/* ============================================================
   HERO SECTION — Banner Profissional
   ============================================================ */
.hero {
    position: relative;
    margin-top: 80px; /* Compensa a altura do header fixo (80px) */
    padding: 0;
    background: #080412;
}

.hero-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 450px; /* Altura fixa profissional: não fica enorme, nem muda de tamanho */
    background: #080412;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Imagem sempre 100% visível, nunca corta nativos */
.banner-slide img.banner-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* FUNDO DESTACANDO A IMAGEM COM AS CORES (Design de Marketing Profissional) */
.slide-copa    { background-color: #c3e34a; } /* Verde limão vibrante */
.slide-banho   { background-color: #d4ee5e; } /* Verde claro combinando */
.slide-func    { background-color: #1a0b2e; } /* Roxo institucional Animaz */

/* ============================================================
   HTML BANNER - FUNCIONAMENTO (Design Premium sobre Arte Original)
   ============================================================ */
.premium-func-banner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end; /* Posicionado embaixo */
    justify-content: flex-end; /* Posicionado à direita para cobrir os textos antigos */
    padding: 24px 5%; /* Margem de respiro */
    z-index: 2;
}

.premium-func-card {
    /* Fundo sólido e escuro para cobrir totalmente o texto defasado da imagem */
    background: #1a0b2e; 
    border: 2px solid var(--animaz-lime); /* Borda na cor da marca para destacar */
    border-radius: 20px;
    padding: 24px 32px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.8), 0 0 20px rgba(184, 230, 46, 0.15);
    color: #fff;
    width: 480px; /* Largura forçada para cobrir o texto */
    margin-right: -2%; /* Estica para cobrir até a borda */
    margin-bottom: -10px;
    z-index: 10;
}

.premium-func-title {
    font-size: 20px;
    font-weight: 900;
    color: var(--animaz-lime); /* Verde marca */
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 12px;
}

.premium-func-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.premium-func-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0,0,0,0.2);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.03);
    transition: transform 0.3s ease, background 0.3s ease;
}

.premium-func-item:hover {
    transform: translateX(5px);
    background: rgba(158, 113, 255, 0.2);
    border-color: rgba(158, 113, 255, 0.4);
}

.premium-icon {
    font-size: 18px;
    background: rgba(184, 230, 46, 0.15);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--animaz-lime);
}

.premium-info h4 {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
}

.premium-info p {
    font-size: 14px;
    color: #e2e0ea;
    font-weight: 600;
}

/* ============================================================
   HTML BANNER - FUNCIONAMENTO (Substitui imagem defasada)
   ============================================================ */
.html-banner-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 24px;
    z-index: 2;
    color: #ffffff;
}

.func-header h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.func-header p {
    font-size: 18px;
    margin-bottom: 32px;
    color: #e2e0ea;
}

.func-units {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.func-unit {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 220px;
    transition: transform 0.3s ease;
}

.func-unit:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.unit-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.func-unit strong {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
    color: #c3e34a; /* Verde da marca */
}

.func-unit span {
    font-size: 18px;
    font-weight: 600;
}

/* Dots */
.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: 1.5px solid rgba(255,255,255,0.6);
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0;
}
.dot.active {
    background: #fff;
    width: 26px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(255,255,255,0.6);
}
.dot:hover { background: rgba(255,255,255,0.8); }

/* Setas */
.banner-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
}
.hero-carousel-wrapper:hover .banner-nav-btn {
    opacity: 1;
    pointer-events: auto;
}
.banner-nav-btn:hover {
    background: rgba(158,113,255,0.75);
    transform: translateY(-50%) scale(1.08);
}
.banner-nav-prev { left: 16px; }
.banner-nav-next { right: 16px; }


/* ============================================================
   VITRINE (Product Showcase)
   ============================================================ */

.categories-bar {
    background: rgba(8, 4, 18, 0.75);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid var(--border-glass);
    padding: 24px 0;
    position: sticky;
    top: 80px;
    z-index: 50;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), top 0.4s ease;
}

.categories-bar.hidden-scroll {
    transform: translateY(-160px);
    opacity: 0;
    pointer-events: none;
}

.categories-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.categories-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.categories-title {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.5px;
}

/* Sort Select */
#sort-select {
    padding: 10px 40px 10px 18px;
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: var(--transition);
}
#sort-select:focus, #sort-select:hover {
    border-color: var(--animaz-purple);
}
#sort-select option {
    background: #1a0b2e;
    color: #fff;
}

/* Categories Pills */
.categories {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.categories::-webkit-scrollbar { display: none; }

.category-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 14px;
    color: #999;
    border: 1px solid var(--border-glass);
    white-space: nowrap;
    transition: var(--transition);
}
.category-pill:hover {
    background: var(--bg-glass-hover);
    color: #fff;
    border-color: rgba(255,255,255,0.15);
}
.category-pill.active {
    background: rgba(158, 113, 255, 0.25);
    color: #fff;
    border-color: var(--animaz-purple);
    box-shadow: var(--shadow-glow);
}

/* Products Grid */
.products-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

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

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.product-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-glass);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-glass), inset 0 1px 0 rgba(255,255,255,0.05);
    opacity: 0;
    transform: translateY(24px);
    transition: var(--transition-slow);
}
.product-card.animate-in {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glass-hover);
    box-shadow: var(--shadow-glow), var(--shadow-glass);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card Carousel Slides */
.product-image-wrapper .card-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: zoom-in;
    z-index: 1;
}
.product-image-wrapper .card-slide.active {
    opacity: 1;
    z-index: 2;
}
.product-card:hover .card-slide.active {
    transform: scale(1.05);
    transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Carousel Navigation Arrows */
.card-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.15);
    z-index: 5;
    opacity: 0;
    transition: var(--transition);
    cursor: pointer;
    line-height: 1;
}
.product-card:hover .card-carousel-arrow {
    opacity: 1;
}
.card-carousel-arrow:hover {
    background: var(--animaz-purple);
    border-color: var(--animaz-purple-light);
    box-shadow: var(--shadow-glow);
    transform: translateY(-50%) scale(1.1);
}
.card-arrow-prev { left: 10px; }
.card-arrow-next { right: 10px; }

/* Carousel Dot Indicators */
.card-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
    padding: 4px 8px;
    border-radius: var(--radius-full);
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(6px);
}
.card-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: var(--transition);
}
.card-dot:hover { background: rgba(255,255,255,0.7); }
.card-dot.active {
    background: var(--animaz-purple-light);
    box-shadow: 0 0 8px rgba(175, 138, 255, 0.5);
    transform: scale(1.2);
}

/* Image Counter Badge */
.card-img-counter {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    z-index: 5;
    border: 1px solid rgba(255,255,255,0.1);
    letter-spacing: 0.5px;
}

.product-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark));
    color: #fff;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: var(--shadow-glow-orange);
    z-index: 3;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-brand {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--animaz-purple-light);
    margin-bottom: 4px;
    opacity: 0.8;
}

.product-name {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 8px;
    min-height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}
.product-card:hover .product-name { color: var(--animaz-purple-light); }

.product-description {
    font-size: 13px;
    color: #777;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.product-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.size-pill {
    font-size: 12px;
    padding: 5px 14px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.04);
    border-radius: 8px;
    font-weight: 700;
    color: #aaa;
    transition: var(--transition);
}
.size-pill:hover {
    border-color: var(--animaz-purple);
    color: #fff;
    background: rgba(158, 113, 255, 0.1);
}
.size-pill.selected {
    background: var(--animaz-purple);
    color: #fff;
    border-color: var(--animaz-purple-light);
    box-shadow: 0 0 12px rgba(158, 113, 255, 0.3);
}

.product-price {
    margin-bottom: 16px;
}
.price-original {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-decoration: line-through;
    margin-bottom: 2px;
}
.price-promo {
    font-size: 24px;
    font-weight: 900;
    color: var(--accent-orange);
    text-shadow: 0 0 20px rgba(255, 115, 0, 0.2);
}
.price-promo.consulte {
    font-size: 15px;
    color: var(--animaz-purple-light);
    font-weight: 800;
    font-style: italic;
    text-shadow: none;
}

.product-actions {
    display: flex;
    gap: 10px;
    align-items: stretch;
    height: 44px;
}

.qty-selector {
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.4);
    border-radius: 12px;
    padding: 2px;
    border: 1px solid var(--border-glass);
}

.qty-btn {
    width: 34px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #888;
    border-radius: 10px;
    transition: var(--transition);
}
.qty-btn:hover { color: #fff; background: rgba(255,255,255,0.1); }

.qty-value {
    width: 32px;
    text-align: center;
    font-weight: 800;
    font-size: 14px;
    color: #fff;
}

.add-to-cart-btn {
    flex: 1;
    background: linear-gradient(135deg, var(--animaz-purple), var(--animaz-purple-dark));
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(175, 138, 255, 0.3);
    box-shadow: 0 0 16px rgba(158, 113, 255, 0.25);
    transition: var(--transition);
}
.add-to-cart-btn:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-glow);
    filter: brightness(1.1);
}
.add-to-cart-btn.added {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 0 16px rgba(34, 197, 94, 0.3);
    animation: bounceSmall 0.4s ease;
}

/* ============================================================
   CART OVERLAY & DRAWER
   ============================================================ */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 440px;
    height: 100%;
    background: rgba(12, 6, 24, 0.85);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-left: 1px solid var(--border-glass);
    box-shadow: -12px 0 40px rgba(0,0,0,0.5);
    z-index: 210;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.cart-drawer.active { transform: translateX(0); }

.cart-header {
    padding: 28px 24px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-weight: 900;
    font-size: 22px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.3px;
}

.cart-header-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(158, 113, 255, 0.15);
    border: 1px solid rgba(158, 113, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--animaz-purple-light);
}

.cart-close-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.cart-close-btn:hover { color: #fff; background: rgba(239, 68, 68, 0.6); }

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    gap: 12px;
    color: #555;
}
.cart-empty span { font-size: 48px; opacity: 0.4; }
.cart-empty h3 { font-weight: 800; font-size: 18px; color: #888; }
.cart-empty p { font-size: 14px; }

.cart-item {
    display: flex;
    gap: 14px;
    background: var(--bg-glass);
    padding: 14px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
    position: relative;
    animation: slideInRight 0.3s ease forwards;
    transition: background 0.3s;
}
.cart-item:hover { background: var(--bg-glass-hover); }

.cart-item-img {
    width: 72px;
    height: 72px;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 6px;
    object-fit: contain;
    border: 1px solid var(--border-glass);
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-title {
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    padding-right: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.cart-item-meta {
    font-size: 11px;
    color: var(--animaz-purple-light);
    font-weight: 600;
    margin-top: 3px;
}

.cart-item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.cart-item-price {
    font-weight: 900;
    font-size: 16px;
    color: var(--accent-orange);
}
.cart-item-price.consulte {
    font-size: 12px;
    color: var(--animaz-purple-light);
    font-weight: 700;
    font-style: italic;
}

.cart-item-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    color: #555;
    transition: var(--transition);
    background: rgba(0,0,0,0.2);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-item-remove:hover { color: #ef4444; background: rgba(239,68,68,0.15); }

/* Cart Footer */
.cart-footer {
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(20px);
    padding: 24px;
    border-top: 1px solid var(--border-glass);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
}
.cart-total-label {
    font-weight: 700;
    color: #777;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
#cart-total {
    font-weight: 900;
    font-size: 28px;
    color: var(--accent-orange);
    text-shadow: 0 0 20px rgba(255, 115, 0, 0.2);
}

.cart-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.btn-export {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    transition: var(--transition);
}
.btn-export:hover { background: var(--bg-glass-hover); }
.btn-export:disabled { opacity: 0.3; cursor: not-allowed; }

#btn-export-pdf:hover { background: rgba(239,68,68,0.6); border-color: #ef4444; }
#btn-export-excel:hover { background: rgba(22,163,74,0.6); border-color: #16a34a; }

.btn-whatsapp {
    grid-column: span 2;
    padding: 18px;
    border-radius: 14px;
    font-weight: 900;
    font-size: 16px;
    color: #fff;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border: 1px solid rgba(34, 197, 94, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}
.btn-whatsapp:hover {
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.35);
}

.btn-clear-cart {
    width: 100%;
    text-align: center;
    padding: 8px;
    font-weight: 700;
    font-size: 12px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}
.btn-clear-cart:hover { color: #ef4444; }

/* ============================================================
   CHECKOUT MODAL
   ============================================================ */
.checkout-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(12px);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-slow);
}
.checkout-modal.active { opacity: 1; visibility: visible; }

.checkout-modal-card {
    background: rgba(18, 8, 36, 0.8);
    backdrop-filter: blur(40px);
    border-radius: var(--radius-2xl);
    padding: 40px;
    width: 100%;
    max-width: 480px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 0 60px rgba(158, 113, 255, 0.15), inset 0 1px 0 rgba(255,255,255,0.1);
    position: relative;
    transform: scale(0.92) translateY(20px);
    transition: var(--transition-slow);
}
.checkout-modal.active .checkout-modal-card {
    transform: scale(1) translateY(0);
}

.checkout-modal-title {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.checkout-modal-subtitle {
    font-size: 14px;
    color: #888;
    margin-bottom: 28px;
    line-height: 1.6;
}

.checkout-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}
.checkout-modal-close:hover {
    background: rgba(239, 68, 68, 0.5);
    color: #fff;
}

.form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-group label {
    font-size: 11px;
    font-weight: 800;
    color: var(--animaz-purple-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 14px;
    color: #fff;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #444; }
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--animaz-purple);
    box-shadow: 0 0 12px rgba(158, 113, 255, 0.2);
}

.btn-submit-checkout {
    width: 100%;
    margin-top: 8px;
    padding: 16px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark));
    color: #fff;
    font-weight: 900;
    font-size: 16px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255, 115, 0, 0.4);
    transition: var(--transition);
}
.btn-submit-checkout:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-glow-orange);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(20px);
    z-index: 400;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-slow);
}
.lightbox.active { opacity: 1; visibility: visible; }

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px;
    width: 100%;
    max-width: 900px;
}
.lightbox-content img {
    max-height: 70vh;
    max-width: 100%;
    object-fit: contain;
    border-radius: var(--radius-2xl);
    filter: drop-shadow(0 0 40px rgba(255,255,255,0.06));
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.lightbox-nav-btn:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-50%) scale(1.1);
}
.lightbox-nav-btn.prev { left: 24px; }
.lightbox-nav-btn.next { right: 24px; }

.lightbox-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.lightbox-close-btn:hover {
    background: rgba(239, 68, 68, 0.5);
    transform: scale(1.1);
}

#lightbox-caption {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-top: 8px;
}

.lightbox-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    overflow-x: auto;
    padding: 8px;
    max-width: 100%;
    justify-content: center;
}

.lightbox-thumb {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    background: var(--bg-glass);
    border: 2px solid transparent;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.45;
    transition: var(--transition);
    padding: 4px;
}
.lightbox-thumb:hover { opacity: 0.8; }
.lightbox-thumb.active {
    border-color: var(--animaz-purple);
    opacity: 1;
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: rgba(18, 8, 36, 0.9);
    backdrop-filter: blur(20px);
    color: #fff;
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
    border-left: 4px solid var(--animaz-purple);
    box-shadow: var(--shadow-glow);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 14px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.toast.show { transform: translateX(0); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(30px);
    border-top: 1px solid var(--border-glass);
    padding-top: 64px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to top, rgba(26, 11, 46, 0.4) 0%, transparent 100%);
    pointer-events: none;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 48px;
}

.footer-col { display: flex; flex-direction: column; gap: 16px; }

.footer-logo img {
    height: 56px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.footer-slogan {
    font-weight: 800;
    font-size: 16px;
    color: var(--animaz-purple-light);
}

.footer-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    max-width: 280px;
}

.footer-heading {
    font-weight: 900;
    font-size: 18px;
    color: #fff;
    padding-bottom: 12px;
    position: relative;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--animaz-purple), transparent);
    border-radius: 2px;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}
.footer-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #888;
    font-weight: 500;
}
.footer-list li a { transition: color 0.2s; }
.footer-list li a:hover { color: #fff; }

.footer-icon-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--animaz-purple-light);
    flex-shrink: 0;
}

.footer-unit-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--bg-glass);
    padding: 12px;
    border-radius: 14px;
    border: 1px solid var(--border-glass);
    transition: background 0.3s;
}
.footer-unit-card:hover { background: var(--bg-glass-hover); }
.footer-unit-name { color: #fff; font-weight: 700; font-size: 15px; }
.footer-unit-hours { color: #666; font-size: 12px; margin-top: 2px; }

.footer-service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #888;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #555;
    font-weight: 500;
}

/* ============================================================
   LOADING & EMPTY STATES
   ============================================================ */
.loading-state {
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
}
.loading-spinner {
    width: 44px;
    height: 44px;
    border: 4px solid rgba(255,255,255,0.08);
    border-top-color: var(--animaz-purple);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    box-shadow: 0 0 16px rgba(158, 113, 255, 0.3);
}
.loading-text {
    font-size: 15px;
    font-weight: 700;
    color: #666;
}

.empty-state {
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 380px;
    margin: 0 auto;
}
.empty-state-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid var(--border-glass);
    font-size: 36px;
    opacity: 0.6;
}
.empty-state h3 {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
}
.empty-state p {
    font-size: 14px;
    color: #666;
}

/* Search highlight */
mark {
    background: rgba(158, 113, 255, 0.35);
    color: #fff;
    padding: 1px 3px;
    border-radius: 3px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(24px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes bounceSmall {
    0%, 100% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
    60% { transform: translateY(-3px); }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes pulseAnim {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .site-header { height: 68px; }
    .hero { margin-top: 68px; }
    .hero-carousel-wrapper { height: 350px; }
    .categories-bar { top: 68px; }
    .banner-nav-btn { width: 32px; height: 32px; opacity: 0.8; pointer-events: auto; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .product-image-wrapper img { padding: 16px; }
    .product-info { padding: 14px; }
    .product-name { font-size: 14px; min-height: auto; }
    .product-price { font-size: 20px; }
    .product-actions { height: 38px; }
    .cart-drawer { max-width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .lightbox-nav-btn { display: none; }
    
    /* HTML Banner Mobile */
    .func-header h2 { font-size: 26px; }
    .func-units { gap: 12px; flex-direction: column; }
    .func-unit { padding: 16px 24px; min-width: 100%; }
    .func-header p { margin-bottom: 24px; }
}

@media (max-width: 480px) {
    .header-inner { gap: 12px; padding: 0 16px; }
    .header-logo img { height: 36px; }
    .search-bar input { height: 40px; font-size: 13px; }
    .hero-carousel-wrapper { height: 250px; }
    .products-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
   ANNOUNCEMENT BAR & Copa Campaign UI
   ============================================================ */
.announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(90deg, #009B3A 0%, #FFDF00 50%, #002776 100%);
    background-size: 200% auto;
    animation: gradientShift 6s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    z-index: 110;
    border-bottom: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.announcement-text {
    font-size: 13.5px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
    text-align: center;
    letter-spacing: 0.5px;
}

.announcement-text strong {
    color: #FFDF00;
    text-shadow: 0 0 8px rgba(255,223,0,0.6);
}

/* Adjust main header position with announcement bar */
.site-header {
    top: 40px;
}

/* Adjust categories sticky position */
.categories-bar {
    top: 120px;
}

/* --- Promo Box Component above product grid --- */
.promo-box {
    background: rgba(26, 11, 46, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(184, 230, 46, 0.15);
    border-left: 4px solid var(--animaz-lime);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-glass), var(--shadow-glow-green);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.promo-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(184, 230, 46, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.promo-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

.promo-box-badge {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 900;
    color: var(--animaz-lime);
    letter-spacing: 1.5px;
}

.promo-box-date {
    font-size: 12px;
    font-weight: 800;
    color: #FFDF00;
    background: rgba(255, 223, 0, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 223, 0, 0.2);
}

.promo-box-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.promo-box-text {
    flex: 1;
    min-width: 280px;
}

.promo-box-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.promo-box-desc {
    font-size: 14px;
    color: #aaa;
    line-height: 1.6;
}

.promo-box-action {
    flex-shrink: 0;
}

.promo-box-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--animaz-lime), var(--animaz-lime-dark));
    color: #000;
    font-weight: 800;
    font-size: 14px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px rgba(184, 230, 46, 0.3);
    transition: var(--transition);
}

.promo-box-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 230, 46, 0.4);
    filter: brightness(1.1);
}

/* --- Responsive Adjustments for announcement bar --- */
@media (max-width: 1024px) {
    .site-header { top: 40px; }
}

@media (max-width: 768px) {
    .announcement-bar {
        height: 36px;
        padding: 0 10px;
    }
    .announcement-text { font-size: 11px; }
    .site-header { top: 36px; }
    .categories-bar { top: 104px; }
    .promo-box { padding: 16px; margin-bottom: 20px; }
    .promo-box-body { gap: 16px; }
    .promo-box-title { font-size: 15px; }
    .promo-box-desc { font-size: 12px; }
    .promo-box-btn { width: 100%; justify-content: center; padding: 10px 20px; }
}

/* --- Campaign Image Banner overrides --- */
.banner-slide.banner-copa-img-slide {
    object-fit: contain !important;
    background-color: #D4EE5E !important;
}

/* --- Collapsible Campaign Regulations styling --- */
.campaign-details-card {
    padding: 0 !important; /* Remove card padding to allow toggle btn to be full-width */
    overflow: hidden;
    border-left: 4px solid var(--accent-orange) !important;
    border-right: 1px solid rgba(255, 115, 0, 0.15) !important;
    border-top: 1px solid rgba(255, 115, 0, 0.15) !important;
    border-bottom: 1px solid rgba(255, 115, 0, 0.15) !important;
    box-shadow: var(--shadow-glass), var(--shadow-glow-orange) !important;
}

.regulation-toggle-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: rgba(255, 115, 0, 0.03);
    border: none;
    outline: none;
    cursor: pointer;
    transition: background 0.3s ease;
    text-align: left;
}

.regulation-toggle-btn:hover {
    background: rgba(255, 115, 0, 0.08);
}

.toggle-title-area {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.campaign-headline-compact {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.toggle-action-area {
    display: flex;
    align-items: center;
    gap: 16px;
}

.toggle-icon {
    font-size: 12px;
    color: var(--accent-orange);
    transition: transform 0.3s ease;
}

.regulation-toggle-btn[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

.regulation-content-collapsible {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
}

.regulation-content-collapsible.active {
    max-height: 1000px;
    opacity: 1;
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.campaign-steps-horizontal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 16px 0;
}

.campaign-step-item-horizontal {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(255, 255, 255, 0.02);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.campaign-step-item-horizontal .step-num {
    align-self: flex-start;
}

.promo-box-content-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    align-items: start;
}

.campaign-info-visual {
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background: #080412;
}

.campaign-visual-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.campaign-details-card:hover .campaign-visual-img {
    transform: scale(1.05);
}

.campaign-info-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.campaign-paragraph {
    font-size: 14px;
    line-height: 1.6;
    color: #bbb;
}

.campaign-paragraph strong {
    color: var(--accent-orange);
}

.step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-orange), #FFDF00);
    color: #000;
    font-size: 13px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(255, 115, 0, 0.4);
}

.step-details h4 {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
}

.step-details p {
    font-size: 12px;
    color: #888;
    line-height: 1.4;
}

.campaign-footer-notice {
    padding: 12px;
    background: rgba(255, 115, 0, 0.05);
    border-left: 3px solid var(--accent-orange);
    border-radius: 0 12px 12px 0;
    margin-top: 4px;
}

.campaign-footer-notice p {
    font-size: 12px;
    color: #ccc;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .promo-box-content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .campaign-info-visual {
        max-width: 180px;
        margin: 0 auto;
    }
    .campaign-paragraph {
        text-align: center;
        font-size: 13px;
    }
    .campaign-steps-horizontal {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .toggle-title-area {
        gap: 8px;
    }
    .campaign-headline-compact {
        font-size: 14px;
    }
    .toggle-action-area {
        gap: 8px;
    }
    .regulation-toggle-btn {
        padding: 14px 16px;
    }
    .regulation-content-collapsible.active {
        padding: 16px;
    }
}

/* ==========================================
   LIGHTBOX MODAL (ZOOM)
   ========================================== */
.lightbox-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(8px);
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--animaz-lime);
    text-decoration: none;
    cursor: pointer;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
    transition: transform 0.2s ease-out;
    cursor: zoom-in;
}

.lightbox-content.zoomed {
    transform: scale(2.5);
    cursor: zoom-out;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    font-size: 30px;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.2s;
}

.lightbox-nav:hover {
    background: var(--animaz-purple);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    max-width: 90%;
    overflow-x: auto;
    padding: 10px 0;
}

.lightbox-thumb {
    height: 70px;
    width: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.5;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.lightbox-thumb.active,
.lightbox-thumb:hover {
    opacity: 1;
    border-color: var(--animaz-lime);
}
