/* =================================================================
   Seleção Pet — Estilos base + cabeçalho
   Mobile-first. Etapa 1: barra de aviso, header, menu e sacola.
   ================================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Pequena folga ao pular para âncoras (header não é mais fixo) */
#comprar,
#avaliacoes,
#faq {
  scroll-margin-top: 12px;
}

body {
  min-height: 100vh;
  font-family: var(--fonte-corpo);
  color: var(--texto);
  background: var(--branco);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* Garante o tamanho dos ícones Lucide (renderizam como <svg>) */
[data-lucide],
.lucide {
  width: 24px;
  height: 24px;
}

/* -----------------------------------------------------------------
   VARIÁVEIS
   ----------------------------------------------------------------- */
:root {
  /* Cores (tiradas da referência) */
  --laranja-claro: #fba62a;
  --laranja: #f08d1c;
  --laranja-escuro: #e37c12;
  --azul-royal: #1a3a8e;
  --azul: #0c1e5e;
  --azul-escuro: #07123f;
  --verde: #009c3b;
  --amarelo: #ffcb05;
  --branco: #ffffff;
  --texto: #14233f;
  --texto-suave: rgba(20, 35, 63, 0.55); /* cinza p/ subtítulos e legendas */

  /* Gradientes */
  --grad-barra: linear-gradient(
    180deg,
    var(--laranja-claro) 0%,
    var(--laranja) 55%,
    var(--laranja-escuro) 100%
  );
  --grad-header: radial-gradient(
    130% 150% at 50% 25%,
    var(--azul-royal) 0%,
    var(--azul) 45%,
    var(--azul-escuro) 100%
  );

  /* Apoio */
  --overlay-bg: rgba(6, 16, 40, 0.55);
  --borda-suave: rgba(20, 35, 63, 0.12);
  --borda-header: rgba(20, 35, 63, 0.08); /* borda inferior sutil do header */

  /* Tipografia — Nunito no site todo */
  --fonte-titulo: "Nunito", system-ui, -apple-system, sans-serif;
  --fonte-corpo: "Nunito", system-ui, -apple-system, sans-serif;

  /* Métricas */
  --promo-altura: 34px;
  --header-altura: 64px;
  --drawer-largura: 320px;

  /* Camadas */
  --z-header: 100;
  --z-overlay: 200;
  --z-drawer: 300;

  --transicao: 0.3s ease;
}

/* =================================================================
   1) BARRA DE AVISO (marquee)
   ================================================================= */
.promo-bar {
  background: var(--grad-barra);
  color: var(--branco);
  height: var(--promo-altura);
  display: flex;
  align-items: center;
  overflow: hidden;       /* esconde o que sai dos lados */
  white-space: nowrap;
}

/* A faixa contém 2 grupos idênticos; animamos -50% (1 grupo) p/ loop contínuo */
.promo-marquee {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
  will-change: transform;
}

/* Pausa ao passar o mouse */
.promo-bar:hover .promo-marquee {
  animation-play-state: paused;
}

.promo-marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.promo-marquee-group span {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  /* espaçamento ao redor de cada texto/ícone na faixa */
  padding: 0 18px;
}

.promo-marquee-group .lucide {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  .promo-marquee {
    animation: none;
  }
}

/* =================================================================
   2) HEADER
   ================================================================= */
.header {
  position: static; /* rola junto com a página (não fixo) */
  background: var(--grad-header);
  color: var(--branco);
}

.header__inner {
  height: var(--header-altura);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* esquerda | logo | direita */
  align-items: center;
}

.header__logo {
  justify-self: center;
  display: inline-flex;
}

.header__logo-img {
  height: 76px;
  width: auto;
}

/* O botão da sacola fica à direita */
#open-cart {
  justify-self: end;
}

/* Botão de ícone genérico */
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--branco);
  transition: background var(--transicao);
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Variante para drawers de fundo claro */
.icon-btn--dark {
  color: var(--texto);
}

.icon-btn--dark:hover {
  background: rgba(20, 35, 63, 0.08);
}

/* Badge do contador do carrinho — bolinha laranja, número branco */
.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--laranja);
  color: var(--branco);
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

/* =================================================================
   OVERLAY (compartilhado)
   ================================================================= */
.overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: var(--overlay-bg);
  opacity: 0;
  transition: opacity var(--transicao);
}

.overlay.is-visible {
  opacity: 1;
}

/* Trava o scroll do body quando um drawer está aberto */
body.no-scroll {
  overflow: hidden;
}

/* =================================================================
   DRAWERS (base comum)
   ================================================================= */
.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: var(--z-drawer);
  width: min(var(--drawer-largura), 88vw);
  background: var(--branco);
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 40px rgba(6, 16, 40, 0.25);
  transition: transform var(--transicao);
}

/* Esquerda (menu) */
.drawer--left {
  left: 0;
  transform: translateX(-100%);
}
.drawer--left.is-open {
  transform: translateX(0);
}

/* Direita (sacola) */
.drawer--right {
  right: 0;
  transform: translateX(100%);
}
.drawer--right.is-open {
  transform: translateX(0);
}

/* Cabeçalho do drawer */
.drawer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--borda-suave);
}

.drawer__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--verde);
}

.drawer__title {
  font-family: var(--fonte-titulo);
  font-size: 20px;
  font-weight: 800;
  color: var(--texto);
}

/* -----------------------------------------------------------------
   3) MENU — navegação
   ----------------------------------------------------------------- */
.drawer__logo {
  height: 48px;
  width: auto;
}

.menu-nav {
  padding: 8px;
  overflow-y: auto;
  flex: 1;
}

.menu-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 12px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--texto);
  transition: background var(--transicao);
}
.menu-nav a .lucide {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--laranja);
}

.menu-nav a:hover,
.menu-nav a:active {
  background: rgba(20, 35, 63, 0.05);
}

