/* ==========================================================================
   iFody — Sex Shop Delivery — CSS (mobile-first, zero deps)
   Paleta baseada na logo: magenta vibrante + dourado premium
   ========================================================================== */

:root {
  /* Brand: magenta */
  --pink-900:   #5a0e3a;   /* deep magenta — gradients, footer */
  --pink-700:   #8e1c5e;   /* primary brand — hover, active */
  --pink-500:   #d72d8c;   /* main brand — botões, links, preços */
  --pink-300:   #ff6cb6;   /* light variant — highlights, accents */
  --pink-100:   #ffd0e6;   /* pastel — backgrounds soft */
  --magenta:    #d72d8c;   /* alias para compatibilidade */

  /* Aliases legados (apontam para pink) — evita refator total no CSS */
  --purple-900: #5a0e3a;
  --purple-700: #8e1c5e;
  --purple-500: #d72d8c;

  /* Accent: dourado premium (substitui o lime) */
  --gold-500:   #ffb800;
  --gold-600:   #e69d00;
  /* Aliases legados */
  --lime-500:   #ffb800;
  --lime-600:   #e69d00;

  --ink:        #1a1228;   /* preto suave */
  --ink-2:      #4d3a4a;
  --muted:      #786471;
  --bg:         #ffffff;
  --bg-alt:     #fdf4f8;   /* rosa-areia bem sutil */
  --line:       #f0d9e8;
  --white:      #ffffff;
  --green-wa:   #25d366;
  --danger:     #e94060;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(74,15,102,.08);
  --shadow-md: 0 8px 24px rgba(74,15,102,.12);

  --container: 1280px;

  --font: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* impede scroll lateral acidental por overflow de embed/img */
}
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--purple-700); text-decoration: none; }
a:hover { color: var(--magenta); }
h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0 0 .5rem; }
p { margin: 0 0 .75rem; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: linear-gradient(135deg, #1a0811 0%, #2d1422 60%, #1f0b16 100%);
  border-bottom: 2px solid rgba(215,45,140,.35);
  box-shadow: 0 4px 20px rgba(0,0,0,.28);
}
.topbar {
  background: linear-gradient(90deg, var(--purple-900), var(--magenta));
  color: var(--white);
  font-size: .82rem;
}
.topbar__inner { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 6px 16px; flex-wrap: wrap; }
.topbar__item strong { color: var(--lime-500); }
.topbar__sep { opacity: .5; }

.status { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.status__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime-500);
  box-shadow: 0 0 0 0 rgba(168,216,46,.7);
  animation: pulse 2s infinite;
}
.status.is-closed .status__dot { background: #ff6b6b; box-shadow: none; animation: none; }
.status.is-closed .status__label { opacity: .85; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(168,216,46,.7); }
  70%  { box-shadow: 0 0 0 6px rgba(168,216,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(168,216,46,0); }
}
@media (max-width: 640px) {
  .topbar__sep--hide-sm, .topbar__item--hide-sm { display: none; }
}

.header__main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  background: none;
  border: none;
  box-shadow: none;
}
.brand img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.4));
}

.search {
  display: flex;
  border: 2px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
  transition: border-color .15s;
}
.search:focus-within { border-color: var(--magenta); }
.search input {
  flex: 1; border: 0; padding: 10px 16px; font-size: 1rem;
  background: transparent; outline: none; min-width: 0;
  color: var(--white);
}
.search input::placeholder { color: rgba(255,255,255,.45); }
.search button {
  border: 0; background: var(--magenta); color: var(--white);
  padding: 0 18px; cursor: pointer; display: inline-flex; align-items: center;
}
.search button:hover { background: var(--pink-500); }

.cart-link {
  position: relative; display: inline-flex; align-items: center;
  color: var(--white); padding: 8px;
}
.cart-link__count {
  position: absolute; top: -2px; right: -6px;
  background: var(--lime-500); color: var(--ink);
  min-width: 20px; height: 20px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 800; padding: 0 6px;
}
.cart-link__count.is-empty { display: none; }

/* Mobile header — logo centralizada, carrinho à direita, busca full-width na linha 2 */
@media (max-width: 768px) {
  .header__main { grid-template-columns: 40px 1fr 40px; grid-template-rows: auto auto; }
  .brand { grid-column: 2; grid-row: 1; justify-self: center; padding: 4px 0; }
  .brand img { height: 40px; }
  .cart-link { grid-column: 3; grid-row: 1; justify-self: end; }
  .search { grid-column: 1 / -1; grid-row: 2; }
}

/* ============ BANNERS (pure CSS slider) ============ */
.banners {
  background: var(--bg-alt);
}
.banners__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.banners__track::-webkit-scrollbar { display: none; }
.banners__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: block;
  aspect-ratio: 16 / 5.6;
}
.banners__slide img {
  width: 100%; height: 100%; object-fit: cover;
}
@media (max-width: 768px) {
  .banners__slide { aspect-ratio: 1 / 1; } /* quadrado — melhor leitura mobile */
}

/* ============ USPs (home) ============ */
.usp { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.usp__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 16px;
}
.usp__item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
}
.usp__item div { display: flex; flex-direction: column; line-height: 1.25; }
.usp__icon {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg-alt); color: var(--purple-700);
  flex-shrink: 0;
}
.usp__item strong { color: var(--ink); font-size: .98rem; }
.usp__item span { color: var(--muted); font-size: .8rem; }
@media (max-width: 640px) {
  .usp__grid { grid-template-columns: repeat(2, 1fr); }
  .usp__item { padding: 8px; gap: 8px; }
  .usp__icon { width: 36px; height: 36px; }
}

/* ============ CATÁLOGO (categorias + slider horizontal) ============ */
.catalog { padding: 24px 16px 48px; }
.cat-row { margin: 32px 0; }
.cat-row__header {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-bottom: 12px;
}
.cat-row__header h2 {
  font-size: 1.4rem; margin: 0;
}
.cat-row__header h2 a { color: var(--ink); }
.cat-row__header h2 a:hover { color: var(--purple-700); }
.cat-row__see-all { color: var(--purple-700); font-weight: 600; font-size: .92rem; white-space: nowrap; }

.cat-row__scroller {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding: 16px;
  padding: 4px 4px 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--purple-500) transparent;
}
.cat-row__scroller::-webkit-scrollbar { height: 8px; }
.cat-row__scroller::-webkit-scrollbar-thumb { background: var(--purple-500); border-radius: 4px; }

.cat-row__scroller > * { flex: 0 0 240px; scroll-snap-align: start; }
@media (max-width: 640px) { .cat-row__scroller > * { flex-basis: 78%; max-width: 280px; } }

.cat-row__more {
  flex: 0 0 240px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 20px;
  background: linear-gradient(135deg, var(--purple-700), var(--magenta));
  color: var(--white); border-radius: var(--radius);
  font-weight: 600;
}
.cat-row__more:hover { color: var(--white); opacity: .92; }

/* ============ GRID (páginas de categoria / busca) ============ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

/* ============ PRODUCT CARD ============ */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--purple-500);
}
.card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
  display: block;
  overflow: hidden;
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .25s;
}
.card:hover .card__media img { transform: scale(1.04); }
.card__media--placeholder {
  display: grid; place-items: center; font-size: 3rem;
  width: 100%; height: 100%;
}

