/* ==========================================================================
   Rapidinha Sex Shop — CSS (mobile-first, zero deps)
   Paleta baseada na logo: roxo/magenta + verde limão
   ========================================================================== */

:root {
  --purple-900: #4a0f66;
  --purple-700: #7a1f99;
  --purple-500: #a02fbf;
  --magenta:    #d12ea1;
  --lime-500:   #a8d82e;
  --lime-600:   #8fc21a;
  --ink:        #1f1033;
  --ink-2:      #4b3a5f;
  --muted:      #7a6b8a;
  --bg:         #fdfbff;
  --bg-alt:     #f6eefb;
  --line:       #ead8f2;
  --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: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, 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: var(--white);
  border-bottom: 1px solid var(--line);
}
.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 img { height: 56px; width: auto; }

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

.cart-link {
  position: relative; display: inline-flex; align-items: center;
  color: var(--ink); 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 */
@media (max-width: 768px) {
  .header__main { grid-template-columns: auto auto; grid-template-rows: auto auto; }
  .brand { grid-column: 1; grid-row: 1; }
  .cart-link { grid-column: 2; grid-row: 1; justify-self: end; }
  .search { grid-column: 1 / -1; grid-row: 2; }
  .brand img { height: 44px; }
}

/* ============ BANNERS (pure CSS slider) ============ */
.banners {
  margin: 16px 0 24px;
  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); }

/* ============ 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, #faf3fd 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; }
}

/* ---------- 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__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__name { color: var(--ink); font-weight: 600; }
.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); }

/* ============ FOOTER ============ */
.site-footer {
  background: linear-gradient(180deg, var(--purple-900) 0%, #120821 100%);
  color: #d6c0e6;
  margin-top: 64px;
  font-size: .9rem;
}
.site-footer a { color: #d6c0e6; 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);
}

/* Grid superior: 3 colunas (about, contact, categorias) em desktop */
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 2.4fr;
  gap: 40px;
  padding: 48px 16px 32px;
}
@media (max-width: 960px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__cats { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer__top { grid-template-columns: 1fr; gap: 28px; padding: 32px 16px 20px; }
}

.footer__logo { display: inline-block; margin-bottom: 14px; background: var(--white); padding: 10px 14px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.footer__logo img { display: block; height: 50px; width: auto; }
.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: #c3aed5; }

.footer__links { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; }
.footer__links a { font-size: .88rem; color: #d6c0e6; }
.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: #b9a0d0; }

/* 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: #c3aed5; 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: #9d85b5;
  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, #f0e4f5 25%, #e7d3ef 50%, #f0e4f5 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__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; }
}

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