/* ==========================================================================
   Long Life Health Care — storefront stylesheet
   Tokens → base → layout → components → pages → responsive
   ========================================================================== */

/* --------------------------------------------------------------- 1. Tokens */
:root {
  /* colour — derived from the Viva Nest Global mark */
  --paper:        #f5f7fa;
  --surface:      #ffffff;
  --mist:         #dfe5ee;
  --mist-deep:    #c4cedd;
  --ink:          #14213d;
  --ink-soft:     #4d5a72;
  --ink-faint:    #7c8798;
  --brand:        #0e3a78;
  --brand-deep:   #06214a;
  --gold:         #c1912e;
  --gold-ink:     #7a5a12;
  --gold-wash:    #fbf0d8;
  --leaf:         #3e7b34;
  --clay:         #b0453c;

  /* type */
  --display: "Fraunces", Georgia, serif;
  --body:    "Mukta", "Segoe UI", system-ui, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "Courier New", monospace;

  /* space */
  --gap-xs: .375rem;
  --gap-sm: .75rem;
  --gap:    1.25rem;
  --gap-lg: 2rem;
  --gap-xl: 3.5rem;

  /* shell */
  --shell: 1240px;
  --radius: 4px;
  --radius-lg: 12px;
  --line: 1px solid var(--mist);
  --shadow: 0 1px 2px rgba(19, 42, 33, .05), 0 8px 24px -12px rgba(19, 42, 33, .18);
  --shadow-lift: 0 2px 4px rgba(19, 42, 33, .06), 0 18px 40px -18px rgba(19, 42, 33, .3);
}

/* ----------------------------------------------------------------- 2. Base */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 var(--gap-sm);
  font-variation-settings: "SOFT" 30, "WONK" 1;
}
h1 { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.9rem); }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.9vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 var(--gap-sm); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection { background: var(--gold-wash); color: var(--brand-deep); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: .75rem 1.25rem;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* --------------------------------------------------------------- 3. Layout */
.shell {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}

.section { padding-block: clamp(2.75rem, 5vw, 4.75rem); }
.section--tight { padding-block: clamp(2rem, 3.5vw, 3rem); }
.section--brand { background: var(--brand-deep); color: #eef2ea; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gap);
  margin-bottom: var(--gap-lg);
  flex-wrap: wrap;
}
.section-head p { color: var(--ink-soft); max-width: 46ch; margin: 0; }
.section--brand .section-head p { color: #b6c6ba; }

.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 .5rem;
  display: block;
}
.section--brand .eyebrow { color: var(--gold); }

/* ----------------------------------------------------------- 4. Components */

/* -- buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .72rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { background: var(--brand-deep); }
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--brand-deep); }
.btn--gold:hover { background: #cf8c0a; }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--mist-deep); }
.btn--ghost:hover { background: var(--surface); border-color: var(--brand); }
.btn--light { background: #fff; color: var(--brand-deep); }
.btn--light:hover { background: #eef2ea; }
.btn--block { width: 100%; }
.btn--sm { padding: .5rem .9rem; font-size: .85rem; }
.btn--lg { padding: .9rem 1.75rem; font-size: 1rem; }

/* -- pv badge: the store's signature marker -- */
.pv {
  display: inline-flex;
  align-items: baseline;
  gap: .3rem;
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .06em;
  padding: .22rem .5rem;
  border-radius: 2px;
  background: var(--gold-wash);
  color: var(--gold-ink);
  border: 1px solid #f2dcae;
  white-space: nowrap;
}
.pv b { font-weight: 700; font-size: .82rem; }
.pv--solid { background: var(--gold); border-color: var(--gold); color: var(--brand-deep); }
.pv--ghost { background: transparent; border-color: rgba(227, 155, 18, .45); }

/* -- pv meter (signature) -- */
.meter { margin: 0; }
.meter-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--gap-sm);
  margin-bottom: .5rem;
}
.meter-label { font-size: .85rem; font-weight: 600; }
.meter-count { font-family: var(--mono); font-size: .85rem; color: var(--gold-ink); }
.meter-track {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 2px;
  height: 12px;
}
.meter-seg { background: var(--mist); border-radius: 1px; transition: background .25s ease; }
.meter-seg.is-on { background: var(--gold); }
.meter-note { font-size: .8rem; color: var(--ink-soft); margin: .55rem 0 0; }

/* -- forms -- */
.field { margin-bottom: var(--gap-sm); }
.field label,
.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .01em;
  margin-bottom: .3rem;
  color: var(--ink);
}
.input, .select, .textarea {
  width: 100%;
  padding: .68rem .8rem;
  border: 1px solid var(--mist-deep);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: .95rem;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-faint); }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--brand);
  outline: 2px solid rgba(29, 77, 58, .18);
  outline-offset: 0;
}
.textarea { min-height: 110px; resize: vertical; }
.hint { font-size: .78rem; color: var(--ink-soft); margin: .3rem 0 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-sm); }

