:root {
  --ink: #f5f1eb;
  --ink-soft: #c9c1b9;
  --ink-faint: #8d8883;
  --bg: #08090b;
  --surface: #111216;
  --surface-2: #17181d;
  --line: rgba(245, 241, 235, .14);
  --line-strong: rgba(245, 241, 235, .28);
  --paper: #eee7dc;
  --ochre: #d6b174;
  --coral: #d6b174;
  --teal: #d6b174;
  --success: #9bd2a3;
  --action-red: #e0002b;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --max: 1320px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
*[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(214, 177, 116, .09), transparent 26rem),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { color: var(--bg); background: var(--coral); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; }
:focus:not(:focus-visible) { outline: none; }
a, button, input { -webkit-tap-highlight-color: transparent; }

/* Unified form controls */
.purchase-form input:not([type="file"]),.purchase-form select,.purchase-form textarea,.receipt-form input:not([type="file"]),.receipt-form select,.dialog-field input,.dialog-field select,.dialog-field textarea {
  width:100%;min-width:0;min-height:48px;padding:13px 15px;border:1px solid rgba(245,241,235,.22);border-radius:8px;background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018)),var(--surface);color:var(--ink);font:500 13px/1.35 var(--sans);appearance:none;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
.purchase-form textarea,.receipt-form textarea,.dialog-field textarea{min-height:112px;resize:vertical}
.purchase-form select,.dialog-field select{padding-right:44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d6b174' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat;background-size:16px}
.purchase-form input:not([type="file"]):hover,.purchase-form select:hover,.purchase-form textarea:hover,.receipt-form input:not([type="file"]):hover,.dialog-field input:hover,.dialog-field select:hover,.dialog-field textarea:hover{border-color:rgba(214,177,116,.58);background-color:rgba(255,255,255,.045)}
.purchase-form input:not([type="file"]):focus,.purchase-form select:focus,.purchase-form textarea:focus,.receipt-form input:not([type="file"]):focus,.dialog-field input:focus,.dialog-field select:focus,.dialog-field textarea:focus{outline:none;border-color:var(--coral);box-shadow:0 0 0 3px rgba(214,177,116,.13),inset 0 1px 0 rgba(255,255,255,.06);background-color:rgba(214,177,116,.045)}
.purchase-form input::placeholder,.purchase-form textarea::placeholder,.receipt-form input::placeholder,.dialog-field input::placeholder,.dialog-field textarea::placeholder{color:var(--ink-faint);opacity:.9}
.purchase-form label,.receipt-form label,.dialog-field{display:grid;min-width:0;gap:8px;color:var(--ink-soft);font-size:11px;letter-spacing:.035em}
input[type="file"]{max-width:100%;min-width:0}
input[type="file"]::file-selector-button{margin:-5px 12px -5px -5px;padding:8px 11px;border:1px solid rgba(214,177,116,.5);border-radius:6px;background:rgba(214,177,116,.12);color:var(--coral);font:600 11px var(--sans);cursor:pointer}
input[type="file"]:focus-visible{outline:2px solid rgba(214,177,116,.65);outline-offset:3px}

.site-shell { min-height: 100vh; overflow: hidden; }
.section-pad { width: min(var(--max), calc(100% - 96px)); margin-inline: auto; }
main section[id] { scroll-margin-top: 110px; }
main { position: relative; }
[data-view-panel] { display: block; }
[data-view-panel][hidden] { display: none; }
.page-view {
  min-height: calc(100svh - 84px);
  animation: view-enter .34s cubic-bezier(.22, 1, .36, 1) both;
}
.page-view-home, .page-view-catalog { min-height: 0; }
.page-view-order { padding-top: 84px; }
@keyframes view-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 50%;
  display: flex;
  width: min(var(--max), calc(100% - 96px));
  height: 84px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, border-color .3s ease, transform .3s ease, opacity .3s ease;
}
.site-header::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}
.site-header.is-scrolled {
  border-color: rgba(245, 241, 235, .2);
  background: transparent;
}
.site-header.is-scrolled::before {
  background: rgba(8, 9, 11, .86);
  backdrop-filter: blur(18px);
}
.site-header.is-hidden { opacity: 0; pointer-events: none; transform: translate(-50%, -115%); }
.brand { display: inline-flex; align-items: center; gap: 12px; letter-spacing: .12em; }
.brand-mark {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border: 1px solid var(--coral);
  border-radius: 9px 2px;
  color: var(--coral);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  transform: rotate(-8deg);
}
.brand-word { font-size: 13px; font-weight: 800; }
.brand-word span { color: var(--coral); }
.main-nav { display: flex; align-items: center; gap: 38px; margin-left: auto; }
.nav-link {
  position: relative;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .25s ease, text-shadow .25s ease;
}
.nav-link + .nav-link::before {
  position: absolute;
  top: 50%;
  left: -22px;
  color: var(--ink-faint);
  content: "|";
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  transform: translateY(-50%);
}
.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  height: 2px;
  background: var(--coral);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link.is-active {
  color: #e6c47f;
  text-shadow: 0 0 11px rgba(214, 177, 116, .32);
}
.nav-link.is-active::after, .nav-link:hover::after { transform: scaleX(1); }
.nav-link.is-active::after { background: #e6c47f; box-shadow: 0 0 8px rgba(214, 177, 116, .38); }
.account-area { display: flex; flex: 0 0 auto; align-items: center; margin-left: clamp(22px, 4vw, 54px); }
.account-trigger {
  position: relative;
  display: inline-flex;
  min-width: 0;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 4px 0 4px 14px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink-soft);
  transition: color .25s ease, opacity .25s ease;
}
.account-trigger::after { position: absolute; right: 0; bottom: 0; left: 14px; height: 1px; background: var(--coral); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.account-trigger:hover, .account-trigger:focus-visible { color: var(--ink); }
.account-trigger:hover::after, .account-trigger:focus-visible::after { transform: scaleX(1); }
.account-trigger:disabled { cursor: wait; opacity: .72; }
.account-trigger-label { font-family: var(--mono); font-size: 8px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.account-avatar { position: relative; display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; overflow: hidden; border: 1px solid rgba(214, 177, 116, .66); border-radius: 50%; background: rgba(214, 177, 116, .05); color: var(--coral); transition: border-color .25s ease, background .25s ease, transform .25s ease; }
.account-trigger:hover .account-avatar, .account-trigger:focus-visible .account-avatar { border-color: var(--coral); background: rgba(214, 177, 116, .12); transform: translateY(-1px); }
.account-avatar-image { width: 100%; height: 100%; object-fit: cover; }
.account-avatar-initial { color: var(--coral); font-family: var(--serif); font-size: 20px; line-height: 1; }
.account-avatar-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.35; }
.account-trigger.is-loading .account-avatar { border-color: var(--line-strong); color: var(--ink-faint); }
.account-trigger.is-loading .account-avatar-icon { animation: account-pulse 1.4s ease-in-out infinite; }
@keyframes account-pulse { 50% { opacity: .36; transform: scale(.9); } }
.currency-trigger { display: inline-flex; min-width: 48px; min-height: 40px; align-items: center; justify-content: center; gap: 7px; padding: 3px 8px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--ink-soft); transition: border-color .25s ease, background .25s ease, color .25s ease, transform .25s ease; }
.currency-trigger:hover, .currency-trigger:focus-visible { border-color: rgba(214, 177, 116, .5); background: rgba(214, 177, 116, .09); color: var(--gold-soft); transform: translateY(-1px); }
.currency-trigger-icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; }
.currency-trigger-code { color: currentColor; font: 600 8px/1 var(--mono); letter-spacing: .08em; }
.hero {
  position: relative;
  display: grid;
  min-height: 700px;
  grid-template-columns: minmax(0, .87fr) minmax(440px, 1.13fr);
  align-items: center;
  gap: 6vw;
  padding-top: 100px;
}
.hero::before {
  position: absolute;
  z-index: -1;
  top: -240px;
  right: -280px;
  width: 780px;
  height: 780px;
  border: 1px solid rgba(214, 177, 116, .18);
  border-radius: 50%;
  content: "";
}
.hero-copy { position: relative; z-index: 2; max-width: 590px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 25px;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .15em;
  line-height: 1.2;
  text-transform: uppercase;
}
.eyebrow-line { display: inline-block; width: 34px; height: 1px; background: currentColor; }
.hero h1, .section-heading h2, .order-panel h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .88;
}
.hero h1 { max-width: 650px; font-size: clamp(78px, 9vw, 136px); }
h1 em, h2 em { color: var(--coral); font-style: normal; }
.hero-text { max-width: 420px; margin: 36px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.9; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}
.button span { font-family: var(--sans); font-size: 16px; font-weight: 400; line-height: 1; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--paper); color: #141416; }
.button-primary:hover { background: var(--coral); color: #141416; }
.button-light { border-color: rgba(8, 9, 11, .22); background: var(--paper); color: #101114; }
.button-light:hover { border-color: #101114; background: var(--coral); color: #141416; }
.hero-visual { position: relative; display: grid; min-height: 590px; align-items: center; }
.hero-visual::after {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  width: 65%;
  height: 75%;
  border: 1px solid rgba(214, 177, 116, .48);
  border-radius: 260px 260px 0 0;
  content: "";
}
.hero-promo-card {
  position: relative;
  display: block;
  z-index: 2;
  width: min(510px, calc(100% - 26px));
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(214, 177, 116, .3);
  background: var(--surface);
  box-shadow: 28px 34px 72px rgba(0, 0, 0, .46);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.hero-promo-card:has(.hero-promo-offer:hover),
.hero-promo-card:has(.hero-promo-offer:focus-visible),
.hero-promo-card:has(.hero-promo-referral-link:hover),
.hero-promo-card:has(.hero-promo-referral-link:focus-visible) { border-color: var(--coral); box-shadow: 28px 38px 78px rgba(0, 0, 0, .56); transform: translateY(-4px); }
.hero-promo-offer { display: block; color: inherit; }
.hero-promo-offer:focus-visible { outline: 2px solid var(--coral); outline-offset: -4px; }
.hero-promo-referral-link { display: block; color: inherit; cursor: pointer; }
.hero-promo-referral-link:focus-visible { outline: 2px solid var(--coral); outline-offset: -4px; }
.hero-promo-card::before { position: absolute; z-index: 3; top: 0; right: 0; width: 42%; height: 4px; background: var(--coral); content: ""; }
.hero-promo-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px 15px; color: rgba(245, 241, 235, .68); font-family: var(--mono); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.hero-promo-top span:last-child { color: var(--ochre); }
.hero-promo-art {
  position: relative;
  display: grid;
  min-height: 176px;
  place-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(245, 241, 235, .1);
  border-bottom: 1px solid rgba(245, 241, 235, .1);
  background: radial-gradient(circle at 50% 46%, rgba(214, 177, 116, .28), transparent 34%), linear-gradient(135deg, var(--bg), #211d18 56%, var(--surface));
}
.hero-promo-art::before { position: absolute; width: 260px; height: 260px; border: 1px solid rgba(214, 177, 116, .32); border-radius: 50%; content: ""; transform: rotate(20deg) scaleX(1.3); }
.hero-promo-art::after { position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(214, 177, 116, .035) 23px, transparent 24px); content: ""; }
.hero-promo-art svg { position: relative; z-index: 1; width: 154px; height: 154px; fill: rgba(8, 9, 11, .52); stroke: var(--ochre); stroke-linecap: round; stroke-linejoin: round; stroke-width: 3; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .32)); }
.hero-promo-art-mark { position: absolute; z-index: 2; top: 50%; left: 50%; color: var(--ink); font-family: var(--sans); font-size: 17px; font-weight: 800; letter-spacing: .16em; transform: translate(-50%, -50%); }
.hero-promo-art-note { position: absolute; z-index: 2; top: 18px; left: 22px; color: var(--ink-soft); font-family: var(--mono); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.hero-promo-content { position: relative; z-index: 1; padding: 25px 28px 22px; background: linear-gradient(145deg, var(--surface-2), var(--surface)); color: var(--ink); }
.hero-promo-referral-content { padding-top: 0; }
.hero-promo-kicker { margin: 0 0 9px; color: var(--ochre); font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: .13em; }
.hero-promo-content h2 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: clamp(38px, 4.2vw, 54px); font-weight: 400; letter-spacing: -.045em; line-height: .96; }
.hero-promo-heading, .hero-promo-range { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .2em; }
.hero-promo-part { display: inline-block; }
.hero-promo-heading .hero-promo-part { font-size: calc(clamp(38px, 4.2vw, 54px) * var(--part-scale, 1)); }
.hero-promo-heading .is-accent, .hero-promo-range .is-accent { color: var(--coral); font-style: italic; }
.hero-promo-heading .is-strong { font-family: var(--sans); font-size: calc(clamp(38px, 4.2vw, 54px) * .82 * var(--part-scale, 1)); font-weight: 800; letter-spacing: -.06em; }
.hero-promo-heading .is-italic { font-style: italic; }
.hero-promo-break { flex-basis: 100%; width: 0; height: 0; }
.hero-promo-copy { margin: 23px 0 8px; color: var(--ink-faint); font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: .09em; }
.hero-promo-range { gap: 8px; margin: 0; line-height: 1.05; }
.hero-promo-range .is-strong { color: var(--ink); font-family: var(--sans); font-size: calc(clamp(27px, 3.1vw, 40px) * var(--part-scale, 1)); font-weight: 800; letter-spacing: -.065em; line-height: 1.02; white-space: nowrap; }
.hero-promo-range .is-plain { color: var(--ink); font-family: var(--sans); font-size: calc(clamp(24px, 2.8vw, 34px) * var(--part-scale, 1)); font-weight: 600; letter-spacing: -.04em; line-height: 1.02; }
.hero-promo-range .is-accent, .hero-promo-range .is-italic { font-family: var(--serif); font-size: calc(18px * var(--part-scale, 1)); }
.hero-promo-range .is-italic { color: var(--ink-soft); }
.hero-promo-caption { margin: 5px 0 0; color: var(--ink-soft); font-family: var(--serif); font-size: 17px; font-style: italic; }
.hero-promo-rule { margin: 20px 0 17px; border-top: 1px dotted var(--line-strong); }
.hero-promo-referral { display: grid; gap: 4px; }
.hero-promo-referral-label { margin: 0 0 1px; color: var(--ochre); font-family: var(--mono); font-size: 8px; font-weight: 600; letter-spacing: .12em; }
.hero-promo-referral h3 { margin: 0; color: var(--coral); font-family: var(--sans); font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.06em; line-height: .98; text-transform: uppercase; }
.hero-promo-referral p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.45; }
.hero-promo-reward { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; margin-top: 4px !important; }
.hero-promo-reward strong { color: var(--coral); font-family: var(--sans); font-size: 22px; font-weight: 800; letter-spacing: -.04em; }
.hero-promo-reward span { color: var(--ink-soft); font-family: var(--serif); font-size: 16px; font-style: italic; }
.hero-promo-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 22px 14px; border-top: 1px solid var(--line); background: var(--surface); color: var(--ink-soft); font-family: var(--mono); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.hero-promo-footer span:last-child { color: var(--ochre); }
.hero-side-note {
  position: absolute;
  z-index: 3;
  top: 18%;
  left: 0;
  display: flex;
  gap: 15px;
  color: rgba(245, 241, 235, .58);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-side-note span:last-child { color: var(--coral); }
.orbit-one, .orbit-two { position: absolute; z-index: 0; border: 1px solid rgba(214, 177, 116, .28); border-radius: 50%; }
.orbit-one { top: 5%; right: 3%; width: 380px; height: 380px; }
.orbit-two { top: 24%; right: 19%; width: 240px; height: 240px; border-color: rgba(214, 177, 116, .2); }

.catalog { padding-top: 104px; padding-bottom: 145px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.section-heading h2 { font-size: clamp(62px, 6.4vw, 94px); }
.section-intro { max-width: 360px; margin: 0 0 6px; color: var(--ink-faint); font-size: 12px; line-height: 1.9; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; margin-top: 61px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.filter-list { display: flex; gap: 28px; }
.filter-button {
  padding: 0 0 10px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: color .25s ease, border-color .25s ease;
}
.filter-button span { margin-left: 5px; color: var(--coral); font-size: 8px; }
.filter-button:hover, .filter-button.is-selected { border-color: var(--coral); color: var(--ink); }
.search-field { display: flex; width: 240px; align-items: center; gap: 9px; border-bottom: 1px solid var(--line-strong); color: var(--ink-faint); }
.search-field svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.search-field input { width: 100%; padding: 8px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-family: var(--mono); font-size: 10px; }
.search-field:focus-within { border-color: var(--coral); color: var(--coral); }
.search-field input::placeholder { color: var(--ink-faint); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 21px; margin-top: 31px; }
.product-card { min-width: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.product-image { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 1px solid rgba(247, 241, 231, .08); background: var(--surface); color: var(--ink); text-align: left; }
.product-image::after { position: absolute; inset: 0; background: rgba(8, 9, 11, .16); content: ""; transition: background .3s ease; }
.product-image img { width: 100%; aspect-ratio: 1 / 1.15; object-fit: cover; filter: saturate(.82); transition: transform .5s cubic-bezier(.2, .65, .2, 1), filter .5s ease; }
.product-image:hover img { filter: saturate(1); transform: scale(1.045); }
.product-image:hover::after { background: rgba(8, 9, 11, 0); }
.product-gallery-button, .dialog-gallery-button { position: absolute; z-index: 4; top: 50%; display: grid; width: 32px; height: 40px; place-items: center; padding: 0; border: 1px solid rgba(255, 255, 255, .58); background: rgba(8, 9, 11, .48); color: #fff; opacity: .92; transform: translateY(-50%); transition: background .2s ease, border-color .2s ease, opacity .2s ease, transform .2s ease; }
.product-gallery-button-prev, .dialog-gallery-button-prev { left: 10px; }
.product-gallery-button-next, .dialog-gallery-button-next { right: 10px; }
.product-gallery-button svg, .dialog-gallery-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.product-gallery-button:hover, .dialog-gallery-button:hover { border-color: #fff; background: rgba(8, 9, 11, .76); opacity: 1; transform: translateY(-50%) scale(1.04); }
.product-gallery-button:focus-visible, .dialog-gallery-button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.product-badge { position: absolute; z-index: 2; top: 13px; left: 13px; padding: 6px 8px; background: var(--paper); color: #141416; font-family: var(--mono); font-size: 7px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.product-badge-muted { background: rgba(8, 9, 11, .76); color: var(--ink); }
.quick-view { position: absolute; z-index: 3; right: 14px; bottom: 14px; left: 14px; display: flex; align-items: center; justify-content: space-between; padding: 11px 12px; background: rgba(8, 9, 11, .84); color: var(--ink); font-family: var(--mono); font-size: 8px; font-weight: 600; letter-spacing: .1em; opacity: 0; text-transform: uppercase; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; }
.product-card:hover .quick-view, .product-card:focus-visible .quick-view { opacity: 1; transform: translateY(0); }
.product-card:focus:not(:focus-visible) { outline: none; box-shadow: none; }
.product-card:focus-visible { outline: 2px solid var(--coral); outline-offset: 5px; }
.quick-view b { color: var(--coral); font-family: var(--sans); font-size: 16px; font-weight: 400; }
.product-info { display: flex; align-items: start; justify-content: space-between; gap: 10px; padding-top: 14px; }
.product-info h3 { margin: 0 0 4px; color: var(--ink); font-family: var(--serif); font-size: 26px; font-weight: 400; transition: color .25s ease; }
.product-card:hover .product-info h3 { color: var(--coral); }
.product-info p { margin: 0; color: var(--ink-faint); font-family: var(--mono); font-size: 9px; letter-spacing: .02em; }
.product-info strong { padding-top: 4px; color: var(--paper); font-family: var(--serif); font-size: 20px; font-weight: 400; white-space: nowrap; }
.empty-state { margin: 60px 0 0; color: var(--ink-faint); text-align: center; }

.order-section { padding-top: 38px; padding-bottom: 145px; }
.order-panel { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 510px; background: #111216; color: var(--ink); }
.order-panel-copy { display: flex; min-width: 0; align-items: stretch; justify-content: stretch; overflow: hidden; background: #222; }
.order-panel-copy::after { display: none; }
.eyebrow-light { position: relative; z-index: 1; color: #53462f; }
.order-panel h2 { position: relative; z-index: 1; color: #141416; font-size: clamp(53px, 5.7vw, 82px); }
.order-panel h2 em { color: #6e4e21; }
.order-panel-copy > p:not(.eyebrow) { position: relative; z-index: 1; max-width: 400px; margin: 30px 0; color: #55472e; font-size: 12px; line-height: 1.85; }
.shein-request-form { width: 100%; max-width: none; min-height: 510px; align-content: center; padding: clamp(24px, 4vw, 44px); border-color: rgba(245, 241, 235, .14); }
.shein-request-form .section-heading { display: block; }
.shein-request-form .section-heading h2 { margin: 0; color: var(--ink); font-size: clamp(50px, 5.7vw, 82px); line-height: .92; }
.shein-request-form h2 em { color: var(--coral); }
.shein-request-form .form-status:empty { display: none; min-height: 0; }
.steps-list { display: flex; flex-direction: column; justify-content: center; padding: 55px clamp(35px, 6vw, 92px); background: #111216; }
.step { display: grid; grid-template-columns: 46px 1fr; gap: 19px; padding: 22px 0; border-bottom: 1px solid rgba(247, 241, 231, .16); }
.step:first-child { padding-top: 0; }
.step:last-child { padding-bottom: 0; border-bottom: 0; }
.step > span { color: var(--coral); font-family: var(--serif); font-size: 27px; }
.step h3 { margin: 0 0 5px; color: var(--ink); font-size: 13px; font-weight: 700; }
.step p { margin: 0; color: var(--ink-faint); font-family: var(--mono); font-size: 10px; line-height: 1.7; }

.site-footer { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-top: 18px; padding-bottom: 18px; border-top: 1px solid var(--line); }
.footer-note, .footer-copy { margin: 13px 0 0; color: var(--ink-faint); font-family: var(--mono); font-size: 9px; }
.footer-copy { margin: 0; text-align: right; }

.profile-section { padding-top: 146px; padding-bottom: 145px; }
.profile-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.profile-heading h1 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: clamp(72px, 8vw, 118px); font-weight: 400; letter-spacing: -.05em; line-height: .86; }
.profile-heading h1 em { color: var(--coral); font-style: normal; }
.profile-intro { max-width: 350px; margin: 0 0 6px; color: var(--ink-faint); font-size: 12px; line-height: 1.9; }
.profile-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 58px; margin-top: 68px; padding: clamp(28px, 5vw, 58px); border: 1px solid var(--line); background: linear-gradient(135deg, rgba(214, 177, 116, .08), transparent 48%), var(--surface); }
.profile-card-identity { display: flex; align-items: center; gap: 22px; }
.account-avatar-profile { width: 88px; height: 88px; flex-basis: 88px; border-color: rgba(214, 177, 116, .72); }
.account-avatar-profile .account-avatar-icon { width: 38px; height: 38px; }
.account-avatar-profile .account-avatar-initial { font-size: 48px; }
.profile-card .meta-label { margin: 0 0 8px; }
.profile-card h2 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: clamp(34px, 4vw, 50px); font-weight: 400; line-height: .96; }
.profile-email { margin: 10px 0 0; color: var(--ink-faint); font-family: var(--mono); font-size: 10px; overflow-wrap: anywhere; }
.profile-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 35px; margin: 0; padding: 0; align-content: center; }
.profile-details div { min-width: 0; padding-top: 13px; border-top: 1px solid var(--line); }
.profile-details dt { color: var(--ink-faint); font-family: var(--mono); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.profile-details dd { margin: 8px 0 0; color: var(--ink-soft); font-size: 13px; overflow-wrap: anywhere; }
.profile-details code { color: var(--coral); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }

.product-dialog { width: min(680px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 24px 28px 26px; border: 1px solid var(--line-strong); background: linear-gradient(145deg, rgba(255, 255, 255, .035), transparent 42%), var(--surface); color: var(--ink); color-scheme: dark; box-shadow: 0 30px 100px rgba(0, 0, 0, .65); overflow: auto; }
.product-dialog::backdrop { background: rgba(0, 0, 0, .74); backdrop-filter: blur(5px); }
.dialog-field select { color-scheme: dark; background-color: #151515; color: var(--ink); }
.dialog-field select option { background: #151515; color: var(--ink); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dialog-header .eyebrow { margin: 0; }
.dialog-gallery { position: relative; margin-top: 15px; overflow: hidden; border: 1px solid rgba(245, 241, 235, .14); background: #0b0c0f; }
.dialog-gallery-media { position: relative; display: block; width: 100%; height: clamp(190px, 31vw, 280px); padding: 0; overflow: hidden; border: 0; background: radial-gradient(circle at 50% 42%, rgba(214, 177, 116, .08), transparent 60%), #0b0c0f; color: var(--ink); cursor: zoom-in; }
.dialog-gallery-media img { width: 100%; height: 100%; padding: 14px 58px; object-fit: contain; object-position: center; filter: saturate(.86); transition: transform .45s cubic-bezier(.2, .65, .2, 1), filter .45s ease; }
.dialog-gallery-media:hover img { filter: saturate(1); transform: scale(1.025); }
.dialog-gallery-media:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.dialog-gallery-zoom-hint { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; background: rgba(8, 9, 11, .74); color: var(--ink); font: 600 8px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.dialog-gallery-zoom-hint svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.dialog-gallery-count, .product-lightbox-count { position: absolute; z-index: 5; top: 11px; right: 12px; padding: 5px 7px; background: rgba(8, 9, 11, .68); color: var(--ink); font: 600 8px/1 var(--mono); letter-spacing: .08em; }
.dialog-product-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px; margin-top: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.product-dialog h2 { margin: 0; font-family: var(--serif); font-size: clamp(44px, 6vw, 62px); font-weight: 400; letter-spacing: -.04em; line-height: .88; }
.dialog-close { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; padding: 0; border: 1px solid var(--line); background: transparent; color: var(--ink-soft); font-size: 28px; line-height: 1; transition: border-color .25s ease, color .25s ease, background .25s ease, transform .25s ease; }
.dialog-close:hover { border-color: var(--coral); background: rgba(214, 177, 116, .08); color: var(--coral); transform: rotate(90deg); }
.dialog-price { display: flex; align-items: end; justify-content: flex-end; gap: 20px; margin: 0; padding: 0; border: 0; color: var(--coral); font-family: var(--serif); font-size: 26px; text-align: right; }
.product-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 148px; gap: 6px 10px; }
.product-price-line { display: grid; min-width: 0; gap: 3px; }
.product-price-line b { color: var(--paper); font: 400 16px/1 var(--serif); white-space: nowrap; }
.product-price-line small { overflow: hidden; color: var(--coral); font: 600 7px/1.2 var(--mono); letter-spacing: .04em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.dialog-price .product-price-line b { font-size: clamp(28px, 5vw, 36px); }
.dialog-price .product-price-line small { font-size: 9px; }
.dialog-description { max-width: 430px; margin: 10px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.dialog-size-field { min-width: 0; margin: 18px 0 16px; padding: 0; border: 0; }
.dialog-size-field legend { display: flex; width: 100%; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 10px; padding: 0; color: var(--ink); font: 400 24px/.95 var(--serif); letter-spacing: -.02em; }
.dialog-size-field legend span { color: var(--coral); font: 600 9px var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.dialog-size-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; min-height: 51px; }
.dialog-size-option { display: grid; min-height: 51px; align-content: center; gap: 4px; padding: 7px 5px; border: 1px solid var(--line-strong); border-radius: 8px; background: rgba(255, 255, 255, .025); color: var(--ink); text-align: center; transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease; }
.dialog-size-option:hover { border-color: var(--coral); background: rgba(214, 177, 116, .08); transform: translateY(-2px); }
.dialog-size-option:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.dialog-size-option.is-selected { border-color: var(--paper); background: var(--paper); color: #141416; }
.dialog-size-option b { font: 600 20px/1 var(--sans); }
.dialog-size-option small { display: none; }
.dialog-variant-status { grid-column: 1 / -1; margin: 5px 0 0; color: var(--ink-faint); font: 10px/1.5 var(--mono); }
.dialog-variant-status.is-error { color: #f49a9a; }
.dialog-quantity-field { display: flex; max-width: none; align-items: center; gap: 12px; margin: 0; }
.dialog-control-label { color: var(--ink-soft); font: 600 12px/1 var(--sans); letter-spacing: 0; white-space: nowrap; }
.quantity-stepper { display: grid; width: 132px; flex: 0 0 132px; grid-template-columns: 34px minmax(46px, 1fr) 34px; min-height: 42px; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255, 255, 255, .025); }
.quantity-stepper-button { display: grid; width: 100%; height: 100%; place-items: center; padding: 0; border: 0; background: transparent; color: var(--gold-soft); font: 400 25px/1 var(--sans); transition: background .2s ease, color .2s ease; }
.quantity-stepper-button:first-child { border-radius: 999px 0 0 999px; }
.quantity-stepper-button:last-child { border-radius: 0 999px 999px 0; }
.quantity-stepper-button:hover, .quantity-stepper-button:focus-visible { background: rgba(214, 177, 116, .12); color: var(--ink); }
.quantity-stepper input { width: 100%; min-height: 40px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 600 17px/1 var(--sans); text-align: center; appearance: textfield; }
.quantity-stepper input::-webkit-inner-spin-button, .quantity-stepper input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.dialog-add-button { width: 100%; min-height: 56px; justify-content: space-between; margin-top: 18px; padding-inline: 21px; }
.dialog-add-button > span:last-child { font-size: 20px; }
.dialog-note { min-height: 20px; margin: 10px 0 0; color: var(--ink-faint); font-family: var(--mono); font-size: 10px; line-height: 1.6; }
.product-lightbox { inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); border: 0; background: rgba(8, 9, 11, .98); color: var(--ink); }
.product-lightbox::backdrop { background: rgba(0, 0, 0, .92); backdrop-filter: blur(10px); }
.product-lightbox-close { position: absolute; z-index: 6; top: max(18px, env(safe-area-inset-top)); right: max(18px, env(safe-area-inset-right)); }
.product-lightbox-stage { position: relative; display: grid; width: min(100%, 1100px); height: 100%; margin: auto; place-items: center; }
.product-lightbox-image { width: auto; max-width: calc(100% - 84px); height: auto; max-height: calc(100% - 28px); object-fit: contain; filter: saturate(.9); }
.product-lightbox-stage .dialog-gallery-button { width: 34px; height: 44px; }
.product-lightbox-count { top: auto; right: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(50%); }
.referrals-status, .referrals-empty { color: var(--ink-faint); font-family: var(--mono); font-size: 10px; line-height: 1.7; }
.referrals-list { display: grid; gap: 10px; margin-top: 20px; }
.referral-item { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.referral-item strong, .referral-item span { display: block; }
.referral-item strong { color: var(--ink-soft); font-size: 13px; }
.referral-item > div:first-child span { margin-top: 5px; color: var(--ink-faint); font-family: var(--mono); font-size: 9px; overflow-wrap: anywhere; }
.referral-item-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 13px; }
.referral-status, .referral-claimed { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.referral-status-pending { color: var(--ink-faint); }
.referral-status-verified { color: #a9d4aa; }
.referral-status-qualified { color: var(--success); }
.referral-status-rejected { color: #f1a3a3; }
.referral-claimed { color: var(--ink-faint); }

.referrals-page { width: min(1080px, calc(100% - 96px)); min-height: 65vh; padding-top: 146px; padding-bottom: 145px; }
.referrals-page-heading { display: flex; align-items: end; justify-content: space-between; gap: 42px; }
.referrals-page-heading h1 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: clamp(64px, 8vw, 112px); font-weight: 400; letter-spacing: -.055em; line-height: .84; }
.referrals-page-heading h1 em { color: var(--coral); font-style: normal; }
.referrals-credit-balance { display: grid; min-width: 150px; align-content: end; justify-items: end; gap: 2px; padding-bottom: 5px; color: var(--ink-faint); font-family: var(--mono); text-align: right; text-transform: uppercase; }
.referrals-credit-balance span { color: var(--ink-faint); font-size: 9px; letter-spacing: .12em; }
.referrals-credit-balance strong { color: var(--coral); font-family: var(--sans); font-size: 32px; line-height: 1; }
.referrals-credit-balance small { color: var(--ink-soft); font-size: 9px; letter-spacing: .1em; }
.referrals-page-intro { max-width: 650px; margin: 34px 0 27px; color: var(--ink-faint); font-size: 12px; line-height: 1.85; }
.referral-link-card { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 17px 18px; border: 1px solid var(--line-strong); background: linear-gradient(135deg, rgba(214, 177, 116, .07), transparent 55%), var(--surface-2); }
.referral-link-copy { display: grid; min-width: 0; gap: 8px; }
.referral-card-label { color: var(--coral); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.referral-link-copy code { overflow-wrap: anywhere; color: var(--ink-soft); font-family: var(--mono); font-size: 10px; line-height: 1.55; }
.referral-copy-button { display: inline-flex; flex: 0 0 auto; min-height: 42px; align-items: center; gap: 9px; padding: 0 15px; border: 1px solid rgba(214, 177, 116, .65); background: transparent; color: var(--coral); font: 600 10px var(--mono); letter-spacing: .05em; text-transform: uppercase; transition: background .2s ease, color .2s ease, opacity .2s ease; }
.referral-copy-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.referral-copy-button:hover:not(:disabled) { background: var(--coral); color: var(--bg); }
.referral-copy-button:disabled { cursor: wait; opacity: .52; }
.referrals-copy-status { min-height: 18px; margin: 10px 0 0; color: var(--success); font-family: var(--mono); font-size: 9px; letter-spacing: .04em; }
.referrals-copy-status.is-error { color: #f1a3a3; }
.referral-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 38px; border: 1px solid var(--line); background: var(--line); }
.referral-stat { min-height: 142px; padding: 23px 21px; background: var(--surface); }
.referral-stat strong { display: block; color: var(--ink); font: 400 45px/.95 var(--serif); }
.referral-stat span { display: block; margin-top: 13px; color: var(--ink-soft); font-size: 12px; }
.referral-stat small { display: block; margin-top: 6px; color: var(--ink-faint); font: 9px/1.5 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.referrals-tracking { margin-top: 64px; padding-top: 29px; border-top: 1px solid var(--line); }
.referrals-tracking-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.referrals-tracking-heading .eyebrow { margin-bottom: 16px; }
.referrals-tracking-heading h2 { margin: 0; color: var(--ink); font: 400 clamp(42px, 5vw, 68px)/.9 var(--serif); letter-spacing: -.045em; }
.referrals-tracking-heading h2 em { color: var(--coral); font-style: normal; }
.referrals-reward-note { max-width: 260px; margin: 0 0 5px; color: var(--ink-faint); font: 9px/1.6 var(--mono); letter-spacing: .06em; text-align: right; text-transform: uppercase; }
.referrals-auth-required { margin-top: 38px; padding: 32px; border: 1px solid var(--line-strong); background: var(--surface-2); }
.referrals-auth-required h2 { max-width: 480px; margin: 0 0 24px; color: var(--ink); font: 400 clamp(34px, 5vw, 52px)/.95 var(--serif); }

.account-dialog { width: min(430px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 42px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); box-shadow: 0 30px 100px rgba(0, 0, 0, .65); overflow: auto; }
.account-dialog::backdrop { background: rgba(0, 0, 0, .76); backdrop-filter: blur(7px); }
.account-dialog h2 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: 52px; font-weight: 400; letter-spacing: -.04em; line-height: .9; }
.account-dialog h2 em { color: var(--coral); font-style: normal; }
.account-dialog-copy { max-width: 310px; margin: 23px 0 27px; color: var(--ink-soft); font-size: 12px; line-height: 1.8; }
.google-button-frame { display: flex; min-height: 44px; align-items: center; justify-content: center; width: 100%; overflow: hidden; }
.google-button-frame iframe { max-width: 100%; }
.auth-status { margin: 18px 0 0; color: var(--ink-soft); font-family: var(--mono); font-size: 10px; line-height: 1.65; }
.auth-status.is-error { color: #e3a69b; }
.account-dialog.is-busy .google-button-frame { opacity: .56; pointer-events: none; }
.account-menu-dialog { top: 86px; right: max(18px, calc((100vw - var(--max)) / 2)); bottom: auto; left: auto; width: min(330px, calc(100% - 36px)); margin: 0; padding: 29px; }
.account-menu-dialog::backdrop { background: rgba(0, 0, 0, .2); backdrop-filter: blur(2px); }
.account-menu-identity { display: flex; align-items: center; gap: 14px; padding-right: 16px; }
.account-avatar-menu { width: 48px; height: 48px; flex-basis: 48px; }
.account-avatar-menu .account-avatar-icon { width: 24px; height: 24px; }
.account-avatar-menu .account-avatar-initial { font-size: 27px; }
.account-menu-identity .meta-label { margin: 0 0 5px; }
.account-menu-identity h2 { font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: 0; line-height: 1.2; overflow-wrap: anywhere; }
.account-menu-identity p:last-child { margin: 5px 0 0; color: var(--ink-faint); font-family: var(--mono); font-size: 9px; overflow-wrap: anywhere; }
.account-menu-rule { height: 1px; margin: 24px 0 9px; background: var(--line); }
.account-menu-link, .account-menu-logout { display: flex; width: 100%; min-height: 42px; align-items: center; justify-content: space-between; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink-soft); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-align: left; text-transform: uppercase; transition: color .25s ease, border-color .25s ease; }
.account-menu-link:hover, .account-menu-logout:hover { border-color: var(--coral); color: var(--ink); }
.account-menu-link span, .account-menu-logout span { color: var(--coral); font-family: var(--sans); font-size: 16px; }
.account-menu-logout { border-bottom: 0; color: var(--ink-faint); }
.account-menu-logout:disabled { cursor: wait; opacity: .56; }
.currency-menu-dialog { top: 86px; right: max(18px, calc((100vw - var(--max)) / 2)); bottom: auto; left: auto; width: min(390px, calc(100% - 36px)); margin: 0; padding: 34px; background: linear-gradient(145deg, rgba(214, 177, 116, .09), transparent 42%), var(--surface); }
.currency-menu-dialog::backdrop { background: rgba(0, 0, 0, .56); backdrop-filter: blur(5px); }
.currency-menu-dialog h2 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: clamp(43px, 7vw, 58px); font-weight: 400; letter-spacing: -.04em; line-height: .9; }
.currency-menu-dialog h2 em { color: var(--coral); font-style: normal; }
.currency-menu-copy { max-width: 310px; margin: 20px 0 24px; color: var(--ink-soft); font-size: 12px; line-height: 1.75; }
.currency-options { display: grid; gap: 8px; }
.currency-option { display: grid; grid-template-columns: 55px minmax(0, 1fr) 22px; gap: 12px; align-items: center; min-height: 70px; padding: 10px 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); color: var(--ink); text-align: left; transition: border-color .25s ease, background .25s ease, transform .25s ease; }
.currency-option:hover, .currency-option:focus-visible { border-color: var(--gold-soft); background: rgba(214, 177, 116, .1); transform: translateX(3px); }
.currency-option.is-selected { border-color: var(--coral); background: linear-gradient(90deg, rgba(214, 177, 116, .15), rgba(214, 177, 116, .04)); }
.currency-option-code { color: var(--gold-soft); font: 400 22px/1 var(--serif); letter-spacing: .02em; }
.currency-option-copy { display: grid; min-width: 0; gap: 5px; }
.currency-option-copy b { overflow: hidden; color: var(--ink); font: 600 10px/1.2 var(--mono); letter-spacing: .08em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.currency-option-copy small { overflow: hidden; color: var(--ink-faint); font: 9px/1.4 var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.currency-option-check { color: var(--coral); font: 600 16px/1 var(--sans); opacity: 0; transform: scale(.7); transition: opacity .25s ease, transform .25s ease; }
.currency-option.is-selected .currency-option-check { opacity: 1; transform: scale(1); }
.currency-menu-status { margin: 0; color: var(--ink-faint); font: 10px/1.6 var(--mono); }
.currency-menu-status.is-error { color: #f49a9a; }
.toast { position: fixed; z-index: 50; right: 22px; bottom: 88px; max-width: 310px; padding: 13px 15px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-family: var(--mono); font-size: 10px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.whatsapp-fab {
  position: fixed;
  z-index: 45;
  right: clamp(16px, 3vw, 30px);
  bottom: max(16px, env(safe-area-inset-bottom));
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(214, 177, 116, .62);
  border-radius: 50%;
  background: rgba(184, 151, 94, .9);
  color: #17120c;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .36), 0 0 0 4px rgba(214, 177, 116, .08);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.whatsapp-fab:hover { background: var(--coral); box-shadow: 0 14px 30px rgba(0, 0, 0, .44), 0 0 0 5px rgba(214, 177, 116, .1); transform: translateY(-3px); }
.whatsapp-fab:active { transform: scale(.94); }
.whatsapp-fab svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.whatsapp-fab svg path + path { stroke-width: 1.7; }
.mobile-bottom-nav, .mobile-product-toolbar { display: none; }

@media (max-width: 1050px) {
  .section-pad, .site-header { width: min(var(--max), calc(100% - 52px)); }
  .hero { grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); gap: 35px; }
  .hero h1 { font-size: clamp(66px, 8vw, 96px); }
  .hero-visual { min-height: 550px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); row-gap: 46px; }
  .profile-card { gap: 35px; }
}

@media (max-width: 720px) {
  .section-pad, .site-header { width: calc(100% - 36px); }
  .whatsapp-fab { width: 48px; height: 48px; }
  .whatsapp-fab svg { width: 24px; height: 24px; }
  main section[id] { scroll-margin-top: 84px; }
  .site-header { height: 70px; }
  .page-view { min-height: calc(100svh - 70px); }
  .page-view-home, .page-view-catalog { min-height: 0; }
  .page-view-order { padding-top: 70px; }
  .site-header { gap: 8px; }
  .brand { min-width: 0; flex: 0 1 auto; gap: 8px; }
  .brand-mark { width: 29px; height: 29px; font-size: 19px; }
  .brand-word { font-size: 11px; letter-spacing: .09em; }
  .main-nav { min-width: 0; max-width: none; flex: 1 1 auto; justify-content: flex-end; gap: clamp(8px, 2.5vw, 14px); margin-left: 5px; overflow-x: auto; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav { display: none; }
  .nav-link { flex: 0 0 auto; padding: 7px 0; color: var(--ink-soft); font-size: 8px; white-space: nowrap; }
  .nav-link + .nav-link::before { left: -5px; font-size: 9px; }
  .nav-link::after { bottom: -5px; height: 1px; }
  .account-area { margin-left: auto; }
  .account-area { gap: 2px; }
  .account-area .header-icon-link { display: none; }
  .account-area .notification-trigger { display: inline-grid; }
  .account-trigger { width: 40px; height: 40px; padding: 4px; border-left: 0; }
  .account-trigger::after { display: none; }
  .account-trigger-label { display: none; }
  .account-avatar { width: 30px; height: 30px; flex-basis: 30px; }
  .hero { display: flex; min-height: 0; flex-direction: column; align-items: stretch; gap: 18px; padding-top: 118px; padding-bottom: 8px; }
  .hero h1 { font-size: clamp(70px, 19vw, 100px); }
  .hero-text { margin-top: 28px; font-size: 13px; }
  .hero-visual { display: grid; min-height: 0; align-items: start; margin: 0 -18px; padding: 10px 0 0; }
  .hero-promo-card { width: min(510px, calc(100% - 26px)); }
  .hero-promo-top { padding: 15px 18px 13px; font-size: 7px; }
  .hero-promo-art { min-height: 152px; }
  .hero-promo-art svg { width: 132px; height: 132px; }
  .hero-promo-art-mark { font-size: 14px; }
  .hero-promo-content { padding: 22px 20px 20px; }
  .hero-promo-referral-content { padding-top: 0; }
  .hero-promo-content h2 { font-size: clamp(40px, 12vw, 56px); }
  .hero-promo-range strong { font-size: clamp(28px, 9vw, 40px); }
  .hero-promo-referral h3 { font-size: clamp(25px, 8vw, 34px); }
  .hero-promo-footer { padding-inline: 18px; font-size: 7px; }
  .hero-side-note { display: none; }
  .orbit-one { width: 280px; height: 280px; }
  .orbit-two { width: 190px; height: 190px; }
  .catalog { padding-top: clamp(40px, 13vw, 56px); padding-bottom: clamp(56px, 16vw, 72px); }
  .section-heading { display: block; }
  .section-heading h2 { font-size: clamp(60px, 16vw, 82px); }
  .section-intro { margin-top: 24px; font-size: 12px; }
  .catalog-toolbar { display: block; margin-top: 36px; }
  .filter-list { overflow-x: auto; gap: 19px; padding-bottom: 2px; scrollbar-width: none; }
  .filter-list::-webkit-scrollbar { display: none; }
  .filter-button { flex: 0 0 auto; }
  .filter-button span { font-size: 8px; }
  .search-field { width: 100%; margin-top: 21px; }
  .search-field input { padding: 8px 0; font-size: 10px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; row-gap: 33px; }
  .product-badge { top: 9px; left: 9px; max-width: calc(100% - 18px); font-size: 6px; }
  .product-info { display: block; padding-top: 10px; }
  .product-info h3 { font-size: 20px; }
  .product-info p { font-size: 8px; }
  .product-info strong { display: block; padding-top: 8px; font-size: 17px; }
  .quick-view { display: none; }
  .order-section { padding-top: 26px; padding-bottom: 90px; }
  .order-panel { display: block; }
  .order-panel-copy { padding: 0; }
  .order-panel h2 { font-size: clamp(50px, 14vw, 70px); }
  .order-panel-copy > p:not(.eyebrow) { font-size: 12px; }
  .shein-request-form { min-height: auto; padding: 28px; }
  .shein-request-form .section-heading h2 { font-size: clamp(50px, 14vw, 70px); }
  .steps-list { padding: 32px 28px; }
  .step { grid-template-columns: 33px 1fr; gap: 10px; padding: 19px 0; }
  .step > span { font-size: 20px; }
  .step h3 { font-size: 12px; }
  .step p { font-size: 9px; }
  .site-footer { display: block; padding-top: 16px; padding-bottom: 16px; }
  .footer-copy { margin-top: 12px; text-align: left; }
  .profile-section { padding-top: 113px; padding-bottom: 90px; }
  .profile-heading { display: block; }
  .profile-heading h1 { font-size: clamp(68px, 20vw, 94px); }
  .profile-intro { margin-top: 24px; font-size: 11px; }
  .profile-card { display: block; margin-top: 43px; padding: 25px 20px; }
  .profile-card-identity { align-items: flex-start; gap: 15px; }
  .account-avatar-profile { width: 64px; height: 64px; flex-basis: 64px; }
  .account-avatar-profile .account-avatar-icon { width: 28px; height: 28px; }
  .account-avatar-profile .account-avatar-initial { font-size: 36px; }
  .profile-card h2 { font-size: 34px; }
  .profile-details { gap: 19px 14px; margin-top: 35px; }
  .profile-details dd { font-size: 11px; }
  .referral-item { align-items: flex-start; flex-direction: column; gap: 13px; }
  .referral-item-actions { width: 100%; justify-content: space-between; }
  .referrals-page { width: calc(100% - 36px); padding-top: 113px; padding-bottom: 90px; }
  .referrals-page-heading { display: block; }
  .referrals-page-heading h1 { font-size: clamp(68px, 20vw, 94px); }
  .referrals-credit-balance { justify-items: start; margin-top: 25px; text-align: left; }
  .referrals-page-intro { margin-top: 27px; font-size: 11px; }
  .referral-link-card { display: grid; align-items: stretch; gap: 17px; padding: 18px; }
  .referral-copy-button { justify-content: center; }
  .referral-stats { grid-template-columns: 1fr; margin-top: 31px; }
  .referral-stat { min-height: 0; padding: 20px; }
  .referral-stat strong { font-size: 39px; }
  .referrals-tracking { margin-top: 47px; }
  .referrals-tracking-heading { display: block; }
  .referrals-reward-note { margin-top: 19px; text-align: left; }
  .referrals-auth-required { padding: 25px 20px; }
  .account-dialog { width: calc(100% - 36px); max-height: calc(100dvh - 36px); padding: 31px 23px; }
  .account-dialog h2 { font-size: clamp(43px, 13vw, 54px); }
  .account-menu-dialog { top: 50%; right: 18px; bottom: auto; left: 18px; width: auto; transform: translateY(-50%); }
  .account-menu-dialog::backdrop { background: rgba(0, 0, 0, .76); backdrop-filter: blur(7px); }
  .currency-trigger { min-width: 38px; width: 38px; min-height: 38px; gap: 0; padding: 3px; }
  .currency-trigger-code { display: none; }
  .currency-menu-dialog { top: 50%; right: 18px; bottom: auto; left: 18px; width: auto; padding: 31px 23px; transform: translateY(-50%); }
  .currency-menu-dialog h2 { font-size: clamp(43px, 13vw, 54px); }
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  body.product-preview-open { padding-bottom: 0; }
  .mobile-bottom-nav {
    position: fixed;
    z-index: 40;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 7px 83px max(8px, env(safe-area-inset-bottom)) 8px;
    border-top: 1px solid rgba(245, 241, 235, .12);
    background: rgba(17, 18, 22, .94);
    box-shadow: 0 -18px 42px rgba(0, 0, 0, .2);
    backdrop-filter: blur(18px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  }
  body.product-preview-open .mobile-bottom-nav { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(100%); }
  .mobile-nav-item {
    position: relative;
    display: grid;
    min-height: 58px;
    align-content: center;
    justify-items: center;
    gap: 4px;
    color: var(--ink-faint);
    font-family: var(--mono);
    font-size: 7px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: color .2s ease, transform .2s ease;
  }
  .mobile-nav-item::before {
    position: absolute;
    top: 5px;
    left: 50%;
    width: 42px;
    height: 27px;
    border-radius: 99px;
    background: rgba(214, 177, 116, .09);
    content: "";
    opacity: 0;
    transform: translateX(-50%) scale(.78);
    transition: opacity .2s ease, transform .2s ease;
  }
  .mobile-nav-item.is-active { color: var(--coral); }
  .mobile-nav-item.is-active::before { opacity: 1; transform: translateX(-50%) scale(1); }
  .mobile-nav-item:active { transform: scale(.94); }
  .mobile-nav-icon { position: relative; z-index: 1; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; }
  .mobile-nav-item span { position: relative; z-index: 1; }
  .mobile-product-toolbar {
    position: static;
    z-index: auto;
    display: grid;
    grid-template-columns: minmax(76px, .58fr) minmax(0, 1.7fr);
    gap: 9px;
    align-items: center;
    margin-top: 18px;
    padding: 14px 0 max(2px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: transparent;
    box-shadow: none;
    color: var(--ink);
  }
  .mobile-product-back { display: inline-flex; width: 100%; min-height: 48px; align-items: center; justify-content: center; gap: 6px; padding: 0 6px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink-soft); font-family: var(--mono); font-size: 8px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
  .mobile-product-back:hover, .mobile-product-back:focus-visible { border-color: var(--gold-soft); background: rgba(214, 177, 116, .1); color: var(--ink); }
  .mobile-product-back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
  .mobile-product-action { display: inline-flex; min-width: 0; min-height: 48px; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 2px; font-family: var(--mono); font-size: clamp(10px, 3vw, 12px); font-weight: 600; letter-spacing: .025em; line-height: 1.1; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
  .mobile-product-action-icon { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
  .mobile-product-action:hover { transform: translateY(-2px); }
  .mobile-product-action:active { transform: scale(.97); }
  .mobile-product-action:disabled { cursor: wait; opacity: .56; transform: none; }
  .mobile-product-action-cart { background: transparent; color: var(--ink); }
  .mobile-product-action-cart:hover { border-color: var(--gold-soft); background: rgba(214, 177, 116, .1); }
  .product-dialog .dialog-add-button { display: none; }
  .product-dialog .mobile-product-toolbar { display: grid; }
  .product-gallery-button, .dialog-gallery-button { width: 30px; height: 38px; }
  .product-gallery-button svg, .dialog-gallery-button svg { width: 16px; height: 16px; }
  .product-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 16px 18px max(18px, env(safe-area-inset-bottom)); }
  .dialog-header { align-items: flex-start; }
  .dialog-header .eyebrow { max-width: calc(100% - 52px); line-height: 1.4; }
  .dialog-gallery { margin-top: 11px; }
  .dialog-gallery-media { height: clamp(220px, 62vw, 320px); }
  .dialog-gallery-media img { padding: 14px 52px; }
  .dialog-gallery-zoom-hint { right: 9px; bottom: 9px; padding: 6px 7px; font-size: 7px; }
  .dialog-gallery-zoom-hint svg { width: 12px; height: 12px; }
  .dialog-gallery-count { top: 9px; right: 9px; font-size: 7px; }
  .dialog-product-summary { gap: 10px; margin-top: 13px; padding-bottom: 11px; }
  .product-dialog h2 { font-size: clamp(38px, 12vw, 52px); }
  .dialog-price { gap: 8px; margin: 0; padding: 0; border: 0; }
  .dialog-price .product-price-line b { font-size: 25px; }
  .dialog-price .product-price-line small { font-size: 7px; }
  .dialog-description { margin-top: 8px; font-size: 11px; line-height: 1.45; }
  .dialog-size-field { margin: 15px 0 13px; }
  .dialog-size-field legend { margin-bottom: 8px; font-size: 22px; }
  .dialog-size-options { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .dialog-size-option { min-height: 47px; padding-inline: 2px; border-radius: 7px; }
  .dialog-size-option b { font-size: 16px; }
  .dialog-quantity-field { gap: 10px; }
  .dialog-add-button { margin-top: 16px; }
  .product-lightbox-stage .dialog-gallery-button { width: 30px; height: 38px; }
  .product-lightbox-image { max-width: calc(100% - 70px); }
}

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