/* Relógios EXTRI — loja */
:root {
  --bg: #0b0b0c;
  --bg-2: #121214;
  --bg-3: #1a1a1d;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f4f2ee;
  --muted: #a19d97;
  --gold: #d6b56d;
  --gold-2: #f1d891;
  --gold-ink: #1b1508;
  --tile: #f2f0eb;
  --tile-2: #e7e4dc;
  --ok: #4cc38a;
  --err: #ff6b6b;
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1240px;
  --display: "Michroma", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--gold-ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.eyebrow {
  margin: 0 0 10px;
  font: 600 12px/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-title {
  margin: 0;
  font: 400 clamp(26px, 4vw, 40px)/1.15 var(--display);
  letter-spacing: -.01em;
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--gold-ink); box-shadow: 0 10px 30px -12px rgba(214, 181, 109, .6); }
.btn--gold:hover { box-shadow: 0 14px 40px -10px rgba(214, 181, 109, .8); }
.btn--ghost { border-color: var(--line-2); background: transparent; }
.btn--ghost:hover { border-color: var(--text); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.icon-btn {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%; border: 1px solid var(--line-2); background: transparent;
}
.icon-btn:hover { border-color: var(--text); }

/* Top bar */
.topbar { background: var(--gold); color: var(--gold-ink); font-size: 13px; font-weight: 600; overflow: hidden; }
.topbar__track { display: flex; justify-content: center; gap: 40px; padding: 8px 20px; white-space: nowrap; }
@media (max-width: 860px) {
  .topbar__track { justify-content: flex-start; width: max-content; animation: marquee 22s linear infinite; }
  .topbar__track span:nth-child(n) { padding-right: 0; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Header */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 11, 12, .78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav a:hover { color: var(--text); }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--bg-2); font-size: 14px; font-weight: 600;
}
.cart-btn:hover { border-color: var(--gold); }
.cart-btn__count {
  display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-size: 12px; font-weight: 700;
}
.cart-btn.is-bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.12); } }
@media (max-width: 760px) {
  .nav { display: none; }
  .cart-btn { margin-left: auto; }
  .brand img { height: 28px; }
}
@media (max-width: 380px) { .cart-btn__label { display: none; } }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 70% at 78% 45%, rgba(214, 181, 109, .16), transparent 60%),
    radial-gradient(40% 50% at 10% 10%, rgba(255, 255, 255, .05), transparent 70%),
    var(--bg);
}
.hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 24px; min-height: min(760px, calc(100svh - 104px)); padding-top: 40px; padding-bottom: 80px; }
.hero__title {
  margin: 0 0 20px;
  font: 400 clamp(34px, 5.1vw, 84px)/1 var(--display);
  letter-spacing: -.03em; text-transform: uppercase;
  background: linear-gradient(180deg, #fff 30%, #b9b5ae);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__copy { position: relative; z-index: 5; container-type: inline-size; }
/* the title scales with its own column, so "PRESENÇA" always fits on one line */
@supports (font-size: 1cqi) { .hero__title { font-size: min(84px, 10.6cqi); white-space: nowrap; } }
.hero__lead { max-width: 500px; margin: 0 0 28px; color: var(--muted); font-size: clamp(16px, 1.6vw, 18px); }
.hero__lead strong { color: var(--text); font-weight: 600; }
.hero__price {
  display: inline-grid; grid-template-columns: auto; gap: 2px;
  padding: 16px 22px; margin-bottom: 28px;
  border: 1px solid rgba(214, 181, 109, .35); border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(214, 181, 109, .12), rgba(214, 181, 109, .02));
}
.hero__price-label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.hero__price-value { font: 400 40px/1.1 var(--display); color: var(--text); }
.hero__price-value small { font-size: .5em; }
.hero__price-sub { font-size: 13px; color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__stage { position: relative; height: clamp(360px, 52vw, 620px); }
.hero__ring {
  position: absolute; inset: 50% auto auto 50%; width: 82%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; border: 1px solid rgba(214, 181, 109, .22);
  box-shadow: inset 0 0 80px rgba(214, 181, 109, .08), 0 0 120px rgba(214, 181, 109, .08);
}
.hero__ring::after { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .08); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__watch {
  position: absolute; top: 50%; left: 50%; height: 88%; width: auto; max-width: none;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .65));
  transition: transform 1s var(--ease), opacity 1s var(--ease), filter 1s;
}
.hero__watch.is-main { transform: translate(-50%, -50%) scale(1); z-index: 3; animation: float 6s ease-in-out infinite; }
.hero__watch.is-left { transform: translate(-108%, -50%) scale(.66) rotate(-10deg); z-index: 1; opacity: .55; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .6)) brightness(.7); }
.hero__watch.is-right { transform: translate(8%, -50%) scale(.66) rotate(10deg); z-index: 1; opacity: .55; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .6)) brightness(.7); }
@keyframes float { 50% { transform: translate(-50%, -52%) scale(1); } }

