@charset "UTF-8";
/* ==========================================================================
   Casulo Kids — folha de estilo da loja
   Identidade: papel quente, terracota, arcos (casulo), tipografia Fraunces+Karla.
   Nada de gradiente decorativo, sombra pesada ou animacao de rolagem.
   ========================================================================== */

/* ------------------------------ fontes ---------------------------------- */
@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces-latin-ext.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  src: url('/fonts/karla-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  src: url('/fonts/karla-latin-ext.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ------------------------------- tokens --------------------------------- */
:root {
  color-scheme: light;

  --paper: #fbf7ef;
  --paper-2: #f3ece0;
  --paper-3: #ebe1d1;
  --card: #ffffff;

  --ink: #241e1a;
  --ink-2: #5a5049;
  /* Calibrado para 4,5:1 tambem sobre o fundo de papel, nao so sobre branco. */
  --ink-3: #7b7066;

  --line: #e4dac9;
  --line-2: #d1c4ae;

  /* Terracota calibrada para 4,5:1 com texto branco em cima — o botao de
     comprar precisa ser legivel para quem enxerga pouco. */
  --brand: #c55136;
  --brand-deep: #a8402a;
  /* Versao clareada, para a marca sobre o marrom escuro do rodape/menu. */
  --brand-claro: #d7644a;
  --brand-soft: #fbe7e0;

  --pine: #2f6f62;
  --pine-soft: #e0ece7;
  --amber: #e19124;
  --amber-soft: #fcefd8;
  --berry: #bc5077;
  --berry-soft: #f9e6ec;
  --denim: #40648a;
  --denim-soft: #e3ebf3;

  --ok: #2b6b4f;
  --ok-soft: #e2efe6;
  --warn: #a8721b;
  --warn-soft: #fbeed6;
  --danger: #a93425;
  --danger-soft: #fae5e1;

  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-text: 'Karla', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 8px;
  --r-pill: 999px;

  --wrap: 1272px;
  --gutter: 20px;

  --z-header: 40;
  --z-drawer: 60;
  --z-modal: 70;
  --z-toast: 80;
}

/* -------------------------------- reset --------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: 'kern' 1;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0;
  font-variation-settings: 'SOFT' 20, 'WONK' 0;
}
h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.15rem); }
h3 { font-size: clamp(1.12rem, 1rem + .5vw, 1.35rem); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}
::selection { background: var(--amber-soft); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px;
  font-weight: 600; transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

/* ------------------------------- layout --------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.wrap--mid { max-width: 1040px; }

.stack > * + * { margin-top: var(--gap, 16px); }
.row { display: flex; align-items: center; gap: 12px; }
.row--between { justify-content: space-between; }
.row--wrap { flex-wrap: wrap; }
.push { margin-left: auto; }

.section { padding-block: 56px; }
.section--tight { padding-block: 36px; }
.section--loose { padding-block: 80px; }
.section--tinted { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .section { padding-block: 40px; }
  .section--loose { padding-block: 52px; }
}

/* ---------------------------- tipografia aux ---------------------------- */
.eyebrow {
  font-size: .75rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--brand-deep); margin: 0 0 8px;
}
.eyebrow--muted { color: var(--ink-3); }
.lede { font-size: 1.05rem; color: var(--ink-2); max-width: 56ch; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.tiny { font-size: .8125rem; }
.strong { font-weight: 600; }
.nowrap { white-space: nowrap; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-head p { margin: 6px 0 0; color: var(--ink-2); max-width: 52ch; }
.section-head a { font-weight: 600; font-size: .9375rem; white-space: nowrap; }
@media (max-width: 640px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
}

/* ------------------------------- botoes --------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: var(--r-sm);
  padding: 11px 20px; font-weight: 600; font-size: .9375rem; line-height: 1.2;
  text-decoration: none; background: var(--ink); color: var(--paper);
  transition: background .14s ease, color .14s ease, border-color .14s ease, transform .08s ease;
  min-height: 44px;
}
.btn:hover { background: #100c09; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled='true'] {
  background: var(--paper-3); color: var(--ink-3); cursor: not-allowed; transform: none;
  border-color: var(--line);
}
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--paper-2); border-color: var(--ink-3); }
.btn--quiet { background: transparent; color: var(--ink-2); padding-inline: 8px; min-height: 36px; }
.btn--quiet:hover { background: var(--paper-2); color: var(--ink); }
.btn--sm { padding: 7px 14px; font-size: .875rem; min-height: 36px; }
.btn--lg { padding: 15px 28px; font-size: 1rem; min-height: 52px; }
.btn--block { display: flex; width: 100%; }
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover { background: #8f2b1e; }

.btn.is-loading { pointer-events: none; color: transparent; position: relative; }
.btn.is-loading::after {
  content: ''; position: absolute; inset: 0; margin: auto; width: 17px; height: 17px;
  border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%;
  color: var(--paper); animation: spin .6s linear infinite;
}
.btn--ghost.is-loading::after, .btn--quiet.is-loading::after { color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------ formularios ------------------------------ */
.field { display: block; margin-bottom: 16px; }
.field > label, .label {
  display: block; font-size: .8125rem; font-weight: 600; letter-spacing: .02em;
  color: var(--ink-2); margin-bottom: 6px;
}
.input, .select, .textarea {
  width: 100%; background: var(--card); border: 1px solid var(--line-2);
  border-radius: var(--r-sm); padding: 11px 13px; min-height: 46px;
  transition: border-color .14s ease, box-shadow .14s ease;
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-3); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-3); }
.input[disabled], .select[disabled], .textarea[disabled] {
  background: var(--paper-2); color: var(--ink-3); cursor: not-allowed;
}
.input[aria-invalid='true'], .select[aria-invalid='true'], .textarea[aria-invalid='true'] {
  border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-soft);
}
.select {
  appearance: none;
  background-image: 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.5 6 6.5l5-5' fill='none' stroke='%235a5049' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; padding-right: 36px;
}
.hint { font-size: .8125rem; color: var(--ink-3); margin-top: 5px; }
.error-text { font-size: .8125rem; color: var(--danger); margin-top: 5px; font-weight: 500; }

