/* ==========================================================================
   Design System 2.0: Universo Dr. Torrino Store (Modelo Híbrido Oficial)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
    --navy-900: #0a1f30;
    --navy-800: #102f45;
    --teal-600: #0d8d8a;
    --teal-500: #14b8a6;
    --teal-100: #ccfbf1;
    --mint-soft: #f0fdfa;
    --gold-500: #c8a84b;
    --gold-400: #fbbf24;
    --gold-100: #fef3c7;
    --pink-500: #ec4899;
    --blue-600: #2563eb;
    --emerald-600: #059669;
    --slate-900: #0f172a;
    --slate-700: #334155;
    --slate-500: #64748b;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --bg-main: #f8fafc;
    --white: #ffffff;
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-pill: 999px;
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 12px 32px rgba(16, 47, 69, 0.08);
    --shadow-lg: 0 20px 45px rgba(16, 47, 69, 0.14);
    --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);

    /* Variáveis do Tema Sazonal Dinâmico */
    --theme-primary: #0d8d8a;
    --theme-primary-hover: #0a6f6c;
    --theme-accent: #c8a84b;
    --theme-badge-bg: #fef3c7;
    --theme-badge-text: #92400e;
    --theme-hero-bg: linear-gradient(135deg, #0a1f30 0%, #102f45 50%, #0d8d8a 100%);
    --theme-highlight-glow: rgba(200, 168, 75, 0.4);
}

/* ==========================================================================
   TEMAS PROGRAMADOS (SAZONAIS / PRODUTO-FOCO)
   ========================================================================== */

/* 1. Tema Rinite / Alergia / Clima Seco */
body[data-store-theme="rinite"] {
    --theme-primary: #059669;
    --theme-primary-hover: #047857;
    --theme-accent: #10b981;
    --theme-badge-bg: #dcfce7;
    --theme-badge-text: #166534;
    --theme-hero-bg: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #0d9488 100%);
    --theme-highlight-glow: rgba(16, 185, 129, 0.45);
}

/* 2. Tema Pós-Operatório & Cirurgia Sem Medo */
body[data-store-theme="cirurgia"] {
    --theme-primary: #0284c7;
    --theme-primary-hover: #0369a1;
    --theme-accent: #f59e0b;
    --theme-badge-bg: #e0f2fe;
    --theme-badge-text: #075985;
    --theme-hero-bg: linear-gradient(135deg, #0c4a6e 0%, #075985 50%, #0284c7 100%);
    --theme-highlight-glow: rgba(2, 132, 199, 0.45);
}

/* 3. Tema Dra. Nutrolinda & Lancheiras da Imunidade */
body[data-store-theme="nutricao"] {
    --theme-primary: #ea580c;
    --theme-primary-hover: #c2410c;
    --theme-accent: #facc15;
    --theme-badge-bg: #ffedd5;
    --theme-badge-text: #9a3412;
    --theme-hero-bg: linear-gradient(135deg, #7c2d12 0%, #9a3412 50%, #ea580c 100%);
    --theme-highlight-glow: rgba(234, 88, 12, 0.45);
}

/* 4. Tema HQs & Gamificação Infantil (Torrino Rangers) */
body[data-store-theme="infantil"] {
    --theme-primary: #7c3aed;
    --theme-primary-hover: #6d28d9;
    --theme-accent: #38bdf8;
    --theme-badge-bg: #ede9fe;
    --theme-badge-text: #5b21b6;
    --theme-hero-bg: linear-gradient(135deg, #2e1065 0%, #4c1d95 50%, #7c3aed 100%);
    --theme-highlight-glow: rgba(124, 58, 237, 0.45);
}

/* 5. Tema Saúde Auditiva (Novembro) */
body[data-store-theme="audicao"],
body[data-store-theme="novembro-azul"] {
    --theme-primary: #2563eb;
    --theme-primary-hover: #1d4ed8;
    --theme-accent: #38bdf8;
    --theme-badge-bg: #dbeafe;
    --theme-badge-text: #1e40af;
    --theme-hero-bg: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #2563eb 100%);
    --theme-highlight-glow: rgba(56, 189, 248, 0.5);
}

/* 6. Tema Natal & Sagrada Família */
body[data-store-theme="natal"] {
    --theme-primary: #dc2626;
    --theme-primary-hover: #b91c1c;
    --theme-accent: #fbbf24;
    --theme-badge-bg: #fee2e2;
    --theme-badge-text: #991b1b;
    --theme-hero-bg: linear-gradient(135deg, #14532d 0%, #991b1b 50%, #dc2626 100%);
    --theme-highlight-glow: rgba(251, 191, 36, 0.55);
}

/* 7. Tema Ano Novo & Saúde Ouro */
body[data-store-theme="ano-novo"] {
    --theme-primary: #b45309;
    --theme-primary-hover: #92400e;
    --theme-accent: #facc15;
    --theme-badge-bg: #fef3c7;
    --theme-badge-text: #78350f;
    --theme-hero-bg: linear-gradient(135deg, #09090b 0%, #18181b 50%, #b45309 100%);
    --theme-highlight-glow: rgba(250, 204, 21, 0.55);
}

/* ==========================================================================
   BARRA SELETORA DE TEMAS PREVIAMENTE PROGRAMADOS
   ========================================================================== */
.theme-selector-strip {
    background: #0f172a;
    border-bottom: 2px solid var(--theme-accent);
    padding: 8px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: #cbd5e1;
    position: relative;
    z-index: 99;
}

.theme-selector-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    color: #f8fafc;
}

.theme-selector-label .mdi {
    color: var(--theme-accent);
    font-size: 1.1rem;
}

.theme-buttons-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
}

.theme-pill-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #e2e8f0;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.theme-pill-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #ffffff;
    color: #ffffff;
}

.theme-pill-btn.active {
    background: var(--theme-accent);
    color: #0f172a;
    border-color: var(--theme-accent);
    font-weight: 900;
    box-shadow: 0 2px 10px var(--theme-highlight-glow);
}

/* Foco e Destaque nos Cards de Produtos */
.product-card.theme-spotlight {
    border: 2.5px solid var(--theme-accent) !important;
    box-shadow: 0 16px 36px var(--theme-highlight-glow) !important;
    transform: translateY(-6px);
    position: relative;
}

.theme-spotlight-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--theme-accent);
    color: #0f172a;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.6px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 10;
    white-space: nowrap;
    animation: pulseBadge 2.5s infinite;
}

