/* =========================================================
   Forever Loved Handbags — design system
   ========================================================= */
:root {
  --ink: #16161a;
  --ink-soft: #3a3a3f;
  --muted: #7a7570;
  --line: #e6e2de;
  --line-strong: #d3cec9;
  --cream: #faf7f4;
  --blush: #fdf1ee;
  --blush-deep: #f5e2dc;
  --rose: #b9736a;
  --gold: #c8a96a;
  --gold-deep: #a88948;
  --teal: #1f4d4a;
  --white: #fff;
  --sale: #b02a2a;

  --font: 'Poppins', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

  --container: 1400px;
  --header-h: 148px;
  --radius: 2px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
h1,h2,h3,h4,h5 { margin: 0; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { width: 100%; max-width: 880px; margin: 0 auto; padding: 0 24px; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 34px; border-radius: var(--radius);
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--rose); border-color: var(--rose); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.btn--sm { padding: 11px 22px; font-size: 11px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

.link-underline { border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.link-underline:hover { color: var(--rose); }

/* =========================================================
   CRYPTO BANNER
   ========================================================= */
.cryptobar {
  position: relative; overflow: hidden;
  background: linear-gradient(100deg, #101014 0%, #1d1a22 42%, #2b2018 100%);
  color: #fff;
}
.cryptobar::after {
  content:''; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(680px 120px at 22% 50%, rgba(200,169,106,.30), transparent 70%);
}
.cryptobar__inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap;
  padding: 13px 56px 13px 24px; text-align: center;
}
.cryptobar__pill {
  display:inline-flex; align-items:center; gap:7px;
  border: 1px solid rgba(200,169,106,.55); color: var(--gold);
  border-radius: 999px; padding: 4px 13px;
  font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  white-space: nowrap;
}
.cryptobar__pill i { width:6px;height:6px;border-radius:50%;background:var(--gold);animation:pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.35;transform:scale(.7)} }
.cryptobar__text { font-size: 13.5px; letter-spacing: .01em; }
.cryptobar__text strong { font-weight: 600; color: var(--gold); }
.cryptobar__cta {
  background: var(--gold); color: #16161a;
  padding: 9px 20px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  white-space: nowrap; transition: transform .2s var(--ease), background .2s;
}
.cryptobar__cta:hover { background: #fff; transform: translateY(-1px); }
.cryptobar__close {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,.55); font-size: 20px; line-height: 1; padding: 6px; z-index: 2;
}
.cryptobar__close:hover { color: #fff; }

/* =========================================================
   HEADER
   ========================================================= */
.announce {
  background: #f1eeea; color: var(--ink-soft);
  font-size: 12px; letter-spacing: .02em; text-align: center; padding: 8px 16px;
}
.announce a { border-bottom: 1px solid var(--line-strong); }

.header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.header__main {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 20px; padding: 16px 24px; max-width: var(--container); margin: 0 auto;
}
.header__search { display: flex; align-items: center; gap: 10px; max-width: 320px; }
.header__search input {
  border: 0; border-bottom: 1px solid transparent; background: transparent;
  padding: 6px 0; width: 100%; outline: none; font-size: 13px;
}
.header__search input:focus { border-bottom-color: var(--line-strong); }
.header__search input::placeholder { color: var(--muted); }
.header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.header__icon { position: relative; display: flex; align-items: center; gap: 7px; font-size: 13px; }
.header__icon:hover { color: var(--rose); }
.header__badge {
  position: absolute; top: -6px; right: -8px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 9.5px; font-weight: 600; display: flex; align-items: center; justify-content: center;
}
.header__burger { display: none; }

.nav { border-top: 1px solid var(--line); }
.nav__ul {
  display: flex; align-items: center; justify-content: center; gap: 46px;
  list-style: none; max-width: var(--container); margin: 0 auto; padding: 0 24px;
}
.nav__item { position: relative; }
.nav__link {
  display: block; padding: 15px 0;
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  border-bottom: 2px solid transparent; transition: border-color .2s, color .2s;
}
.nav__item:hover .nav__link, .nav__link.is-active { border-bottom-color: var(--ink); }
.nav__link--sale { color: var(--sale); }

.mega {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 46px rgba(0,0,0,.09);
  padding: 30px 38px; display: flex; gap: 54px;
  opacity: 0; visibility: hidden; transition: all .22s var(--ease); z-index: 70;
}
.nav__item:hover .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega__col { min-width: 170px; }
.mega__title {
  font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px; white-space: nowrap;
}
.mega__list { list-style: none; }
.mega__list li + li { margin-top: 9px; }
.mega__list a { font-size: 13.5px; white-space: nowrap; }
.mega__list a:hover { color: var(--rose); }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; display: none; }
.drawer.is-open { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.drawer__panel {
  position: absolute; top: 0; left: 0; bottom: 0; width: min(340px, 88vw);
  background: #fff; overflow-y: auto; padding: 20px 22px 60px;
  animation: slideIn .28s var(--ease);
}
@keyframes slideIn { from { transform: translateX(-100%); } to { transform: none; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.drawer__group { border-bottom: 1px solid var(--line); padding: 14px 0; }
.drawer__grouphead {
  display: flex; justify-content: space-between; width: 100%; align-items: center;
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.drawer__sub { list-style: none; padding: 12px 0 2px 4px; }
.drawer__sub li + li { margin-top: 10px; }
.drawer__sub a { font-size: 13.5px; color: var(--ink-soft); }

/* =========================================================
   HERO / SECTIONS
   ========================================================= */
.hero { position: relative; background: var(--blush); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; min-height: 520px; }
.hero__copy { display: flex; flex-direction: column; justify-content: center; padding: 72px 6% 72px 8%; }
.hero__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--rose); margin-bottom: 20px; }
.hero__title { font-family: var(--serif); font-size: clamp(38px, 4.4vw, 66px); font-weight: 400; line-height: 1.06; letter-spacing: -0.015em; margin-bottom: 20px; }
.hero__title em { font-style: italic; color: var(--rose); }
.hero__sub { font-size: 15px; color: var(--ink-soft); max-width: 440px; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__media { position: relative; background: var(--blush-deep); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__dots { position: absolute; bottom: 24px; left: 8%; display: flex; gap: 8px; }
.hero__dot { width: 26px; height: 2px; background: rgba(22,22,26,.22); transition: background .25s; }
.hero__dot.is-on { background: var(--ink); }

.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--blush { background: var(--blush); }
.section--cream { background: var(--cream); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; flex-wrap: wrap; }
.section__title { font-family: var(--serif); font-size: clamp(28px,2.6vw,40px); font-weight: 400; letter-spacing: -0.01em; }
.section__title--sm { font-size: 26px; }
.section__sub { color: var(--muted); font-size: 14px; margin-top: 6px; }
.section__tabs { display: flex; gap: 26px; }
.section__tab {
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 2px solid transparent; color: var(--muted);
}
.section__tab.is-on { color: var(--ink); border-bottom-color: var(--ink); }

/* category tiles */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.cat { position: relative; aspect-ratio: 3/3.4; overflow: hidden; background: var(--cream); }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat:hover img { transform: scale(1.05); }
.cat__label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 24px;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  color: #fff; font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
}

/* split promo */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0; }
.split__media { aspect-ratio: 4/3.4; overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__copy { padding: 0 8%; }
.split--rev .split__media { order: 2; }

/* =========================================================
   PRODUCT CARD / GRID
   ========================================================= */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card { position: relative; display: flex; flex-direction: column; }
.card__media { position: relative; overflow: hidden; background: #f4f2f0; aspect-ratio: 4/5; display:block; }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease); }
.card__img--hover { position: absolute; inset: 0; opacity: 0; }
.card__media:hover .card__img--hover { opacity: 1; }
.card__badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.badge {
  font-size: 9.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 9px; background: rgba(255,255,255,.94); color: var(--ink);
}
.badge--new { background: var(--teal); color: #fff; }
.badge--sale { background: var(--sale); color: #fff; }
.card__wish {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .25s, color .2s;
}
.card:hover .card__wish { opacity: 1; }
.card__wish.is-on, .card__wish:hover { color: var(--rose); opacity: 1; }
.card__quick {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  opacity: 0; transform: translateY(6px); transition: all .28s var(--ease);
}
.card__media:hover .card__quick { opacity: 1; transform: none; }
.card__body { padding-top: 12px; }
.card__title { font-size: 13.5px; font-weight: 400; line-height: 1.4; margin-bottom: 5px; }
.card__title:hover { color: var(--rose); }
.card__price { font-size: 13.5px; font-weight: 500; display: flex; gap: 8px; align-items: baseline; }
.card__was { color: var(--muted); text-decoration: line-through; font-weight: 400; font-size: 12.5px; }
.card__now { color: var(--sale); }
.stars { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); margin-bottom: 5px; }
.stars__icons { color: var(--ink); letter-spacing: 1px; font-size: 12px; }

/* carousel */
.rail { position: relative; }
.rail__track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { flex: 0 0 calc((100% - 4*22px)/5); scroll-snap-align: start; }
.rail__btn {
  position: absolute; top: 34%; z-index: 3; width: 38px; height: 38px; border-radius: 50%;
  background: #fff; box-shadow: 0 3px 16px rgba(0,0,0,.14); display: flex; align-items: center; justify-content: center;
}
.rail__btn--prev { left: -14px; }
.rail__btn--next { right: -14px; }
.rail__btn:hover { background: var(--ink); color: #fff; }

/* =========================================================
   COLLECTION PAGE
   ========================================================= */
.plp__head { padding: 34px 0 20px; }
.plp__title { font-family: var(--serif); font-size: clamp(30px,3vw,46px); font-weight: 400; }
.plp__desc { color: var(--muted); max-width: 620px; margin-top: 8px; font-size: 13.5px; }
.plp__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 30px; flex-wrap: wrap;
}
.plp__layout { display: grid; grid-template-columns: 230px 1fr; gap: 44px; align-items: start; }
.filters { position: sticky; top: 170px; }
.filter { border-bottom: 1px solid var(--line); padding: 16px 0; }
.filter__head { display: flex; justify-content: space-between; align-items: center; width: 100%; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.filter__body { padding-top: 14px; max-height: 260px; overflow-y: auto; }
.filter__opt { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 13px; cursor: pointer; }
.filter__opt input { accent-color: var(--ink); width: 14px; height: 14px; }
.filter__count { color: var(--muted); font-size: 11.5px; margin-left: auto; }
.chiprow { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.chip { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line-strong); padding: 5px 11px; font-size: 12px; border-radius: 999px; }
.chip button { color: var(--muted); font-size: 14px; line-height: 1; }
.select {
  border: 1px solid var(--line-strong); padding: 8px 12px; background: #fff; font-size: 12.5px;
  border-radius: var(--radius); outline: none;
}
.subcats { display: flex; gap: 26px; overflow-x: auto; padding: 18px 0 6px; scrollbar-width: none; }
.subcats::-webkit-scrollbar { display: none; }
.subcat { text-align: center; flex: 0 0 auto; }
.subcat__img { width: 78px; height: 78px; object-fit: cover; background: var(--cream); margin: 0 auto 8px; }
.subcat__name { font-size: 12.5px; white-space: nowrap; }
.subcat.is-on .subcat__name { font-weight: 600; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 52px; }
.pagination button {
  min-width: 36px; height: 36px; border: 1px solid var(--line); font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.pagination button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* =========================================================
   PDP
   ========================================================= */
.pdp { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; padding: 30px 0 70px; align-items: start; }
.pdp__gallery { display: grid; gap: 8px; }
.pdp__gallery img { width: 100%; background: #f4f2f0; }
.pdp__info { position: sticky; top: 180px; }
.pdp__title { font-family: var(--serif); font-size: 34px; font-weight: 400; margin-bottom: 8px; }
.pdp__price { font-size: 22px; font-weight: 500; margin-bottom: 4px; display: flex; gap: 12px; align-items: baseline; }
.pdp__afterpay { font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.pdp__row { display: flex; gap: 12px; margin-bottom: 14px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line-strong); }
.qty button { width: 40px; height: 50px; font-size: 17px; }
.qty span { width: 40px; text-align: center; font-size: 14px; }
.acc { border-top: 1px solid var(--line); }
.acc:last-of-type { border-bottom: 1px solid var(--line); }
.acc__head { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 17px 2px; font-size: 13.5px; font-weight: 500; }
.acc__body { padding: 0 2px 18px; font-size: 13.5px; color: var(--ink-soft); }
.acc__body ul { padding-left: 18px; list-style: disc; }
.acc__body li { margin-bottom: 6px; }
.usp { display: flex; gap: 26px; flex-wrap: wrap; margin: 22px 0; font-size: 12.5px; color: var(--ink-soft); }
.usp span { display: flex; gap: 8px; align-items: center; }
.breadcrumb { font-size: 12px; color: var(--muted); padding: 16px 0 0; }
.breadcrumb a:hover { color: var(--ink); }

/* =========================================================
   CART / FORMS / ACCOUNT
   ========================================================= */
.cartline { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cartline img { width: 96px; aspect-ratio: 4/5; object-fit: cover; background: #f4f2f0; }
.summary { border: 1px solid var(--line); padding: 26px; position: sticky; top: 180px; }
.summary__row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13.5px; }
.summary__total { display: flex; justify-content: space-between; padding: 16px 0 20px; margin-top: 8px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 600; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12px; font-weight: 500; letter-spacing: .06em; margin-bottom: 7px; }
.field .req { color: var(--rose); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line-strong); background: #fff;
  padding: 12px 14px; border-radius: var(--radius); outline: none; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.field__hint { font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.field__err { font-size: 11.5px; color: var(--sale); margin-top: 6px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.filedrop {
  border: 1px dashed var(--line-strong); padding: 26px; text-align: center;
  font-size: 13px; color: var(--muted); border-radius: var(--radius); cursor: pointer; background: var(--cream);
}
.filedrop:hover { border-color: var(--ink); color: var(--ink); }
.checkline { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--ink-soft); margin-bottom: 16px; }
.checkline input { margin-top: 3px; accent-color: var(--ink); }

.panel { border: 1px solid var(--line); padding: 36px; }
.panel--cream { background: var(--cream); border-color: transparent; }

/* =========================================================
   CRYPTO MODAL
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: flex-start; justify-content: center; padding: 40px 20px; overflow-y: auto; }
.modal__scrim { position: fixed; inset: 0; background: rgba(12,12,14,.62); backdrop-filter: blur(3px); }
.modal__box {
  position: relative; width: min(940px, 100%); background: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.3); animation: pop .3s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: 14px; right: 16px; z-index: 4; font-size: 26px; line-height: 1; color: var(--muted); }
.modal__close:hover { color: var(--ink); }
.modal__hero {
  background: linear-gradient(105deg, #101014 0%, #221d26 45%, #2f2418 100%);
  color: #fff; padding: 38px 46px 34px; position: relative; overflow: hidden;
}
.modal__hero::after { content:''; position:absolute; inset:0; background: radial-gradient(560px 200px at 80% 0%, rgba(200,169,106,.28), transparent 70%); }
.modal__hero > * { position: relative; z-index: 1; }
.modal__kicker { font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.modal__title { font-family: var(--serif); font-size: 38px; font-weight: 400; line-height: 1.1; margin-bottom: 12px; }
.modal__lede { font-size: 14px; color: rgba(255,255,255,.78); max-width: 620px; }
.modal__steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 28px; }
.modal__step { border-top: 1px solid rgba(255,255,255,.18); padding-top: 12px; }
.modal__step b { display: block; font-size: 11px; letter-spacing: .16em; color: var(--gold); margin-bottom: 5px; }
.modal__step span { font-size: 12.5px; color: rgba(255,255,255,.72); line-height: 1.5; }
.modal__body { padding: 34px 46px 42px; }
.modal__sect { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 26px 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.modal__sect:first-child { margin-top: 0; }
.coins { display: flex; gap: 10px; flex-wrap: wrap; }
.coin {
  border: 1px solid var(--line-strong); padding: 10px 18px; border-radius: var(--radius);
  font-size: 12.5px; font-weight: 500; display: flex; align-items: center; gap: 8px; transition: all .2s;
}
.coin.is-on { border-color: var(--ink); background: var(--ink); color: #fff; }
.legalnote { background: var(--cream); border-left: 2px solid var(--gold); padding: 16px 18px; font-size: 12px; color: var(--ink-soft); margin: 22px 0; }
.success { text-align: center; padding: 60px 40px; }
.success__mark { width: 62px; height: 62px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 22px; }

/* =========================================================
   RICH TEXT / POLICY PAGES
   ========================================================= */
.page__head { background: var(--cream); padding: 52px 0 46px; text-align: center; margin-bottom: 46px; }
.page__title { font-family: var(--serif); font-size: clamp(32px,3.4vw,50px); font-weight: 400; }
.page__lede { color: var(--muted); margin-top: 10px; font-size: 14.5px; }
.rte { font-size: 14px; color: var(--ink-soft); line-height: 1.8; padding-bottom: 70px; }
.rte h2 { font-family: var(--serif); font-size: 27px; color: var(--ink); margin: 40px 0 14px; font-weight: 400; }
.rte h3 { font-size: 15px; color: var(--ink); margin: 28px 0 10px; font-weight: 600; }
.rte ul, .rte ol { padding-left: 20px; margin: 0 0 18px; }
.rte li { margin-bottom: 8px; }
.rte a { color: var(--rose); border-bottom: 1px solid currentColor; }
.rte table { width: 100%; border-collapse: collapse; margin: 20px 0 26px; font-size: 13px; }
.rte th, .rte td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.rte th { background: var(--cream); font-weight: 600; color: var(--ink); }
.rte .ph { background: #fff6e6; border-bottom: 1px dashed var(--gold-deep); padding: 0 3px; color: var(--gold-deep); font-weight: 500; }
.faqitem { border-bottom: 1px solid var(--line); }
.faqitem__q { display: flex; justify-content: space-between; gap: 20px; width: 100%; text-align: left; padding: 18px 0; font-size: 14px; font-weight: 500; color: var(--ink); }
.faqitem__a { padding: 0 0 20px; font-size: 13.5px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--cream); border-top: 1px solid var(--line); padding: 62px 0 0; margin-top: 20px; }
.footer__grid { display: grid; grid-template-columns: 1.55fr 1fr 1fr 1.35fr; gap: 46px; padding-bottom: 52px; }
.footer__h { font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.footer__list { list-style: none; }
.footer__list li + li { margin-top: 10px; }
.footer__list a { font-size: 13px; color: var(--ink-soft); }
.footer__list a:hover { color: var(--rose); }
.footer__ack { font-size: 12.5px; color: var(--muted); line-height: 1.75; max-width: 400px; }
.footer__form { display: flex; border: 1px solid var(--line-strong); background: #fff; }
.footer__form input { flex: 1; border: 0; padding: 13px 14px; outline: none; font-size: 13px; background: transparent; }
.footer__form button { background: var(--ink); color: #fff; padding: 0 22px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.footer__form button:hover { background: var(--rose); }
.footer__pay { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.footer__pay span { border: 1px solid var(--line-strong); background: #fff; padding: 5px 10px; font-size: 10px; letter-spacing: .06em; color: var(--muted); border-radius: 3px; }
.footer__bottom {
  border-top: 1px solid var(--line); padding: 20px 0 34px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 12px; color: var(--muted);
}
.footer__bottom a:hover { color: var(--ink); }

/* seo block */
.seo { padding: 46px 0 60px; border-top: 1px solid var(--line); }
.seo h2 { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.seo p { font-size: 13px; color: var(--muted); max-width: 1000px; line-height: 1.85; }
.seo a { color: var(--rose); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .grid, .grid--5 { grid-template-columns: repeat(3, 1fr); }
  .rail__track > * { flex-basis: calc((100% - 3*22px)/4); }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .plp__layout { grid-template-columns: 200px 1fr; gap: 30px; }
  .modal__steps { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .header__main { grid-template-columns: auto 1fr auto; padding: 12px 16px; gap: 10px; }
  .header__search { display: none; }
  .header__actions { gap: 15px; }
  .header__icon span:not(.header__badge) { display: none; }
  .header__burger { display: flex; align-items: center; }
  .nav { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { padding: 48px 26px 40px; order: 2; }
  .hero__media { min-height: 380px; order: 1; }
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .split__copy { padding: 34px 26px 46px; }
  .pdp { grid-template-columns: 1fr; gap: 30px; }
  .pdp__info { position: static; }
  .plp__layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.is-open { display: block; margin-bottom: 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .summary { position: static; }
  .modal__hero, .modal__body { padding-left: 26px; padding-right: 26px; }
  .cryptobar__inner { padding: 11px 44px 11px 16px; gap: 10px; }
  .cryptobar__text { font-size: 12.5px; }
}
@media (max-width: 640px) {
  .grid, .grid--3, .grid--5 { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .rail__track > * { flex-basis: 62%; }
  .section { padding: 46px 0; }
  .grid2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .modal { padding: 0; }
  .modal__title { font-size: 28px; }
  .cryptobar__pill { display: none; }
  .rail__btn { display: none; }
  .cartline { grid-template-columns: 76px 1fr; }
  .cartline img { width: 76px; }
}

/* ===== static-site additions on top of the shared design system ===== */

/* CRITICAL: author rules like `.modal{display:flex}` beat the UA stylesheet's
   [hidden]{display:none}, which would leave the hidden modal covering the page
   and swallowing every click. This rule must stay. */
[hidden] { display: none !important; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 20px; font-size: 13px;
}
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }

.header__left { display: flex; align-items: center; gap: 14px; }
.header__total { margin-left: 4px; }
.header__search button { display: flex; }

/* drawer uses <details> instead of JS accordions */
.drawer__group summary { list-style: none; cursor: pointer; }
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__grouphead::after {
  content: ''; width: 8px; height: 8px; border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-top: -4px;
}
.drawer__group[open] > .drawer__grouphead::after { transform: rotate(-135deg); margin-top: 2px; }
a.drawer__grouphead::after { display: none; }

/* PDP accordions via <details> */
.acc summary { list-style: none; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc__head::after {
  content: '+'; font-size: 18px; font-weight: 300; line-height: 1;
}
.acc[open] .acc__head::after { content: '\2212'; }

/* FAQ via <details> */
.faqitem summary { list-style: none; cursor: pointer; }
.faqitem summary::-webkit-details-marker { display: none; }
.faqitem__q::after {
  content: ''; flex-shrink: 0; width: 8px; height: 8px; margin-top: -4px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}
.faqitem[open] .faqitem__q::after { transform: rotate(-135deg); margin-top: 2px; }

.checkrow { display: flex; gap: 22px; flex-wrap: wrap; padding-top: 4px; }
.checkrow .checkline { margin-bottom: 0; }
.formnote { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 12px; }
.footer__note { font-size: 13px; color: var(--teal); }
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.countrylist { columns: 3; column-gap: 28px; font-size: 13px; }

.success h3 { font-family: var(--serif); font-size: 30px; font-weight: 400; margin-bottom: 10px; }
.success p { color: var(--muted); max-width: 470px; margin: 0 auto 18px; }
.success strong { color: var(--ink); }

/* is-invalid styling */
.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid { border-color: var(--sale); }

/* home extras */
.strip { background: var(--ink); color: #fff; }
.strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 24px; flex-wrap: wrap; }
.strip__title { font-family: var(--serif); font-size: 25px; }
.strip__sub { font-size: 13px; color: rgba(255,255,255,.7); }
.uspgrid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 30px; }
.usp2 { display: flex; gap: 14px; }
.usp2 .ic { color: var(--rose); flex-shrink: 0; }
.usp2 b { display: block; font-size: 13.5px; margin-bottom: 3px; }
.usp2 span { font-size: 12.5px; color: var(--muted); }

/* sell page */
.sellhero { background: linear-gradient(105deg,#101014 0%,#221d26 45%,#2f2418 100%); color:#fff; position:relative; overflow:hidden; }
.sellhero::after { content:''; position:absolute; inset:0; background: radial-gradient(760px 320px at 78% 10%, rgba(200,169,106,.26), transparent 70%); }
.sellhero__inner { position: relative; z-index:1; padding: 80px 24px 76px; max-width: 760px; }
.sellhero h1 { font-family: var(--serif); font-size: clamp(38px,4.6vw,62px); font-weight:400; line-height:1.05; margin-bottom:18px; }
.sellhero p { font-size: 15.5px; color: rgba(255,255,255,.78); margin-bottom: 30px; }
.sellhero__ticks { display:flex; gap:26px; margin-top:34px; flex-wrap:wrap; font-size:12.5px; color:rgba(255,255,255,.72); }
.sellhero__ticks span { display:flex; gap:8px; align-items:center; }
.steps { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 34px; }
.step { border-top: 2px solid var(--gold); padding-top: 16px; }
.step .n { font-family: var(--serif); font-size: 40px; color: var(--gold-deep); line-height:1; margin-bottom:10px; }
.step h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--ink-soft); }

/* cart */
.cart__layout { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 48px; align-items: start; }
.cart__empty { text-align: center; padding: 40px 0 70px; }
@media (max-width: 900px) { .cart__layout { grid-template-columns: 1fr; } .countrylist { columns: 2; } }
@media (max-width: 640px) { .countrylist { columns: 1; } }

/* faq + contact layout */
.faq__layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 50px; align-items: start; }
.faq__nav { position: sticky; top: 180px; list-style: none; }
.faq__nav a { display:block; font-size: 13.5px; padding: 7px 0; color: var(--muted); }
.faq__nav a:hover { color: var(--ink); }
.contact__layout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 60px; align-items: start; }
@media (max-width: 900px) { .faq__layout, .contact__layout { grid-template-columns: 1fr; gap: 30px; } .faq__nav { position: static; display: flex; gap: 16px; overflow-x: auto; } }

/* tracking timeline */
.track__step { display: flex; gap: 16px; padding-bottom: 22px; opacity: .4; }
.track__step.is-done { opacity: 1; }
.track__dot { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; background: var(--line); color: #fff; display: flex; align-items: center; justify-content: center; }
.track__step.is-done .track__dot { background: var(--teal); }

/* mobile filter toggle */
.filtertoggle { display: none; }
@media (max-width: 900px) { .filtertoggle { display: inline-flex; } }

/* no-JS fallback */
.nojs-hide { }
