:root {
  /* Nova paleta otimizada */
  --bg: #F7F4EF;
  --bg-soft: #FBF9F6;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F3EFE9;
  /* Cor destaque */
  --primary: #C81A78;
  --primary-hover: #9E145F;
  /* Cor secundária */
  --accent: #D8BE97;
  /* Texto */
  --text: #2A2A2A;
  --text-muted: #666666;
  /* Divisões */
  --border: #E6E1D9;
  --border-soft: #EFEAE4;
  --radius: 10px;
  --arredonda-box: 8px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  /* Header estilo Shopify: logo grande, área do header acompanha */
  --header-wrap-height: 148px;
  --header-height-desktop: 100px;
  --header-height-mobile: 80px;
  --logo-max-height: 90px;
  --logo-max-width: 220px;
  /* Banner hero — tamanhos oficiais (upload nestas proporções = encaixa sem cortar) */
  --hero-desktop-w: 1920;
  --hero-desktop-h: 600;
  --hero-mobile-w: 750;
  --hero-mobile-h: 1000;
  /* Product meta (referências às novas variáveis) */
  --back-exclusivo: var(--primary);
  --fonte-exclusivo: #FFFFFF;
  --back-exclusivo2: var(--primary-hover);
  --fonte-exclusivo2: #FFFFFF;
  --color-parcel-prod: var(--primary);
  --pix-envio-fundo: var(--bg-card);
  --pix-envio-bordageral: 6px;
  --pix-envio-tfonte: 0.78rem;
  --pix-envio-enviofundo: var(--primary);
  --pix-envio-enviotexto: #FFFFFF;
  --pix-envio-bordaenvio: 5px;
  --pix-envio-simb: var(--primary);
  --pix-envio-tsimb: 1rem;
  --pix-envio-textdesc: var(--primary);
  --pix-envio-textnopix: var(--text-muted);
  /* Pix */
  --pix-green: #22C55E;
  --pix-green-hover: #16A34A;
  /* Footer claro (combinando com a paleta) */
  --footer-bg: #EDE9E4;
  --footer-text: #2A2A2A;
  --footer-border: rgba(42, 42, 42, 0.12);
  --accent-hover: #E2CDA8;
  /* Header vitrine (sobrescritos por primary_color_site.php / footer-config.js) */
  --header-bg: #FFFFFF;
  --header-fg: var(--text);
  --header-fg-muted: var(--text-muted);
}

/* Override Pix para cor verde (usar variáveis acima no produto) */
.pdp-meta .pdp-pix-box {
  --pix-envio-enviofundo: var(--pix-green);
  --pix-envio-enviotexto: #fff;
  --pix-envio-simb: var(--pix-green);
  --pix-envio-textdesc: var(--pix-green);
}

.pdp-meta .product-pix {
  background: var(--pix-envio-fundo);
  display: flex;
  align-items: center;
  margin-top: 0;
  max-width: fit-content;
  padding: 2px 4px;
  border-radius: var(--pix-envio-bordageral);
  font-size: var(--pix-envio-tfonte);
  box-shadow: 1px 1px 4px -2px rgba(0, 0, 0, 0.3);
}

.pdp-meta .product-pix .pix-value {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 0.4rem;
  line-height: 1.25;
}

.pdp-meta .pdp-pix-envio {
  margin-left: 4px;
  padding: 2px 5px;
  border-radius: var(--pix-envio-bordaenvio);
  font-weight: bold;
  font-size: 0.7rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  min-height: 100vh;
}

/* ========== WRAPPER BARRA + HEADER (cresce com a barra) ========== */
.header-fixed-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  overflow: visible;
}

/* ========== BARRA DE AVISO ========== */
.announcement-bar {
  flex-shrink: 0;
  background: #FFFFFF;
  color: var(--primary);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.4;
  min-height: 2.5rem;
  box-sizing: border-box;
}

.announcement-bar a {
  color: inherit;
  text-decoration: none;
}

.announcement-bar a:hover {
  color: inherit;
  text-decoration: underline;
  opacity: 0.9;
}

/* ========== HEADER ========== */
.header {
  position: relative;
  z-index: 101;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: var(--header-bg, #FFFFFF);
  color: var(--header-fg, var(--text));
  transition: background 0.3s, color 0.3s;
}

body.pagina-inicio .header {
  transition: none;
}

.header-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.9rem 3rem;
  min-height: var(--header-height-desktop);
  box-sizing: border-box;
}

/* Mobile: hamburger | espaço | logo centralizada | ícones */
.header-top::before {
  content: '';
  flex: 1;
  min-width: 0;
  order: 2;
}

.header-menu-btn {
  order: 1;
}

.header-top .logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  order: 3;
}

.header-search {
  order: 4;
}

.header-actions {
  order: 5;
  margin-left: auto;
}

/* Desktop (igual à imagem): logo esquerda | busca ao centro | Clube + Atendimento + ícones direita */
@media (min-width: 769px) {
  .header-top::before {
    display: block;
    flex: 1;
    min-width: 0;
    order: 2;
  }
  .header-top::after {
    content: '';
    flex: 1;
    min-width: 0;
    order: 4;
  }
  .header-top .logo {
    position: static;
    transform: none;
    order: 1;
  }
  .header-menu-btn {
    order: 2;
  }
  .header-search {
    order: 3;
    min-width: 200px;
    max-width: none;
    flex: 2 1 0%;
    width: 100%;
  }
  .header-actions {
    order: 5;
  }
}

.header-bottom {
  padding: 0.55rem 3rem;
  border-top: none;
  background: var(--header-bg, #FFFFFF);
}

/* Desktop: oculta o cabeçalho do menu mobile (evita logo duplicada) */
@media (min-width: 769px) {
  .mobile-menu-header {
    display: none;
  }
}

/* Botão menu mobile (hamburger) — visível só no mobile */
.header-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--header-fg, var(--text));
  cursor: pointer;
  border-radius: var(--radius);
  flex-direction: column;
  gap: 5px;
  transition: background 0.2s, color 0.2s;
}
.header-menu-btn:hover {
  background: var(--bg-card-hover);
  color: var(--primary);
}
.header-menu-btn-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}
.header-menu-btn[aria-expanded="true"] .header-menu-btn-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header-menu-btn[aria-expanded="true"] .header-menu-btn-bar:nth-child(2) {
  opacity: 0;
}
.header-menu-btn[aria-expanded="true"] .header-menu-btn-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  line-height: 0;
  max-width: var(--logo-max-width);
}