/* Rodapé do menu: CTA verde + WhatsApp em destaque */
.menu-foot {
  padding: 16px;
  border-top: 1px solid var(--borda-suave);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.menu-foot .btn {
  width: 100%;
}
.menu-foot__wpp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  border: 1.5px solid var(--verde);
  color: var(--verde);
  font-family: var(--fonte-titulo);
  font-weight: 800;
  font-size: 15px;
  transition: background var(--transicao);
}
.menu-foot__wpp .lucide {
  width: 20px;
  height: 20px;
}
.menu-foot__wpp:hover {
  background: rgba(0, 156, 59, 0.08);
}
.menu-foot__note {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--verde);
}

/* -----------------------------------------------------------------
   4) SACOLA — corpo e rodapé
   ----------------------------------------------------------------- */
.cart-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.cart-empty {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cart-empty__icon {
  width: 48px;
  height: 48px;
  color: rgba(20, 35, 63, 0.2);
  margin-bottom: 10px;
}

.cart-empty__title {
  font-family: var(--fonte-titulo);
  font-size: 18px;
  font-weight: 600;
  color: var(--texto);
  margin-bottom: 4px;
}

.cart-empty__sub {
  font-size: 14px;
  color: rgba(20, 35, 63, 0.6);
}

/* Botão Finalizar desativado quando o carrinho está vazio */
.btn:disabled {
  background: rgba(20, 35, 63, 0.12);
  color: rgba(20, 35, 63, 0.4);
  cursor: not-allowed;
  box-shadow: none;
}
.btn:disabled:hover {
  filter: none;
}

.cart-footer {
  padding: 16px;
  border-top: 1px solid var(--borda-suave);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 16px;
  color: var(--texto);
}

/* -----------------------------------------------------------------
   BOTÕES
   ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  font-family: var(--fonte-titulo);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, filter var(--transicao),
    background var(--transicao);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--verde);
  color: var(--branco);
}
.btn--primary:hover {
  filter: brightness(1.05);
}

.btn--secondary {
  background: transparent;
  color: var(--texto);
  border: 1.5px solid var(--borda-suave);
}
.btn--secondary:hover {
  background: rgba(20, 35, 63, 0.05);
}

.btn .lucide {
  width: 20px;
  height: 20px;
}

/* Botão em formato pílula (cantos totalmente arredondados) */
.btn--pill {
  border-radius: 999px;
}

/* Botão "Finalizar pedido": duas linhas dentro do mesmo botão */
.btn--finalize {
  flex-direction: column;
  gap: 2px;
  padding: 12px 18px;
  line-height: 1.15;
}
.btn__line-main {
  font-size: 16px;
  font-weight: 800;
}
.btn__line-sub {
  font-size: 12px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.95;
}

/* -----------------------------------------------------------------
   ACESSIBILIDADE — foco visível
   ----------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--laranja);
  outline-offset: 2px;
  border-radius: 6px;
}

/* =================================================================
   CONTEÚDO / LAYOUT
   ================================================================= */
.page {
  max-width: 520px;
  margin: 0 auto;
  padding: 16px;
}

/* =================================================================
   PARTE 2) GALERIA DO PRODUTO
   ================================================================= */
.gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---- Foto principal ---- */
.gallery__main {
  position: relative;
}

/* Viewport: janela que recorta o trilho */
.gallery__viewport {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--branco);
  border: 1px solid var(--borda-suave);
  border-radius: 16px;
  overflow: hidden;
  cursor: zoom-in;
  /* permite rolar a página na vertical, mas o JS controla o horizontal */
  touch-action: pan-y;
}

/* Trilho: enfileira os slides e desliza no eixo X */
.gallery__track {
  display: flex;
  height: 100%;
  transition: transform 0.35s ease;
  will-change: transform;
}

/* Cada slide ocupa 100% da viewport */
.gallery__slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* evita seleção/arraste-fantasma da imagem */
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* Botãozinho redondo de zoom no canto inferior direito */
.gallery__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--branco);
  color: var(--azul);
  border: 1px solid var(--borda-suave);
  box-shadow: 0 2px 8px rgba(7, 18, 63, 0.12);
  transition: transform 0.15s ease, background var(--transicao);
}
.gallery__zoom:hover {
  background: #f5f6fa;
}
.gallery__zoom:active {
  transform: scale(0.94);
}
.gallery__zoom .lucide {
  width: 20px;
  height: 20px;
}

/* ---- Linha de miniaturas (setas + lista) ---- */
.gallery__thumbs-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gallery__arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--branco);
  color: var(--azul);
  border: 1px solid var(--borda-suave);
  transition: background var(--transicao);
}
.gallery__arrow:hover {
  background: #f5f6fa;
}
.gallery__arrow .lucide {
  width: 18px;
  height: 18px;
}

.gallery__thumbs {
  flex: 1;
  display: flex;
  gap: 8px;
  /* deixa rolar caso não caiba (proteção em telas estreitas) */
  overflow-x: auto;
  scrollbar-width: none;
}
.gallery__thumbs::-webkit-scrollbar {
  display: none;
}

.gallery__thumb {
  flex: 1;
  min-width: 0;
  aspect-ratio: 1 / 1;
  padding: 0;
  background: var(--branco);
  border: 2px solid var(--borda-suave);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transicao);
}

.gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Miniatura ativa: borda laranja */
.gallery__thumb.is-active {
  border-color: var(--laranja);
}

/* =================================================================
   LIGHTBOX (tela cheia)
   ================================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 18, 63, 0.9);
  opacity: 0;
  transition: opacity var(--transicao);
}
.lightbox.is-open {
  opacity: 1;
}
/* O display:flex acima sobrepõe o atributo [hidden]; recuperamos aqui,
   senão a tela cheia (invisível) ficaria por cima capturando os cliques. */
.lightbox[hidden] {
  display: none;
}

/* Viewport/trilho da tela cheia (mesma lógica do visor principal) */
.lightbox__viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: pan-y;
}

.lightbox__track {
  display: flex;
  height: 100%;
  transition: transform 0.35s ease;
  will-change: transform;
}

.lightbox__slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox__slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* Setas da tela cheia */
.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--branco);
  background: rgba(255, 255, 255, 0.12);
  transition: background var(--transicao);
}
.lightbox__arrow:hover {
  background: rgba(255, 255, 255, 0.22);
}
.lightbox__arrow--prev {
  left: 12px;
}
.lightbox__arrow--next {
  right: 12px;
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--branco);
  background: rgba(255, 255, 255, 0.12);
  transition: background var(--transicao);
}
.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* =================================================================
   PARTE 3) BLOCO DE COMPRA
   ================================================================= */
