@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Barlow:wght@400;500;600;700&display=swap');

:root {
  --ink: #14110f;
  --ink-2: #3d3733;
  --ink-3: #6e6660;
  --line: #ddd7cf;
  --line-2: #ebe6df;
  --paper: #ffffff;
  --paper-2: #f6f3ee;
  --paper-3: #efeae2;
  --red: #a92920;
  --red-dark: #8c1f18;
  --green: #1f6b46;
  --amber: #9a6412;
  --shadow: 0 1px 2px rgba(20, 17, 15, .06), 0 8px 24px rgba(20, 17, 15, .06);
  --wrap: 1280px;
  --hdr: 'Barlow Condensed', 'Arial Narrow', sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: Barlow, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--hdr);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.005em;
  margin: 0;
  text-transform: uppercase;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* ---------------------------------------------------------- announce */

.announce {
  background: var(--ink);
  color: #f3efe9;
  font-size: 12.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-weight: 500;
  overflow: hidden;
  position: relative;
}
/* One long line of messages sliding by, doubled so the loop never shows a gap.
   Duration scales with the copy so it always moves at a readable pace. */
.announce-track {
  display: flex;
  width: max-content;
  animation: ticker 42s linear infinite;
}
.announce:hover .announce-track { animation-play-state: paused; }
.announce-run {
  display: flex; align-items: center; gap: 34px;
  padding: 0 17px; min-height: 38px; white-space: nowrap;
}
.announce b { color: #fff; font-weight: 600; }
.announce .sep { color: #6a615a; }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Motion off: stop the scroll and just centre the first run. */
@media (prefers-reduced-motion: reduce) {
  .announce-track { animation: none; width: 100%; justify-content: center; }
  .announce-run + .announce-run { display: none; }
}

/* ---------------------------------------------------------- header */

.site-head {
  position: sticky; top: 0; z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line-2);
}
.site-head .wrap {
  display: flex; align-items: center; gap: 32px; height: 76px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 48px; width: auto; border-radius: 3px; }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  font-size: 13.5px; font-weight: 600; letter-spacing: .085em;
  text-transform: uppercase; padding: 6px 0; position: relative; color: var(--ink-2);
}
.nav a:hover { color: var(--ink); }
.nav a.on { color: var(--ink); }
.nav a.on::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--red);
}

