/* ==========================================================
   Uni3D — Design System Clean Premium (Herança Uni Viagens)
   Paleta: Branco Neve, Slate Ultra-Clean, Azul Real (#0d47a1) e Ouro/Laranja (#ff9800)
   ========================================================== */
:root {
    --bg: #f8fafc;
    --bg-card: #ffffff;
    --bg-subtle: #f1f5f9;
    --surface: #ffffff;
    --surface-hover: #f8fafc;
    --border: #e2e8f0;
    --border-focus: #0d47a1;
    --border-hover: #cbd5e1;
    
    --text: #0f172a;
    --muted: #475569;
    --dim: #94a0bf;
    
    /* Cores Oficiais Uni Viagens */
    --primary: #0d47a1;
    --primary-light: #1e88e5;
    --primary-dark: #082d6b;
    --primary-soft: rgba(13, 71, 161, 0.08);
    
    --secondary: #ff9800;
    --secondary-dark: #f57c00;
    --secondary-soft: rgba(255, 152, 0, 0.12);
    
    --accent-cyan: #0284c7;
    --green: #10b981;
    --green-soft: rgba(16, 185, 129, 0.12);
    --red: #ef4444;
    
    --grad-primary: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
    --grad-accent: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    --grad-hero: linear-gradient(135deg, #0a3070 0%, #0d47a1 60%, #1565c0 100%);
    
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow: 0 10px 30px -10px rgba(13, 71, 161, 0.10), 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 40px -15px rgba(13, 71, 161, 0.18), 0 8px 20px rgba(0, 0, 0, 0.04);
    --glow: 0 0 0 4px rgba(13, 71, 161, 0.12);
    
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--primary); color: #fff; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.text-grad { background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-orange { color: var(--secondary-dark); }
.muted { color: var(--muted); }
.hidden { display: none !important; }

/* ---------- Navbar Clean Premium ---------- */
.nav {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 74px; }

.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.5px; color: var(--primary-dark); }
.brand-logo-img { height: 42px; width: auto; object-fit: contain; }
.brand-mark {
    width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
    background: var(--grad-primary); color: #fff; font-size: 18px;
    box-shadow: 0 6px 16px -4px rgba(13, 71, 161, 0.4);
    transition: transform .4s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-10deg) scale(1.05); }
.brand span { color: var(--secondary-dark); }
.brand small { display: block; font-size: 10px; font-weight: 600; color: var(--muted); letter-spacing: 0.5px; text-transform: uppercase; margin-top: -3px; }

.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-links a { padding: 9px 16px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 14.5px; transition: .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--primary-soft); }

.cart-btn {
    position: relative; display: flex; align-items: center; gap: 10px;
    padding: 10px 18px; border-radius: 12px; font-weight: 700; font-size: 14px;
    background: var(--bg-card); border: 1.5px solid var(--border); color: var(--primary-dark);
    box-shadow: var(--shadow-sm); transition: .25s;
}
.cart-btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); box-shadow: var(--shadow); }
.cart-badge {
    min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
    background: var(--grad-accent); color: #fff; font-size: 12px; font-weight: 800;
    display: grid; place-items: center; box-shadow: 0 2px 6px rgba(255, 152, 0, 0.4);
}
.cart-badge.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.4); } }
.nav-toggle { display: none; background: none; border: 0; font-size: 22px; color: var(--text); cursor: pointer; padding: 8px; }

