/* FreoFigures / Coleção viva — v2. Tokens e estilos exclusivos da página. */

:root {
  --bg: #111211;
  --surface: #1b1d1a;
  --ink: #f4f2ec;
  --muted: #b4b6ae;
  --dim: #898d82;
  --line: #343830;
  --gold: #e9c972;
  --green: #c4d9ad;
  --ease: cubic-bezier(.2,.8,.2,1);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Space Grotesk',system-ui,sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

body.modal-open {
  overflow: hidden;
}

h1,h2,h3,p {
  margin: 0;
}

h1,h2,h3 {
  font-family: Outfit,system-ui,sans-serif;
}

button,input,textarea {
  font: inherit;
}

button,a,input,summary {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .42;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
  width: 22px;
  height: 22px;
}

img {
  display: block;
  max-width: 100%;
}

button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,[tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}

.hidden,[hidden] {
  display: none!important;
}

section {
  scroll-margin-top: 96px;
}

::selection {
  background: var(--gold);
  color: var(--bg);
}

.skip-link {
  position: fixed;
  left: 12px;
  top: -100px;
  z-index: 500;
  background: var(--gold);
  color: #111;
  padding: 12px;
}

.skip-link:focus {
  top: 10px;
}

.noscript-note {
  padding: 24px;
  text-align: center;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 16px max(28px,calc((100vw - 1420px)/2));
  background: rgba(17,18,17,.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  font-family: Outfit,sans-serif;
  font-size: 20px;
  letter-spacing: -.7px;
  font-weight: 800;
  white-space: nowrap;
}

.brand span {
  font-weight: 300;
  color: var(--muted);
}

.brand i {
  font-size: 25px;
  color: var(--gold);
  font-style: normal;
  margin-left: 12px;
}

.section-links {
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: var(--muted);
}

.section-links a {
  position: relative;
  padding: 6px 0;
}

.section-links a:after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right .3s;
}

.section-links a:hover:after {
  right: 0;
}

.nav-bag {
  font-size: 14px;
  border: 1px solid #505548;
  border-radius: 99px;
  padding: 9px 18px;
}

.nav-bag span {
  margin-left: 14px;
}

.nav-bag:hover {
  background: var(--ink);
  color: var(--bg);
}

.product-shell,.content-section,.loading-shell {
  width: min(100% - 64px,1360px);
  margin: auto;
}

.editorial-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 54px 0 38px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .15em;
  color: var(--gold);
}

.small-spark {
  font-size: 17px;
  margin-right: 6px;
}

.editorial-title {
  font-family: Outfit,sans-serif;
  font-size: clamp(42px,5.9vw,84px);
  line-height: .99;
  letter-spacing: -.05em;
  margin-top: 18px;
  font-weight: 500;
}

.editorial-title em,.section-heading em {
  font-style: normal;
  color: var(--gold);
}

.edition-stamp {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--muted);
  text-align: right;
}

.edition-stamp>span:first-child {
  font-size: 18px;
  color: var(--ink);
}

.edition-stamp a {
  margin-top: 22px;
  font-size: 14px;
  letter-spacing: 0;
  color: var(--ink);
}

.edition-stamp a span {
  display: inline-block;
  margin-left: 10px;
  transition: transform .25s;
}

.edition-stamp a:hover span {
  transform: translateY(4px);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(0,1fr);
  align-items: start;
  gap: clamp(30px,5vw,72px);
}

.product-gallery {
  position: sticky;
  top: 104px;
  min-width: 0;
}

.media-stage {
  --stage-bg: #dedfd7;
  --stage-ink: #252922;
  --stage-soft: #656b5d;
  position: relative;
  aspect-ratio: 1/1.04;
  background: var(--stage-bg);
  color: var(--stage-ink);
  border-radius: 8px 8px 56px 8px;
  overflow: hidden;
  isolation: isolate;
  transition: background .45s,color .45s;
}

.media-stage[data-tone=dark] {
  --stage-bg: #252b28;
  --stage-ink: #f0f2e9;
  --stage-soft: #b4bfae;
}

.media-stage:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at var(--pointer-x,50%) var(--pointer-y,40%),#ffffff30,transparent 60%);
  pointer-events: none;
}

