/* Emerald's — shared styles */
/* Layout: boutique catalogue — cream ground, gold as the single accent, wide airy grids, soft-edged panels only where an object needs separating. */
:root {
  --bg: #fbf8f2;
  --bg-2: #f4eee3;
  --surface: #fffdf9;
  --surface-2: #fbf6ec;
  --ink: #1b1915;
  --ink-2: #6e665a;
  --ink-3: #9a9182;
  --line: #e8e0d2;
  --line-2: #d9cdb8;
  --gold: #9c7420;
  --gold-hi: #d8b65c;
  --gold-lo: #c39b3e;
  --gold-ink: #261d0b;
  --gold-soft: #f2e7cc;
  --bar: #121110;
  --bar-fg: #e6c15a;
  --hdr-bg: #18150f;
  --hdr-fg: #efe8da;
  --hdr-line: #2c271f;
  --hdr-hover: rgba(255, 255, 255, 0.07);
  --hdr-pill: #3a3121;
  --hdr-pill-fg: #f2e3bd;
  --hdr-gold: #e2be62;
  --ok: #3f6b45;
  --err: #a23b2a;
  --shadow: 0 18px 40px -22px rgba(70, 52, 20, 0.28);
  --f-sans: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --f-accent: "Playfair Display", Georgia, "Times New Roman", serif;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  --gutter: clamp(14px, 4.5vw, 96px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #13110e;
    --bg-2: #1a1713;
    --surface: #1e1a15;
    --surface-2: #241f19;
    --ink: #f2ece1;
    --ink-2: #b0a694;
    --ink-3: #857b6b;
    --line: #2f2a22;
    --line-2: #433b30;
    --gold: #ddb964;
    --gold-soft: #3a2f18;
    --bar: #0a0908;
    --ok: #86b48c;
    --err: #e58a78;
    --shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #13110e;
  --bg-2: #1a1713;
  --surface: #1e1a15;
  --surface-2: #241f19;
  --ink: #f2ece1;
  --ink-2: #b0a694;
  --ink-3: #857b6b;
  --line: #2f2a22;
  --line-2: #433b30;
  --gold: #ddb964;
  --gold-soft: #3a2f18;
  --bar: #0a0908;
  --ok: #86b48c;
  --err: #e58a78;
  --shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
}
img {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--bar);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}
h1,
h2,
h3 {
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0;
}
.wrap {
  width: 100%;
  margin: 0;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow.gold {
  color: var(--gold);
}
.muted {
  color: var(--ink-2);
}
.accent {
  font-family: var(--f-accent);
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 8px;
}
.skip:focus {
  top: 12px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 14px;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-hi), var(--gold-lo));
  color: var(--gold-ink);
  box-shadow: 0 12px 26px -14px rgba(156, 116, 32, 0.8);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -14px rgba(156, 116, 32, 0.9);
}
.btn-ghost {
  border: 1px solid var(--line-2);
  background: var(--surface);
}
.btn-ghost:hover {
  border-color: var(--gold);
}
.btn-block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.5;
  pointer-events: none;
}
.link-u {
  display: inline-flex;
  gap: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.link-u:hover {
  color: var(--gold);
  border-color: var(--gold);
}
.arrow {
  font-size: 0.85em;
}

/* top bar + header */
.topbar {
  background: var(--bar);
  color: var(--bar-fg);
  font-size: 13px;
  font-weight: 500;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 9px;
}
.topbar .center {
  flex: 1;
  text-align: center;
}
.topbar a:hover {
  text-decoration: underline;
}
.header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: color-mix(in srgb, var(--hdr-bg) 96%, transparent);
  color: var(--hdr-fg);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--hdr-line);
  transition: padding 0.25s;
}
.header .wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding-block: 14px;
  transition: padding 0.25s;
}
.header.scrolled .wrap {
  padding-block: 6px;
}
.logo {
  display: block;
  width: 112px;
  transition: width 0.25s;
}
.header.scrolled .logo {
  width: 76px;
}
.logo img {
  display: block;
  width: 100%;
  height: auto;
}
.nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}
.nav a {
  position: relative;
  font-size: 14.5px;
  padding: 8px 0;
  color: var(--hdr-fg);
  transition: color 0.2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--hdr-gold);
  transform: scaleX(0);
  transition: transform 0.25s;
  transform-origin: left;
}
.nav a:hover,
.nav a.active {
  color: var(--hdr-gold);
}
.nav a.active::after,
.nav a:hover::after {
  transform: scaleX(1);
}
.tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tool {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 16px;
  color: var(--hdr-fg);
  transition: background 0.2s;
}
.tool:hover {
  background: var(--hdr-hover);
}
.header :focus-visible {
  outline-color: var(--hdr-gold);
}
.tool svg {
  width: 21px;
  height: 21px;
}
.count {
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--hdr-pill);
  color: var(--hdr-pill-fg);
  font-size: 12.5px;
  font-weight: 500;
  display: inline-grid;
  place-items: center;
  transition: transform 0.3s;
}
.count.bump {
  transform: scale(1.3);
}
.menu-btn {
  display: none;
}