/* -- topbar -- */
.topbar {
  background: var(--brand-deep);
  color: #c8d6cb;
  font-size: .8rem;
}
.topbar .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  min-height: 38px;
}
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: var(--gap); align-items: center; }
.lang { display: inline-flex; border: 1px solid rgba(255,255,255,.22); border-radius: 2px; overflow: hidden; }
.lang button {
  background: none; border: 0; padding: .1rem .45rem;
  font-size: .74rem; color: #c8d6cb; letter-spacing: .04em;
}
.lang button.is-active { background: var(--gold); color: var(--brand-deep); font-weight: 600; }

/* -- header -- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: var(--line);
}
.site-header.is-stuck { box-shadow: 0 6px 20px -14px rgba(19,42,33,.5); }
.header-bar {
  display: flex;
  align-items: center;
  gap: var(--gap);
  min-height: 76px;
}
.brand { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.brand-lockup { display: flex; flex-direction: column; line-height: 1.02; }
.brand-lockup strong {
  font-family: var(--display); font-size: 1.14rem; font-weight: 700;
  letter-spacing: -.005em; color: var(--brand);
}
.brand-lockup strong i { font-style: normal; color: var(--gold); }
.brand-lockup span {
  font-family: var(--mono); font-size: .58rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--ink-faint); padding-left: .1em;
}
.brand-fallback {
  display: flex; flex-direction: column; line-height: 1.05;
}
.brand-fallback strong {
  font-family: var(--display); font-size: 1.12rem; letter-spacing: -.02em; color: var(--brand-deep);
}
.brand-fallback span {
  font-family: var(--mono); font-size: .6rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-faint);
}

.main-nav ul {
  display: flex; align-items: center; gap: 1.4rem;
  list-style: none; margin: 0; padding: 0;
}
.main-nav a {
  font-size: .93rem; font-weight: 500; padding: .35rem 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  border-bottom-color: var(--gold);
}

.header-search { margin-left: auto; flex: 0 1 300px; position: relative; }
.header-search input {
  width: 100%; padding: .55rem .8rem .55rem 2.1rem;
  border: 1px solid var(--mist-deep); border-radius: var(--radius);
  background: var(--surface); font-family: inherit; font-size: .9rem;
}
.header-search svg { position: absolute; left: .65rem; top: 50%; transform: translateY(-50%); color: var(--ink-faint); }

.header-tools { display: flex; align-items: center; gap: .55rem; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1px solid var(--mist-deep);
  background: var(--surface); border-radius: var(--radius); position: relative;
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.icon-btn .count {
  position: absolute; top: -7px; right: -7px;
  min-width: 19px; height: 19px; padding: 0 4px;
  background: var(--clay); color: #fff; border-radius: 10px;
  font-family: var(--mono); font-size: .68rem; line-height: 19px; text-align: center;
}
.pv-chip {
  display: inline-flex; flex-direction: column; gap: 3px;
  padding: .3rem .6rem; border: 1px solid #f2dcae;
  background: var(--gold-wash); border-radius: var(--radius);
}
.pv-chip span {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; color: var(--gold-ink);
}
.pv-chip .bar { width: 62px; height: 3px; background: #f0dcb4; border-radius: 2px; overflow: hidden; }
.pv-chip .bar i { display: block; height: 100%; background: var(--gold); }

.nav-toggle { display: none; }

/* -- announcement / usp strip -- */
.usp {
  border-bottom: var(--line);
  background: var(--surface);
}
.usp ul {
  display: grid; grid-template-columns: repeat(4, 1fr);
  list-style: none; margin: 0; padding: 0;
}
.usp li {
  display: flex; align-items: flex-start; gap: .6rem;
  padding: 1.1rem 1.25rem;
  border-left: var(--line);
  font-size: .87rem;
  line-height: 1.4;
}
.usp li:first-child { border-left: 0; }
.usp strong { display: block; font-weight: 600; }
.usp span { color: var(--ink-soft); font-size: .82rem; }
.usp svg { color: var(--brand); flex-shrink: 0; margin-top: 2px; }

