/* =========================================================================
   KENNEBEC HANDSEWN
   Brunswick, Maine. Handsewn footwear.

   House style: a fixed left rail instead of a top header, arch-cropped
   photography, hairlines instead of shadows, Fraunces over Karla.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Karla:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: 'Karla', 'Helvetica Neue', Arial, sans-serif;

  --oyster: #efece5;
  --oyster-2: #f7f5f1;
  --linen: #e3ded3;
  --ink: #15181b;
  --ink-soft: #3c4348;
  --ink-mute: #6d757b;
  --navy: #1f3a53;
  --navy-deep: #16293a;
  --brass: #a17b2c;
  --brass-lit: #c69a44;
  --oxblood: #6d2430;

  --line: #cfc8ba;
  --line-soft: #ddd7cb;
  --line-dark: #2c3d4c;

  --rail-w: 264px;
  --page-max: 1320px;

  --arch: 50% 50% 3px 3px / 30% 30% 3px 3px;
  --step: clamp(28px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--oyster);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin: 0;
}

/* --------------------------------------------------------------- utilities */
.meta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.meta--brass { color: var(--brass); }
.num { font-variant-numeric: tabular-nums; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.hide { display: none !important; }
.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--ink); color: var(--oyster); padding: 10px 16px;
}
.skip:focus { left: 8px; top: 8px; }

/* ------------------------------------------------------------------ shell */
.shell {
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1fr);
  min-height: 100vh;
}

.rail {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--oyster-2);
  border-right: 1px solid var(--line);
  padding: 26px 22px 20px;
  overflow-y: auto;
}