.stage-word {
  position: absolute;
  top: 17%;
  left: 0;
  right: 0;
  text-align: center;
  font-family: Outfit,sans-serif;
  font-size: clamp(90px,15vw,210px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.085em;
  color: var(--stage-ink);
  opacity: .065;
  pointer-events: none;
  user-select: none;
}

.stage-topline,.stage-bottomline {
  position: absolute;
  left: 24px;
  right: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

.stage-topline {
  top: 24px;
  font-size: 12px;
  letter-spacing: .15em;
  color: var(--stage-soft);
}

.stage-counter {
  font-variant-numeric: tabular-nums;
  color: var(--stage-ink);
}

.stage-bottomline {
  bottom: 25px;
  font-size: 12px;
  color: var(--stage-soft);
}

.zoom-launch {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 11px 16px;
  background: var(--stage-ink);
  color: var(--stage-bg);
  border: 0;
  border-radius: 99px;
  font-size: 14px;
  transition: transform .2s;
}

.zoom-launch:hover {
  transform: translateY(-3px);
}

.zoom-launch span {
  font-size: 20px;
  line-height: 1;
}

.gallery-media {
  position: absolute;
  inset: 66px 34px 82px;
  display: grid;
  place-items: center;
  touch-action: pan-y;
}

.gallery-media>button {
  height: 100%;
  width: 100%;
  border: 0;
  background: none;
  padding: 0;
  cursor: zoom-in;
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 25px 22px #00000028);
  transform: translate(var(--move-x,0),var(--move-y,0));
  transition: transform .5s var(--ease);
}

.gallery-media video,.gallery-media iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background: #111;
}

.gallery-media .media-enter {
  animation: photoEnter .65s var(--ease);
}

@keyframes photoEnter {
  from {
    opacity: 0;
    transform: translateY(15px) scale(.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.media-empty {
  text-align: center;
  color: var(--stage-soft);
  font-size: 16px;
  max-width: 230px;
}

.media-empty span {
  display: block;
  font-size: 48px;
  margin-bottom: 12px;
}

.gallery-nav {
  position: absolute;
  top: 47%;
  z-index: 5;
  width: 42px;
  height: 42px;
  border: 1px solid #7b84783d;
  background: var(--stage-bg);
  color: var(--stage-ink);
  border-radius: 50%;
  font-size: 20px;
  transition: background .2s,transform .2s;
}

.gallery-prev {
  left: 12px;
}

.gallery-next {
  right: 12px;
}

.gallery-nav:hover {
  transform: scale(1.08);
  background: var(--stage-ink);
  color: var(--stage-bg);
}

.gallery-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #00000010;
}

.gallery-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: #888b47;
  transition: width .5s var(--ease);
}

.gallery-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 18px 0 12px;
}

.tone-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 99px;
  gap: 2px;
}

.tone-switch button {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  min-height: 34px;
}

.tone-switch button[aria-pressed=true] {
  background: var(--ink);
  color: var(--bg);
}

.tone-switch i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid #8f9286;
}

.tone-light {
  background: #dedfd7;
}

.tone-dark {
  background: #252b28;
}

.gallery-instruction {
  font-size: 12px;
  color: var(--muted);
}

.thumbs-grid {
  display: flex;
  gap: 10px;
  overflow: auto;
  padding: 6px 4px 10px;
  scrollbar-width: thin;
  scrollbar-color: #5e644e transparent;
}

.thumb {
  flex: 0 0 76px;
  position: relative;
  width: 76px;
  height: 76px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #20231f;
  color: var(--ink);
  transition: background .2s,transform .3s var(--ease),border-color .2s;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.thumb:hover {
  transform: translateY(-3px);
}

.thumb.active {
  background: #363c2d;
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.thumb .play-icon {
  font-size: 25px;
}

.gallery-note {
  font-size: 12px;
  color: var(--dim);
  margin: 4px 0 0;
}

.product-panel {
  min-width: 0;
  padding: 22px 0 0;
}

.product-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.rating-jump {
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 14px;
}

.rating-jump:hover {
  color: var(--gold);
}

#product-title {
  font-size: clamp(29px,3.25vw,48px);
  line-height: 1.09;
  letter-spacing: -.035em;
  font-weight: 500;
  text-wrap: balance;
}

#product-title.long-title {
  font-size: clamp(27px,2.5vw,37px);
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.product-tags:empty {
  display: none;
}

.tag-pill {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 12px;
  color: var(--muted);
}

.price-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 23px;
}

#price-main {
  font-family: Outfit,sans-serif;
  font-size: 34px;
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
}

#price-promo {
  color: var(--dim);
  font-size: 14px;
}

.discount-badge {
  align-self: center;
  background: #d1e5b916;
  color: var(--green);
  font-size: 12px;
  border: 1px solid #a8c99035;
  border-radius: 4px;
  padding: 3px 6px;
}

.price-caption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

.stock-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  font-size: 12px;
  margin-top: 12px;
  color: var(--green);
}

.stock-badge:before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.stock-badge.low {
  color: var(--gold);
}

.stock-badge.out {
  color: #efa394;
}

.kit-purchase-card {
  position: relative;
  overflow: hidden;
  margin-top: 22px;
  padding: 20px;
  border: 1px solid #b9a05375;
  border-radius: 12px;
  background: linear-gradient(125deg,#302b1e,#1a1e18 63%);
}

.kit-purchase-card:after {
  content: 'KIT';
  position: absolute;
  right: -7px;
  bottom: -31px;
  color: #e9c97212;
  font: 900 88px/1 Outfit,sans-serif;
  letter-spacing: -.08em;
  pointer-events: none;
}

.kit-purchase-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: .12em;
}

.kit-purchase-head strong {
  border: 1px solid #d1ba6952;
  border-radius: 999px;
  padding: 2px 7px;
  color: var(--green);
  font-size: 10px;
  letter-spacing: .02em;
}

.kit-purchase-card h2 {
  position: relative;
  z-index: 1;
  margin: 11px 0 4px;
  max-width: 290px;
  font-size: 22px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -.035em;
}

.kit-purchase-price {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 13px;
}

.kit-purchase-price s {
  color: #aaa898;
}

.kit-purchase-price strong {
  color: var(--gold);
  font-weight: 600;
}

.kit-purchase-items {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 7px;
  margin-top: 16px;
}

.kit-purchase-item {
  min-width: 0;
}

.kit-purchase-item img,
.kit-purchase-item .kit-item-empty {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid #e9c9722e;
  border-radius: 6px;
  background: #11150f;
  object-fit: cover;
}

.kit-item-empty {
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 16px;
}