.field-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 16px; }
.col-2 { grid-column: span 2; } .col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; } .col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; } .col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; } .col-9 { grid-column: span 9; }
.col-12 { grid-column: span 12; }
@media (max-width: 720px) {
  .field-grid > [class^='col-'] { grid-column: span 12; }
  .field-grid > .col-4.keep, .field-grid > .col-6.keep { grid-column: span 6; }
}

.check { display: flex; align-items: flex-start; gap: 10px; font-size: .9375rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }

/* --------------------------------- avisos -------------------------------- */
.alert {
  display: flex; gap: 10px; align-items: flex-start;
  border: 1px solid var(--line-2); border-left-width: 3px;
  background: var(--card); padding: 12px 14px; border-radius: var(--r-sm);
  font-size: .9375rem;
}
.alert--ok { border-color: var(--ok); background: var(--ok-soft); color: #1e4c38; }
.alert--warn { border-color: var(--warn); background: var(--warn-soft); color: #7a5312; }
.alert--error { border-color: var(--danger); background: var(--danger-soft); color: #7d271c; }
.alert--info { border-color: var(--denim); background: var(--denim-soft); color: #2c4a68; }
.alert svg { flex: none; margin-top: 2px; }

.badge {
  display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 700;
  letter-spacing: .03em; text-transform: uppercase; padding: 4px 8px; border-radius: var(--r-xs);
  background: var(--paper-3); color: var(--ink-2);
}
.badge--sale { background: var(--brand); color: #fff; }
.badge--new { background: var(--pine); color: #fff; }
.badge--low { background: var(--warn-soft); color: var(--warn); }
.badge--out { background: var(--paper-3); color: var(--ink-3); }

.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px;
  border: 1px solid var(--line-2); border-radius: var(--r-pill); font-size: .8125rem;
  background: var(--card); text-decoration: none;
}
.pill:hover { border-color: var(--ink); }
.pill--on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.status-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--ink-3); }
.status-dot[data-tone='ok'] { background: var(--ok); }
.status-dot[data-tone='wait'] { background: var(--amber); }
.status-dot[data-tone='work'] { background: var(--denim); }
.status-dot[data-tone='off'] { background: var(--ink-3); }

/* ================================ header ================================= */
.topbar {
  background: var(--ink); color: var(--paper-2);
  font-size: .8125rem; letter-spacing: .01em;
}
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 38px; text-align: center; }
.topbar a { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(251, 247, 239, .4); }

.masthead {
  background: var(--paper); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: var(--z-header);
}
.masthead__main {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 24px; padding-block: 14px;
}
.brand { display: inline-flex; align-items: baseline; gap: 7px; text-decoration: none; }
.brand__mark {
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem;
  letter-spacing: -0.025em; font-variation-settings: 'SOFT' 40, 'WONK' 1;
}
.brand__kids {
  font-family: var(--font-text); font-size: .75rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brand-deep); transform: translateY(-1px);
}
.brand img { max-height: 44px; width: auto; }

.searchbar { position: relative; max-width: 520px; width: 100%; }
.searchbar input {
  width: 100%; border: 1px solid var(--line-2); background: var(--card);
  border-radius: var(--r-pill); padding: 10px 44px 10px 18px; min-height: 44px;
}
.searchbar input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.searchbar button {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; padding: 8px; border-radius: 50%; color: var(--ink-2);
  display: flex;
}
.searchbar button:hover { background: var(--paper-2); color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-link {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px;
  border-radius: var(--r-sm); text-decoration: none; color: var(--ink);
  font-size: .875rem; font-weight: 500; position: relative; min-height: 44px;
}
.icon-link:hover { background: var(--paper-2); }
.icon-link__label { display: none; }
@media (min-width: 1000px) { .icon-link__label { display: inline; } }
.cart-count {
  position: absolute; top: 3px; left: 24px; min-width: 18px; height: 18px;
  background: var(--brand); color: #fff; border-radius: var(--r-pill);
  font-size: .6875rem; font-weight: 700; display: grid; place-items: center; padding-inline: 4px;
}
.cart-count[hidden] { display: none; }

.mainnav { border-top: 1px solid var(--line); background: var(--paper); }
.mainnav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.mainnav__list::-webkit-scrollbar { display: none; }
.mainnav__link {
  display: block; padding: 12px 14px; text-decoration: none; font-size: .9375rem;
  font-weight: 600; white-space: nowrap; color: var(--ink);
  border-bottom: 2px solid transparent;
}
.mainnav__link:hover { border-bottom-color: var(--line-2); }
.mainnav__link[aria-current='page'] { border-bottom-color: var(--brand); }
.mainnav__link--sale { color: var(--brand-deep); }

.has-sub { position: relative; }
.subnav {
  position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--card);
  border: 1px solid var(--line); border-top: 0; padding: 8px; margin: 0; list-style: none;
  display: none; box-shadow: 0 8px 24px -14px rgba(36, 30, 26, .35);
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav { display: block; }
.subnav a { display: block; padding: 8px 12px; text-decoration: none; font-size: .9375rem; border-radius: var(--r-xs); }
.subnav a:hover { background: var(--paper-2); }

.burger { display: none; }
@media (max-width: 900px) {
  .masthead__main { grid-template-columns: auto 1fr auto; gap: 12px; }
  .searchbar { display: none; }
  .mainnav { display: none; }
  .burger { display: inline-flex; }
  .masthead__search-mobile { padding-bottom: 12px; }
}
@media (min-width: 901px) { .masthead__search-mobile { display: none; } }

/* -------------------------------- drawer -------------------------------- */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(36, 30, 26, .42); z-index: var(--z-drawer);
  opacity: 0; pointer-events: none; transition: opacity .18s ease;
}
.drawer-backdrop[data-open] { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; bottom: 0; left: 0; width: min(88vw, 360px);
  background: var(--paper); z-index: var(--z-drawer); display: flex; flex-direction: column;
  transform: translateX(-100%); transition: transform .2s ease; border-right: 1px solid var(--line);
}
.drawer[data-open] { transform: none; }
.drawer--right { left: auto; right: 0; transform: translateX(100%); border-right: 0; border-left: 1px solid var(--line); width: min(92vw, 420px); }
.drawer--right[data-open] { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer__title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.drawer__body { overflow-y: auto; padding: 8px var(--gutter) 24px; flex: 1; }
.drawer__foot { border-top: 1px solid var(--line); padding: 16px var(--gutter); background: var(--card); }
.drawer-nav { list-style: none; margin: 0; padding: 0; }
.drawer-nav a { display: block; padding: 13px 4px; text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 600; }
.drawer-nav .sub a { font-weight: 400; padding-left: 18px; color: var(--ink-2); font-size: .9375rem; }

/* ================================= arco ================================== */
/* Forma-assinatura da marca: um arco (casulo). Usada nas capas de categoria. */
.arch {
  border-radius: 50% 50% var(--r-md) var(--r-md) / 34% 34% var(--r-md) var(--r-md);
  overflow: hidden;
}
.arch--soft { border-radius: 50% 50% var(--r-md) var(--r-md) / 22% 22% var(--r-md) var(--r-md); }

/* ================================= hero ================================== */
.hero { padding-block: 32px 8px; }
.hero__grid {
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 0;
}
.hero__media {
  position: relative; grid-column: 1 / 2; grid-row: 1;
  aspect-ratio: 4 / 3; background: var(--paper-3); overflow: hidden;
  border-radius: var(--r-md);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  /* Camada quente para o texto respirar sobre qualquer foto. */
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(36, 30, 26, .34) 0%, rgba(36, 30, 26, .06) 52%, transparent 100%);
}
.hero__panel {
  grid-column: 2 / 3; grid-row: 1; background: var(--card);
  border: 1px solid var(--line); padding: 36px 34px; margin-left: -72px;
  position: relative; z-index: 2; border-radius: var(--r-md);
}
.hero__panel h1 { margin-bottom: 12px; }
.hero__panel p { color: var(--ink-2); margin-bottom: 22px; max-width: 40ch; }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__mark {
  position: absolute; top: -14px; left: 34px; background: var(--amber); color: var(--ink);
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--r-xs);
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { grid-column: 1; aspect-ratio: 16 / 11; }
  .hero__panel { grid-column: 1; grid-row: 2; margin-left: 0; margin-top: -32px; margin-inline: 12px; padding: 26px 22px; }
}

