/* Maison Aurora — moda feminina */

:root {
  --ink: #141414;
  --bg: #F4EFE7;
  --paper: #FAF7F2;
  --beige: #DDD4C6;
  --stone: #8C7A63;
  --terra: #A65A3A;
  --terra-text: #944E2F;
  --muted: #5F5344;
  --line: rgba(20, 20, 20, .14);
  --line-strong: rgba(20, 20, 20, .28);
  --wa: #1E7A4C;

  --f-display: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --f-body: "Jost", "Futura", "Helvetica Neue", Arial, sans-serif;

  --header-h: 64px;
  --announce-h: 36px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sticky-offset: calc(var(--demo-bar-h, 0px) + var(--header-h));
}
@media (min-width: 1024px) {
  :root { --header-h: 76px; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--sticky-offset) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow-x: clip) {
  body { overflow-x: clip; }
}
body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p, figure, ul, ol, dl, dd, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
main:focus { outline: none; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: calc(var(--demo-bar-h, 0px) + 8px);
  left: 8px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Tipografia base ---------- */
.micro {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terra-text);
}
.micro--light { color: var(--beige); }

.sec-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 7vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  margin-top: 14px;
}
.sec-title em { font-style: italic; color: var(--terra); }

.sec-head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 720px; }
.sec-head--center { margin-inline: auto; text-align: center; }

.section { padding-block: clamp(72px, 10vw, 140px); }

/* ---------- Botões e links ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { --btn-bg: var(--ink); --btn-fg: var(--bg); }
.btn--primary:hover { --btn-bg: #2B2724; border-color: #2B2724; }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--bg); }
.btn--light { --btn-bg: var(--bg); --btn-fg: var(--ink); border-color: var(--bg); }
.btn--light:hover { --btn-bg: var(--beige); border-color: var(--beige); }
.btn--wa { --btn-bg: var(--wa); --btn-fg: #fff; border-color: var(--wa); }
.btn--wa:hover { --btn-bg: #17623C; border-color: #17623C; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(1px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 10px;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.text-link:hover::after { transform: scaleX(.35); }
.text-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }
.text-link--small { font-size: 12px; letter-spacing: .12em; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  position: relative;
  transition: opacity .2s;
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { opacity: .65; }

/* ---------- Faixa de aviso ---------- */
.announce {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  min-height: var(--announce-h);
  display: grid;
  place-items: center;
  padding: 8px var(--gutter);
  line-height: 1.5;
}
.announce__sep { margin-inline: .5em; color: var(--beige); }
@media (max-width: 719px) {
  .announce__part { display: block; }
  .announce__sep { display: none; }
}

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: var(--demo-bar-h, 0px);
  z-index: 500;
  background: rgba(244, 239, 231, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(20, 20, 20, .5);
}
.site-header__bar {
  height: var(--header-h);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}
.site-header__left { display: flex; align-items: center; gap: 2px; min-width: 0; }
.site-header__actions { display: flex; justify-content: flex-end; align-items: center; gap: 0; margin-right: -10px; }
.menu-toggle { margin-left: -10px; flex: none; }

.logo {
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink);
  line-height: 1;
  padding-block: 12px;
}
.logo--light { color: var(--bg); }
@media (min-width: 400px) {
  .logo { font-size: 17px; letter-spacing: .24em; }
}

.main-nav { display: none; }

.bag-btn__count {
  position: absolute;
  top: 5px;
  right: 2px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--terra);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 19px;
  text-align: center;
}
.bag-btn.is-bumped .bag-btn__count { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

@media (min-width: 1024px) {
  .site-header__bar { grid-template-columns: auto 1fr auto; gap: 32px; }
  .menu-toggle { display: none; }
  .site-header__left .logo { font-size: 20px; letter-spacing: .26em; }
  .main-nav { display: block; justify-self: center; }
  .main-nav ul { display: flex; gap: clamp(18px, 2.4vw, 36px); }
  .main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
  }
  .main-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: .18em; bottom: 10px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s var(--ease);
  }
  .main-nav a:hover::after, .main-nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
}

