/* AA Estilo — vitrine
   Paleta da logo: papel sálvia #F3F7F1 · tinta verde-floresta #10291E · verde da marca #0E4430 · sálvia #DCE8D8 · cinza-musgo #5B6F63
   Tipos: Cormorant Garamond (títulos, mesma família clássica do "A|A" da logo) + Figtree (texto e interface) */

:root {
  --paper: #FBF8F3;
  --ink: #17221C;
  --brand: #0E4430;
  --brand-dark: #082E20;
  --sage: #E9E3D8;
  --cream: #F3EDE3;
  --gold: #A9814F;
  --mute: #6A6F68;
  --white: #fff;
  --display: "Cormorant Garamond", Garamond, Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(16px, 4vw, 40px);
  --max: 1280px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.5 var(--sans);
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.visually-hidden, .skip:not(:focus) {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 50; background: var(--white); padding: 8px 12px; }

/* ---------- Topo ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sage);
}
.top-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px var(--pad);
}
.wordmark {
  display: block; text-decoration: none;
}
.wordmark img { height: 64px; width: auto; }
.top-actions { display: flex; gap: 4px; }
.icon-btn {
  position: relative; width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 0; background: none; border-radius: 50%; cursor: pointer;
}
.icon-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { background: var(--sage); }
.bag-count {
  position: absolute; top: 4px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--brand); color: var(--white);
  font: 700 11px/18px var(--sans); text-align: center;
}
.search { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) 12px; }
.search input {
  width: 100%; height: 44px; padding: 0 16px;
  border: 1px solid var(--sage); border-radius: 22px; background: var(--white);
}

main { max-width: var(--max); margin: 0 auto; min-height: 60vh; }

/* ---------- Destaques (stories) — o elemento marcante da página ---------- */
.stories {
  display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x proximity;
  padding: 18px var(--pad) 10px;
  scrollbar-width: none;
}
.stories::-webkit-scrollbar { display: none; }
.story {
  flex: 0 0 auto; width: 78px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-decoration: none; scroll-snap-align: start;
}
.story-ring {
  width: 74px; height: 74px; border-radius: 50%; padding: 3px;
  background: conic-gradient(from 210deg, var(--brand), #8DB69A, var(--sage), var(--brand));
}
.story-img {
  width: 100%; height: 100%; border-radius: 50%;
  border: 3px solid var(--paper); object-fit: cover; background: var(--sage);
}
.story-all {
  display: grid; place-items: center;
  font: italic 600 22px/1 var(--display); color: var(--brand);
}
.story-label { font-size: 12.5px; color: var(--mute); }
.story.is-on .story-label { color: var(--ink); font-weight: 600; }
.story.is-on .story-ring { background: var(--ink); }

/* ---------- Feed ---------- */
.feed-title {
  font: 500 clamp(26px, 6vw, 38px)/1.1 var(--display);
  letter-spacing: -0.01em;
  margin: 14px var(--pad) 16px;
}
.feed-count { font: 400 14px var(--sans); color: var(--mute); margin-left: 6px; }

.feed {
  list-style: none; margin: 8px 0 0; padding: 0 var(--pad);
  display: grid; gap: 22px 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 720px) { .feed { grid-template-columns: repeat(3, 1fr); gap: 34px 16px; } }
@media (min-width: 1100px) { .feed { grid-template-columns: repeat(4, 1fr); } }

.tile a { text-decoration: none; display: block; }
.tile-media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--sage); border-radius: 3px;
}
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
@media (hover: hover) { .tile a:hover .tile-media img { transform: scale(1.03); } }
.tile.is-out .tile-media img { filter: grayscale(.7) opacity(.7); }
.tile-noimg { display: grid; place-items: center; height: 100%; font: italic 64px var(--display); color: var(--white); }
.tile-badge {
  position: absolute; top: 8px; right: 8px;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(16, 41, 30, .55);
}
.tile-badge svg { width: 14px; height: 14px; fill: var(--white); margin-left: 2px; }
.tile-flag {
  position: absolute; left: 0; bottom: 10px;
  padding: 4px 10px; background: var(--ink); color: var(--white);
  font: 600 12px/1.3 var(--sans);
}
.tile-flag-sale { background: var(--brand); }
.tile-info { display: flex; flex-direction: column; gap: 2px; padding-top: 8px; }
.tile-name { font-size: 14.5px; line-height: 1.3; }
.tile-price { font-weight: 600; font-size: 15px; }
.tile-price s, .pdp-price s { color: var(--mute); font-weight: 400; margin-right: 4px; }