.kit-purchase-item span {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.configuration-heading {
  margin: 30px 0 15px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.configuration-heading h2 {
  font-size: 26px;
  letter-spacing: -.03em;
  font-weight: 500;
}

.configuration-heading>span {
  font-size: 12px;
  color: var(--muted);
}

.variant-step {
  margin: 0 0 22px;
  min-width: 0;
  border: 0;
  padding: 0;
}

.variant-step legend {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 0;
  margin-bottom: 12px;
  font-size: 16px;
}

.step-number {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border: 1px solid #505647;
  border-radius: 50%;
  font-size: 11px;
  color: var(--muted);
  transition: all .3s;
}

.variant-step.complete .step-number {
  background: var(--green);
  border-color: var(--green);
  color: #1c2416;
}

.step-selection {
  margin-left: auto;
  color: var(--gold);
  font-size: 12px;
  max-width: 48%;
  text-align: right;
}

.variant-options {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 9px;
}

.variant-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  width: 100%;
  text-align: left;
  padding: 14px 12px;
  min-height: 65px;
  border: 1px solid #444a3b;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  transition: background .2s,border-color .2s,transform .25s var(--ease);
}

.variant-btn:hover {
  background: #282d23;
  border-color: #8e9477;
  transform: translateY(-2px);
}

.variant-btn.active {
  border-color: var(--gold);
  background: #e9c9720d;
  box-shadow: inset 0 0 0 1px var(--gold);
}

.variant-copy {
  flex: 1;
  min-width: 0;
}

.variant-price-tag {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.option-check {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  border: 1px solid #72765f;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: transparent;
}

.active .option-check {
  background: var(--gold);
  border-color: var(--gold);
  color: #171b12;
}

.color-swatch {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  border-radius: 50%;
  border: 1px solid #8e9477;
  box-shadow: inset 0 0 0 3px #0000000a;
}

.size-mark {
  display: flex;
  align-items: flex-end;
  width: 25px;
  height: 29px;
  flex: 0 0 25px;
  padding: 0 5px;
  border-bottom: 1px solid #555e45;
}

.size-mark i {
  display: block;
  width: 12px;
  min-height: 8px;
  background: var(--green);
  opacity: .65;
  border-radius: 2px 2px 0 0;
  transition: opacity .3s;
}

.active .size-mark i {
  opacity: 1;
  background: var(--gold);
}

.variant-step.invalid legend {
  color: #efa394;
}

.variant-step.invalid .variant-btn {
  border-color: #e19878;
}

.variant-error {
  color: #efa394;
  font-size: 13px;
  margin-top: 8px;
}

.variant-step.complete .variant-error {
  display: none;
}

.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 21px 0;
}

.quantity-row label {
  font-size: 16px;
}

.quantity-row p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

.quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid #444a3b;
  border-radius: 99px;
  flex-shrink: 0;
}

.quantity-control button {
  border: 0;
  background: transparent;
  color: var(--ink);
  width: 42px;
  height: 44px;
  font-size: 20px;
}

.quantity-control button:hover:not(:disabled) {
  color: var(--gold);
}

.quantity-control output {
  min-width: 28px;
  text-align: center;
  font-size: 14px;
}

.selection-receipt {
  padding: 20px;
  border: 1px solid #4a513e;
  border-radius: 12px;
  background: linear-gradient(115deg,#252b21,#1b1f18);
  transition: border-color .3s;
}

.selection-receipt.ready {
  border-color: #8a986b;
}

.receipt-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted);
}

#selection-state {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0;
}

.selection-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 13px 0 17px;
  min-height: 30px;
}

.selection-chip {
  padding: 5px 8px;
  background: #ffffff08;
  border: 1px solid #66734c5c;
  border-radius: 4px;
  color: var(--ink);
  font-size: 12px;
}

.selection-chip.missing {
  color: var(--muted);
  border-style: dashed;
}

.selection-chip:hover {
  border-color: var(--gold);
}

.receipt-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px dashed #58604a;
  font-size: 14px;
}

.receipt-total small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.receipt-total strong {
  font-size: 27px;
  font-family: Outfit,sans-serif;
  font-weight: 500;
  letter-spacing: -.03em;
  white-space: nowrap;
}

.price-flash {
  animation: pricePulse .35s var(--ease);
}

@keyframes pricePulse {
  from {
    opacity: .3;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.purchase-actions {
  margin-top: 15px;
}

.preparation-promo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 11px;
  padding: 13px 15px;
  border: 1px solid #8faf7866;
  border-radius: 10px;
  background: linear-gradient(110deg,#a8c9901c,#d9af3510);
  box-shadow: inset 3px 0 0 #a8c990;
}

.preparation-promo-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #a8c990;
  color: #172013;
  font-size: 21px;
  font-weight: 700;
}

.preparation-promo > div { min-width: 0; }

.preparation-promo-label,
.preparation-promo strong,
.preparation-promo small { display: block; }

.preparation-promo-label {
  color: #b8d49f;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.preparation-promo strong {
  margin-top: 2px;
  color: #f2f5e9;
  font-size: 15px;
  line-height: 1.25;
}

.preparation-promo small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.shipping-promo {
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  padding: 13px 15px 11px;
  border: 1px solid #dcbf5a66;
  border-radius: 10px;
  background: linear-gradient(110deg,#d9af351c,#a8c99010);
  box-shadow: inset 3px 0 0 var(--gold);
}

.shipping-promo:before {
  content: '';
  position: absolute;
  width: 96px;
  height: 96px;
  right: -40px;
  top: -58px;
  border-radius: 50%;
  background: #e9c97216;
  pointer-events: none;
}

.shipping-promo-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.shipping-promo-item + .shipping-promo-item {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid #dcbf5a2b;
}

.shipping-promo-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--gold);
  color: #202515;
  font-size: 14px;
}