.logo img.logo-img {
  height: var(--logo-max-height);
  max-height: var(--logo-max-height);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.header-search {
  flex: 1 1 0%;
  min-width: 0;
  max-width: min(720px, 100%);
  width: 100%;
  position: relative;
}

/* Desktop: barra de pesquisa bem esticada (maior parte do header) */
@media (min-width: 769px) {
  .header-top .header-search {
    flex: 6 1 0%;
    min-width: 280px;
    max-width: none;
    width: 100%;
  }
}

.header-search input {
  width: 100%;
  min-width: 0;
  padding: 0.85rem 2.75rem 0.85rem 1.1rem;
  box-sizing: border-box;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(245, 245, 245, 0.06);
  color: var(--header-fg, var(--text));
  font-size: 0.95rem;
  outline: none;
}

.header-search input::placeholder {
  color: var(--header-fg-muted, var(--text-muted));
}

.header-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(139, 58, 66, 0.35);
}

.header-search-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: var(--header-fg-muted, var(--text-muted));
  cursor: pointer;
  padding: 8px;
  border-radius: 999px;
}

.header-search-btn:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-left: auto;
  flex-shrink: 0;
}

.header-link {
  color: var(--header-fg, var(--text));
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.header-link:hover {
  color: var(--primary);
}

.header-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--header-fg, var(--text));
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  position: relative;
  text-decoration: none;
}

.header-icon-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(123, 46, 47, 0.06);
}

.logo-img {
  height: var(--logo-max-height);
  max-height: var(--logo-max-height);
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 2.1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.nav > a,
.nav > .nav-item-dropdown {
  display: flex;
  align-items: center;
  /* garante mesma linha/altura entre links e dropdown */
  min-height: 32px;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  line-height: 1;
}

.nav a:hover {
  color: var(--primary);
}

/* Menu principal no header: acompanha cor do fundo configurável */
.header-bottom .nav > a {
  color: var(--header-fg-muted, var(--text-muted));
}
.header-bottom .nav-dropdown-trigger {
  color: var(--header-fg-muted, var(--text-muted));
}

.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Ícones do menu: visíveis só no mobile */
.menu-icon {
  display: none;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0;
  min-width: 180px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  padding: 0.35rem 0 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-2px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-dropdown.aberto {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown a:hover {
  background: var(--bg-card-hover);
  color: var(--primary);
}

.cart-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.cart-btn:hover {
  border-color: var(--primary-hover);
  color: var(--primary);
}

.cart-btn svg {
  flex-shrink: 0;
}

.cart-count {
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-icon-btn .cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  font-size: 0.7rem;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.45);
}

.cart-count:empty,
.cart-count[data-zero="1"] {
  display: none;
}

/* Overlay do menu mobile (usado quando menu aberto) */
.header-mobile-overlay {
  display: none;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  /* Fica abaixo do header fixo; altura = proporção oficial do banner */
  margin-top: var(--header-wrap-height);
  width: 100%;
  aspect-ratio: var(--hero-desktop-w) / var(--hero-desktop-h);
  min-height: 0;
  padding: 0;
  display: block;
  overflow: hidden;
  background: #0a0a0a;
}

/* Hero: imagem sem overlay */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1510812431401-41d2bd2722f3?w=1920') center / 100% 100% no-repeat;
}

/* Slider de banners (até 3 imagens): desktop e mobile */
.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-slider-mobile {
  display: none;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  /* 100% 100% + aspect-ratio fixa = imagem no tamanho oficial encaixa sem cortar */
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

/* Indicador de quantidade de slides (só aparece com 2+ imagens) */
.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}
.hero-dots-mobile {
  display: none;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: background 0.3s, transform 0.2s;
}
.hero-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}
.hero-dot.active {
  background: #fff;
  transform: scale(1.2);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

/* Banner mobile: outra resolução em telas pequenas (legado) */
.hero-bg-mobile {
  display: none;
  position: absolute;
  inset: 0;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 768px) {
  .hero {
    aspect-ratio: var(--hero-mobile-w) / var(--hero-mobile-h);
  }
  .hero .hero-bg:not(.hero-bg-mobile) {
    display: none !important;
  }
  .hero .hero-bg-mobile {
    display: block !important;
  }
  .hero-slider-desktop {
    display: none !important;
  }
  .hero-slider-mobile {
    display: block !important;
  }
  .hero-dots-desktop {
    display: none !important;
  }
  .hero-dots-mobile {
    display: flex !important;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.92);
  font-weight: 400;
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-shadow: 0 1px 10px rgba(0,0,0,0.2);
}

.hero-cta {
  display: inline-block;
  padding: 14px 26px;
  background: var(--pix-green);
  color: #FFFFFF;
  border: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.25s, transform 0.15s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.hero-cta:hover {
  background: var(--pix-green-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* ========== COLEÇÕES (NETFLIX STYLE) ========== */
.main {
  padding: 0 0 6rem;
}

/* ========== PÁGINA POR PAÍS ========== */
.main-pais {
  padding: var(--header-wrap-height) 3rem 6rem;
  max-width: 1400px;
  margin: 0 auto;
}

.pais-header {
  margin-bottom: 2.5rem;
}

.pais-titulo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.pais-descricao {
  color: var(--text-muted);
  font-size: 1rem;
}

.pais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.pais-grid .card {
  flex: none;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.pais-vazio {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 2rem;
}

.colecao {
  padding: 3rem 0 2rem;
}

.colecao-titulo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1.5rem;
  padding: 0 3rem;
  letter-spacing: 0.02em;
}

.carrossel-wrapper {
  overflow: hidden;
  padding: 0 2rem;
}

.carrossel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.5rem 1rem 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-hover) transparent;
}

.carrossel::-webkit-scrollbar {
  height: 6px;
}

.carrossel::-webkit-scrollbar-track {
  background: transparent;
}

.carrossel::-webkit-scrollbar-thumb {
  background: var(--primary-hover);
  border-radius: 3px;
}

/* ========== CARD PRODUTO ========== */
.card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--border);
}

.card-badge-off {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--primary-hover);
  color: #FFFFFF;
  border-radius: 6px;
  padding: 10px 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 12px rgba(106, 35, 36, 0.35);
  pointer-events: none;
}

.card-badge-off strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1;
  font-weight: 800;
}

.card-badge-off span {
  display: block;
  font-size: 0.72rem;
  line-height: 1.15;
  font-weight: 800;
}