/* -- hero -- */
.hero { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.hero h1 { margin-bottom: 1rem; }
.hero h1 em {
  font-style: normal;
  color: var(--brand);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: .06em; height: .28em;
  background: var(--gold-wash);
  z-index: -1;
}
.hero-lede { font-size: 1.08rem; color: var(--ink-soft); max-width: 46ch; }
.hero-actions { display: flex; gap: var(--gap-sm); flex-wrap: wrap; margin-top: 1.5rem; }
.hero-facts {
  display: flex; gap: var(--gap-lg); margin-top: 2.25rem;
  padding-top: 1.5rem; border-top: var(--line);
}
.hero-facts div strong {
  display: block; font-family: var(--mono); font-size: 1.35rem; color: var(--brand-deep);
}
.hero-facts div span { font-size: .8rem; color: var(--ink-soft); }

.hero-card {
  background: var(--surface);
  border: var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.hero-card figure { margin: 0; background: #eef1e9; aspect-ratio: 4 / 3; }
.hero-card figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-body { padding: 1.25rem 1.35rem 1.4rem; }
.hero-card-body h3 { margin-bottom: .3rem; font-size: 1.3rem; }
.hero-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--gap-sm); margin-top: 1rem; padding-top: 1rem; border-top: var(--line);
}
.price { font-family: var(--mono); font-size: 1.2rem; font-weight: 600; color: var(--brand-deep); }
.price s { color: var(--ink-faint); font-weight: 400; font-size: .85rem; margin-left: .35rem; }

/* -- category tiles -- */
.cat-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap-sm);
}
.cat-tile {
  background: var(--surface);
  border: var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1rem 1.15rem;
  text-align: center;
  transition: border-color .18s ease, transform .18s ease;
}
.cat-tile:hover { border-color: var(--brand); transform: translateY(-3px); }
.cat-tile figure {
  margin: 0 auto .7rem; width: 62px; height: 62px; border-radius: 50%;
  background: #eef1e9; overflow: hidden;
}
.cat-tile figure img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile strong { display: block; font-size: .92rem; font-weight: 600; }
.cat-tile span { font-family: var(--mono); font-size: .72rem; color: var(--ink-faint); }

/* -- product card -- */
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap);
}
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface);
  border: var(--line);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.card:hover { border-color: var(--mist-deep); box-shadow: var(--shadow); transform: translateY(-3px); }
