/* Site vitrine da Favo Artes (specs/11_site_vitrine). Mobile-first, tokens de docs/marca/tipografia.md. */
:root {
  color-scheme: light;
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --bg: #FBF7EF;
  --surface: #FFFFFF;
  --cera: #FBF3E4;
  --mel: #F2A71B;
  --mel-strong: #DC9410;
  --accent: #B86E00;
  --ink: #2A2118;
  --ink-2: #6B5E4F;
  --line: #EADFCB;
  --ok: #2E6B45;
  --wa: #13803F;
  --wa-strong: #0E6A33;
  --danger: #A3341F;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(42, 33, 24, .06), 0 8px 24px rgba(42, 33, 24, .06);
  --shadow-lift: 0 2px 4px rgba(42, 33, 24, .08), 0 16px 40px rgba(42, 33, 24, .12);
  --wrap: 1180px;
  --top-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body.site {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.6 var(--font-body); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5rem; letter-spacing: -.02em; }
h1 { font-weight: 800; font-size: clamp(2rem, 6vw, 3.0625rem); }
h2 { font-weight: 800; font-size: clamp(1.5625rem, 4vw, 2.4375rem); }
h3 { font-weight: 600; font-size: 1.0625rem; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--mel); outline-offset: 2px; border-radius: 6px; }

.s-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .s-wrap { padding: 0 28px; } }
.s-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.s-skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--cera); padding: .5rem 1rem; border-radius: 8px; z-index: 50; }
.s-skip:focus { left: 8px; }
.s-overline {
  font: 600 .75rem/1.2 var(--font-body); letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 .75rem;
}
.s-code { font-size: .8125rem; color: var(--ink-2); margin: 0 0 .25rem; letter-spacing: .02em; }
.s-price, .s-price-lg { font-family: var(--font-display); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.s-price small, .s-price-lg small { font: 500 .8125rem var(--font-body); color: var(--ink-2); letter-spacing: 0; }

/* Botões */
.s-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.35rem; border-radius: 999px; border: 1.5px solid var(--ink);
  background: transparent; color: var(--ink); text-decoration: none; cursor: pointer;
  font: 600 .9375rem/1.2 var(--font-body); letter-spacing: .01em; transition: background .15s, transform .15s, border-color .15s;
}
.s-btn:hover { background: var(--cera); }
.s-btn:active { transform: translateY(1px); }
.s-btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.s-btn-primary { background: var(--mel); border-color: var(--mel); color: var(--ink); }
.s-btn-primary:hover:not([disabled]) { background: var(--mel-strong); border-color: var(--mel-strong); }
.s-btn-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.s-btn-wa:hover { background: var(--wa-strong); border-color: var(--wa-strong); }
.s-btn-wa svg { width: 22px; height: 22px; }
.s-btn-sm { min-height: 40px; padding: .45rem 1rem; font-size: .875rem; }
.s-btn-block { width: 100%; }
.s-btn-grow { flex: 1; }
.s-link { background: none; border: 0; padding: .25rem 0; color: var(--accent); cursor: pointer; font-weight: 600; font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; }
.s-link-muted { color: var(--ink-2); font-weight: 500; }

/* Topo */
.s-top {
  position: sticky; top: 0; z-index: 20; height: var(--top-h);
  background: rgba(251, 247, 239, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(234, 223, 203, .8);
}
.s-top-in { height: 100%; display: flex; align-items: center; gap: 1rem; }
.s-logo img { height: 38px; width: auto; }
.s-nav { display: none; gap: .25rem; margin-left: auto; }
.s-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem; padding: .5rem .85rem; border-radius: 999px; }
.s-nav a:hover { background: var(--cera); }
.s-cart-link {
  margin-left: auto; position: relative; display: inline-flex; align-items: center; gap: .45rem;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem;
  padding: .5rem .9rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface);
}
.s-cart-link:hover { border-color: var(--ink); }
.s-cart-link svg { width: 22px; height: 22px; }
.s-cart-link span { display: none; }
.s-cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--mel); color: var(--ink);
  font: 700 .75rem/22px var(--font-body); text-align: center; font-variant-numeric: tabular-nums;
}
@media (min-width: 700px) {
  .s-logo img { height: 42px; }
  .s-nav { display: flex; }
  .s-cart-link { margin-left: .5rem; }
  .s-cart-link span { display: inline; }
}