/* hero */
.hero {
  background: linear-gradient(110deg, var(--bg) 40%, var(--bg-2));
  border-bottom: 1px solid var(--line);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 48px;
  align-items: center;
  padding-block: 28px 56px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-block: 24px;
}
.hero h1 {
  font-size: clamp(40.5px, 6.51vw, 86px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.08;
}
.hero h1 .accent {
  font-size: 1.02em;
}
.hero-copy .lead {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 38ch;
  line-height: 1.8;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero-art {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 5/5.4;
  max-height: calc(100vh - 170px);
  min-height: 420px;
  width: 100%;
  max-width: 100%;
  background: radial-gradient(
    120% 90% at 40% 25%,
    #8e7964,
    #4c3d30 70%,
    #3a2e24
  );
}
.hero-art svg.garment {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.glass {
  position: absolute;
  background: rgba(255, 253, 249, 0.82);
  backdrop-filter: blur(8px);
  color: #1b1915;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.hero-bar {
  top: 22px;
  left: 22px;
  right: 22px;
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
}
.hero-card {
  right: 22px;
  bottom: 22px;
  border-radius: 18px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.25s;
}
.hero-card:hover {
  transform: translateY(-3px);
}
.hero-card small {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-card b {
  font-weight: 400;
  font-size: 23px;
  letter-spacing: -0.02em;
}
.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
}
.hero-stats b {
  display: block;
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
}

/* sections */
.section {
  padding-block: 88px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: clamp(27.5px, 4.05vw, 49.5px);
  margin-top: 18px;
}
.section-head .side {
  max-width: 30ch;
  color: var(--ink-2);
  text-align: right;
}

.collections {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.col-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px 26px 26px;
  min-height: 300px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    background 0.3s;
}
.col-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
}
.col-card .num {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.col-card h3 {
  font-size: 24.5px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.col-card p {
  color: var(--ink-2);
  font-size: 14px;
}
.col-card .go {
  margin-top: auto;
  font-size: 14px;
  position: relative;
  z-index: 1;
}
.col-card .avatar {
  position: relative;
  display: block;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow:
    0 0 0 1px var(--line),
    0 10px 22px -14px rgba(60, 40, 10, 0.45);
  transition: transform 0.4s var(--ease, ease);
}
.col-card .avatar .garment {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.col-card:hover .avatar {
  transform: scale(1.06);
}
.after-cols {
  margin-top: 40px;
}

.editorial {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: linear-gradient(120deg, var(--bg-2), var(--surface));
}
.ed-art {
  position: relative;
  min-height: clamp(405px, 34vw, 720px);
  background: linear-gradient(
    135deg,
    #050403 0 26%,
    #7a4e26 26% 30%,
    #b47a3e 30% 62%,
    #6b4321 62% 66%,
    #070605 66%
  );
  overflow: hidden;
}
.ed-art .fold {
  position: absolute;
  width: 38%;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.45));
}
.ed-art .leaf {
  position: absolute;
  left: -30px;
  top: -30px;
  width: 200px;
}
.ed-copy {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  justify-content: center;
}
.ed-copy h2 {
  font-size: clamp(31px, 4.05vw, 54.5px);
}
.ed-copy p {
  color: var(--ink-2);
  max-width: 52ch;
  line-height: 1.85;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-block: 1px solid var(--line);
}
.value {
  padding: 34px 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.value + .value {
  border-left: 1px solid var(--line);
}
.value svg {
  flex: none;
  width: 30px;
  height: 30px;
  color: var(--gold);
}
.value b {
  display: block;
  font-weight: 500;
  margin-bottom: 4px;
}
.value p {
  color: var(--ink-2);
  font-size: 13.5px;
}

/* product grid */
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 12px 12px 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.media {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 100%;
  border-radius: var(--r-md);
  overflow: hidden;
}
.media svg.garment {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.card:hover .media svg.garment {
  transform: scale(1.05);
}
.pill {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.92);
  color: #1b1915;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 2;
}
.heart {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 253, 249, 0.94);
  color: #1b1915;
  z-index: 2;
  transition: transform 0.2s;
}
.heart:hover {
  transform: scale(1.08);
}
.heart svg {
  width: 21px;
  height: 21px;
}
.heart[aria-pressed="true"] svg path {
  fill: #b0402e;
  stroke: #b0402e;
}
.quick {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(14px);
  opacity: 0;
  transition: 0.3s;
}
.card:hover .quick,
.card:focus-within .quick,
.quick.open {
  transform: none;
  opacity: 1;
}
.quick-btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: rgba(27, 25, 21, 0.9);
  color: #f7f1e4;
  font-size: 13px;
  font-weight: 500;
}
.quick-sizes {
  display: none;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 253, 249, 0.96);
  color: #1b1915;
}
.quick.open .quick-sizes {
  display: flex;
}
.quick-sizes span {
  width: 100%;
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6e665a;
}
.quick-sizes button {
  min-width: 42px;
  padding: 7px 8px;
  border-radius: 8px;
  border: 1px solid #d9cdb8;
  font-size: 12.5px;
}
.quick-sizes button:hover {
  background: #1b1915;
  color: #fff;
  border-color: #1b1915;
}
.card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 6px;
}
.card-body .cat {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.card-body h3 {
  font-size: 17.5px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}
.price {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.dots {
  display: flex;
  gap: 6px;
}
.dots i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
}

/* shop */
.shop-head {
  padding-block: 72px 48px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg), var(--bg-2) 140%);
}
.shop-head .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.shop-head h1 {
  font-size: clamp(34px, 4.93vw, 60px);
  margin-top: 20px;
}
.shop-head .side {
  color: var(--ink-2);
  line-height: 1.8;
}
.sort {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
}
.sort select {
  appearance: none;
  border: 0;
  background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239A9182' stroke-width='1.8' fill='none'/%3E%3C/svg%3E")
    no-repeat right 4px center;
  padding: 10px 32px 10px 8px;
  font-size: 15px;
  cursor: pointer;
}
.sort select option {
  background: var(--surface);
  color: var(--ink);
}
.filters {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  padding-block: 30px 14px;
}
.search-field {
  position: relative;
  flex: 0 1 350px;
  min-width: 0;
}
.search-field svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  color: var(--ink-2);
}
.search-field input {
  width: 100%;
  padding: 13px 16px 13px 46px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  font-size: 15px;
}
.search-field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.filters .n {
  color: var(--ink-2);
  font-size: 14px;
}
.filters .reset {
  font-size: 14px;
  text-decoration: underline;
  color: var(--ink-2);
}
.filters .reset:hover {
  color: var(--gold);
}
.filters .sort {
  margin-left: auto;
}
.note {
  font-size: 12.5px;
  color: var(--ink-2);
  padding-bottom: 28px;
}
.empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 80px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--ink-2);
}
.empty h3 {
  font-size: 24.5px;
  color: var(--ink);
}