/* ------------------------------ tira de bene ----------------------------- */
.benefits { border-block: 1px solid var(--line); background: var(--paper-2); }
.benefits__list {
  display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0;
}
.benefits__item {
  display: flex; align-items: center; gap: 11px; padding: 16px 20px; min-height: 76px;
  border-left: 1px solid var(--line);
}
.benefits__item:first-child { border-left: 0; }
.benefits__item a { text-decoration: none; display: contents; }
.benefits__icon { flex: none; color: var(--brand-deep); }
.benefits__t { font-weight: 600; font-size: .9375rem; line-height: 1.25; }
.benefits__d { font-size: .8125rem; color: var(--ink-2); }
@media (max-width: 900px) {
  .benefits__list { grid-template-columns: repeat(2, 1fr); }
  .benefits__item:nth-child(odd) { border-left: 0; }
  .benefits__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 460px) {
  .benefits__item { padding: 13px 12px; min-height: 68px; }
  .benefits__d { display: none; }
}

/* ------------------------------ faixa idade ------------------------------ */
.ages { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 12px; }
.age-card {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
  min-height: 116px; padding: 16px 14px; text-decoration: none;
  border: 1px solid var(--line-2); border-radius: var(--r-md);
  background: var(--card); transition: border-color .14s ease, transform .14s ease;
}
.age-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.age-card__n { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; }
.age-card__r { font-size: .8125rem; color: var(--ink-2); }
.age-card__bar { height: 4px; border-radius: 2px; background: var(--brand); width: 34px; margin-bottom: 10px; }

