/* === Arena Pan 2026 — Loja (visual estilo Panini Brasil) === */

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

:root {
  /* Paleta Panini / Copa Brasil */
  --verde: #00a859;
  --verde-dark: #00854a;
  --verde-light: #e6f7ee;
  --amarelo: #ffcc00;
  --amarelo-dark: #f5a623;
  --azul: #0033a0;
  --azul-dark: #002171;
  --laranja: #ff6b00;
  --vermelho: #d91e18;
  --texto: #1a1a1a;
  --texto-soft: #4a4a4a;
  --cinza: #888;
  --cinza-claro: #f5f5f5;
  --cinza-bg: #f8f9fa;
  --borda: #e9eaec;
  --branco: #ffffff;
  --preto: #0a0a0a;
  --footer-bg: #0d1117;

  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 14px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--texto);
  background: var(--branco);
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--azul); text-decoration: none; transition: color .15s; }
a:hover { color: var(--verde); }

img { max-width: 100%; display: block; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

button { font-family: inherit; }

/* === TOPBAR === */
.topbar {
  background: var(--verde);
  color: white;
  padding: 9px 0;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  letter-spacing: .2px;
}

/* === HEADER === */
.site-header {
  background: white;
  border-bottom: 1px solid var(--borda);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 16px 20px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  height: 56px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
}
@media (max-width: 640px) {
  .logo-img { height: 44px; max-width: 168px; }
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
}
.main-nav a {
  color: var(--texto);
  font-weight: 500;
  font-size: 14px;
  padding: 6px 0;
  position: relative;
}
.main-nav a:hover { color: var(--verde); }
.main-nav a:hover::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--verde);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
}
.search-form { display: flex; align-items: center; }
.search-form input {
  border: 1.5px solid var(--borda);
  border-radius: 22px 0 0 22px;
  padding: 9px 14px;
  font-size: 13px;
  width: 180px;
  outline: none;
  transition: border-color .15s;
}
.search-form input:focus { border-color: var(--verde); }
.search-form button {
  background: var(--verde);
  color: white;
  border: 0;
  width: 40px;
  height: 38px;
  border-radius: 0 22px 22px 0;
  cursor: pointer;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.search-form button:hover { background: var(--verde-dark); }

.user-actions { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--texto-soft); }
.user-actions a:hover { color: var(--verde); }
.user-badge { font-size: 13px; color: var(--texto-soft); }

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amarelo);
  color: var(--azul-dark);
  padding: 9px 16px;
  border-radius: 22px;
  font-weight: 700;
  font-size: 14px;
  transition: all .15s;
  box-shadow: 0 2px 6px rgba(255,204,0,.4);
}
.cart-link:hover { background: var(--amarelo-dark); color: white; transform: translateY(-1px); }
.cart-count {
  background: var(--vermelho);
  color: white;
  border-radius: 10px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

/* === HERO SLIDER (glassmorphism premium) === */
.hero-slider {
  position: relative;
  height: 560px;
  overflow: hidden;
  isolation: isolate;
}

/* Slides — fundos vibrantes com pattern */
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
  padding: 0 24px;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }

.hero-slide[data-bg="slide-1"] {
  background:
    radial-gradient(circle at 15% 20%, rgba(255,204,0,.35) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(0,168,89,.45) 0%, transparent 50%),
    linear-gradient(135deg, #003a8c 0%, #001a4d 100%);
}
.hero-slide[data-bg="slide-2"] {
  background:
    radial-gradient(circle at 80% 25%, rgba(255,204,0,.4) 0%, transparent 50%),
    radial-gradient(circle at 20% 75%, rgba(0,51,160,.5) 0%, transparent 55%),
    linear-gradient(135deg, #006b3a 0%, #003d20 100%);
}
.hero-slide[data-bg="slide-3"] {
  background:
    radial-gradient(circle at 25% 30%, rgba(255,107,0,.4) 0%, transparent 50%),
    radial-gradient(circle at 75% 70%, rgba(0,51,160,.45) 0%, transparent 55%),
    linear-gradient(135deg, #2d0a4e 0%, #4a1a7e 50%, #160429 100%);
}

/* Pattern de bolinhas overlay sutil */
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.08) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* Decorações flutuantes */
.hero-decor { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.hero-decor .ball {
  position: absolute;
  font-size: 80px;
  opacity: .12;
  filter: blur(1px);
  animation: ballFloat 9s ease-in-out infinite;
}
.hero-decor .ball-1 { top: 8%; left: 5%; animation-delay: 0s; }
.hero-decor .ball-2 { bottom: 12%; right: 6%; animation-delay: -3s; font-size: 110px; opacity: .1; }
.hero-decor .ball-3 { top: 50%; left: 80%; animation-delay: -5s; font-size: 60px; opacity: .15; }
@keyframes ballFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(180deg); }
}
.hero-decor .confetti {
  position: absolute;
  width: 10px; height: 16px;
  border-radius: 2px;
  opacity: .5;
  animation: confettiFloat 12s linear infinite;
}
.hero-decor .c1 { background: #ffcc00; top: 20%; left: 15%; animation-delay: 0s; }
.hero-decor .c2 { background: #00a859; top: 70%; left: 25%; animation-delay: -3s; }
.hero-decor .c3 { background: #ff6b00; top: 30%; right: 20%; animation-delay: -6s; }
.hero-decor .c4 { background: #0066b3; top: 80%; right: 30%; animation-delay: -2s; }
.hero-decor .c5 { background: #d91e18; top: 15%; left: 50%; animation-delay: -8s; }
@keyframes confettiFloat {
  0% { transform: translateY(-30px) rotate(0deg); opacity: 0; }
  10% { opacity: .5; }
  90% { opacity: .5; }
  100% { transform: translateY(120vh) rotate(540deg); opacity: 0; }
}

/* Glass card — premium */
.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  width: 100%;
  text-align: center;
  padding: 48px 44px 44px;
  border-radius: 28px;
  animation: fadeUp .9s cubic-bezier(.4,0,.2,1);
}
.hero-slide.active .hero-slide-content { animation: fadeUp .9s cubic-bezier(.4,0,.2,1); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.glass {
  background: linear-gradient(135deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.08) 100%);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow:
    0 24px 70px rgba(0,0,0,.4),
    inset 0 1px 1px rgba(255,255,255,.5),
    inset 0 -1px 1px rgba(255,255,255,.1);
  position: relative;
}
.glass::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.1) 0%, transparent 100%);
  border-radius: 28px 28px 0 0;
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--amarelo);
  background: rgba(255,204,0,.15);
  border: 1px solid rgba(255,204,0,.4);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.hero-slide-title {
  font-size: 48px;
  font-weight: 900;
  color: white;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
  text-shadow:
    0 2px 4px rgba(0,0,0,.3),
    0 8px 24px rgba(0,0,0,.5);
}
.hero-slide-title .highlight {
  background: linear-gradient(180deg, var(--amarelo) 0%, #f5a623 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  filter: drop-shadow(0 2px 8px rgba(255,204,0,.5));
}
.hero-slide-desc {
  font-size: 18px;
  color: rgba(255,255,255,.95);
  margin: 0 auto 30px;
  max-width: 580px;
  line-height: 1.55;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.hero-slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--amarelo) 0%, #ffb800 100%);
  color: var(--azul-dark);
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all .25s cubic-bezier(.2,.8,.2,1);
  box-shadow:
    0 10px 30px rgba(255,204,0,.4),
    0 4px 8px rgba(0,0,0,.2),
    inset 0 1px 0 rgba(255,255,255,.5);
  position: relative;
  overflow: hidden;
}
.hero-slide-cta::after {
  content: '→';
  font-size: 18px;
  transition: transform .25s;
}
.hero-slide-cta:hover {
  transform: translateY(-3px);
  text-decoration: none;
  color: var(--azul-dark);
  box-shadow:
    0 16px 40px rgba(255,204,0,.55),
    0 6px 12px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.6);
}
.hero-slide-cta:hover::after { transform: translateX(4px); }

/* Setas de navegação */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50%;
  color: white;
  font-size: 30px;
  cursor: pointer;
  z-index: 5;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s;
  line-height: 1;
}
.hero-nav:hover {
  background: rgba(255,255,255,.25);
  transform: translateY(-50%) scale(1.08);
}
.hero-nav.prev { left: 32px; }
.hero-nav.next { right: 32px; }

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 5;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: 1px solid rgba(255,255,255,.3);
  cursor: pointer;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  padding: 0;
}
.hero-dot:hover { background: rgba(255,255,255,.6); }
.hero-dot.active {
  background: var(--amarelo);
  width: 36px;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(255,204,0,.6);
  border-color: var(--amarelo);
}

@media (max-width: 768px) {
  .hero-slider { height: 480px; }
  .hero-slide-title { font-size: 30px; line-height: 1.15; }
  .hero-slide-desc { font-size: 15px; }
  .hero-slide-content { padding: 32px 24px; border-radius: 22px; }
  .hero-eyebrow { font-size: 10px; padding: 5px 12px; }
  .hero-slide-cta { padding: 13px 28px; font-size: 13px; }
  .hero-nav { display: none; }
  .hero-decor .ball { font-size: 50px; }
  .hero-decor .ball-2 { font-size: 70px; }
}

/* === Trust bar === */
.trust-bar {
  background: var(--cinza-bg);
  padding: 20px 0;
  border-bottom: 1px solid var(--borda);
}
.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.trust-item .icon {
  width: 38px; height: 38px;
  background: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow);
  color: var(--verde);
  flex-shrink: 0;
}
.trust-item strong { display: block; font-size: 13px; }
.trust-item span { color: var(--cinza); font-size: 12px; }

/* === Info cards (após hero) === */
.info-cards { padding: 50px 0 30px; background: white; }
.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.info-card {
  background: linear-gradient(180deg, white 0%, var(--cinza-bg) 100%);
  border: 1px solid var(--borda);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all .25s cubic-bezier(.2,.8,.2,1);
  position: relative;
  overflow: hidden;
}
.info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--verde) 0%, var(--azul) 100%);
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--verde);
}
.info-card-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--verde) 0%, var(--azul) 100%);
  color: white;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(0,168,89,.25);
}
.info-card h3 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: var(--texto);
}
.info-card p {
  color: var(--texto-soft);
  font-size: 14px;
  flex: 1;
}
.info-card-cta {
  font-weight: 700;
  font-size: 14px;
  color: var(--verde-dark);
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .15s;
}
.info-card-cta:hover { gap: 10px; color: var(--verde); }

@media (max-width: 768px) {
  .info-cards-grid { grid-template-columns: 1fr; }
}