@keyframes pulseBadge {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--bg-main);
    color: var(--slate-900);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ================== FAIXA SUPERIOR ================== */
.topbar-announcement {
    background: linear-gradient(90deg, var(--navy-900) 0%, var(--teal-600) 50%, var(--navy-800) 100%);
    color: var(--white);
    padding: 10px 5%;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    text-align: center;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.topbar-badge {
    background: var(--gold-500);
    color: var(--navy-900);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ================== CABEÇALHO STICKY ================== */
.store-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 14px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--slate-200);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

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

.brand-avatar {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    object-fit: cover;
    object-position: top center;
    border: 2px solid var(--teal-500);
    box-shadow: 0 4px 12px rgba(13, 141, 138, 0.25);
}

.brand-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--navy-800);
    line-height: 1.1;
    letter-spacing: -0.4px;
}

.brand-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.74rem;
    color: var(--teal-600);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.header-nav a {
    text-decoration: none;
    color: var(--slate-700);
    font-weight: 800;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header-nav a:hover {
    color: var(--teal-600);
}

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

.btn-site-principal {
    padding: 9px 16px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--slate-200);
    color: var(--navy-800);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    background: var(--white);
}

.btn-site-principal:hover {
    border-color: var(--teal-600);
    color: var(--teal-600);
    background: var(--mint-soft);
}

.btn-cart-trigger {
    position: relative;
    background: linear-gradient(135deg, var(--navy-800), var(--teal-600));
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-weight: 800;
    font-size: 0.92rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(13, 141, 138, 0.28);
    transition: var(--transition);
}

.btn-cart-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(13, 141, 138, 0.38);
}