.motto {
  position: absolute; left: 0; right: 0; bottom: 22px;
  display: flex; justify-content: center; align-items: center; gap: 22px;
  font: 400 12px/1 var(--display); letter-spacing: .4em; color: rgba(255, 255, 255, .35);
}
.motto i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; text-align: center; padding-top: 28px; padding-bottom: 70px; min-height: 0; }
  .hero__copy { order: 2; }
  .hero__stage { order: 1; height: clamp(300px, 78vw, 460px); }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
}
@media (max-width: 520px) {
  .hero__cta .btn { flex: 1 1 100%; }
  .motto { gap: 12px; letter-spacing: .25em; font-size: 10px; }
}

/* Trust */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; align-items: center; gap: 14px; padding: 22px 18px; }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__item svg { width: 28px; height: 28px; color: var(--gold); }
.trust__item strong { display: block; font-size: 14px; }
.trust__item span { display: block; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) {
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .trust__item { padding: 16px 10px; gap: 10px; }
  .trust__item svg { width: 22px; height: 22px; }
  .trust__item strong { font-size: 13px; }
  .trust__item span { font-size: 12px; }
}

/* Collection */
.collection { padding: 90px 0 70px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.search {
  display: flex; align-items: center; gap: 10px; width: min(340px, 100%);
  height: 48px; padding: 0 16px; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--line-2); color: var(--muted);
}
.search:focus-within { border-color: var(--gold); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); }
.search input::placeholder { color: #6f6b66; }
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin: 0 -20px 6px; padding-left: 20px; padding-right: 20px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 40px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent; color: var(--muted); font-size: 14px; font-weight: 500;
  transition: all .2s;
}
.chip:hover { color: var(--text); border-color: var(--text); }
.chip.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.result-count { margin: 10px 0 22px; font-size: 13px; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.grid__loading, .grid__empty { grid-column: 1 / -1; padding: 60px 0; text-align: center; color: var(--muted); }

.card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line);
  overflow: hidden; cursor: pointer; text-align: left; padding: 0;
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s;
  animation: rise .6s var(--ease) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.card:hover { transform: translateY(-4px); border-color: rgba(214, 181, 109, .45); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .9); }