.product {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Imagem pós-CTA: largura total do container, cantos arredondados sutis */
.post-cta {
  width: 100%;
  height: auto;
  margin-top: 6px;
  border-radius: 14px;
}

/* -----------------------------------------------------------------
   DESCRIÇÃO DO PRODUTO (recolhível)
   ----------------------------------------------------------------- */
.description {
  margin-top: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--borda-suave);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.description__title {
  font-family: var(--fonte-titulo);
  font-size: 18px;
  font-weight: 800;
  color: var(--texto);
}

/* Conteúdo: recolhido por padrão mostrando BLOCOS INTEIROS (lead + intro),
   nunca corta no meio da frase. Fade suave no fim do último bloco visível. */
.description__content {
  position: relative;
  color: rgba(20, 35, 63, 0.78); /* cinza-escuro p/ o corpo */
  font-size: 15px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.description__content:not(.is-expanded) > *:nth-child(n + 3) {
  display: none;
}
.description__content:not(.is-expanded)::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 48px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--branco));
  pointer-events: none;
}

.description__lead {
  font-family: var(--fonte-titulo);
  font-size: 16px;
  font-weight: 800;
  color: var(--azul);
}
.description__subtitle {
  font-family: var(--fonte-titulo);
  font-size: 15px;
  font-weight: 800;
  color: var(--azul);
}
.description__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 18px;
  list-style: disc;
}
.description__list li {
  padding-left: 2px;
}

/* Tabela de tamanhos enxuta */
.description__sizes {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.description__sizes li {
  display: flex;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(20, 35, 63, 0.04);
}
.description__sizes span {
  min-width: 86px;
  font-weight: 700;
  color: var(--texto);
}

/* Botão ler mais / ler menos */
.description__toggle {
  align-self: flex-start;
  padding: 4px 0;
  font-family: var(--fonte-titulo);
  font-size: 14px;
  font-weight: 800;
  color: var(--laranja);
}
.description__toggle:hover {
  text-decoration: underline;
}

/* ---- Badges ---- */
.product__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 6px; /* retangular com cantos levemente arredondados */
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--branco);
}
/* pílulas sólidas, sem ícone */
.badge--sales {
  background: var(--azul);
}
.badge--original {
  background: #2a2f3a; /* preto/grafite */
}
.badge--stock {
  background: var(--verde);
}

/* ---- Título + coleção ---- */
.product__title {
  font-family: var(--fonte-titulo);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--texto);
}
.product__collection {
  /* cinza, menor, caixa normal — logo abaixo do título */
  margin-top: -10px; /* aproxima do título (compensa o gap do .product) */
  font-size: 14px;
  font-weight: 500;
  color: rgba(20, 35, 63, 0.55);
}

/* ---- Avaliações ---- */
.product__reviews {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--texto);
}
.stars {
  display: inline-flex;
  color: var(--amarelo);
}
.stars .lucide {
  width: 16px;
  height: 16px;
  fill: var(--amarelo);
  stroke: var(--amarelo);
}
.product__reviews-count {
  color: rgba(20, 35, 63, 0.6);
}

/* -----------------------------------------------------------------
   BLOCO DE AVALIAÇÕES DE CLIENTES
   ----------------------------------------------------------------- */
.reviews {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.reviews__title {
  font-family: var(--fonte-titulo);
  font-size: 18px;
  font-weight: 800;
  color: var(--texto);
}

/* ---- Card de resumo ---- */
.reviews__summary {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 16px;
  border: 1px solid var(--borda-suave);
  border-radius: 16px;
  background: var(--branco);
}
.reviews__score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.reviews__score-num {
  font-family: var(--fonte-titulo);
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  color: var(--amarelo);
}
.reviews__score-num::after {
  content: "/5";
  font-size: 20px;
  font-weight: 800;
  color: rgba(20, 35, 63, 0.45);
}
.reviews__score .stars .lucide {
  width: 22px;
  height: 22px;
}
.reviews__score-count {
  font-size: 13px;
  color: var(--texto-suave);
}
.reviews__bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.reviews__bars li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--texto-suave);
}
.reviews__bar-label {
  flex: 0 0 30px;
  font-weight: 700;
  color: var(--amarelo);
}
.reviews__bar {
  flex: 1 1 auto;
  height: 8px;
  border-radius: 999px;
  background: rgba(20, 35, 63, 0.08);
  overflow: hidden;
}
.reviews__bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--amarelo);
}
.reviews__bar-qtd {
  flex: 0 0 auto;
  min-width: 34px;
  padding: 2px 8px;
  border-radius: 8px;
  background: rgba(20, 35, 63, 0.06);
  text-align: center;
  font-weight: 700;
  color: var(--texto);
  font-variant-numeric: tabular-nums;
}

/* ---- Formulário de avaliação ---- */
/* Botão "Escreva uma avaliação": sólido escuro, largura total, caixa normal */
#review-open {
  width: 100%;
  background: #2a2f3a;
  color: var(--branco);
  border: none;
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
}
#review-open:hover {
  background: #20242d;
}
#review-open .lucide {
  display: none; /* sem ícone de lápis */
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--borda-suave);
  border-radius: 14px;
  background: var(--branco);
}
.review-form[hidden] {
  display: none;
}
.field__file {
  width: 100%;
  font-family: var(--fonte-corpo);
  font-size: 14px;
  color: var(--texto);
}
.field__textarea {
  resize: vertical;
  min-height: 88px;
}
.rf-stars {
  display: flex;
  align-items: center;
  gap: 4px;
}
.rf-star {
  display: inline-flex;
  padding: 2px;
  color: rgba(20, 35, 63, 0.25);
  transition: color var(--transicao);
}
.rf-star .lucide {
  width: 26px;
  height: 26px;
}
.rf-star.is-on {
  color: var(--amarelo);
}
.rf-star.is-on .lucide {
  fill: var(--amarelo);
  stroke: var(--amarelo);
}
.rf-stars-count {
  margin-left: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--texto-suave);
}
.review-form__msg {
  font-size: 13px;
  font-weight: 600;
  color: var(--verde);
}
.review-form__msg[hidden] {
  display: none;
}
.review-form__msg.is-error {
  color: #d23b3b;
}