/* === Categorias / Tabs === */
.categorias {
  padding: 36px 0 8px;
  background: white;
}
.section-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
  color: var(--texto);
}
.section-title.center { text-align: center; }
.section-subtitle {
  text-align: center;
  color: var(--cinza);
  margin-bottom: 28px;
  margin-top: -16px;
}

.categoria-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.categoria-tab {
  padding: 10px 22px;
  background: white;
  border: 2px solid var(--borda);
  border-radius: 30px;
  font-weight: 600;
  color: var(--texto);
  font-size: 14px;
  transition: all .18s;
}
.categoria-tab:hover {
  border-color: var(--verde);
  color: var(--verde);
  text-decoration: none;
}
.categoria-tab.active {
  background: var(--verde);
  color: white;
  border-color: var(--verde);
}

/* === Produtos === */
.produtos-section { padding: 40px 0; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
  margin-bottom: 28px;
}
.product-card {
  background: white;
  border: 1px solid var(--borda);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .25s cubic-bezier(.2,.8,.2,1);
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--verde);
}
.product-image {
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--cinza-bg);
  position: relative;
  overflow: hidden;
}
.product-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.product-card:hover .product-image img { transform: scale(1.05); }
.product-image.no-image::after {
  content: "⚽";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 70px;
  opacity: .15;
}
.badge-destaque {
  position: absolute; top: 10px; left: 10px;
  background: var(--vermelho);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.product-cat {
  font-size: 10px;
  color: var(--cinza);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}
.product-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  min-height: 36px;
  margin-bottom: 4px;
  color: var(--texto);
}
.product-name a { color: inherit; }
.product-name a:hover { color: var(--verde); }
.product-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-old { text-decoration: line-through; color: var(--cinza); font-size: 12px; }
.price-now {
  color: var(--texto);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.product-pix {
  color: var(--verde-dark);
  font-size: 12px;
  font-weight: 700;
}
.product-pix strong { font-size: 14px; }
.product-badges { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 12px; }
.badge {
  font-size: 9px;
  padding: 3px 8px;
  border-radius: 3px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.badge-pix { background: var(--amarelo); color: var(--azul-dark); }
.badge-frete { background: var(--verde-light); color: var(--verde-dark); }
.buy-form { margin-top: auto; }

/* === Botões === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius);
  border: 0;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
  transition: all .15s;
  text-align: center;
  letter-spacing: .2px;
}
.btn-primary {
  background: var(--verde);
  color: white;
  box-shadow: 0 2px 6px rgba(0,168,89,.3);
}
.btn-primary:hover {
  background: var(--verde-dark);
  text-decoration: none;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,168,89,.4);
}
.btn-amarelo {
  background: var(--amarelo);
  color: var(--azul-dark);
}
.btn-amarelo:hover { background: var(--amarelo-dark); color: white; }
.btn-outline {
  background: white;
  color: var(--texto);
  border: 2px solid var(--borda);
}
.btn-outline:hover {
  border-color: var(--verde);
  color: var(--verde);
  text-decoration: none;
}
.btn-outline-light {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline-light:hover { background: white; color: var(--azul); border-color: white; }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn-link { background: none; border: 0; color: var(--azul); cursor: pointer; padding: 0; font-size: 13px; text-decoration: underline; }
.btn-link.danger { color: var(--vermelho); }

/* === Catálogo header === */
.catalogo-header {
  padding: 36px 0;
  background: linear-gradient(180deg, var(--cinza-bg) 0%, white 100%);
}
.catalogo-header h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

/* === Produto detalhe === */
.produto-detalhe { padding: 50px 0; }
.produto-detalhe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.produto-galeria {
  background: var(--cinza-bg);
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  border: 1px solid var(--borda);
}
.produto-galeria img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 30px; }
.no-image-placeholder {
  font-size: 80px;
  opacity: .2;
}
.produto-info h1 { font-size: 32px; font-weight: 800; margin: 8px 0 18px; line-height: 1.15; letter-spacing: -0.5px; }
.produto-cat {
  font-size: 11px;
  color: var(--cinza);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}
.produto-preco-bloco {
  margin: 22px 0;
  padding: 20px 22px;
  background: var(--cinza-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--borda);
}
.produto-preco-bloco .price-old { display: block; margin-bottom: 4px; }
.price-now-lg {
  font-size: 38px;
  font-weight: 900;
  color: var(--texto);
  display: block;
  margin: 4px 0 8px;
  letter-spacing: -1px;
}
.price-pix {
  color: var(--verde-dark);
  font-weight: 700;
  font-size: 15px;
}
.price-pix small { font-weight: 600; }
.produto-desc { margin: 20px 0; color: var(--texto-soft); }
.buy-form-detail {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  margin-top: 28px;
  flex-wrap: wrap;
}
.qty-field { display: flex; flex-direction: column; gap: 6px; }
.qty-field-label {
  font-size: 12px;
  color: var(--cinza);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.buy-form-detail .qty-control {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--borda);
  border-radius: 30px;
  overflow: hidden;
  background: white;
}
.buy-form-detail .qty-btn {
  width: 44px; height: 46px;
  background: white;
  border: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--texto);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s;
  line-height: 1;
}
.buy-form-detail .qty-btn:hover {
  background: var(--verde-light);
  color: var(--verde-dark);
}
.buy-form-detail .qty-input {
  width: 56px;
  height: 46px;
  border: 0;
  border-left: 1px solid var(--borda);
  border-right: 1px solid var(--borda);
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  outline: none;
  -moz-appearance: textfield;
  background: transparent;
}
.buy-form-detail .qty-input::-webkit-outer-spin-button,
.buy-form-detail .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.produto-estoque { color: var(--cinza); font-size: 13px; margin-top: 14px; }