.badge {
  position: absolute; top: 10px; left: 10px;
  padding: 4px 10px; border-radius: 999px;
  font-size: .75rem; font-weight: 800;
  background: var(--lime-500); color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.card__body { padding: 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__title {
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.card__title a { color: var(--ink); }
.card__title a:hover { color: var(--purple-700); }

.price__pix strong { color: var(--purple-700); font-size: 1.2rem; }
.price__pix span { color: var(--muted); font-size: .78rem; margin-left: 4px; }
.price__installments { color: var(--ink-2); font-size: .78rem; }
.price--lg .price__pix strong { font-size: 2rem; }
.price--lg .price__installments { font-size: .95rem; margin-top: 4px; }

.card__actions { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer; border: 0;
  text-decoration: none;
  transition: transform .1s, opacity .15s, background .15s;
  line-height: 1.2;
}
.btn:active { transform: scale(.98); }
.btn--primary {
  background: linear-gradient(135deg, var(--purple-700), var(--magenta));
  color: var(--white);
}
.btn--primary:hover { color: var(--white); opacity: .92; }
.btn--primary.is-added { background: var(--lime-600); }

.btn--wa { background: var(--green-wa); color: var(--white); }
.btn--wa:hover { color: var(--white); opacity: .92; }

/* Variante outline — usada em fundos escuros (footer) para contraste WCAG */
.btn--wa-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: 10px;
  background: transparent;
  border: 2px solid var(--green-wa);
  color: var(--green-wa) !important;
  font-weight: 700; font-size: .88rem;
  transition: background .15s, color .15s;
}
.btn--wa-outline:hover {
  background: var(--green-wa);
  color: var(--white) !important;
}

.btn--lg { padding: 14px 22px; font-size: 1rem; }
.btn--sm { padding: 8px 12px; font-size: .82rem; }
.btn--block { width: 100%; }

/* ============ BREADCRUMBS / HEADER DE PÁGINA ============ */
.breadcrumbs {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  font-size: .85rem; color: var(--muted); margin: 16px 0;
}
.breadcrumbs a { color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.breadcrumbs a:hover { color: var(--purple-700); }
.breadcrumbs__home { color: var(--purple-700); font-weight: 600; }
.breadcrumbs__sep { color: var(--line); flex-shrink: 0; }

.page-head { margin: 16px 0 20px; }
.page-head h1 { font-size: 1.8rem; }
.page-head__desc { color: var(--ink-2); }
.page-head__count { color: var(--muted); font-size: .9rem; margin: 0; }
.page-head__row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap; margin-top: 8px;
}

.sort-form { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; }
.sort-form label { color: var(--ink-2); font-weight: 600; }
.sort-form select {
  padding: 8px 32px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a1f99' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat right 10px center;
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  color: var(--ink); font-weight: 600; cursor: pointer;
  transition: border-color .15s;
}
.sort-form select:hover, .sort-form select:focus { border-color: var(--purple-500); outline: none; }
@media (max-width: 480px) {
  .page-head__row { flex-direction: column; align-items: flex-start; }
  .sort-form { width: 100%; }
  .sort-form select { flex: 1; }
}

/* ============ PAGINAÇÃO ============ */
.pagination {
  display: flex; gap: 16px; justify-content: center; align-items: center;
  margin: 32px 0;
}
.pagination a {
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px;
  color: var(--purple-700); font-weight: 600;
}
.pagination a:hover { background: var(--bg-alt); }

/* ============ CATEGORY EDITORIAL ============ */
.category-editorial {
  margin: 36px 0 12px;
  padding: 24px;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--white) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.category-editorial h2 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}
.category-editorial__content {
  color: var(--ink-2);
  line-height: 1.7;
}
.category-editorial__content p {
  margin: 0 0 12px;
}
.category-editorial__content ul {
  margin: 0 0 14px;
  padding-left: 18px;
}
.category-editorial__content li {
  margin-bottom: 6px;
}

/* ============ CATEGORY SEO BLOCKS (gerados pelo pipeline IA) ============ */
/* Hook compacto com "Leia mais" — não empurra grid pra baixo da dobra */
.category-hook {
  margin: 12px 0 16px;
  color: var(--ink-2);
  line-height: 1.65;
}
.category-hook__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.category-hook__more {
  margin-top: 10px;
  padding: 16px 20px;
  background: var(--bg-alt);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
}
.category-hook__more p { margin: 0 0 10px; }
.category-hook__more p:last-child { margin-bottom: 0; }
.category-hook__toggle {
  background: none;
  border: none;
  color: var(--brand);
  font-weight: 600;
  font-size: .92rem;
  padding: 4px 0;
  cursor: pointer;
}
.category-hook__toggle:hover { text-decoration: underline; }

/* Trust badges em linha — peso visual sem texto extra */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 10px 0 14px;
  align-items: center;
}
.trust-row__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  color: var(--ink-2);
  padding: 4px 10px;
  background: var(--bg-alt);
  border-radius: 999px;
  white-space: nowrap;
}
.trust-row__item svg { color: var(--brand); }
.trust-row__rating { font-weight: 600; color: var(--ink); }
.trust-row__rating .muted { color: var(--ink-3); font-weight: 400; }

/* Divider visual entre grid e seções editoriais */
.cat-divider {
  border: none;
  border-top: 1px dashed var(--line);
  margin: 40px 0 8px;
  position: relative;
}
.cat-divider::after {
  content: '◆';
  position: absolute;
  left: 50%;
  top: -10px;
  transform: translateX(-50%);
  background: var(--white);
  padding: 0 14px;
  color: var(--brand);
  font-size: 14px;
}

/* Cabeçalho do bloco de extras */
.cat-extras { margin: 24px 0; }
.cat-extras__header {
  text-align: center;
  margin-bottom: 16px;
}
.cat-extras__title {
  font-size: 1.5rem;
  margin: 0 0 6px;
  color: var(--ink);
}
.cat-extras__lead {
  margin: 0;
  color: var(--ink-3);
  font-size: .95rem;
}

/* Accordion dos blocos editoriais */
.cat-acc {
  margin: 8px 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .15s ease;
}
.cat-acc[open] {
  border-color: var(--brand);
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.cat-acc__summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  user-select: none;
  background: var(--bg-alt);
  transition: background .15s ease;
}
.cat-acc__summary::-webkit-details-marker { display: none; }
.cat-acc__summary:hover { background: #fff7fa; }
.cat-acc[open] .cat-acc__summary {
  background: linear-gradient(180deg, #fff7fa 0%, var(--white) 100%);
  border-bottom: 1px solid var(--line);
}
.cat-acc__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--white);
  color: var(--brand);
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.cat-acc__label { flex: 1; }
.cat-acc__chev {
  font-size: 14px;
  color: var(--ink-3);
  transition: transform .2s ease;
}
.cat-acc[open] .cat-acc__chev { transform: rotate(180deg); }
.cat-acc__body {
  padding: 18px 22px 22px;
  color: var(--ink-2);
  line-height: 1.7;
}
.cat-acc__body > h2:first-child,
.cat-acc__body > h3:first-child { margin-top: 0; }

.cat-acc--pillar .cat-acc__body {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--white) 100%);
}

/* Imagem ilustrativa dentro do pillar guide */
.pillar-figure {
  margin: 0 0 18px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
}
.pillar-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.page-head__rating {
  margin: 6px 0 0;
  font-size: .95rem;
  color: var(--ink-2);
}
.page-head__rating .muted { color: var(--ink-3); margin-left: 6px; font-size: .88em; }

.cat-block {
  margin: 32px 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cat-block h2 {
  margin: 0 0 16px;
  font-size: 1.35rem;
  color: var(--ink);
}
.cat-block h3 {
  margin: 22px 0 10px;
  font-size: 1.1rem;
  color: var(--ink);
}
.cat-block p, .cat-block li, .cat-block dd {
  color: var(--ink-2);
  line-height: 1.7;
}
.cat-block p { margin: 0 0 12px; }
.cat-block ul, .cat-block ol { margin: 0 0 14px; padding-left: 22px; }
.cat-block li { margin-bottom: 8px; }
.cat-block a { color: var(--brand); }
.cat-block a:hover { text-decoration: underline; }

/* "Como escolher" — lista numerada */
.cat-block .howto-list {
  list-style: none;
  padding: 0;
  counter-reset: howto;
}
.cat-block .howto-list li {
  counter-increment: howto;
  padding: 14px 16px 14px 48px;
  position: relative;
  background: var(--bg-alt);
  border-radius: 8px;
  margin-bottom: 10px;
}
.cat-block .howto-list li::before {
  content: counter(howto);
  position: absolute;
  top: 12px; left: 14px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700;
}
.cat-block .howto-list li strong { display: block; margin-bottom: 4px; color: var(--ink); }
.cat-block .howto-list li p { margin: 6px 0 0; }

/* Comparativo — tabela */
.cat-block .comparativo-wrap { overflow-x: auto; margin: 12px 0; }
.cat-block table.comparativo {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  min-width: 640px;
}
.cat-block table.comparativo th, .cat-block table.comparativo td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.cat-block table.comparativo thead th {
  background: var(--bg-alt);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-2);
}
.cat-block table.comparativo tbody tr:hover td { background: var(--bg-alt); }

/* Glossário — <dl> */
.cat-block .glossary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 12px 0 0;
}
.cat-block .glossary dt {
  font-weight: 700;
  color: var(--ink);
  margin-top: 8px;
}
.cat-block .glossary dd {
  margin: 4px 0 0;
  padding-left: 0;
  color: var(--ink-2);
}
.cat-block .glossary-intro { font-size: .95rem; }

/* Pillar guide — texto longo */
.cat-block--pillar { background: linear-gradient(180deg, var(--bg-alt) 0%, var(--white) 100%); }
.cat-block--pillar strong { color: var(--ink); }