/* Busca */
.search-panel {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding-block: 12px 20px;
  animation: slideDown .35s var(--ease);
  max-height: calc(100vh - var(--sticky-offset));
  overflow-y: auto;
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } }
.search-panel__form {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--ink);
}
.search-panel__icon { width: 22px; height: 22px; flex: none; }
.search-panel__input {
  flex: 1;
  min-width: 0;
  min-height: 56px;
  border: 0;
  background: transparent;
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  outline: none;
}
.search-panel__input::placeholder { color: #7A6E60; }
.search-panel__form:focus-within { border-bottom-width: 2px; }
.search-panel__status { margin-top: 12px; font-size: 14px; color: var(--muted); }
.search-panel__results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px 24px;
  margin-top: 8px;
}
.search-result {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  text-align: left;
}
.search-result img { width: 52px; height: 68px; object-fit: cover; flex: none; background: var(--beige); }
.search-result__name { display: block; font-size: 16px; }
.search-result__price { display: block; font-size: 14px; color: var(--muted); }
.search-result:hover .search-result__name { text-decoration: underline; text-underline-offset: 3px; }
.search-panel__all { margin-top: 8px; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  position: relative;
}
.hero__media {
  grid-area: 1 / 1;
  position: relative;
  overflow: hidden;
  height: calc(100vh - var(--sticky-offset) - var(--announce-h) - 64px);
  height: calc(100svh - var(--sticky-offset) - var(--announce-h) - 64px);
  min-height: 460px;
  max-height: 780px;
  background: var(--beige);
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0) 50%, rgba(20, 20, 20, .3) 70%, rgba(20, 20, 20, .72) 100%);
}
.hero__content { display: contents; }
.hero__heading {
  grid-area: 1 / 1;
  align-self: end;
  position: relative;
  z-index: 1;
  padding: 0 var(--gutter) 28px;
  color: #FBF8F3;
}
.hero__kicker { color: var(--beige); }
.hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(3rem, 14vw, 4.5rem);
  line-height: .95;
  letter-spacing: -.03em;
  margin-top: 14px;
}
.hero__title em { font-style: italic; display: block; }
.hero__lead {
  max-width: 40ch;
  padding: 28px var(--gutter) 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; padding: 24px var(--gutter) 32px; }
.hero__ctas .btn { flex: 1 1 200px; }