/* ----------------------------- grade produtos ---------------------------- */
.products {
  display: grid; gap: 24px 20px;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
}
.products--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .products--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .products--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
}

.card { position: relative; display: flex; flex-direction: column; }
.card__media {
  position: relative; display: block; aspect-ratio: 3 / 4; background: var(--paper-2);
  overflow: hidden; border-radius: var(--r-sm); margin-bottom: 10px;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__flags { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; z-index: 2; }
.card__ph { display: grid; place-items: center; height: 100%; color: var(--ink-3); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.card__cat { font-size: .75rem; color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 3px; }
.card__name {
  font-size: .9375rem; font-weight: 500; line-height: 1.34; margin: 0 0 6px;
  font-family: var(--font-text); letter-spacing: 0;
}
.card__name a { text-decoration: none; }
.card__name a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.card__now { font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.01em; }
.card__was { font-size: .875rem; color: var(--ink-3); text-decoration: line-through; }
.card__pix { font-size: .8125rem; color: var(--pine); margin-top: 3px; font-weight: 500; }
.card__inst { font-size: .8125rem; color: var(--ink-2); margin-top: 2px; }

.card__sizes { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 9px; }
.size-chip {
  min-width: 34px; height: 32px; padding: 0 8px; display: inline-grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: var(--r-xs); background: var(--card);
  font-size: .75rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-2);
  position: relative; z-index: 2; text-decoration: none; transition: border-color .12s ease, background .12s ease;
}
.size-chip:hover { border-color: var(--ink); color: var(--ink); }
.size-chip--out { color: var(--ink-3); border-style: dashed; cursor: not-allowed; }
.size-chip--out:hover { border-color: var(--line-2); color: var(--ink-3); }

/* ---------------------------- capas de categoria ------------------------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; }
.tile { text-decoration: none; display: block; }
.tile__media {
  aspect-ratio: 3 / 4; background: var(--paper-3); overflow: hidden; margin-bottom: 12px;
  position: relative;
}
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.tile:hover .tile__media img { transform: scale(1.04); }
.tile__media::after {
  content: ''; position: absolute; inset: 0;
  background: var(--tile-accent, var(--brand)); opacity: .12; mix-blend-mode: multiply;
}
.tile__ph { display: grid; place-items: center; height: 100%; background: var(--tile-accent, var(--brand)); opacity: .18; }
.tile__name { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.tile__name::after {
  content: ''; width: 14px; height: 1px; background: currentColor; transition: width .18s ease;
}
.tile:hover .tile__name::after { width: 26px; }
.tile__count { font-size: .8125rem; color: var(--ink-2); }

/* ------------------------------ faixa promo ------------------------------ */
.promo {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--card);
}
.promo__media { position: relative; min-height: 260px; background: var(--paper-3); }
.promo__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo__body { padding: 40px 38px; display: flex; flex-direction: column; justify-content: center; }
.promo__body h2 { margin-bottom: 10px; }
.promo__body p { color: var(--ink-2); margin-bottom: 20px; max-width: 42ch; }
@media (max-width: 800px) {
  .promo { grid-template-columns: 1fr; }
  .promo__media { min-height: 200px; }
  .promo__body { padding: 26px 22px; }
}