.card-img {
  aspect-ratio: 1 / 1;
  background: var(--bg-card-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.card-img--carousel .card-img-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.card-img--carousel .card-img-carousel img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card-img--carousel .card-img-carousel img.ativo {
  opacity: 1;
  z-index: 1;
}

.card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  opacity: 0.9;
}

.card-info {
  padding: 0.9rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-nome {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.25rem;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.card-regiao {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.card-preco-antigo {
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: line-through;
  margin-bottom: 0.15rem;
  letter-spacing: 0.02em;
}

.card-preco {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: auto;
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}

.card-parcelamento {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  white-space: nowrap;
}

.card-parcelamento-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  opacity: 0.9;
  flex-shrink: 0;
}

.card-parcelamento-icon svg {
  display: block;
}

.card-cores {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.card-cor-item {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.card-cor-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-cor-item--texto {
  width: auto;
  min-width: 22px;
  padding: 0 6px;
  font-size: 0.65rem;
  color: var(--text-muted);
}

.card-cor-mais {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.card-add {
  width: 100%;
  padding: 12px 20px;
  background: var(--pix-green);
  border: none;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.card-add-icon {
  flex-shrink: 0;
}

.card-add:hover {
  background: var(--pix-green-hover);
  color: #FFFFFF;
}

.card-img {
  text-decoration: none;
  color: inherit;
}

.card-nome a {
  color: inherit;
  text-decoration: none;
}

.card-nome a:hover {
  color: var(--primary);
}

/* ========== PDP (Página de Produto) ========== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.pdp {
  padding: calc(var(--header-wrap-height) + 0.75rem) 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pdp-breadcrumb {
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.pdp-breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
}

.pdp-breadcrumb-list li:not(:last-child)::after {
  content: '›';
  margin-left: 0.4rem;
  color: var(--text-muted);
  font-weight: 400;
  opacity: 0.8;
}

.pdp-breadcrumb-list a {
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.pdp-breadcrumb-list a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.pdp-breadcrumb-list [aria-current="page"] {
  color: var(--text);
  font-weight: 500;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdp-inner {
  margin-bottom: 3rem;
}

.pdp-loading,
.pdp-erro {
  color: var(--text-muted);
  text-align: center;
  padding: 3rem;
}

.pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Desktop: menos quebra entre estoque e preço para o valor subir */
@media (min-width: 769px) {
  .pdp-meta-inner .pdp-meta__row + .pdp-meta__row {
    margin-top: 0.04rem;
  }
  .pdp-meta__row--badges + .pdp-meta__row--title { margin-top: 0.04rem; }
  .pdp-meta__row--title + .pdp-meta__row--rating { margin-top: 0.04rem; }
  .pdp-meta__row--rating + .pdp-meta__row--estoque { margin-top: 0.04rem; }
  .pdp-meta__row--estoque + .pdp-meta__row--prices { margin-top: 0.04rem; }
  .pdp-meta__row--title + .pdp-meta__row--prices { margin-top: 0.04rem; }
}

@media (max-width: 768px) {
  .pdp-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .pdp-breadcrumb {
    display: none;
  }
  .pdp {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* PDP mobile — organizado como referência (badges → título → preço → parcelamento → pix → quantidade → botão) */
@media (max-width: 768px) {
  .pdp .pdp-info {
    padding: 0;
  }

  .pdp .pdp-meta__row--estoque {
    display: none;
  }

  .pdp .pdp-meta-inner .pdp-meta__row + .pdp-meta__row {
    margin-top: 0.25rem;
  }

  .pdp .pdp-meta__row--badges + .pdp-meta__row--title { margin-top: 0.2rem; }
  .pdp .pdp-meta__row--title + .pdp-meta__row--rating { margin-top: 0.2rem; }
  .pdp .pdp-meta__row--rating + .pdp-meta__row--prices { margin-top: 0.25rem; }

  .pdp .pdp-meta {
    gap: 0.2rem;
  }

  .pdp .pdp-meta__title {
    font-size: 1.15rem;
    font-weight: 700;
  }

  .pdp .pdp-preco-destaque {
    font-size: 1.75rem;
  }

  .pdp .pdp-bloco--quantidade {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .pdp .pdp-quantidade-label {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
  }

  .pdp .pdp-quantidade-control {
    width: 100%;
    max-width: 160px;
  }

  .pdp .pdp-qtd-btn {
    width: 48px;
    height: 44px;
    font-size: 1.35rem;
  }

  .pdp .pdp-quantidade-control input {
    flex: 1;
    min-width: 2.5rem;
    font-size: 1.1rem;
  }

  .pdp .pdp-bloco--botao {
    padding: 1rem 0;
  }

  .pdp .pdp-btn-add {
    padding: 1rem 1.25rem;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
  }
}

.pdp-galeria {
  position: relative;
}

.pdp-galeria-main {
  margin-bottom: 0.5rem;
}

.pdp-galeria img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.pdp-galeria-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pdp-galeria-thumb {
  width: 52px;
  height: 52px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  transition: border-color 0.2s, opacity 0.2s;
}

.pdp-galeria-thumb:hover {
  opacity: 0.9;
}

.pdp-galeria-thumb.ativo {
  border-color: var(--accent, #4f46e5);
}

.pdp-galeria-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

.pdp-img-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--bg-card-hover) 0%, var(--bg-card) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: var(--text-muted);
}

/* ========== PDP INFO — container e blocos ========== */
.pdp-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pdp-bloco {
  padding: 0.25rem 0;
  border-bottom: 1px solid var(--border);
}

.pdp-bloco:last-child {
  border-bottom: none;
}

.pdp-bloco-titulo {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 0.75rem;
  text-align: center;
}

/* 1. BLOCOS VALORES — product-meta organizado */
.pdp-bloco--valores {
  padding-top: 0;
  padding-bottom: 0.2rem;
}

.pdp-bloco--valores .pdp-meta__pix-wrap {
  margin-bottom: 0.75rem;
}

.pdp-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Estrutura em linhas para organizar no mobile */
.pdp-meta-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pdp-meta__row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pdp-meta__row + .pdp-meta__row {
  margin-top: 0.25rem;
}

.pdp-meta__row--badges + .pdp-meta__row--title { margin-top: 0.2rem; }
.pdp-meta__row--title + .pdp-meta__row--rating { margin-top: 0.25rem; }
.pdp-meta__row--rating + .pdp-meta__row--estoque { margin-top: 0.25rem; }
.pdp-meta__row--estoque + .pdp-meta__row--prices { margin-top: 0.3rem; }
.pdp-meta__row--title + .pdp-meta__row--prices { margin-top: 0.3rem; }

.pdp-meta__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.pdp-meta__badges .pdp-badge {
  padding: 3px 5px;
  font-size: 10px;
  border-radius: 3px;
}

.pdp-meta__row--title {
  min-width: 0;
  overflow: visible;
}

.pdp-meta__title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Estrelas / avaliações — dados do banco */
.pdp-meta__rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.pdp-meta__stars {
  display: flex;
  gap: 2px;
  color: rgba(0, 0, 0, 0.15);
  font-size: 1rem;
  line-height: 1;
}

.pdp-meta__stars .star-filled {
  color: #E6B800;
}

.pdp-meta__rating-count {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pdp-meta__price-list-container {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pdp-meta__label-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.pdp-meta__parcelamento-wrap {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.2;
}

.pdp-meta__parcelamento-wrap .pdp-parcelamento {
  margin: 0;
}

.pdp-meta__pix-wrap {
  margin-top: 0;
  margin-bottom: 0;
}

.pdp-valores-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.pdp-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 4px;
}

.pdp-badge--exclusivo {
  background: var(--primary);
  color: var(--bg);
}

.pdp-badge--mais-vendido {
  background: var(--primary-hover);
  color: var(--primary);
}

.pdp-badge--desconto {
  background: var(--primary-hover);
  color: #fff;
  margin-left: 0.5rem;
}

.pdp-titulo {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}

.pdp-estoque {
  font-size: 0.875rem;
  margin: 0 0 1rem;
  font-weight: 500;
}

.pdp-estoque--sim {
  color: var(--primary);
}

.pdp-estoque--nao {
  color: var(--text-muted);
}

.pdp-valores-precos {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pdp-precos-linha {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
}

.pdp-preco-destaque {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
}

.pdp-preco-antigo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.pdp-preco-antigo {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.pdp-parcelamento {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.3;
}

.pdp-parcelamento strong {
  color: var(--primary);
  font-weight: 600;
}

.pdp-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
}

.pdp-icone--cartao svg,
.pdp-icone--carrinho svg {
  width: 20px;
  height: 20px;
}

.pdp-icone--pix {
  width: 1.25rem;
  height: 1.25rem;
}

.pdp-icone--pix svg {
  width: 100%;
  height: 100%;
  fill: var(--pix-envio-simb, var(--primary));
}

.pdp-pix-box {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.pdp-pix-texto {
  color: var(--text);
}

.pdp-pix-texto strong {
  color: var(--pix-envio-textdesc, var(--primary));
}

.pdp-pix-envio {
  background: var(--pix-envio-enviofundo, var(--primary));
  color: var(--pix-envio-enviotexto, var(--bg));
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.pdp-bloco--variacoes {
  border-bottom: none;
  padding-top: 0.2rem;
  padding-bottom: 0.4rem;
}

.pdp-variacao-grupo + .pdp-variacao-grupo {
  margin-top: 0.7rem;
}

.pdp-variacao-titulo {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}

.pdp-cores-lista,
.pdp-voltagens-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pdp-cor-item {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 6px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

.pdp-cor-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-voltagem-item {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  font-size: 0.85rem;
}

.pdp-cor-item.active,
.pdp-voltagem-item.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(200, 26, 120, 0.15);
}

.pdp-variacao-erro {
  color: #b91c1c;
  font-size: 0.84rem;
  margin-top: 0.55rem;
}

/* 2. BLOCOS QUANTIDADE */
.pdp-bloco--quantidade {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: none;
}

.pdp-quantidade-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.pdp-quantidade-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-card);
}

.pdp-qtd-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--bg-card);
  color: var(--text);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.pdp-qtd-btn:hover {
  background: var(--bg-card-hover);
}

.pdp-quantidade-control input {
  width: 3rem;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  padding: 0.5rem 0;
  -moz-appearance: textfield;
}

.pdp-quantidade-control input::-webkit-outer-spin-button,
.pdp-quantidade-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* 3. BOTÃO CARRINHO */
.pdp-bloco--botao {
  padding: 0.5rem 0 0;
  border-bottom: none;
}

.pdp-btn-add {
  width: 100%;
  padding: 14px 26px;
  background: var(--pix-green);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: opacity 0.2s, background 0.2s;
}

.pdp-btn-add:hover:not(:disabled) {
  background: var(--pix-green-hover);
  color: #FFFFFF;
}

.pdp-btn-add:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pdp-btn-add-texto {
  flex: 1;
}

.pdp-icone--carrinho {
  color: #FFFFFF;
}

/* 4. FORMAS DE PAGAMENTO (estilo referência) */
.pdp-bloco--pagamento {
  text-align: center;
  padding-top: 0;
  margin-top: 1rem;
}


.pdp-pagamento-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--arredonda-box);
  padding: 2px;
  margin-top: 0;
  box-shadow: 0 5px 6px -5px rgba(0, 0, 0, 0.35);
}

.pdp-pagamento-titulo {
  padding: 0;
  background: var(--border-soft);
  margin-top: -6px;
  margin-bottom: 0.6rem;
  border-radius: 4px;
  color: var(--text);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.pdp-pagamento-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  flex-direction: row;
}

.pdp-pagamento-logo {
  height: 42px;
  width: auto;
  max-width: 64px;
  min-width: 32px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
  display: block;
}

@media (max-width: 768px) {
  .pdp-pagamento-logos {
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .pdp-pagamento-logo {
    height: 28px;
    max-width: 44px;
  }
}

/* 5. SELOS (3 cards) — bordas individuais, cor mais fraca */
.pdp-bloco--selos {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pdp-selo {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: var(--bg-card);
}

.pdp-selo-icone {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.pdp-selo-icone svg {
  width: 24px;
  height: 24px;
}

.pdp-selo-texto {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pdp-selo-texto strong {
  color: var(--text);
  font-size: 0.9rem;
}

.pdp-selo-texto span {
  line-height: 1.4;
}

/* 6. FRETE (Calcule o prazo de entrega) — borda individual, cor mais fraca */
.pdp-bloco--frete {
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: var(--bg-card);
  padding: 0.6rem 1rem;
}

.pdp-bloco--frete .pdp-bloco-titulo {
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.pdp-frete-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pdp-frete-input {
  flex: 1;
  min-width: 140px;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text);
  font-size: 1rem;
}

.pdp-frete-btn {
  padding: 0.65rem 1.25rem;
  background: var(--primary);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}

.pdp-frete-resultado {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--primary);
}

/* 7. Avaliação abaixo do frete — mesma quantidade do meta, estrelas amarelas */
.pdp-bloco--avaliacao {
  text-align: center;
}

.pdp-avaliacao-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.pdp-avaliacao__stars {
  display: flex;
  gap: 2px;
  color: rgba(0, 0, 0, 0.15);
  font-size: 1.1rem;
  line-height: 1;
}

.pdp-avaliacao__stars .star-filled {
  color: #E6B800;
}

.pdp-avaliacao__count {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pdp-bloco--descricoes {
  margin-top: 2rem;
  border-bottom: none;
}

.pdp-descricao-secao {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.pdp-descricao-titulo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--text);
}

.pdp-descricao.rte {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.pdp-descricao.rte h3 {
  font-size: 1.1rem;
  margin: 1.25rem 0 0.5rem;
  color: var(--text);
}

.pdp-descricao.rte p {
  margin-bottom: 0.75rem;
}

.pdp-descricao.rte hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1rem 0;
}

/* Você também vai gostar — mesmo layout e cards da página inicial */
.pdp-relacionados {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.pdp-reviews {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.pdp-reviews-titulo {
  margin-bottom: 1.25rem;
}

.pdp-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.pdp-review-card {
  background: var(--bg-card, #1a1a2e);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.pdp-review-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pdp-review-midia {
  aspect-ratio: 16 / 9;
  background: var(--bg-card-hover, #16213e);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-review-midia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-review-video-wrap {
  width: 100%;
  height: 100%;
  position: relative;
}

.pdp-review-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pdp-review-placeholder {
  font-size: 3rem;
  opacity: 0.5;
}

.pdp-review-info {
  padding: 1rem;
}

.pdp-review-cabecalho {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.pdp-review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.pdp-review-avatar-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card-hover, #16213e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  opacity: 0.7;
  flex-shrink: 0;
}

.pdp-review-texto {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.pdp-review-midia video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-review-estrelas {
  font-size: 1rem;
  color: #fbbf24;
  margin-bottom: 0.35rem;
}

.pdp-review-estrelas .star-filled {
  color: #fbbf24;
}

.pdp-review-nome {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
}

.pdp-relacionados .card-add.added {
  background: var(--pix-green, #22c55e);
  border-color: var(--pix-green, #22c55e);
  color: #fff;
}

.pdp-parcelamento {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  white-space: nowrap;
}

.pdp-parcelamento .card-parcelamento-icon {
  color: var(--text-muted);
  opacity: 0.9;
}

.pdp-descricao {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.pdp-categoria {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ========== PÁGINAS INSTITUCIONAIS ========== */
.pagina-institucional {
  padding: calc(var(--header-wrap-height, 112px) + 1rem) 2rem 4rem;
  max-width: 720px;
  margin: 0 auto;
}

.politica-conteudo {
  position: relative;
}

/* Skeleton de carregamento (evita “flash” do texto padrão) */
.policy-loading {
  display: grid;
  gap: 0.65rem;
  padding: 0.25rem 0;
}
.policy-skeleton-line {
  height: 14px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.14) 45%, rgba(255,255,255,0.06) 100%);
  background-size: 240% 100%;
  animation: policyShimmer 1.1s ease-in-out infinite;
}
.policy-skeleton-line.w-95 { width: 95%; }
.policy-skeleton-line.w-90 { width: 90%; }
.policy-skeleton-line.w-85 { width: 85%; }
.policy-skeleton-line.w-78 { width: 78%; }
.policy-skeleton-line.w-70 { width: 70%; }
.policy-skeleton-line.w-60 { width: 60%; }
.policy-skeleton-title {
  height: 18px;
  width: 52%;
  margin-top: 0.75rem;
  border-radius: 10px;
}
@keyframes policyShimmer {
  0% { background-position: 0% 0; }
  100% { background-position: 100% 0; }
}

.policy-hidden {
  opacity: 0;
}
.policy-visible {
  opacity: 1;
  transition: opacity 0.18s ease;
}

/* Só arquivos .html estáticos usam body.pagina-institucional-body + sv-config-* (PHP usa body.pagina-início como a index) */
html.sv-config-loading body.pagina-institucional-body .header-fixed-wrap,
html.sv-config-loading body.pagina-institucional-body > footer.footer {
  opacity: 0;
  visibility: hidden;
}
html.sv-config-ready body.pagina-institucional-body .header-fixed-wrap,
html.sv-config-ready body.pagina-institucional-body > footer.footer {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.22s ease;
}

.pagina-institucional h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1rem;
}

.pagina-institucional .lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.pagina-institucional h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.pagina-institucional p,
.pagina-institucional li {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.pagina-institucional a {
  color: var(--primary);
  text-decoration: none;
}

.pagina-institucional a:hover {
  text-decoration: underline;
}

.contato-bloco {
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.contato-bloco h2 {
  margin-top: 0;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-hover);
}

/* ========== CARRINHO ========== */
.carrinho {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 100%;
  height: 100%;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  z-index: 101;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carrinho.aberto {
  transform: translateX(0);
}

.carrinho-cabecalho {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.carrinho-cabecalho h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.fechar-carrinho {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
  transition: color 0.2s;
}

.fechar-carrinho:hover {
  color: var(--primary);
}

.carrinho-itens {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  min-height: 0;
}

.item-carrinho {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.item-carrinho:last-child {
  border-bottom: none;
}

.item-carrinho-img {
  flex-shrink: 0;
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: var(--arredonda-box, 6px);
  overflow: hidden;
  background: var(--bg-card-hover);
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-carrinho-img-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-carrinho-img--erro .item-carrinho-img-el {
  display: none;
}

.item-carrinho-img-placeholder {
  font-size: 1.75rem;
  opacity: 0.7;
}

.item-carrinho-img-placeholder--fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
}

.item-carrinho-img--erro .item-carrinho-img-el {
  display: none;
}

.item-carrinho-img--erro .item-carrinho-img-placeholder--fallback {
  display: flex;
}

.item-carrinho-body {
  flex: 1;
  min-width: 0;
}

.item-carrinho-nome {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.25rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.item-carrinho-qtd {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.item-carrinho-preco {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.item-carrinho-remover {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  transition: color 0.2s;
}

.item-carrinho-remover:hover {
  color: var(--primary);
}

.carrinho-vazio {
  text-align: center;
  color: var(--text-muted);
  padding: 3rem 1rem;
  font-size: 0.95rem;
}

.carrinho-rodape {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--bg-card);
}

.carrinho-total {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.carrinho-total strong {
  color: var(--primary);
  font-size: 1.25rem;
}

.btn-continuar-comprando {
  display: block;
  width: 100%;
  padding: 0.75rem 1.5rem;
  margin-bottom: 0.5rem;
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  box-sizing: border-box;
}

.btn-continuar-comprando:hover {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
}

.btn-finalizar {
  width: 100%;
  padding: 0.95rem 1.5rem;
  background: var(--primary);
  color: var(--bg);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.btn-finalizar:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.overlay.ativo {
  opacity: 1;
  visibility: visible;
}

/* Botão flutuante Voltar — oculto na página inicial */
.btn-voltar-flutuante-wrap {
  position: fixed;
  top: calc(var(--header-wrap-height, 112px) + 0.75rem);
  left: 1.5rem;
  z-index: 1000;
  pointer-events: auto;
}

body.pagina-inicio .btn-voltar-flutuante-wrap {
  display: none;
}

.btn-voltar-flutuante {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.2s, transform 0.2s;
}

.btn-voltar-flutuante:hover {
  background: var(--primary-hover, #a01560);
  color: #fff;
  transform: translateY(-1px);
}

.btn-voltar-flutuante-icone {
  flex-shrink: 0;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  border-top: 3px solid var(--primary);
  padding: 3rem 0 0;
  margin-top: 2rem;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}

.footer__inner {
  padding-bottom: 2.5rem;
}

.footer__item-list {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem 2.5rem;
}

.footer__item-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--footer-text);
  margin-bottom: 1rem;
  opacity: 0.95;
}

.footer__item-content {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--footer-text);
}

.footer__item--atendimento {
  grid-column: span 1;
  min-width: 280px;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  color: var(--footer-text);
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--primary);
}

.footer__icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 0.35rem;
  vertical-align: middle;
  opacity: 0.85;
  flex-shrink: 0;
}

/* Botão WhatsApp */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.6rem 1.25rem;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.btn-whatsapp:hover {
  background: #128C7E;
  color: #fff;
}

.btn-whatsapp__icon::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.btn-whatsapp__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.btn-whatsapp__title {
  font-size: 0.8rem;
  opacity: 0.95;
}

.list--unstyled {
  list-style: none;
  margin: 0;
  padding: 0;
}

.linklist__item {
  margin-bottom: 0.5rem;
}

.link--faded {
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.link--faded:hover {
  color: var(--primary);
}

/* Newsletter */
.footer__newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.footer__newsletter-form .newsletter-input {
  flex: 1;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--footer-border);
  border-radius: 8px;
  color: var(--footer-text);
  font-size: 0.9rem;
}

.footer__newsletter-form .newsletter-input:focus {
  outline: none;
  border-color: var(--primary);
}

.footer__newsletter-form .newsletter-btn {
  padding: 0.65rem 1.25rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.footer__newsletter-form .newsletter-btn:hover {
  background: var(--primary-hover);
}

/* Redes sociais */
.social-media {
  display: flex;
  gap: 0.75rem;
}

.social-media__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--footer-text);
  border: 1px solid var(--footer-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.social-media__link:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.9);
}

/* Agrupamento Redes sociais + Formas de pagamento + Loja verificada */
.footer__item-group--social-pagamento {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Formas de pagamento e Loja verificada (empilhados verticalmente) */
.footer__item--pagamento-seguranca .footer__item-title:first-child {
  margin-top: 0;
}

.footer__item--pagamento-seguranca .separator-footer + .footer__item-title {
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

.payment-box {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
}

.payment-icon {
  width: 50px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.6);
  padding: 4px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.separator-footer {
  width: 100%;
  height: 1px;
  background: var(--footer-border);
  margin: 1rem 0;
}

.selos-wrap {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  align-items: center;
}

.footer-selo {
  display: inline-block;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.footer-selo:hover {
  opacity: 0.9;
}

.footer-selo img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
}

.footer-copy {
  padding: 1.25rem 3rem;
  border-top: 1px solid var(--footer-border);
  text-align: center;
}

.footer-copy p {
  font-size: 0.8rem;
  color: var(--footer-text);
  opacity: 0.85;
  margin: 0.25rem 0;
}

/* ========== RESPONSIVO ========== */
@media (max-width: 768px) {
  /* Header mobile: hamburger | logo centralizado | ícones */
  .header-menu-btn {
    display: flex;
    flex-shrink: 0;
  }

  .header-top {
    padding: 0.75rem 1rem;
    gap: 0.75rem;
    min-height: var(--header-height-mobile);
  }

  .header-top .logo {
    flex: 1;
    text-align: center;
    justify-content: center;
    --logo-max-height: 72px;
    --logo-max-width: 200px;
  }

  .header-search {
    display: none;
  }

  .header-actions {
    gap: 0.5rem;
    margin-left: 0;
    flex-shrink: 0;
  }

  .header-link {
    display: none;
  }

  .header-icon-btn {
    width: 42px;
    height: 42px;
  }

  .header-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 98;
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
  }

  body.menu-aberto .header-mobile-overlay {
    display: block;
    opacity: 1;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
  }

  .header-bottom {
    position: fixed;
    top: 0;
    left: 0;
    width: min(300px, 85vw);
    height: 100vh;
    padding: 0;
    background: #F7F4EF;
    border-right: 1px solid var(--border);
    box-shadow: 4px 0 32px rgba(0, 0, 0, 0.08);
    z-index: 99;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    overflow-y: auto;
    overflow-x: hidden;
    border-top: none;
    display: flex;
    flex-direction: column;
  }

  body.menu-aberto .header-bottom {
    transform: translateX(0);
  }

  body.menu-aberto {
    overflow: hidden;
  }

  .mobile-menu-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    background: #F7F4EF;
  }

  .mobile-menu-logo {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.02em;
    text-decoration: none;
  }

  .mobile-menu-logo:hover {
    color: var(--primary-hover);
  }

  .mobile-menu-logo .logo-img {
    height: 64px;
    max-height: 64px;
    width: auto;
    max-width: 200px;
    display: block;
  }

  .mobile-menu-fechar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: var(--radius);
    background: var(--primary);
    color: #FFFFFF;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
  }

  .mobile-menu-fechar:hover {
    background: var(--primary-hover);
    color: #FFFFFF;
    transform: translateY(-1px);
  }

  .mobile-menu-fechar-icone {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
  }

  .header-bottom .nav {
    flex: 1;
    padding: 28px 24px 2rem;
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  body.menu-aberto .nav > a,
  body.menu-aberto .nav > .nav-item-dropdown {
    animation: mobile-nav-item-in 0.35s cubic-bezier(0.32, 0.72, 0, 1) backwards;
  }

  body.menu-aberto .nav > *:nth-child(1) { animation-delay: 0.05s; }
  body.menu-aberto .nav > *:nth-child(2) { animation-delay: 0.08s; }
  body.menu-aberto .nav > *:nth-child(3) { animation-delay: 0.11s; }
  body.menu-aberto .nav > *:nth-child(4) { animation-delay: 0.14s; }
  body.menu-aberto .nav > *:nth-child(5) { animation-delay: 0.17s; }
  body.menu-aberto .nav > *:nth-child(6) { animation-delay: 0.2s; }
  body.menu-aberto .nav > *:nth-child(7) { animation-delay: 0.23s; }
  body.menu-aberto .nav > *:nth-child(8) { animation-delay: 0.26s; }
  body.menu-aberto .nav > *:nth-child(9) { animation-delay: 0.29s; }

  @keyframes mobile-nav-item-in {
    from {
      opacity: 0;
      transform: translateX(-12px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .nav > a.menu-item-link,
  .nav > .nav-item-dropdown > .menu-item-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #FFFFFF;
    border: 1px solid #E6E1D9;
    margin-bottom: 8px;
    transition: all 0.25s ease;
    font-size: 15px;
    color: #2A2A2A;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
  }

  .nav > a.menu-item-link:hover,
  .nav > .nav-item-dropdown > .menu-item-trigger:hover {
    background: #F3EFE9;
    transform: translateX(4px);
    color: var(--primary);
  }

  .nav > .nav-item-dropdown > .nav-dropdown-trigger.menu-item-trigger {
    width: 100%;
    text-align: left;
  }

  .menu-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #F3EFE9;
    color: var(--primary);
    font-size: 16px;
    flex-shrink: 0;
  }

  .nav > .nav-item-dropdown:nth-child(3)::after {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 18px 0;
  }

  .nav > a,
  .nav > .nav-item-dropdown {
    display: block;
  }

  .nav > a:last-child {
    margin-bottom: 0;
  }

  .nav-dropdown-trigger {
    padding: 0;
    border: none;
    background: transparent;
  }

  .nav-item-dropdown .nav-dropdown {
    position: static;
    margin-top: 0;
    margin-bottom: 8px;
    margin-left: 46px;
    padding: 0.5rem 0 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: transparent;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-item-dropdown .nav-dropdown.aberto {
    max-height: 300px;
  }

  .nav-dropdown a {
    padding: 10px 0;
    color: var(--text-muted);
    font-size: 14px;
  }

  .nav-dropdown a:hover {
    color: var(--primary);
  }

  .hero {
    /* proporção mobile já definida no bloco do hero; só garante sem min-height antigo */
    min-height: 0;
    padding: 0;
  }

  .colecao-titulo,
  .carrossel-wrapper {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .carrossel {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .card {
    flex: 0 0 240px;
  }

  .footer {
    padding: 2rem 0 0;
  }

  .footer .container {
    padding: 0 1.5rem;
  }

  .footer__item-list {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .footer__item--atendimento {
    min-width: 0;
  }

  .footer__item-group--social-pagamento {
    gap: 2rem;
  }

  .footer-copy {
    padding: 1rem 1.5rem;
  }

  .newsletter-form {
    flex-direction: column;
  }
}

/* ========== RASTREAR PEDIDO (página pública) ========== */
.pagina-rastrear {
  --rastrear-burgundy: #6b1c3a;
  --rastrear-burgundy-soft: #8b2947;
  --rastrear-cream: #faf7f4;
  --rastrear-paper: #fffefb;
  --rastrear-gold: #c9a227;
  --rastrear-line: rgba(107, 28, 58, 0.12);
  padding-bottom: 3rem;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(200, 26, 120, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, var(--rastrear-cream) 0%, #f5f0eb 100%);
  min-height: 60vh;
}
.pagina-rastrear .pagina-inner {
  max-width: 640px;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.rastrear-page {
  max-width: 560px;
  margin: 0 auto;
  padding: 2rem 0 2.5rem;
}
.rastrear-hero {
  text-align: center;
  margin-bottom: 1.75rem;
  padding: 0 0.25rem;
}
.rastrear-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--rastrear-burgundy) 0%, var(--rastrear-burgundy-soft) 100%);
  color: #fff;
  margin-bottom: 1rem;
  box-shadow: 0 8px 24px rgba(107, 28, 58, 0.25);
}
.rastrear-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  font-weight: 600;
  color: var(--rastrear-burgundy);
  margin: 0 0 0.5rem 0;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.rastrear-lead {
  margin: 0 auto;
  max-width: 28rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted, #5c534c);
}
.rastrear-card {
  background: var(--rastrear-paper);
  border-radius: 14px;
  box-shadow:
    0 1px 3px rgba(45, 30, 25, 0.06),
    0 12px 40px rgba(107, 28, 58, 0.07);
  border: 1px solid var(--rastrear-line);
  padding: 1.35rem 1.5rem 1.5rem;
  margin-bottom: 1.25rem;
}
.rastrear-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--rastrear-burgundy);
  margin: 0 0 1rem 0;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--rastrear-line);
}
.rastrear-card--form .rastrear-form {
  margin: 0;
}
.rastrear-card--resumo {
  border-left: 4px solid var(--rastrear-gold);
}
.rastrear-card--resumo .rastrear-mensagem {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text, #2d2118);
}
.rastrear-card--timeline {
  padding-bottom: 1.75rem;
}
.rastrear-timeline-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}
.rastrear-timeline-head .rastrear-card-title {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
  flex: 1 1 auto;
}
.rastrear-codigo-badge {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted, #6b5d54);
  letter-spacing: 0.04em;
}
.rastrear-codigo-badge strong {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.2rem 0.55rem;
  background: rgba(107, 28, 58, 0.08);
  color: var(--rastrear-burgundy);
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.rastrear-form {
  margin: 0;
}
.rastrear-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rastrear-burgundy);
  margin-bottom: 0.5rem;
}
.rastrear-input-group {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  align-items: stretch;
}
.rastrear-input {
  flex: 1;
  min-width: 180px;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--rastrear-line);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  letter-spacing: 0.06em;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.rastrear-input:focus {
  outline: none;
  border-color: var(--primary, #c81a78);
  box-shadow: 0 0 0 3px rgba(200, 26, 120, 0.12);
}
.btn-rastrear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  background: linear-gradient(180deg, var(--primary, #c81a78) 0%, var(--primary-hover, #a01560) 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(200, 26, 120, 0.35);
}
.btn-rastrear:hover {
  box-shadow: 0 6px 20px rgba(200, 26, 120, 0.4);
}
.btn-rastrear:active {
  transform: scale(0.98);
}
.btn-rastrear-arrow {
  flex-shrink: 0;
  opacity: 0.95;
}
.rastrear-resultado {
  margin-top: 0.5rem;
  padding-top: 0;
  border-top: none;
}
.rastrear-resumo {
  margin-bottom: 0;
}
.rastrear-mensagem {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text, #1a1a1a);
  line-height: 1.5;
}
.rastrear-msg {
  padding: 1rem 1.15rem;
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.45;
  margin-bottom: 1rem;
}
.rastrear-msg--destaque {
  text-align: center;
  font-weight: 500;
}
.rastrear-msg--erro {
  background: linear-gradient(135deg, #fef2f2 0%, #fff5f5 100%);
  color: #991b1b;
  border: 1px solid #fecaca;
}
.rastrear-msg--aviso {
  background: linear-gradient(135deg, #fffbeb 0%, #fffdf5 100%);
  color: #92400e;
  border: 1px solid #fde68a;
}
/* Aviso etapa 4: só texto, sem caixa — título centralizado */
.rastrear-alerta-simples {
  margin: 0 0 1.15rem 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
}
.rastrear-alerta-titulo-centro {
  display: block;
  width: 100%;
  text-align: center;
  font-weight: 700;
  margin: 0;
  color: #b45309;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.rastrear-alerta-texto-livre {
  display: block;
  margin: 0;
  color: #78350f;
  line-height: 1.55;
  white-space: pre-line;
  text-align: center;
}

.btn-taxa-aduaneira {
  margin: 0.75rem 0 0.5rem;
  width: 100%;
  background: #ffb400;
  border-color: #ffb400;
  color: #1a1200;
}
.btn-taxa-aduaneira:hover {
  filter: brightness(0.98);
}

.taxa-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 9999;
}
.taxa-modal-overlay[hidden] {
  display: none !important;
  pointer-events: none;
  visibility: hidden;
}
/* Modal estilo Correios (amarelo + azul) — aviso de taxação */
.corr-modal-overlay {
  background: rgba(0, 26, 77, 0.82);
}
.corr-modal {
  width: 100%;
  max-width: 460px;
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0, 51, 160, 0.35);
  border: 3px solid #0033a0;
  font-family: 'Inter', system-ui, sans-serif;
}
.corr-modal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: #ffcc00;
  color: #0033a0;
  padding: 0.5rem 0.75rem;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.corr-modal-topbar-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
}
.corr-modal-logo {
  max-height: 36px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
}
.corr-modal-marca { display: block; width: 100%; text-align: center; }
.corr-modal-close { flex-shrink: 0; }
.corr-modal-close {
  appearance: none;
  border: none;
  background: transparent;
  color: #0033a0;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.25rem;
  font-weight: 300;
}
.corr-modal-header {
  background: linear-gradient(180deg, #0033a0 0%, #002266 100%);
  color: #fff;
  padding: 1rem 1.25rem 1.1rem;
}
.corr-modal-header h2 {
  margin: 0 0 0.35rem 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.corr-modal-sub {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.92;
  line-height: 1.4;
}
.corr-modal-body {
  padding: 1rem 1.25rem 1.25rem;
  background: #f4f6f9;
}
.corr-panel {
  background: #fff;
  border: 1px solid #c5d4e8;
  border-left: 4px solid #0033a0;
  border-radius: 2px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
}
.corr-panel--alerta {
  border-left-color: #ffcc00;
  background: linear-gradient(180deg, #fffef5 0%, #fff 100%);
}
.corr-panel-titulo {
  margin: 0 0 0.6rem 0;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0033a0;
}
.corr-dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem 0;
  font-size: 0.85rem;
}
.corr-dl dt {
  margin: 0;
  color: #5a6b85;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.corr-dl dd {
  margin: 0 0 0.5rem 0;
  color: #1a2744;
  word-break: break-word;
  line-height: 1.4;
}
.corr-dl dd:last-of-type { margin-bottom: 0; }
.corr-panel-texto {
  margin: 0 0 0.85rem 0;
  color: #333;
  font-size: 0.88rem;
  line-height: 1.5;
}
.corr-valor-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 0.75rem 1rem;
  background: #ffcc00;
  color: #0033a0;
  border-radius: 2px;
  border: 1px solid #e6b800;
}
.corr-valor-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.corr-valor-num {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.corr-acoes { margin-top: 1rem; }
.corr-btn-pix {
  width: 100%;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 2px;
  background: #0033a0;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 2px 0 #001a4d;
}
.corr-btn-pix:hover { background: #0044cc; }
.corr-btn-pix:disabled { opacity: 0.65; cursor: not-allowed; }
.corr-pix-resultado {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px dashed #c5d4e8;
}
.corr-pix-titulo {
  margin: 0 0 0.75rem 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0033a0;
  text-align: center;
}
.corr-pix-qr-wrap {
  display: flex;
  justify-content: center;
  padding: 1rem;
  background: #fff;
  border: 1px solid #c5d4e8;
  border-radius: 2px;
}
.corr-pix-copia-label {
  display: block;
  margin: 0.75rem 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0033a0;
}
.corr-pix-copia-textarea {
  width: 100%;
  box-sizing: border-box;
  font-size: 0.7rem;
  line-height: 1.35;
  padding: 0.5rem;
  border: 1px solid #c5d4e8;
  border-radius: 2px;
  resize: vertical;
  font-family: ui-monospace, monospace;
  background: #fff;
}
.corr-btn-copiar {
  margin-top: 0.5rem;
  width: 100%;
  padding: 0.5rem;
  border: 2px solid #0033a0;
  background: #fff;
  color: #0033a0;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 2px;
  cursor: pointer;
}
.corr-btn-copiar:hover { background: #f0f4fa; }
.corr-pix-qr {
  width: 240px;
  height: 240px;
  object-fit: contain;
}
.rastrear-alerta-titulo { font-weight: 700; margin: 0 0 0.4rem 0; color: #b45309; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.rastrear-alerta-texto { margin: 0; color: #78350f; line-height: 1.5; }
.rastrear-remetente {
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  background: rgba(107, 28, 58, 0.04);
  border: 1px solid var(--rastrear-line);
  border-radius: 12px;
  font-size: 0.88rem;
}
.rastrear-remetente-titulo {
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.4rem 0;
  color: var(--rastrear-burgundy);
}
.rastrear-remetente-texto {
  margin: 0;
  color: var(--text-muted, #5c534c);
  white-space: pre-line;
  line-height: 1.5;
}
.rastrear-remetente--duo {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: flex-start;
}
.rastrear-remetente-col {
  flex: 1 1 12rem;
  min-width: min(100%, 10rem);
}
.rastrear-timeline-track {
  position: relative;
  padding-left: 0.25rem;
}
.rastrear-lista {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: rastrear;
}
.rastrear-item {
  position: relative;
  padding: 1.15rem 1rem 1.15rem 3.25rem;
  margin-bottom: 0.5rem;
  background: #fff;
  border: 1px solid var(--rastrear-line);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(45, 30, 25, 0.04);
  counter-increment: rastrear;
}
.rastrear-item:not(.rastrear-item--taxa-acao)::after {
  content: '';
  position: absolute;
  left: 1.25rem;
  top: 100%;
  width: 2px;
  height: 0.5rem;
  margin-top: 0;
  background: linear-gradient(180deg, var(--rastrear-gold) 0%, rgba(201, 162, 39, 0.3) 100%);
}
.rastrear-item:last-child:not(.rastrear-item--taxa-acao)::after {
  display: none;
}
.rastrear-item::before {
  content: counter(rastrear);
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--rastrear-burgundy) 0%, var(--rastrear-burgundy-soft) 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(107, 28, 58, 0.25);
}
.rastrear-item--taxa-acao {
  background: linear-gradient(135deg, #fffbeb 0%, #fff 100%);
  border: 1px dashed #f59e0b;
  padding: 1rem;
  margin-top: 0.75rem;
}
.rastrear-item--taxa-acao::before,
.rastrear-item--taxa-acao::after {
  display: none;
}
.rastrear-item--taxa-acao .btn-taxa-aduaneira {
  margin: 0;
  width: 100%;
  border-radius: 10px;
  font-weight: 700;
  padding: 0.9rem 1rem;
}
.rastrear-item-status {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text, #2d2118);
  margin-bottom: 0.3rem;
  line-height: 1.35;
}
.rastrear-item-local {
  display: block;
  font-size: 0.85rem;
  color: var(--rastrear-burgundy-soft);
  margin-bottom: 0.25rem;
}
.rastrear-item-data {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted, #7a6e66);
  letter-spacing: 0.02em;
}
@media (max-width: 520px) {
  .rastrear-page { padding: 1.25rem 0 2rem; }
  .rastrear-input-group { flex-direction: column; }
  .btn-rastrear { width: 100%; }
  .rastrear-item { padding-left: 2.85rem; }
  .rastrear-item::before { left: 0.65rem; width: 1.65rem; height: 1.65rem; font-size: 0.65rem; }
}

/* Evitar zoom no iOS ao focar inputs (font-size < 16px dispara zoom) */
@media (max-width: 900px) {
  @supports (-webkit-touch-callout: none) {
    input,
    select,
    textarea {
      font-size: 16px !important;
    }
  }
}