/* ---- Lista de avaliações ---- */
.reviews__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--borda-suave);
  border-radius: 14px;
  background: #fafbfc;
}
.review-card.is-new {
  border-color: rgba(20, 35, 63, 0.18);
  box-shadow: 0 1px 6px rgba(6, 16, 40, 0.06);
}
.review-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.review-card__name {
  font-family: var(--fonte-titulo);
  font-size: 15px;
  font-weight: 800;
  color: var(--texto);
}
.review-card__verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--texto-suave);
}
.review-card__verified .lucide {
  width: 14px;
  height: 14px;
}
.review-card__stars {
  display: inline-flex;
  color: var(--amarelo);
}
.review-card__stars .lucide {
  width: 15px;
  height: 15px;
  fill: var(--amarelo);
  stroke: var(--amarelo);
}
.review-card__text {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(20, 35, 63, 0.78);
}
.review-card__photo {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--borda-suave);
}

/* ---- Paginação ---- */
.reviews__pager {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.reviews__pager button {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--borda-suave);
  border-radius: 10px;
  background: var(--branco);
  font-family: var(--fonte-titulo);
  font-size: 14px;
  font-weight: 700;
  color: var(--texto);
  transition: background var(--transicao), border-color var(--transicao);
}
.reviews__pager button:hover:not(:disabled) {
  background: rgba(20, 35, 63, 0.05);
}
.reviews__pager button.is-active {
  background: #e8eefc;
  border-color: #c5d4f5;
  color: var(--azul);
}
.reviews__pager button:disabled {
  opacity: 0.4;
  cursor: default;
}
.reviews__pager .lucide {
  width: 18px;
  height: 18px;
}

/* -----------------------------------------------------------------
   FAQ — PERGUNTAS FREQUENTES (accordion)
   ----------------------------------------------------------------- */
.faq {
  margin-top: 28px;
  scroll-margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq__title {
  font-family: var(--fonte-titulo);
  font-size: 18px;
  font-weight: 800;
  color: var(--texto);
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq__item {
  border: 1px solid var(--borda-suave);
  border-radius: 14px;
  background: var(--branco);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  text-align: left;
  font-family: var(--fonte-titulo);
  font-size: 15px;
  font-weight: 700;
  color: var(--texto);
  background: none;
  border: none;
  cursor: pointer;
}
.faq__chevron {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--texto-suave);
  transition: transform var(--transicao);
}
.faq__q[aria-expanded="true"] .faq__chevron {
  transform: rotate(180deg);
  color: var(--laranja);
}
/* Animação suave de altura via grid-template-rows (0fr -> 1fr) */
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transicao);
}
.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
}
.faq__a-inner {
  min-height: 0;
  overflow: hidden;
}
.faq__a-inner p {
  padding: 0 16px 16px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(20, 35, 63, 0.78);
}
.faq__link {
  color: var(--laranja);
  font-weight: 700;
  text-decoration: underline;
}
.faq__link:hover {
  color: var(--laranja-escuro);
}

/* -----------------------------------------------------------------
   DIFERENCIAIS / CONFIANÇA (carrossel auto-scroll, 1 card por vez)
   ----------------------------------------------------------------- */
.perks {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.perks__viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  touch-action: pan-y; /* JS controla o arrasto horizontal */
}
.perks__track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}
.perks__card {
  flex: 0 0 100%;
  min-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 28px 20px;
  border: 1px solid var(--borda-suave);
  border-radius: 16px;
  background: var(--branco);
}
.perks__card .lucide {
  width: 40px;
  height: 40px;
  color: var(--laranja);
}
.perks__card-title {
  font-family: var(--fonte-titulo);
  font-size: 17px;
  font-weight: 800;
  color: var(--azul);
}
.perks__card-sub {
  max-width: 320px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--texto-suave);
}
.perks__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.perks__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  background: rgba(20, 35, 63, 0.2);
  transition: background var(--transicao), width var(--transicao);
}
.perks__dot.is-active {
  width: 22px;
  background: var(--laranja);
}

/* ---- Preço ---- */
.price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.price__top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.price__old {
  font-size: 15px;
  color: rgba(20, 35, 63, 0.5);
  text-decoration: line-through;
}
.price__off {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--verde);
  color: var(--branco);
  font-size: 12px;
  font-weight: 800;
}
.price__current {
  font-family: var(--fonte-titulo);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--verde);
}
.price__installment {
  font-size: 14px;
  color: rgba(20, 35, 63, 0.7);
}

/* ---- Seletor de tamanho ---- */
.size {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.size__label {
  font-weight: 700;
  font-size: 15px;
  color: var(--texto);
}
/* Botões redondos pequenos, ~7 por linha (1–7 em cima, 8–9 embaixo) */
.size__options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.size__opt {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--borda-suave);
  border-radius: 50%;
  background: var(--branco);
  font-family: var(--fonte-titulo);
  font-size: 15px;
  font-weight: 600;
  color: var(--texto);
  transition: border-color var(--transicao), background var(--transicao),
    color var(--transicao);
}
.size__opt:hover {
  border-color: var(--azul);
}
/* Ativo: círculo preenchido azul-marinho, número branco */
.size__opt.is-active {
  border-color: var(--azul);
  background: var(--azul);
  color: var(--branco);
}

/* Guia de tamanhos: compacto (tamanho do conteúdo), contorno laranja */
.size__guide-btn {
  align-self: flex-start; /* não estica; alinhado à esquerda */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1.5px solid var(--laranja);
  border-radius: 8px;
  background: var(--branco);
  font-size: 13px;
  font-weight: 700;
  color: var(--laranja-escuro);
  transition: background var(--transicao);
}
.size__guide-btn:hover {
  background: rgba(240, 141, 28, 0.08);
}
.size__guide-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.size__guide-btn .lucide {
  width: 16px;
  height: 16px;
}