/* product page */
.crumbs {
  display: flex;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-2);
  padding-block: 28px;
  flex-wrap: wrap;
}
.crumbs a:hover {
  color: var(--gold);
}
.pdp {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  padding-bottom: 80px;
  align-items: start;
}
.gallery {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  position: sticky;
  top: 120px;
}
.thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.thumbs button {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid transparent;
  opacity: 0.75;
  transition: 0.2s;
}
.thumbs button.on,
.thumbs button:hover {
  border-color: var(--gold);
  opacity: 1;
}
.thumbs svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.main-img {
  position: relative;
  aspect-ratio: 4/5;
  width: 100%;
  max-height: calc(100vh - 150px);
  min-height: 380px;
  max-width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.main-img svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.info {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.info h1 {
  font-size: clamp(29.5px, 3.87vw, 47.5px);
}
.info .price {
  font-size: 19.5px;
  font-weight: 400;
}
.info .desc {
  color: var(--ink-2);
  line-height: 1.85;
  max-width: 52ch;
}
.opt-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 12px;
}
.opt-label b {
  font-weight: 500;
}
.opt-label button {
  text-decoration: underline;
  color: var(--ink-2);
  font-size: 12.5px;
}
.swatches {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  box-shadow: inset 0 0 0 3px var(--surface);
  transition: 0.2s;
}
.swatch.on {
  outline: 1.5px solid var(--ink);
  outline-offset: 3px;
}
.sizes {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.size {
  min-width: 58px;
  padding: 13px 12px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  font-size: 14px;
  transition: 0.2s;
}
.size:hover {
  border-color: var(--ink);
}
.size.on {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.size-err {
  color: var(--err);
  font-size: 13px;
  margin-top: 10px;
}
.buy {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--surface);
}
.qty button {
  width: 44px;
  height: 52px;
  font-size: 17.5px;
}
.qty span {
  min-width: 30px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.buy .btn-gold {
  flex: 1;
}
.wish-btn {
  width: 56px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  background: var(--surface);
}
.wish-btn svg {
  width: 22px;
}
.wish-btn[aria-pressed="true"] svg path {
  fill: #b0402e;
  stroke: #b0402e;
}
.perks {
  display: grid;
  gap: 12px;
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: var(--bg-2);
  font-size: 13.5px;
}
.perks div {
  display: flex;
  gap: 12px;
  align-items: center;
}
.perks svg {
  width: 20px;
  color: var(--gold);
  flex: none;
}
.acc {
  border-top: 1px solid var(--line);
}
.acc details {
  border-bottom: 1px solid var(--line);
}
.acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  font-weight: 500;
}
.acc summary::-webkit-details-marker {
  display: none;
}
.acc summary::after {
  content: "+";
  font-weight: 300;
  font-size: 19.5px;
  line-height: 1;
  transition: transform 0.25s;
}
.acc details[open] summary::after {
  transform: rotate(45deg);
}
.acc .body {
  padding-bottom: 20px;
  color: var(--ink-2);
  font-size: 14px;
}
.acc ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

/* store */
.store-hero {
  padding-block: 84px;
  background: linear-gradient(110deg, var(--bg) 30%, var(--bg-2));
  border-bottom: 1px solid var(--line);
}
.store-hero h1 {
  font-size: clamp(35.5px, 5.28vw, 65px);
  margin-block: 22px;
}
.store-hero p {
  font-size: 16.5px;
  color: var(--ink-2);
}
.visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.visit h2 {
  font-size: clamp(31px, 4.05vw, 51px);
  margin-top: 22px;
}
.visit-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.visit-card h3 {
  font-size: 18.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.addr {
  font-size: 16.5px;
  line-height: 1.75;
}
.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.hours td {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.hours td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.hours tr.today td {
  color: var(--gold);
  font-weight: 500;
}
.open-state {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
}
.open-state i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ok);
}
.open-state.closed i {
  background: var(--err);
}
.map-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16/9;
  max-width: 100%;
  background: var(--bg-2);
}
.map-card svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.map-card a {
  position: absolute;
  left: 16px;
  bottom: 16px;
}
.expect {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.expect div {
  padding: 30px 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.expect .k {
  font-family: var(--f-accent);
  font-style: italic;
  color: var(--gold);
  font-size: 26.5px;
  line-height: 1;
}
.expect b {
  font-weight: 500;
  font-size: 16.5px;
}
.expect p {
  color: var(--ink-2);
  font-size: 14px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* forms */
.form {
  display: grid;
  gap: 18px;
}
.field {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.field label {
  font-size: 13.5px;
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  font-size: 15px;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.field .err {
  color: var(--err);
  font-size: 13px;
  min-height: 0;
}
.field.bad input,
.field.bad select {
  border-color: var(--err);
}
.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.choice {
  display: grid;
  gap: 10px;
}
.choice label {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.2s;
}
.choice label:has(input:checked) {
  border-color: var(--gold);
  background: var(--surface-2);
}
.choice input {
  accent-color: var(--gold-lo);
  margin-top: 4px;
}
.choice b {
  display: block;
  font-weight: 500;
}
.choice small {
  color: var(--ink-2);
  font-size: 13px;
}

/* checkout */
.checkout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  padding-block: 20px 90px;
  align-items: start;
}
.co-step {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}
.co-step + .co-step {
  margin-top: 22px;
}
.co-step h2 {
  font-size: 19.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: flex;
  gap: 12px;
  align-items: center;
}
.co-step h2 span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold-soft);
  display: grid;
  place-items: center;
  font-size: 13px;
}
.summary {
  position: sticky;
  top: 120px;
  padding: 30px;
  border-radius: var(--r-lg);
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.summary h2 {
  font-size: 19.5px;
  font-weight: 500;
}
.sum-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.sum-line.total {
  font-size: 17.5px;
  font-weight: 500;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
}
.preview-note {
  font-size: 12.5px;
  color: var(--ink-2);
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px dashed var(--line-2);
}
.done {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding-block: 90px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
}
.done .tick {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--gold-soft);
  display: grid;
  place-items: center;
  color: var(--gold);
}
.done h1 {
  font-size: clamp(31px, 4.4vw, 53px);
}
.done .ref {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: 0.08em;
}

/* line items (bag + summary) */
.line {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 14px;
  align-items: start;
}
.line .th {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 10px;
  overflow: hidden;
}
.line .th svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.line h4 {
  margin: 0;
  font-weight: 500;
  font-size: 14.5px;
}
.line small {
  display: block;
  color: var(--ink-2);
  font-size: 12.5px;
}
.line .ctrl {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
}
.mini-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: 8px;
}
.mini-qty button {
  width: 30px;
  height: 30px;
}
.mini-qty span {
  min-width: 22px;
  text-align: center;
  font-size: 13px;
}
.rm {
  font-size: 12.5px;
  color: var(--ink-2);
  text-decoration: underline;
}
.rm:hover {
  color: var(--err);
}

/* drawers & overlays */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(18, 15, 10, 0.45);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.scrim.on {
  opacity: 1;
  pointer-events: auto;
}
.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(440px, 100%);
  background: var(--surface);
  z-index: 90;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  box-shadow: -30px 0 60px -30px rgba(0, 0, 0, 0.35);
}
.drawer.left {
  right: auto;
  left: 0;
  transform: translateX(-105%);
  padding-right: 0;
  padding-left: env(safe-area-inset-left, 0px);
}
.drawer.on {
  transform: none;
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 {
  font-size: 21px;
  font-weight: 400;
}
.x {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.x:hover {
  background: var(--bg-2);
}
.x svg {
  width: 20px;
}
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.drawer-foot {
  padding: 22px 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--surface-2);
}
.ship-meter {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
}
.ship-meter .track {
  height: 5px;
  border-radius: 5px;
  background: var(--line);
}
.ship-meter .fill {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--gold-hi), var(--gold-lo));
  transition: width 0.4s;
}
.mnav {
  display: flex;
  flex-direction: column;
}
.mnav a {
  padding: 16px 0;
  font-size: 19.5px;
  font-weight: 300;
  border-bottom: 1px solid var(--line);
}
.mnav a.active {
  color: var(--gold);
}