/* === Carrinho / Checkout === */
.carrinho-section, .checkout-section, .auth-section { padding: 50px 0; min-height: 60vh; }
.carrinho-section h1, .checkout-section h1 {
  font-size: 30px; font-weight: 800; margin-bottom: 28px; letter-spacing: -0.5px;
}
.cart-grid { display: grid; grid-template-columns: 1fr 340px; gap: 28px; }
.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--borda);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  background: white;
}
.cart-item img { width: 90px; height: 90px; object-fit: cover; border-radius: var(--radius); }
.cart-item-info h3 { font-size: 15px; margin-bottom: 4px; font-weight: 600; }
.cart-item-price { font-size: 15px; color: var(--texto-soft); margin-bottom: 8px; }
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--borda);
  border-radius: 24px;
  overflow: hidden;
  background: white;
  margin-top: 6px;
}
.qty-control .qty-btn {
  width: 36px; height: 36px;
  background: white;
  border: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--texto);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .12s, color .12s;
}
.qty-control .qty-btn:hover { background: var(--verde-light); color: var(--verde-dark); }
.qty-control .qty-input {
  width: 44px;
  height: 36px;
  border: 0;
  border-left: 1px solid var(--borda);
  border-right: 1px solid var(--borda);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  outline: none;
  -moz-appearance: textfield;
}
.qty-control .qty-input::-webkit-outer-spin-button,
.qty-control .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cart-item-side { text-align: right; }
.cart-item-side strong { display: block; font-size: 18px; margin-bottom: 6px; }
.cart-resumo {
  background: white;
  border: 1px solid var(--borda);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: fit-content;
  position: sticky; top: 110px;
  box-shadow: var(--shadow);
}
.cart-resumo h3 { margin-bottom: 14px; font-size: 18px; }
.resumo-line { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--borda); font-size: 14px; }
.resumo-total { font-size: 20px; border-bottom: 0; font-weight: 800; padding-top: 14px; }
.resumo-pix { color: var(--verde-dark); margin: 12px 0 16px; font-size: 13px; font-weight: 700; }
.empty-cart { text-align: center; padding: 60px 20px; }
.empty-cart p { font-size: 18px; color: var(--cinza); margin-bottom: 20px; }

/* === Checkout (refeito) === */
.checkout-page { padding: 40px 0 60px; background: var(--cinza-bg); min-height: 70vh; }
.checkout-header { margin-bottom: 28px; }
.checkout-header h1 {
  font-size: 28px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 6px;
}
.checkout-sub { color: var(--cinza); font-size: 14px; }

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 24px;
  align-items: flex-start;
}
.checkout-main { display: flex; flex-direction: column; gap: 18px; }

/* Cards */
.checkout-card {
  background: white;
  border-radius: 14px;
  border: 1px solid var(--borda);
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  overflow: hidden;
}
.checkout-card-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--borda);
  display: flex; align-items: center; gap: 12px;
}
.checkout-card-header h2 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 0;
}
.checkout-step {
  width: 30px; height: 30px;
  background: var(--verde);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
  flex-shrink: 0;
}
.checkout-card-body { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.checkout-card-body .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout-card-body label {
  display: block;
  font-size: 12px;
  color: var(--texto-soft);
  font-weight: 600;
  letter-spacing: .2px;
  margin: 0;
}
.checkout-card-body input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--borda);
  border-radius: 8px;
  margin-top: 6px;
  font-size: 14px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  font-family: inherit;
}
.checkout-card-body input:focus {
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(0,168,89,.12);
}
.checkout-card-body .req { color: var(--vermelho); font-weight: 700; }