/* ---- Frete grátis (Correios) ---- */
.shipping {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--borda-suave);
  border-radius: 14px;
  background: rgba(0, 156, 59, 0.05);
}
.shipping__logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.shipping__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.shipping__text strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--verde);
}
.shipping__text span {
  font-size: 13px;
  color: rgba(20, 35, 63, 0.7);
}
.shipping__eta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  font-weight: 700;
  color: var(--verde);
}
.shipping__eta .lucide {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ---- Botão comprar ---- */
.btn--buy {
  font-size: 17px;
  padding: 16px 18px;
}

/* ---- Garantias: 3 colunas em uma linha, centralizadas ---- */
.guarantees {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.guarantees li {
  display: flex;
  flex-direction: column; /* ícone em cima, texto embaixo */
  align-items: center;
  text-align: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--texto);
}
.guarantees .lucide {
  width: 24px;
  height: 24px;
  color: var(--verde);
}

/* ---- Faixa de pagamento: MP à esquerda, bandeiras à direita ---- */
.payments {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--borda-suave);
}
.payments__mp {
  height: 34px;
  width: auto;
  flex-shrink: 0;
}
.payments__brands {
  height: 36px;
  width: auto;
  max-width: 70%;
  object-fit: contain;
}

/* =================================================================
   MODAIS (guia de tamanhos + personalização)
   ================================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: flex-end; /* sobe de baixo no mobile (estilo bottom-sheet) */
  justify-content: center;
}
.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: var(--overlay-bg);
  opacity: 0;
  transition: opacity var(--transicao);
}
.modal.is-open .modal__backdrop {
  opacity: 1;
}

.modal__panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: var(--branco);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -8px 40px rgba(6, 16, 40, 0.25);
  transform: translateY(100%);
  transition: transform var(--transicao);
}
.modal.is-open .modal__panel {
  transform: translateY(0);
}

.modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--borda-suave);
}
.modal__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--laranja);
}
.modal__title {
  font-family: var(--fonte-titulo);
  font-size: 20px;
  font-weight: 800;
  color: var(--texto);
}
.modal__subtitle {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--texto-suave);
}
.modal__body {
  padding: 16px;
  overflow-y: auto;
}
.modal__footer {
  padding: 16px;
  border-top: 1px solid var(--borda-suave);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ---- Guia de tamanhos: tela cheia, tudo visível sem scroll ---- */
.modal--fullscreen {
  align-items: stretch; /* ocupa a tela toda, não bottom-sheet */
}
/* Backdrop escurecido atrás do conteúdo */
.modal--fullscreen .modal__backdrop {
  background: rgba(0, 0, 0, 0.5);
}
.size-guide {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 560px;
  min-width: 0; /* permite encolher: tabela não estoura a largura */
  height: 100dvh;
  margin: 0 auto;
  padding: 10px 12px 12px;
  gap: 8px;
  background: var(--branco);
  /* tudo cabe sem rolar */
  overflow: hidden;
}
/* Cabeçalho fixo no topo (não encolhe) */
.size-guide__header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Ilustração: mostra os cães (topo da imagem), sem desperdiçar a metade vazia */
.size-guide__illu {
  flex: 0 0 auto;
  width: 100%;
  height: 21vh;
  max-height: 180px;
  border-radius: 12px;
  overflow: hidden;
}
.size-guide__illu img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Rótulos sob os cães (2 colunas) */
.size-guide__labels {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  text-align: center;
}
.size-guide__labels span {
  font-size: 12px;
  font-weight: 700;
  color: var(--azul);
  line-height: 1.2;
}

/* Aviso */
.size-guide__hint {
  flex: 0 0 auto;
  text-align: center;
  font-size: 12px;
  color: var(--texto-suave);
}

/* Tabela nativa — ocupa o resto e cabe sem scroll */
.size-guide__table-wrap {
  flex: 1 1 0;
  min-height: 0;
  min-width: 0;
  width: 100%;
  overflow: hidden;
}
.size-table {
  width: 100%;
  height: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 12px;
}
.size-table th,
.size-table td {
  border: 1px solid var(--borda-suave);
  padding: 4px 6px;
  text-align: center;
  line-height: 1.15;
}
/* Cabeçalho verde */
.size-table thead th {
  background: var(--verde);
  color: var(--branco);
  font-family: var(--fonte-titulo);
  font-weight: 800;
  font-size: 11px;
}
.size-table thead th small {
  font-weight: 600;
  opacity: 0.9;
}
/* Larguras em % (table-layout fixed) p/ caber na tela sem overflow */
.size-table th:nth-child(1),
.size-table td:nth-child(1) {
  width: 11%;
}
.size-table th:nth-child(2),
.size-table td:nth-child(2) {
  width: 55%;
}
.size-table th:nth-child(3),
.size-table td:nth-child(3),
.size-table th:nth-child(4),
.size-table td:nth-child(4) {
  width: 17%;
}
/* Coluna Tamanho: amarela, número bold verde */
.size-table__num {
  background: var(--amarelo);
  font-family: var(--fonte-titulo);
  font-weight: 900;
  font-size: 15px;
  color: var(--verde);
}
/* Coluna Porte/Raças: fonte menor, alinhada à esquerda, quebra linha */
.size-table__desc {
  text-align: left !important;
  font-size: 10.5px;
  color: var(--texto);
  overflow-wrap: break-word;
  word-break: break-word;
}
/* Zebra clara nas linhas */
.size-table tbody tr:nth-child(even) td {
  background: rgba(20, 35, 63, 0.03);
}
.size-table tbody tr:nth-child(even) .size-table__num {
  background: #ffd84a; /* amarelo levemente alternado */
}

/* ---- Personalização ---- */
/* Prévia: box pequeno tracejado abaixo dos inputs, "NOME 10" azul-marinho */
.customize__preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 14px 16px;
  border: 2px dashed var(--borda-suave);
  border-radius: 14px;
  background: var(--branco);
  text-align: center;
}
.customize__preview-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texto-suave);
}
.customize__preview-shirt {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--fonte-titulo);
  color: var(--azul);
  line-height: 1.1;
}
.customize__preview-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  word-break: break-word;
}
.customize__preview-number {
  font-size: 26px;
  font-weight: 900;
}