.head-actions { display: flex; align-items: center; gap: 6px; margin-left: 18px; }
.icon-btn {
  background: none; border: 0; cursor: pointer; padding: 9px;
  display: flex; align-items: center; gap: 8px; border-radius: 6px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.icon-btn:hover { background: var(--paper-2); }
.cart-count {
  background: var(--red); color: #fff; font-size: 11px; font-weight: 700;
  min-width: 19px; height: 19px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 5px; letter-spacing: 0;
}
.burger { display: none; }

@media (max-width: 900px) {
  .site-head .wrap { height: 64px; gap: 14px; }
  .brand img { height: 38px; }
  .nav {
    position: fixed; inset: 64px 0 auto 0; background: #fff; flex-direction: column;
    gap: 0; padding: 8px 24px 24px; border-bottom: 1px solid var(--line);
    display: none; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
  .nav a.on::after { display: none; }
  .burger { display: flex; margin-left: auto; }
  .head-actions { margin-left: 0; }
  .icon-btn .lbl { display: none; }
}

/* ---------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  padding: 14px 26px; font-size: 13.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
  border-radius: 3px; transition: background .14s, border-color .14s, color .14s;
}
.btn:hover { background: #000; border-color: #000; }
.btn-red { background: var(--red); border-color: var(--red); }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--paper-2); border-color: var(--ink-3); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--paper-3); border-color: var(--paper-3); }
.btn:disabled { opacity: .42; cursor: not-allowed; }
.btn-sm { padding: 9px 16px; font-size: 12px; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------- hero */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
  color: #fff;
}
.hero-copy {
  display: flex; align-items: center;
  padding: 84px 56px 84px max(24px, calc((100vw - var(--wrap)) / 2 + 24px));
}
.hero-copy-inner { max-width: 552px; }
.hero-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .17em;
  text-transform: uppercase; color: #8b827b; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(34px, 3.9vw, 54px); color: #fff; }
.hero p { font-size: 17px; color: #c2bab3; margin: 20px 0 30px; }
.hero-cta { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.hero-link {
  font-size: 13px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: #cbc3bc; border-bottom: 1px solid #4c443e; padding-bottom: 3px;
}
.hero-link:hover { color: #fff; border-color: #fff; }

/* Light panel bleeding to the right edge — the product photos are shot on
   white, so they need a light ground rather than a floating card. */
.hero-shot {
  background: #fff;
  display: grid; place-items: center;
  padding: 48px; min-height: 480px;
}
.hero-shot img { max-height: 384px; width: auto; object-fit: contain; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 40px 24px 46px; order: 2; }
  .hero-shot { min-height: 0; padding: 28px 24px; order: 1; }
  .hero-shot img { max-height: 250px; }
}

/* ---------------------------------------------------------- sections */

.section { padding: 64px 0; }
.section-tight { padding: 44px 0; }
.section-alt { background: var(--paper-2); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 30px; padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.section-head p { margin: 7px 0 0; color: var(--ink-3); font-size: 15px; max-width: 54ch; }
.section-head a {
  font-size: 13px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  white-space: nowrap; border-bottom: 2px solid var(--red); padding-bottom: 3px;
}

/* ---------------------------------------------------------- grid */

.grid {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  background: var(--line-2);
  border: 1px solid var(--line-2);
}
.card {
  background: #fff; padding: 16px; display: flex; flex-direction: column;
  position: relative; transition: box-shadow .16s;
}
.card:hover { box-shadow: var(--shadow); z-index: 2; }
.card-img {
  aspect-ratio: 1; background: var(--paper-2); border-radius: 3px;
  display: grid; place-items: center; padding: 18px; margin-bottom: 14px;
  overflow: hidden;
}
.card-img img {
  max-height: 100%; width: auto; object-fit: contain;
  mix-blend-mode: multiply; transition: transform .3s ease;
}
.card:hover .card-img img { transform: scale(1.045); }
.card-brand {
  font-size: 11.5px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 5px;
}
.card h3 {
  font-family: Barlow, sans-serif; text-transform: none; font-size: 15.5px;
  font-weight: 600; line-height: 1.34; letter-spacing: 0; margin-bottom: 8px;
}
.card .blurb { font-size: 13.5px; color: var(--ink-3); line-height: 1.45; margin: 0 0 12px; }
.card-foot { margin-top: auto; display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.price { font-family: var(--hdr); font-size: 25px; font-weight: 700; letter-spacing: .01em; }
.price-was { font-size: 14px; color: var(--ink-3); text-decoration: line-through; }
.save { font-size: 12px; font-weight: 700; color: var(--red); letter-spacing: .04em; }

.tag {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  background: var(--ink); color: #fff; font-size: 10.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; border-radius: 2px;
}
.tag-red { background: var(--red); }
.tag-out { background: var(--ink-3); }

.stockline { font-size: 12.5px; margin-top: 9px; letter-spacing: .02em; }
.stockline.low { color: var(--red); font-weight: 600; }
.stockline.ok { color: var(--ink-3); }
.stockline.none { color: var(--ink-3); }

/* ---------------------------------------------------------- filters */

.shop-layout { display: grid; grid-template-columns: 224px 1fr; gap: 40px; align-items: start; }
.filters { position: sticky; top: 96px; }
.filters h4 {
  font-size: 12.5px; letter-spacing: .13em; color: var(--ink-3);
  margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.filters + .filters, .filter-group + .filter-group { margin-top: 28px; }
.filters label {
  display: flex; align-items: center; gap: 10px; padding: 6px 0;
  font-size: 14.5px; cursor: pointer; color: var(--ink-2);
}
.filters label:hover { color: var(--ink); }
.filters input { accent-color: var(--red); width: 15px; height: 15px; cursor: pointer; }
.filters .count { margin-left: auto; font-size: 12.5px; color: var(--ink-3); }

.shop-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 18px; flex-wrap: wrap;
}
.shop-bar .n { font-size: 14px; color: var(--ink-3); }
.shop-bar select {
  border: 1px solid var(--line); background: #fff; padding: 9px 12px;
  border-radius: 3px; font-size: 14px; cursor: pointer;
}
.filter-toggle { display: none; }

@media (max-width: 860px) {
  .shop-layout { grid-template-columns: 1fr; gap: 20px; }
  .filters { position: static; display: none; padding: 18px; background: var(--paper-2); border-radius: 4px; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; }
}

/* ---------------------------------------------------------- product page */

.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.gallery-main {
  aspect-ratio: 1; background: var(--paper-2); border-radius: 4px;
  display: grid; place-items: center; padding: 44px; margin-bottom: 12px;
}
.gallery-main img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 10px; }
.thumb {
  aspect-ratio: 1; background: var(--paper-2); border: 1px solid transparent;
  border-radius: 3px; padding: 8px; cursor: pointer; display: grid; place-items: center;
}
.thumb.on { border-color: var(--ink); }
.thumb img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }

.pdp-info { position: sticky; top: 100px; }
.crumbs { font-size: 13px; color: var(--ink-3); margin-bottom: 14px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.pdp-info h1 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 12px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 18px 0 4px; }
.pdp-price .price { font-size: 40px; }

.opt-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.opt {
  border: 1px solid var(--line); background: #fff; padding: 10px 15px; border-radius: 3px;
  cursor: pointer; font-size: 14px; font-weight: 500; transition: border-color .12s;
}
.opt:hover { border-color: var(--ink-3); }
.opt.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); font-weight: 600; }
.opt:disabled { opacity: .38; cursor: not-allowed; text-decoration: line-through; }
.field-label {
  font-size: 12.5px; font-weight: 600; letter-spacing: .11em;
  text-transform: uppercase; color: var(--ink-3); margin-top: 26px;
}

.qty-row { display: flex; gap: 12px; margin: 22px 0 14px; }
.qty { display: flex; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.qty button { width: 42px; background: #fff; border: 0; cursor: pointer; font-size: 18px; color: var(--ink-2); }
.qty button:hover { background: var(--paper-2); }
.qty span { width: 46px; display: grid; place-items: center; font-weight: 600; font-size: 15px; }

.pdp-body { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.pdp-body p { margin: 0 0 15px; color: var(--ink-2); font-size: 15.5px; }
.spec { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: 14.5px; }
.spec td { padding: 11px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.spec td:first-child {
  width: 40%; color: var(--ink-3); font-weight: 600; font-size: 12.5px;
  letter-spacing: .07em; text-transform: uppercase; padding-right: 16px;
}

.ship-note {
  margin-top: 22px; border: 1px solid var(--line); border-radius: 4px; padding: 16px 18px;
  font-size: 14px; color: var(--ink-2); background: var(--paper-2);
}
.ship-note b { display: block; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.ship-note ul { margin: 0; padding-left: 18px; }
.ship-note li { margin: 4px 0; }

@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; gap: 30px; }
  .pdp-info { position: static; }
  .gallery-main { padding: 26px; }
}

/* ---------------------------------------------------------- cart */

.cart-layout { display: grid; grid-template-columns: 1fr 372px; gap: 44px; align-items: start; }
.cart-row {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 18px;
  padding: 20px 0; border-bottom: 1px solid var(--line-2); align-items: start;
}
.cart-row .thumb-box {
  aspect-ratio: 1; background: var(--paper-2); border-radius: 3px;
  display: grid; place-items: center; padding: 10px;
}
.cart-row .thumb-box img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.cart-row h4 { font-family: Barlow, sans-serif; text-transform: none; font-size: 16px; letter-spacing: 0; }
.cart-row .meta { font-size: 13.5px; color: var(--ink-3); margin-top: 3px; }
.cart-row .remove {
  background: none; border: 0; color: var(--ink-3); cursor: pointer; font-size: 13px;
  text-decoration: underline; padding: 0; margin-top: 10px;
}
.cart-row .remove:hover { color: var(--red); }
.cart-row .amt { font-family: var(--hdr); font-size: 21px; font-weight: 700; text-align: right; }

.summary {
  border: 1px solid var(--line); border-radius: 4px; padding: 24px;
  position: sticky; top: 100px; background: #fff;
}
.summary h3 { font-size: 22px; margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: 15px; }
.sum-row.muted { color: var(--ink-3); font-size: 14px; }
.sum-row.total {
  border-top: 1px solid var(--line); margin-top: 12px; padding-top: 16px;
  font-family: var(--hdr); font-size: 26px; font-weight: 700; align-items: baseline;
}
.sum-row .free { color: var(--green); font-weight: 600; }

@media (max-width: 880px) {
  .cart-layout { grid-template-columns: 1fr; gap: 26px; }
  .summary { position: static; }
}

/* ---------------------------------------------------------- forms */

.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px;
}
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); border-radius: 3px;
  padding: 12px 13px; font-size: 15px; background: #fff;
  transition: border-color .12s, box-shadow .12s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,17,15,.07);
}
.field textarea { resize: vertical; min-height: 92px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hint { font-size: 13px; color: var(--ink-3); margin-top: 5px; }

.method-list { display: grid; gap: 10px; }
.method {
  border: 1px solid var(--line); border-radius: 4px; padding: 16px 18px;
  cursor: pointer; display: grid; grid-template-columns: 20px 1fr auto; gap: 14px;
  align-items: start; transition: border-color .12s, background .12s;
}
.method:hover { border-color: var(--ink-3); }
.method.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--paper-2); }
.method input { margin-top: 4px; accent-color: var(--red); width: 16px; height: 16px; }
.method .m-name { font-weight: 600; font-size: 15.5px; }
.method .m-desc { font-size: 13.5px; color: var(--ink-3); margin-top: 3px; line-height: 1.45; }
.method .m-fee { font-family: var(--hdr); font-size: 18px; font-weight: 700; white-space: nowrap; }
.method .m-fee.free { color: var(--green); font-size: 14px; font-family: Barlow, sans-serif; letter-spacing: .06em; }