.s-flashes { padding-top: 1rem; }
.s-flash { margin: 0 0 .5rem; padding: .8rem 1rem; border-radius: var(--radius-sm); background: #EAF4EC; color: var(--ok); font-weight: 500; }
.s-flash.warn { background: #FDF1DA; color: #7A4B00; }
.s-flash.error { background: #FBE6E1; color: var(--danger); }
.s-error { margin: .5rem 0 1rem; padding: .75rem 1rem; border-radius: var(--radius-sm); background: #FBE6E1; color: var(--danger); font-weight: 500; }

/* Apresentação: padrão de favo bem suave */
.s-hero {
  position: relative; overflow: hidden; padding: 2.5rem 0 3rem;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(242, 167, 27, .14), transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 56 16v32L28 64 0 48V16zM28 64v33' fill='none' stroke='%23B86E00' stroke-opacity='.07' stroke-width='1.2'/%3E%3C/svg%3E") 0 0 / 56px 97px,
    var(--cera);
  border-bottom: 1px solid var(--line);
}
.s-hero-in { display: grid; gap: 2rem; align-items: center; }
.s-hero h1 { max-width: 14ch; font-size: clamp(2.25rem, 8vw, 3.8125rem); line-height: 1.02; letter-spacing: -.04em; }
.s-lead { font-size: 1.125rem; color: var(--ink-2); max-width: 38ch; }
.s-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.s-hero-art { display: flex; justify-content: center; }
.s-hero-logo { width: min(240px, 55vw); height: auto; }
.s-hexes { position: relative; width: min(360px, 82vw); aspect-ratio: 1 / .95; }
.s-hex {
  position: absolute; width: 48%; aspect-ratio: 1 / 1.1547; overflow: hidden;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--surface);
  filter: drop-shadow(0 10px 24px rgba(42, 33, 24, .12));
}
.s-hex img { width: 100%; height: 100%; object-fit: cover; }
.s-hex.h1 { left: 0; top: 0; }
.s-hex.h2 { left: 51%; top: 0; }
.s-hex.h3 { left: 25.5%; top: 43%; }
@media (min-width: 860px) {
  .s-hero { padding: 4.5rem 0 5rem; }
  .s-hero-in { grid-template-columns: 1.15fr .85fr; }
}

/* Seções */
.s-section { padding: 3rem 0; }
@media (min-width: 860px) { .s-section { padding: 4.5rem 0; } }
.s-section-head { margin-bottom: 1.75rem; }
.s-section-head p:not(.s-overline) { color: var(--ink-2); margin: 0; }
.s-empty { color: var(--ink-2); }

/* Grade e cards */
.s-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .s-grid { gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .s-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.s-grid-wide { grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .s-card.wide { flex-direction: row; min-height: 320px; }
  .s-card.wide .s-card-img { aspect-ratio: auto; flex: 0 0 55%; }
  .s-card.wide .s-card-body { padding: 2rem; justify-content: center; gap: .75rem; }
  .s-card.wide .s-card-name { font-size: 1.5625rem; }
  .s-card.wide .s-card-text { font-size: 1rem; }
  .s-card.wide .s-card-foot { margin-top: .5rem; justify-content: flex-start; }
  .s-card.wide .s-price { font-size: 1.5625rem; }
}

.s-card {
  display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; overflow: hidden; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.s-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.s-card-img { position: relative; aspect-ratio: 4 / 5; background: var(--cera); overflow: hidden; }
.s-card.wide .s-card-img { aspect-ratio: 16 / 10; }
.s-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.s-card:hover .s-card-img img { transform: scale(1.04); }
.s-card.is-out .s-card-img img { filter: grayscale(.6); opacity: .75; }
.s-card-body { display: flex; flex-direction: column; gap: .35rem; padding: .85rem .9rem 1rem; flex: 1; }
.s-card-name { font: 600 .9375rem/1.3 var(--font-display); letter-spacing: -.01em; }
.s-card.wide .s-card-name { font-size: 1.25rem; }
.s-card-text { color: var(--ink-2); font-size: .875rem; line-height: 1.5; }
.s-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.s-card .s-price { font-size: 1.0625rem; }
@media (min-width: 700px) { .s-card-body { padding: 1rem 1.1rem 1.15rem; } .s-card-name { font-size: 1rem; } .s-card .s-price { font-size: 1.25rem; } }

.s-tag {
  position: absolute; left: 10px; top: 10px; padding: .28rem .6rem; border-radius: 999px;
  font: 600 .6875rem/1.2 var(--font-body); letter-spacing: .04em; background: rgba(255, 255, 255, .92); color: var(--ink);
}
.s-tag.ready { background: #E4F1E7; color: var(--ok); }
.s-tag.kit { background: var(--mel); color: var(--ink); }
.s-tag.out { background: var(--ink); color: var(--cera); }

.s-dots { display: inline-flex; align-items: center; gap: 4px; }
.s-dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(42, 33, 24, .2); }
.s-dots i.off { position: relative; opacity: .5; }
.s-dots i.off::after { content: ""; position: absolute; left: -1px; right: -1px; top: 50%; height: 1.5px; background: var(--ink); transform: rotate(-45deg); }
.s-dots em { font-style: normal; font-size: .75rem; color: var(--ink-2); }

.s-noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--mel); background: var(--cera); }
.s-noimg svg { width: 34%; max-width: 72px; }

/* Como pedir */
.s-steps-wrap { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.s-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 700px) { .s-steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.s-steps li { padding: 1.25rem; border-radius: var(--radius); background: var(--bg); }
.s-steps b {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 44px; margin-bottom: .75rem;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--mel);
  font: 800 1rem var(--font-display);
}
.s-steps p { margin: 0; color: var(--ink-2); }

/* Sobre */
.s-about-in { display: grid; gap: 2rem; align-items: center; }
.s-about-in > img { width: 150px; height: auto; }
.s-about-in p { max-width: 62ch; color: var(--ink-2); font-size: 1.0625rem; }
.s-about-links { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 760px) { .s-about-in { grid-template-columns: 220px 1fr; gap: 3rem; } .s-about-in > img { width: 200px; } }

/* Rodapé */
.s-foot { background: var(--ink); color: var(--cera); padding: 3rem 0 2rem; }
.s-foot-in { display: grid; gap: 1rem; justify-items: start; }
.s-foot-logo { height: 46px; width: auto; }
.s-foot p { color: rgba(251, 243, 228, .75); margin: 0; }
.s-foot-links { list-style: none; padding: 0; margin: .5rem 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.s-foot-links a { color: var(--mel); font-weight: 600; text-decoration: none; }
.s-foot-links a:hover { text-decoration: underline; }
.s-foot small { color: rgba(251, 243, 228, .55); }

/* Produto */
.s-crumbs { padding-top: 1.25rem; padding-bottom: .75rem; font-size: .875rem; color: var(--ink-2); }
.s-crumbs a { color: var(--ink-2); }
.s-crumbs span { margin: 0 .35rem; opacity: .6; }
.s-product { display: grid; gap: 1.5rem; padding-bottom: 3rem; }
@media (min-width: 860px) { .s-product { grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; padding-bottom: 4.5rem; } }
.s-gallery { display: grid; gap: .75rem; }
@media (min-width: 860px) { .s-gallery { position: sticky; top: calc(var(--top-h) + 16px); } }
.s-gallery-main {
  aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow);
  margin: 0 -16px; border-radius: 0;
}
@media (min-width: 700px) { .s-gallery-main { margin: 0; border-radius: var(--radius); } }
.s-gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.s-gallery-main img.is-loading { opacity: .4; }
/* Foto real: inteira, sem cortar, seja horizontal ou vertical */
.s-gallery-zoom { position: relative; display: block; width: 100%; height: 100%; cursor: zoom-in; background: var(--cera); }
.s-gallery-zoom img { object-fit: contain; }
.s-zoom-hint {
  position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 50%; background: rgba(255, 255, 255, .88); color: var(--ink); box-shadow: var(--shadow);
  opacity: .85; transition: opacity .2s, transform .2s;
}
.s-gallery-zoom:hover .s-zoom-hint { opacity: 1; transform: scale(1.06); }

/* Janela de visualização das fotos */
html:has(.s-lightbox[open]) { overflow: hidden; }
.s-lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(20, 15, 10, .97); color: #fff; overscroll-behavior: contain;
}
.s-lightbox::backdrop { background: rgba(20, 15, 10, .6); }
.s-lightbox[open] { display: grid; place-items: center; animation: s-lb-in .18s ease-out; }
@keyframes s-lb-in { from { opacity: 0; } }
.s-lightbox-img {
  max-width: calc(100vw - 32px); max-height: calc(100dvh - 120px); width: auto; height: auto;
  object-fit: contain; border-radius: var(--radius-sm); user-select: none; -webkit-user-drag: none;
}
@media (min-width: 860px) { .s-lightbox-img { max-width: calc(100vw - 180px); max-height: calc(100dvh - 96px); } }
.s-lightbox-btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0 0 4px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer;
  font: 400 2rem/1 var(--font-body); transition: background .2s;
}
.s-lightbox-btn:hover { background: rgba(255, 255, 255, .26); }
.s-lightbox-close { top: 12px; right: 12px; }
.s-lightbox-prev, .s-lightbox-next { top: 50%; transform: translateY(-50%); }
.s-lightbox-prev { left: 12px; }
.s-lightbox-next { right: 12px; }
@media (max-width: 699px) { .s-lightbox-prev, .s-lightbox-next { top: auto; bottom: 16px; transform: none; } }
.s-lightbox-count {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); margin: 0;
  font: 500 .875rem var(--font-body); font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .8);
}
.s-lightbox.is-single .s-lightbox-prev, .s-lightbox.is-single .s-lightbox-next, .s-lightbox.is-single .s-lightbox-count { display: none; }
.s-gallery-thumbs { display: flex; gap: .5rem; overflow-x: auto; padding: 2px; scrollbar-width: thin; }
.s-gallery-thumbs button {
  flex: 0 0 68px; height: 68px; padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm);
  overflow: hidden; cursor: pointer; background: var(--surface);
}
.s-gallery-thumbs button.is-on { border-color: var(--ink); }
.s-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.s-info h1 { font-size: clamp(1.75rem, 5vw, 2.4375rem); margin-bottom: .75rem; }
.s-price-lg { font-size: 1.75rem; margin: 0 0 .5rem; }
.s-avail { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .875rem; margin-bottom: 1.5rem; }
.s-avail::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ink-2); }
.s-avail.ready { color: var(--ok); } .s-avail.ready::before { background: var(--ok); }
.s-avail.order { color: var(--accent); } .s-avail.order::before { background: var(--mel); }
.s-avail.out { color: var(--danger); } .s-avail.out::before { background: var(--danger); }
.s-avail.kit::before { background: var(--mel); }