/* ------------------------------- historia -------------------------------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.story__points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; }
.story__points li { display: flex; gap: 13px; align-items: flex-start; }
.story__points svg { flex: none; color: var(--brand-deep); margin-top: 2px; }
.story__points b { display: block; font-size: .9375rem; }
.story__points span { font-size: .875rem; color: var(--ink-2); }
.story__media { aspect-ratio: 1 / 1; background: var(--paper-3); overflow: hidden; }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; gap: 28px; }
  .story__media { aspect-ratio: 16 / 10; order: -1; }
}

/* ------------------------------ newsletter ------------------------------- */
.news { background: var(--pine); color: #fff; }
.news__inner { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding-block: 44px; }
.news h2 { color: #fff; }
.news p { color: rgba(255, 255, 255, .82); margin: 8px 0 0; }
.news__form { display: flex; gap: 8px; min-width: min(420px, 100%); max-width: 100%; }
.news__form input { min-width: 0; }
@media (max-width: 420px) {
  /* Lado a lado nao cabe: o campo de e-mail fica ilegivel e o botao empurra
     a pagina para o lado. Empilhado, os dois ficam confortaveis. */
  .news__form { flex-direction: column; }
  .news__form .btn { width: 100%; }
}
.news__form input {
  flex: 1; border: 1px solid rgba(255, 255, 255, .38); background: rgba(255, 255, 255, .1);
  color: #fff; border-radius: var(--r-sm); padding: 12px 14px; min-height: 48px;
}
.news__form input::placeholder { color: rgba(255, 255, 255, .62); }
.news__form input:focus { outline: none; border-color: #fff; background: rgba(255, 255, 255, .16); }
.news__form .btn { background: var(--amber); color: var(--ink); }
.news__form .btn:hover { background: #cc7f1c; }
@media (max-width: 800px) { .news__inner { grid-template-columns: 1fr; gap: 20px; } }

/* -------------------------------- rodape --------------------------------- */
.foot { background: var(--ink); color: var(--paper-2); padding-block: 48px 28px; margin-top: 8px; }
.foot a { color: inherit; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .brand__kids { color: var(--brand-claro); }
.foot__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.foot h3 { font-family: var(--font-text); font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(251, 247, 239, .58); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .9375rem; }
.foot__about { font-size: .9375rem; color: rgba(251, 247, 239, .76); max-width: 34ch; }
.foot__legal {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(251, 247, 239, .16);
  font-size: .8125rem; color: rgba(251, 247, 239, .62); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.foot__pay { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.foot__pay span {
  border: 1px solid rgba(251, 247, 239, .28); border-radius: var(--r-xs); padding: 3px 8px;
  font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600;
}
.foot__social { display: flex; gap: 10px; margin-top: 16px; }
.foot__social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(251, 247, 239, .28); border-radius: 50%; }
.foot__social a:hover { background: rgba(251, 247, 239, .1); }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }

/* =============================== vitrine ================================= */
.crumbs { font-size: .8125rem; color: var(--ink-2); padding-block: 14px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { color: var(--ink-3); margin-inline: 6px; }

.plp { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .plp { grid-template-columns: 1fr; gap: 16px; } }

.filters { position: sticky; top: 96px; }
.filters__group { border-bottom: 1px solid var(--line); padding-block: 16px; }
.filters__group:first-child { padding-top: 0; }
.filters__group h3 { font-family: var(--font-text); font-size: .8125rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 11px; }
.filters__opts { display: flex; flex-wrap: wrap; gap: 6px; }
.filters__list { display: grid; gap: 8px; font-size: .9375rem; }
.filters__list a { text-decoration: none; display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; }
.filters__list a:hover { color: var(--brand-deep); }
.filters__list a[aria-current='true'] { font-weight: 700; }
.filters__list em { font-style: normal; color: var(--ink-3); font-size: .8125rem; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: inline-block; position: relative; }
.swatch[aria-pressed='true']::after {
  content: ''; position: absolute; inset: -4px; border: 1.5px solid var(--ink); border-radius: 50%;
}
.color-opt { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; font-size: .6875rem; color: var(--ink-2); width: 46px; text-align: center; }

.plp__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px; flex-wrap: wrap; }
.plp__count { font-size: .875rem; color: var(--ink-2); }
.plp__sort { display: flex; align-items: center; gap: 8px; }
.plp__sort .select { min-height: 40px; padding-block: 7px; width: auto; }
.filters-toggle { display: none; }
@media (max-width: 900px) {
  .filters { display: none; }
  .filters-toggle { display: inline-flex; }
}

.chips-active { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.chip-x {
  display: inline-flex; align-items: center; gap: 6px; background: var(--paper-3);
  border: 0; border-radius: var(--r-pill); padding: 5px 8px 5px 12px; font-size: .8125rem; text-decoration: none;
}
.chip-x:hover { background: var(--line); }
.chip-x b { font-weight: 700; }

.pager { display: flex; gap: 6px; justify-content: center; align-items: center; margin-top: 44px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 40px; height: 40px; display: inline-grid; place-items: center; padding-inline: 10px;
  border: 1px solid var(--line-2); border-radius: var(--r-sm); text-decoration: none; font-size: .9375rem;
}
.pager a:hover { border-color: var(--ink); }
.pager [aria-current='page'] { background: var(--ink); color: var(--paper); border-color: var(--ink); font-weight: 600; }
.pager .is-off { color: var(--ink-3); border-style: dashed; }

.empty { text-align: center; padding: 64px 20px; border: 1px dashed var(--line-2); border-radius: var(--r-md); }
.empty h2 { margin-bottom: 8px; }
.empty p { color: var(--ink-2); margin-bottom: 20px; }

/* ============================== produto ================================== */
.pdp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 940px) { .pdp { grid-template-columns: 1fr; gap: 28px; } }

.gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
@media (min-width: 941px) {
  /* A foto acompanha a leitura da descricao em vez de deixar meia tela vazia. */
  .gallery { position: sticky; top: 96px; }
}
.gallery__thumbs { display: flex; flex-direction: column; gap: 8px; }
.gallery__thumb {
  aspect-ratio: 3 / 4; border: 1px solid var(--line); background: var(--paper-2); padding: 0;
  overflow: hidden; border-radius: var(--r-xs); cursor: pointer;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb[aria-current='true'] { border-color: var(--ink); }
.gallery__main { aspect-ratio: 3 / 4; background: var(--paper-2); overflow: hidden; border-radius: var(--r-sm); position: relative; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery__thumbs { flex-direction: row; overflow-x: auto; order: 2; }
  .gallery__thumb { width: 62px; flex: none; }
}

.pdp__cat { font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.pdp h1 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.15rem); margin: 6px 0 14px; }
.pdp__sku { font-size: .8125rem; color: var(--ink-3); }

.price-block { border-block: 1px solid var(--line); padding-block: 18px; margin-block: 18px; }
.price-block__row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-now { font-size: 1.85rem; font-weight: 700; letter-spacing: -0.02em; }
.price-was { color: var(--ink-3); text-decoration: line-through; font-size: 1.0625rem; }
.price-off { background: var(--brand); color: #fff; font-size: .8125rem; font-weight: 700; padding: 3px 8px; border-radius: var(--r-xs); }
.price-pix { margin-top: 10px; display: flex; align-items: center; gap: 8px; color: var(--pine); font-weight: 600; }
.price-pix b { font-size: 1.0625rem; }
.price-inst { margin-top: 4px; font-size: .9375rem; color: var(--ink-2); }

.opt-group { margin-bottom: 20px; }
.opt-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.opt-group__head .label { margin: 0; }
.opt-group__head a { font-size: .8125rem; color: var(--ink-2); }
.opts { display: flex; flex-wrap: wrap; gap: 7px; }
.opt {
  min-width: 46px; height: 44px; padding: 0 12px; display: inline-grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--card);
  font-weight: 600; font-size: .9375rem; cursor: pointer; position: relative;
  transition: border-color .12s ease, background .12s ease;
}
.opt:hover:not(:disabled) { border-color: var(--ink); }
.opt[aria-pressed='true'] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.opt:disabled {
  color: var(--ink-3); cursor: not-allowed; border-style: dashed; background: var(--paper-2);
}
.opt:disabled::after {
  content: ''; position: absolute; left: 5%; right: 5%; top: 50%;
  border-top: 1px solid var(--line-2); transform: rotate(-14deg);
}
.opt--color { width: 44px; padding: 0; border-radius: 50%; }
.opt--color i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(36,30,26,.14); display: block; }
.opt--color[aria-pressed='true'] { background: transparent; border-color: var(--ink); border-width: 2px; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-sm); overflow: hidden; }
.qty button { width: 42px; height: 46px; background: var(--card); border: 0; font-size: 1.1rem; color: var(--ink-2); }
.qty button:hover:not(:disabled) { background: var(--paper-2); color: var(--ink); }
.qty button:disabled { color: var(--line-2); cursor: not-allowed; }
.qty input { width: 46px; height: 46px; border: 0; text-align: center; font-weight: 600; background: var(--card); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.buy-row { display: flex; gap: 10px; align-items: stretch; margin-top: 4px; }
.buy-row .btn { flex: 1; }

.stock-note { display: flex; align-items: center; gap: 7px; font-size: .875rem; margin-top: 12px; }
.stock-note--low { color: var(--warn); font-weight: 600; }
.stock-note--out { color: var(--ink-3); }
.stock-note--ok { color: var(--ok); }

.cep-box { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px; margin-top: 22px; background: var(--card); }
.cep-box h3 { font-family: var(--font-text); font-size: .875rem; font-weight: 700; margin-bottom: 10px; }
.cep-form { display: flex; gap: 8px; }
.cep-form .input { max-width: 160px; }
.cep-results { margin-top: 12px; display: grid; gap: 8px; font-size: .9375rem; }
.cep-results .opt-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--line); }
.cep-results .opt-line:first-child { border-top: 0; }

.accordion { border-top: 1px solid var(--line); margin-top: 28px; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 15px 0; font-weight: 600; font-size: .9375rem;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; font-size: 1.2rem; color: var(--ink-2); font-weight: 400; }
.accordion details[open] summary::after { content: '−'; }
.accordion__body { padding-bottom: 18px; color: var(--ink-2); font-size: .9375rem; line-height: 1.65; }
.accordion__body ul { padding-left: 18px; margin: 0; }
.accordion__body li { margin-bottom: 5px; }

/* ================================ sacola ================================= */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; gap: 24px; } }