/* ---------- Botões Premium ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 26px; border-radius: 12px; border: 1.5px solid transparent;
    font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
    transition: transform .2s var(--ease), box-shadow .2s, background .2s, border-color .2s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--grad-primary); color: #fff; box-shadow: 0 8px 20px -6px rgba(13, 71, 161, 0.45); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -6px rgba(13, 71, 161, 0.6); }

.btn-secondary { background: var(--grad-accent); color: #fff; box-shadow: 0 8px 20px -6px rgba(255, 152, 0, 0.45); }
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -6px rgba(255, 152, 0, 0.6); }

.btn-ghost { background: #fff; border-color: var(--border); color: var(--text); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { background: var(--bg-subtle); border-color: var(--border-hover); color: var(--primary); }

.btn-wa { background: #22c55e; color: #fff; box-shadow: 0 8px 20px -6px rgba(34, 197, 94, 0.45); }
.btn-wa:hover { background: #16a34a; transform: translateY(-2px); }

.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: 9px; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn .spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Hero Banner Clean & Impactante ---------- */
.hero {
    position: relative; padding: 50px 0 60px;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--border);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 30px;
    background: var(--primary-soft); border: 1px solid rgba(13, 71, 161, 0.15);
    color: var(--primary); font-size: 13px; font-weight: 700; margin-bottom: 18px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(16, 185, 129, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }

.hero h1 { font-family: var(--font-display); font-size: clamp(34px, 4.8vw, 54px); line-height: 1.1; letter-spacing: -1.5px; font-weight: 800; color: var(--primary-dark); margin-bottom: 18px; }
.hero p.lead { font-size: 17px; color: var(--muted); max-width: 520px; margin-bottom: 30px; line-height: 1.65; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 28px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
.hero-stats div b { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--primary); }
.hero-stats div span { font-size: 13px; color: var(--muted); font-weight: 500; }

.hero-visual { position: relative; }
.hero-visual .frame {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    border: 3px solid #fff; box-shadow: var(--shadow-lg);
    background: #0f172a;
}
.hero-visual img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }

.float-chip {
    position: absolute; display: flex; align-items: center; gap: 12px;
    padding: 12px 18px; border-radius: 14px; font-size: 13.5px; font-weight: 700;
    background: #ffffff; border: 1px solid var(--border); color: var(--text);
    box-shadow: var(--shadow-lg); animation: floaty 5s ease-in-out infinite;
}
.float-chip i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 15px; }
.float-chip small { display: block; color: var(--muted); font-weight: 500; font-size: 11.5px; }
.chip-1 { left: -20px; bottom: 24px; }
.chip-1 i { background: var(--green-soft); color: var(--green); }
.chip-2 { right: -15px; top: 20px; animation-delay: -2.5s; }
.chip-2 i { background: var(--secondary-soft); color: var(--secondary-dark); }
@keyframes floaty { 50% { transform: translateY(-8px); } }

/* ---------- Seções ---------- */
.section { padding: 60px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -1px; color: var(--primary-dark); line-height: 1.15; font-weight: 800; }
.section-head p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.kicker { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--secondary-dark); font-weight: 800; margin-bottom: 6px; display: block; }

/* ---------- Filtros & Toolbar ---------- */
.toolbar { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 30px;
    background: #ffffff; border: 1.5px solid var(--border); color: var(--muted);
    font-size: 14px; font-weight: 600; cursor: pointer; transition: .2s; box-shadow: var(--shadow-sm);
}
.chip:hover { border-color: var(--primary-light); color: var(--primary); }
.chip.active { background: var(--grad-primary); color: #fff; border-color: transparent; box-shadow: 0 4px 12px rgba(13, 71, 161, 0.3); }

.search { position: relative; min-width: 260px; }
.search input {
    width: 100%; padding: 11px 16px 11px 40px; border-radius: 30px;
    background: #ffffff; border: 1.5px solid var(--border); outline: none; transition: .2s; box-shadow: var(--shadow-sm);
}
.search input:focus { border-color: var(--primary); box-shadow: var(--glow); }
.search i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--dim); }

.select {
    padding: 11px 18px; border-radius: 30px; background: #ffffff; border: 1.5px solid var(--border);
    outline: none; cursor: pointer; font-weight: 600; color: var(--muted); box-shadow: var(--shadow-sm);
}
.select:focus { border-color: var(--primary); }