.empty { padding: 48px var(--pad); max-width: 52ch; }
.empty p { color: var(--mute); }

/* ---------- Botões ---------- */
.btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 52px; padding: 0 22px;
  border-radius: 26px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { border-color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.empty .btn { width: auto; display: inline-flex; }
.link-btn { background: none; border: 0; padding: 8px 0; color: var(--mute); text-decoration: underline; cursor: pointer; }

/* ---------- Produto ---------- */
.pdp { display: grid; gap: 0; }
@media (min-width: 900px) {
  .pdp { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; padding: 28px var(--pad) 0; }
}
.gallery { position: relative; }
.gallery-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 100%; margin: 0; aspect-ratio: 4 / 5;
  scroll-snap-align: center; background: var(--sage);
}
.slide img, .slide video { width: 100%; height: 100%; object-fit: cover; }
.slide-empty { display: grid; place-items: center; font: italic 96px var(--display); color: var(--white); }
@media (min-width: 900px) { .gallery-track, .slide-empty { border-radius: 3px; } }
.dots { display: flex; justify-content: center; gap: 6px; padding: 12px 0 0; }
.dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); transition: background .2s, width .2s; }
.dots span.on { background: var(--brand); width: 18px; border-radius: 3px; }

.pdp-info { padding: 18px var(--pad) 0; max-width: 560px; }
@media (min-width: 900px) { .pdp-info { padding: 0; position: sticky; top: 90px; align-self: start; } }
.pdp-cat { font-size: 14px; color: var(--mute); text-decoration: none; }
.pdp-cat:hover { color: var(--brand); }
.pdp-name {
  font: 500 clamp(30px, 7vw, 44px)/1.08 var(--display);
  letter-spacing: -0.015em; margin: 6px 0 10px;
}
.pdp-price { font-size: 22px; margin: 0 0 22px; }
.pdp-price strong { font-weight: 700; }
.pdp-form { display: grid; gap: 12px; }
.pdp-out { color: #8A2A1F; margin: 0; }
.pdp-desc { margin-top: 26px; line-height: 1.65; max-width: 62ch; }
.pdp-code { margin-top: 18px; font-size: 13.5px; color: var(--mute); }

.chips { border: 0; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-weight: 600; font-size: 14px; margin-bottom: 8px; padding: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center; min-width: 48px; height: 44px; padding: 0 16px;
  justify-content: center; border: 1px solid var(--sage); border-radius: 22px; background: var(--white);
}
.chips input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--white); }
.chips input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.related { padding: 48px 0 0; }
.related h2 { font: 500 26px/1.1 var(--display); margin: 0 var(--pad) 14px; }
.related-row {
  list-style: none; margin: 0; padding: 0 var(--pad);
  display: grid; grid-auto-flow: column; grid-auto-columns: 42%;
  gap: 10px; overflow-x: auto; scroll-snap-type: x proximity;
}
@media (min-width: 720px) { .related-row { grid-auto-columns: 22%; } }
.related-row a { display: flex; flex-direction: column; gap: 2px; text-decoration: none; scroll-snap-align: start; }
.related-row img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; margin-bottom: 6px; }