.card-media { position: relative; background: #eef1e9; aspect-ratio: 1 / 1; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-flags { position: absolute; top: .6rem; left: .6rem; display: flex; flex-direction: column; gap: .3rem; }
.flag {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .2rem .45rem; border-radius: 2px; background: var(--brand); color: #fff;
}
.flag--sale { background: var(--clay); }
.flag--out { background: var(--ink-faint); }
.card-wish {
  position: absolute; top: .6rem; right: .6rem;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--mist); background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center;
}
.card-wish:hover, .card-wish.is-on { color: var(--clay); border-color: var(--clay); }
.card-body { padding: .9rem 1rem 1.05rem; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.card-body h3 { font-size: 1.02rem; margin: .25rem 0 .4rem; line-height: 1.25; }
.card-body h3 a:hover { color: var(--brand); }
.rating { display: flex; align-items: center; gap: .35rem; font-size: .78rem; color: var(--ink-soft); }
.stars { color: var(--gold); letter-spacing: .06em; }
.card-foot {
  margin-top: auto; padding-top: .8rem;
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
}
.card-buy { padding-top: .7rem; }

/* -- steps (real sequence) -- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-lg); }
.step { position: relative; padding-top: 1.6rem; border-top: 2px solid rgba(227,155,18,.35); }
.step span {
  font-family: var(--mono); font-size: .8rem; color: var(--gold);
  position: absolute; top: -.85rem; left: 0; background: var(--brand-deep); padding-right: .6rem;
}
.step h3 { color: #fff; font-size: 1.15rem; }
.step p { color: #b6c6ba; margin: 0; font-size: .92rem; }

/* -- quote -- */
.quote {
  background: var(--surface); border: var(--line); border-left: 3px solid var(--gold);
  border-radius: var(--radius); padding: 1.75rem 2rem;
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center;
}
.quote img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; background: #eef1e9; }
.quote blockquote { margin: 0; font-family: var(--display); font-size: 1.2rem; line-height: 1.45; }
.quote cite { display: block; margin-top: .6rem; font-family: var(--mono); font-size: .78rem; font-style: normal; color: var(--ink-faint); }

/* -- footer -- */
.site-footer { background: var(--brand-deep); color: #b6c6ba; margin-top: var(--gap-xl); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.3fr;
  gap: var(--gap-lg); padding-block: clamp(2.5rem, 4vw, 3.5rem);
}
.site-footer h4 {
  font-family: var(--body); font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: #fff; margin-bottom: .9rem; font-weight: 600;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; font-size: .9rem; }
.site-footer a:hover { color: #fff; }
.footer-brand p { font-size: .9rem; max-width: 34ch; }
.footer-brand .brand-fallback strong { color: #fff; }
.footer-brand .brand-fallback span { color: #7f948a; }
.newsletter { display: flex; gap: .4rem; margin-top: .6rem; }
.newsletter input {
  flex: 1; padding: .6rem .7rem; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06);
  color: #fff; font-family: inherit; font-size: .88rem;
}
.newsletter input::placeholder { color: #7f948a; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 1.1rem;
  display: flex; justify-content: space-between; gap: var(--gap); flex-wrap: wrap;
  font-size: .82rem;
}
.pay-marks { display: flex; gap: .4rem; align-items: center; }
.pay-marks span {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .06em;
  padding: .18rem .45rem; border: 1px solid rgba(255,255,255,.2); border-radius: 2px;
}

/* -- breadcrumb -- */
.crumbs {
  padding-block: .9rem; font-size: .82rem; color: var(--ink-soft);
  border-bottom: var(--line);
}
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs li::after { content: "/"; margin-left: .4rem; color: var(--mist-deep); }
.crumbs li:last-child::after { content: ""; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }

/* -- page head -- */
.page-head { padding-block: clamp(1.75rem, 3vw, 2.75rem) 1.25rem; }
.page-head h1 { margin-bottom: .35rem; }
.page-head p { color: var(--ink-soft); margin: 0; }

/* -- shop layout -- */
.shop-layout { display: grid; grid-template-columns: 258px 1fr; gap: var(--gap-lg); align-items: start; }
.filters {
  background: var(--surface); border: var(--line); border-radius: var(--radius);
  position: sticky; top: 96px;
}
.filter-block { border-bottom: var(--line); padding: 1rem 1.1rem; }
.filter-block:last-child { border-bottom: 0; }
.filter-head {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; background: none; border: 0; padding: 0;
  font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.filter-head svg { transition: transform .2s ease; }
.filter-head[aria-expanded="false"] svg { transform: rotate(-90deg); }
.filter-body { padding-top: .85rem; }
.filter-body[hidden] { display: none; }
.check { display: flex; align-items: center; gap: .5rem; font-size: .9rem; margin-bottom: .45rem; cursor: pointer; }
.check input { accent-color: var(--brand); width: 15px; height: 15px; }
.check .n { margin-left: auto; font-family: var(--mono); font-size: .74rem; color: var(--ink-faint); }
.range-row { display: flex; align-items: center; gap: .4rem; }
.range-row input { width: 100%; }
.range-row span { color: var(--ink-faint); }
.swatches { display: flex; flex-wrap: wrap; gap: .35rem; }
.swatch {
  border: 1px solid var(--mist-deep); background: var(--surface);
  border-radius: 2px; padding: .3rem .55rem; font-size: .82rem;
}
.swatch:hover, .swatch.is-on { border-color: var(--brand); background: #eef1e9; }

.toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--gap); margin-bottom: var(--gap); flex-wrap: wrap;
}
.toolbar p { margin: 0; font-size: .88rem; color: var(--ink-soft); }
.toolbar .select { width: auto; padding-block: .45rem; }
.chips { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: var(--gap); }
.chip {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .8rem; padding: .25rem .55rem; border-radius: 2px;
  background: var(--surface); border: var(--line);
}
.chip button { background: none; border: 0; padding: 0; line-height: 1; color: var(--ink-faint); }
.chip button:hover { color: var(--clay); }

.pager { display: flex; gap: .35rem; justify-content: center; margin-top: var(--gap-lg); }
.pager a, .pager span {
  min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border: var(--line); background: var(--surface); border-radius: var(--radius);
  font-family: var(--mono); font-size: .85rem;
}
.pager a:hover { border-color: var(--brand); }
.pager .is-current { background: var(--brand); border-color: var(--brand); color: #fff; }

.filter-open { display: none; }

/* -- product detail -- */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 3.5vw, 3.25rem); align-items: start; }
.gallery-main {
  background: #eef1e9; border: var(--line); border-radius: var(--radius);
  aspect-ratio: 1 / 1; overflow: hidden; margin: 0;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-top: .5rem; }
.gallery-thumbs button {
  background: #eef1e9; border: 1px solid var(--mist); border-radius: var(--radius);
  padding: 0; overflow: hidden; aspect-ratio: 1 / 1;
}
.gallery-thumbs button.is-on { border-color: var(--brand); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pdp-info h1 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.4rem); margin-bottom: .5rem; }
.pdp-sku { font-family: var(--mono); font-size: .78rem; color: var(--ink-faint); letter-spacing: .06em; }
.pdp-price { display: flex; align-items: center; gap: .75rem; margin: 1rem 0; flex-wrap: wrap; }
.pdp-price .price { font-size: 1.85rem; }
.pdp-desc { color: var(--ink-soft); }
.option-set { margin: 1.25rem 0; }
.option-set > span {
  display: block; font-size: .82rem; font-weight: 600; margin-bottom: .45rem;
}
.buy-row { display: flex; gap: .6rem; align-items: stretch; margin: 1.25rem 0; flex-wrap: wrap; }
.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--mist-deep); border-radius: var(--radius); background: var(--surface);
}
.qty button { width: 38px; height: 44px; background: none; border: 0; font-size: 1.05rem; color: var(--ink-soft); }
.qty button:hover { color: var(--brand); }
.qty input {
  width: 46px; height: 44px; border: 0; text-align: center;
  font-family: var(--mono); font-size: .95rem; background: none; color: var(--ink);
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-row .btn { flex: 1; min-width: 170px; }

.stock { display: inline-flex; align-items: center; gap: .4rem; font-size: .87rem; color: var(--leaf); font-weight: 600; }
.stock i { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); display: inline-block; }
.stock--low { color: var(--clay); }
.stock--low i { background: var(--clay); }