.field {
  display: block;
  margin-bottom: 14px;
}
.field__label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--texto);
}
.field__input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--borda-suave);
  border-radius: 12px;
  font-family: var(--fonte-corpo);
  font-size: 16px; /* >=16px evita zoom automático no iOS */
  color: var(--texto);
  background: var(--branco);
  transition: border-color var(--transicao);
}
.field__input:focus {
  outline: none;
  border-color: var(--laranja);
}

/* -----------------------------------------------------------------
   BOTÃO FLUTUANTE DE COMPRA
   ----------------------------------------------------------------- */
.buy-fab {
  position: fixed;
  z-index: 90; /* abaixo do header(100)/overlay(200), acima do conteúdo */
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 18px;
  border-radius: 14px;
  background: var(--verde);
  color: var(--branco);
  font-family: var(--fonte-titulo);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px rgba(0, 156, 59, 0.35);
  /* estado oculto (slide + fade) */
  opacity: 0;
  transform: translateY(120%);
  transition: opacity var(--transicao), transform var(--transicao);
}
.buy-fab[hidden] {
  display: inline-flex; /* anula o hidden p/ permitir transição; controle via .is-visible */
}
.buy-fab.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.buy-fab .lucide {
  width: 20px;
  height: 20px;
}
.buy-fab:active {
  transform: translateY(1px);
}

/* Desktop: pílula flutuante no canto inferior direito */
@media (min-width: 720px) {
  .buy-fab {
    left: auto;
    right: 20px;
    bottom: 20px;
    border-radius: 999px;
    padding: 14px 24px;
  }
}

/* Pulso de destaque no seletor de tamanho (acionado via JS) */
@keyframes size-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(240, 141, 28, 0.5);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(240, 141, 28, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(240, 141, 28, 0);
  }
}
#size-grid.is-pulsing {
  border-radius: 12px;
  animation: size-pulse 0.9s ease-out 2;
}

/* -----------------------------------------------------------------
   PROVA SOCIAL A) BOLINHA DE VÍDEOS (stories)
   ----------------------------------------------------------------- */
.stories-bubble {
  position: fixed;
  z-index: 95; /* acima do buy-fab(90), abaixo do header(100) */
  right: 14px;
  bottom: 88px; /* mesma altura da notificação (mobile) */
  /* footprint = só o círculo; o badge é overlay e não aumenta a altura */
  width: 68px;
  height: 68px;
  padding: 0;
  background: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
/* Some suave quando o rodapé entra na tela */
.stories-bubble.is-hidden {
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
}
.stories-bubble__ring {
  display: block;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(
    from 0deg,
    var(--verde),
    var(--amarelo),
    var(--laranja),
    var(--azul-royal),
    var(--verde)
  );
  box-shadow: 0 6px 18px rgba(6, 16, 40, 0.32);
}
.stories-bubble__video {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--branco);
  background: #000;
}
/* Badge "VER" sobreposto na borda inferior do círculo (overlay) */
.stories-bubble__badge {
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--branco);
  color: var(--texto);
  font-family: var(--fonte-titulo);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(6, 16, 40, 0.25);
}
.stories-bubble__badge .lucide {
  width: 12px;
  height: 12px;
}

/* Player em tela cheia */
.stories {
  position: fixed;
  inset: 0;
  z-index: 500; /* acima de tudo (lightbox=400) */
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.stories[hidden] {
  display: none;
}
.stories.is-open {
  opacity: 1;
}
.stories__stage {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 460px;
  background: #000;
  overflow: hidden;
}
@media (min-width: 720px) {
  .stories__stage {
    width: auto;
    height: min(92vh, 840px);
    aspect-ratio: 9 / 16;
    border-radius: 16px;
  }
}
.stories__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
/* barras de progresso */
.stories__bars {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 3;
  display: flex;
  gap: 4px;
}
.stories__bar {
  flex: 1 1 0;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}
.stories__bar-fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: #fff;
}
/* controles do topo */
.stories__top {
  position: absolute;
  top: 22px;
  left: 10px;
  right: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.stories__ctrl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
}
.stories__ctrl .lucide {
  width: 22px;
  height: 22px;
}
/* zonas de toque (atrás dos controles) */
.stories__nav {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 1;
  background: none;
}
.stories__nav--prev {
  left: 0;
}
.stories__nav--next {
  right: 0;
}
/* curtir */
.stories__like {
  position: absolute;
  right: 14px;
  bottom: 26px;
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #fff;
}
.stories__like .lucide {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
  transition: transform 0.2s ease;
}
.stories__like.is-liked .lucide {
  fill: #ff3040;
  stroke: #ff3040;
}
.stories__like.is-animating .lucide {
  animation: like-pop 0.4s ease;
}
@keyframes like-pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.45);
  }
  100% {
    transform: scale(1);
  }
}
.stories__like-count {
  font-size: 13px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* -----------------------------------------------------------------
   PROVA SOCIAL B) NOTIFICAÇÃO "X comprou agora"
   ----------------------------------------------------------------- */
.social-proof {
  position: fixed;
  z-index: 95;
  left: 0; /* ancorada/encostada na borda esquerda */
  bottom: 88px; /* mesma altura da bolinha de vídeo (mobile) */
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 260px;
  padding: 8px 16px 8px 10px;
  /* só os cantos DIREITOS arredondados; esquerdos retos colados na borda */
  border-radius: 0 22px 22px 0;
  background: var(--branco);
  border: 1px solid var(--borda-suave);
  border-left: none;
  box-shadow: 0 8px 24px rgba(6, 16, 40, 0.18);
  /* faixa recolhida pra dentro da borda esquerda */
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.45s ease;
  pointer-events: none; /* nunca bloqueia botões */
}
.social-proof[hidden] {
  display: none;
}
.social-proof.is-visible {
  transform: translateX(0);
  opacity: 1;
}
.social-proof__img {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}
.social-proof__text {
  font-size: 12px;
  line-height: 1.35;
  color: var(--texto);
}
.social-proof__name {
  font-weight: 800;
}
.social-proof__meta {
  color: var(--texto-suave);
}