.hero__inset {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.hero__inset img { width: 112px; height: 140px; object-fit: cover; object-position: 44% 50%; }
.hero__inset figcaption { display: grid; gap: 6px; }
.hero__inset-text { font-size: 16px; line-height: 1.45; }

@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: heroZoom 1.8s var(--ease) both; }
  .hero__heading > *, .hero__lead, .hero__ctas { animation: rise 1s var(--ease) both; }
  .hero__title { animation-delay: .1s; }
  .hero__lead { animation-delay: .2s; }
  .hero__ctas { animation-delay: .3s; }
}
@keyframes heroZoom { from { transform: scale(1.08); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-rows: 1fr auto;
    min-height: calc(100vh - var(--sticky-offset) - var(--announce-h));
    min-height: calc(100svh - var(--sticky-offset) - var(--announce-h));
    max-height: 920px;
  }
  .hero__media {
    grid-area: 1 / 2 / 3 / 3;
    height: auto;
    min-height: 620px;
    max-height: none;
  }
  .hero__media::after { display: none; }
  .hero__content {
    display: block;
    grid-area: 1 / 1;
    align-self: center;
    padding: clamp(48px, 6vw, 96px) clamp(32px, 5vw, 88px) 32px var(--gutter);
  }
  .hero__heading { padding: 0; color: var(--ink); }
  .hero__kicker { color: var(--terra-text); }
  .hero__title { font-size: clamp(4rem, 7.4vw, 7.5rem); margin: 22px 0 26px; }
  .hero__title em { color: var(--terra); }
  .hero__lead { padding: 0; font-size: 18px; max-width: 34ch; }
  .hero__ctas { padding: 0; margin-top: 36px; }
  .hero__ctas .btn { flex: 0 0 auto; }
  .hero__inset {
    grid-area: 2 / 1;
    grid-template-columns: 150px 1fr;
    gap: 24px;
    margin: 0 clamp(32px, 5vw, 88px) clamp(32px, 4vw, 56px) var(--gutter);
    padding: 24px 0 0;
    border-bottom: 0;
    border-top: 1px solid var(--line);
  }
  .hero__inset img { width: 150px; height: 112px; }
  .hero__inset-text { max-width: 30ch; }
}

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding-block: 18px;
  white-space: nowrap;
}
.ticker__track {
  display: inline-flex;
  gap: 0;
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--ink);
}
.ticker__track span { display: inline-flex; align-items: center; }
.ticker__track span::after {
  content: "";
  width: 6px; height: 6px;
  margin-inline: clamp(24px, 4vw, 48px);
  border-radius: 50%;
  background: var(--terra);
}
@media (prefers-reduced-motion: no-preference) {
  .ticker__track { animation: ticker 36s linear infinite; }
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Categorias ---------- */
.categories__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.cat-tile {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--beige);
  color: #FBF8F3;
  text-decoration: none;
}
.cat-tile:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.cat-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.cat-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(20, 20, 20, .7));
  transition: opacity .4s;
}
.cat-tile__label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
}
.cat-tile__name {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 6vw, 2.75rem);
  line-height: 1;
}
.cat-tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.cat-tile__cta svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile:hover .cat-tile__cta svg { transform: translateX(4px); }

@media (min-width: 768px) {
  .categories__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .cat-tile:first-child { grid-column: auto; aspect-ratio: 3 / 4; }
  .cat-tile__label { padding: 28px; }
  .cat-tile:nth-child(2) { margin-top: 48px; }
}

/* ---------- Catálogo ---------- */
.catalog { background: var(--paper); border-block: 1px solid var(--line); }
.catalog__head {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}
.catalog__intro { color: var(--muted); max-width: 44ch; }
@media (min-width: 900px) {
  .catalog__head { grid-template-columns: 1fr auto; align-items: end; gap: 48px; margin-bottom: 48px; }
  .catalog__intro { text-align: right; }
}

.toolbar {
  display: grid;
  gap: 16px;
  padding-block: 16px;
  border-block: 1px solid var(--line);
}
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-inline: calc(var(--gutter) * -1);
  padding: 2px var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; }
@media (min-width: 768px) {
  .chips { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
}
.chip {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background-color .25s, color .25s, border-color .25s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.toolbar__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
.field-search {
  position: relative;
  display: flex;
  align-items: center;
}
.field-search svg { position: absolute; left: 14px; width: 20px; height: 20px; pointer-events: none; color: var(--muted); }
.field-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px 0 44px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--bg);
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
}
.field-search input::placeholder { color: #75695B; }
.field-search input:focus-visible { outline-offset: 0; border-color: var(--ink); }

.field-sort { display: flex; align-items: center; gap: 12px; }
.field-sort label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.field-sort select {
  flex: 1;
  min-height: 48px;
  padding: 0 40px 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23141414' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 14px center;
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
}

@media (min-width: 768px) {
  .toolbar { grid-template-columns: 1fr auto; align-items: center; }
  .toolbar__row { grid-template-columns: minmax(200px, 280px) auto; }
  .field-sort select { flex: none; min-width: 180px; }
}

.catalog__count {
  margin: 20px 0 24px;
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 12px;
}
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 20px; } }
@media (min-width: 1200px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 24px; } }