/* FAQ accordion (usado dentro de .cat-acc__body e em outros blocos) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 0;
}
.faq-list .faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.faq-list .faq-item:hover { border-color: rgba(225, 29, 72, .35); }
.faq-list .faq-item[open] {
  border-color: var(--brand);
  box-shadow: 0 1px 3px rgba(225, 29, 72, .08);
}

/* SUMMARY — esconde triângulo default do browser e estiliza */
.faq-list .faq-item summary {
  cursor: pointer;
  padding: 16px 52px 16px 22px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  list-style: none;            /* Firefox: remove marker */
  position: relative;
  user-select: none;
  line-height: 1.4;
}
.faq-list .faq-item summary::marker,
.faq-list .faq-item summary::-webkit-details-marker { display: none; }
.faq-list .faq-item summary:hover { color: var(--brand); }

/* Chevron animado em círculo */
.faq-list .faq-item summary::after {
  content: '';
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  background-image: linear-gradient(currentColor, currentColor),
                    linear-gradient(currentColor, currentColor);
  background-size: 12px 2px, 2px 12px;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--brand);
  transition: transform .25s ease, background .15s ease;
}
.faq-list .faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 12px 2px;
}
.faq-list .faq-item summary:hover::after { background-color: rgba(225, 29, 72, .12); }

/* Resposta */
.faq-list .faq-answer {
  padding: 4px 22px 20px;
  color: var(--ink-2);
  line-height: 1.7;
  border-top: 1px solid transparent;
}
.faq-list .faq-item[open] .faq-answer {
  border-top-color: var(--line);
  padding-top: 16px;
  animation: faq-slide .25s ease-out;
}
.faq-list .faq-answer p:first-child { margin-top: 0; }
.faq-list .faq-answer p { margin: 12px 0 0; }
.faq-list .faq-answer a { color: var(--brand); }
.faq-list .faq-answer a:hover { text-decoration: underline; }
.faq-list .faq-answer strong { color: var(--ink); }
.faq-list .faq-answer ul, .faq-list .faq-answer ol { margin: 10px 0 0; padding-left: 22px; }
.faq-list .faq-answer li { margin-bottom: 6px; }

@keyframes faq-slide {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Compatibilidade com o uso antigo (.cat-faq usado em outras páginas) */
.cat-faq .faq-list { gap: 10px; }

/* Categorias relacionadas */
.cat-related .related-cats {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin: 0;
}
.cat-related .related-cats li {
  margin: 0;
}
.cat-related .related-cats a {
  display: block;
  padding: 12px 14px;
  background: var(--bg-alt);
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease;
}
.cat-related .related-cats a:hover {
  border-color: var(--brand);
  background: #fff;
  text-decoration: none;
}
.cat-related .muted { color: var(--ink-3); font-weight: 400; font-size: .9em; }

.cat-eeat {
  margin: 32px 0 18px;
  text-align: center;
  font-size: .85rem;
}

/* Auto-link de categoria dentro de descrição */
.auto-link {
  text-decoration-style: dotted;
  text-decoration-color: rgba(225, 29, 72, .5);
}

/* ============ FLOATING WHATSAPP BUTTON ============ */
.wa-float {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  background: #25D366;
  color: #fff !important;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: .95rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25), 0 2px 6px rgba(0, 0, 0, .12);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  animation: wa-pop 0.6s ease-out 1.5s both, wa-pulse 2.6s ease-in-out 3s infinite;
}
.wa-float:hover {
  background: #1ea857;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .3);
  text-decoration: none !important;
  animation: none;
}
.wa-float svg {
  flex-shrink: 0;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .2));
}
.wa-float__label {
  white-space: nowrap;
}
@keyframes wa-pop {
  from { transform: scale(.6); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(0, 0, 0, .25), 0 0 0 0 rgba(37, 211, 102, .6); }
  50%      { box-shadow: 0 6px 20px rgba(0, 0, 0, .25), 0 0 0 12px rgba(37, 211, 102, 0); }
}
@media (max-width: 640px) {
  .wa-float {
    bottom: 16px; right: 16px;
    padding: 12px;
  }
  .wa-float__label { display: none; }
}

/* ============ ERROR PAGE (404 / 500) ============ */
.error-page {
  max-width: 720px;
  margin: 60px auto;
  padding: 0 16px;
  text-align: center;
}
.error-page__big {
  font-size: clamp(96px, 18vw, 180px);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #d72d8c 0%, #ffb800 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.error-page h1 {
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  margin: 0 0 12px;
  color: var(--ink);
}
.error-page__lead {
  color: var(--ink-2);
  font-size: 1.05rem;
  margin-bottom: 28px;
  line-height: 1.6;
}
.error-page__cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  text-align: left;
  margin-bottom: 28px;
}
.error-card {
  display: block;
  padding: 16px 18px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
.error-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  text-decoration: none;
}
.error-card strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
  font-size: 1rem;
}
.error-card span {
  color: var(--ink-3);
  font-size: .88rem;
}
.error-page__cta {
  color: var(--ink-2);
  font-size: .95rem;
  background: var(--bg-alt);
  padding: 14px 18px;
  border-radius: var(--radius);
}

/* ============ PRODUCT PAGE ============ */
.product {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 36px;
  margin: 16px 0 40px;
  width: 100%;
  max-width: 100%;
}
.product__gallery, .product__info { 
  min-width: 0; 
  max-width: 100%; 
}
@media (max-width: 880px) { .product { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Gallery ---------- */
.gallery {
  position: relative;
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
}
.gallery__viewport {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
  width: 100%;
}
.gallery__viewport::-webkit-scrollbar { display: none; }
.gallery__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
}
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__slide--placeholder { color: var(--purple-500); }

.gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--ink);
  border: 0; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  transition: background .15s, transform .15s;
  z-index: 2;
}
.gallery__nav:hover { background: var(--white); transform: translateY(-50%) scale(1.06); }
.gallery__nav--prev { left: 10px; }
.gallery__nav--next { right: 10px; }

.gallery__share {
  position: absolute; top: 12px; right: 12px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--purple-700);
  border: 0; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  transition: background .15s, color .15s;
}
.gallery__share:hover { background: var(--purple-700); color: var(--white); }
.gallery__share.is-copied { background: var(--lime-500); color: var(--ink); }
.gallery__share.is-copied::after {
  content: 'link copiado!';
  position: absolute; right: 0; top: 110%;
  background: var(--ink); color: var(--white);
  font-size: .72rem; padding: 4px 8px; border-radius: 6px;
  white-space: nowrap;
}

.gallery__dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
  z-index: 2;
}
.gallery__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.6); border: 0; padding: 0; cursor: pointer;
  transition: background .15s, width .15s;
}
.gallery__dot.is-active { background: var(--white); width: 22px; border-radius: 4px; }

/* Wrapper que contém scroller + setas + fades nas extremidades.
   width:100%; min-width:0; overflow:hidden — IMPEDE que filhos estourem o pai. */
.gallery__thumbs-wrap {
  position: relative;
  margin-top: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;       /* trava overflow para os fades funcionarem */
}

/* Fades laterais que sinalizam overflow scrolável */
.gallery__thumbs-wrap::before,
.gallery__thumbs-wrap::after {
  content: '';
  position: absolute; top: 0; bottom: 4px; width: 36px;
  pointer-events: none;
  opacity: 0; transition: opacity .2s;
  z-index: 1;
}
.gallery__thumbs-wrap::before { left: 0;  background: linear-gradient(90deg, var(--bg) 0%, transparent 100%); }
.gallery__thumbs-wrap::after  { right: 0; background: linear-gradient(-90deg, var(--bg) 0%, transparent 100%); }
.gallery__thumbs-wrap.has-overflow-left::before  { opacity: 1; }
.gallery__thumbs-wrap.has-overflow-right::after  { opacity: 1; }

/* Setas — só aparecem quando há overflow no respectivo lado */
.gallery__thumbs-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line); cursor: pointer;
  display: none; place-items: center;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  padding: 0;
}
.gallery__thumbs-nav:hover { background: var(--purple-700); color: var(--white); border-color: var(--purple-700); }
.gallery__thumbs-nav--prev { left: 4px; }
.gallery__thumbs-nav--next { right: 4px; }
.gallery__thumbs-wrap.has-overflow-left  .gallery__thumbs-nav--prev,
.gallery__thumbs-wrap.has-overflow-right .gallery__thumbs-nav--next { display: grid; }

/* Scroller dos thumbs — flex em linha única, scroll horizontal nativo */
.gallery__thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  padding-bottom: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--purple-500) transparent;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.gallery__thumbs::-webkit-scrollbar { height: 6px; }
.gallery__thumbs::-webkit-scrollbar-thumb { background: var(--purple-500); border-radius: 3px; }
.gallery__thumbs::-webkit-scrollbar-track { background: transparent; }