.cart-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line:first-child { border-top: 1px solid var(--line); }
.cart-line__img { aspect-ratio: 3 / 4; background: var(--paper-2); border-radius: var(--r-xs); overflow: hidden; }
.cart-line__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__name { font-weight: 600; font-size: .9375rem; text-decoration: none; }
.cart-line__var { font-size: .8125rem; color: var(--ink-2); margin-top: 2px; }
.cart-line__ctrl { display: flex; align-items: center; gap: 14px; margin-top: 11px; flex-wrap: wrap; }
.cart-line__price { text-align: right; font-weight: 700; white-space: nowrap; }
.cart-line__unit { font-size: .8125rem; color: var(--ink-3); font-weight: 400; margin-top: 2px; }
.link-danger {
  background: none; border: 0; font-size: .8125rem; color: var(--ink-2);
  text-decoration: underline;
  /* Area de toque confortavel: e uma acao destrutiva, errar o alvo custa caro. */
  padding: 5px 2px; min-height: 26px;
}
.link-danger:hover { color: var(--danger); }
@media (max-width: 560px) {
  .cart-line { grid-template-columns: 76px minmax(0, 1fr); }
  .cart-line__price { grid-column: 2; text-align: left; }
}

.summary { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); padding: 20px; position: sticky; top: 96px; }
.summary h2 { font-family: var(--font-text); font-size: .9375rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.summary__line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .9375rem; }
.summary__line span:first-child { color: var(--ink-2); }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 14px; font-weight: 700; font-size: 1.15rem; }
.summary__pix { background: var(--pine-soft); border-radius: var(--r-sm); padding: 10px 12px; margin-top: 12px; font-size: .875rem; color: #235349; }
.summary__pix b { display: block; font-size: 1.0625rem; }
.coupon-form { display: flex; gap: 6px; margin-top: 14px; }
.coupon-form .input { min-height: 42px; }
.coupon-tag { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--ok-soft); color: #1e4c38; border-radius: var(--r-sm); padding: 8px 10px; margin-top: 12px; font-size: .875rem; }

/* =============================== checkout ================================ */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 44px; align-items: start; }
@media (max-width: 940px) { .checkout { grid-template-columns: 1fr; gap: 26px; } }