.meta-list { list-style: none; margin: 1.25rem 0 0; padding: 1.1rem 0 0; border-top: var(--line); }
.meta-list li { display: flex; gap: .6rem; font-size: .88rem; color: var(--ink-soft); margin-bottom: .5rem; }
.meta-list svg { color: var(--brand); flex-shrink: 0; margin-top: 3px; }

.tabs { margin-top: clamp(2.5rem, 4vw, 3.5rem); }
.tab-list { display: flex; gap: 1.5rem; border-bottom: var(--line); overflow-x: auto; }
.tab-list button {
  background: none; border: 0; padding: .75rem 0; font-size: .95rem; font-weight: 600;
  color: var(--ink-soft); border-bottom: 2px solid transparent; white-space: nowrap;
}
.tab-list button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--gold); }
.tab-panel { padding-top: 1.5rem; max-width: 72ch; }
.tab-panel[hidden] { display: none; }
.spec { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec th, .spec td { text-align: left; padding: .6rem 0; border-bottom: var(--line); vertical-align: top; }
.spec th { width: 190px; font-weight: 600; }

.review { border-bottom: var(--line); padding-bottom: 1.1rem; margin-bottom: 1.1rem; }
.review-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .35rem; }
.review-head strong { font-size: .95rem; }
.review-head time { font-family: var(--mono); font-size: .76rem; color: var(--ink-faint); margin-left: auto; }

/* -- cart -- */
.cart-layout { display: grid; grid-template-columns: 1fr 350px; gap: var(--gap-lg); align-items: start; }
.cart-table { background: var(--surface); border: var(--line); border-radius: var(--radius); }
.cart-row {
  display: grid; grid-template-columns: 92px 1fr auto auto auto;
  gap: var(--gap); align-items: center;
  padding: 1.1rem; border-bottom: var(--line);
}
.cart-row:last-child { border-bottom: 0; }
.cart-row figure { margin: 0; background: #eef1e9; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; }
.cart-row figure img { width: 100%; height: 100%; object-fit: cover; }
.cart-title { font-family: var(--display); font-size: 1.02rem; font-weight: 600; margin: 0 0 .25rem; }
.cart-variant { font-family: var(--mono); font-size: .74rem; color: var(--ink-faint); }
.cart-line-total { font-family: var(--mono); font-weight: 600; min-width: 92px; text-align: right; }
.cart-remove { background: none; border: 0; color: var(--ink-faint); padding: .35rem; }
.cart-remove:hover { color: var(--clay); }
.cart-foot { display: flex; justify-content: space-between; gap: var(--gap); flex-wrap: wrap; margin-top: var(--gap); }
.coupon { display: flex; gap: .4rem; max-width: 340px; flex: 1; }

.summary {
  background: var(--surface); border: var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.35rem 1.4rem; position: sticky; top: 96px;
}
.summary h2 { font-size: 1.2rem; }
.sum-row {
  display: flex; justify-content: space-between; gap: var(--gap-sm);
  font-size: .92rem; padding: .45rem 0;
}
.sum-row span:last-child { font-family: var(--mono); }
.sum-row--total {
  border-top: var(--line); margin-top: .5rem; padding-top: .8rem;
  font-size: 1.1rem; font-weight: 600;
}
.sum-row--total span:last-child { font-size: 1.25rem; color: var(--brand-deep); }
.sum-note { font-size: .78rem; color: var(--ink-soft); margin-top: .75rem; }
.meter-card {
  background: var(--gold-wash); border: 1px solid #f2dcae;
  border-radius: var(--radius); padding: 1rem 1.1rem; margin: 1rem 0;
}

/* -- checkout -- */
.stepper { display: flex; gap: .5rem; align-items: center; margin-bottom: var(--gap-lg); flex-wrap: wrap; }
.stepper li { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--ink-faint); }
.stepper ol { display: contents; }
.stepper .n {
  width: 26px; height: 26px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; font-family: var(--mono); font-size: .78rem;
  border: 1px solid var(--mist-deep); background: var(--surface);
}
.stepper .is-current { color: var(--ink); font-weight: 600; }
.stepper .is-current .n { background: var(--brand); border-color: var(--brand); color: #fff; }
.stepper .is-done .n { background: var(--gold); border-color: var(--gold); color: var(--brand-deep); }
.stepper .sep { width: 26px; height: 1px; background: var(--mist-deep); }

.panel {
  background: var(--surface); border: var(--line); border-radius: var(--radius);
  padding: 1.35rem 1.45rem 1.5rem; margin-bottom: var(--gap);
}
.panel h2 { font-size: 1.15rem; margin-bottom: 1rem; }
.pay-option {
  display: flex; gap: .8rem; align-items: flex-start;
  border: 1px solid var(--mist-deep); border-radius: var(--radius);
  padding: .9rem 1rem; margin-bottom: .6rem; cursor: pointer;
}
.pay-option:hover { border-color: var(--brand); }
.pay-option input { accent-color: var(--brand); margin-top: .25rem; }
.pay-option strong { display: block; font-size: .95rem; }
.pay-option span { font-size: .84rem; color: var(--ink-soft); }
.pay-detail { padding: .9rem 0 0; border-top: var(--line); margin-top: .9rem; font-size: .88rem; }
.pay-detail[hidden] { display: none; }
.bank-table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: .84rem; }
.bank-table th { text-align: left; font-family: var(--body); font-weight: 600; padding: .35rem 1rem .35rem 0; color: var(--ink-soft); }
.bank-table td { padding: .35rem 0; }