.gallery__thumb {
  flex: 0 0 72px;
  width: 72px; height: 72px; border-radius: 8px; overflow: hidden;
  border: 2px solid var(--line); padding: 0; cursor: pointer; background: var(--white);
  scroll-snap-align: start;
  transition: border-color .15s, transform .15s;
}
.gallery__thumb.is-active { border-color: var(--purple-500); }
.gallery__thumb:hover { transform: translateY(-2px); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 480px) {
  .gallery__thumbs-nav { display: none !important; } /* mobile usa swipe nativo */
}

/* ---------- Info ---------- */
.product__title { font-size: 1.65rem; line-height: 1.25; margin: 0 0 10px; }
.product__short { color: var(--ink-2); margin: 10px 0 18px; line-height: 1.6; }

.rating { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; margin-bottom: 14px; padding: 6px 12px; background: var(--bg-alt); border-radius: 999px; }
.rating__stars { color: #f5b301; display: inline-flex; gap: 1px; }
.rating__count { color: var(--ink-2); font-weight: 600; }

/* ---------- Price box ---------- */
.price-box {
  background: linear-gradient(135deg, #fff5fa 0%, var(--bg-alt) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 16px 0;
}
.price-box__pix { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.price-box__pix-label {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--purple-700); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
}
.price-box__pix-value { color: var(--purple-700); font-size: 2.2rem; font-weight: 800; line-height: 1; }
.price-box__pix-discount { display: inline-block; background: var(--lime-500); color: var(--ink); font-size: .75rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; width: fit-content; margin-top: 4px; }
.price-box__card { display: flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: .9rem; padding-top: 10px; border-top: 1px dashed var(--line); }
.price-box__card strong { color: var(--ink); }

/* ---------- Urgência ---------- */
.urgency {
  background: linear-gradient(135deg, #fff8e6 0%, #ffefc7 100%);
  border: 1px solid #f3d77a;
  border-left: 4px solid #e8a700;
  border-radius: 12px;
  padding: 12px 16px;
  margin: 14px 0;
}
.urgency__head {
  display: flex; align-items: center; gap: 10px;
  color: #5b3d00; font-size: .98rem;
}
.urgency__head strong { color: #2d1c00; }
.urgency__sub {
  display: flex; align-items: center; gap: 8px;
  margin-top: 6px;
  color: #6b4d00; font-size: .8rem;
}
.urgency__pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #e8a700;
  box-shadow: 0 0 0 0 rgba(232,167,0,.6);
  animation: urg-pulse 1.5s infinite;
}
.urgency__ticker { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; color: #2d1c00; }
@keyframes urg-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(232,167,0,.65); }
  70%  { box-shadow: 0 0 0 10px rgba(232,167,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,167,0,0); }
}

/* ---------- CTAs ---------- */
.product__cta { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 22px; }
.btn--xl { padding: 18px 24px; font-size: 1.05rem; border-radius: 12px; }
.btn--block { width: 100%; }
.btn--cart-add {
  box-shadow: 0 6px 18px rgba(160, 47, 191, .35);
}
.btn--cart-add:hover { box-shadow: 0 8px 22px rgba(160, 47, 191, .45); }

/* ---------- Benefits cards ---------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0; margin: 0;
}
@media (max-width: 480px) { .benefits { grid-template-columns: 1fr; } }
.benefit {
  display: flex; align-items: center; gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  position: relative;
  transition: border-color .15s, transform .15s;
}
.benefit:hover { border-color: var(--purple-500); transform: translateY(-1px); }
.benefit__icon {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-alt); color: var(--purple-700);
  flex-shrink: 0;
}
.benefit > div { display: flex; flex-direction: column; line-height: 1.25; }
.benefit strong { font-size: .92rem; color: var(--ink); }
.benefit small { color: var(--muted); font-size: .78rem; }
.benefit__action {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--purple-700); color: var(--white);
  border: 0; border-radius: 999px; padding: 5px 10px;
  font-size: .72rem; font-weight: 700; cursor: pointer;
  transition: background .15s;
}
.benefit__action:hover { background: var(--magenta); }

/* ---------- Descrição completa ---------- */
.product__desc { margin: 36px 0; }
.product__desc h2,
.cat-row__header h2 {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.section-bar {
  display: inline-block;
  width: 4px; height: 24px;
  background: linear-gradient(180deg, var(--lime-500), var(--purple-700));
  border-radius: 2px;
}
.rich-text { color: var(--ink-2); line-height: 1.7; max-width: 820px; }
.rich-text img { border-radius: var(--radius-sm); margin: 12px 0; max-width: 100%; height: auto; }
.rich-text p { margin: 0 0 12px; }

/* ---------- Guards contra overflow vindo do conteúdo Woo (HTML rico) ---------- */
.product__short, .rich-text { overflow-wrap: anywhere; word-break: break-word; }
.product__short *, .rich-text * { max-width: 100%; }
.product__short table, .rich-text table { display: block; overflow-x: auto; }
.product__short iframe, .rich-text iframe { width: 100%; aspect-ratio: 16/9; height: auto; }

/* ---------- Mobile tweaks ---------- */
@media (max-width: 880px) {
  .product { gap: 20px; margin: 12px 0 24px; }
  .product__title { font-size: 1.35rem; }
  .price-box { padding: 14px 16px; margin: 14px 0; }
  .price-box__pix-value { font-size: 1.9rem; }
  .btn--xl { padding: 16px 18px; font-size: 1rem; border-radius: 10px; }
  .urgency { padding: 10px 12px; }
  .urgency__head { font-size: .9rem; gap: 8px; flex-wrap: wrap; }
  .urgency__ticker { font-size: 1rem; }
  .gallery__nav { width: 36px; height: 36px; }
  .gallery__nav--prev { left: 6px; }
  .gallery__nav--next { right: 6px; }
  .gallery__share { width: 34px; height: 34px; top: 8px; right: 8px; }
  .gallery__thumb { flex-basis: 60px; width: 60px; height: 60px; }
  .benefit { padding: 10px 12px; gap: 10px; }
  .benefit__icon { width: 36px; height: 36px; }
  .benefit strong { font-size: .85rem; }
  .benefit small { font-size: .72rem; }
  .benefit__action { font-size: .68rem; padding: 4px 8px; }
}
@media (max-width: 480px) {
  .product__title { font-size: 1.2rem; }
  .price-box__pix-value { font-size: 1.65rem; }
  .price-box__card { font-size: .8rem; }
  .rating { font-size: .82rem; padding: 5px 10px; }
  .breadcrumbs { font-size: .78rem; }
  .breadcrumbs span[aria-current] { max-width: 140px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .container { padding: 0 12px;margin: 0px 0 8px; }
}

/* ---------- Vimeo wrapper ---------- */
.vimeo-wrap {
  position: relative;
  padding-top: 56.25%;
  background: #000;
}
.vimeo-wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-modal__box--vimeo { background: #000; }

/* ============ CART PAGE ============ */
.cart-page { padding-bottom: 48px; }
.cart-page h1 { font-size: 1.8rem; margin-top: 8px; }

#cart-content { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; margin-top: 16px; }
@media (max-width: 880px) { #cart-content { grid-template-columns: 1fr; } }

.cart-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 12px; align-items: center;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px;
}
.cart-item > * { min-width: 0; }
.cart-item__media {
  width: 80px; height: 80px; border-radius: var(--radius-sm);
  overflow: hidden; background: var(--bg-alt);
  display: grid; place-items: center; font-size: 2rem;
}
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__info { min-width: 0; }
.cart-item__name { color: var(--ink); font-weight: 600; display: block; overflow-wrap: anywhere; }
.cart-item__price strong { color: var(--purple-700); }
.cart-item__price span { color: var(--muted); font-size: .82rem; margin-left: 6px; }

.cart-item__qty {
  display: inline-flex; align-items: center; gap: 4px;
  border: 1px solid var(--line); border-radius: 999px; padding: 2px;
}
.cart-item__qty button {
  width: 28px; height: 28px; border: 0; border-radius: 50%;
  background: var(--bg-alt); color: var(--ink); font-weight: 800; cursor: pointer;
}
.cart-item__qty button:hover { background: var(--purple-500); color: var(--white); }
.cart-item__qty span { min-width: 24px; text-align: center; font-weight: 700; }

.cart-item__remove {
  width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: transparent; color: var(--danger);
  font-size: 1.4rem; cursor: pointer;
}
.cart-item__remove:hover { background: #fdecef; }

.cart-summary {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
  position: sticky; top: 120px; align-self: start;
}
.cart-summary h2 { font-size: 1.1rem; }
.cart-summary__row {
  display: flex; justify-content: space-between; padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}
.cart-summary__row--pix strong { color: var(--purple-700); font-size: 1.3rem; }
.cart-benefits { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; }
.cart-benefits li { font-size: .85rem; color: var(--ink-2); padding-left: 18px; position: relative; }
.cart-benefits li::before { content: '✓'; position: absolute; left: 0; color: var(--lime-600); font-weight: 800; }
.cart-benefits strong { color: var(--ink); }

@media (max-width: 640px) {
  .cart-page h1 { font-size: 1.55rem; }
  .cart-item {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    grid-template-areas:
      "media info remove"
      "qty qty qty";
    align-items: start;
  }
  .cart-item__media {
    grid-area: media;
    width: 72px;
    height: 72px;
  }
  .cart-item__info { grid-area: info; }
  .cart-item__price { display: flex; flex-direction: column; gap: 2px; }
  .cart-item__price span { margin-left: 0; }
  .cart-item__qty {
    grid-area: qty;
    justify-self: start;
    margin-left: 84px;
  }
  .cart-item__remove {
    grid-area: remove;
    justify-self: end;
  }
  .cart-summary {
    padding: 16px;
    position: static;
  }
  .cart-summary__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* ============ FOOTER ============ */
.site-footer {
  background: linear-gradient(180deg, var(--pink-900) 0%, #1a0817 100%);
  color: #e8c5d8;
  margin-top: 64px;
  font-size: .9rem;
}
.site-footer a { color: #e8c5d8; transition: color .15s; }
.site-footer a:hover { color: var(--lime-500); }
.site-footer h3 {
  color: var(--white); font-size: .95rem; font-weight: 700;
  letter-spacing: .02em; text-transform: uppercase;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

/* Row 1: 4 colunas equilibradas (about, contato, institucional, cidades) */
.footer__row1 {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.6fr;
  gap: 32px;
  padding: 48px 16px 28px;
}
@media (max-width: 1100px) {
  .footer__row1 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer__row1 { grid-template-columns: 1fr; gap: 24px; padding: 32px 16px 16px; }
}

/* Row 2: Categorias em strip horizontal full-width */
.footer__row2 {
  padding: 28px 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer__cats-title {
  color: var(--white);
  font-size: .82rem; text-transform: uppercase; letter-spacing: .08em;
  margin: 0 0 16px;
}
.footer__cats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px 24px;
}

/* Lista plana (Contato) — labels acima, valores abaixo */
.footer__plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.footer__plain li { display: flex; flex-direction: column; gap: 2px; }
.footer__plain a { color: var(--white); font-weight: 600; }
.footer__plain a:hover { color: var(--lime-500); }
.footer__plain address { font-style: normal; color: #e8c5d8; line-height: 1.5; font-size: .88rem; margin: 0; }
.footer__plain span { font-size: .88rem; color: #e8c5d8; }
.footer__label {
  font-size: .7rem !important;
  text-transform: uppercase; letter-spacing: .05em;
  color: #a98a9c !important; font-weight: 700;
}

.footer__col h3 {
  color: var(--white);
  font-size: .82rem; text-transform: uppercase; letter-spacing: .08em;
  margin: 0 0 14px;
}
.footer__col .footer__links { display: grid; gap: 6px; }
.footer__col .footer__cidades-list { margin-top: 0; }

.footer__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,.12) 0%, rgba(26,8,23,.78) 100%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 8px 18px rgba(0,0,0,.24);
  backdrop-filter: blur(4px);
}
.footer__logo img {
  display: block;
  height: 50px;
  width: auto;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,.3));
}
.footer__about p { margin: 0 0 14px; line-height: 1.55; }

/* Socials — ícones compactos, circulares, hover com cor-marca */
.footer__socials { display: flex; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.social {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: var(--white);
  transition: background .15s, transform .15s, color .15s;
}
.social:hover { background: var(--lime-500); color: var(--ink); transform: translateY(-2px); }

/* Contato / horários */
.footer__contact address { font-style: normal; line-height: 1.55; margin: 0 0 14px; }
.footer__hours { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; }
.footer__hours dt { color: var(--white); font-weight: 600; font-size: .82rem; }
.footer__hours dd { margin: 0; font-size: .88rem; color: #d4b5c5; }

.footer__links { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; }
.footer__links a { font-size: .88rem; color: #e8c5d8; }
.footer__links a:hover { color: var(--lime-500); }

/* Categorias em grid hierárquico pai + filhas */
.footer__cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 18px 20px;
}
.cat-group__parent {
  display: block;
  color: var(--white) !important;
  font-weight: 700;
  font-size: .88rem;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--lime-500);
  width: fit-content;
}
.cat-group__parent:hover { color: var(--lime-500) !important; }
.cat-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 3px; }
.cat-group ul li { font-size: .82rem; }
.cat-group ul a { color: #c5a5b8; }

/* Barra do meio: USPs + bandeiras de pagamento */
.footer__mid {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
  padding: 20px 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer__usps {
  display: flex; flex-wrap: wrap; gap: 6px 20px;
  color: #d4b5c5; font-size: .82rem;
}
.footer__payments {
  display: flex; flex-wrap: wrap; gap: 6px;
  align-items: center;
}
.footer__payments img {
  height: 22px; width: auto;
  background: var(--white);
  border-radius: 4px;
  padding: 3px 5px;
  opacity: .9;
  transition: opacity .15s, transform .15s;
}
.footer__payments img:hover { opacity: 1; transform: translateY(-1px); }

@media (max-width: 600px) {
  .footer__mid { justify-content: center; text-align: center; padding: 16px 12px; }
  .footer__usps { justify-content: center; }
  .footer__payments img { height: 20px; }
}

.footer__bottom {
  padding: 14px 16px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #a98a9c;
  font-size: .8rem;
}

/* ============ VIDEO FAB + MODAL ============ */
.video-fab {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 96px; height: 96px;
  border: 3px solid var(--lime-500);
  border-radius: 50%;
  padding: 0; margin: 0; cursor: pointer;
  background: var(--ink);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(74,15,102,.35), 0 0 0 0 rgba(168,216,46,.6);
  animation: fab-pulse 2.4s ease-out infinite;
  transition: transform .2s;
  z-index: 80;
}
.video-fab:hover { transform: scale(1.06); }
.video-fab__preview {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  pointer-events: none;
}
.video-fab__play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--white);
  background: radial-gradient(circle, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 65%);
  border-radius: 50%;
  pointer-events: none;
}
.video-fab__label {
  position: absolute; left: 50%; top: 100%;
  transform: translate(-50%, 8px);
  background: var(--ink); color: var(--white);
  font-size: .72rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
}
@keyframes fab-pulse {
  0%   { box-shadow: 0 6px 20px rgba(74,15,102,.35), 0 0 0 0 rgba(168,216,46,.65); }
  70%  { box-shadow: 0 6px 20px rgba(74,15,102,.35), 0 0 0 14px rgba(168,216,46,0); }
  100% { box-shadow: 0 6px 20px rgba(74,15,102,.35), 0 0 0 0 rgba(168,216,46,0); }
}
@media (max-width: 640px) {
  .video-fab { width: 78px; height: 78px; right: 14px; bottom: 14px; }
  .video-fab__label { font-size: .68rem; padding: 3px 8px; }
}

.video-modal {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
}
.video-modal[hidden] { display: none; }
.video-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(4px);
  animation: fade-in .2s ease-out;
}
.video-modal__box {
  position: relative;
  width: min(92vw, 900px);
  max-height: 90vh;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  animation: pop-in .22s ease-out;
}
.video-modal__box video {
  display: block;
  width: 100%; height: 100%;
  max-height: 90vh;
}
.video-modal__close {
  position: absolute; top: 10px; right: 10px;
  width: 40px; height: 40px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: rgba(0,0,0,.6); color: var(--white);
  font-size: 1.6rem; line-height: 1;
  display: grid; place-items: center;
  z-index: 2;
  transition: background .15s;
}
.video-modal__close:hover { background: var(--magenta); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }

/* ============ FAQ ============ */
.faq-page { padding-bottom: 48px; max-width: 860px; }
.faq { display: grid; gap: 10px; margin: 20px 0 32px; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.faq__item[open] { border-color: var(--purple-500); box-shadow: var(--shadow-sm); }
.faq__item > summary {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 20px;
  cursor: pointer; list-style: none;
  font-weight: 600; color: var(--ink);
  transition: background .15s;
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary:hover { background: var(--bg-alt); }
.faq__q { flex: 1; font-size: 1rem; }
.faq__chevron {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-alt); color: var(--purple-700);
  display: inline-grid; place-items: center;
  font-size: 1.3rem; font-weight: 700; line-height: 1;
  transition: transform .2s, background .15s;
  flex-shrink: 0;
}
.faq__item[open] .faq__chevron { transform: rotate(45deg); background: var(--lime-500); color: var(--ink); }
.faq__a {
  padding: 0 20px 18px;
  color: var(--ink-2); line-height: 1.6;
}
.faq__a strong { color: var(--purple-700); }

.faq-cta {
  background: linear-gradient(135deg, var(--purple-700), var(--magenta));
  color: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  text-align: center;
}
.faq-cta h2 { color: var(--white); font-size: 1.3rem; }
.faq-cta p { color: #f4e0f0; }

/* ============ SKELETONS (HTMX lazy loading) ============ */
@keyframes skeleton-shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.skeleton-card,
.skeleton-row__head,
.skeleton-row__cards > div {
  background: linear-gradient(90deg, #fbe4ef 25%, #f5d3e3 50%, #fbe4ef 75%);
  background-size: 800px 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
  border-radius: var(--radius);
}

/* Skeleton de card (dentro do scroller horizontal) */
.cat-row__sentinel {
  display: flex;
  gap: 16px;
  flex: 0 0 auto;
}
.cat-row__sentinel .skeleton-card {
  flex: 0 0 240px;
  height: 360px;
}
@media (max-width: 640px) {
  .cat-row__sentinel .skeleton-card { flex-basis: 78%; max-width: 280px; height: 320px; }
}

/* Skeleton de uma linha de categoria inteira (vertical) */
.cat-batch-sentinel { display: block; margin: 32px 0; }
.skeleton-row__head { width: 280px; height: 28px; margin-bottom: 14px; }
.skeleton-row__cards { display: flex; gap: 16px; overflow: hidden; }
.skeleton-row__cards > div { flex: 0 0 240px; height: 360px; }

/* ============ SEO LOCAL — bloco de conteúdo rico ============ */
.seo-local {
  margin: 56px 0 0;
  padding: 48px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  border-top: 1px solid var(--line);
}
.seo-local__grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
@media (max-width: 880px) { .seo-local__grid { grid-template-columns: 1fr; gap: 24px; } }

.seo-local__main h2 {
  font-size: 1.55rem;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--lime-500);
}
.seo-local__main h3 {
  font-size: 1.1rem;
  margin: 24px 0 10px;
  color: var(--purple-700);
}
.seo-local__main p {
  color: var(--ink-2);
  line-height: 1.7;
  margin: 0 0 12px;
  max-width: 760px;
}
.seo-local__main strong { color: var(--ink); }

.seo-local__main ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  gap: 8px;
}
.seo-local__main ul li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-2);
  line-height: 1.55;
}
.seo-local__main ul li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 16px; height: 16px;
  background: var(--lime-500);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--bg-alt);
}
.seo-local__main ul li strong { color: var(--ink); }

.seo-local__editorial { color: var(--ink-2); line-height: 1.7; max-width: 760px; }
.seo-local__editorial p { margin: 0 0 12px; }
.seo-local__editorial strong { color: var(--ink); }
.seo-local__editorial h2, .seo-local__editorial h3 { color: var(--purple-700); margin: 18px 0 10px; }
.seo-local__editorial a { color: var(--pink-500); font-weight: 600; }

.seo-local__cta {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--white);
  border-left: 3px solid var(--purple-700);
  border-radius: 6px;
}

.seo-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  position: sticky; top: 120px;
}
.seo-card h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--purple-700);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--lime-500);
}
.seo-card__row {
  margin: 0 0 12px;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.seo-card__row:last-child { margin-bottom: 0; }
.seo-card__row strong {
  display: inline-block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin-bottom: 2px;
}
.seo-card__row a { font-weight: 700; }

@media (max-width: 880px) {
  .seo-card { position: static; }
  .seo-local { padding: 36px 0; margin-top: 40px; }
  .seo-local__main h2 { font-size: 1.3rem; }
}

/* ============ TOP NAV CATEGORIAS ============ */
.top-cats {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.top-cats__inner { margin: 2px auto; }
.top-cats__scroller {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.top-cats__scroller::-webkit-scrollbar { display: none; }
@media (min-width: 769px) {
  .top-cats__scroller { justify-content: center; flex-wrap: wrap; }
}
.top-cat {
  flex-shrink: 0;
  display: inline-flex; align-items: center;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: .85rem; font-weight: 600;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.top-cat:hover { background: var(--pink-500); color: var(--white); border-color: var(--pink-500); }

/* ============ SEO CATEGORY LINKS (cidade -> categoria Brasil) ============ */
.seo-category-links {
  padding-top: 28px;
  padding-bottom: 12px;
  background:
    radial-gradient(circle at top left, rgba(255,184,0,.12), transparent 28%),
    linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.seo-category-links__head {
  max-width: 720px;
  margin-bottom: 20px;
}
.seo-category-links__head h2 {
  margin: 0 0 8px;
}
.seo-category-links__head p {
  color: var(--ink-2);
  margin: 0;
  line-height: 1.6;
}
.seo-category-links__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.seo-category-links__card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.seo-category-links__card:hover {
  transform: translateY(-2px);
  border-color: var(--pink-500);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.seo-category-links__media {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,.95) 0%, #fff4d6 100%);
  border: 1px solid rgba(215,45,140,.1);
  overflow: hidden;
}
.seo-category-links__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.seo-category-links__fallback {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--pink-700);
}
.seo-category-links__content {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.seo-category-links__name {
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.3;
}
@media (max-width: 640px) {
  .seo-category-links__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .seo-category-links__card {
    min-height: 68px;
    padding: 11px 12px;
    gap: 10px;
  }
  .seo-category-links__media {
    width: 38px;
    height: 38px;
    border-radius: 9px;
  }
  .seo-category-links__name {
    font-size: .88rem;
  }
}

/* ============ MARCA logo (fundo escuro pra logos claros) ============ */
.brand-card__logo {
  display: flex; align-items: center; justify-content: center;
  height: 96px;
  margin: -22px -22px 14px;  /* extende até as bordas do brand-card */
  padding: 18px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--pink-900) 100%);
  border-radius: var(--radius) var(--radius) 0 0;
}
.brand-card__logo img {
  max-height: 100%; width: auto; max-width: 100%; object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.3));
}
.brand-card { overflow: hidden; }

/* ============ DEPOIMENTOS — slider horizontal ============ */
.depoimentos-slider {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 16px;
  padding: 4px 4px 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--pink-500) transparent;
}
.depoimentos-slider::-webkit-scrollbar { height: 6px; }
.depoimentos-slider::-webkit-scrollbar-thumb { background: var(--pink-500); border-radius: 3px; }
.depoimentos-slider .depoimento-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
}
@media (max-width: 480px) {
  .depoimentos-slider .depoimento-card { flex: 0 0 85%; }
}

