/* ==========================================================================
   RKBAGS — redesign prototype
   Design system + components
   ========================================================================== */

:root {
  --ink: #17130F;
  --ink-2: #2A231D;
  --ink-soft: #514840;
  --muted: #8B8078;
  --porcelain: #FFFFFF;
  --sand: #F8F8F7;
  --sand-deep: #EFEFED;
  --line: #E3D8C7;
  --line-soft: #EFE7DA;
  --brass: #AF8A55;
  --brass-deep: #8E6B3A;
  --white: #fff;
  --shadow: 0 18px 50px -24px rgba(23, 19, 15, .35);

  --serif: "Cormorant Garamond", "Iowan Old Style", "Times New Roman", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1440px;
  --gut: 40px;
  --ease: cubic-bezier(.22, .61, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
select, input, textarea { font: inherit; color: inherit; }

::selection { background: var(--sand-deep); }

.wrap { width: min(var(--wrap), 100% - var(--gut) * 2); margin-inline: auto; }

/* ---------- type ---------- */
.serif { font-family: var(--serif); }

.eyebrow {
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass-deep);
  font-weight: 500;
  margin: 0 0 18px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--ink);
}

h1 { font-size: clamp(42px, 4.6vw, 76px); }
h2 { font-size: clamp(30px, 3.1vw, 46px); }
h3 { font-size: clamp(22px, 2vw, 28px); }

.lede {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 62ch;
}

.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  --pad: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 var(--pad);
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}

.btn svg { width: 15px; height: 15px; }

.btn-solid { background: var(--ink); color: var(--porcelain); border-color: var(--ink); }
.btn-solid:hover { background: var(--brass-deep); border-color: var(--brass-deep); }

.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--porcelain); }

.btn-light { border-color: rgba(252, 249, 245, .55); color: var(--porcelain); }
.btn-light:hover { background: var(--porcelain); color: var(--ink); border-color: var(--porcelain); }

.btn-block { width: 100%; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 6px;
  transition: color .3s var(--ease), border-color .3s var(--ease), gap .3s var(--ease);
}
.link-more:hover { color: var(--brass-deep); border-color: var(--brass-deep); gap: 16px; }
.link-more svg { width: 14px; height: 14px; }

/* ---------- top bar ---------- */
.topbar {
  background: var(--ink);
  color: #E9DFD1;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 40px;
}
.topbar-msg { display: inline-flex; align-items: center; gap: 10px; opacity: .92; }
.topbar-msg svg { width: 14px; height: 14px; opacity: .8; }
.topbar-tools { display: flex; align-items: center; gap: 22px; }

.lang-switch { display: flex; align-items: center; gap: 2px; }
.lang-switch button {
  padding: 4px 7px;
  font-size: 10px;
  letter-spacing: .14em;
  color: #B9AC9C;
  border-bottom: 1px solid transparent;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.lang-switch button:hover { color: #fff; }
.lang-switch button.is-active { color: #fff; border-color: var(--brass); }

.currency { display: flex; align-items: center; gap: 8px; }
.currency select {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(233, 223, 209, .35);
  color: #E9DFD1;
  font-size: 10px;
  letter-spacing: .14em;
  padding: 2px 16px 2px 0;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23E9DFD1' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 8px;
}
.currency select option { background: var(--ink); color: #fff; }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(252, 249, 245, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .4s var(--ease);
}
.header.is-stuck { box-shadow: 0 12px 30px -22px rgba(23, 19, 15, .5); }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  height: 86px;
  transition: height .35s var(--ease);
}
.header.is-stuck .header-inner { height: 72px; }

.logo { display: inline-flex; flex-direction: column; gap: 5px; justify-self: start; }
.logo-word {
  font-family: var(--serif);
  font-size: 27px;
  letter-spacing: .26em;
  text-indent: .26em;
  line-height: 1;
  font-weight: 500;
}
.logo-sub {
  font-size: 8.5px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--muted);
  text-indent: .32em;
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav-link {
  position: relative;
  font-size: 11px;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--brass-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav-link:hover::after, .nav-link.is-current::after { transform: scaleX(1); }
.nav-link svg { width: 9px; height: 9px; opacity: .55; }

.nav-brands { position: relative; }

.mega {
  position: absolute;
  top: calc(100% + 24px);
  left: 50%;
  transform: translate(-50%, 8px);
  width: min(1040px, 92vw);
  background: var(--porcelain);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 40px 44px 34px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .3s;
  z-index: 95;
}
.nav-brands:hover .mega, .nav-brands:focus-within .mega, .mega.is-open {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.mega-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 26px; }
.mega-head h3 { font-size: 24px; }
.mega-head span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px 28px; }
.mega-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .25s var(--ease), padding-left .3s var(--ease);
}
.mega-item span:last-child { font-size: 10px; color: var(--muted); letter-spacing: .05em; }
.mega-item:hover { color: var(--brass-deep); padding-left: 5px; }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  border-radius: 50%;
  transition: background .3s var(--ease), color .3s var(--ease);
  position: relative;
}
.icon-btn:hover { background: var(--sand); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn .badge {
  position: absolute;
  top: 4px; right: 3px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--brass-deep);
  color: #fff;
  font-size: 9px;
  line-height: 16px;
  text-align: center;
  letter-spacing: 0;
}
.burger { display: none; }