.cart-count-badge {
    background: var(--gold-400);
    color: var(--navy-900);
    font-weight: 900;
    font-size: 0.78rem;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ================== HERO VITRINE DIVIDIDA ================== */
.hero-store {
    background: radial-gradient(circle at 85% 20%, rgba(20, 184, 166, 0.22), transparent 45%),
                var(--theme-hero-bg);
    color: var(--white);
    padding: 56px 5%;
    position: relative;
    overflow: hidden;
    transition: background 0.5s ease;
}

.hero-store-container {
    max-width: 1220px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.hero-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.hero-tag {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--gold-400);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-store h2 {
    font-size: clamp(2rem, 3.8vw, 3.1rem);
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 18px;
    letter-spacing: -0.6px;
}

.hero-store h2 span {
    color: var(--gold-400);
}

.hero-store p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 28px;
    max-width: 580px;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

.btn-hero-primary {
    background: var(--gold-400);
    color: var(--navy-900);
    text-decoration: none;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 900;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
    transition: var(--transition);
}

.btn-hero-primary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    text-decoration: none;
    padding: 14px 24px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 0.98rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero-trust-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
    color: #e2e8f0;
}

.hero-trust-item i, .hero-trust-item .mdi {
    font-size: 1.4rem;
    color: var(--teal-500);
}

/* Vitrine Visual Direita no Hero */
.hero-visual-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    position: relative;
}

.showcase-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-xl);
    padding: 12px;
    transition: var(--transition);
    cursor: pointer;
}

.showcase-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-400);
}

.showcase-card.featured-tall {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
}

.showcase-card img {
    width: 100%;
    height: 100%;
    max-height: 280px;
    object-fit: cover;
    object-position: top center;
    border-radius: 16px;
    margin-bottom: 10px;
}

.showcase-card.compact img {
    height: 125px;
}

.showcase-caption {
    padding: 4px 6px;
}

.showcase-caption span {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 900;
    color: var(--gold-400);
    letter-spacing: 0.6px;
}

.showcase-caption h4 {
    font-size: 0.95rem;
    color: var(--white);
    margin: 2px 0;
}

/* ================== BARRA COMO FUNCIONA (MODELO HÍBRIDO) ================== */
.how-it-works-bar {
    max-width: 1220px;
    margin: -28px auto 40px;
    padding: 0 5%;
    position: relative;
    z-index: 10;
}

.how-grid {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--slate-200);
    padding: 24px 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.how-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.how-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.how-icon.digital {
    background: #ecfdf5;
    color: var(--emerald-600);
}

.how-icon.clinic {
    background: #eff6ff;
    color: var(--blue-600);
}

.how-icon.preorder {
    background: var(--gold-100);
    color: #b45309;
}

.how-step h3 {
    font-size: 1rem;
    font-weight: 900;
    color: var(--navy-800);
    margin-bottom: 4px;
}

.how-step p {
    font-size: 0.85rem;
    color: var(--slate-500);
    line-height: 1.45;
}

/* ================== SEÇÃO DE CATÁLOGO E FILTROS ================== */
.shop-section {
    max-width: 1220px;
    margin: 0 auto;
    padding: 20px 5% 70px;
}

.shop-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 28px;
}

.shop-header-text span {
    color: var(--teal-600);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.2px;
}

.shop-header-text h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--navy-800);
    line-height: 1.15;
    margin-top: 4px;
}

/* Filtros Interativos */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--slate-200);
}

.filter-btn {
    background: var(--white);
    color: var(--slate-700);
    border: 1.5px solid var(--slate-200);
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--teal-600);
    color: var(--teal-600);
}

.filter-btn.active {
    background: var(--navy-800);
    color: var(--white);
    border-color: var(--navy-800);
    box-shadow: 0 6px 16px rgba(16, 47, 69, 0.2);
}

.filter-count {
    background: rgba(0, 0, 0, 0.07);
    padding: 1px 8px;
    border-radius: var(--radius-pill);
    font-size: 0.76rem;
}

.filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* Grade de Produtos */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 26px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1.5px solid var(--slate-200);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--teal-500);
}

.product-card[hidden] {
    display: none !important;
}

.product-media {
    position: relative;
    height: 230px;
    background: linear-gradient(145deg, #e2e8f0, #f8fafc);
    overflow: hidden;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.product-card:hover .product-media img {
    transform: scale(1.05);
}

/* Badges nos Cards */
.delivery-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.delivery-badge.digital {
    background: #059669;
    color: var(--white);
}

.delivery-badge.clinic {
    background: #2563eb;
    color: var(--white);
}

.delivery-badge.preorder {
    background: var(--gold-400);
    color: var(--navy-900);
}

.age-tag {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(6px);
    color: var(--white);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
}

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

.product-category-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--teal-600);
    letter-spacing: 0.6px;
    margin-bottom: 4px;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--navy-800);
    margin-bottom: 8px;
    line-height: 1.25;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--slate-500);
    margin-bottom: 16px;
    flex: 1;
}