/* ---------- Cards de Produto Clean & Vencedores ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card {
    position: relative; border-radius: var(--radius); overflow: hidden;
    background: #ffffff; border: 1.5px solid var(--border);
    box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), border-color .25s, box-shadow .35s;
    display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); border-color: rgba(13, 71, 161, 0.35); box-shadow: var(--shadow-lg); }

.card-media { position: relative; aspect-ratio: 1; overflow: hidden; background: #f1f5f9; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-media .ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 54px; color: #cbd5e1; }

.badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 8px; font-size: 11.5px; font-weight: 800; }
.badge-sale { background: var(--grad-accent); color: #fff; box-shadow: 0 2px 6px rgba(255, 152, 0, 0.4); }
.badge-ready { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.badge-order { background: var(--primary-soft); color: var(--primary); border: 1px solid rgba(13, 71, 161, 0.2); }
.badge-soon { background: var(--grad-primary); color: #fff; box-shadow: 0 2px 8px rgba(13, 71, 161, 0.4); }

.card-quick {
    position: absolute; right: 12px; bottom: 12px; width: 42px; height: 42px; border-radius: 12px; border: 0;
    background: var(--grad-primary); color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 16px;
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.35); transition: .25s var(--ease); z-index: 2;
}
.card-quick:hover { transform: scale(1.1); background: var(--grad-accent); }

.card-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: 11.5px; color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; }
.card-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--text); }
.card-desc { font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.card-foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--bg-subtle); }
.price { font-family: var(--font-display); font-weight: 800; font-size: 21px; color: var(--primary-dark); }
.price.sob-consulta { font-size: 17px; color: var(--secondary); letter-spacing: -0.2px; font-weight: 800; text-transform: none; }
.price-old { font-size: 12.5px; color: var(--dim); text-decoration: line-through; display: block; line-height: 1; }
.swatches { display: flex; gap: 5px; }
.swatch-dot { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #fff; box-shadow: 0 0 0 1px #cbd5e1; }

.empty {
    text-align: center; padding: 60px 20px; border-radius: var(--radius);
    border: 2px dashed var(--border); background: #ffffff;
}
.empty i { font-size: 46px; color: var(--primary); margin-bottom: 14px; }
.empty h3 { font-family: var(--font-display); font-size: 22px; color: var(--primary-dark); margin-bottom: 8px; }
.empty p { color: var(--muted); margin-bottom: 20px; font-size: 15px; }

/* ---------- Como Funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
    position: relative; padding: 26px 22px; border-radius: var(--radius);
    background: #ffffff; border: 1.5px solid var(--border); box-shadow: var(--shadow-sm);
    transition: .3s var(--ease);
}
.step:hover { border-color: var(--primary-light); transform: translateY(-4px); box-shadow: var(--shadow); }
.step::before {
    counter-increment: step; content: '0' counter(step);
    position: absolute; top: 16px; right: 18px; font-family: var(--font-display); font-size: 32px; font-weight: 800;
    color: #e2e8f0;
}
.step .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; margin-bottom: 16px; background: var(--primary-soft); color: var(--primary); }
.step:nth-child(2) .ico { background: var(--secondary-soft); color: var(--secondary-dark); }
.step:nth-child(3) .ico { background: var(--green-soft); color: var(--green); }
.step:nth-child(4) .ico { background: rgba(2, 132, 199, 0.12); color: var(--accent-cyan); }
.step h3 { font-family: var(--font-display); font-size: 17px; color: var(--primary-dark); margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ---------- Banner Personalizado ---------- */
.cta-banner {
    position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 48px;
    background: var(--grad-hero); color: #fff;
    box-shadow: var(--shadow-lg);
    display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center;
}
.cta-banner h2 { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -1px; line-height: 1.15; margin-bottom: 12px; color: #fff; }
.cta-banner p { color: rgba(255, 255, 255, 0.85); font-size: 15.5px; line-height: 1.6; }
.cta-banner .actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; position: relative; }