.mini-item {
  display: grid; grid-template-columns: 52px 1fr auto; gap: .75rem;
  align-items: center; padding: .6rem 0; border-bottom: var(--line);
}
.mini-item:last-of-type { border-bottom: 0; }
.mini-item figure { margin: 0; background: #eef1e9; border-radius: 2px; overflow: hidden; aspect-ratio: 1/1; }
.mini-item figure img { width: 100%; height: 100%; object-fit: cover; }
.mini-item strong { display: block; font-size: .88rem; font-weight: 600; line-height: 1.3; }
.mini-item small { font-family: var(--mono); font-size: .72rem; color: var(--ink-faint); }
.mini-item .price { font-size: .92rem; }

/* -- toast -- */
.toast {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 120;
  background: var(--brand-deep); color: #fff;
  padding: .8rem 1.1rem; border-radius: var(--radius);
  box-shadow: var(--shadow-lift); font-size: .9rem;
  display: flex; align-items: center; gap: .6rem;
  transform: translateY(140%); opacity: 0;
  transition: transform .3s cubic-bezier(.2,.8,.3,1), opacity .3s ease;
}
.toast.is-on { transform: translateY(0); opacity: 1; }
.toast svg { color: var(--gold); }

/* ------------------------------------------------------------ 5. Responsive */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .header-search { display: none; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .usp ul { grid-template-columns: 1fr 1fr; }
  .usp li:nth-child(3) { border-left: 0; }
  .usp li:nth-child(n+3) { border-top: var(--line); }
  .steps { grid-template-columns: 1fr; gap: var(--gap); }

  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border: 1px solid var(--mist-deep);
    background: var(--surface); border-radius: var(--radius); order: -1;
  }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    background: var(--surface); border-left: var(--line);
    padding: 5.5rem 1.5rem 2rem; z-index: 80;
    transform: translateX(100%); transition: transform .28s ease;
    box-shadow: var(--shadow-lift);
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: var(--line); }
  .main-nav a { display: block; padding: .85rem 0; border-bottom: 0; }
  .header-tools { margin-left: auto; }
  .pv-chip { display: none; }

  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.is-open { display: block; margin-bottom: var(--gap); }
  .filter-open { display: inline-flex; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 1.75rem, var(--shell)); }
  .product-grid, .product-grid--3 { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero-facts { gap: var(--gap); }
  .quote { grid-template-columns: 1fr; text-align: left; }
  .cart-row { grid-template-columns: 72px 1fr auto; row-gap: .75rem; }
  .cart-row .qty { grid-column: 2; }
  .cart-line-total { grid-column: 3; }
  .cart-remove { grid-row: 1; grid-column: 3; align-self: start; }
  .topbar-links a { display: none; }
  .card-body h3 { font-size: .95rem; }
}