.shipping-promo p {
  display: flex;
  flex-wrap: wrap;
  gap: 0 5px;
  font-size: 14px;
  line-height: 1.35;
}

.shipping-promo strong {
  color: #f4d986;
  font-weight: 600;
}

.shipping-promo p span,
.shipping-promo small {
  color: var(--muted);
}

.shipping-promo small {
  display: block;
  position: relative;
  margin: 8px 0 0 35px;
  font-size: 11px;
}

.button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 58px;
  padding: 15px 22px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  transition: transform .25s var(--ease),background .2s,box-shadow .3s;
}

.button-primary {
  background: var(--gold);
  color: #212516;
  border-color: var(--gold);
}

.button-primary:hover:not(:disabled) {
  background: #f5d888;
  box-shadow: 0 5px 25px #e9c97218;
  transform: translateY(-2px);
}

.button-primary:active:not(:disabled) {
  transform: scale(.985);
}

.button-primary>span {
  font-size: 23px;
  transition: transform .25s;
}

.button-primary:hover>span {
  transform: translate(2px,-2px);
}

.button-secondary {
  background: transparent;
  border-color: #4a513e;
  color: var(--ink);
}

.button-secondary:hover:not(:disabled) {
  background: #2a3025;
  border-color: #8d9678;
}

.button+.button {
  margin-top: 9px;
}

.button[aria-busy=true]:before {
  content: '';
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.checkout-note {
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
  color: var(--muted);
  margin: 11px 12px 0;
}

.purchase-message {
  color: #efa394;
  font-size: 14px;
  margin-top: 8px;
}

.purchase-message:empty {
  display: none;
}

.stock-alert {
  padding: 17px;
  background: #9d473017;
  border: 1px solid #bb694633;
  border-radius: 10px;
  margin-top: 15px;
  font-size: 14px;
}

.stock-alert p {
  margin-top: 4px;
  color: var(--muted);
}

.stock-alert a {
  display: block;
  color: #ffc5a7;
  margin-top: 8px;
}

.help-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.help-row a {
  color: var(--ink);
}

.shopee-link {
  display: block;
  color: var(--dim);
  font-size: 12px;
  text-align: right;
  margin-top: 12px;
}

.details-section {
  margin-top: 110px;
  border-top: 1px solid var(--line);
  padding-top: 64px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 36px;
}

.section-heading h2 {
  font-size: clamp(34px,4.5vw,62px);
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 500;
  margin-top: 16px;
}

.section-heading>span,.section-index {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
}

.details-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px,6vw,90px);
}

.detail-photo {
  position: relative;
  background: #dedfd7;
  border: 0;
  padding: 35px 35px 68px;
  border-radius: 8px;
  aspect-ratio: 1.05;
  overflow: hidden;
  cursor: zoom-in;
  max-height: 590px;
}

.detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .7s var(--ease);
}

.detail-photo:hover img {
  transform: scale(1.04);
}

.detail-photo>span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  background: #252d26;
  color: #f5f2e7;
  font-size: 14px;
  padding: 17px 22px;
}

.product-details details {
  border-bottom: 1px solid var(--line);
}

.product-details details:first-child {
  border-top: 1px solid var(--line);
}

.product-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 23px 0;
  list-style: none;
  font-size: 20px;
  cursor: pointer;
}

.product-details summary::-webkit-details-marker {
  display: none;
}

.product-details summary>span {
  color: var(--gold);
  transition: transform .3s;
}

.product-details details[open] summary>span {
  transform: rotate(45deg);
}

.detail-content {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  padding-bottom: 24px;
}

.detail-content p+p {
  margin-top: 14px;
}

.detail-content a {
  display: block;
  font-size: 14px;
  color: var(--gold);
  margin-top: 12px;
}

.detail-content .spec-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid #303629;
}

.spec-row strong {
  color: var(--ink);
  font-weight: 400;
}

.description-toggle {
  border: 0;
  background: none;
  color: var(--gold);
  padding: 12px 0 0;
  font-size: 14px;
}

.kit-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
  padding: 0 0 20px;
}

.kit-grid img {
  aspect-ratio: 1;
  object-fit: contain;
  background: #252b23;
  border-radius: 8px;
}

.kit-grid p {
  font-size: 14px;
  margin-top: 8px;
}

.content-section {
  margin-top: 90px;
  border-top: 1px solid var(--line);
  padding-top: 60px;
}

.related-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.related-actions>span {
  font-size: 12px;
  color: var(--muted);
  margin-right: 14px;
}

.circle-button {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid #697156;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  background: transparent;
  color: var(--ink);
  font-size: 21px;
  transition: background .2s,color .2s;
}

.circle-button:hover {
  background: var(--gold);
  color: var(--bg);
}

.related-grid {
  display: flex;
  gap: 18px;
  overflow: auto;
  scroll-snap-type: x mandatory;
  padding: 5px 2px 20px;
  scrollbar-width: thin;
  scrollbar-color: #5c644c transparent;
}

.related-card {
  flex: 0 0 calc((100% - 54px)/4);
  min-width: 210px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #1a1d18;
  overflow: hidden;
  transition: transform .3s var(--ease),border-color .3s;
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.related-image {
  background: #d5d8cc;
  aspect-ratio: 1;
  padding: 16px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #353c2b;
}

.related-image img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  transition: transform .5s var(--ease);
}