/* ---------- Página de Produto ---------- */
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); padding: 22px 0 10px; flex-wrap: wrap; }
.breadcrumb a { color: var(--primary); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }

.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; padding: 16px 0 60px; align-items: flex-start; }
.gallery { position: sticky; top: 96px; }
.gallery-main {
    position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
    border: 1.5px solid var(--border); background: #ffffff; box-shadow: var(--shadow); cursor: zoom-in;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease-out, opacity .3s; }
.gallery-main .ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 90px; color: #cbd5e1; }

.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button {
    flex: 0 0 74px; height: 74px; border-radius: 12px; overflow: hidden; border: 2px solid transparent;
    background: #fff; cursor: pointer; transition: .2s; padding: 0; box-shadow: var(--shadow-sm);
}
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button.active, .thumbs button:hover { border-color: var(--primary); }

.pdp-info h1 { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 36px); line-height: 1.2; letter-spacing: -1px; color: var(--primary-dark); margin: 8px 0 12px; }
.pdp-price { display: flex; align-items: baseline; gap: 14px; margin: 16px 0 6px; }
.pdp-price .price { font-size: 36px; color: var(--primary-dark); }
.pdp-price .price-old { display: inline; font-size: 18px; color: var(--dim); }
.installments { color: var(--muted); font-size: 14px; font-weight: 500; }

.meta-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0; }
.meta {
    padding: 14px 10px; border-radius: 12px; background: #ffffff; border: 1.5px solid var(--border);
    text-align: center; box-shadow: var(--shadow-sm);
}
.meta i { color: var(--primary); font-size: 18px; margin-bottom: 6px; display: block; }
.meta b { display: block; font-size: 14px; color: var(--primary-dark); }
.meta span { font-size: 11.5px; color: var(--muted); }