.s-buy { padding: 1.25rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.s-colors { border: 0; padding: 0; margin: 0 0 1.25rem; }
.s-colors legend { padding: 0; margin-bottom: .65rem; font-size: .9375rem; color: var(--ink-2); }
.s-colors legend strong { color: var(--ink); }
.s-extra-label { font-style: normal; font-size: .75rem; font-weight: 600; color: var(--accent); background: var(--cera); padding: .1rem .45rem; border-radius: 999px; margin-left: .25rem; }
.s-off-label { font-style: normal; font-size: .75rem; font-weight: 600; color: var(--danger); background: #FBE6E1; padding: .1rem .45rem; border-radius: 999px; margin-left: .25rem; }
.s-swatches { display: flex; flex-wrap: wrap; gap: .6rem; }
.s-swatch { position: relative; display: inline-flex; cursor: pointer; border-radius: 50%; }
.s-swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.s-swatch span {
  width: 40px; height: 40px; border-radius: 50%; background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(42, 33, 24, .18), 0 0 0 3px var(--bg), 0 0 0 4px transparent; transition: box-shadow .15s;
}
.s-swatch:hover span { box-shadow: inset 0 0 0 1px rgba(42, 33, 24, .18), 0 0 0 3px var(--bg), 0 0 0 4.5px var(--line); }
.s-swatch input:checked + span, .s-swatch.is-viewing span { box-shadow: inset 0 0 0 1px rgba(42, 33, 24, .18), 0 0 0 3px var(--bg), 0 0 0 5px var(--ink); }
.s-swatch input:focus-visible + span { outline: 3px solid var(--mel); outline-offset: 4px; }
.s-swatch.off span { opacity: .45; }
.s-swatch.off::after {
  content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 2px; background: var(--ink);
  transform: rotate(-45deg); pointer-events: none;
}
.s-swatches.small { gap: .45rem; margin-bottom: .75rem; }
.s-swatches.small .s-swatch span { width: 26px; height: 26px; }
.s-swatches.small .s-swatch.off::after { left: 2px; right: 2px; }
.s-swatches.small .s-swatch input[disabled] { cursor: not-allowed; }

.s-buy-row { display: flex; gap: .75rem; align-items: stretch; }
.s-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); }
.s-qty button { width: 42px; height: 46px; border: 0; background: none; font-size: 1.25rem; cursor: pointer; color: var(--ink); border-radius: 999px; }
.s-qty button:hover { background: var(--cera); }
.s-qty input { width: 40px; border: 0; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; background: none; -moz-appearance: textfield; appearance: textfield; }
.s-qty input::-webkit-outer-spin-button, .s-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.s-qty-sm button { width: 34px; height: 36px; font-size: 1.1rem; }
.s-qty-sm input { width: 32px; }