@media (max-width: 460px) {
  .usp ul { grid-template-columns: 1fr; }
  .usp li { border-left: 0; border-top: var(--line); }
  .usp li:first-child { border-top: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header, .site-footer, .topbar, .usp, .toast { display: none; }
  body { background: #fff; }
}

/* ==========================================================================
   6. Phase 2 — account, auth, orders, support
   ========================================================================== */

/* -- auth -- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-lg); align-items: start; }
.auth-card {
  background: var(--surface); border: var(--line); border-radius: var(--radius);
  padding: 1.75rem 1.85rem 1.9rem;
}
.auth-card h2 { font-size: 1.35rem; }
.auth-card > p { color: var(--ink-soft); font-size: .92rem; margin-bottom: 1.25rem; }
.auth-alt {
  display: flex; align-items: center; gap: .75rem;
  margin: 1.25rem 0; color: var(--ink-faint); font-size: .8rem;
}
.auth-alt::before, .auth-alt::after { content: ""; flex: 1; height: 1px; background: var(--mist); }
.form-row-split { display: flex; justify-content: space-between; align-items: center; gap: var(--gap-sm); flex-wrap: wrap; }
.form-row-split a { font-size: .85rem; text-decoration: underline; }

/* -- account shell -- */
.account-layout { display: grid; grid-template-columns: 236px 1fr; gap: var(--gap-lg); align-items: start; }
/* A grid item's minimum width is its content by default, and .table carries min-width: 620px.
   Without this the content column grew to the table instead of letting .table-wrap scroll:
   on a phone every account page with a table was 670px wide, and cards laid out in two
   columns put the second one off-screen. */
.account-layout > * { min-width: 0; }
.side-nav {
  background: var(--surface); border: var(--line); border-radius: var(--radius);
  position: sticky; top: 96px; overflow: hidden;
}
.side-nav-id { padding: 1.1rem 1.15rem; border-bottom: var(--line); }
.side-nav-id strong { display: block; font-family: var(--display); font-size: 1.05rem; }
.side-nav-id span { font-family: var(--mono); font-size: .72rem; color: var(--ink-faint); letter-spacing: .06em; }
.side-nav ul { list-style: none; margin: 0; padding: .5rem 0; }
.side-nav a {
  display: flex; align-items: center; gap: .6rem;
  padding: .6rem 1.15rem; font-size: .92rem;
  border-left: 3px solid transparent;
}
.side-nav a:hover { background: var(--paper); }
.side-nav a[aria-current="page"] {
  border-left-color: var(--gold); background: var(--paper); font-weight: 600;
}
.side-nav svg { color: var(--ink-faint); flex-shrink: 0; }
.side-nav a[aria-current="page"] svg { color: var(--brand); }
.side-nav-out { border-top: var(--line); padding: .75rem 1.15rem; }
.side-nav-out button { background: none; border: 0; padding: 0; font-size: .9rem; color: var(--clay); }

/* -- stats -- */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-sm); margin-bottom: var(--gap); }
.stat {
  background: var(--surface); border: var(--line); border-radius: var(--radius);
  padding: 1rem 1.1rem 1.1rem;
}
.stat-label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.stat-value { font-family: var(--mono); font-size: 1.6rem; font-weight: 600; color: var(--brand-deep); line-height: 1.2; margin: .3rem 0 .1rem; }
.stat-foot { font-size: .8rem; color: var(--ink-soft); }
.stat--gold { background: var(--gold-wash); border-color: #f2dcae; }
.stat--gold .stat-value { color: var(--gold-ink); }

/* -- data table -- */
.table-wrap { background: var(--surface); border: var(--line); border-radius: var(--radius); overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 620px; }
.table th, .table td { padding: .8rem 1rem; text-align: left; border-bottom: var(--line); }
.table thead th {
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 600; background: var(--paper);
}
.table tbody tr:last-child td { border-bottom: 0; }
.table .num { font-family: var(--mono); }
.table .right { text-align: right; }

.status {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .78rem; font-weight: 600; padding: .2rem .55rem;
  border-radius: 2px; background: var(--mist); color: var(--ink-soft);
  white-space: nowrap;
}
.status--paid { background: #e2f0dd; color: #2c5f26; }
.status--transit { background: var(--gold-wash); color: var(--gold-ink); }
.status--pending { background: #eceff0; color: #4f6068; }
.status--cancelled { background: #f6e2e1; color: #8e2f27; }

/* -- timeline -- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px;
  width: 2px; background: var(--mist);
}
.timeline li { position: relative; padding: 0 0 1.5rem 2.25rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 3px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--mist-deep);
}
.timeline li.is-done::before { background: var(--brand); border-color: var(--brand); }
.timeline li.is-now::before { background: var(--gold); border-color: var(--gold); }
.timeline strong { display: block; font-size: .97rem; }
.timeline time { font-family: var(--mono); font-size: .76rem; color: var(--ink-faint); }
.timeline p { margin: .2rem 0 0; font-size: .88rem; color: var(--ink-soft); }

/* -- accordion (FAQ) -- */
.acc { background: var(--surface); border: var(--line); border-radius: var(--radius); }
.acc-item { border-bottom: var(--line); }
.acc-item:last-child { border-bottom: 0; }
.acc-head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--gap-sm);
  width: 100%; background: none; border: 0; text-align: left;
  padding: 1rem 1.15rem; font-size: .98rem; font-weight: 600;
}
.acc-head:hover { color: var(--brand); }
.acc-head svg { transition: transform .2s ease; flex-shrink: 0; color: var(--ink-faint); }
.acc-head[aria-expanded="true"] svg { transform: rotate(180deg); }
.acc-body { padding: 0 1.15rem 1.15rem; max-width: 68ch; color: var(--ink-soft); font-size: .93rem; }
.acc-body[hidden] { display: none; }
.acc-body p:last-child { margin-bottom: 0; }

/* -- confirmation -- */
.confirm-mark {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.confirm-ref {
  display: inline-flex; align-items: baseline; gap: .5rem;
  font-family: var(--mono); font-size: 1.05rem;
  background: var(--surface); border: var(--line); border-radius: var(--radius);
  padding: .55rem .85rem; margin-bottom: 1.25rem;
}
.confirm-ref span { font-size: .75rem; color: var(--ink-faint); letter-spacing: .08em; text-transform: uppercase; }

/* -- empty state -- */
.empty {
  background: var(--surface); border: 1px dashed var(--mist-deep); border-radius: var(--radius);
  padding: 3rem 2rem; text-align: center;
}
.empty h2 { font-size: 1.3rem; }
.empty p { color: var(--ink-soft); max-width: 44ch; margin-inline: auto; }

/* -- prose (about, policies) -- */
.prose { max-width: 66ch; }
.prose h2 { margin-top: 2.25rem; font-size: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.1rem; }
.prose li { margin-bottom: .4rem; }
.prose strong { color: var(--ink); }

/* -- value grid (about) -- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.value {
  background: var(--surface); border: var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.35rem 1.4rem;
}
.value h3 { font-size: 1.08rem; }
.value p { margin: 0; font-size: .92rem; color: var(--ink-soft); }

/* -- 404 -- */
.oops { text-align: center; padding-block: clamp(3rem, 8vw, 6rem); }
.oops-code {
  font-family: var(--mono); font-size: clamp(3.5rem, 12vw, 6rem);
  color: var(--gold); line-height: 1; letter-spacing: -.02em;
}

@media (max-width: 900px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; }
  .side-nav ul { display: flex; flex-wrap: wrap; padding: .35rem; }
  .side-nav a { border-left: 0; border-bottom: 3px solid transparent; padding: .5rem .75rem; }
  .side-nav a[aria-current="page"] { border-left: 0; border-bottom-color: var(--gold); }
  .value-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .stat-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   7. Auth screen — full-bleed backdrop with a centred card
   ========================================================================== */
.auth-screen {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem) 1rem;
  background: var(--brand-deep) url("../images/login-bg.svg") center / cover no-repeat;
  position: relative;
}
.auth-screen::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,33,74,.55), rgba(6,33,74,.25) 45%, rgba(6,33,74,.6));
}