.steps { display: flex; gap: 0; list-style: none; margin: 0 0 28px; padding: 0; counter-reset: step; border-bottom: 1px solid var(--line); }
.steps li { counter-increment: step; padding: 0 16px 12px 0; font-size: .875rem; color: var(--ink-3); display: flex; align-items: center; gap: 7px; }
.steps li::before {
  content: counter(step); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); font-size: .75rem; font-weight: 700;
}
.steps li[data-on] { color: var(--ink); font-weight: 600; }
.steps li[data-on]::before { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.steps li[data-done]::before { background: var(--ok); border-color: var(--ok); color: #fff; content: '✓'; }

.co-block { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); padding: 22px; margin-bottom: 18px; }
.co-block > h2 { font-family: var(--font-text); font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.co-block > .hint { margin-bottom: 16px; }

.ship-opt { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 13px 14px; cursor: pointer; margin-bottom: 8px; transition: border-color .12s ease, background .12s ease; }
.ship-opt:hover { border-color: var(--ink-3); }
.ship-opt input { margin-top: 3px; accent-color: var(--brand); width: 18px; height: 18px; flex: none; }
.ship-opt:has(input:checked) { border-color: var(--ink); background: var(--paper-2); }
.ship-opt__t { font-weight: 600; font-size: .9375rem; }
.ship-opt__d { font-size: .8125rem; color: var(--ink-2); }
.ship-opt__p { margin-left: auto; font-weight: 700; white-space: nowrap; }

.pay-note { display: flex; gap: 12px; align-items: flex-start; background: var(--paper-2); border-radius: var(--r-sm); padding: 14px; font-size: .875rem; color: var(--ink-2); }
.pay-methods { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.pay-methods span { border: 1px solid var(--line-2); border-radius: var(--r-xs); padding: 5px 10px; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }

.mini-line { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .875rem; }
.mini-line:last-of-type { border-bottom: 0; }
.mini-line__img { aspect-ratio: 3 / 4; background: var(--paper-2); border-radius: var(--r-xs); overflow: hidden; }
.mini-line__img img { width: 100%; height: 100%; object-fit: cover; }
.mini-line__q { color: var(--ink-3); font-size: .8125rem; }

/* ============================ pedido / conta ============================= */
.order-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: flex-start; border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 24px; }
.order-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 6px 14px; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 18px 26px; border-left: 1px solid var(--line-2); }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: -5px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.timeline li:first-child::before { background: var(--brand); }
.timeline time { display: block; font-size: .8125rem; color: var(--ink-3); }
.timeline p { margin: 2px 0 0; font-size: .9375rem; }

.account-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 820px) { .account-grid { grid-template-columns: 1fr; gap: 20px; } }
.account-nav { display: grid; gap: 2px; position: sticky; top: 96px; }
.account-nav a { padding: 10px 12px; text-decoration: none; border-radius: var(--r-sm); font-size: .9375rem; font-weight: 500; }
.account-nav a:hover { background: var(--paper-2); }
.account-nav a[aria-current='page'] { background: var(--ink); color: var(--paper); font-weight: 600; }