/* Posições no desktop (buy-fab vira pílula no canto direito) */
@media (min-width: 720px) {
  .stories-bubble {
    right: 20px;
    bottom: 96px; /* empilha acima da pílula de comprar */
  }
  .social-proof {
    left: 0; /* segue encostada na borda esquerda */
    bottom: 20px; /* canto esquerdo livre no desktop */
  }
}

/* -----------------------------------------------------------------
   RODAPÉ
   ----------------------------------------------------------------- */
.footer {
  /* linha fina em gradiente laranja no topo */
  border-top: 4px solid transparent;
  border-image: var(--grad-barra) 1;
  /* fundo azul-marinho/royal igual ao header */
  background: var(--grad-header);
  color: var(--branco);
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.footer__logo {
  width: auto;
  height: 84px;
}
.footer__tagline {
  max-width: 420px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}
.footer__block {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
/* Título de bloco com risquinho laranja embaixo */
.footer__title {
  position: relative;
  padding-bottom: 8px;
  margin-bottom: 4px;
  font-family: var(--fonte-titulo);
  font-size: 16px;
  font-weight: 800;
  color: var(--branco);
}
.footer__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 32px;
  height: 3px;
  border-radius: 999px;
  background: var(--laranja);
}
.footer__text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}
.footer__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer__links span {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.footer__flags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}
.footer__flags img {
  height: 30px;
  width: auto;
  border-radius: 5px;
  background: var(--branco);
}
/* Linha legal — faixa final, um tom mais escuro */
.footer__legal {
  background: var(--azul-escuro);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 16px 20px;
  font-size: 12px;
  line-height: 1.6;
}

/* Layout em colunas no desktop */
@media (min-width: 720px) {
  .footer__inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    text-align: left;
    gap: 28px 40px;
    padding: 40px 24px 28px;
  }
  .footer__logo {
    grid-column: 1 / -1;
    justify-self: center;
  }
  .footer__tagline {
    grid-column: 1 / -1;
    max-width: none;
    text-align: center;
  }
  .footer__block,
  .footer__links {
    max-width: none;
    align-items: flex-start;
  }
  .footer__title::after {
    left: 0;
    transform: none;
  }
  .footer__flags {
    justify-content: flex-start;
  }
}

/* =================================================================
   CHAT DE SUPORTE ONLINE (bottom sheet)
   ================================================================= */
.chat {
  position: fixed;
  inset: 0;
  z-index: 450;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.chat[hidden] { display: none; }
.chat__backdrop {
  position: absolute;
  inset: 0;
  background: var(--overlay-bg);
  opacity: 0;
  transition: opacity var(--transicao);
}
.chat.is-open .chat__backdrop { opacity: 1; }
.chat__panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 80dvh;
  max-height: 640px;
  display: flex;
  flex-direction: column;
  background: #e9edf2;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -8px 40px rgba(6, 16, 40, 0.3);
  transform: translateY(100%);
  transition: transform var(--transicao);
  overflow: hidden;
}
.chat.is-open .chat__panel { transform: translateY(0); }
.chat__header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--grad-header);
  color: var(--branco);
}
.chat__avatar {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--branco);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.chat__avatar img { width: 32px; height: 32px; object-fit: contain; }
.chat__id { flex: 1 1 auto; display: flex; flex-direction: column; line-height: 1.2; }
.chat__id strong { font-family: var(--fonte-titulo); font-size: 15px; font-weight: 800; }
.chat__status { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; opacity: 0.9; }
.chat__dot { width: 8px; height: 8px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 2px rgba(46,204,113,0.3); }
.chat__header .icon-btn { color: var(--branco); }
.chat__header .icon-btn:hover { background: rgba(255,255,255,0.15); }
.chat__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat__msg {
  max-width: 80%;
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-word;
  box-shadow: 0 1px 1px rgba(6,16,40,0.08);
}
.chat__msg--bot { align-self: flex-start; background: var(--branco); color: var(--texto); border-top-left-radius: 4px; }
.chat__msg--user { align-self: flex-end; background: #d3f8c8; color: var(--texto); border-top-right-radius: 4px; }
.chat__typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 4px;
  padding: 12px 14px;
  background: var(--branco);
  border-radius: 14px;
  border-top-left-radius: 4px;
}
.chat__typing span { width: 7px; height: 7px; border-radius: 50%; background: rgba(20,35,63,0.35); animation: chat-blink 1.2s infinite both; }
.chat__typing span:nth-child(2) { animation-delay: 0.2s; }
.chat__typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chat-blink { 0%,60%,100% { opacity: 0.25; } 30% { opacity: 1; } }
.chat__quick { align-self: stretch; display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }
.chat__chip {
  align-self: flex-end;
  max-width: 85%;
  text-align: right;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--verde);
  background: var(--branco);
  color: var(--verde);
  font-family: var(--fonte-corpo);
  font-size: 13.5px;
  font-weight: 700;
  transition: background var(--transicao);
}
.chat__chip:hover { background: rgba(0,156,59,0.08); }
.chat__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--verde);
  color: var(--branco);
  font-family: var(--fonte-titulo);
  font-weight: 800;
  font-size: 13px;
}
.chat__action .lucide { width: 16px; height: 16px; }

/* =================================================================
   PÁGINA DE RASTREAMENTO
   ================================================================= */
.track {
  max-width: 520px;
  margin: 0 auto;
  padding: 24px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.track__title { font-family: var(--fonte-titulo); font-size: 22px; font-weight: 800; color: var(--texto); }
.track__sub { font-size: 14px; color: var(--texto-suave); }
.track__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--borda-suave);
  border-radius: 14px;
  background: var(--branco);
}
.track__msg { font-size: 13px; font-weight: 600; color: var(--verde); }
.track__msg[hidden] { display: none; }


/* Calculadora de tamanho no chat */
.chat__calc {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.chat__calc-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--texto);
}
.chat__calc-input {
  padding: 9px 12px;
  border: 1px solid rgba(20, 35, 63, 0.18);
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  width: 100%;
  box-sizing: border-box;
}
.chat__calc-input:focus {
  outline: none;
  border-color: var(--verde);
}
.chat__msg--calc .chat__action {
  margin-top: 2px;
  align-self: flex-start;
}