.auth-panel {
  position: relative;
  width: min(100%, 460px);
  background: var(--surface);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 70px -20px rgba(3, 16, 40, .65);
}
.auth-panel--wide { width: min(100%, 620px); }

.auth-panel-head {
  background: var(--brand);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .95rem 1.25rem;
  position: relative; overflow: hidden;
}
.auth-panel-head::after {
  content: "";
  position: absolute; right: -40px; top: -60px;
  width: 190px; height: 190px; border-radius: 50%;
  background: rgba(193, 145, 46, .16);
}
.auth-logo { display: flex; align-items: center; gap: .7rem; position: relative; z-index: 1; }
.auth-logo .tile {
  width: 50px; height: 50px; flex-shrink: 0;
  background: #fff; border-radius: 8px;
  display: grid; place-items: center; padding: 4px;
}
.auth-logo .tile img { width: 100%; height: auto; }
.auth-logo .name strong {
  display: block; font-family: var(--display); font-size: 1.12rem;
  font-weight: 700; color: #fff; line-height: 1.05; letter-spacing: -.005em;
}
.auth-logo .name strong i { font-style: normal; color: #e3bf72; }
.auth-logo .name span {
  font-family: var(--mono); font-size: .56rem; letter-spacing: .26em;
  text-transform: uppercase; color: #a8bcdc;
}
.auth-art { position: relative; z-index: 1; flex-shrink: 0; }

.auth-panel-body { padding: 1.6rem 1.6rem 1.75rem; }
.auth-panel-body h1 { font-size: 1.65rem; margin-bottom: .3rem; }
.auth-intro { color: var(--ink-soft); font-size: .9rem; margin-bottom: 1.35rem; }

.input--fill {
  background: #eef3fb;
  border-color: transparent;
  padding: .85rem .9rem;
}
.input--fill:focus { background: #fff; border-color: var(--brand); }

.auth-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--gap-sm); flex-wrap: wrap; margin: .9rem 0 1.35rem;
}
.auth-row a { font-size: .86rem; color: var(--brand); text-decoration: underline; }

.auth-foot {
  text-align: center; margin-top: 1.35rem;
  font-size: .9rem; color: var(--ink-soft);
}
.auth-foot a { color: var(--gold-ink); font-weight: 700; text-decoration: none; }
.auth-foot a:hover { text-decoration: underline; }

.auth-leave {
  display: block; text-align: center; margin-top: 1.25rem;
  font-size: .85rem; color: #cfdcf1; position: relative;
}
.auth-leave:hover { color: #fff; text-decoration: underline; }

@media (max-width: 480px) {
  .auth-panel-head { padding: .8rem 1rem; }
  .auth-art { display: none; }
  .auth-panel-body { padding: 1.35rem 1.15rem 1.5rem; }
}