.related-card:hover img {
  transform: scale(1.05);
}

.related-copy {
  padding: 18px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.related-copy p {
  font-size: 16px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 18px;
}

.related-copy>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.related-copy strong {
  font-size: 16px;
  font-weight: 400;
  color: var(--gold);
}

.reviews-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
}

.rating-summary {
  position: sticky;
  top: 110px;
  align-self: start;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  padding: 28px;
}

.rating-big-num {
  font-family: Outfit,sans-serif;
  font-size: 68px;
  line-height: 1.1;
  letter-spacing: -.04em;
}

.stars-row {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}

.star-svg.filled {
  color: var(--gold);
}

.star-svg.empty {
  color: #585b4e;
}

.rating-count {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 24px;
}

.review-card {
  border-bottom: 1px solid var(--line);
  padding: 4px 0 26px;
  margin-bottom: 24px;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: #383f2e;
}

.review-initial {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #383f2e;
  color: var(--gold);
  font-size: 16px;
  flex-shrink: 0;
}

.review-name {
  font-size: 16px;
  color: var(--ink);
}

.review-date {
  font-size: 12px;
  color: var(--muted);
}

.review-text {
  font-size: 16px;
  color: var(--muted);
  margin-top: 14px;
  white-space: pre-line;
}

.verified-badge {
  font-size: 12px;
  color: var(--green);
}

.review-media-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.review-media-thumb,.review-video-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.review-video-thumb {
  display: grid;
  place-items: center;
  background: #282f21;
}

.review-form-wrap {
  background: #1b2117;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}

.review-form-title {
  font-size: 22px;
  font-family: Outfit,sans-serif;
  margin-bottom: 16px;
}

.review-input {
  display: block;
  width: 100%;
  padding: 16px;
  border: 1px solid #59644a;
  background: #151a12;
  border-radius: 8px;
  color: var(--ink);
  font-size: 16px;
  resize: vertical;
  margin: 16px 0;
}

.star-select {
  display: flex;
  gap: 5px;
}

.star-select-btn {
  background: none;
  border: 0;
  padding: 5px;
  min-width: 40px;
  min-height: 40px;
}

.review-file-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 14px;
  cursor: pointer;
  padding: 8px 0;
}

.review-previews {
  display: flex;
  gap: 10px;
  margin: 12px 0;
}

.review-preview-item {
  position: relative;
  width: 70px;
  height: 70px;
}

.review-preview-item img,.review-preview-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.review-preview-remove {
  position: absolute;
  right: -5px;
  top: -5px;
  background: #323b25;
  color: white;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 24px;
  height: 24px;
}

.btn-submit-review {
  border: 0;
  border-radius: 8px;
  background: var(--gold);
  color: #202817;
  font-size: 14px;
  padding: 13px 20px;
}

.review-locked {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.review-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 24px 0;
}

.page-btn {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  color: var(--muted);
  width: 40px;
  height: 40px;
  font-size: 14px;
}

.page-btn.active {
  border-color: var(--gold);
  color: var(--gold);
}

#rating-bars span {
  font-family: inherit!important;
  font-size: 12px!important;
  color: var(--muted)!important;
}

.site-footer {
  width: min(100% - 64px,1360px);
  margin: 100px auto 0;
  padding: 32px 0 110px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer>p {
  font-size: 14px;
}

.site-footer>a:last-child {
  color: var(--ink);
}

dialog {
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
  margin: auto;
  color: var(--ink);
  border: 1px solid #4c5340;
  background: #171d14;
  padding: 0;
  border-radius: 20px;
  box-shadow: 0 30px 120px #0008;
}

dialog::backdrop {
  background: #060b05cf;
  backdrop-filter: blur(15px);
}

dialog[open] {
  animation: dialogEnter .3s var(--ease);
}

@keyframes dialogEnter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.gallery-dialog {
  width: min(1180px,calc(100vw - 32px));
  height: min(920px,calc(100dvh - 32px));
  overflow: hidden;
}

.gallery-dialog[open] {
  display: flex;
  flex-direction: column;
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 26px;
}

.lightbox-header h2 {
  font-size: 18px;
  font-weight: 400;
  margin-top: 5px;
  max-width: 760px;
  line-height: 1.25;
}

#lightbox-viewport {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #d4d8cc;
  touch-action: pan-y;
}

#lightbox-content {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

#lightbox-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  transform-origin: center;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}

#lightbox-content video,#lightbox-content iframe {
  border: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

#lightbox-viewport.zoomed {
  cursor: grab;
  touch-action: none;
}

#lightbox-viewport.dragging {
  cursor: grabbing;
}

.lightbox-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 26px 10px;
}

.lightbox-navigation {
  display: flex;
  gap: 12px;
  align-items: center;
}

.lightbox-navigation output {
  font-size: 14px;
  min-width: 40px;
  text-align: center;
}