/* ===== Resultado do rastreamento ===== */
.track-result { margin-top: 18px; }
.track-result__card {
  background: #fff;
  border: 1px solid rgba(20, 35, 63, 0.10);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 8px 24px rgba(12, 30, 94, 0.08);
}
.track-result__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.track-result__num { font-weight: 800; font-size: 1.05rem; color: var(--azul, #0c1e5e); }
.track-result__badge {
  background: var(--verde, #009c3b);
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.track-result__note {
  margin: 6px 0 14px;
  font-size: 0.74rem;
  color: var(--texto-suave, rgba(20, 35, 63, 0.55));
}
.track-result__info {
  display: grid;
  gap: 8px;
  padding: 12px 0 4px;
  border-top: 1px dashed rgba(20, 35, 63, 0.12);
  margin-bottom: 6px;
}
.track-result__row {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 10px;
  margin: 0;
  font-size: 0.9rem;
  align-items: start;
}
.track-result__row span {
  color: var(--texto-suave, rgba(20, 35, 63, 0.55));
  font-weight: 700;
  font-size: 0.78rem;
  padding-top: 1px;
}
.track-result__row strong { color: var(--texto, #14233f); font-weight: 700; }

.track-steps { list-style: none; margin: 8px 0 0; padding: 6px 0 0; }
.track-step { position: relative; display: flex; gap: 12px; padding-bottom: 18px; }
.track-step:last-child { padding-bottom: 0; }
.track-step::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: -4px;
  width: 2px;
  background: rgba(20, 35, 63, 0.12);
}
.track-step:last-child::before { display: none; }
.track-step--done::before { background: var(--verde, #009c3b); }
.track-step__icon {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eef1f6;
  color: var(--texto-suave, rgba(20, 35, 63, 0.55));
  border: 2px solid #eef1f6;
}
.track-step__icon i, .track-step__icon svg { width: 16px; height: 16px; }
.track-step--done .track-step__icon {
  background: var(--verde, #009c3b);
  border-color: var(--verde, #009c3b);
  color: #fff;
}
.track-step--current .track-step__icon {
  background: #fff;
  border-color: var(--azul, #0c1e5e);
  color: var(--azul, #0c1e5e);
  box-shadow: 0 0 0 4px rgba(12, 30, 94, 0.10);
}
.track-step__body { display: flex; flex-direction: column; gap: 1px; padding-top: 5px; }
.track-step__name { font-weight: 700; font-size: 0.92rem; color: var(--texto, #14233f); }
.track-step--pending .track-step__name {
  color: var(--texto-suave, rgba(20, 35, 63, 0.55));
  font-weight: 600;
}
.track-step--current .track-step__name { color: var(--azul, #0c1e5e); font-weight: 800; }
.track-step__date { font-size: 0.76rem; color: var(--texto-suave, rgba(20, 35, 63, 0.55)); font-weight: 600; }
.track-step__date--now { color: var(--azul, #0c1e5e); font-weight: 700; }


/* ===== Seletor de cor ===== */
.color { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.color__label { font-weight: 800; font-size: 0.9rem; color: var(--texto); }
.color__options { display: flex; flex-wrap: wrap; gap: 10px; }
.color__opt {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px 6px 7px;
  border: 1.5px solid rgba(20, 35, 63, 0.14);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--texto);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.color__opt:hover { border-color: rgba(20, 35, 63, 0.3); }
.color__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}
.color__opt.is-active {
  border-color: var(--laranja, #f08d1c);
  box-shadow: 0 0 0 3px rgba(240, 141, 28, 0.18);
}
.color__name { line-height: 1; }

/* ===== Provador Virtual (modal) ===== */
.prov__intro { font-size: 0.9rem; color: var(--texto-suave); margin: 0 0 12px; }
#provador-modal .field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.prov__result { margin-top: 12px; }
.prov__answer {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--azul, #0c1e5e);
  text-align: center;
  margin: 4px 0 12px;
}
.prov__hint { font-size: 0.85rem; color: var(--texto-suave); margin: 8px 0 0; text-align: center; }

.prov__result .btn { width: 100%; margin-top: 4px; }


/* ===== Seletor de kit ===== */
.kit { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.kit__label { font-weight: 800; font-size: 0.9rem; color: var(--texto); }
.kit__options { display: flex; gap: 10px; align-items: stretch; }
.kit__card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 12px 12px;
  border: 1.5px solid var(--borda-suave);
  border-radius: 14px;
  background: var(--branco);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.kit__radio { position: absolute; opacity: 0; pointer-events: none; }
.kit__name { font-weight: 700; font-size: 0.9rem; color: var(--texto); line-height: 1.2; }
.kit__price { font-weight: 800; font-size: 1rem; color: var(--azul); margin-top: auto; }
.kit__card.is-active {
  border-color: var(--laranja, #f08d1c);
  box-shadow: 0 0 0 3px rgba(240, 141, 28, 0.18);
}
.kit__tag {
  position: absolute;
  top: 0;
  right: 10px;
  transform: translateY(-50%);
  background: var(--verde, #009c3b);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 3px 8px;
  border-radius: 999px;
}


/* ===== Mini-prévia "Sua escolha" ===== */
.escolha {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 8px;
  border: 1px solid var(--borda-suave);
  border-radius: 14px;
  background: var(--branco);
}
.escolha__thumb {
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
  border-radius: 10px;
  object-fit: cover;
  background: #f3f5f8;
}
.escolha__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.escolha__label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--texto-suave);
}
.escolha__combo { font-size: 0.95rem; font-weight: 700; color: var(--texto); }

.modal__kit-note { margin: 4px 0 0; font-size: 0.8rem; color: var(--texto-suave); line-height: 1.35; }

.kit__extra { font-size: 0.7rem; color: var(--texto-suave); line-height: 1.25; }
.buy-note { margin: 8px 0 0; text-align: center; font-size: 0.78rem; color: var(--texto-suave); }