.product-logistics-note {
    background: var(--slate-100);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--slate-700);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 14px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--navy-900);
}

.product-price small {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-500);
}

.product-actions {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px;
}

.btn-details {
    background: var(--slate-100);
    color: var(--navy-800);
    border: 1px solid var(--slate-200);
    padding: 11px 14px;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-weight: 800;
    font-size: 0.86rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.btn-details:hover {
    background: var(--slate-200);
}

.btn-add-bag {
    background: var(--teal-600);
    color: var(--white);
    border: none;
    padding: 11px 16px;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(13, 141, 138, 0.25);
}

.btn-add-bag:hover {
    background: var(--navy-800);
    transform: translateY(-1px);
}

/* ================== COMBO DESTAQUE FAMÍLIA ================== */
.bundle-banner {
    max-width: 1220px;
    margin: 0 auto 60px;
    padding: 0 5%;
}

.bundle-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #0d8d8a 100%);
    border-radius: var(--radius-xl);
    padding: 36px;
    color: var(--white);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.bundle-badge {
    display: inline-block;
    background: var(--gold-400);
    color: var(--navy-900);
    font-weight: 900;
    font-size: 0.78rem;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.bundle-box h3 {
    font-size: 1.85rem;
    font-weight: 900;
    margin-bottom: 12px;
    line-height: 1.2;
}

.bundle-list {
    list-style: none;
    margin: 16px 0 24px;
    display: grid;
    gap: 8px;
}

.bundle-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #e2e8f0;
}

.bundle-list li .mdi {
    color: var(--gold-400);
    font-size: 1.2rem;
}

.bundle-price-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
}

.bundle-old-price {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 0.95rem;
}

.bundle-new-price {
    font-size: 2.3rem;
    font-weight: 900;
    color: var(--gold-400);
    margin: 4px 0 14px;
}

/* ================== RETIRADA NO CONSULTÓRIO & PARCEIROS ================== */
.clinic-pickup-section {
    max-width: 1220px;
    margin: 0 auto 70px;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.info-panel {
    background: var(--white);
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.info-panel h3 {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--navy-800);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-panel p {
    font-size: 0.92rem;
    color: var(--slate-500);
    margin-bottom: 16px;
}

.clinic-address-box {
    background: var(--mint-soft);
    border: 1px solid var(--teal-100);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    font-size: 0.88rem;
    color: var(--navy-800);
    margin-bottom: 16px;
}

/* ================== MODAIS NATIVOS (<dialog>) ================== */
dialog.store-modal {
    margin: auto;
    border: none;
    border-radius: var(--radius-xl);
    padding: 0;
    max-width: 580px;
    width: 92%;
    background: var(--white);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35);
    color: var(--slate-900);
}

dialog.store-modal::backdrop {
    background: rgba(10, 31, 48, 0.65);
    backdrop-filter: blur(4px);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--slate-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--navy-800);
}

.btn-close-modal {
    background: var(--slate-100);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--slate-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    padding: 24px;
    max-height: 75vh;
    overflow-y: auto;
}

/* Itens da Sacola */
.bag-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--slate-200);
}

.bag-item-info h4 {
    font-size: 0.95rem;
    color: var(--navy-800);
}

.bag-item-info span {
    font-size: 0.8rem;
    color: var(--slate-500);
}

.bag-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-qty {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid var(--slate-200);
    background: var(--slate-100);
    font-weight: 900;
    cursor: pointer;
}

.delivery-selector {
    margin: 18px 0;
    padding: 14px;
    background: var(--slate-100);
    border-radius: var(--radius-md);
}

.delivery-selector label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 8px;
    cursor: pointer;
}

.bag-total-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--navy-900);
    padding: 14px 0;
    border-top: 2px dashed var(--slate-200);
}

.pix-preview-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--mint-soft);
    border: 1px solid var(--teal-100);
    padding: 12px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.pix-preview-box img {
    width: 68px;
    height: 68px;
    border-radius: 8px;
    object-fit: contain;
    background: var(--white);
    padding: 4px;
}