/* ---------- search overlay ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23, 19, 15, .96);
  color: var(--porcelain);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--gut);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-form { width: min(880px, 100%); margin: 0 auto; }
.search-form label {
  display: block;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 22px;
}
.search-form input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(252, 249, 245, .3);
  color: var(--porcelain);
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 48px);
  padding: 0 0 16px;
  outline: none;
}
.search-form input::placeholder { color: rgba(252, 249, 245, .35); }
.search-close {
  position: absolute;
  top: 32px; right: var(--gut);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  color: rgba(252, 249, 245, .8);
}
.search-close svg { width: 16px; height: 16px; }
.search-hint { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.search-hint a {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid rgba(252, 249, 245, .22);
  padding: 9px 16px;
  color: rgba(252, 249, 245, .8);
  transition: border-color .3s, color .3s;
}
.search-hint a:hover { border-color: var(--brass); color: #fff; }

/* ---------- mobile drawer ---------- */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(420px, 88vw);
  background: var(--porcelain);
  z-index: 210;
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  overflow-y: auto;
  padding: 28px 30px 40px;
  display: none;
}
.drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.drawer-close { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; display: inline-flex; gap: 8px; align-items: center; }
.drawer-close svg { width: 15px; height: 15px; }
.drawer nav { display: flex; flex-direction: column; gap: 2px; }
.drawer nav a {
  font-family: var(--serif);
  font-size: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: center;
}
.drawer-brands { margin-top: 30px; }
.drawer-brands h4 { font-family: var(--sans); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; font-weight: 500; }
.drawer-brands a { display: block; padding: 7px 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.drawer-langs { margin-top: 30px; display: flex; gap: 18px; }
.drawer-langs button { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.drawer-langs button.is-active { color: var(--ink); border-bottom: 1px solid var(--brass); padding-bottom: 3px; }

.scrim {
  position: fixed;
  inset: 0;
  background: rgba(23, 19, 15, .5);
  z-index: 205;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.scrim.is-open { opacity: 1; visibility: visible; }

/* ---------- hero ---------- */
.hero { border-bottom: 1px solid var(--line); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) 1.14fr;
  min-height: min(78vh, 700px);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px clamp(32px, 5vw, 88px) 80px 0;
  background: var(--porcelain);
}
.hero-copy h1 { margin-bottom: 26px; }
.hero-copy h1 em { font-style: italic; color: var(--brass-deep); }
.hero-copy .lede { margin: 0 0 38px; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0 34px;
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-media { position: relative; overflow: hidden; background: var(--sand); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.hero-note {
  position: absolute;
  left: 28px; bottom: 28px;
  background: rgba(252, 249, 245, .9);
  backdrop-filter: blur(6px);
  padding: 12px 16px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ---------- brand rail ---------- */
.brand-rail { border-bottom: 1px solid var(--line); padding: 30px 0; background: var(--porcelain); }
.brand-rail-inner { display: flex; align-items: center; gap: 34px; }
.rail-label { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); flex: none; }
.rail-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 26px;
  flex: 1;
}
.rail-list::-webkit-scrollbar { display: none; }
.rail-item {
  flex: none;
  padding: 2px 0;
  font-family: var(--serif);
  font-size: 16.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color .3s var(--ease);
}
.rail-item:last-child { border-right: 0; }
.rail-item:hover { color: var(--brass-deep); }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section.tight { padding: clamp(40px, 5vw, 72px) 0; }
.section-sand { background: var(--sand); }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 30px;
  margin-bottom: clamp(30px, 3vw, 48px);
  border-bottom: 1px solid var(--line);
}
.sec-head h2 { margin-top: 4px; }
.sec-head .link-more { margin-bottom: 6px; flex: none; }

/* ---------- product grid ---------- */
.grid-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3vw, 44px) clamp(14px, 1.7vw, 26px);
}
.card { position: relative; }
.card-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: #F5EDE2;
  overflow: hidden;
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.card:hover .card-media img { transform: scale(1.035); }
.card-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(252, 249, 245, .92);
  padding: 5px 10px;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
}
.card-quick {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(23, 19, 15, .9);
  color: var(--porcelain);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .3s;
}
.card:hover .card-quick { opacity: 1; transform: translateY(0); }
.card-quick:hover { background: var(--brass-deep); }
.card-body { padding-top: 16px; }
.card-brand {
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.card-name {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.3;
  color: var(--ink);
  display: block;
  margin-bottom: 8px;
}
.card-price { font-size: 14px; letter-spacing: .02em; color: var(--ink-soft); }
.card-price .cur { font-size: 10px; color: var(--muted); margin-left: 4px; letter-spacing: .1em; }

/* ---------- editorial split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
}
.split-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy h2 { margin-bottom: 22px; }
.split-copy p { color: var(--ink-soft); max-width: 52ch; }
.craft-list { list-style: none; padding: 0; margin: 30px 0 34px; display: grid; gap: 0; }
.craft-list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--ink-soft);
}
.craft-list li::before {
  content: attr(data-n);
  font-family: var(--serif);
  font-size: 13px;
  color: var(--brass-deep);
  flex: none;
}
.split-media .cap {
  position: absolute;
  right: 20px; bottom: 18px;
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(252, 249, 245, .88);
  padding: 8px 12px;
}

/* ---------- band (dark) ---------- */
.band {
  background: var(--ink);
  color: var(--porcelain);
  position: relative;
  overflow: hidden;
}
.band-media { position: absolute; inset: 0; }
.band-media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.band-inner { position: relative; z-index: 2; padding: clamp(64px, 9vw, 130px) 0; }
.band .eyebrow { color: var(--brass); }
.band h2 { color: var(--porcelain); }
.band p { color: rgba(252, 249, 245, .78); max-width: 46ch; }

/* ---------- USP ---------- */
.usp { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.usp-item { padding: 40px 32px 8px 0; border-right: 1px solid var(--line); }
.usp-item:last-child { border-right: 0; }
.usp-item svg { width: 26px; height: 26px; margin-bottom: 18px; color: var(--brass-deep); }
.usp-item h3 { font-size: 19px; margin-bottom: 8px; font-family: var(--serif); }
.usp-item p { font-size: 12.5px; line-height: 1.7; color: var(--muted); margin: 0; max-width: 26ch; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.step { padding-top: 26px; border-top: 2px solid var(--ink); }
.step-num { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--brass-deep); display: block; margin-bottom: 18px; }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { font-size: 13px; color: var(--ink-soft); margin: 0; max-width: 34ch; }

/* ---------- seo text ---------- */
.seo-block { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 90px); align-items: start; }
.seo-block p { color: var(--ink-soft); font-size: 14px; }
.seo-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.seo-tags a {
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--line); padding: 8px 13px; color: var(--ink-soft);
  transition: border-color .3s, color .3s;
}
.seo-tags a:hover { border-color: var(--brass-deep); color: var(--brass-deep); }