.opt-label { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 10px; display: block; }
.color-opts { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.color-opt {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 30px; cursor: pointer;
    background: #ffffff; border: 1.5px solid var(--border); font-size: 13.5px; font-weight: 600; color: var(--text);
    box-shadow: var(--shadow-sm); transition: .2s;
}
.color-opt:hover { border-color: var(--primary-light); }
.color-opt.active { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.color-opt .swatch-dot { width: 16px; height: 16px; }

.buy-row { display: flex; gap: 12px; margin-bottom: 16px; }
.qty {
    display: flex; align-items: center; border-radius: 12px; background: #ffffff; border: 1.5px solid var(--border);
    overflow: hidden; box-shadow: var(--shadow-sm);
}
.qty button { width: 44px; height: 50px; border: 0; background: none; cursor: pointer; font-size: 16px; font-weight: 700; color: var(--muted); transition: .2s; }
.qty button:hover { background: var(--bg-subtle); color: var(--primary); }
.qty input { width: 44px; text-align: center; background: none; border: 0; outline: none; font-weight: 800; font-size: 15px; color: var(--text); -moz-appearance: textfield; }
.qty.sm button { width: 34px; height: 38px; }
.qty.sm input { width: 34px; font-size: 13.5px; }

.panel {
    padding: 22px; border-radius: var(--radius); background: #ffffff;
    border: 1.5px solid var(--border); box-shadow: var(--shadow-sm);
}
.panel + .panel { margin-top: 16px; }
.panel h3 { font-family: var(--font-display); font-size: 17px; color: var(--primary-dark); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; font-weight: 700; }
.panel h3 i { color: var(--primary); }
.desc-content { color: var(--muted); font-size: 14.5px; line-height: 1.7; white-space: pre-line; }

/* ---------- Formulários Clean ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--text); }
.input, .field input, .field select, .field textarea {
    width: 100%; padding: 12px 16px; border-radius: 10px; outline: none;
    background: #ffffff; border: 1.5px solid var(--border); font-size: 14.5px; color: var(--text);
    transition: .2s; box-shadow: var(--shadow-sm);
}
.field textarea { min-height: 110px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: var(--glow); }
.field .err { color: var(--red); font-size: 12.5px; font-weight: 600; }
.form-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.col-6 { grid-column: span 6; } .col-4 { grid-column: span 4; } .col-3 { grid-column: span 3; } .col-2 { grid-column: span 2; }
.inline-form { display: flex; gap: 10px; }
.inline-form .input { flex: 1; }

.dropzone {
    position: relative; border: 2px dashed var(--border-hover); border-radius: var(--radius); padding: 36px 20px;
    text-align: center; cursor: pointer; transition: .25s; background: var(--bg-subtle);
}
.dropzone:hover, .dropzone.drag { border-color: var(--primary); background: var(--primary-soft); }
.dropzone i { font-size: 36px; color: var(--primary); margin-bottom: 10px; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .fname { margin-top: 10px; font-weight: 700; color: var(--primary); }

/* ---------- Frete & Opções ---------- */
.ship-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.ship-opt {
    display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-radius: 12px; cursor: pointer;
    background: #ffffff; border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); transition: .2s;
}
.ship-opt:hover { border-color: var(--primary-light); }
.ship-opt.active { border-color: var(--primary); background: var(--primary-soft); }
.ship-opt input { accent-color: var(--primary); width: 18px; height: 18px; }

.ship-logo { width: 44px; height: 32px; border-radius: 8px; background: #fff; display: grid; place-items: center; overflow: hidden; flex-shrink: 0; border: 1px solid var(--border); }
.ship-logo img { max-width: 38px; max-height: 24px; object-fit: contain; }
.ship-logo.icon { background: var(--primary-soft); color: var(--primary); border: 0; }
.ship-info { flex: 1; min-width: 0; }
.ship-info b { display: block; font-size: 14px; color: var(--text); }
.ship-info span { font-size: 12px; color: var(--muted); }
.ship-price { font-weight: 800; font-family: var(--font-display); font-size: 15px; color: var(--primary-dark); }
.ship-price.free { color: var(--green); }

/* ---------- Carrinho & Checkout ---------- */
.page-title { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -1px; color: var(--primary-dark); padding: 30px 0 20px; font-weight: 800; }
.layout-2 { display: grid; grid-template-columns: 1fr 390px; gap: 30px; align-items: flex-start; padding-bottom: 70px; }
.sticky { position: sticky; top: 96px; }

.cart-item {
    display: grid; grid-template-columns: 90px 1fr auto; gap: 18px; align-items: center;
    padding: 16px; border-radius: var(--radius); background: #ffffff; border: 1.5px solid var(--border);
    box-shadow: var(--shadow-sm); transition: .3s;
}
.cart-item + .cart-item { margin-top: 12px; }
.cart-item.removing { opacity: 0; transform: translateX(20px); }
.cart-thumb { width: 90px; height: 90px; border-radius: 12px; overflow: hidden; background: #f1f5f9; display: grid; place-items: center; color: #cbd5e1; font-size: 28px; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item h4 { font-family: var(--font-display); font-size: 16.5px; color: var(--primary-dark); font-weight: 700; }
.cart-item .sub { font-size: 13px; color: var(--muted); margin: 3px 0 10px; }
.cart-item .right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.link-remove { background: none; border: 0; color: var(--dim); cursor: pointer; font-size: 13px; font-weight: 500; transition: .2s; }
.link-remove:hover { color: var(--red); }

.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14.5px; color: var(--muted); }
.summary-row b { color: var(--text); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 20px; margin-top: 8px; border-top: 1.5px solid var(--border); }
.summary-total span { font-weight: 700; font-size: 16px; color: var(--primary-dark); }
.summary-total b { font-family: var(--font-display); font-size: 28px; color: var(--primary-dark); }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }

.mini-item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.mini-item .cart-thumb { width: 50px; height: 50px; border-radius: 8px; font-size: 16px; }
.mini-item div { flex: 1; font-size: 13.5px; }
.mini-item div small { display: block; color: var(--muted); }

.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radio-card {
    padding: 14px; border-radius: 12px; border: 1.5px solid var(--border); background: #fff;
    cursor: pointer; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--text);
    box-shadow: var(--shadow-sm); transition: .2s;
}
.radio-card.active { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }

/* ---------- Confirmação do Pedido ---------- */
.success-hero { text-align: center; padding: 40px 0 24px; }
.success-icon {
    width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; font-size: 38px; color: #fff;
    background: var(--grad-primary); box-shadow: 0 10px 26px -6px rgba(13, 71, 161, 0.45);
}
.timeline { display: flex; justify-content: space-between; position: relative; margin: 16px 0 10px; }
.timeline::before { content: ''; position: absolute; top: 18px; left: 8%; right: 8%; height: 3px; background: var(--border); z-index: 0; }
.timeline .progress { position: absolute; top: 18px; left: 8%; height: 3px; background: var(--primary); z-index: 0; transition: width .8s; }
.tl-step { position: relative; z-index: 1; text-align: center; flex: 1; font-size: 12px; font-weight: 600; color: var(--muted); }
.tl-step i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 8px; background: #fff; border: 2px solid var(--border); font-size: 14px; color: var(--muted); }
.tl-step.done { color: var(--primary-dark); }
.tl-step.done i { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 4px 10px rgba(13, 71, 161, 0.3); }

/* ---------- Toasts & Footer ---------- */
.toast-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
    display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 12px; min-width: 280px; max-width: 380px;
    background: #0f172a; color: #fff; border: 1px solid rgba(255,255,255,0.1); box-shadow: var(--shadow-lg);
    font-size: 14px; animation: toastIn .35s var(--ease);
}
.toast i { font-size: 18px; color: var(--green); }
.toast.error i { color: var(--red); }
.toast a { margin-left: auto; color: var(--secondary); font-weight: 700; white-space: nowrap; }
@keyframes toastIn { from { opacity: 0; transform: translateY(15px); } }