/* ---------- Sacola ---------- */
.bag { padding-bottom: 20px; max-width: 640px; }
.bag-list { list-style: none; margin: 0; padding: 0 var(--pad); }
.bag-item {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--sage);
}
.bag-thumb img { width: 72px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.bag-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bag-name { text-decoration: none; font-weight: 500; }
.bag-opts { font-size: 13.5px; color: var(--mute); }
.bag-price { font-weight: 600; }
.qty { display: flex; align-items: center; border: 1px solid var(--sage); border-radius: 20px; background: var(--white); }
.qty button { width: 36px; height: 36px; border: 0; background: none; cursor: pointer; font-size: 18px; }
.qty span { min-width: 18px; text-align: center; font-weight: 600; }
.bag-total { display: flex; justify-content: space-between; padding: 16px var(--pad); font-size: 18px; margin: 0; }
.checkout { display: grid; gap: 16px; padding: 8px var(--pad); }
.checkout > label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.checkout input:not([type=radio]) {
  height: 48px; padding: 0 14px; border: 1px solid var(--sage); border-radius: 10px;
  background: var(--white); font-weight: 400; font-size: 16px;
}
.opt { font-weight: 400; color: var(--mute); }
.hint { font-size: 13.5px; color: var(--mute); margin: 0; }

/* ---------- Rodapé e aviso ---------- */
.foot {
  margin-top: 64px; padding: 36px var(--pad) calc(36px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--sage); text-align: center; color: var(--mute); font-size: 14px;
}
.foot p { margin: 4px 0; }
.foot-mark { display: flex; justify-content: center; margin: 0 0 10px !important; }
.foot-mark img { width: 120px; height: auto; }
.foot-links { display: flex; justify-content: center; gap: 18px; margin-top: 12px !important; }
.foot-links a { color: var(--ink); }

.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  z-index: 40; padding: 12px 20px; border-radius: 24px;
  background: var(--ink); color: var(--white); font-weight: 500; font-size: 15px;
  box-shadow: 0 6px 24px rgba(16, 41, 30, .25);
  animation: toast-in .25s ease-out;
}
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Catálogo: subcategorias, barra, filtros ---------- */
.catalog-head { padding: 0 var(--pad); }
.catalog-head .feed-title { margin: 10px 0 12px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--mute); margin-top: 10px; }
.crumbs a { color: var(--mute); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.subcats {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--pad) * -1) 12px; padding: 2px var(--pad);
  scroll-padding-inline: var(--pad);
}
.subcats::-webkit-scrollbar { display: none; }
.subcat {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 16px; border-radius: 19px;
  border: 1px solid var(--sage); background: var(--white);
  font-size: 14px; text-decoration: none; white-space: nowrap;
}
.subcat small { color: var(--mute); font-size: 12px; }
.subcat:hover { border-color: var(--brand); }
.subcat.is-on { background: var(--ink); border-color: var(--ink); color: var(--white); }
.subcat.is-on small { color: var(--sage); }

.toolbar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 0; border-top: 1px solid var(--sage); border-bottom: 1px solid var(--sage);
}
.tool-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 20px;
  border: 1px solid var(--ink); background: transparent; cursor: pointer; font-weight: 600; font-size: 14.5px;
}
.tool-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.tool-badge {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px;
  background: var(--brand); color: var(--white); font-size: 12px; line-height: 20px; text-align: center;
}
.tool-sort select {
  height: 40px; padding: 0 34px 0 14px; border-radius: 20px; border: 1px solid var(--sage);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%2310291E' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 10px center / 16px;
  appearance: none; font-size: 14.5px; cursor: pointer;
}
.tool-count { margin-left: auto; color: var(--mute); font-size: 14px; }