.brandmark { display: block; margin-bottom: 30px; }
.brandmark__arch {
  width: 44px; height: 52px;
  border: 1.5px solid var(--ink);
  border-radius: 22px 22px 2px 2px;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.brandmark__name {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.02;
  display: block;
}
.brandmark__where {
  display: block;
  margin-top: 7px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.railnav { flex: 1; }
.railnav__group { margin-bottom: 24px; }
.railnav__label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--brass);
  padding-bottom: 8px; border-bottom: 1px solid var(--line-soft);
  display: block; margin-bottom: 8px;
}
.railnav a {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.railnav a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.railnav a[aria-current] { color: var(--ink); font-weight: 600; }
.railnav a span { font-size: 11px; color: var(--ink-mute); }

.railfoot { border-top: 1px solid var(--line-soft); padding-top: 14px; }
.railfoot p { margin: 0 0 8px; font-size: 12px; color: var(--ink-mute); }
.railcart {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  background: var(--ink); color: var(--oyster);
  border: 0; border-radius: 2px;
  padding: 11px 14px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase;
}
.railcart:hover { background: var(--navy); }
.railcart__n {
  background: var(--brass); color: #1a1408;
  border-radius: 2px; padding: 1px 7px;
  font-variant-numeric: tabular-nums;
}

/* topbar and drawer: mobile only */
.topbar { display: none; }
.drawer { display: none; }

/* ------------------------------------------------------------------- main */
/* The shell grid gets exactly two children: .rail and .colwrap. Anything
   else auto-places into column one and disappears behind the rail. */
.colwrap {
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { min-width: 0; flex: 1; }
.wrap { max-width: var(--page-max); padding: 0 var(--step); margin: 0 auto; }
.section { padding: var(--step) 0; }

.crumbs { padding: 20px 0 0; font-size: 12px; color: var(--ink-mute); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ------------------------------------------------------------------- hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: end;
  gap: clamp(24px, 4vw, 60px);
  padding: clamp(36px, 5vw, 76px) 0 clamp(30px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
}
.hero__eyebrow { margin-bottom: 20px; }
.hero h1 {
  font-size: clamp(42px, 6.2vw, 82px);
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: italic;
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
  color: var(--navy);
}
.hero__lede {
  max-width: 44ch; font-size: 17px; color: var(--ink-soft); margin: 0 0 28px;
}
.hero__acts { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__figure { position: relative; }
.hero__figure img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--arch);
}
.hero__stamp {
  position: absolute; left: -14px; bottom: 22px;
  background: var(--oyster); border: 1px solid var(--line);
  padding: 9px 13px; max-width: 190px;
  font-size: 11px; line-height: 1.45; color: var(--ink-soft);
}
.hero__stamp b { display: block; font-family: var(--serif); font-size: 15px; color: var(--ink); }

/* ----------------------------------------------------------------- button */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--ink); background: var(--ink); color: var(--oyster);
  padding: 13px 22px; border-radius: 2px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background .16s, color .16s, border-color .16s;
}
.btn:hover { background: var(--navy); border-color: var(--navy); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--oyster); }
.btn--brass { background: var(--brass); border-color: var(--brass); color: #1a1408; }
.btn--brass:hover { background: var(--brass-lit); border-color: var(--brass-lit); color: #1a1408; }
.btn--wide { width: 100%; justify-content: center; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn--sm { padding: 9px 15px; font-size: 11px; }

.tlink {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink); padding-bottom: 2px;
}
.tlink:hover { color: var(--navy); border-color: var(--navy); }

/* ---------------------------------------------------------- section heads */
.shead {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 26px;
  border-bottom: 1px solid var(--line); padding-bottom: 14px;
}
.shead h1, .shead h2 { font-size: clamp(25px, 3vw, 38px); }
.shead p { margin: 8px 0 0; color: var(--ink-mute); font-size: 14px; max-width: 52ch; }

/* ------------------------------------------------------------ dept strips */
.depts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dept {
  display: block; border: 1px solid transparent; padding-bottom: 12px;
}
.dept img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  background: #fff;
  border-radius: var(--arch);
  filter: saturate(.94);
  transition: transform .3s ease;
}
.dept:hover img { transform: translateY(-4px); }
.dept h3 { font-size: 19px; margin: 14px 0 3px; }
.dept span { font-size: 12px; color: var(--ink-mute); }

/* --------------------------------------------------------------- products */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 30px 22px;
}
.card { display: flex; flex-direction: column; position: relative; }
.card__ph {
  position: relative; background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--arch);
  overflow: hidden;
}
.card__ph img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  transition: opacity .25s;
}
.card__ph img + img { position: absolute; inset: 0; opacity: 0; }
.card:hover .card__ph img + img { opacity: 1; }
.card__flag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--oxblood); color: #fff;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 4px 8px; border-radius: 2px;
}
.card__body { padding-top: 13px; }
.card__dept { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); }
.card__name { font-family: var(--serif); font-size: 17.5px; margin: 5px 0 2px; line-height: 1.2; }
.card__color { font-size: 12.5px; color: var(--ink-mute); min-height: 19px; }
.card__price {
  margin-top: 9px; font-size: 14.5px; font-weight: 600;
  font-variant-numeric: tabular-nums;
  display: flex; gap: 9px; align-items: baseline;
}
.card__was { color: var(--ink-mute); font-weight: 400; text-decoration: line-through; }
.card:hover .card__name { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------- catalogue */
.cat { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: 34px; }
.filters { border-right: 1px solid var(--line); padding-right: 22px; }
.fgroup { margin-bottom: 22px; }
.fgroup > span {
  display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--brass); margin-bottom: 9px;
}
.fgroup label {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; color: var(--ink-soft); padding: 3px 0; cursor: pointer;
}
.fgroup label:hover { color: var(--ink); }
.fgroup input { accent-color: var(--navy); width: 14px; height: 14px; }
.fgroup label small { margin-left: auto; color: var(--ink-mute); font-size: 11px; }
.catbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 24px;
}
.catbar select {
  font: inherit; font-size: 13.5px;
  background: var(--oyster-2); color: var(--ink);
  border: 1px solid var(--line); border-radius: 2px; padding: 8px 11px;
}
.filters__toggle { display: none; }
.empty { padding: 60px 0; text-align: center; color: var(--ink-mute); }
.loadmore {
  display: flex; justify-content: center;
  border-top: 1px solid var(--line); margin-top: 36px; padding-top: 28px;
}