.card { display: flex; flex-direction: column; min-width: 0; }
.card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--beige);
  cursor: pointer;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.card__hover {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  padding: 12px;
  background: rgba(244, 239, 231, .95);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .card__media:hover img { transform: scale(1.06); }
  .card__media:hover .card__hover { opacity: 1; transform: none; }
}
.tag {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 1;
  padding: 5px 9px;
  background: var(--bg);
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.3;
}
.tag--last { background: var(--terra); color: #fff; }

.card__body { display: flex; flex-direction: column; gap: 2px; padding-top: 14px; flex: 1; }
.card__name {
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
}
.card__price { font-size: 16px; font-weight: 500; margin-top: 4px; }
.card__inst { font-size: 13px; color: var(--muted); line-height: 1.4; }
.card__swatches { display: flex; gap: 6px; margin-top: 8px; }
.swatch {
  display: inline-block;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(20, 20, 20, .25);
  flex: none;
}
.card__btn { align-self: flex-start; margin-top: 4px; font-size: 12px; letter-spacing: .14em; }

@media (min-width: 768px) {
  .card__name { font-size: 17px; }
}

@media (prefers-reduced-motion: no-preference) {
  .card.is-entering { animation: cardIn .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
}
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } }

.empty {
  padding: 56px 20px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  color: var(--muted);
  display: grid;
  gap: 12px;
  justify-items: center;
}
.empty__title { font-family: var(--f-display); font-size: 1.75rem; color: var(--ink); }
.empty .btn { margin-top: 8px; }

/* ---------- Lookbook ---------- */
.lookbook__grid {
  display: grid;
  gap: 48px;
}
.lookbook__col { display: grid; gap: 40px; align-content: start; }
.lookbook__intro p:last-child { margin-top: 20px; color: var(--muted); max-width: 40ch; font-size: 17px; }
.look { display: grid; gap: 14px; }
.look__img { overflow: hidden; background: var(--beige); aspect-ratio: 4 / 5; }
.look--tall .look__img { aspect-ratio: 2 / 3; }
.look--wide .look__img { aspect-ratio: 3 / 2; }
.look__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.look:hover .look__img img { transform: scale(1.04); }
.look figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.look__num { font-family: var(--f-display); font-style: italic; font-size: 1.25rem; color: var(--terra-text); }
.look__text { font-family: var(--f-display); font-size: 1.2rem; line-height: 1.3; }
.look figcaption .text-link { grid-column: 2; justify-self: start; font-size: 12px; }
.lookbook__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lookbook__pair .look__text { font-size: 1.05rem; }
.lookbook__pair figcaption { grid-template-columns: 1fr; }
.lookbook__pair figcaption .text-link { grid-column: 1; }
.lookbook__pair .look__num { font-size: 1.05rem; }