.zoom-control {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.zoom-control input {
  width: 140px;
  accent-color: var(--gold);
}

.zoom-control output {
  min-width: 34px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.text-button {
  border: 0;
  background: none;
  padding: 10px;
  color: var(--gold);
  font-size: 14px;
}

.lightbox-help {
  padding: 0 26px 16px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.bag-dialog {
  width: 470px;
  padding: 38px;
  text-align: center;
  overflow: auto;
}

.bag-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.bag-check {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green);
  color: #1d2a13;
  font-size: 28px;
  margin: 12px auto 20px;
  animation: bagCheck .5s var(--ease);
}

@keyframes bagCheck {
  from {
    transform: scale(.65);
  }
  to {
    transform: scale(1);
  }
}

.bag-dialog h2 {
  font-size: 38px;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 10px 0;
}

.bag-dialog>p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
}

.bag-item {
  display: flex;
  text-align: left;
  gap: 16px;
  margin: 28px 0;
  padding: 20px 0;
  border-block: 1px solid var(--line);
}

.bag-item img {
  width: 76px;
  height: 85px;
  object-fit: contain;
  border-radius: 8px;
  background: #d9dece;
  padding: 4px;
}

.bag-item strong {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  display: block;
}

.bag-item p {
  color: var(--muted);
  font-size: 12px;
  margin: 6px 0;
}

.bag-item span {
  font-size: 16px;
  color: var(--gold);
}

.bag-dialog .button {
  font-size: 14px;
}

.bag-dialog>.text-button {
  margin-top: 8px;
}

.sticky-buy-bar {
  position: fixed;
  z-index: 25;
  left: 16px;
  right: 16px;
  bottom: max(14px,env(safe-area-inset-bottom));
  width: min(900px,calc(100% - 32px));
  margin: auto;
  padding: 13px 18px;
  background: #252f20ed;
  border: 1px solid #78815b;
  border-radius: 14px;
  backdrop-filter: blur(24px);
  box-shadow: 0 14px 70px #0009;
  animation: barEnter .3s var(--ease);
}

@keyframes barEnter {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.sticky-buy-inner {
  display: flex;
  align-items: center;
  gap: 22px;
}

.sticky-product-copy {
  flex: 1;
  min-width: 0;
}

.sticky-product-copy strong {
  display: block;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-product-copy span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#sticky-price {
  font-family: Outfit,sans-serif;
  font-size: 22px;
  font-weight: 500;
  white-space: nowrap;
}

#sticky-buy-button {
  flex-shrink: 0;
  border: 0;
  border-radius: 8px;
  background: var(--gold);
  color: #222b17;
  padding: 12px 16px;
  font-size: 14px;
}

#toast {
  position: fixed;
  z-index: 100;
  bottom: 112px;
  left: 50%;
  transform: translate(-50%,15px);
  max-width: calc(100vw - 32px);
  border-radius: 12px;
  padding: 13px 20px;
  background: #29371f;
  color: #e4f5d7;
  border: 1px solid #91a872;
  box-shadow: 0 5px 30px #0005;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s,transform .2s;
  font-size: 14px;
  pointer-events: none;
}

#toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%,0);
}

#toast.error {
  background: #36251f;
  border-color: #b08469;
  color: #ffccb4;
}

.loading-shell {
  padding: 60px 0;
}

.loading-title {
  width: 45%;
  height: 130px;
  margin-bottom: 40px;
}

.loading-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 65px;
}

.loading-photo {
  height: 600px;
}

.loading-panel {
  height: 550px;
}