/* ---------- payment strip ---------- */
.pay-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pay-strip span { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pay-methods { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pay-pill {
  border: 1px solid var(--line);
  padding: 8px 14px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #CFC3B4; margin-top: 0; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(56px, 7vw, 92px) 0 clamp(44px, 5vw, 64px);
  border-bottom: 1px solid rgba(252, 249, 245, .14);
}
.footer .logo-word { color: var(--porcelain); font-size: 30px; }
.footer-logo { display:block; width:200px; height:auto; max-width:100%; background:#fff; padding:6px 8px; border-radius:4px; }
.footer-blurb { font-size: 13px; line-height: 1.9; color: rgba(252, 249, 245, .62); max-width: 34ch; margin: 22px 0 0; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 20px;
  font-weight: 500;
}
.footer-col a, .footer-col p { display: block; font-size: 12.5px; color: rgba(252, 249, 245, .7); padding: 5px 0; line-height: 1.6; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 0 34px;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(252, 249, 245, .45);
}
.footer-bottom .lang-switch button { color: rgba(252, 249, 245, .5); }

/* ---------- breadcrumbs / page head ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 22px 0 0;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.crumbs a:hover { color: var(--brass-deep); }
.crumbs .sep { opacity: .5; }

.page-head { padding: clamp(34px, 4vw, 56px) 0 clamp(24px, 3vw, 40px); }
.page-head h1 { margin-bottom: 18px; }
.page-head .lede { margin: 0; }

/* ---------- category page ---------- */
.cat-hero {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(28px, 4vw, 60px);
  align-items: end;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.cat-hero .cat-note { font-size: 13px; color: var(--ink-soft); line-height: 1.8; }
.cat-hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--sand); }

.cat-layout { display: grid; grid-template-columns: 232px 1fr; gap: clamp(30px, 4vw, 64px); padding-top: 42px; }
.side { position: sticky; top: 110px; align-self: start; }
.side-block { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.side-block h4 {
  font-family: var(--sans); font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 14px; font-weight: 500;
}
.side-list { display: flex; flex-direction: column; }
.side-list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 7px 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft);
  transition: color .25s var(--ease);
}
.side-list a:hover { color: var(--brass-deep); }
.side-list a.is-active { color: var(--ink); font-weight: 500; }
.side-list a span { font-size: 9.5px; color: var(--muted); letter-spacing: .04em; }
.side-links a { font-size: 12px; color: var(--ink-soft); display: block; padding: 5px 0; }
.side-note { font-size: 11.5px; line-height: 1.7; color: var(--muted); }

.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 34px;
}
.toolbar-count { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.toolbar-right { display: flex; align-items: center; gap: 18px; }
.select-wrap { position: relative; display: inline-flex; align-items: center; }
.select-wrap select {
  appearance: none; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 8px 24px 8px 0; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2317130F' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; background-size: 8px;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  border: 1px solid var(--line); padding: 8px 15px;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
  transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--porcelain); }