@media (min-width: 900px) {
  .lookbook__grid { grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
  .lookbook__col--offset { padding-top: clamp(64px, 10vw, 160px); gap: 56px; }
  .lookbook__pair { gap: 24px; }
  .look--shift { margin-top: 96px; }
  .lookbook__pair figcaption { grid-template-columns: auto 1fr; }
  .lookbook__pair figcaption .text-link { grid-column: 2; }
}

/* ---------- Como comprar ---------- */
.steps { background: var(--beige); }
.steps__list {
  display: grid;
  gap: 0;
  counter-reset: step;
}
.step {
  padding: 28px 0;
  border-top: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 16px;
  row-gap: 8px;
}
.step:last-child { border-bottom: 1px solid var(--line-strong); }
.step__num {
  grid-row: span 2;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--terra-text);
}
.step__title { font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; line-height: 1.2; }
.step p { color: #4E4438; }

@media (min-width: 900px) {
  .steps__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .step { grid-template-columns: 1fr; padding: 32px 0 0; row-gap: 14px; }
  .step:last-child { border-bottom: 0; }
  .step__num { grid-row: auto; font-size: 3.75rem; margin-bottom: 12px; }
}

/* ---------- Trocas e entregas ---------- */
.policies__grid {
  display: grid;
  gap: 12px;
}
.policy {
  padding: 28px 24px;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color .3s, transform .4s var(--ease);
}
.policy:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.policy__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.2;
  margin-bottom: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.policy__title::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 32px; height: 1px;
  background: var(--terra);
}
.policy p { color: var(--muted); }
@media (min-width: 640px) { .policies__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .policies__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- A loja ---------- */
.store { padding-top: 0; }
.store__grid { display: grid; gap: 40px; }
.store__img { overflow: hidden; background: var(--beige); aspect-ratio: 4 / 5; }
.store__img img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.store__lead { margin-top: 18px; color: var(--muted); font-size: 17px; max-width: 44ch; }
.store__list { margin-top: 28px; display: grid; gap: 0; }
.store__list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.store__list li:last-child { border-bottom: 1px solid var(--line); }
.store__list svg { width: 22px; height: 22px; color: var(--terra-text); margin-top: 2px; }
.store__list strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.store__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.store__ctas .btn { flex: 1 1 180px; }

.map-card {
  position: relative;
  margin-top: 28px;
  height: 200px;
  overflow: hidden;
  background:
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(20, 20, 20, .06) 46px 48px),
    repeating-linear-gradient(90deg, transparent 0 62px, rgba(20, 20, 20, .06) 62px 64px),
    #E8E1D5;
  border: 1px solid var(--line);
}
.map-card__street { position: absolute; background: #FBF8F3; box-shadow: 0 0 0 1px rgba(20, 20, 20, .06); }
.map-card__street--main {
  left: -10%; right: -10%;
  top: 54%;
  height: 16px;
  transform: rotate(-14deg);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 22%;
}
.map-card__street--main span {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.map-card__street--a { top: -10%; bottom: -10%; left: 30%; width: 10px; transform: rotate(12deg); }
.map-card__street--b { top: -10%; bottom: -10%; left: 72%; width: 10px; transform: rotate(12deg); }
.map-card__street--c { left: -10%; right: -10%; top: 18%; height: 8px; transform: rotate(-14deg); }
.map-card__park {
  position: absolute;
  right: 6%; bottom: 8%;
  width: 22%; height: 26%;
  border-radius: 40% 60% 55% 45%;
  background: #CFD3BD;
}
.map-card__pin {
  position: absolute;
  left: 52%; top: 50%;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.map-card__pin svg {
  width: 36px; height: 36px;
  color: #fff;
  background: var(--terra);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  padding: 6px;
}
.map-card__pin svg use { transform: rotate(45deg); transform-origin: center; }
.map-card__pin span {
  padding: 4px 10px;
  background: var(--ink);
  color: var(--bg);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (prefers-reduced-motion: no-preference) {
  .map-card__pin { animation: pinDrop 2.4s var(--ease) infinite; }
}
@keyframes pinDrop { 0%, 70%, 100% { transform: translate(-50%, -100%); } 80% { transform: translate(-50%, -112%); } }

@media (min-width: 900px) {
  .store__grid { grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 104px); align-items: center; }
  .store__img { aspect-ratio: 5 / 6; }
  .store__ctas .btn { flex: 0 0 auto; }
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--ink);
  color: var(--bg);
  padding-block: clamp(64px, 9vw, 120px);
}
.newsletter__inner { display: grid; gap: 32px; }
.newsletter .sec-title { color: var(--bg); }
.newsletter__text { margin-top: 16px; color: rgba(244, 239, 231, .78); max-width: 46ch; }
.newsletter__form label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--beige);
  margin-bottom: 10px;
}
.newsletter__field { display: grid; gap: 12px; }
.newsletter__field input {
  min-height: 52px;
  padding: 0 4px;
  border: 0;
  border-bottom: 1px solid rgba(244, 239, 231, .5);
  border-radius: 0;
  background: transparent;
  color: var(--bg);
  font-size: 18px;
}
.newsletter__field input::placeholder { color: rgba(244, 239, 231, .55); }
.newsletter__field input:focus-visible { outline: 2px solid var(--bg); outline-offset: 4px; border-bottom-color: var(--bg); }
.newsletter .btn:focus-visible { outline-color: var(--bg); }
@media (min-width: 640px) {
  .newsletter__field { grid-template-columns: 1fr auto; gap: 20px; align-items: end; }
}
@media (min-width: 900px) {
  .newsletter__inner { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 80px; }
}

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(244, 239, 231, .75);
  border-top: 1px solid rgba(244, 239, 231, .12);
  padding-top: 64px;
  font-size: 16px;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--bg); }