.card__media {
  position: relative; aspect-ratio: 1; background: radial-gradient(circle at 50% 40%, #fff, var(--tile) 60%, var(--tile-2));
  overflow: hidden;
}
.card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  mix-blend-mode: multiply; transition: opacity .45s var(--ease), transform .6s var(--ease);
}
.card__media img.is-photo { object-fit: cover; mix-blend-mode: normal; }
.card__media img + img { opacity: 0; }
.card:hover .card__media img + img { opacity: 1; }
.card:hover .card__media img:first-child:not(:only-child) { opacity: 0; }
.card:hover .card__media img { transform: scale(1.04); }
.card__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 5px 10px; border-radius: 999px; background: rgba(11, 11, 12, .86); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: .04em;
}
.card__badge--kit { left: auto; right: 12px; background: var(--gold); color: var(--gold-ink); }
.card__body { display: grid; gap: 6px; padding: 16px 16px 18px; }
.card__line { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.card__title { margin: 0; font: 400 15px/1.3 var(--display); }
.card__dots { display: flex; gap: 5px; align-items: center; margin: 4px 0 2px; }
.card__dots img { width: 26px; height: 26px; border-radius: 50%; background: var(--tile); object-fit: cover; mix-blend-mode: normal; border: 1px solid var(--line-2); }
.card__dots span { font-size: 12px; color: var(--muted); margin-left: 2px; }
.card__price { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.card__price strong { font-size: 18px; font-weight: 700; }
.card__price small { font-size: 12px; color: var(--muted); }
@media (max-width: 760px) {
  .card__body { padding: 12px 12px 14px; }
  .card__title { font-size: 13px; }
  .card__dots img { width: 20px; height: 20px; }
  .card__price strong { font-size: 16px; }
  .card__price small { display: none; }
  .card__badge { top: 8px; left: 8px; font-size: 10px; padding: 4px 8px; }
  .card__badge--kit { left: auto; right: 8px; }
}

/* Lifestyle */
.lifestyle { padding: 40px 0 90px; }
.lifestyle__in {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0;
  border-radius: 28px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line);
}
.lifestyle__img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.lifestyle__copy { padding: clamp(28px, 5vw, 64px); }
.lifestyle__copy p:not(.eyebrow) { color: var(--muted); margin: 18px 0 28px; }
@media (max-width: 820px) { .lifestyle__in { grid-template-columns: 1fr; } .lifestyle__img { aspect-ratio: 4 / 3; } }

/* Steps */
.steps { padding: 80px 0; border-top: 1px solid var(--line); }
.steps__grid { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps__grid li { padding: 28px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.steps__n { display: block; margin-bottom: 18px; font: 400 28px/1 var(--display); color: var(--gold); }
.steps__grid strong { display: block; font-size: 17px; margin-bottom: 6px; }
.steps__grid p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .steps__grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { padding: 80px 0 100px; border-top: 1px solid var(--line); }
.faq__in { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; font-weight: 600; font-size: 16px;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; font-size: 22px; font-weight: 300; color: var(--gold); transition: transform .3s; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list p { margin: 0 0 22px; color: var(--muted); }
@media (max-width: 820px) { .faq__in { grid-template-columns: 1fr; gap: 16px; } }

/* Footer */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 28px; font-size: 14px; }
.footer__in { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.footer__brand img { height: 32px; width: auto; }
.footer__brand p { margin: 12px 0 0; font: 400 11px/1 var(--display); letter-spacing: .3em; color: var(--muted); text-transform: uppercase; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols div { display: grid; gap: 8px; align-content: start; color: var(--muted); }
.footer__cols strong { color: var(--text); margin-bottom: 4px; }
.footer__cols a:hover { color: var(--text); }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: #75716b; font-size: 12px; }
@media (max-width: 760px) { .footer__in, .footer__cols { grid-template-columns: 1fr; } }

/* Product dialog */
.pdp {
  width: min(1080px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
  padding: 0; border: 1px solid var(--line-2); border-radius: 26px;
  background: var(--bg-2); color: var(--text); overflow: auto;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .7);
}
.pdp::backdrop { background: rgba(0, 0, 0, .7); backdrop-filter: blur(6px); }
.pdp[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.pdp__close { position: absolute; top: 14px; right: 14px; z-index: 3; background: rgba(11, 11, 12, .75); }
.pdp__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.pdp__in > * { min-width: 0; }
.pdp__gallery { padding: 18px; background: var(--tile); color: var(--bg); }
.pdp__main { position: relative; aspect-ratio: 1; border-radius: 18px; background: radial-gradient(circle at 50% 40%, #fff, var(--tile) 65%); overflow: hidden; }
.pdp__main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; animation: fade .35s var(--ease); }
.pdp__main img.is-photo { object-fit: cover; mix-blend-mode: normal; }
@keyframes fade { from { opacity: .2; } }
.pdp__thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.pdp__thumbs button { flex: none; width: 64px; height: 64px; padding: 0; border-radius: 12px; border: 2px solid transparent; background: #fff; overflow: hidden; }
.pdp__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumbs button.is-active { border-color: var(--bg); }
.pdp__info { padding: 34px 32px 30px; display: grid; gap: 18px; align-content: start; }
.pdp__info .eyebrow { margin: 0; }
.pdp__title { margin: -8px 0 0; font: 400 clamp(22px, 3vw, 30px)/1.2 var(--display); }
.pdp__price span { display: block; font-size: 30px; font-weight: 700; }
.pdp__price small { color: var(--muted); font-size: 14px; }
.pdp__opt-head { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; }
.pdp__opt-head span { color: var(--gold); font-weight: 600; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 8px; }
.swatch {
  position: relative; aspect-ratio: 1; padding: 0; border-radius: 14px; overflow: hidden;
  border: 2px solid transparent; background: var(--tile); transition: border-color .2s, transform .2s;
}
.swatch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); }
.swatch:hover { transform: translateY(-2px); }
.swatch[aria-checked="true"] { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214, 181, 109, .25); }
.pdp__buy { display: flex; gap: 10px; }
.qty { display: flex; align-items: center; height: 52px; border: 1px solid var(--line-2); border-radius: 999px; }
.qty button { width: 42px; height: 100%; border: 0; background: transparent; font-size: 20px; }
.qty output { min-width: 22px; text-align: center; font-weight: 600; }
.pdp__perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.pdp__perks li::before { content: "✓"; color: var(--ok); margin-right: 8px; font-weight: 700; }
.pdp__specs { border-top: 1px solid var(--line); padding-top: 16px; font-size: 14px; }
.pdp__specs dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 12px 0 0; }
.pdp__specs dt { color: var(--muted); }
.pdp__specs dd { margin: 0; }
@media (max-width: 820px) {
  .pdp { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; border: 0; }
  .pdp__in { grid-template-columns: minmax(0, 1fr); }
  .pdp__gallery { padding: 12px; }
  .pdp__info { padding: 22px 20px 40px; }
}

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .3s; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%);
  display: flex; flex-direction: column; background: var(--bg-2); border-left: 1px solid var(--line-2);
  transform: translateX(100%); transition: transform .4s var(--ease); outline: 0;
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { flex: 1; margin: 0; font: 400 16px/1 var(--display); text-transform: uppercase; }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 20px; }
.drawer__foot { padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.sum { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.sum__free { color: var(--ok); font-weight: 600; }
.sum--total { color: var(--text); font-size: 18px; font-weight: 700; margin: 4px 0 6px; }
.secure-note { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.secure-note svg { width: 14px; height: 14px; }

.cart-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; }
.cart-item__img { width: 76px; height: 76px; border-radius: 14px; background: var(--tile); overflow: hidden; }
.cart-item__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cart-item__img img.is-photo { object-fit: cover; mix-blend-mode: normal; }
.cart-item__name { font: 400 13px/1.3 var(--display); }
.cart-item__opt { font-size: 13px; color: var(--muted); }
.cart-item__qty { display: inline-flex; align-items: center; margin-top: 6px; border: 1px solid var(--line-2); border-radius: 999px; height: 32px; }
.cart-item__qty button { width: 30px; height: 100%; border: 0; background: transparent; }
.cart-item__qty span { min-width: 18px; text-align: center; font-size: 14px; font-weight: 600; }
.cart-item__side { display: grid; justify-items: end; gap: 8px; font-weight: 700; }
.cart-item__rm { border: 0; background: transparent; color: var(--muted); font-size: 12px; text-decoration: underline; padding: 0; }
.cart-empty { text-align: center; padding: 50px 0; color: var(--muted); display: grid; gap: 16px; justify-items: center; }

/* Checkout form */
.checkout fieldset { border: 0; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.checkout legend { padding: 0; margin-bottom: 12px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.field { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.field input {
  height: 48px; padding: 0 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font-size: 16px; outline: 0;
  transition: border-color .2s;
}
.field input:focus { border-color: var(--gold); }
.field.is-invalid input { border-color: var(--err); }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: end; }
.field { min-width: 0; }
.field input { width: 100%; min-width: 0; }
.field-row--city { grid-template-columns: minmax(0, 1fr) 76px; }
.field-hint { margin: 0 0 14px; font-size: 12px; color: var(--muted); }
.field-hint.is-ok { color: var(--ok); }
.field-hint.is-err { color: var(--err); }
.form-error { margin: 0; padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(255, 107, 107, .1); border: 1px solid rgba(255, 107, 107, .4); color: #ffb3b3; font-size: 14px; }
@media (max-width: 400px) { .field-row:not(.field-row--city) { grid-template-columns: 1fr; } }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px);
  padding: 12px 14px 12px 18px; border-radius: 999px; background: var(--text); color: var(--bg);
  font-size: 14px; font-weight: 600; box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
  transition: transform .4s var(--ease);
}
.toast:not(.is-show) { visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s; }
.toast.is-show { transform: translate(-50%, 0); }
.toast button { border: 0; border-radius: 999px; background: var(--bg); color: var(--text); padding: 8px 14px; font-size: 13px; font-weight: 600; }

.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(27, 21, 8, .3); border-top-color: var(--gold-ink); animation: spin .8s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ===== Header: conta ===== */
.acct-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--text);
}
.acct-btn:hover { border-color: var(--gold); }
.nav + .acct-btn { margin-left: 4px; }
@media (max-width: 760px) {
  .acct-btn { margin-left: auto; padding: 0 12px; }
  .acct-btn + .cart-btn { margin-left: 0; }
  .acct-btn__label { display: none; }
}
.checkout-login { margin: 0 0 18px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bg-3); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.checkout-login a { color: var(--gold); font-weight: 600; text-decoration: underline; }

/* ===== Página de retorno do pagamento ===== */
.result { min-height: calc(100svh - 68px); display: grid; place-items: center; padding: 40px 20px; text-align: center;
  background: radial-gradient(50% 50% at 50% 30%, rgba(214, 181, 109, .14), transparent 70%), var(--bg); }
.result__card { max-width: 560px; display: grid; gap: 18px; justify-items: center; }
.result__icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--bg-2); }
.result__icon svg { width: 40px; height: 40px; }
.result__icon.ok { color: var(--ok); border-color: rgba(76, 195, 138, .5); }
.result__icon.wait { color: var(--gold); border-color: rgba(214, 181, 109, .5); }
.result__icon.bad { color: var(--err); border-color: rgba(255, 107, 107, .5); }
.result h1 { margin: 0; font: 400 clamp(24px, 4vw, 34px)/1.2 var(--display); text-transform: uppercase; }
.result p { margin: 0; color: var(--muted); }
.result__ref { padding: 10px 16px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); font-size: 14px; }
.result__ref b { color: var(--text); letter-spacing: .04em; }
.result__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.result__hint { font-size: 13px; max-width: 420px; }
.result__hint a { color: var(--gold); text-decoration: underline; }