.active-filters { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.active-filters a {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 16px;
  background: var(--sage); font-size: 13.5px; text-decoration: none;
}
.active-filters a:hover { background: #C9DCC4; }
.active-filters a.clear { background: none; text-decoration: underline; color: var(--mute); }

.catalog { position: relative; padding-top: 14px; }
.catalog-main .feed { margin-top: 0; }

/* Painel de filtros: gaveta no celular, coluna fixa no computador */
.filters {
  position: fixed; inset: 0 auto 0 0; z-index: 60;
  width: min(360px, 88vw); background: var(--paper);
  transform: translateX(-102%); transition: transform .25s ease;
  display: flex; flex-direction: column; box-shadow: 8px 0 30px rgba(16, 41, 30, .18);
}
.filters-open .filters { transform: none; }
.filters-open { overflow: hidden; }
.filters-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(16, 41, 30, .35); }
.filters-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--sage);
}
.filters-head h2 { margin: 0; font: 500 26px/1 var(--display); }
.icon-btn svg path { fill: none; }
.filters-form { flex: 1; overflow-y: auto; padding: 4px 20px 0; display: flex; flex-direction: column; }
.fgroup { border-bottom: 1px solid var(--sage); padding: 4px 0 14px; }
.fgroup summary {
  list-style: none; cursor: pointer; padding: 12px 0 8px;
  font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  display: flex; justify-content: space-between;
}
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary::after { content: "–"; color: var(--mute); }
.fgroup:not([open]) summary::after { content: "+"; }
.ftree { list-style: none; margin: 0; padding: 0; }
.ftree a {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 7px 0; text-decoration: none; font-size: 15px;
}
.ftree small { color: var(--mute); }
.ftree .lvl-0 a { font-weight: 600; }
.ftree .lvl-1 a { padding-left: 14px; font-size: 14.5px; }
.ftree .lvl-2 a { padding-left: 28px; font-size: 14px; color: var(--mute); }
.ftree a:hover { color: var(--brand); }
.ftree a.is-on { color: var(--brand); font-weight: 700; box-shadow: inset 3px 0 0 var(--brand); padding-left: 10px; }
.ftree .lvl-1 a.is-on { padding-left: 22px; }
.ftree .lvl-2 a.is-on { padding-left: 36px; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.price-range label { display: grid; gap: 4px; font-size: 13px; color: var(--mute); }
.price-range input {
  height: 42px; padding: 0 12px; border: 1px solid var(--sage); border-radius: 10px; background: var(--white);
  font-size: 15px; width: 100%;
}
.price-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.price-quick a {
  font-size: 13px; padding: 6px 10px; border-radius: 14px; border: 1px solid var(--sage);
  background: var(--white); text-decoration: none;
}
.price-quick a:hover { border-color: var(--brand); }
.chips-sm span { min-width: 44px; height: 38px; padding: 0 12px; font-size: 14px; }
.fcolors { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.fcolors label { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 15px; }
.fcolors small { color: var(--mute); margin-left: auto; }
.fcolors input { position: absolute; opacity: 0; }
.fcolors input:checked + .swatch { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.fcolors input:focus-visible + .swatch { outline: 2px solid var(--brand); outline-offset: 4px; }
.fcheck { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 15px; cursor: pointer; }
.fcheck input { width: 18px; height: 18px; accent-color: var(--brand); }
.filters-actions {
  position: sticky; bottom: 0; margin: auto -20px 0; padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: 1fr 2fr; gap: 10px; background: var(--paper); border-top: 1px solid var(--sage);
}
.filters-actions .btn { min-height: 46px; font-size: 15px; }

@media (min-width: 1000px) {
  .catalog { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; padding: 18px var(--pad) 0; }
  .catalog-main .feed { padding: 0; grid-template-columns: repeat(3, 1fr); }
  .filters {
    position: sticky; top: 100px; inset: auto; z-index: 1; width: auto; max-height: calc(100vh - 120px);
    transform: none; box-shadow: none; background: transparent; align-self: start;
  }
  .filters-head { display: none; }
  .filters-form { padding: 0; }
  .filters-actions { margin: 0; padding: 14px 0; grid-template-columns: 1fr 1fr; }
  .filters-backdrop, .tool-btn { display: none !important; }
  .fgroup:first-child summary { padding-top: 0; }
}
@media (min-width: 1300px) { .catalog-main .feed { grid-template-columns: repeat(4, 1fr); } }

/* Bolinhas de cor */
.swatch {
  --sw: #ddd;
  display: inline-block; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
  background: var(--sw); border: 1px solid rgba(16, 41, 30, .22);
}
.swatch-xs { width: 13px; height: 13px; }
.swatch-mix { background: conic-gradient(#e6337a, #f2c230, #2e7d4f, #2a5db0, #e6337a); }
.tile-colors { display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.tile-colors small { font-size: 12px; color: var(--mute); }
.tile-flag-new { background: var(--white); color: var(--ink); }
.chips span .swatch { margin-right: 8px; }
.pdp-cat a { color: inherit; text-decoration: none; }
.pdp-cat a:hover { color: var(--brand); }

/* Barra do admin (só aparece logado) */
.admin-bar {
  position: relative; z-index: 30;
  display: flex; align-items: center; gap: 6px 16px; flex-wrap: wrap;
  padding: 8px var(--pad); background: var(--ink); color: var(--white); font-size: 14px;
}
.admin-bar a { color: var(--white); text-decoration: none; opacity: .85; }
.admin-bar a:hover { opacity: 1; text-decoration: underline; }
.admin-bar .admin-bar-main { opacity: 1; font-weight: 700; background: var(--brand); padding: 6px 12px; border-radius: 16px; }
.admin-bar .admin-bar-main:hover { text-decoration: none; background: #145c41; }
.admin-bar-tag { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .6; }
.foot-admin { margin-top: 18px !important; font-size: 12.5px; }
.foot-admin a { color: var(--mute); }

[hidden] { display: none !important; }
.stories, .related-row { scroll-padding-inline: var(--pad); }


/* ======================================================================
   v6 — reformulação: vitrine de bolsas e calçados, visual premium
   ====================================================================== */
body { letter-spacing: .005em; }
::selection { background: var(--brand); color: var(--white); }

/* Faixa de vantagens */
.perks { background: var(--brand); color: #F1EBDD; font-size: 12.5px; letter-spacing: .06em; overflow: hidden; }
.perks-track {
  list-style: none; margin: 0 auto; padding: 8px var(--pad); max-width: var(--max);
  display: flex; justify-content: center; gap: 36px; white-space: nowrap;
}
.perks-track li + li::before { content: "·"; margin-right: 36px; opacity: .6; }
@media (max-width: 760px) {
  .perks-track { justify-content: flex-start; animation: perks 18s linear infinite; width: max-content; }
  .perks-track li + li::before { margin-right: 24px; }
  .perks-track { gap: 24px; }
}
@media (min-width: 761px) { .perks-dup { display: none; } }
@keyframes perks { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Topo */
.top { background: color-mix(in srgb, var(--paper) 94%, transparent); border-bottom: 1px solid var(--sage); }
.top-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; padding: 8px var(--pad); }
.wordmark img { height: 54px; }
.menu-btn { margin-left: -8px; }
.mainnav { display: none; }
.top-actions { justify-self: end; display: flex; gap: 2px; }
.icon-btn:hover { background: var(--cream); }
.icon-whats { display: none; }
@media (max-width: 999px) {
  .top-inner { grid-template-columns: 1fr auto 1fr; }
  .wordmark { justify-self: center; }
}
@media (min-width: 1000px) {
  .menu-btn { display: none; }
  .top-inner { grid-template-columns: auto 1fr auto; padding-top: 10px; padding-bottom: 10px; }
  .wordmark img { height: 60px; }
  .mainnav { display: flex; justify-content: center; gap: 34px; }
  .mainnav a {
    position: relative; padding: 10px 0; text-decoration: none;
    font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  }
  .mainnav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1.5px;
    background: currentColor; transform: scaleX(0); transition: transform .25s ease; transform-origin: left;
  }
  .mainnav a:hover::after, .mainnav a.is-on::after { transform: scaleX(1); }
  .icon-whats { display: grid; }
}
.mainnav-sale { color: #9B3B2E; }
.search { position: relative; padding-bottom: 14px; }
.search svg {
  position: absolute; left: calc(var(--pad) + 16px); top: 12px; width: 20px; height: 20px;
  fill: none; stroke: var(--mute); stroke-width: 1.6;
}
.search input { padding-left: 46px; border-radius: var(--radius); height: 46px; border-color: var(--sage); }

/* Menu (celular) */
.menu {
  position: fixed; inset: 0 auto 0 0; z-index: 70; width: min(88vw, 360px);
  display: flex; flex-direction: column; background: var(--paper);
  transform: translateX(-102%); transition: transform .28s ease; box-shadow: 0 0 40px rgba(0,0,0,.18);
}
.menu-open .menu { transform: none; }
.menu-open { overflow: hidden; }
.menu-backdrop { position: fixed; inset: 0; z-index: 65; background: rgba(23, 34, 28, .45); }
.menu-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--sage); }
.menu-list { list-style: none; margin: 0; padding: 8px 0; overflow-y: auto; flex: 1; }
.menu-list > li > a, .menu-list summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 20px; text-decoration: none; cursor: pointer; list-style: none;
  font: 500 22px/1.1 var(--display);
}
.menu-list summary::-webkit-details-marker { display: none; }
.menu-list summary::after { content: "+"; font: 300 22px var(--sans); color: var(--mute); }
.menu-list details[open] summary::after { content: "–"; }
.menu-list details ul { list-style: none; margin: 0 0 8px; padding: 0 20px 0 32px; }
.menu-list details a { display: block; padding: 9px 0; text-decoration: none; color: var(--mute); font-size: 15px; }
.menu-list details li:first-child a { color: var(--ink); font-weight: 600; }
.menu-foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--sage); }
.menu-foot p { font-size: 13px; color: var(--mute); margin: 12px 0 0; text-align: center; }

/* Botões mais refinados */
.btn { border-radius: var(--radius); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; min-height: 52px; transition: background .2s, color .2s, border-color .2s; }
.btn-ghost { border-color: var(--ink); border-width: 1px; }

/* Hero */
.hero {
  display: grid; gap: 24px; align-items: center;
  padding: clamp(24px, 5vw, 56px) var(--pad) clamp(28px, 5vw, 64px);
}
.eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.hero h1 {
  margin: 0; font: 500 clamp(40px, 9vw, 72px)/1.02 var(--display); letter-spacing: -0.02em;
}
.hero h1 em { font-style: italic; color: var(--brand); }
.hero-lead { margin: 18px 0 0; max-width: 46ch; color: var(--mute); font-size: 16.5px; line-height: 1.6; }
.hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; max-width: 440px; }
.hero-media { display: grid; gap: 8px; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 5 / 4; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); background: var(--cream); }
.hero-media img:first-child { grid-row: span 2; }
.hero-n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.hero-n2 { grid-template-rows: 1fr; }
.hero-n2 img:first-child { grid-row: auto; }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; }
}