/* Pagamento — método em card */
.metodo-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 2px solid var(--borda);
  border-radius: 12px;
  cursor: pointer;
  transition: all .2s;
  background: white;
  position: relative;
}
.metodo-card:hover { border-color: var(--verde); background: rgba(0,168,89,.03); }
.metodo-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.metodo-card.selected {
  border-color: var(--verde);
  background: var(--verde-light);
  box-shadow: 0 0 0 3px rgba(0,168,89,.08);
}
.metodo-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--verde) 0%, var(--verde-dark) 100%);
  color: white;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.metodo-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.metodo-titulo { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.metodo-titulo strong { font-size: 15px; }
.metodo-tag {
  background: var(--amarelo);
  color: var(--azul-dark);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.metodo-desc { font-size: 13px; color: var(--cinza); }
.metodo-check {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--borda);
  display: flex; align-items: center; justify-content: center;
  color: transparent;
  font-weight: 800;
  font-size: 14px;
  transition: all .2s;
}
.metodo-card.selected .metodo-check {
  background: var(--verde);
  border-color: var(--verde);
  color: white;
}

/* Sidebar */
.checkout-sidebar { position: sticky; top: 100px; }
.resumo-card .checkout-card-body { padding: 18px 22px; gap: 0; }
.resumo-body { display: flex; flex-direction: column; }

.resumo-prod {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--borda);
  align-items: center;
}
.resumo-prod-img {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--cinza-bg);
  border: 1px solid var(--borda);
}
.resumo-prod-img img { width: 100%; height: 100%; object-fit: cover; }
.resumo-prod-qtd {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--azul-dark);
  color: white;
  width: 22px; height: 22px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid white;
}
.resumo-prod-info { min-width: 0; }
.resumo-prod-nome {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.resumo-prod-preco { font-size: 11px; color: var(--cinza); }
.resumo-prod-total { font-size: 14px; font-weight: 700; }

.resumo-totais {
  padding: 16px 0 6px;
  border-top: 1px solid var(--borda);
  margin-top: 6px;
}
.resumo-totais .resumo-line {
  display: flex; justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  border: 0;
}
.resumo-totais .resumo-total {
  font-size: 18px;
  font-weight: 800;
  padding-top: 12px;
  margin-top: 6px;
  border-top: 1px dashed var(--borda);
}

.btn-checkout {
  margin-top: 16px;
  background: linear-gradient(135deg, var(--verde) 0%, var(--verde-dark) 100%);
  font-size: 15px;
  letter-spacing: .3px;
  padding: 16px 24px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,168,89,.35);
}
.btn-checkout svg { margin-right: 4px; }
.btn-checkout:hover {
  background: linear-gradient(135deg, var(--verde-dark) 0%, #00723f 100%);
  box-shadow: 0 8px 22px rgba(0,168,89,.45);
}

.checkout-trust {
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px 0 8px;
  font-size: 12px; color: var(--cinza);
  text-align: center;
}
.trust-line { display: block; }

.checkout-selos {
  display: flex; gap: 8px; justify-content: center;
  flex-wrap: wrap;
  padding: 10px 0 4px;
  border-top: 1px solid var(--borda);
}
.checkout-selos img {
  height: 28px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  opacity: .9;
  filter: grayscale(.2);
}

/* CEP autocomplete */
.cep-wrap { position: relative; display: block; }
.cep-status {
  display: block;
  font-size: 12px;
  margin-top: 4px;
  font-weight: 600;
  min-height: 18px;
}
.cep-status.loading { color: var(--cinza); }
.cep-status.ok { color: var(--verde-dark); }
.cep-status.error { color: var(--vermelho); }
.cep-hint {
  display: block;
  font-size: 11px;
  color: var(--cinza);
  margin-top: 2px;
  font-weight: 400;
}

@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-sidebar { position: static; }
}
@media (max-width: 600px) {
  .checkout-card-body .row { grid-template-columns: 1fr; }
  .metodo-card { grid-template-columns: 40px 1fr auto; gap: 10px; padding: 12px; }
  .metodo-icon { width: 40px; height: 40px; font-size: 20px; }
}

/* === Auth === */
.auth-section { display: flex; align-items: center; justify-content: center; }
.auth-card {
  width: 100%; max-width: 420px;
  background: white; padding: 36px;
  border: 1px solid var(--borda);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.auth-card h1 { font-size: 26px; font-weight: 800; margin-bottom: 20px; letter-spacing: -0.5px; }
.auth-card label { display: block; margin-bottom: 14px; font-size: 13px; color: var(--texto-soft); font-weight: 500; }
.auth-card input { width: 100%; padding: 11px; border: 1.5px solid var(--borda); border-radius: var(--radius); margin-top: 4px; outline: none; }
.auth-card input:focus { border-color: var(--verde); }
.auth-link { margin-top: 18px; text-align: center; font-size: 13px; }
.alert { background: #fee; color: var(--vermelho); padding: 11px 14px; border-radius: var(--radius); margin-bottom: 14px; font-size: 13px; }

/* === Pedido confirmado === */
.pedido-confirmado { padding: 70px 0; background: var(--cinza-bg); min-height: 60vh; }
.confirmado-card {
  max-width: 640px; margin: 0 auto;
  background: white; padding: 50px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.confirmado-card h1 { font-size: 28px; font-weight: 800; margin: 14px 0 16px; }
.confirmado-card p { margin: 10px 0; color: var(--texto-soft); }
.confirmado-icon {
  width: 76px; height: 76px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 38px;
  background: var(--cinza-bg);
  color: var(--azul);
}
.confirmado-icon.ok { background: var(--verde-light); color: var(--verde-dark); }
.confirmado-icon.waiting { background: #fef3c7; color: #92400e; animation: pulseScale 1.5s ease-in-out infinite; }
.confirmado-icon.error { background: #fee2e2; color: #991b1b; }
@keyframes pulseScale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.confirmado-info {
  background: var(--cinza-bg);
  padding: 18px 22px;
  border-radius: 10px;
  margin: 22px 0;
  text-align: left;
}
.confirmado-info p { margin: 6px 0; }

.auto-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 30px;
  font-size: 13px !important;
  color: var(--verde-dark) !important;
  font-weight: 600;
  margin-top: 16px !important;
}
.auto-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--verde);
  animation: autoPulse 1.4s ease-in-out infinite;
}
@keyframes autoPulse {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(0,168,89,.5); }
  50% { transform: scale(1.3); opacity: .8; box-shadow: 0 0 0 6px rgba(0,168,89,0); }
}

/* === Upload de comprovante === */
.comprovante-bloco {
  margin-top: 28px;
  padding: 20px;
  border-top: 1px solid var(--borda);
  text-align: left;
}
.comprovante-titulo {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  text-align: center;
}
.comprovante-hint {
  font-size: 13px;
  color: var(--cinza);
  text-align: center;
  margin-bottom: 14px;
}
.comprovante-form { display: flex; flex-direction: column; gap: 12px; }
.comprovante-drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 28px 20px;
  border: 2px dashed var(--borda);
  border-radius: 12px;
  background: var(--cinza-bg);
  cursor: pointer;
  transition: all .15s;
  text-align: center;
}
.comprovante-drop:hover, .comprovante-drop.drag {
  border-color: var(--verde);
  background: var(--verde-light);
}
.comprovante-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.comprovante-icon-big { font-size: 36px; }
.comprovante-msg { display: flex; flex-direction: column; gap: 2px; line-height: 1.4; }
.comprovante-msg strong { color: var(--verde-dark); font-weight: 700; }
.comprovante-msg small { color: var(--cinza); font-size: 12px; }
.comprovante-selected {
  display: none;
  margin-top: 10px;
  padding: 8px 12px;
  background: white;
  border-radius: 6px;
  font-size: 13px;
  color: var(--texto);
  word-break: break-all;
}
.comprovante-selected.show { display: inline-block; }