/* ===== Minha conta / painel ===== */
.page { padding: 48px 0 90px; min-height: calc(100svh - 68px); }
.page__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.page__head p { margin: 6px 0 0; color: var(--muted); }
.panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); }
.panel h2 { margin: 0 0 16px; font: 400 16px/1.3 var(--display); text-transform: uppercase; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .account-grid { grid-template-columns: minmax(0, 1fr); } }

.login { max-width: 440px; margin: 6vh auto 0; }
.login .panel { display: grid; gap: 16px; }
.login h1 { margin: 0; font: 400 24px/1.2 var(--display); text-transform: uppercase; }
.login p { margin: 0; color: var(--muted); font-size: 15px; }
.login p b { color: var(--text); }
.code-input { letter-spacing: .5em; text-align: center; font-size: 22px !important; font-weight: 700; }
.link-btn { border: 0; background: none; padding: 0; color: var(--gold); font-size: 14px; text-decoration: underline; justify-self: start; }
.form-ok { margin: 0; padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(76, 195, 138, .1); border: 1px solid rgba(76, 195, 138, .4); color: #9be6c1; font-size: 14px; }
.account-form { display: grid; gap: 12px; }

.orders { display: grid; gap: 14px; }
.order { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: var(--bg); display: grid; gap: 12px; }
.order__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.order__ref { font-weight: 700; letter-spacing: .03em; }
.order__date { font-size: 13px; color: var(--muted); }
.order__items { display: flex; gap: 8px; flex-wrap: wrap; }
.order__items img { width: 54px; height: 54px; border-radius: 12px; background: var(--tile); object-fit: cover; }
.order__meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.order__meta strong { color: var(--text); }
.order__track { font-size: 14px; padding: 10px 12px; border-radius: 12px; background: var(--bg-3); }
.order__track b { letter-spacing: .06em; color: var(--text); }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--aguardando { color: #f3c969; background: rgba(243, 201, 105, .12); }
.status--pago { color: #6fd3a2; background: rgba(76, 195, 138, .12); }
.status--enviado { color: #8ab8ff; background: rgba(138, 184, 255, .12); }
.status--cancelado, .status--estornado { color: #ff9b9b; background: rgba(255, 107, 107, .12); }
.empty { color: var(--muted); padding: 30px 0; text-align: center; }

/* painel da loja */
.admin-order__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; font-size: 14px; color: var(--muted); }
.admin-order__grid b { display: block; color: var(--text); margin-bottom: 2px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.admin-order__items { font-size: 14px; display: grid; gap: 6px; }
.admin-order__items div { display: flex; gap: 10px; align-items: center; }
.admin-order__items img { width: 44px; height: 44px; border-radius: 10px; background: var(--tile); }
.ship-form { display: flex; gap: 10px; flex-wrap: wrap; }
.ship-form input { flex: 1 1 200px; height: 46px; padding: 0 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); text-transform: uppercase; }
.ship-form .btn { min-height: 46px; }

/* verificação da configuração (painel) */
.health { margin-bottom: 20px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: 14px; }
.checks li b { font-weight: 700; }
.checks li span { color: var(--muted); overflow-wrap: anywhere; }
.checks li.is-ok b { color: #6fd3a2; }
.checks li.is-bad { border-color: rgba(255, 107, 107, .4); }
.checks li.is-bad b { color: #ff9b9b; }

/* estoque */
.card__badge--out { background: #3a1d1d; color: #ffb3b3; }
.card.is-out .card__media img { opacity: .45; filter: grayscale(.6); }
.swatch.is-out { opacity: .4; }
.swatch.is-out::after { content: ""; position: absolute; left: -10%; top: 50%; width: 120%; height: 2px; background: #ff6b6b; transform: rotate(-45deg); }
.btn[disabled]:not(.is-busy) { cursor: not-allowed; box-shadow: none; }

/* painel: estoque */
.stock-help { margin-bottom: 16px; font-size: 14px; color: var(--muted); }
.stock-help p { margin: 0 0 14px; }
.stock-help b { color: var(--text); }
.stock-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.stock-tools input { flex: 1 1 220px; height: 46px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); }
.stock-tools span { font-size: 14px; color: var(--gold); }
.stock-list { display: grid; gap: 14px; }
.stock-model { padding: 16px; }
.stock-model__head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 12px; }
.stock-model__head span { color: var(--muted); font-size: 13px; }
.stock-model__fill { margin-left: auto; display: inline-flex; gap: 8px; align-items: center; }
.stock-model__fill input { width: 76px; height: 34px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); }
.stock-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.stock-item { display: grid; gap: 6px; justify-items: center; padding: 8px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.stock-item img { width: 64px; height: 64px; border-radius: 10px; background: var(--tile); }
.stock-item input { width: 100%; height: 36px; text-align: center; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font-weight: 700; font-size: 15px; }
.stock-item.is-zero { border-color: rgba(255, 107, 107, .5); }
.stock-item.is-zero input { color: #ff9b9b; }