.data-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.data-table th { text-align: left; font-size: .75rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); font-weight: 700; padding: 0 12px 10px 0; border-bottom: 1px solid var(--line-2); }
.data-table td { padding: 13px 12px 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table tr:hover td { background: rgba(244, 237, 224, .5); }
.data-table a { text-decoration: none; font-weight: 600; }
.table-scroll { overflow-x: auto; }

/* ------------------------------- conteudo -------------------------------- */
.prose { max-width: 68ch; font-size: 1rem; line-height: 1.72; }
.prose h2 { margin: 32px 0 12px; font-size: 1.35rem; }
.prose h3 { margin: 24px 0 8px; font-size: 1.08rem; font-family: var(--font-text); font-weight: 700; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--brand-deep); }

/* --------------------------------- toast --------------------------------- */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: var(--z-toast); display: grid; gap: 8px; max-width: min(92vw, 380px); }
.toast {
  background: var(--ink); color: var(--paper); padding: 13px 15px; border-radius: var(--r-sm);
  font-size: .9375rem; display: flex; gap: 10px; align-items: flex-start;
  animation: toast-in .18s ease;
}
.toast--ok { background: #235141; }
.toast--error { background: #8f2b1e; }
.toast button { background: none; border: 0; color: inherit; opacity: .7; padding: 0 2px; margin-left: auto; }
.toast button:hover { opacity: 1; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ------------------------------- whatsapp -------------------------------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 52px; height: 52px;
  border-radius: 50%; background: #1f7a4d; color: #fff; display: grid; place-items: center;
  text-decoration: none; border: 2px solid var(--paper);
}
.wa-float:hover { background: #196340; }
@media (max-width: 640px) { .wa-float { width: 48px; height: 48px; bottom: 12px; right: 12px; } }

/* --------------------------- utilitarios finais -------------------------- */
[hidden] { display: none !important; }
.divider { height: 1px; background: var(--line); border: 0; margin-block: 24px; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; } .mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }


/* ---------------------- alvos de toque no celular -------------------------
   Link de rodape e de trilha ficam com 15-18px de altura, abaixo dos 24px
   que o WCAG 2.2 pede. Em vez de aumentar a fonte (o que estragaria a
   hierarquia), damos area de toque com padding vertical. */
@media (max-width: 900px) {
  .foot ul { gap: 2px; }
  .foot ul a {
    display: inline-block;
    padding-block: 6px;
    min-height: 24px;
  }
  .crumbs { padding-block: 10px; }
  .crumbs a {
    display: inline-block;
    padding-block: 5px;
    min-height: 24px;
  }
  .foot__legal a { padding-block: 6px; display: inline-block; }
}


/* ------------------- legibilidade em telas pequenas ------------------------ */
@media (max-width: 900px) {
  /* Selo de forma de pagamento a 11px fica no limite do legivel no celular. */
  .foot__pay span { font-size: .75rem; padding: 4px 9px; }

  /* Link solto (nao dentro de frase) precisa de area de toque propria. */
  .data-table a,
  .hint > a:only-child,
  p[style*="text-align:center"] > a {
    display: inline-block;
    padding-block: 5px;
    min-height: 24px;
  }
}


/* ------------- alvos de toque que sobraram pequenos de verdade ------------- */
@media (max-width: 900px) {
  /* Aviso do topo: e um link de largura inteira, mas so 20px de altura. */
  .topbar__inner { min-height: 44px; }
  .topbar a { display: inline-block; padding-block: 6px; }

  /* Nome do item na sacola: e o caminho de volta para o produto. */
  .cart-line__name { display: inline-block; padding-block: 4px; min-height: 26px; }

  /* Atalho para a tabela de medidas, ao lado do seletor de tamanho. */
  .opt-group__head a { display: inline-block; padding: 5px 2px; min-height: 26px; }

  /* Categoria acima do nome do produto. */
  .pdp__cat a { display: inline-block; padding-block: 4px; min-height: 24px; }

  /* Rotulo de cor no filtro (era 11px). */
  .color-opt { font-size: .75rem; }
}

/* Rotulo de caixinha: 20-23px de altura fica logo abaixo do minimo de 24px. */
@media (max-width: 900px) {
  .check { min-height: 26px; padding-block: 2px; }
  .accordion__body a { display: inline-block; padding-block: 4px; min-height: 24px; }
}