.site-footer :focus-visible { outline-color: var(--bg); }
.site-footer__grid { display: grid; gap: 40px; padding-bottom: 48px; }
.site-footer__brand p { margin: 16px 0; max-width: 34ch; }
.site-footer__title {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bg);
  margin-bottom: 12px;
}
.site-footer__col a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer address { line-height: 1.9; }
.social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
}
.social svg { width: 20px; height: 20px; }
.site-footer .social { color: var(--bg); }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 24px 96px;
  border-top: 1px solid rgba(244, 239, 231, .12);
  font-size: 14px;
  color: rgba(244, 239, 231, .65);
}
@media (min-width: 640px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; }
  .site-footer__bottom { padding: 24px 88px 32px var(--gutter); }
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 800;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(20, 20, 20, .55);
  transition: transform .35s var(--ease), opacity .3s, visibility .3s, background-color .3s;
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { background: #17623C; transform: translateY(-2px); }
body.has-overlay .wa-float {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

/* ---------- Overlays (menu, detalhes, sacola) ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
}
.overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, .5);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.overlay.is-open .overlay__backdrop { opacity: 1; }
[role="dialog"]:focus { outline: none; }

/* Menu mobile */
.mobile-menu__panel {
  position: absolute;
  top: var(--demo-bar-h, 0px);
  left: 0;
  bottom: 0;
  width: min(88vw, 400px);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .45s var(--ease);
}
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding: 0 12px 0 var(--gutter);
  border-bottom: 1px solid var(--line);
}
.mobile-menu__head .logo { font-size: 16px; }
.mobile-menu__links { padding: 16px var(--gutter); }
.mobile-menu__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-display);
  font-size: 1.75rem;
  text-decoration: none;
}
.mobile-menu__foot {
  margin-top: auto;
  padding: 24px var(--gutter) 32px;
  display: grid;
  gap: 12px;
  font-size: 15px;
  color: var(--muted);
}
.mobile-menu__foot .social { color: var(--ink); }