.search-panel {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 90;
  background: var(--surface);
  transform: translateY(-105%);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  padding-top: env(safe-area-inset-top, 0px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.35);
  max-height: 88vh;
  overflow-y: auto;
}
.search-panel.on {
  transform: none;
}
.search-panel .wrap {
  padding-block: 28px 34px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.search-top {
  display: flex;
  gap: 12px;
  align-items: center;
}
.search-top input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-bottom: 1.5px solid var(--line-2);
  background: transparent;
  font-size: clamp(21px, 3.4vw, 38px);
  font-weight: 300;
  padding: 10px 0;
  letter-spacing: -0.02em;
}
.search-top input:focus {
  outline: none;
  border-color: var(--gold);
}
.sugg {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.sugg button {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 13px;
}
.sugg button:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}
.result {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  transition: background 0.2s;
}
.result:hover {
  background: var(--bg-2);
}
.result .th {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 8px;
  overflow: hidden;
}
.result .th svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.result b {
  display: block;
  font-weight: 500;
  font-size: 14px;
}
.result small {
  color: var(--ink-2);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 16px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}
.modal.on {
  opacity: 1;
  pointer-events: auto;
}
.modal-box {
  width: min(620px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
}
.modal-box .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-box h2 {
  font-size: 23px;
  font-weight: 400;
}
.tbl-wrap {
  overflow-x: auto;
}
.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}
.tbl th,
.tbl td {
  padding: 11px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.tbl th {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 500;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 30px);
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 13.5px;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  max-width: calc(100% - 32px);
  display: flex;
  gap: 16px;
  align-items: center;
}
.toast.on {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.toast button {
  color: var(--gold-hi);
  font-weight: 500;
  text-decoration: underline;
}

/* newsletter + footer */
.news {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px;
  border-radius: 26px;
  background: linear-gradient(120deg, var(--bg-2), var(--surface));
  border: 1px solid var(--line);
}
.news h2 {
  font-size: clamp(24.5px, 3.34vw, 40.5px);
  margin-top: 16px;
}
.news form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.news input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--surface);
}
.news input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.news .fine {
  font-size: 12.5px;
  color: var(--ink-2);
  margin-top: 12px;
}
.footer {
  background: #14120f;
  color: #cfc6b5;
  margin-top: 0;
}
.footer .wrap {
  padding-block: 70px 34px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}