.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: clamp(44px, 5vw, 70px); }
.pager a, .pager span {
  min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); font-size: 11px; letter-spacing: .08em; color: var(--ink-soft);
  transition: all .25s var(--ease);
}
.pager a:hover { border-color: var(--ink); color: var(--ink); }
.pager .is-active { background: var(--ink); color: var(--porcelain); border-color: var(--ink); }
.pager .dots { border: 0; color: var(--muted); }

/* ---------- product detail ---------- */
.pdp { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(30px, 4.5vw, 76px); padding-top: 26px; }
.gallery { display: grid; grid-template-columns: 74px 1fr; gap: 16px; align-items: start; min-width: 0; }
.pdp > * { min-width: 0; }
.main-img, .gallery, .pdp-info { max-width: 100%; min-width: 0; }
/* 详情页首屏：商品数据渲染前先隐藏模板里的示例文案，避免闪一下换成当前商品 */
body.is-booting .pdp-info,
body.is-booting .crumbs { visibility: hidden; }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumb {
  border: 1px solid transparent; padding: 0; background: #F5EDE2; aspect-ratio: 1/1; overflow: hidden;
  transition: border-color .25s var(--ease), opacity .25s;
  opacity: .78;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb.is-active { border-color: var(--ink); opacity: 1; }
.main-img { position: relative; background: #F5EDE2; aspect-ratio: 1/1; overflow: hidden; }
.main-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s var(--ease); }
.zoom-hint {
  position: absolute; right: 14px; bottom: 14px;
  background: rgba(252, 249, 245, .9); padding: 7px 11px;
  font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
}

.pdp-info { padding-top: 6px; }
.pdp-brand { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: 14px; }
.pdp-info h1 { font-size: clamp(30px, 3vw, 42px); margin-bottom: 16px; }
.pdp-model { font-size: 11.5px; letter-spacing: .08em; color: var(--muted); margin-bottom: 26px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdp-price .amount { font-family: var(--serif); font-size: 38px; line-height: 1; }
.pdp-price .note { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stock-row { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #4C6B4A; }
.stock-dot { width: 6px; height: 6px; border-radius: 50%; background: #4C6B4A; }
.qty-row { display: flex; align-items: center; gap: 18px; margin: 28px 0 18px; }
.qty {
  display: inline-flex; align-items: center; border: 1px solid var(--line);
  height: 50px;
}
.qty button { width: 40px; height: 100%; display: grid; place-items: center; font-size: 15px; color: var(--ink-soft); }
.qty button:hover { color: var(--ink); background: var(--sand); }
.qty input {
  width: 44px; height: 100%; border: 0; text-align: center; font-size: 13px; background: transparent;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-actions { display: grid; gap: 10px; }
.pdp-assure { display: grid; gap: 0; margin-top: 26px; border-top: 1px solid var(--line); }
.assure-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 12px; color: var(--ink-soft); }
.assure-row svg { width: 17px; height: 17px; color: var(--brass-deep); flex: none; }

.accordion { margin-top: 34px; border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
  text-align: left;
}
.acc-head svg { width: 13px; height: 13px; transition: transform .3s var(--ease); color: var(--muted); flex: none; }
.acc-item.is-open .acc-head svg { transform: rotate(45deg); }
.acc-body { display: none; padding: 0 0 24px; }
.acc-item.is-open .acc-body { display: block; }
.acc-body p { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 14px; max-width: 58ch; }
.acc-body p:last-child { margin-bottom: 0; }
.acc-body .kv { display: flex; gap: 10px; font-size: 13px; color: var(--ink-soft); padding: 6px 0; }
.acc-body .kv b { font-weight: 500; color: var(--ink); min-width: 92px; display: inline-block; }

/* ---------- editorial page (about / payment / contact) ---------- */
.pdp h1, .pdp-model { font-variant-numeric: lining-nums; font-feature-settings: 'lnum' 1; }
.editorial { display: grid; grid-template-columns: 242px 1fr; gap: clamp(30px, 5vw, 90px); padding: clamp(36px, 4vw, 56px) 0 clamp(70px, 8vw, 110px); }
.editorial-body { max-width: 74ch; }
.editorial.wide .editorial-body { max-width: 860px; }
.editorial-body h2 { margin: 0 0 18px; font-size: clamp(26px, 2.4vw, 34px); }
.editorial-body h2 + p { margin-top: 0; }
.editorial-body p { color: var(--ink-soft); }
.editorial-body section { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line-soft); }
.editorial-body section:last-child { border-bottom: 0; margin-bottom: 0; }
.editorial-body ul { padding-left: 22px; color: var(--ink-soft); font-size: 14px; }
.editorial-body ul li { margin-bottom: 8px; }
.toc a { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 8px 0; border-left: 1px solid var(--line); padding-left: 14px; transition: color .2s, border-color .2s; }
.toc a:hover, .toc a.is-active { color: var(--ink); border-color: var(--brass-deep); }

.callout { background: var(--sand); padding: 26px 28px; margin: 26px 0; }
.callout p:last-child { margin-bottom: 0; }
.callout .eyebrow { margin-bottom: 10px; }

.pay-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0 10px; }
.pay-card { border: 1px solid var(--line); padding: 26px 24px; }
.pay-card h3 { font-size: 22px; margin-bottom: 12px; }
.pay-card p { font-size: 12.5px; color: var(--ink-soft); margin: 0 0 8px; }
.pay-card dl { margin: 14px 0 0; font-size: 12px; color: var(--ink-soft); }
.pay-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px dotted var(--line); }
.pay-card dt { color: var(--muted); text-transform: uppercase; font-size: 9.5px; letter-spacing: .14em; }
.pay-card dd { margin: 0; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  border: 1px solid var(--line); background: #fff; padding: 14px 16px; font-size: 14px; outline: none;
  transition: border-color .25s var(--ease);
  border-radius: 0;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); }
.field textarea { min-height: 132px; resize: vertical; }
.form-note { font-size: 11.5px; color: var(--muted); margin-top: 16px; }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%; bottom: 28px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--porcelain);
  padding: 14px 24px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: all .35s var(--ease);
  box-shadow: var(--shadow);
}
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- reveal (subtle, non-blocking: content is visible by default) ---------- */
.reveal { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .card-media img, .btn, .link-more { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  :root { --gut: 28px; }
  .nav { gap: 24px; }
  .mega-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr 1fr; min-height: 600px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .editorial { grid-template-columns: 200px 1fr; }
}

@media (max-width: 980px) {
  .header-inner { grid-template-columns: auto 1fr auto; height: 72px; }
  .nav { display: none; }
  .burger { display: inline-flex; }
  .drawer { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; height: 46vh; min-height: 320px; }
  .hero-copy { padding: 48px 0 40px; }
  .hero-copy h1 { font-size: clamp(34px, 7vw, 46px); }
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .cat-layout { grid-template-columns: 1fr; }
  .side { position: static; order: 2; border-top: 1px solid var(--line); padding-top: 26px; }
  .pdp { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 60px 1fr; }
  .pay-cards { grid-template-columns: 1fr; }
  .usp { grid-template-columns: 1fr 1fr; }
  .usp-item { padding-right: 20px; }
  .usp-item:nth-child(2n) { border-right: 0; }
  .steps { grid-template-columns: 1fr; }
  .seo-block { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .cat-hero { grid-template-columns: 1fr; }
  .cat-hero img { max-height: 260px; }
  .editorial { grid-template-columns: 1fr; }
  .toc { display: none; }
  .brand-rail-inner { gap: 20px; }
  .rail-label { display: none; }
  .brand-rail { padding: 18px 0; }
  .rail-list {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 26px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .rail-list::-webkit-scrollbar { display: none; }
  .rail-item { font-size: 14px; letter-spacing: .1em; }
  .side { display: none; }
}

@media (max-width: 640px) {
  :root { --gut: 20px; }
  body { font-size: 14.5px; }
  .topbar .wrap { min-height: 34px; }
  .topbar-msg { min-width: 0; font-size: 8.5px; letter-spacing: .08em; }
  .topbar-msg span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .topbar-tools { gap: 12px; }
  .topbar-currency { display: none; }
  .grid-products { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .card-name { font-size: 15px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; flex-wrap: wrap; max-width: 100%; overflow: hidden; }
  .thumb { width: 52px; flex: 0 0 52px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .usp { grid-template-columns: 1fr; }
  .usp-item { border-right: 0; padding-top: 28px; }
  .pdp-price .amount { font-size: 30px; }
  .hero-meta { gap: 10px 20px; }
}