/* ----------------------------------------------------------- product page */
.pdp { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(26px, 4vw, 58px); padding: 26px 0 var(--step); }
.gal__main {
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--arch); overflow: hidden;
}
.gal__main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gal__strip { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gal__strip button {
  width: 68px; padding: 0; border: 1px solid var(--line);
  background: #fff; border-radius: 2px; overflow: hidden;
}
.gal__strip button[aria-current] { border-color: var(--ink); }
.gal__strip img { aspect-ratio: 1; object-fit: cover; width: 100%; }

.pdp__head { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.pdp__head h1 { font-size: clamp(28px, 3.4vw, 42px); margin: 10px 0 6px; }
.pdp__color { color: var(--ink-mute); font-size: 14.5px; }
.pdp__price {
  display: flex; align-items: baseline; gap: 12px;
  margin-top: 16px; font-size: 25px; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.pdp__price s { font-size: 17px; font-weight: 400; color: var(--ink-mute); }
.pdp__price em {
  font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: #fff; background: var(--oxblood);
  padding: 4px 8px; border-radius: 2px;
}

.opt { margin-top: 22px; }
.opt__head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 10px;
}
.opt__head span { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.opt__head a { font-size: 12px; color: var(--ink-mute); border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  min-width: 48px; text-align: center;
  border: 1px solid var(--line); background: var(--oyster-2);
  border-radius: 2px; padding: 9px 11px;
  font-size: 13.5px; font-variant-numeric: tabular-nums;
  transition: all .13s;
}
.chip:hover { border-color: var(--ink-soft); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--oyster); border-color: var(--ink); }
.pdp__acts { margin-top: 26px; display: grid; gap: 10px; }
.pdp__note { font-size: 12.5px; color: var(--ink-mute); margin: 14px 0 0; }
.pdp__note b { color: var(--ink); font-weight: 600; }

.spec { width: 100%; border-collapse: collapse; margin-top: 26px; }
.spec caption {
  text-align: left; font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--brass); padding-bottom: 8px;
}
.spec th, .spec td {
  text-align: left; font-size: 13.5px; font-weight: 400;
  padding: 9px 0; border-top: 1px solid var(--line-soft);
}
.spec th { color: var(--ink-mute); width: 40%; font-weight: 500; }

.prose { max-width: 68ch; }
.prose p { margin: 0 0 14px; color: var(--ink-soft); }
.prose h2 { font-size: clamp(22px, 2.6vw, 31px); margin: 34px 0 12px; }
.prose h3 { font-size: 19px; margin: 26px 0 9px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 20px; color: var(--ink-soft); }
.prose li { margin-bottom: 7px; }
.prose a { border-bottom: 1px solid var(--line); }
.prose a:hover { border-color: var(--ink); }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 20px; }
.prose th, .prose td {
  text-align: left; padding: 9px 12px 9px 0; font-size: 14px;
  border-bottom: 1px solid var(--line-soft); vertical-align: top;
}
.prose thead th { color: var(--brass); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

/* ------------------------------------------------------------ craft band */
.band { background: var(--navy-deep); color: #e7e3d9; }
.band .wrap { padding-top: var(--step); padding-bottom: var(--step); }
.band h1, .band h2 { color: #fff; }
.band .shead { border-color: var(--line-dark); }
.band .shead p { color: #a9b7c4; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); }
.step { background: var(--navy-deep); padding: 22px 20px 26px; }
.step b {
  display: block; font-family: var(--serif); font-size: 12px;
  color: var(--brass-lit); letter-spacing: .12em; margin-bottom: 12px;
}
.step h3 { color: #fff; font-size: 19px; margin-bottom: 8px; }
.step p { margin: 0; font-size: 13.5px; color: #a9b7c4; line-height: 1.55; }

/* ------------------------------------------------------------- editorial */
.split { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(26px, 4vw, 56px); align-items: center; }
.split img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--arch); }
.split h2 { font-size: clamp(26px, 3.2vw, 40px); margin-bottom: 16px; }
.split p { color: var(--ink-soft); }

.quote { border-left: 2px solid var(--brass); padding-left: 20px; }
.quote p { font-family: var(--serif); font-size: clamp(19px, 2.2vw, 26px); line-height: 1.35; margin: 0 0 12px; }

/* ------------------------------------------------------------------- cart */
.cartgrid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 34px; align-items: start; }
.line {
  display: grid; grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-soft);
}
.line img { width: 92px; aspect-ratio: 4/5; object-fit: cover; border-radius: 30px 30px 2px 2px; border: 1px solid var(--line-soft); }
.line h3 { font-size: 17px; margin-bottom: 4px; }
.line__opts { font-size: 12.5px; color: var(--ink-mute); }
.line__qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 2px; margin-top: 10px; }
.line__qty button { width: 28px; height: 28px; background: none; border: 0; line-height: 1; }
.line__qty span { min-width: 26px; text-align: center; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.line__right { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.line__drop { display: block; margin-top: 10px; background: none; border: 0; padding: 0; font-size: 11.5px; color: var(--ink-mute); text-decoration: underline; }
.line__drop:hover { color: var(--oxblood); }

.summary { border: 1px solid var(--line); background: var(--oyster-2); padding: 22px; border-radius: 2px; position: sticky; top: 22px; }
.summary h2 { font-size: 21px; margin-bottom: 16px; }
.summary dl { margin: 0 0 16px; }
.summary div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.summary dt { color: var(--ink-mute); }
.summary dd { margin: 0; font-variant-numeric: tabular-nums; }
.summary .total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-size: 18px; font-weight: 600; }
.summary .total dt { color: var(--ink); }
.trust { margin: 16px 0 0; padding: 0; list-style: none; }
.trust li { font-size: 12px; color: var(--ink-mute); padding-left: 16px; position: relative; margin-bottom: 5px; }
.trust li::before { content: ''; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border: 1px solid var(--brass); }

/* --------------------------------------------------------------- checkout */
.co { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 38px; align-items: start; }
fieldset { border: 0; padding: 0; margin: 0 0 26px; }
legend {
  font-family: var(--serif); font-size: 21px; padding: 0 0 12px;
  border-bottom: 1px solid var(--line); width: 100%; margin-bottom: 16px;
}
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px;
  background: var(--oyster-2); color: var(--ink);
  border: 1px solid var(--line); border-radius: 2px; padding: 11px 13px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--navy); box-shadow: 0 0 0 2px rgba(31,58,83,.12);
}
.field input:user-invalid { border-color: var(--oxblood); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.paybar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; border: 1px solid var(--line); border-radius: 2px;
  background: var(--oyster-2); padding: 12px 14px; margin-bottom: 16px;
  font-size: 12.5px; color: var(--ink-mute);
}
.cardmarks { display: flex; gap: 6px; }
.cardmarks span {
  border: 1px solid var(--line); border-radius: 2px; padding: 2px 6px;
  font-size: 9.5px; font-weight: 700; letter-spacing: .06em; color: var(--ink-soft);
  background: #fff;
}
.minicart { margin: 0 0 16px; padding: 0; list-style: none; }
.minicart li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; }
.minicart img { width: 52px; aspect-ratio: 4/5; object-fit: cover; border-radius: 16px 16px 2px 2px; }
.minicart b { display: block; font-weight: 600; }
.minicart span { color: var(--ink-mute); font-size: 12px; }
.minicart em { font-style: normal; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--ink); color: #cfcabd; margin-top: var(--step); }
.foot .wrap { padding-top: 46px; padding-bottom: 28px; }
.footgrid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
.foot h4 { font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-lit); font-family: var(--sans); margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 7px; font-size: 13.5px; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot__brand { font-family: var(--serif); font-size: 23px; color: #fff; display: block; margin-bottom: 10px; }
.foot p { font-size: 13px; line-height: 1.6; margin: 0 0 12px; }
.foot__base {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  border-top: 1px solid #2a2e32; margin-top: 34px; padding-top: 18px;
  font-size: 12px; color: #8d8880;
}
.foot__base a { text-decoration: underline; }

.signup { display: flex; gap: 8px; margin-top: 12px; }
.signup input {
  flex: 1; min-width: 0; font: inherit; font-size: 14px;
  background: #1e2226; border: 1px solid #343a3f; color: #e8e4da;
  border-radius: 2px; padding: 10px 12px;
}
.signup input:focus { outline: 0; border-color: var(--brass); }
.signup button { background: var(--brass); border: 1px solid var(--brass); color: #1a1408; border-radius: 2px; padding: 0 16px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* ---------------------------------------------------------------- toast */
.toast {
  position: fixed; z-index: 60; right: 20px; bottom: 20px;
  background: var(--ink); color: var(--oyster);
  border-left: 3px solid var(--brass);
  padding: 13px 18px; font-size: 13.5px; max-width: 300px;
  transform: translateY(140%); transition: transform .28s cubic-bezier(.2,.8,.3,1);
}
.toast--on { transform: translateY(0); }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .depts { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footgrid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .rail { display: none; }
  .topbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px; position: sticky; top: 0; z-index: 40;
    background: var(--oyster-2); border-bottom: 1px solid var(--line);
    padding: 12px 18px;
  }
  .topbar__brand { font-family: var(--serif); font-size: 20px; }
  .topbar__brand small { display: block; font-family: var(--sans); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); }
  .topbar__acts { display: flex; gap: 8px; align-items: center; }
  .iconbtn {
    background: none; border: 1px solid var(--line); border-radius: 2px;
    padding: 8px 11px; font-size: 11px; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase;
  }
  .drawer {
    position: fixed; inset: 0; z-index: 50; display: none;
    background: rgba(21,24,27,.45);
  }
  .drawer--on { display: block; }
  .drawer__panel {
    position: absolute; inset: 0 0 0 auto; width: min(320px, 86vw);
    background: var(--oyster-2); padding: 20px; overflow-y: auto;
  }
  .drawer__close { position: absolute; right: 14px; top: 12px; background: none; border: 0; font-size: 22px; line-height: 1; }
  .hero { grid-template-columns: 1fr; }
  .hero__figure { order: -1; }
  .hero__stamp { left: auto; right: 10px; }
  .pdp { grid-template-columns: 1fr; }
  .cat { grid-template-columns: 1fr; }
  .filters {
    border-right: 0; padding-right: 0; border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
  }
  .filters[data-collapsed="1"] .fgroup { display: none; }
  .filters__toggle {
    display: flex; width: 100%; justify-content: space-between;
    background: none; border: 1px solid var(--line); border-radius: 2px;
    padding: 10px 14px; font-size: 11.5px; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px;
  }
  .cartgrid, .co { grid-template-columns: 1fr; }
  .summary { position: static; }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .hero__stamp {
    position: static; max-width: none; margin-top: 12px; border-top: 0;
  }
  .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 24px 14px; }
  .depts { grid-template-columns: 1fr 1fr; }
  .steps, .footgrid { grid-template-columns: 1fr; }
  .row3 { grid-template-columns: 1fr; }
  .line { grid-template-columns: 70px minmax(0, 1fr); }
  .line img { width: 70px; }
  .line__right { grid-column: 2; text-align: left; }
  .card__name { font-size: 15.5px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

@media print {
  .rail, .topbar, .foot, .pdp__acts { display: none; }
}