.footer .flogo {
  width: 130px;
}
.footer .tag {
  margin-top: 18px;
  max-width: 30ch;
  color: #a39985;
  font-size: 14px;
}
.footer h4 {
  margin: 0 0 16px;
  color: #e6c15a;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
}
.footer a:hover {
  color: #e6c15a;
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid #2c2720;
  font-size: 12.5px;
  color: #8a8070;
}
.theme-toggle {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #cfc6b5;
  border: 1px solid #3a342b;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12.5px;
}
.theme-toggle:hover {
  border-color: #e6c15a;
  color: #e6c15a;
}

/* ---------- motion ---------- */
:root {
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
.hero h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.hero h1 .line > span {
  display: inline-block;
}
@view-transition {
  navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.38s;
  animation-timing-function: var(--ease);
}
@media (prefers-reduced-motion: no-preference) {
  /* first page of a visit: bar and header ease down */
  .first-load .topbar {
    animation: dropIn 0.7s var(--ease) both;
  }
  .first-load .header {
    animation: dropIn 0.8s var(--ease) 0.08s both;
  }
  @keyframes dropIn {
    from {
      opacity: 0;
      transform: translateY(-14px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  /* scroll reveal */
  .rv {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity 0.9s var(--ease) var(--d, 0ms),
      transform 0.9s var(--ease) var(--d, 0ms);
  }
  .rv.in {
    opacity: 1;
    transform: none;
  }
  .rv-hold,
  .rv-hold * {
    transition: none !important;
  }
  .rv.rv-lines {
    opacity: 1;
    transform: none;
  }
  .rv.rv-lines .line > span {
    transform: translateY(105%);
    transition: transform 1.05s var(--ease) var(--d, 0ms);
  }
  .rv.rv-lines .line + .line > span {
    transition-delay: calc(var(--d, 0ms) + 130ms);
  }
  .rv.rv-lines.in .line > span {
    transform: none;
  }
  /* hero image opens up and settles */
  .hero-art.rv {
    transform: none;
    clip-path: inset(7% 5% 7% 5% round 30px);
    transition:
      clip-path 1.4s var(--ease) var(--d, 0ms),
      opacity 0.7s var(--ease) var(--d, 0ms);
  }
  .hero-art.rv.in {
    clip-path: inset(0 round 30px);
  }
  .hero-art.rv .garment {
    transform: scale(1.08);
    transition: transform 1.9s var(--ease);
  }
  .hero-art.rv.in .garment {
    transform: none;
  }
  .hero-art.rv .glass {
    opacity: 0;
    transform: translateY(12px);
    transition:
      opacity 0.7s var(--ease) 0.75s,
      transform 0.7s var(--ease) 0.75s;
  }
  .hero-art.rv.in .glass {
    opacity: 1;
    transform: none;
  }
  /* gentle parallax on large images while scrolling */
  .plx .hero-art .garment,
  .plx .ed-art > .garment {
    translate: 0 var(--py, 0px);
    scale: 1.06;
  }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
}

/* wide screens */
@media (min-width: 1600px) {
  .grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .hero h1 {
    font-size: clamp(75.5px, 5.63vw, 123px);
  }
  .hero-copy .lead {
    font-size: 17.5px;
  }
}
@media (min-width: 2100px) {
  .grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* shop filters */
.facets {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  align-items: center;
  padding-bottom: 18px;
}
.facet {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
}
.facet-l {
  font-size: 12.5px;
  color: var(--ink-2);
  white-space: nowrap;
}
.facet-l b {
  color: var(--ink);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.fchips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.fchip {
  min-width: 42px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  font-size: 13px;
  transition:
    border-color 0.2s,
    background 0.2s,
    color 0.2s;
}
.fchip:hover {
  border-color: var(--gold);
}
.fchip.on {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.price-facet input[type="range"] {
  width: 200px;
  max-width: 100%;
  accent-color: var(--gold-lo);
}
/* few left */
.few-note {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #a86f0f;
}
:root[data-theme="dark"] .few-note,
:root[data-theme="dark"] .few-msg {
  color: #e2b159;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .few-note,
  :root:not([data-theme="light"]) .few-msg {
    color: #e2b159;
  }
}
.size.few {
  position: relative;
}
.size.few::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c98a1e;
}
.quick-sizes button.few {
  position: relative;
}
.quick-sizes button.few::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c98a1e;
}
.few-msg {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #a86f0f;
}
@media (max-width: 620px) {
  .facets {
    gap: 12px;
  }
  .price-facet {
    width: 100%;
  }
  .price-facet input[type="range"] {
    flex: 1;
    width: auto;
  }
}

/* 404 + size guide */
.nf {
  padding-block: clamp(61.5px, 10vw, 140px) 40px;
  background: linear-gradient(110deg, var(--bg) 40%, var(--bg-2));
  border-bottom: 1px solid var(--line);
}
.nf .wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.nf h1 {
  font-size: clamp(35.5px, 6.16vw, 84.5px);
  letter-spacing: -0.04em;
  max-width: 14ch;
}
.nf .lead {
  font-size: 16.5px;
  color: var(--ink-2);
  max-width: 52ch;
  line-height: 1.7;
}
.nf-search {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 620px;
}
.nf-search .search-field {
  flex: 1 1 280px;
}
.nf-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 8px;
}
.sg-h {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-top: 6px;
}
.fit-note {
  font-size: 13.5px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg-2);
  line-height: 1.55;
}
.fit-note b {
  font-weight: 500;
}

/* M-Pesa payment */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.test-note {
  font-size: 12.5px;
  color: #a86f0f;
  background: color-mix(in srgb, #c98a1e 12%, transparent);
  padding: 8px 12px;
  border-radius: 8px;
}
.pay-panel {
  max-width: 560px;
  margin: 0 auto;
  padding-block: clamp(53px, 9vw, 110px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
  align-items: center;
}
.pay-panel h1 {
  font-size: clamp(31px, 4.4vw, 51px);
}
.pay-box {
  width: 100%;
  padding: 30px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pay-wait {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.pay-wait b {
  font-weight: 500;
  font-size: 17.5px;
}
.pay-wait p {
  color: var(--ink-2);
  max-width: 40ch;
}
.pay-phone {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: var(--gold);
  animation: payPulse 1.8s ease-in-out infinite;
}
@keyframes payPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--gold-lo) 45%, transparent);
  }
  50% {
    box-shadow: 0 0 0 14px transparent;
  }
}
.pay-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}
.pay-actions-col {
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}
.pay-actions-col .btn {
  width: 100%;
  justify-content: center;
}
.btn-receipt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pay-foot {
  font-size: 13px;
}
.paid-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ok) 14%, transparent);
  color: var(--ok);
  font-weight: 500;
  font-size: 13.5px;
}
.nowrap {
  white-space: nowrap;
}
.plink {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* M-Pesa pop-up */
.modal-box.pay-modal {
  width: min(460px, 100%);
  gap: 16px;
  padding: 24px;
}
.mpesa-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #2e8b3a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.pay-amount {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 14px;
  border-radius: 14px;
  background: var(--bg-2);
  text-align: center;
}
.pay-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.pay-amount b {
  font-size: clamp(28px, 7vw, 34px);
  font-weight: 400;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.pay-locked {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ink-2);
}
.pay-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pay-body .pay-wait {
  gap: 12px;
}
.pay-body .pay-wait > p {
  font-size: 14.5px;
  line-height: 1.6;
}
.sim-phone {
  width: 190px;
  padding: 12px 10px 18px;
  border-radius: 26px;
  background: #1b1915;
  box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.5);
}
.sim-screen {
  border-radius: 14px;
  background: #eef1ec;
  color: #1b1915;
  padding: 14px 12px;
  text-align: left;
  font-size: 12.5px;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sim-screen small {
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #2e8b3a;
  font-size: 10.5px;
}
.sim-screen p {
  margin: 0;
  color: #1b1915 !important;
}
.sim-pin {
  display: block;
  padding: 6px 8px;
  border: 1px solid #9aa39a;
  border-radius: 6px;
  background: #fff;
  letter-spacing: 0.3em;
  font-size: 11px;
}
.sim-btns {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: #2e8b3a;
  padding-top: 2px;
}
.sim-test {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px dashed #c98a1e;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.sim-test p {
  font-size: 13.5px;
  margin: 0;
}
.sim-test .pay-actions {
  justify-content: flex-start;
}
.sim-test .btn {
  padding: 10px 14px;
  font-size: 13.5px;
}
.test-tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a5b0a;
  background: color-mix(in srgb, #c98a1e 18%, transparent);
  padding: 3px 8px;
  border-radius: 6px;
}
.pay-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13.5px;
}
.pay-links .plink[disabled] {
  opacity: 0.45;
  cursor: default;
  text-decoration: none;
}
.pay-safe {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ink-2);
  text-align: center;
}
.pay-later {
  align-self: center;
  font-size: 13.5px;
  color: var(--ink-2);
}
.pay-ok b {
  font-size: 20px;
}
.pay-tick {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--ok) 15%, transparent);
  color: var(--ok);
}
.spin {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid var(--line-2);
  border-top-color: var(--gold-lo);
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.pay-again {
  width: 100%;
  padding: 18px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--gold-lo);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.pay-again p {
  margin: 0;
  font-size: 14.5px;
}
.pay-again b {
  font-weight: 500;
}
@media (max-width: 620px) {
  .modal-box.pay-modal {
    padding: 20px 16px;
  }
  .sim-phone {
    width: 168px;
  }
}

/* WhatsApp + checkout messages */
.btn-wa {
  background: #1e6b47;
  color: #fff;
  box-shadow: 0 12px 24px -16px rgba(30, 107, 71, 0.9);
}
.btn-wa:hover {
  background: #185a3b;
  transform: translateY(-2px);
}
.btn-wa svg {
  flex: none;
}
.wa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #1e6b47;
  align-self: flex-start;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}