.alert {
  border-left: 3px solid var(--red); background: #fdf4f3; color: #7d211a;
  padding: 12px 16px; font-size: 14.5px; margin-bottom: 18px; border-radius: 0 3px 3px 0;
}
.alert-ok { border-color: var(--green); background: #f1f8f4; color: #14532d; }

/* ---------------------------------------------------------- steps / misc */

/* Rate table. Deliberately a table and not a card grid — it is reference
   information a barber scans for a price, not a pitch. */
.rates { border-top: 1px solid var(--ink); }
.rate {
  display: grid; grid-template-columns: 190px 96px 1fr; gap: 28px;
  padding: 19px 2px; border-bottom: 1px solid var(--line-2); align-items: baseline;
}
.rate-name {
  font-family: var(--hdr); font-size: 21px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .01em;
}
.rate-price { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rate-price.free { color: var(--green); }
.rate p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.rate p b { font-weight: 600; color: var(--ink); }

@media (max-width: 760px) {
  .rate { grid-template-columns: 1fr auto; gap: 6px 16px; padding: 16px 2px; }
  .rate-name { font-size: 19px; }
  .rate-price { text-align: right; }
  .rate p { grid-column: 1 / -1; font-size: 14.5px; }
}

.empty { text-align: center; padding: 80px 24px; }
.empty h2 { font-size: 30px; margin-bottom: 10px; }
.empty p { color: var(--ink-3); margin: 0 0 24px; }

.skeleton { background: var(--paper-2); border-radius: 3px; animation: pulse 1.3s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .55 } }

/* ---------------------------------------------------------- footer */

.site-foot { background: var(--ink); color: #9d948d; margin-top: 80px; }
.site-foot .wrap { padding-top: 56px; padding-bottom: 26px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-grid h5 {
  font-family: var(--hdr); font-size: 14px; letter-spacing: .13em; text-transform: uppercase;
  color: #fff; margin: 0 0 14px; font-weight: 600;
}
.foot-grid a, .foot-grid p { font-size: 14.5px; line-height: 1.9; margin: 0; }
.foot-grid a { display: block; }
.foot-grid a:hover { color: #fff; }
.foot-brand img { height: 62px; width: 62px; border-radius: 4px; margin-bottom: 14px; }
.foot-brand p { max-width: 34ch; }
.foot-bottom {
  margin-top: 42px; padding-top: 22px; border-top: 1px solid #2c2723;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px;
}

@media (max-width: 880px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .foot-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------- toast */

.toast {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  background: var(--ink); color: #fff; padding: 15px 20px; border-radius: 4px;
  box-shadow: 0 12px 34px rgba(0,0,0,.28); font-size: 14.5px; max-width: 340px;
  transform: translateY(14px); opacity: 0; pointer-events: none;
  transition: transform .2s, opacity .2s;
}
.toast.show { transform: none; opacity: 1; }
.toast a { color: #f0a49d; text-decoration: underline; margin-left: 8px; }

/* ---------------------------------------------------- small screens */

@media (max-width: 620px) {
  /* One line, or the bar eats a third of the first screen. */
  .announce .sep, .announce .wrap > span:last-child { display: none; }
  .announce .wrap { min-height: 34px; }

  /* aspect-ratio is only a hint once the image sets a min-content height,
     so cap the image itself or a portrait product shot runs off-screen. */
  .hero-figure { aspect-ratio: auto; padding: 20px; }
  .hero-figure img { max-height: 260px; }

  .hero .wrap { padding-top: 34px; padding-bottom: 38px; }
  .hero-tags { gap: 18px; }
  .hero-cta .btn { flex: 1; padding-left: 14px; padding-right: 14px; }

  .section { padding: 44px 0; }
  .wrap, .wrap-narrow { padding: 0 18px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .card { padding: 12px; }
  .card h3 { font-size: 14px; }
  .card .blurb { display: none; }
  .price { font-size: 21px; }

  .cart-row { grid-template-columns: 72px 1fr; }
  .cart-row .amt { grid-column: 2; text-align: left; margin-top: 6px; }
  .method { grid-template-columns: 20px 1fr; }
  .method .m-fee { grid-column: 2; margin-top: 4px; }
}

/* ------------------------------------------------------------- callout */

.callout {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.callout p { margin: 0; font-size: 16.5px; color: var(--ink-2); max-width: 52ch; }

/* ------------------------------------------------------------------ Q&A */


.qa { padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.qa:last-child { border-bottom: 0; }
.qa h3 { font-size: 19px; margin-bottom: 7px; }
.qa p { margin: 0; color: var(--ink-2); font-size: 15.5px; }


/* =================================================================== *
 * Checkout. Deliberately quieter than the rest of the site — this page
 * has to read as a payment page, not a brand page, so the condensed
 * display face and uppercase headings are dropped here.
 * =================================================================== */

.co-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 0 56px;
  align-items: start;
}
.co-form { max-width: 560px; padding-bottom: 40px; }

.co-sec { margin-bottom: 30px; }
.co-sec h2 {
  font-family: Barlow, sans-serif;
  text-transform: none;
  letter-spacing: 0;
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 12px;
}
.co-sec h2 .opt {
  font-size: 12.5px; font-weight: 400; color: var(--ink-3);
  border: 1px solid var(--line); border-radius: 3px; padding: 1px 6px; margin-left: 6px;
}

/* --------------------------------------------------- grouped options */

.opt-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.opt-row {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 2px 12px;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--line-2);
  transition: background .12s;
}
.opt-row:last-child { border-bottom: 0; }
.opt-row:hover { background: #fcfbfa; }
.opt-row.on { background: #fbf9f6; box-shadow: inset 2px 0 0 var(--ink); }
.opt-row input { position: absolute; opacity: 0; pointer-events: none; }
.opt-radio {
  width: 17px; height: 17px; border-radius: 50%; background: #fff;
  border: 1px solid #b3aca6; transition: border .12s;
}
.opt-row.on .opt-radio { border: 5px solid var(--ink); }
.opt-name { font-size: 15px; font-weight: 500; }
.opt-price { font-size: 15px; font-weight: 600; white-space: nowrap; }
.opt-price.free { color: var(--green); }
.opt-calc { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.opt-desc {
  grid-column: 2 / -1; font-size: 13px; color: var(--ink-3); line-height: 1.4;
}

/* ------------------------------------------- floating-label fields */

.fld { position: relative; margin-bottom: 12px; }
.fld input, .fld textarea {
  width: 100%; height: 52px; padding: 20px 13px 6px;
  border: 1px solid #c9c2bb; border-radius: 5px; background: #fff;
  font-size: 15px; transition: border-color .12s, box-shadow .12s;
}
.fld textarea { height: auto; min-height: 66px; padding-top: 24px; resize: vertical; }
.fld input:focus, .fld textarea:focus {
  outline: 0; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink);
}
.fld label {
  position: absolute; left: 14px; top: 16px;
  font-size: 15px; color: #7c736c; pointer-events: none;
  transition: transform .12s ease;
  transform-origin: left top;
}
.fld input:focus + label,
.fld input:not(:placeholder-shown) + label,
.fld textarea:focus + label,
.fld textarea:not(:placeholder-shown) + label {
  transform: translateY(-9px) scale(.76);
  color: var(--ink-3);
}
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fld-hint { font-size: 12.5px; color: var(--ink-3); margin: -4px 0 0; }

/* ------------------------------------------------------------ payment *
 * Checkout conventions win over brand styling here: buyers recognise the
 * blue-selected row and the grey card panel as "this is the real payment
 * step", and anything more branded reads as less trustworthy.
 * ------------------------------------------------------------------- */

.co-sub { margin: -6px 0 12px; font-size: 14px; color: var(--ink-3); }

.pay-row {
  display: grid; grid-template-columns: 18px 1fr auto; gap: 3px 12px;
  align-items: center; padding: 14px 16px; cursor: pointer;
  border-bottom: 1px solid var(--line-2); background: #fff;
}
.pay-row:last-child { border-bottom: 0; }
.pay-row.on { background: #f2f7fe; }
.pay-row input { position: absolute; opacity: 0; pointer-events: none; }
.pay-radio {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid #b5b5b5; background: #fff;
}
.pay-row.on .pay-radio { border: 6px solid #2c6ecb; }
.pay-name { font-size: 15px; }
.pay-desc {
  grid-column: 2 / -1; font-size: 13px; color: var(--ink-3); line-height: 1.4;
}
.pay-foot { margin: 0; padding: 12px 16px; font-size: 13px; color: var(--ink-3); }

/* The selected group gets the blue outline Shopify uses. */
#payments:has(.pay-row.on) { border-color: #2c6ecb; box-shadow: 0 0 0 1px #2c6ecb; }

/* ------------------------------------------------------- card panel */

.card-panel {
  background: #f1f2f3;
  border-bottom: 1px solid var(--line-2);
  padding: 14px;
}
#card-container { min-height: 52px; }

.card-panel .fld { margin: 10px 0 0; }
.card-panel .fld input {
  height: 48px; border-color: #cdd0d4; border-radius: 8px;
  padding: 18px 13px 5px;
}
.card-panel .fld input:focus { border-color: #2c6ecb; box-shadow: 0 0 0 1px #2c6ecb; }
.card-panel .fld label { top: 14px; }

/* --------------------------------------------------- billing checkbox */

.check {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px; font-size: 14px; cursor: pointer; color: var(--ink-2);
}
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check-box {
  width: 18px; height: 18px; border-radius: 4px; flex-shrink: 0;
  border: 1px solid #b5b5b5; background: #fff; position: relative;
}
.check input:checked + .check-box { background: #2c6ecb; border-color: #2c6ecb; }
.check input:checked + .check-box::after {
  content: ''; position: absolute; left: 5px; top: 1px;
  width: 5px; height: 10px; border: solid #fff;
  border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.check input:focus-visible + .check-box { box-shadow: 0 0 0 3px rgba(44,110,203,.35); }

/* ------------------------------------------------------- card marks */

.marks { display: flex; gap: 4px; align-items: center; }
.mark {
  height: 22px; min-width: 34px; border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 800; letter-spacing: .02em; color: #fff;
}
.mark.visa { background: #1434cb; }
.mark.amex { background: #1f72cd; font-size: 8px; line-height: 1; }
.mark.mc { background: #16161a; padding: 0 9px; }
.mark.mc i { width: 13px; height: 13px; border-radius: 50%; display: block; }
.mark.mc i:first-child { background: #eb001b; }
.mark.mc i:last-child { background: #f79e1b; margin-left: -5px; opacity: .92; }
.mark.more {
  background: #fff; color: #6d7175; border: 1px solid #d5d7da;
  font-weight: 600; font-size: 10px; min-width: 28px;
}

/* Selected delivery option follows the same convention. */
.opt-row.on { background: #f2f7fe; box-shadow: none; }
.opt-row.on .opt-radio { border: 6px solid #2c6ecb; }
#methods:has(.opt-row.on) { border-color: #2c6ecb; box-shadow: 0 0 0 1px #2c6ecb; }

@media (max-width: 540px) {
  .pay-row { grid-template-columns: 18px 1fr; padding: 13px; }
  .marks { grid-column: 2; margin-top: 4px; }
  .card-panel { padding: 12px; }
}

/* ------------------------------------------------------------ summary */

.co-summary {
  position: sticky; top: 96px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.co-summary-inner { padding: 22px; }
.co-summary .sum-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 7px 0; font-size: 14.5px; color: var(--ink-2);
}
.co-summary .sum-row b { color: var(--ink); font-weight: 600; }
.sum-total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--line); margin-top: 12px; padding-top: 16px;
  font-size: 17px; font-weight: 600;
}
.sum-total em { font-style: normal; font-size: 12px; color: var(--ink-3); margin-right: 4px; }
.sum-total b { font-size: 25px; font-weight: 700; }

.co-line {
  display: grid; grid-template-columns: 52px 1fr auto;
  gap: 12px; align-items: center; padding: 9px 0;
}
.co-line-img {
  position: relative; width: 52px; height: 52px;
  border: 1px solid var(--line); border-radius: 6px; background: #fff;
  display: grid; place-items: center; padding: 5px;
}
.co-line-img img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.co-line-qty {
  position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px;
  border-radius: 10px; background: var(--ink-3); color: #fff;
  font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 5px;
}
.co-line-name { font-size: 13.5px; font-weight: 500; line-height: 1.35; }
.co-line-var { font-size: 12.5px; color: var(--ink-3); }
.co-line-amt { font-size: 14px; font-weight: 600; white-space: nowrap; }
.co-lines-end { border-bottom: 1px solid var(--line); margin: 10px 0 14px; }

@media (max-width: 940px) {
  .co-grid { grid-template-columns: 1fr; gap: 26px; }
  .co-summary { position: static; order: -1; }
  .co-form { max-width: none; }
}
@media (max-width: 540px) {
  .fld-row { grid-template-columns: 1fr; }
}

.field-row-3 { grid-template-columns: 2fr 0.8fr 1fr; }
@media (max-width: 540px) { .field-row-3 { grid-template-columns: 1fr; } }

.fld-row-3 { grid-template-columns: 2fr 0.7fr 1fr; }
@media (max-width: 540px) { .fld-row-3 { grid-template-columns: 1fr; } }