.s-desc p { color: var(--ink-2); max-width: 62ch; white-space: pre-line; }
.s-help { font-size: .9375rem; color: var(--ink-2); }

/* Barra de compra fixa no celular */
.s-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; display: flex; align-items: center; gap: 1rem;
  padding: .65rem 16px calc(.65rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(42, 33, 24, .08);
  transform: translateY(110%); transition: transform .25s ease;
}
.s-sticky.is-on { transform: none; }
.s-sticky .s-btn { flex: 1; }
.s-sticky-price { font: 800 1.125rem var(--font-display); font-variant-numeric: tabular-nums; }
@media (min-width: 860px) { .s-sticky { display: none; } }

/* Kit */
@media (min-width: 860px) { .s-kit-head { grid-template-columns: .8fr 1.2fr; } .s-kit-head .s-gallery { position: static; } }
.s-kit-title { grid-column: 1 / -1; margin: 0; }
.s-kit-rule { padding: .85rem 1rem; border-radius: var(--radius-sm); background: var(--cera); border-left: 4px solid var(--mel); }
.s-kit { display: grid; gap: 1.5rem; padding-bottom: 3rem; }
@media (min-width: 960px) { .s-kit { grid-template-columns: 1fr 340px; align-items: start; padding-bottom: 4.5rem; } }
.s-kit-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .s-kit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.s-kit-item { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); padding: .6rem .6rem .9rem; box-shadow: var(--shadow); position: relative; }
.s-kit-item.is-out { opacity: .6; }
.s-kit-item h3 { font-size: .9375rem; margin: .65rem .2rem .15rem; }
.s-kit-item .s-code { margin: 0 .2rem .5rem; }
.s-kit-item .s-swatches { margin-left: .2rem; }
.s-kit-item .s-btn { margin-top: auto; }
.s-kit-img { aspect-ratio: 1 / 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--cera); }
.s-kit-img img { width: 100%; height: 100%; object-fit: cover; }
.s-kit-item .s-picked {
  position: absolute; top: 14px; right: 14px; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px;
  background: var(--ink); color: var(--cera); font: 700 .8125rem/28px var(--font-body); text-align: center;
}