/* ============ FOOTER CIDADES ============ */
.footer__cidades {}
.footer__cidades-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px;
  max-height: 380px; overflow: hidden;
}
.footer__cidades-list li { font-size: .8rem; }
.footer__cidades-list a { color: #c5a5b8; }
.footer__cidades-list a:hover { color: var(--lime-500); }
.footer__cidades-all {
  display: inline-block; margin-top: 12px;
  font-size: .82rem; font-weight: 700;
  color: var(--lime-500);
}

/* ============ HUB DE CIDADES ============ */
.cidades-regiao { margin: 32px 0; }
.cidades-regiao h2 {
  font-size: 1.15rem; color: var(--purple-700); margin-bottom: 14px;
  padding-bottom: 8px; border-bottom: 2px solid var(--lime-500);
  text-transform: uppercase; letter-spacing: .05em;
}
.cidades-grid {
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.cidade-card {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none; color: inherit;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.cidade-card:hover {
  border-color: var(--purple-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.cidade-card__nome { font-weight: 700; color: var(--ink); }
.cidade-card__uf { font-size: .78rem; color: var(--muted); font-weight: 600; }
.cidade-card__tag {
  display: inline-block; margin-top: 4px; padding: 2px 8px;
  background: var(--lime-500); color: var(--ink);
  border-radius: 999px; font-size: .68rem; font-weight: 700;
}

.hub-cta {
  margin: 48px 0;
  padding: 32px; text-align: center;
  background: linear-gradient(135deg, var(--purple-700), var(--magenta));
  color: var(--white); border-radius: var(--radius);
}
.hub-cta h2 { color: var(--white); }
.hub-cta p { color: #f8e0ee; margin-bottom: 18px; }

/* ============ PÁGINA DE CIDADE — hero ============ */
.cidade-hero {
  background: linear-gradient(135deg, var(--purple-900) 0%, var(--magenta) 100%);
  color: var(--white);
  padding: 56px 0 48px;
  margin-bottom: 32px;
}
.cidade-hero__inner { text-align: center; max-width: 880px; }
.cidade-hero__title {
  color: var(--white);
  font-size: 2.4rem; line-height: 1.15;
  margin: 0 0 14px;
}
.cidade-hero__title strong { color: var(--lime-500); }
.cidade-hero__sub {
  color: #f8e0ee; font-size: 1.05rem; line-height: 1.55;
  margin: 0 auto 18px; max-width: 720px;
}
.cidade-hero__usps {
  display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center;
  margin: 0 auto 24px;
  font-size: .88rem; color: #fdd9ee;
}
.cidade-hero__usps span { display: inline-flex; align-items: center; gap: 4px; }
.cidade-hero__ctas {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
@media (max-width: 640px) {
  .cidade-hero { padding: 40px 0 32px; }
  .cidade-hero__title { font-size: 1.8rem; }
  .cidade-hero__sub { font-size: .95rem; }
}

/* ============ Seção genérica + bar ============ */
.section { padding: 32px 0; }
.section-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.4rem; margin: 0 0 20px;
}

/* Categorias card v2 (cidade) */
.categories-grid-v2 {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.category-card-v2 {
  display: flex; flex-direction: column; gap: 8px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none; color: inherit;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.category-card-v2:hover {
  border-color: var(--purple-500); transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.category-card-v2__num {
  font-size: 1.6rem; font-weight: 800;
  color: var(--lime-500);
  letter-spacing: .04em;
}
.category-card-v2__title { font-size: 1.15rem; color: var(--ink); margin: 0; }
.category-card-v2__cta {
  margin-top: auto; display: inline-flex; align-items: center; gap: 4px;
  color: var(--purple-700); font-weight: 700; font-size: .88rem;
}

/* Marcas Próprias */
.ifody-brands { background: var(--bg-alt); }
.ifody-brands__head { text-align: center; margin-bottom: 24px; }
.ifody-brands__head p { color: var(--ink-2); }
.ifody-brands__grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.brand-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.brand-card h3 {
  margin: 0 0 4px; color: var(--purple-700); font-size: 1.15rem;
  letter-spacing: .03em;
}
.brand-card__tagline {
  color: var(--magenta); font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .04em;
  margin: 0 0 12px;
}
.brand-card p { color: var(--ink-2); line-height: 1.6; margin: 0; font-size: .92rem; }

/* Depoimentos */
.depoimentos-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.depoimento-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; position: relative;
}
.depoimento-card__stars { color: #f5b301; display: inline-flex; gap: 1px; margin-bottom: 8px; }
.depoimento-card__text { color: var(--ink-2); line-height: 1.55; font-style: italic; margin: 0 0 10px; }
.depoimento-card__autor { color: var(--ink); font-weight: 700; font-size: .88rem; margin: 0; }

/* ============ TOPBAR ROTATOR (mobile) ============ */
.topbar__rotator { display: none; }
.topbar__desktop-status { display: flex; align-items: center; gap: 8px; }

@media (max-width: 640px) {
  .topbar__desktop-status { display: none; }
  .topbar__rotator {
    display: flex;
    position: relative;
    overflow: hidden;
    height: 20px;
    width: 100%;
    align-items: center;
    justify-content: center;
  }
  .topbar__rotate {
    position: absolute;
    left: 0; right: 0;
    text-align: center;
    opacity: 0;
    font-size: .78rem;
    color: rgba(255,255,255,.92);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    animation: topbar-fade 9s infinite;
  }
  .topbar__rotate--2 { animation-delay: 3s; }
  .topbar__rotate--3 { animation-delay: 6s; }
}
@keyframes topbar-fade {
  0%, 100% { opacity: 0; transform: translateY(3px); }
  8%, 25%  { opacity: 1; transform: translateY(0); }
  33%      { opacity: 0; transform: translateY(-3px); }
}

/* ============ CATEGORY SHORT DESC ============ */
.page-head__short-desc {
  color: var(--ink-2);
  font-size: .97rem;
  line-height: 1.6;
  margin: 6px 0 0;
  max-width: 680px;
}

/* ============ BLOG RECENTES ============ */
.blog-recentes { background: var(--bg-alt); }
.blog-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform .15s, box-shadow .15s;
}
.blog-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.blog-card__img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.blog-card__date { font-size: .75rem; color: var(--muted); }
.blog-card__title { font-size: .95rem; font-weight: 700; line-height: 1.35; margin: 0; }
.blog-card__excerpt { font-size: .82rem; color: var(--ink-2); line-height: 1.5; margin: 0; }

/* ============ CIDADE BANNER (frete) ============ */
.cidade-banner {
  margin: 0 0 12px;
  background: #1a0811;
}
.cidade-banner picture { display: block; }
.cidade-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}
@media (max-width: 768px) {
  .cidade-banner img { max-height: none; aspect-ratio: 1/1; }
}

/* ============ TOP SELLERS ============ */
.top-sellers {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 28px 0 32px;
}
.top-sellers__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 16px;
}
.top-sellers__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.top-sellers__item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 6px 6px 14px;
}
.top-sellers__name {
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.top-sellers__btn {
  font-size: .75rem;
  font-weight: 700;
  color: var(--white);
  background: var(--pink-500);
  border-radius: 999px;
  padding: 4px 12px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s;
}
.top-sellers__btn:hover { background: var(--pink-700); }
@media (max-width: 640px) {
  .top-sellers__list { gap: 6px; }
  .top-sellers__item { padding: 5px 5px 5px 11px; }
  .top-sellers__name { font-size: .8rem; }
}

/* ============ FRETE WIDGET ============ */
.frete-widget {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 18px 0;
}
.frete-widget__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
}
.frete-widget__form {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.frete-widget__form input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color .15s;
}
.frete-widget__form input:focus { border-color: var(--magenta); }
.frete-widget__form button {
  white-space: nowrap;
  padding: 10px 18px;
  border-radius: 999px;
}
.frete-widget__help {
  display: inline-block;
  margin-top: 8px;
  font-size: .78rem;
  color: var(--muted);
  text-decoration: underline;
}
.frete-widget__loading,
.frete-widget__error {
  margin: 12px 0 0;
  font-size: .88rem;
  color: var(--ink-2);
}
.frete-widget__error { color: var(--danger); }
.frete-widget__list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.frete-option {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.frete-option:last-child { border-bottom: 0; }
.frete-option.is-free {
  background: linear-gradient(90deg, rgba(255,184,0,.1), transparent);
  margin: 0 -10px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 8px;
}
.frete-option__name {
  font-weight: 700;
  color: var(--ink);
  font-size: .92rem;
}
.frete-option__time {
  font-size: .8rem;
  color: var(--muted);
  grid-column: 1;
}
.frete-option__pricing {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  grid-column: 2;
  grid-row: 1 / span 2;
}
.frete-option__price {
  font-weight: 800;
  color: var(--magenta);
  font-size: 1.05rem;
}
.frete-option__original {
  font-size: .78rem;
  color: var(--muted);
  text-decoration: line-through;
}
.frete-option__free {
  font-weight: 800;
  color: var(--gold-600);
  font-size: .92rem;
  letter-spacing: .03em;
  background: var(--gold-500);
  color: #2d1c00;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.frete-widget__hint {
  margin: 10px 0 0;
  font-size: .72rem;
  color: var(--muted);
}

/* ============ CHECKOUT ============ */
.checkout { padding: 24px 16px 60px; }
.checkout h1 { font-size: 1.6rem; margin: 0 0 8px; }
.checkout h2 { font-size: 1.05rem; margin: 24px 0 10px; color: var(--ink); }
.checkout-help { color: var(--ink-2); margin: 0 0 20px; font-size: .9rem; }

/* Steps indicator */
.checkout-steps {
  margin: 0 auto 24px;
  max-width: 720px;
}
.checkout-steps ol {
  list-style: none;
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  position: relative;
}
.checkout-steps ol::before {
  content: ''; position: absolute; top: 14px; left: 14px; right: 14px;
  height: 2px; background: var(--line); z-index: 0;
}
.checkout-steps li {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  flex: 1; position: relative; z-index: 1;
  color: var(--muted); font-size: .8rem;
}
.checkout-steps__num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-alt); border: 2px solid var(--line);
  color: var(--muted);
  font-weight: 800; font-size: .85rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.checkout-steps li.is-active .checkout-steps__num {
  background: var(--magenta); border-color: var(--magenta); color: var(--white);
}
.checkout-steps li.is-active { color: var(--ink); font-weight: 700; }
.checkout-steps li.is-done .checkout-steps__num {
  background: var(--white); border-color: var(--magenta); color: var(--magenta);
}
.checkout-steps li.is-done .checkout-steps__num::before { content: '✓'; }
.checkout-steps li.is-done .checkout-steps__num span { display: none; }

/* Layout 2 colunas */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: 1fr; }
}

.checkout-main {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
@media (max-width: 640px) { .checkout-main { padding: 18px; } }

/* Form */
.checkout-form { display: flex; flex-direction: column; gap: 14px; }
.checkout-row {
  display: grid; gap: 12px;
  grid-template-columns: 1fr 1fr;
  align-items: end;
}
@media (max-width: 640px) { .checkout-row { grid-template-columns: 1fr; } }
.checkout-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.checkout-field--full { grid-column: 1 / -1; }
.checkout-field--wide { grid-column: 1 / span 2; }
.checkout-field--narrow { max-width: 120px; }
.checkout-field span { font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.checkout-field span em { font-style: normal; color: var(--muted); font-weight: 400; }
.checkout-field input, .checkout-field select {
  padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px;
  font: inherit; color: var(--ink); background: var(--white); outline: none;
  transition: border-color .15s;
}
.checkout-field input:focus, .checkout-field select:focus { border-color: var(--magenta); }
.checkout-field input.is-invalid,
.checkout-field input[aria-invalid="true"] {
  border-color: var(--danger);
  background: rgba(233,64,96,.04);
}
.checkout-field input.is-locked {
  background: var(--bg-alt);
  color: var(--ink-2);
  cursor: not-allowed;
}
.checkout-field input.is-locked:focus { border-color: var(--line); }

.checkout-cep-hint { font-size: .8rem; color: var(--muted); }
.checkout-cep-hint.is-ok { color: var(--gold-600); }
.checkout-cep-hint.is-error { color: var(--danger); }

.checkout-checkbox {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .9rem; color: var(--ink-2); padding: 12px;
  background: var(--bg-alt); border-radius: 10px; cursor: pointer;
}
.checkout-checkbox input { margin-top: 3px; }

.checkout-actions {
  display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap;
}
.checkout-actions .btn { flex: 1; min-width: 160px; }
@media (max-width: 640px) { .checkout-actions { flex-direction: column-reverse; } }

.checkout-form__error {
  background: rgba(233,64,96,.08); color: var(--danger);
  padding: 10px 14px; border-radius: 10px; font-size: .9rem; margin: 0;
}

.checkout-loader {
  padding: 40px; text-align: center; color: var(--muted);
}

/* Frete options */
.checkout-frete-list { list-style: none; padding: 0; margin: 0 0 16px; }
.checkout-frete-option {
  border: 2px solid var(--line); border-radius: 12px; margin-bottom: 8px;
  transition: border-color .15s, background .15s;
}
.checkout-frete-option:hover { border-color: var(--magenta); }
.checkout-frete-option label {
  display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px;
  align-items: center; padding: 14px 16px; cursor: pointer;
}
.checkout-frete-option input[type="radio"]:checked ~ * { color: var(--ink); }
.checkout-frete-option:has(input:checked) { border-color: var(--magenta); background: rgba(215,45,140,.04); }
.checkout-frete-option__name { font-weight: 700; }
.checkout-frete-option__time { font-size: .82rem; color: var(--muted); }
.checkout-frete-option__price { font-weight: 800; color: var(--magenta); white-space: nowrap; }
.checkout-frete-option__price s { color: var(--muted); font-weight: 400; font-size: .8rem; margin-right: 6px; }
.checkout-frete-option.is-free { border-color: var(--gold-500); background: rgba(255,184,0,.06); }
.frete-free-tag {
  background: var(--gold-500); color: #2d1c00; padding: 3px 10px; border-radius: 999px;
  font-size: .82rem; letter-spacing: .03em;
}
@media (max-width: 480px) {
  .checkout-frete-option label { grid-template-columns: auto 1fr; }
  .checkout-frete-option__time { grid-column: 1 / -1; }
  .checkout-frete-option__price { grid-column: 1 / -1; text-align: right; }
}

/* Pagamento — toggle Pix/Cartão antes do Brick */
.checkout-method-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0 24px;
}
@media (max-width: 480px) { .checkout-method-toggle { grid-template-columns: 1fr; gap: 8px; } }
.checkout-method-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px 18px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.checkout-method-card:hover { border-color: var(--pink-300); }
.checkout-method-card.is-active {
  border-color: var(--magenta);
  background: linear-gradient(135deg, rgba(215,45,140,.05), rgba(255,184,0,.04));
  box-shadow: var(--shadow-sm);
}
.checkout-method-card__head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--magenta);
  font-size: .98rem;
}
.checkout-method-card__head strong { color: var(--ink); font-weight: 700; }
.checkout-method-card__hint {
  font-size: .78rem;
  color: var(--muted);
}
.checkout-method-card__amount {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  margin-top: 4px;
}
.checkout-method-card__amount--pix { color: var(--magenta); }

.payment-brick { min-height: 380px; margin: 16px 0; }

/* Resumo (sidebar) */
.checkout-resumo {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; position: sticky; top: 100px;
}
.checkout-resumo h3 { font-size: 1rem; margin: 0 0 14px; }
.checkout-resumo__items { list-style: none; padding: 0; margin: 0 0 14px; }
.checkout-resumo__items li {
  display: grid; grid-template-columns: auto 1fr auto; gap: 8px;
  padding: 6px 0; font-size: .85rem; border-bottom: 1px dashed var(--line);
}
.checkout-resumo__items li:last-child { border-bottom: 0; }
.checkout-resumo__qty { font-weight: 700; color: var(--magenta); }
.checkout-resumo__name { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.checkout-resumo__price { color: var(--ink-2); }
.checkout-resumo__row {
  display: flex; justify-content: space-between; padding: 6px 0; font-size: .9rem;
  align-items: baseline; gap: 12px;
}
/* Reset necessário porque .checkout-resumo__row{display:flex} sobrescreve [hidden] da spec */
.checkout-resumo__row[hidden] { display: none !important; }
.checkout-resumo__row small { color: var(--muted); font-weight: 400; font-size: .78rem; }
.checkout-resumo__totals { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 12px; }
.checkout-resumo__row--total { font-size: .98rem; font-weight: 700; color: var(--ink-2); }
.checkout-resumo__row--total strong { color: var(--ink); font-weight: 800; }
.checkout-resumo__row--pix { font-size: 1.05rem; font-weight: 800; }
.checkout-resumo__row--pix strong { color: var(--magenta); font-size: 1.15rem; }

/* WhatsApp como fallback embaixo do carrinho */
.cart-fallback {
  margin: 32px auto 0;
  max-width: 480px;
  text-align: center;
  padding: 18px;
  background: var(--bg-alt);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.cart-fallback__hint {
  display: block;
  margin-bottom: 10px;
  color: var(--ink-2);
  font-size: .88rem;
}

/* Sucesso / Falha */
.checkout-success { max-width: 720px; margin: 0 auto; }
.checkout-success__box {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; text-align: center;
}
.checkout-success__icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--gold-500); color: #2d1c00;
  font-size: 2rem; display: inline-flex; align-items: center; justify-content: center;
}
.checkout-success__icon--err { background: var(--danger); color: var(--white); }
.checkout-success__pix { text-align: left; }
.checkout-pix {
  display: grid; grid-template-columns: auto 1fr; gap: 24px; margin: 20px 0;
  align-items: center;
}
@media (max-width: 640px) { .checkout-pix { grid-template-columns: 1fr; } }
.checkout-pix img { width: 240px; height: 240px; border: 1px solid var(--line); border-radius: 12px; }
.checkout-pix__copy label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .85rem; }
.checkout-pix__copy textarea {
  width: 100%; height: 80px; padding: 10px; font-family: monospace; font-size: .75rem;
  border: 1px solid var(--line); border-radius: 8px; resize: none; margin-bottom: 8px;
}
.spinner {
  display: inline-block; width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--line); border-top-color: var(--magenta);
  animation: spin .8s linear infinite; vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

.btn--ghost {
  background: transparent; color: var(--ink-2); border: 1px solid var(--line);
}
.btn--ghost:hover { color: var(--ink); border-color: var(--ink-2); }

/* ============ UTIL ============ */
.empty { padding: 32px; text-align: center; color: var(--muted); }