.skeleton {
  background: linear-gradient(105deg,#20251c 25%,#30362a 45%,#20251c 65%);
  background-size: 220% 100%;
  border-radius: 8px;
  animation: shimmer 1.8s linear infinite;
}

@keyframes shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

.empty-state {
  min-height: 70vh;
  padding: 100px 24px;
  max-width: 680px;
  margin: auto;
}

.empty-state h1 {
  font-size: 50px;
  line-height: 1.1;
  margin: 20px 0;
}

.empty-state p {
  color: var(--muted);
}

.empty-state>div {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.empty-state .button {
  margin-top: 0;
  font-size: 14px;
}

@media(min-width:1650px) {
  .editorial-heading {
    padding-top: 65px;
  }
  .product-gallery {
    top: 110px;
  }
  .media-stage {
    aspect-ratio: 1.07;
  }
  .product-panel {
    padding-top: 26px;
  }
}

@media(max-width:1050px) {
  .product-layout {
    grid-template-columns: 1.08fr 1fr;
    gap: 30px;
  }
  .stage-topline,.stage-bottomline {
    left: 17px;
    right: 17px;
  }
  .stage-bottomline>span {
    display: none;
  }
  .stage-bottomline {
    justify-content: flex-end;
  }
  .gallery-instruction {
    display: none;
  }
  .gallery-media {
    inset: 64px 22px 76px;
  }
  .media-stage {
    border-bottom-right-radius: 38px;
    aspect-ratio: .88;
  }
  .product-panel {
    padding: 8px 0 0;
  }
  .variant-options {
    grid-template-columns: 1fr;
  }
  .editorial-title {
    font-size: 63px;
  }
  .related-card {
    flex-basis: calc((100% - 36px)/3);
  }
  .product-gallery {
    top: 100px;
  }
  .reviews-layout {
    gap: 30px;
    grid-template-columns: 220px 1fr;
  }
}

@media(max-width:780px) {
  .site-nav {
    padding: 14px 20px;
    min-height: 66px;
  }
  .section-links {
    gap: 16px;
  }
  .section-links a:first-child {
    display: none;
  }
  .brand {
    font-size: 17px;
  }
  .brand i {
    font-size: 20px;
    margin-left: 7px;
  }
  .product-shell,.content-section,.loading-shell {
    width: calc(100% - 40px);
  }
  .editorial-heading {
    padding: 34px 0 27px;
    gap: 16px;
  }
  .editorial-title {
    font-size: clamp(43px,8.7vw,68px);
  }
  .edition-stamp {
    font-size: 10px;
  }
  .edition-stamp a {
    display: none;
  }
  .product-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .product-gallery {
    position: static;
  }
  .media-stage {
    aspect-ratio: 1.16;
    border-bottom-right-radius: 46px;
  }
  .stage-word {
    font-size: 27vw;
  }
  .gallery-media {
    inset: 60px 34px 78px;
  }
  .product-panel {
    padding-top: 8px;
  }
  #product-title,#product-title.long-title {
    font-size: clamp(30px,5.3vw,42px);
    max-width: 650px;
  }
  .product-eyebrow {
    margin-bottom: 14px;
  }
  .price-line {
    margin-top: 20px;
  }
  .variant-options {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .details-section {
    margin-top: 68px;
    padding-top: 38px;
  }
  .details-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .detail-photo {
    max-height: none;
    aspect-ratio: 1.2;
  }
  .details-layout.no-photo {
    grid-template-columns: 1fr;
  }
  .content-section {
    margin-top: 65px;
    padding-top: 38px;
  }
  .section-heading {
    margin-bottom: 26px;
  }
  .section-heading h2 {
    font-size: 42px;
  }
  .section-index {
    display: none;
  }
  .reviews-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .rating-summary {
    position: static;
    display: grid;
    grid-template-columns: 120px 1fr;
    column-gap: 26px;
    align-items: center;
  }
  .rating-big-num {
    grid-row: 1/3;
  }
  .rating-count {
    grid-column: 1;
    grid-row: 3;
    margin: 0;
  }
  .rating-summary .stars-row {
    grid-column: 2;
    grid-row: 1;
  }
  .rating-summary #rating-bars {
    grid-column: 2;
    grid-row: 2/4;
  }
  .site-footer {
    width: calc(100% - 40px);
    align-items: flex-start;
    flex-wrap: wrap;
    padding-bottom: 125px;
    gap: 15px;
  }
  .site-footer p {
    order: 3;
    width: 100%;
  }
  .lightbox-header {
    padding: 16px;
  }
  .lightbox-header h2 {
    font-size: 16px;
    max-height: 64px;
    overflow: hidden;
  }
  .lightbox-header .eyebrow {
    font-size: 10px;
  }
  .lightbox-controls {
    padding: 14px 16px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .lightbox-help {
    padding: 0 14px 14px;
  }
  .zoom-control input {
    width: 110px;
  }
  .sticky-buy-inner {
    gap: 14px;
  }
  .sticky-product-copy {
    display: none;
  }
  .sticky-buy-inner>#sticky-price {
    flex: 1;
  }
  .sticky-buy-bar {
    padding: 12px;
  }
  .gallery-dialog {
    width: calc(100vw - 20px);
    height: calc(100dvh - 20px);
  }
  .loading-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .loading-photo {
    height: 460px;
  }
  .loading-panel {
    height: 200px;
  }
  .loading-title {
    width: 80%;
  }
}

@media(max-width:480px) {
  .site-nav {
    padding: 13px 16px;
    gap: 12px;
  }
  .section-links {
    display: none;
  }
  .nav-bag {
    padding: 7px 11px;
    font-size: 12px;
  }
  .product-shell,.content-section,.loading-shell {
    width: calc(100% - 32px);
  }
  .editorial-heading {
    align-items: flex-start;
  }
  .editorial-heading .eyebrow {
    font-size: 10px;
    letter-spacing: .12em;
  }
  .editorial-title {
    font-size: 43px;
    margin-top: 12px;
  }
  .edition-stamp {
    padding-top: 7px;
    max-width: 76px;
    line-height: 1.4;
    letter-spacing: .05em;
    font-size: 10px;
  }
  .edition-stamp>span:first-child {
    font-size: 12px;
  }
  .media-stage {
    aspect-ratio: 1.03;
  }
  .stage-topline {
    font-size: 10px;
    top: 18px;
  }
  .gallery-media {
    inset: 50px 22px 74px;
  }
  .gallery-nav {
    width: 36px;
    height: 36px;
    top: 47%;
    font-size: 18px;
  }
  .gallery-prev {
    left: 9px;
  }
  .gallery-next {
    right: 9px;
  }
  .stage-bottomline {
    bottom: 18px;
  }
  .zoom-launch {
    font-size: 12px;
    padding: 9px 13px;
  }
  .gallery-toolbar {
    padding-top: 13px;
  }
  .thumb {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }
  .gallery-note {
    font-size: 12px;
  }
  .configuration-heading {
    margin-top: 25px;
  }
  .variant-options {
    gap: 8px;
  }
  .variant-btn {
    padding: 11px 10px;
    font-size: 14px;
    gap: 8px;
    min-height: 69px;
  }
  .color-swatch {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }
  .option-check {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
  }
  .quantity-row label {
    font-size: 14px;
  }
  .quantity-control button {
    width: 38px;
  }
  .selection-receipt {
    padding: 16px;
  }
  .receipt-total strong {
    font-size: 25px;
  }
  .help-row {
    flex-direction: column;
    gap: 4px;
  }
  .shopee-link {
    text-align: left;
  }
  .section-heading h2 {
    font-size: 36px;
  }
  .section-heading .eyebrow {
    font-size: 10px;
  }
  .related-actions>span {
    display: none;
  }
  .related-actions {
    align-self: flex-end;
  }
  .circle-button {
    width: 40px;
    height: 40px;
  }
  .related-card {
    flex-basis: 76%;
    min-width: 0;
  }
  .bag-dialog {
    padding: 30px 22px;
  }
  .bag-dialog h2 {
    font-size: 33px;
  }
  .lightbox-controls>.text-button {
    display: none;
  }
  .zoom-control {
    font-size: 12px;
    gap: 7px;
  }
  .zoom-control input {
    width: 83px;
  }
  .lightbox-navigation {
    gap: 6px;
  }
  .lightbox-navigation .circle-button {
    width: 35px;
    height: 35px;
  }
  .lightbox-navigation output {
    font-size: 12px;
  }
  .site-footer {
    width: calc(100% - 32px);
  }
  .empty-state h1 {
    font-size: 38px;
  }
  .empty-state>div {
    flex-direction: column;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*:before,*:after {
    animation: none!important;
    transition: none!important;
  }
  .gallery-media img {
    transform: none!important;
  }
}

/* V6 — a caixa acompanha a proporção real de cada imagem. */

.media-stage {
  --stage-bg: #e2e5dd;
  --stage-ink: #252b25;
  --stage-soft: #71786d;
  --well-shadow: #18261930;
  --well-light: #ffffffad;
  width: 100%;
  height: auto;
  aspect-ratio: var(--gallery-ratio, 1.42);
  min-height: 0;
  background: var(--stage-bg);
  border: 1px solid var(--well-light);
  border-radius: 18px;
  box-shadow: 3px 4px 0 #101410, 7px 9px 0 #090c09,
    12px 24px 35px -16px #00000099,
    inset 1px 1px 0 var(--well-light);
  overflow: hidden;
}

.media-stage[data-tone="dark"] {
  --stage-bg: #1b201c;
  --stage-ink: #d9dfd3;
  --stage-soft: #9da695;
  --well-shadow: #00000096;
  --well-light: #c1d0b21c;
}

/* Rebaixo fixo: a caixa não inclina nem deforma as fotos. */

.media-stage::before {
  inset: 12px;
  z-index: -1;
  border: 0;
  border-radius: 10px;
  background: radial-gradient(ellipse at var(--pointer-x, 50%) var(--pointer-y, 38%), #ffffff05, transparent 70%),
    linear-gradient(145deg, var(--well-shadow), transparent 42%),
    var(--stage-bg);
  box-shadow: inset 8px 10px 24px -8px var(--well-shadow),
    inset -1px -1px 0 var(--well-light);
  transform: none;
  transition: background .45s, box-shadow .45s;
}

.stage-word,
#stage-label,
#media-caption,
.gallery-progress {
  display: none;
}

.stage-topline {
  left: 35px;
  right: 35px;
  top: 25px;
  justify-content: flex-end;
  font-size: 12px;
  letter-spacing: .07em;
}

.stage-counter {
  opacity: .65;
}

.gallery-media {
  inset: 0;
  min-width: 0;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
  border-radius: inherit;
  perspective: none;
}

/* Absolute sizing prevents intrinsic photo dimensions from growing the grid. */

.gallery-media > button {
  position: absolute;
  inset: 0;
  display: block;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}

.gallery-media img,
.gallery-media video,
.gallery-media iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.gallery-media img {
  transform: translate(var(--move-x, 0px), var(--move-y, 0px));
  filter: drop-shadow(0 8px 8px #00000028);
  transition: transform .65s var(--ease);
}

.gallery-media video,
.gallery-media iframe {
  border-radius: 8px;
}

.stage-bottomline {
  left: 32px;
  right: 28px;
  bottom: 20px;
  justify-content: flex-end;
}

.zoom-launch {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  gap: 0;
  padding: 0;
  border: 0;
  background: var(--stage-bg);
  color: var(--stage-ink);
  font-size: 0;
  opacity: .72;
}

.zoom-launch:hover {
  background: #808b7314;
  opacity: 1;
  transform: none;
}

.zoom-launch span {
  font-size: 24px;
}

.gallery-nav {
  border: 1px solid var(--well-light);
  background: var(--stage-bg);
  color: var(--stage-ink);
  opacity: .9;
}

.gallery-nav:hover {
  background: #808b7314;
  color: var(--stage-ink);
  opacity: 1;
}

.gallery-prev {
  left: 17px;
}

.gallery-next {
  right: 17px;
}

.gallery-toolbar {
  padding-top: 22px;
}

.thumb {
  border-color: transparent;
  background: transparent;
  border-radius: 6px;
  opacity: .55;
}

.thumb:hover {
  opacity: .85;
}

.thumb.active {
  background: #ffffff04;
  border-color: transparent;
  box-shadow: 0 2px 0 -1px var(--gold);
  opacity: 1;
}

@media (max-width: 780px) {
  .media-stage {
    height: auto;
    aspect-ratio: var(--gallery-ratio, 1.05);
    border-radius: 16px;
    box-shadow: 3px 4px 0 #101410, 5px 7px 0 #090c09,
      8px 17px 24px -15px #00000099;
  }
  .media-stage::before {
    inset: 10px;
    transform: none;
  }
  .gallery-media {
    inset: 0;
  }
  .stage-topline {
    top: 23px;
    right: 28px;
  }
  .stage-bottomline {
    bottom: 21px;
    right: 21px;
  }
}

@media (max-width: 480px) {
  .media-stage::before {
    border-radius: 10px;
  }
  .gallery-media {
    inset: 0;
  }
  .gallery-prev {
    left: 9px;
  }
  .gallery-next {
    right: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-media img {
    transform: none;
  }
}