:root[data-theme="dark"] .wa-link {
  color: #7cc9a1;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .wa-link {
    color: #7cc9a1;
  }
}
.wa-link:hover {
  opacity: 0.8;
}
.wa-ask {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.wa-ask small {
  font-size: 12.5px;
  line-height: 1.45;
}
.wa-photo {
  font-size: 13.5px;
  color: #1e6b47;
}
.wa-note {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: color-mix(in srgb, #1e6b47 10%, var(--surface));
  font-size: 13.5px;
  line-height: 1.5;
}
.wa-note b {
  font-weight: 500;
}
.co-error {
  padding: 14px 16px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--err) 12%, var(--surface));
  color: var(--err);
  font-size: 13px;
  line-height: 1.5;
}
.or-wa {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
  font-size: 13px;
  color: var(--ink-2);
}

/* prices, sale, sold out */
.prices {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.price.sale {
  color: var(--err);
}
.price.tbc {
  color: var(--ink-2);
  font-weight: 400;
  font-style: italic;
}
.was {
  color: var(--ink-3);
  font-size: 0.88em;
}
.prices.big .price {
  font-size: 19.5px;
  font-weight: 400;
}
.prices.big .was {
  font-size: 16px;
}
.save {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--err);
  background: color-mix(in srgb, var(--err) 12%, transparent);
  padding: 4px 9px;
  border-radius: 6px;
}
.pill.sale {
  background: #a23b2a;
  color: #fff;
}
.pill.out {
  background: #1b1915;
  color: #f7f1e4;
}
.size.out {
  color: var(--ink-3);
  text-decoration: line-through;
  background: var(--bg-2);
  cursor: not-allowed;
}
.size.out:hover {
  border-color: var(--line-2);
}
.quick-sizes button[disabled] {
  opacity: 0.4;
  text-decoration: line-through;
  cursor: not-allowed;
}
.quick-sizes button[disabled]:hover {
  background: none;
  color: inherit;
  border-color: #d9cdb8;
}
.media .garment.photo.alt {
  opacity: 0;
  transition:
    opacity 0.45s,
    transform 0.6s;
}
.card:hover .media.has-alt .garment.photo.alt {
  opacity: 1;
}