.comprovante-enviado {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  background: var(--verde-light);
  border-left: 4px solid var(--verde);
  border-radius: 8px;
  margin-bottom: 14px;
  text-align: left;
}
.comprovante-enviado .comprovante-icon { font-size: 24px; }
.comprovante-enviado strong { display: block; color: var(--verde-dark); }
.comprovante-enviado small { color: var(--cinza); font-size: 12px; }

.status-tag { display: inline-block; padding: 4px 12px; border-radius: 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.status-pendente { background: #fef3c7; color: #92400e; }
.status-aguardando_confirmacao { background: #fed7aa; color: #9a3412; animation: pulseBg 2s ease-in-out infinite; }
@keyframes pulseBg { 0%,100% { opacity: 1; } 50% { opacity: .7; } }
.status-pago { background: #d1fae5; color: #065f46; }
.status-cancelado { background: #fee2e2; color: #991b1b; }
.status-estornado { background: #e9d5ff; color: #6b21a8; }
.status-novo { background: #dbeafe; color: #1e40af; }
.status-processando { background: #e0e7ff; color: #3730a3; }
.status-enviado { background: #fef3c7; color: #92400e; }
.status-entregue { background: #d1fae5; color: #065f46; }

/* === Página de pagamento PIX === */
.pagamento-page { padding: 40px 0 60px; background: var(--cinza-bg); min-height: 70vh; }
.pagamento-header { text-align: center; margin-bottom: 28px; }
.pagamento-header h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 6px; }
.pagamento-header p { color: var(--cinza); }

.pagamento-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: flex-start;
}

.pix-card {
  background: white;
  border-radius: 14px;
  padding: 30px 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  border: 1px solid var(--borda);
}
.pix-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ecfdf5;
  color: #065f46;
  padding: 10px 16px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  margin: 0 auto 18px;
  width: fit-content;
}
.pix-brand svg { display: block; }

.pix-valor {
  text-align: center;
  margin-bottom: 22px;
  padding: 18px;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 100%);
  border-radius: 12px;
  border: 1px solid #a7f3d0;
}
.pix-valor span {
  display: block;
  font-size: 12px;
  color: var(--cinza);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.pix-valor strong {
  font-size: 36px;
  font-weight: 900;
  color: #065f46;
  letter-spacing: -1px;
  display: block;
}

.pix-qr-wrap {
  text-align: center;
  margin-bottom: 24px;
  padding: 24px;
  background: white;
  border: 2px solid #32BCAD;
  border-radius: 14px;
  position: relative;
}
.pix-qr {
  width: 260px; height: 260px;
  display: block;
  margin: 0 auto;
}
.pix-timer {
  margin-top: 14px;
  padding: 8px 14px;
  background: #fef3c7;
  color: #92400e;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pix-timer.expired { background: #fee2e2; color: #991b1b; }
.timer-time { font-family: monospace; font-size: 14px; }
.pix-instr h3 { margin-bottom: 10px; font-size: 16px; }
.pix-instr ol { margin-left: 20px; color: var(--texto-soft); }
.pix-instr li { margin-bottom: 6px; }

.pix-codigo { margin: 24px 0; }
.pix-codigo label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--cinza);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.pix-codigo-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pix-codigo-box textarea {
  width: 100%;
  min-height: 90px;
  padding: 12px 14px;
  border: 1.5px solid var(--borda);
  border-radius: 8px;
  font-family: monospace;
  font-size: 12px;
  resize: vertical;
  background: var(--cinza-bg);
  color: var(--texto);
  outline: none;
  word-break: break-all;
}
#btnCopiar.copied { background: var(--verde-dark); }

.pix-confirmar {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--borda);
  text-align: center;
}
.pix-confirmar button { margin-bottom: 8px; }
.pix-confirmar small { color: var(--cinza); font-size: 12px; line-height: 1.5; display: block; }

.pagamento-resumo {
  background: white;
  border: 1px solid var(--borda);
  border-radius: 14px;
  padding: 22px;
  position: sticky;
  top: 100px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.pagamento-resumo h3 { font-size: 16px; margin-bottom: 4px; }
.pagamento-numero { font-size: 13px; color: var(--cinza); margin-bottom: 14px; }
.pagamento-numero strong { color: var(--texto); font-family: monospace; font-size: 14px; }

.pagamento-itens { margin-bottom: 18px; }
.pag-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--borda);
}
.pag-item-img {
  position: relative;
  width: 48px; height: 48px;
  background: var(--cinza-bg);
  border-radius: 6px;
  overflow: hidden;
}
.pag-item-img img { width: 100%; height: 100%; object-fit: cover; }
.pag-item-qtd {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--azul-dark);
  color: white;
  width: 20px; height: 20px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.pag-item-info p { font-size: 12px; font-weight: 600; line-height: 1.3; margin-bottom: 2px; }
.pag-item-info span { font-size: 11px; color: var(--cinza); }

.pag-totais { padding-top: 14px; border-top: 1px solid var(--borda); }
.pag-totais .resumo-line { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14px; }
.pag-totais .resumo-total { font-weight: 800; padding-top: 10px; margin-top: 6px; border-top: 1px dashed var(--borda); font-size: 17px; }

.pag-cliente {
  margin-top: 16px;
  padding: 12px;
  background: var(--cinza-bg);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--texto-soft);
}

@media (max-width: 900px) {
  .pagamento-grid { grid-template-columns: 1fr; }
  .pagamento-resumo { position: static; }
  .pix-qr { width: 240px; height: 240px; }
}

/* === FOOTER === */
.site-footer {
  background: var(--footer-bg);
  color: #b8c2cc;
  margin-top: 60px;
}
.footer-newsletter {
  background: var(--azul-dark);
  padding: 36px 0;
  text-align: center;
  color: white;
}
.footer-newsletter h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.footer-newsletter p { opacity: .9; margin-bottom: 18px; }
.newsletter-form { display: inline-flex; gap: 0; max-width: 460px; width: 100%; }
.newsletter-form input {
  flex: 1; padding: 12px 16px;
  border: 0; border-radius: var(--radius) 0 0 var(--radius);
  font-size: 14px; outline: none;
}
.newsletter-form button {
  background: var(--amarelo);
  color: var(--azul-dark);
  border: 0;
  padding: 12px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: 800;
  cursor: pointer;
  font-size: 14px;
}
.newsletter-form button:hover { background: var(--amarelo-dark); color: white; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 48px 0 30px;
}
.footer-grid h4 {
  color: white;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-grid a { display: block; color: #9ca3af; padding: 5px 0; font-size: 13px; }
.footer-grid a:hover { color: var(--amarelo); }
.footer-grid p { font-size: 13px; line-height: 1.7; color: #9ca3af; }
.footer-logo { font-size: 22px; font-weight: 800; color: white; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }

/* Selos de segurança no footer (coluna da marca) */
.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.footer-trust .trust-card {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: white;
  padding: 6px 10px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
  transition: transform .15s, box-shadow .15s;
}
.footer-trust .trust-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,.3);
}
.footer-trust .trust-card svg { flex-shrink: 0; }
.footer-trust .trust-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}
.footer-trust .trust-text strong {
  font-size: 11px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.2px;
}
.footer-trust .trust-text span {
  font-size: 8px;
  font-weight: 700;
  color: #666;
  letter-spacing: 1px;
}
.trust-norton .trust-text strong { color: #ffb900; }
.trust-ra .trust-text strong { color: #00a859; }
.trust-google .trust-text strong { color: #4285F4; }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: background .15s, transform .15s;
}
.footer-social a:hover {
  background: var(--amarelo);
  transform: translateY(-2px);
  text-decoration: none;
}
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.7;
}

/* Páginas legais */
.legal-page {
  padding: 50px 20px;
  max-width: 860px;
  margin: 0 auto;
}
.legal-page h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--texto);
  letter-spacing: -0.5px;
}
.legal-meta { color: var(--cinza); font-size: 13px; margin-bottom: 24px; }
.legal-content {
  background: white;
  border: 1px solid var(--borda);
  border-radius: 12px;
  padding: 36px 40px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--texto);
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.legal-content h2 {
  font-size: 19px;
  font-weight: 800;
  margin: 28px 0 12px;
  color: var(--texto);
  letter-spacing: -0.3px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 22px 0 10px;
  color: var(--texto);
}
.legal-content p { margin-bottom: 12px; color: var(--texto-soft); }
.legal-content ul, .legal-content ol { margin: 10px 0 16px 24px; color: var(--texto-soft); }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--verde-dark); font-weight: 600; }

.empresa-info {
  margin-top: 36px;
  padding: 20px 22px;
  background: var(--cinza-bg);
  border-radius: 10px;
  border-left: 4px solid var(--verde);
}
.empresa-info h3 { margin-top: 0; font-size: 15px; }
.empresa-info p { margin-bottom: 6px; font-size: 14px; }

.footer-bottom {
  background: #050810;
  padding: 18px 0;
  font-size: 12px;
  color: #6b7280;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-cnpj { font-size: 11px; }

/* === App Modal (alert/confirm) === */
.app-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity .2s;
  padding: 20px;
}
.app-modal-backdrop.show { opacity: 1; }

.app-modal {
  background: white;
  border-radius: 16px;
  padding: 32px 32px 24px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 25px 70px rgba(0,0,0,.35);
  text-align: center;
  transform: scale(.92) translateY(20px);
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.app-modal-backdrop.show .app-modal { transform: scale(1) translateY(0); }

.app-modal-icon {
  width: 72px; height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cinza-bg, #f5f5f5);
  color: #475569;
}
.app-modal.modal-success .app-modal-icon { background: #d1fae5; color: #059669; }
.app-modal.modal-error .app-modal-icon { background: #fee2e2; color: #dc2626; }
.app-modal.modal-warning .app-modal-icon { background: #fef3c7; color: #d97706; }
.app-modal.modal-info .app-modal-icon { background: #dbeafe; color: #2563eb; }
.app-modal.modal-confirm .app-modal-icon { background: #ede9fe; color: #7c3aed; }

.app-modal-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #0f172a;
  margin-bottom: 8px;
}
.app-modal-message {
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 24px;
}

.app-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.app-modal-btn {
  padding: 12px 26px;
  border-radius: 10px;
  border: 0;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform .12s, box-shadow .12s, background .12s;
  font-family: inherit;
  min-width: 110px;
}
.app-modal-btn:hover { transform: translateY(-1px); }
.app-modal-cancel {
  background: #f1f5f9;
  color: #475569;
}
.app-modal-cancel:hover { background: #e2e8f0; }
.app-modal-ok {
  background: linear-gradient(135deg, #00a859 0%, #00854a 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(0,168,89,.3);
}
.app-modal-ok:hover { box-shadow: 0 6px 16px rgba(0,168,89,.45); }

.modal-error .app-modal-ok {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  box-shadow: 0 4px 12px rgba(239,68,68,.3);
}
.modal-error .app-modal-ok:hover { box-shadow: 0 6px 16px rgba(239,68,68,.45); }
.modal-warning .app-modal-ok {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 4px 12px rgba(245,158,11,.3);
}
.modal-confirm .app-modal-ok {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  box-shadow: 0 4px 12px rgba(99,102,241,.3);
}

@media (max-width: 480px) {
  .app-modal { padding: 24px 22px 20px; }
  .app-modal-actions { flex-direction: column-reverse; }
  .app-modal-btn { width: 100%; }
}

/* === Toast === */
.toast {
  position: fixed;
  bottom: 100px; right: 24px;
  background: var(--texto);
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  z-index: 200;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast-success { background: var(--verde); color: white; }
.toast-error { background: var(--vermelho); color: white; }

/* Bump animation no contador do carrinho */
.cart-count.bump {
  animation: bump .35s ease;
}
@keyframes bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.4); background: var(--verde); }
  100% { transform: scale(1); }
}

/* Loading state nos forms */
.qty-control.loading { opacity: .65; pointer-events: none; }
.cart-item.removing { opacity: .5; }

/* === Consent box (cookies/analytics) === */
.consent-box {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 340px;
  max-width: calc(100vw - 32px);
  background: white;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow:
    0 12px 40px rgba(0,0,0,.18),
    0 2px 8px rgba(0,0,0,.08);
  border: 1px solid var(--borda);
  z-index: 98;
  font-family: 'Inter', -apple-system, sans-serif;
  animation: consentSlideUp .35s cubic-bezier(.2,.8,.2,1);
}
.consent-box[hidden] { display: none; }
@keyframes consentSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.consent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.consent-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--texto);
  letter-spacing: -0.2px;
}
.consent-logo {
  height: 32px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
}
.consent-text {
  font-size: 13px;
  color: var(--texto-soft);
  line-height: 1.5;
  margin-bottom: 14px;
}
.consent-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.consent-btn {
  padding: 9px 18px;
  border-radius: 8px;
  border: 0;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  transition: transform .12s, background .15s;
}
.consent-btn:hover { transform: translateY(-1px); }
.consent-decline {
  background: var(--cinza-bg);
  color: var(--texto-soft);
}
.consent-decline:hover { background: var(--borda); }
.consent-accept {
  background: linear-gradient(135deg, var(--verde) 0%, var(--verde-dark) 100%);
  color: white;
  box-shadow: 0 3px 10px rgba(0,168,89,.3);
}
.consent-accept:hover { box-shadow: 0 5px 14px rgba(0,168,89,.45); }

@media (max-width: 480px) {
  .consent-box { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 14px 16px; }
  .consent-actions { gap: 6px; }
  .consent-btn { flex: 1; padding: 10px 12px; }
}

/* === WhatsApp flutuante === */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 6px 20px rgba(37,211,102,.5),
    0 2px 6px rgba(0,0,0,.15);
  z-index: 99;
  cursor: pointer;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s;
  text-decoration: none;
  animation: waPulse 2.4s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  background: #1da851;
  color: white;
  text-decoration: none;
  box-shadow:
    0 10px 30px rgba(37,211,102,.65),
    0 4px 10px rgba(0,0,0,.2);
}
.whatsapp-float svg { display: block; }

@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,.6); }
  50% { box-shadow: 0 6px 20px rgba(37,211,102,.5), 0 0 0 14px rgba(37,211,102,0); }
}

.footer-wa-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}
.footer-wa-link svg {
  flex-shrink: 0;
  color: #25d366;
}

/* === Empty / errors === */
.empty { text-align: center; padding: 50px 20px; color: var(--cinza); font-size: 15px; }
.error-page { padding: 80px 20px; text-align: center; }
.error-page h1 { font-size: 70px; color: var(--verde); font-weight: 900; }

/* === Responsivo === */
@media (max-width: 1024px) {
  .header-inner { grid-template-columns: auto 1fr auto; gap: 14px; }
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 13px; }
  .search-form input { width: 130px; }
}
@media (max-width: 768px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .main-nav { order: 3; grid-column: 1 / -1; overflow-x: auto; padding: 6px 0; gap: 14px; justify-content: flex-start; }
  .search-form { display: none; }
  .hero { padding: 50px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .hero h1 { font-size: 36px; }
  .hero-art { font-size: 140px; }
  .produto-detalhe-grid, .cart-grid, .checkout-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .price-now { font-size: 18px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input, .newsletter-form button { border-radius: var(--radius); width: 100%; }
}