.s-tray {
  position: sticky; bottom: 0; z-index: 12; background: var(--surface); border-radius: var(--radius) var(--radius) 0 0;
  padding: 1rem 16px calc(1rem + env(safe-area-inset-bottom)); margin: 0 -16px; box-shadow: 0 -10px 30px rgba(42, 33, 24, .12);
}
@media (min-width: 960px) {
  .s-tray { top: calc(var(--top-h) + 16px); bottom: auto; margin: 0; border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow-lift); }
}
.s-tray h2 { font-size: 1.25rem; margin: 0 0 .5rem; }
.s-tray-bar { height: 6px; border-radius: 999px; background: var(--cera); overflow: hidden; margin-bottom: .85rem; }
.s-tray-bar i { display: block; height: 100%; width: 0; background: var(--mel); transition: width .25s ease; }
.s-tray.is-full .s-tray-bar i { background: var(--ok); }
.s-tray-list { list-style: none; margin: 0 0 .75rem; padding: 0; display: grid; gap: .4rem; max-height: 30vh; overflow-y: auto; }
@media (min-width: 960px) { .s-tray-list { max-height: 50vh; } }
.s-tray-list li { display: flex; align-items: center; gap: .6rem; font-size: .875rem; }
.s-tray-list img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; background: var(--cera); }
.s-tray-list .s-tray-name { flex: 1; line-height: 1.3; }
.s-tray-list .s-tray-name small { display: block; color: var(--ink-2); }
.s-tray-list button { border: 0; background: var(--cera); width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 1rem; color: var(--ink); }
.s-tray-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 .75rem; font-size: .875rem; color: var(--ink-2); }
.s-tray-total strong { font: 800 1.125rem var(--font-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.s-tray-savings { margin: -.35rem 0 .85rem; }
.s-tray-separate { display: flex; justify-content: space-between; margin: 0 0 .5rem; font-size: .875rem; color: var(--ink-2); }
.s-tray-separate s { font-variant-numeric: tabular-nums; }
.s-tray-saved { margin: 0; padding: .55rem .75rem; border-radius: var(--radius-sm); background: #E6F0E9; color: var(--ok); font-size: .9375rem; font-weight: 600; text-align: center; }
.s-tray-saved strong { font: 800 1.0625rem var(--font-display); font-variant-numeric: tabular-nums; }
.s-tray-saved em { font-style: normal; font-weight: 500; }
.s-tray-empty, .s-tray-note { color: var(--ink-2); font-size: .875rem; margin: 0 0 .75rem; }
.s-tray-note { margin: .5rem 0 0; text-align: center; }

/* Carrinho */
.s-cart-page { padding-top: 2rem; padding-bottom: 4rem; }
.s-cart-grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .s-cart-grid { grid-template-columns: 1fr 360px; align-items: start; gap: 2rem; } }
.s-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.s-line { display: grid; grid-template-columns: 76px 1fr; gap: .9rem; background: var(--surface); border-radius: var(--radius); padding: .85rem; box-shadow: var(--shadow); }
@media (min-width: 600px) { .s-line { grid-template-columns: 96px 1fr auto; padding: 1rem; } }
.s-line-img { width: 76px; height: 76px; border-radius: var(--radius-sm); overflow: hidden; background: var(--cera); }
@media (min-width: 600px) { .s-line-img { width: 96px; height: 96px; } }
.s-line-img img { width: 100%; height: 100%; object-fit: cover; }
.s-line-name { font: 600 1rem/1.3 var(--font-display); color: var(--ink); text-decoration: none; }
.s-line-meta { font-size: .8125rem; color: var(--ink-2); margin: .2rem 0 .5rem; }
.s-line-color { display: inline-flex; align-items: center; gap: .3rem; }
.s-line-color i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(42, 33, 24, .2); }
.s-picks { list-style: none; margin: 0 0 .65rem; padding: .5rem .65rem; display: grid; gap: .35rem; background: var(--bg); border-radius: var(--radius-sm); }
.s-picks li { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; }
.s-picks img, .s-picks .s-noimg { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; flex: none; }
.s-line-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.s-line-price { grid-column: 2; display: flex; flex-direction: column; font-variant-numeric: tabular-nums; }
.s-line-price strong { font: 800 1.0625rem var(--font-display); }
.s-line-price small { color: var(--ink-2); font-size: .8125rem; }
@media (min-width: 600px) { .s-line-price { grid-column: 3; text-align: right; } }

.s-summary { background: var(--surface); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); display: grid; gap: .85rem; }
@media (min-width: 900px) { .s-summary { position: sticky; top: calc(var(--top-h) + 16px); } }
.s-summary h2 { font-size: 1.25rem; margin: 0; }
.s-summary-row { display: flex; justify-content: space-between; align-items: baseline; margin: 0; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.s-summary-row .s-price { font-size: 1.75rem; }
.s-summary form { text-align: center; }
.s-note { font-size: .8125rem; color: var(--ink-2); margin: 0; }
.s-message summary { cursor: pointer; font-size: .875rem; color: var(--ink-2); }
.s-message pre { white-space: pre-wrap; font: .8125rem/1.5 var(--font-body); background: var(--bg); padding: .75rem; border-radius: var(--radius-sm); margin: .5rem 0 0; }
.s-empty-cart { display: grid; justify-items: center; gap: 1rem; text-align: center; padding: 3rem 0; color: var(--ink-2); }
.s-empty-cart .s-noimg { width: 96px; height: 96px; border-radius: 50%; }
.s-error-page { padding: 4rem 16px 5rem; text-align: center; display: grid; justify-items: center; }
.s-error-page p:not(.s-overline) { color: var(--ink-2); max-width: 46ch; }