/* Seções da página inicial */
.section { padding: clamp(28px, 5vw, 56px) 0 0; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 0 var(--pad); margin-bottom: 18px;
}
.section-head h2, .howto h2 { margin: 0; font: 500 clamp(28px, 5vw, 40px)/1.1 var(--display); letter-spacing: -0.01em; }
.section-head a { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--brand); white-space: nowrap; }

.cat-cards {
  list-style: none; margin: 0; padding: 0 var(--pad);
  display: grid; gap: 14px; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .cat-cards { grid-template-columns: repeat(3, 1fr); } }
.cat-card {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 5; background: var(--cream); text-decoration: none; color: var(--white);
}
@media (max-width: 639px) { .cat-card { aspect-ratio: 16 / 11; } }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10, 20, 14, .62)); }
@media (hover: hover) { .cat-card:hover img { transform: scale(1.04); } }
.cat-card-empty {
  display: grid; place-items: center; height: 100%;
  background: linear-gradient(140deg, var(--brand), #1F5E45);
  font: italic 500 120px/1 var(--display); color: rgba(255,255,255,.18);
}
.cat-card-body { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; display: grid; gap: 2px; }
.cat-card-body strong { font: 500 clamp(30px, 4vw, 38px)/1 var(--display); }
.cat-card-body small { font-size: 13px; opacity: .85; }
.cat-card-go { margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.cat-card-subs { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 10px 2px 0; font-size: 13.5px; }
.cat-card-subs a { color: var(--mute); text-decoration: none; }
.cat-card-subs a:hover { color: var(--brand); text-decoration: underline; }

.feed-row { margin: 0; }
@media (max-width: 719px) {
  .feed-row { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; scroll-padding-inline: var(--pad); }
  .feed-row::-webkit-scrollbar { display: none; }
  .feed-row .tile { scroll-snap-align: start; }
}
@media (min-width: 1100px) { .feed-row { grid-template-columns: repeat(4, 1fr); } }

.howto {
  margin: clamp(40px, 6vw, 72px) var(--pad) 0; padding: clamp(28px, 4vw, 44px);
  background: var(--cream); border-radius: var(--radius); text-align: center;
}
.howto ol { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 22px; counter-reset: step; }
@media (min-width: 760px) { .howto ol { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.howto li { counter-increment: step; display: grid; gap: 6px; justify-items: center; }
.howto li::before {
  content: counter(step); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--gold); font: 500 20px/1 var(--display);
}
.howto strong { font-size: 15px; letter-spacing: .04em; }
.howto span { color: var(--mute); font-size: 14.5px; max-width: 30ch; }

#todas { padding-top: clamp(36px, 5vw, 64px); }
#todas .feed-title { font-size: clamp(28px, 5vw, 40px); }

/* Catálogo */
.feed-title { font-weight: 500; }
.tile-media { border-radius: var(--radius); background: var(--cream); }
.tile-info { padding-top: 10px; gap: 3px; }
.tile-name { font-size: 14px; color: var(--ink); }
.tile-price { font-size: 15px; font-weight: 600; color: var(--ink); }
.tile-flag { left: 10px; bottom: auto; top: 10px; border-radius: 3px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; }
.tile-flag-sale { background: #9B3B2E; }
.tile-flag-new { background: var(--white); color: var(--ink); }
.tile-badge { top: auto; bottom: 10px; right: 10px; }
.subcat, .price-quick a, .tool-sort select { border-color: var(--sage); }
.subcat.is-on { background: var(--brand); border-color: var(--brand); }
.toolbar { border-color: var(--sage); }
.tool-btn { border-radius: var(--radius); }
.subcat { border-radius: var(--radius); }
.chips span { border-radius: var(--radius); border-color: #D9D1C3; }
.chips input:checked + span { background: var(--brand); border-color: var(--brand); }
.story-ring { background: linear-gradient(140deg, var(--gold), #D9C3A0, var(--brand)); }
@media (min-width: 1000px) { .stories { display: none; } .catalog-head { padding-top: 18px; } }

/* Produto */
.pdp-name { font-weight: 500; }
.pdp-price strong { font-size: 24px; }
.pdp-trust { list-style: none; margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid var(--sage); display: grid; gap: 10px; }
.pdp-trust li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--mute); }
.pdp-trust svg, .assurance svg { flex: 0 0 auto; width: 20px; height: 20px; fill: none; stroke: var(--brand); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pdp-more { margin-top: 18px; border-top: 1px solid var(--sage); }
.pdp-more details { border-bottom: 1px solid var(--sage); }
.pdp-more summary {
  display: flex; justify-content: space-between; padding: 16px 0; cursor: pointer; list-style: none;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.pdp-more summary::-webkit-details-marker { display: none; }
.pdp-more summary::after { content: "+"; font-weight: 400; color: var(--mute); }
.pdp-more details[open] summary::after { content: "–"; }
.pdp-more .pdp-desc { margin: 0 0 18px; }
.pdp-steps { margin: 0 0 18px; padding-left: 20px; color: var(--mute); font-size: 14.5px; display: grid; gap: 6px; }
.slide, .gallery-track { background: var(--cream); }
.related h2 { font-size: clamp(26px, 4vw, 34px); }
.related-row img { border-radius: var(--radius); }

/* Faixa de confiança */
.assurance { margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--sage); border-bottom: 1px solid var(--sage); background: var(--white); }
.assurance ul {
  list-style: none; margin: 0 auto; max-width: var(--max); padding: 28px var(--pad);
  display: grid; gap: 22px 18px; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) { .assurance ul { grid-template-columns: repeat(4, 1fr); } }
.assurance li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; }
.assurance svg { width: 26px; height: 26px; grid-row: span 2; stroke: var(--gold); }
.assurance strong { font-size: 14px; letter-spacing: .02em; }
.assurance span { font-size: 13px; color: var(--mute); line-height: 1.4; }

/* Rodapé */
.foot { margin-top: 0; text-align: left; background: var(--brand); color: #D8E3DA; border: 0; padding: 48px var(--pad) calc(24px + env(safe-area-inset-bottom)); }
.foot-grid { max-width: var(--max); margin: 0 auto; display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; } }
.foot-brand img { width: 84px; height: auto; background: var(--paper); border-radius: 50%; padding: 6px; }
.foot-brand p { margin: 14px 0 0; max-width: 36ch; font-size: 14px; line-height: 1.6; }
.foot h2 { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #F1EBDD; }
.foot ul, .foot ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; }
.foot-steps { counter-reset: s; }
.foot-steps li { counter-increment: s; }
.foot-steps li::before { content: counter(s) ". "; color: var(--gold); }
.foot a { color: #F1EBDD; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-bottom {
  max-width: var(--max); margin: 36px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; justify-content: space-between; font-size: 12.5px; color: rgba(216, 227, 218, .7);
}
.foot-bottom a { color: rgba(216, 227, 218, .7); }

/* WhatsApp flutuante */
.whats-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 35;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: transform .2s;
}
.whats-float:hover { transform: scale(1.06); }
.whats-float svg { width: 30px; height: 30px; fill: #fff; }
.filters-open .whats-float, .menu-open .whats-float { display: none; }
.toast { bottom: calc(86px + env(safe-area-inset-bottom)); }

/* Convite para instalar o app (PWA) */
.install {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45;
  display: flex; align-items: center; gap: 12px; padding: 12px 8px 12px 12px;
  background: var(--white); border: 1px solid var(--sage); border-radius: 12px;
  box-shadow: 0 10px 34px rgba(23, 34, 28, .18); max-width: 520px; margin: 0 auto;
}
.install img { border-radius: 10px; flex: 0 0 auto; }
.install-text { display: grid; gap: 2px; flex: 1; font-size: 13.5px; color: var(--mute); }
.install-text strong { color: var(--ink); font-size: 14.5px; }
.install-text svg { width: 16px; height: 16px; vertical-align: -3px; fill: none; stroke: #0A84FF; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.install-go { width: auto; min-height: 40px; padding: 0 16px; font-size: 12px; }
body:has(.install:not([hidden])) .whats-float { bottom: calc(140px + env(safe-area-inset-bottom)); }
@media (display-mode: standalone) {
  .top { padding-top: env(safe-area-inset-top); }
}