/* Detalhes da peça */
.pmodal {
  display: grid;
  place-items: center;
  padding: var(--demo-bar-h, 0px) 0 0;
}
.pmodal__panel {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: calc(100vh - var(--demo-bar-h, 0px));
  max-height: calc(100dvh - var(--demo-bar-h, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg);
  display: block;
  opacity: 0;
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.pmodal.is-open .pmodal__panel { opacity: 1; }
.pmodal__close {
  position: fixed;
  top: calc(var(--demo-bar-h, 0px) + 10px);
  right: 10px;
  z-index: 3;
  background: rgba(244, 239, 231, .92);
  border-radius: 50%;
  box-shadow: 0 4px 14px -6px rgba(20, 20, 20, .4);
}
.pmodal__close:hover { opacity: 1; background: var(--bg); }
.pmodal__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--beige);
  overflow: hidden;
}
.pmodal__media img { width: 100%; height: 100%; object-fit: cover; }
.pmodal__info { padding: 24px var(--gutter) 40px; }
.pmodal__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 6vw, 2.6rem);
  line-height: 1.08;
  margin: 10px 0 12px;
}
.pmodal__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: 20px; font-weight: 500; }
.pmodal__inst { font-size: 14px; font-weight: 400; color: var(--muted); }
.pmodal__desc { margin-top: 18px; color: #3F372E; }
.pmodal__meta { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 15px; }
.pmodal__meta strong { font-weight: 500; }
.pmodal__meta--muted { color: var(--muted); margin-top: 4px; }
.pmodal__meta--muted:empty { display: none; }

#pm-form { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 20px; }

.field-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
}
.field-optional { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; font-size: 13px; }
.field-error { margin-top: 8px; font-size: 14px; color: #9A2F1F; font-weight: 500; }

.sizes { position: relative; }
.sizes legend { float: left; width: 100%; min-height: 44px; display: flex; align-items: center; }
.sizes legend + * { clear: both; }
.sizes__chosen { margin-left: 8px; text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; font-size: 14px; }
.sizes__guide { position: absolute; top: 0; right: 0; }
.sizes__list { clear: both; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.size { position: relative; }
.size input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.size span {
  display: grid;
  place-items: center;
  min-width: 52px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  font-size: 15px;
  font-weight: 500;
  transition: background-color .2s, color .2s, border-color .2s;
}
.size input:hover + span { border-color: var(--ink); }
.size input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.size input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.size input:disabled { cursor: not-allowed; }
.size input:disabled + span {
  color: #8A8076;
  border-color: var(--line);
  background: linear-gradient(to top right, transparent calc(50% - .5px), rgba(20, 20, 20, .25) 50%, transparent calc(50% + .5px));
}
.sizes.has-error .size span { border-color: #9A2F1F; }
.sizes.has-error .size input:disabled + span { border-color: var(--line); }

.size-guide {
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  animation: slideDown .3s var(--ease);
}
.size-guide table { width: 100%; border-collapse: collapse; font-size: 15px; }
.size-guide caption { text-align: left; font-size: 13px; color: var(--muted); padding-bottom: 8px; }
.size-guide th, .size-guide td { padding: 8px 6px; text-align: left; border-bottom: 1px solid var(--line); }
.size-guide thead th { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.size-guide tbody th { font-weight: 600; }
.size-guide p { margin-top: 10px; font-size: 14px; color: var(--muted); }

.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--line-strong); }
.stepper button {
  display: grid;
  place-items: center;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  transition: background-color .2s;
}
.stepper button:hover:not(:disabled) { background: rgba(20, 20, 20, .06); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper svg { width: 18px; height: 18px; }
.stepper input, .stepper output {
  width: 44px;
  border: 0;
  border-inline: 1px solid var(--line);
  background: transparent;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  display: grid;
  place-items: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus-visible { outline-offset: -2px; }

.pmodal__perks {
  margin-top: 24px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}
.pmodal__perks li { display: flex; align-items: center; gap: 10px; }
.pmodal__perks li::before { content: ""; width: 14px; height: 1px; background: var(--terra); flex: none; }

@media (min-width: 900px) {
  .pmodal { padding: calc(var(--demo-bar-h, 0px) + 32px) 32px 32px; }
  .pmodal__panel {
    width: min(1100px, 100%);
    height: auto;
    max-height: calc(100vh - var(--demo-bar-h, 0px) - 64px);
    max-height: calc(100dvh - var(--demo-bar-h, 0px) - 64px);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    box-shadow: 0 40px 100px -40px rgba(20, 20, 20, .6);
    overflow: hidden;
    transform: translateY(24px);
  }
  .pmodal.is-open .pmodal__panel { transform: none; }
  .pmodal__close { position: absolute; top: 12px; right: 12px; }
  .pmodal__media { grid-area: 1 / 1; aspect-ratio: auto; min-height: 100%; }
  .pmodal__info {
    grid-area: 1 / 2;
    padding: 48px 48px 40px;
    overflow-y: auto;
    max-height: calc(100vh - var(--demo-bar-h, 0px) - 64px);
    max-height: calc(100dvh - var(--demo-bar-h, 0px) - 64px);
  }
}

/* Sacola */
.bag__panel {
  position: absolute;
  top: var(--demo-bar-h, 0px);
  right: 0;
  bottom: 0;
  width: min(100%, 460px);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  box-shadow: -30px 0 60px -40px rgba(20, 20, 20, .5);
}
.bag.is-open .bag__panel { transform: none; }
.bag__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 0 12px 0 24px;
  border-bottom: 1px solid var(--line);
  flex: none;
}
.bag__title { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; }
.bag__title span { font-family: var(--f-body); font-size: 15px; color: var(--muted); }
.bag__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 24px 24px;
}
.bag__empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  padding: 56px 8px;
  color: var(--muted);
}
.bag__empty svg { width: 48px; height: 48px; color: var(--stone); margin-bottom: 8px; }
.bag__empty-title { font-family: var(--f-display); font-size: 1.6rem; color: var(--ink); }
.bag__empty .btn { margin-top: 12px; }

.bag-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.bag-item__img { width: 84px; height: 112px; object-fit: cover; background: var(--beige); }
.bag-item__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bag-item__top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.bag-item__name { font-family: var(--f-body); font-weight: 400; font-size: 16px; line-height: 1.35; }
.bag-item__price { font-weight: 500; white-space: nowrap; }
.bag-item__meta { font-size: 14px; color: var(--muted); }
.bag-item__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.bag-item__actions .stepper output { min-height: 44px; }
.bag-item__remove { font-size: 12px; color: var(--muted); }

.bag__form { display: grid; gap: 20px; padding-top: 24px; }
.delivery { display: grid; gap: 8px; }
.delivery legend { margin-bottom: 10px; }
.delivery__opt { position: relative; display: block; cursor: pointer; }
.delivery__opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.delivery__box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 14px 10px 44px;
  border: 1px solid var(--line-strong);
  font-size: 15px;
  position: relative;
  transition: border-color .2s, background-color .2s;
}
.delivery__box::before {
  content: "";
  position: absolute;
  left: 14px; top: 50%;
  width: 18px; height: 18px;
  margin-top: -9px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--bg);
  transition: box-shadow .2s;
}
.delivery__price { font-size: 14px; color: var(--muted); text-align: right; }
.delivery__opt input:checked + .delivery__box { border-color: var(--ink); background: var(--paper); }
.delivery__opt input:checked + .delivery__box::before { box-shadow: inset 0 0 0 4px var(--bg); background: var(--ink); }
.delivery__opt input:focus-visible + .delivery__box { outline: 2px solid var(--ink); outline-offset: 2px; }