/* uploaded photos */
.garment.photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.garment.photo.zoom {
  transform: scale(1.9);
  transform-origin: 50% 30%;
}
.card:hover .media .garment.photo {
  transform: scale(1.05);
}
.store-hero.has-photo .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.store-photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  max-width: 100%;
}
.contact-line {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 15px;
}
.contact-line span {
  user-select: all;
  font-variant-numeric: tabular-nums;
}
.hours td.closed {
  color: var(--ink-3);
}
@media (max-width: 900px) {
  .store-hero.has-photo .wrap {
    grid-template-columns: 1fr;
  }
}

/* responsive */
@media (max-width: 1080px) {
  .nav {
    gap: 18px;
  }
  .nav a {
    font-size: 13.5px;
  }
  .collections {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .nav {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
  }
  .header .wrap {
    grid-template-columns: auto 1fr auto;
  }
  .header .logo {
    justify-self: center;
    grid-column: 2;
    width: 86px;
  }
  .menu-btn {
    grid-column: 1;
    grid-row: 1;
  }
  .tools {
    grid-column: 3;
  }
  .hero .wrap,
  .editorial,
  .pdp,
  .visit,
  .two,
  .checkout,
  .news {
    grid-template-columns: 1fr;
  }
  .hero .wrap {
    gap: 20px;
  }
  .hero-art {
    aspect-ratio: 4/4.2;
  }
  .gallery {
    position: static;
  }
  .summary {
    position: static;
  }
  .ed-copy {
    padding: 44px 30px;
  }
  .ed-art {
    min-height: 340px;
  }
  .values {
    grid-template-columns: 1fr;
  }
  .value + .value {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .expect {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section-head .side {
    text-align: left;
  }
  .news {
    padding: 36px 26px;
  }
}
@media (max-width: 620px) {
  .topbar .center {
    display: none;
  }
  .topbar .wrap {
    justify-content: center;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .card {
    padding: 8px 8px 14px;
    border-radius: 16px;
  }
  .card-body h3 {
    font-size: 14px;
  }
  .heart {
    width: 38px;
    height: 38px;
    top: 6px;
    right: 6px;
  }
  .pill {
    top: 8px;
    left: 8px;
    font-size: 9px;
    padding: 5px 8px;
  }
  .quick {
    opacity: 1;
    transform: none;
  }
  .quick-btn {
    padding: 9px;
    font-size: 11.5px;
  }
  .collections {
    grid-template-columns: 1fr;
  }
  .col-card {
    min-height: 220px;
  }
  .section {
    padding-block: 60px;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .thumbs {
    flex-direction: row;
    order: 2;
  }
  .thumbs button {
    width: 70px;
  }
  .row2 {
    grid-template-columns: 1fr;
  }
  .co-step {
    padding: 22px;
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .hero-card b {
    font-size: 16px;
  }
  .tools .tool-label {
    display: none;
  }
  .hero-stats {
    gap: 18px;
  }
  .header .wrap {
    gap: 8px;
  }
  .tools {
    gap: 0;
  }
  .tool {
    padding: 6px 7px;
    gap: 4px;
  }
  .count {
    min-width: 20px;
    height: 20px;
    font-size: 11px;
  }
  .header .logo {
    width: 72px;
  }
}

/* phones: a slightly smaller type scale */
@media (max-width: 620px) {
  .card .price.tbc {
    font-size: 12.5px;
  }
  body {
    font-size: 14px;
  }
  .link-u {
    font-size: 13px;
  }
  .nav a {
    font-size: 13.5px;
  }
  .tool {
    font-size: 14.5px;
  }
  .hero-copy .lead {
    font-size: 14.5px;
  }
  .hero-stats {
    font-size: 12px;
  }
  .hero-stats b {
    font-size: 13px;
  }
  .col-card h3 {
    font-size: 22.5px;
  }
  .col-card p {
    font-size: 13px;
  }
  .col-card .go {
    font-size: 13px;
  }
  .value p {
    font-size: 12.5px;
  }
  .filters .n {
    font-size: 13px;
  }
  .filters .reset {
    font-size: 13px;
  }
  .empty h3 {
    font-size: 22.5px;
  }
  .info .price {
    font-size: 18px;
  }
  .opt-label {
    font-size: 12px;
  }
  .size {
    font-size: 13px;
  }
  .size-err {
    font-size: 12px;
  }
  .qty button {
    font-size: 16px;
  }
  .perks {
    font-size: 12.5px;
  }
  .acc summary::after {
    font-size: 18px;
  }
  .acc .body {
    font-size: 13px;
  }
  .store-hero p {
    font-size: 15px;
  }
  .visit-card h3 {
    font-size: 17px;
  }
  .addr {
    font-size: 15px;
  }
  .hours {
    font-size: 13px;
  }
  .open-state {
    font-size: 12px;
  }
  .expect .k {
    font-size: 24.5px;
  }
  .expect b {
    font-size: 15px;
  }
  .expect p {
    font-size: 13px;
  }
  .choice small {
    font-size: 12px;
  }
  .co-step h2 {
    font-size: 18px;
  }
  .co-step h2 span {
    font-size: 12px;
  }
  .summary h2 {
    font-size: 18px;
  }
  .sum-line {
    font-size: 13px;
  }
  .sum-line.total {
    font-size: 16px;
  }
  .line h4 {
    font-size: 13.5px;
  }
  .mini-qty span {
    font-size: 12px;
  }
  .drawer-head h2 {
    font-size: 19.5px;
  }
  .ship-meter {
    font-size: 12px;
  }
  .mnav a {
    font-size: 18px;
  }
  .sugg button {
    font-size: 12px;
  }
  .result b {
    font-size: 13px;
  }
  .modal-box h2 {
    font-size: 21px;
  }
  .tbl {
    font-size: 12.5px;
  }
  .toast {
    font-size: 12.5px;
  }
  .footer .tag {
    font-size: 13px;
  }
  .footer ul {
    font-size: 13px;
  }
  .fchip {
    font-size: 12px;
  }
  .few-msg {
    font-size: 12px;
  }
  .nf .lead {
    font-size: 15px;
  }
  .sg-h {
    font-size: 13px;
  }
  .fit-note {
    font-size: 12.5px;
  }
  .pay-wait b {
    font-size: 16px;
  }
  .pay-foot {
    font-size: 12px;
  }
  .paid-badge {
    font-size: 12.5px;
  }
  .wa-link {
    font-size: 12.5px;
  }
  .co-error {
    font-size: 12px;
  }
  .or-wa {
    font-size: 12px;
  }
  .prices.big .price {
    font-size: 18px;
  }
  .prices.big .was {
    font-size: 14.5px;
  }
  .contact-line {
    font-size: 14px;
  }
}
@media (max-width: 620px) {
  input,
  select,
  textarea {
    font-size: 16px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Pieces with no photo yet: a quiet panel with the logo (no drawn artwork) */
.garment.nophoto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(160deg, var(--surface-2), var(--bg-2));
  color: var(--ink-3);
  container-type: inline-size;
  text-align: center;
}
.garment.nophoto img {
  width: clamp(28px, 34%, 150px);
  height: auto;
  opacity: 0.55;
}
.garment.nophoto span {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.garment.nophoto.big img {
  width: min(36%, 190px);
}
.garment.nophoto.big span {
  font-size: 13px;
}
.garment.nophoto.clear {
  background: none;
  color: rgba(255, 255, 255, 0.7);
}
.garment.nophoto.clear img {
  opacity: 0.85;
}
@container (max-width:150px) {
  .garment.nophoto span {
    display: none;
  }
}