.footer { border-top: 1px solid var(--border); padding: 50px 0 24px; margin-top: 40px; background: #ffffff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer h4 { font-size: 15px; margin-bottom: 14px; color: var(--primary-dark); font-weight: 800; }
.footer p, .footer li { color: var(--muted); font-size: 14px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer a:hover { color: var(--primary); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 10px; color: var(--dim); font-size: 13px; flex-wrap: wrap; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-subtle); border: 1px solid var(--border); color: var(--primary); transition: .2s; }
.socials a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

.wa-float {
    position: fixed; left: 24px; bottom: 24px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
    background: #22c55e; color: #fff; display: grid; place-items: center; font-size: 28px;
    box-shadow: 0 10px 24px -4px rgba(34, 197, 94, 0.5); transition: .3s var(--ease);
}
.wa-float:hover { transform: scale(1.1) rotate(-6deg); }

/* ---------- Responsividade ---------- */
@media (max-width: 1020px) {
    .hero-grid, .pdp, .layout-2, .cta-banner { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .gallery, .sticky { position: static; }
}
@media (max-width: 760px) {
    .nav-links {
        position: fixed; top: 74px; left: 0; right: 0; flex-direction: column; padding: 16px 24px 24px;
        background: #ffffff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
        transform: translateY(-120%); transition: transform .35s var(--ease); z-index: -1;
    }
    .nav-links.open { transform: none; }
    .nav-toggle { display: block; margin-left: auto; }
    .cart-btn .lbl { display: none; }
    .hero { padding: 30px 0 40px; }
    .float-chip { display: none; }
    .steps { grid-template-columns: 1fr; }
    .cta-banner { padding: 32px 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .form-grid { grid-template-columns: repeat(2, 1fr); }
    .col-6, .col-4 { grid-column: span 2; } .col-3, .col-2 { grid-column: span 1; }
    .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .card-body { padding: 12px; }
    .card-title { font-size: 15px; }
    .price { font-size: 18px; }
}