.field { display: grid; gap: 8px; }
.field input, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--paper);
  font-size: 16px;
  resize: vertical;
}
.field input:focus-visible, .field textarea:focus-visible { outline-offset: 0; border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: #9A2F1F; }
.field textarea::placeholder { color: #75695B; }

.bag__foot {
  flex: none;
  padding: 16px 24px max(20px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.bag__totals { display: grid; gap: 4px; margin-bottom: 14px; }
.bag__totals div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.bag__totals dt { color: var(--muted); }
.bag__totals dd { text-align: right; }
.bag__total { padding-top: 8px; margin-top: 4px; border-top: 1px solid var(--line); }
.bag__total dt, .bag__total dd { color: var(--ink) !important; font-size: 18px; font-weight: 500; }
.bag__note { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; line-height: 1.45; }

/* Toast */
.toast {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(max(16px, env(safe-area-inset-bottom)) + 68px);
  z-index: 960;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 8px 8px 18px;
  background: var(--ink);
  color: var(--bg);
  font-size: 15px;
  line-height: 1.4;
  box-shadow: 0 20px 40px -20px rgba(20, 20, 20, .6);
  transform: translateY(16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: none; }
.toast__text { display: grid; gap: 0; min-width: 0; padding-left: 18px; position: relative; }
.toast__text::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--terra); }
.toast__text small { font-size: 13px; color: rgba(244, 239, 231, .75); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 640px) {
  .toast {
    left: 50%;
    right: auto;
    bottom: max(24px, env(safe-area-inset-bottom));
    width: max-content;
    max-width: 520px;
    transform: translate(-50%, 16px);
  }
  .toast.is-visible { transform: translate(-50%, 0); }
}
.toast__btn {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(244, 239, 231, .4);
  background: transparent;
  color: var(--bg);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.toast__btn:hover { background: var(--bg); color: var(--ink); }
.toast__btn:focus-visible { outline-color: var(--bg); }

/* ---------- Revelação ao rolar ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    transition-delay: var(--reveal-delay, 0s);
  }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