/* Toast Notification */
.store-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--navy-900);
    color: var(--white);
    padding: 14px 22px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(120px);
    opacity: 0;
    transition: var(--transition);
    z-index: 200;
}

.store-toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ================== RODAPÉ ================== */
footer {
    background-color: var(--navy-900);
    color: var(--white);
    padding: 50px 5% 36px;
}

.footer-grid {
    max-width: 1220px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
    color: var(--gold-400);
    font-size: 1.05rem;
    margin-bottom: 12px;
}

.footer-col p, .footer-col a {
    color: #94a3b8;
    font-size: 0.9rem;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

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

.footer-bottom {
    max-width: 1220px;
    margin: 24px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.82rem;
    color: #64748b;
}

/* ================== RESPONSIVIDADE ================== */
@media (max-width: 960px) {
    .hero-store-container,
    .bundle-box,
    .clinic-pickup-section,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .how-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .header-nav {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero-trust-mini {
        grid-template-columns: 1fr;
    }

    .hero-visual-showcase {
        grid-template-columns: 1fr;
    }

    .btn-site-principal span.hide-mobile {
        display: none;
    }
}

/* ================== MELHORIAS DE UX: COMPRA DIRETA, FAQ & SACOLA MOBILE ================== */
.btn-bag-icon {
    background: var(--slate-100);
    color: var(--navy-800);
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: var(--transition);
}
.btn-bag-icon:hover {
    background: var(--mint-soft);
    border-color: var(--theme-primary);
    color: var(--theme-primary);
}

.btn-remove-item {
    background: #fee2e2;
    color: #b91c1c;
    border: 0;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.btn-remove-item:hover {
    background: #fecaca;
}

.combo-upsell-banner {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1.5px solid #f59e0b;
    border-radius: 14px;
    padding: 14px 16px;
    margin: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: #78350f;
    font-size: 0.86rem;
}
.combo-upsell-banner button {
    background: #b45309;
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 800;
    font-size: 0.8rem;
    cursor: pointer;
    white-space: nowrap;
}

.alert-banner {
    max-width: 1260px;
    margin: 16px auto 0;
    padding: 14px 20px;
    border-radius: 14px;
    background: #fef2f2;
    border: 1.5px solid #fecaca;
    color: #991b1b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 700;
}

.faq-section {
    max-width: 1000px;
    margin: 48px auto;
    padding: 0 5%;
}
.faq-header {
    text-align: center;
    margin-bottom: 24px;
}
.faq-header span {
    color: var(--theme-primary);
    font-weight: 900;
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.faq-header h2 {
    font-size: 1.7rem;
    color: var(--navy-900);
    margin-top: 4px;
}
.faq-list {
    display: grid;
    gap: 12px;
}
details.faq-item {
    background: #fff;
    border: 1.5px solid var(--slate-200);
    border-radius: 16px;
    padding: 16px 20px;
    transition: var(--transition);
}
details.faq-item[open] {
    border-color: var(--theme-primary);
    box-shadow: 0 8px 20px rgba(16, 47, 69, 0.06);
}
details.faq-item summary {
    font-weight: 800;
    color: var(--navy-900);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.98rem;
}
details.faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--theme-primary);
    font-weight: 900;
}
details.faq-item[open] summary::after {
    content: '−';
}
details.faq-item p {
    margin-top: 10px;
    color: var(--slate-600);
    font-size: 0.9rem;
    line-height: 1.6;
}

.mobile-bag-bar {
    display: none;
}
@media (max-width: 768px) {
    body.has-bag-items {
        padding-bottom: 76px;
    }
    body.has-bag-items .mobile-bag-bar {
        display: flex;
        position: fixed;
        bottom: 12px;
        left: 14px;
        right: 14px;
        z-index: 990;
        background: var(--navy-900);
        color: #fff;
        padding: 12px 18px;
        border-radius: 999px;
        box-shadow: 0 12px 30px rgba(10, 31, 48, 0.35);
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        cursor: pointer;
        border: 2px solid var(--theme-accent);
    }
    .mobile-bag-bar strong {
        font-size: 0.92rem;
    }
    .mobile-bag-bar span.cta-pill {
        background: var(--theme-primary);
        color: #fff;
        padding: 6px 14px;
        border-radius: 999px;
        font-weight: 900;
        font-size: 0.82rem;
    }
}
