/* ============================================================================
   BDS Gear Direct — shop, product and basket styling (paper commerce world)
   ============================================================================ */

.visually-hidden { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }

/* ---------- sidebar layout ---------- */
.shop-layout { display: grid; grid-template-columns: 264px 1fr; gap: clamp(28px, 3.5vw, 56px); align-items: start; }
@media (max-width: 999px) { .shop-layout { grid-template-columns: 1fr; } }

.shop-side { position: sticky; top: 86px; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.shop-side__toggle {
  display: none; width: 100%; align-items: center; justify-content: space-between;
  font: inherit; font-weight: 600; padding: 13px 18px; border-radius: 12px;
  border: 1px solid var(--line-2); background: #fff;
}
.shop-side__body { display: grid; gap: 26px; }
.shop-side__body > input[type="search"] {
  font: inherit; font-size: .92rem; width: 100%;
  background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 14px;
}
.shop-side__body > input[type="search"]:focus-visible { outline: 2px solid var(--gd); outline-offset: 1px; }
@media (max-width: 999px) {
  .shop-side { position: static; max-height: none; overflow: visible; }
  .shop-side__toggle { display: flex; }
  .shop-side__body { display: none; padding-top: 18px; }
  .shop-side.open .shop-side__body { display: grid; }
}

.side-group__title { font-size: .68rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.side-depts { display: grid; }
.side-dept {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  width: 100%; text-align: left; font: inherit; font-size: .95rem; font-weight: 500;
  background: none; border: 0; border-left: 2px solid var(--line);
  padding: 9px 0 9px 14px; color: var(--fg);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.side-dept span { font-size: .74rem; color: var(--faint); }
.side-dept:hover { border-color: var(--gd); }
.side-dept.is-on { border-color: var(--gd); color: var(--gd); font-weight: 600; }
.side-subs { display: grid; }
.side-sub {
  display: flex; justify-content: space-between; gap: 10px;
  width: 100%; text-align: left; font: inherit; font-size: .86rem;
  background: none; border: 0; border-left: 2px solid var(--line);
  padding: 7px 0 7px 30px; color: var(--muted);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.side-sub span { font-size: .72rem; color: var(--faint); }
.side-sub:hover, .side-sub.is-on { color: var(--gd); border-color: var(--gd); }

.side-brands { display: grid; gap: 2px; max-height: 300px; overflow-y: auto; scrollbar-width: thin; }
.side-brand { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .9rem; cursor: pointer; }
.side-brand input { width: 16px; height: 16px; accent-color: var(--gd); cursor: pointer; }
.side-brand:hover span { color: var(--gd); }

.shop-side select {
  font: inherit; font-size: .9rem; width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px;
}
.side-clear {
  font: inherit; font-size: .84rem; font-weight: 600; text-align: left;
  background: none; border: 0; color: var(--gd); text-decoration: underline; padding: 0;
}

.shop-grid--side { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1240px) { .shop-grid--side { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 999px) { .shop-grid--side { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .shop-grid--side { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .shop-grid--side { grid-template-columns: 1fr; } }

.product-card--session .product-card__media { background: #15181c; }
.product-card--session .product-card__media img { mix-blend-mode: normal; object-fit: cover; }
.product-card__badge--book { background: var(--cf); }

/* ---------- controls ---------- */
.shop-controls { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.controls { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding-block: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line-2); background: transparent; border-radius: 99px;
  padding: 8px 18px; font-weight: 500; font-size: .88rem; color: var(--fg);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .16s var(--ease);
}
.chip:hover { border-color: var(--gd); }
.chip:active { transform: scale(.97); }
.chip.is-on { background: var(--ink-fg); color: var(--paper); border-color: var(--ink-fg); }
.controls__right { display: flex; gap: 10px; }
.controls__right select, .controls__right input {
  font: inherit; font-size: .9rem; color: var(--fg);
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 14px; min-width: 150px;
}
.controls__right input:focus-visible, .controls__right select:focus-visible { outline: 2px solid var(--gd); outline-offset: 1px; }

/* ---------- grid ---------- */
#shopCount { margin-bottom: 18px; }
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 26px); }
@media (max-width: 1100px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px)  { .shop-grid { grid-template-columns: 1fr; } }

.product-card {
  position: relative; display: grid; gap: 6px; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px;
  background: #fff;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.product-card:hover { border-color: var(--gd); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(23,24,18,.08); }
.product-card__media { aspect-ratio: 1; border-radius: calc(var(--radius) - 6px); overflow: hidden; background: #f1efe9; margin-bottom: 6px; }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-card__badge {
  position: absolute; top: 22px; left: 22px;
  background: var(--ink-fg); color: var(--paper);
  font-size: .64rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 6px;
}
.product-card__brand { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.product-card__name { font-weight: 500; line-height: 1.35; font-size: .96rem; }
.product-card__price { color: var(--gd); font-size: .95rem; }
.product-card.hide { display: none; }

/* ---------- product page ---------- */
.crumbs { display: flex; gap: 10px; font-size: .84rem; margin-bottom: 26px; color: var(--muted); }
.crumbs a { text-decoration: none; color: inherit; }
.crumbs a:hover { color: var(--gd); }
.product__main { aspect-ratio: 1; background: var(--pbg, #f1efe9); display: grid; place-items: center; }
.product__main img { object-fit: contain; width: 100%; height: 100%; mix-blend-mode: multiply; }
.product__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.product__thumb { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #fff; padding: 4px; }
.product__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product__thumb.is-on { border-color: var(--gd); }
.product__info { display: grid; gap: 14px; align-content: start; }
.product__price { font-size: 1.5rem; color: var(--gd); }
.product__soldout { color: #a33; font-weight: 600; }
.product__note { font-size: .88rem; background: var(--gd-soft); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.product__sizelabel { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.product__size { font: inherit; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; max-width: 260px; }
.product__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.product__promise { font-size: .82rem; color: var(--faint); max-width: 48ch; }

/* ---------- basket ---------- */
.basket-link { position: relative; }
.basket-count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px;
  background: var(--gd); color: #fff; font-size: .7rem; font-weight: 600;
  border-radius: 99px; margin-left: 6px; padding-inline: 5px;
}
.basket-list { list-style: none; padding: 0; margin-top: 34px; }
.basket-list li { display: grid; grid-template-columns: 64px 1fr auto auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.basket-list img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 10px; border: 1px solid var(--line); }
.basket-list .b-name { font-weight: 500; }
.basket-list .b-meta { font-size: .8rem; color: var(--muted); }
.basket-list .b-qty { display: flex; align-items: center; gap: 8px; }
.basket-list .b-qty button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; font-weight: 600; }
.basket-list .b-price { font-family: var(--font-mono); }
.basket-list .b-remove { background: none; border: 0; color: var(--faint); font-size: .8rem; text-decoration: underline; }
.basket-total { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 0; font-size: 1.1rem; }
.basket-total strong { font-size: 1.6rem; color: var(--gd); }
@media (max-width: 560px) { .basket-list li { grid-template-columns: 48px 1fr auto; } .basket-list .b-price { grid-column: 3; } }

/* ---------- gd landing tiles ---------- */
.cat-tiles { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(14px, 1.8vw, 24px); }
@media (max-width: 960px) { .cat-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cat-tiles { grid-template-columns: 1fr; } }
.cat-tile {
  position: relative; display: block; border-radius: var(--radius); overflow: clip;
  aspect-ratio: 4 / 3; text-decoration: none; color: #f2efe8;
}
.cat-tiles .cat-tile:first-child { grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 560px) { .cat-tiles .cat-tile:first-child { grid-row: auto; aspect-ratio: 4/3; } }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,11,9,.06), rgba(10,11,9,.7)); }
.cat-tile span {
  position: absolute; z-index: 2; left: 20px; bottom: 16px;
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
}

/* ---------- gd inner pages (departments · brands · how to order · contact) ---------- */
.gd-phero { padding-top: clamp(150px, 22vh, 240px); padding-bottom: clamp(48px, 8vh, 96px); }
.gd-phero__lede { margin-top: 22px; }
.gd-depts .wrap-wide { display: grid; gap: clamp(18px, 3vh, 34px); }
.gd-dept {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(22px, 4vw, 72px); align-items: center;
  padding: clamp(18px, 2.4vw, 32px); border-radius: var(--radius); text-decoration: none;
  border: 1px solid var(--line); background: var(--bg-2);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.gd-dept:hover { border-color: var(--gd); transform: translateY(-3px); }
.gd-dept--flip { grid-template-columns: 7fr 5fr; }
.gd-dept--flip .gd-dept__media { order: 2; }
.gd-dept__media { aspect-ratio: 4 / 3; background: #fff; border-radius: 12px; overflow: clip; display: grid; place-items: center; }
.gd-dept__media img { width: 70%; height: 80%; object-fit: contain; transition: transform .6s var(--ease); }
.gd-dept:hover .gd-dept__media img { transform: scale(1.06); }
.gd-dept__n { color: var(--gd); font-size: .82rem; }
.gd-dept__copy p { color: var(--muted); margin-top: 10px; max-width: 52ch; }
.gd-dept__go { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-weight: 600; color: var(--gd); }
.gd-dept__go svg { transition: transform .25s var(--ease); }
.gd-dept:hover .gd-dept__go svg { transform: translateX(4px); }
@media (max-width: 760px) { .gd-dept, .gd-dept--flip { grid-template-columns: 1fr; } .gd-dept--flip .gd-dept__media { order: 0; } }

.gd-brands__grid { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.gd-brandlist { list-style: none; padding: 0; border-top: 1px solid var(--line-2); }
.gd-brandlist a {
  display: grid; grid-template-columns: 1fr auto 24px; gap: 20px; align-items: center;
  padding: clamp(14px, 2.2vh, 22px) 4px; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: color .3s var(--ease);
}
.gd-brandlist__name { transition: transform .3s var(--ease); }
.gd-brandlist__name { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.6rem, 3.4vw, 3rem); line-height: 1; letter-spacing: -.01em; }
.gd-brandlist__n { color: var(--muted); font-size: .82rem; }
.gd-brandlist a:hover { color: var(--gd); }
.gd-brandlist a:hover .gd-brandlist__name { transform: translateX(14px); }
.gd-brandlist a svg { opacity: 0; transition: opacity .25s var(--ease); }
.gd-brandlist a:hover svg { opacity: 1; }
.gd-note { position: sticky; top: 140px; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--ink); color: var(--bone); display: grid; gap: 14px; justify-items: start; }
.gd-note .muted { color: rgba(242,239,232,.66); }
@media (max-width: 900px) { .gd-brands__grid { grid-template-columns: 1fr; } .gd-note { position: static; } }

.gd-steps { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .gd-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gd-steps { grid-template-columns: 1fr; } }
.gd-faq dt { font-weight: 600; font-size: 1.08rem; padding-top: 22px; border-top: 1px solid var(--line); }
.gd-faq dt:first-child { border-top: 0; padding-top: 0; }
.gd-faq dd { color: var(--muted); margin: 8px 0 22px; max-width: 62ch; }
.gd-faq a { color: var(--fg); }
.gd-cta { text-align: left; }
.gd-cta .dhero__ctas { margin-top: 30px; }

.gd-contact { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.gd-contact__people { display: grid; gap: clamp(28px, 5vh, 48px); }
.gd-contact__people article { display: grid; gap: 10px; justify-items: start; padding-bottom: clamp(28px, 5vh, 48px); border-bottom: 1px solid var(--line); }
.gd-contact__promise { color: var(--muted); max-width: 52ch; }
.gd-form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 38px); border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.gd-form label { display: grid; gap: 6px; font-size: .86rem; font-weight: 500; }
.gd-form input, .gd-form select, .gd-form textarea {
  font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line-2); background: #fff; color: var(--ink-fg);
}
.gd-form input:focus-visible, .gd-form select:focus-visible, .gd-form textarea:focus-visible { outline: 2px solid var(--gd); outline-offset: 2px; }
.gd-form__note { font-size: .8rem; }
.gd-map iframe { display: block; width: 100%; height: clamp(320px, 52vh, 520px); border: 0; filter: grayscale(.4); }
.gd-addr { font-style: normal; color: var(--muted); padding-top: 18px; }
@media (max-width: 900px) { .gd-contact { grid-template-columns: 1fr; } }

/* ============================================================================
   E-commerce layer (2026-10-26): cards with quick actions, product buy box,
   cart drawer, basket page, checkout, order received, enquiry dialog.
   ============================================================================ */
body[data-world="gd"] [hidden] { display: none !important; }
.btn--gd { background: var(--gd); color: #fff; }
.btn--gd:focus-visible, .card-act:focus-visible, .qty__btn:focus-visible, .line__rm:focus-visible,
.cart__close:focus-visible, .enq__close:focus-visible { outline: 2px solid var(--gd); outline-offset: 3px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.product__promise { color: var(--muted); }

/* ---------- product cards: whole card links, foot carries the action ---------- */
article.product-card { color: var(--fg); }
.product-card__link { display: grid; gap: 6px; text-decoration: none; color: inherit; }
.product-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.product-card__link:focus-visible { outline: none; }
.product-card:has(.product-card__link:focus-visible) { outline: 2px solid var(--gd); outline-offset: 3px; }
.product-card__badge { pointer-events: none; z-index: 2; }
.product-card__foot { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; pointer-events: none; }
.product-card__foot > .card-act { pointer-events: auto; }
.card-act {
  display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 16px;
  font: inherit; font-size: .8rem; font-weight: 600; letter-spacing: .02em; text-decoration: none;
  border-radius: 99px; border: 1px solid var(--line-2); background: #fff; color: var(--ink-fg); cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .16s var(--ease);
}
.card-act:hover { border-color: var(--gd); color: var(--gd-deep); }
.card-act:active { transform: scale(.96); }
.card-act--add { background: var(--gd); border-color: var(--gd); color: #fff; }
.card-act--add:hover { background: var(--gd-deep); border-color: var(--gd-deep); color: #fff; }
.card-act.is-done { background: var(--ink-fg); border-color: var(--ink-fg); color: var(--paper); }

/* ---------- product page buy box ---------- */
.product__buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 4px; }
.product__sizefield { display: grid; gap: 8px; }
.product__sizes { font-size: .9rem; color: var(--muted); display: grid; gap: 6px; }
.product__alt { font-size: .88rem; color: var(--muted); }
.product__alt a { color: var(--ink-fg); font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1px solid rgba(23,24,18,.32); border-radius: 99px; background: #fff; height: 52px; }
.qty__btn { width: 44px; height: 100%; border: 0; background: none; font-size: 1.15rem; font-weight: 600; color: var(--ink-fg); border-radius: 99px; cursor: pointer; }
.qty__btn:hover { color: var(--gd-deep); }
.qty__in { width: 42px; border: 0; background: none; text-align: center; font-size: 1rem; color: var(--ink-fg); -moz-appearance: textfield; appearance: textfield; }
.qty__in::-webkit-outer-spin-button, .qty__in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__in:focus-visible { outline: 2px solid var(--gd); outline-offset: 2px; border-radius: 6px; }
.qty--sm { height: 36px; }
.qty--sm .qty__btn { width: 34px; font-size: 1rem; }
.qty--sm .qty__val { min-width: 24px; text-align: center; font-size: .9rem; }

/* ---------- fields ---------- */
.field { display: grid; gap: 6px; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink-fg); }
.field input, .field select, .field textarea, .enq select, .enq input, .enq textarea {
  font: inherit; font-size: 1rem; width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid rgba(23,24,18,.32); background: #fff; color: var(--ink-fg);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible,
.enq input:focus-visible, .enq select:focus-visible, .enq textarea:focus-visible { outline: 2px solid var(--gd); outline-offset: 1px; border-color: var(--gd); }
.field [aria-invalid="true"], .enq [aria-invalid="true"] { border-color: #b3261e; }
.field__err { color: #b3261e; font-size: .82rem; font-weight: 500; }
.field__hint { color: var(--muted); font-size: .8rem; }
.opt { font-weight: 400; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- cart lines (drawer, basket page, summaries) ---------- */
.cartlines { list-style: none; padding: 0; margin: 0; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line__img { display: block; width: 72px; height: 72px; border-radius: 10px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.line__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.line__info { display: grid; gap: 4px; min-width: 0; }
.line__name { font-weight: 500; line-height: 1.3; color: var(--ink-fg); text-decoration: none; }
.line__name:hover { color: var(--gd-deep); }
.line__meta { font-size: .8rem; color: var(--muted); }
.line__ctrl { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.line__rm { background: none; border: 0; padding: 6px 0; font: inherit; font-size: .8rem; color: var(--muted); text-decoration: underline; cursor: pointer; }
.line__rm:hover { color: #b3261e; }
.line__total { font-family: var(--font-mono); font-size: .95rem; white-space: nowrap; }
.cartlines--page .line { grid-template-columns: 96px 1fr auto; gap: 20px; padding: 22px 0; }
.cartlines--page .line__img { width: 96px; height: 96px; }
.cartlines--page .line__name { font-size: 1.05rem; }
.cartlines--mini .line { grid-template-columns: 52px 1fr auto; gap: 12px; padding: 12px 0; }
.cartlines--mini .line__img { width: 52px; height: 52px; }
.cartlines--mini .line__name { font-size: .9rem; }

/* ---------- summary box ---------- */
.summary { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 2.6vw, 34px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.summary--sticky { position: sticky; top: 110px; }
.summary__title { font-family: var(--font-display); text-transform: uppercase; font-weight: 400; font-size: 1.5rem; letter-spacing: .01em; }
.summary__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.summary__row strong { font-size: 1.25rem; color: var(--ink-fg); }
.summary__row--soft { font-size: .86rem; color: var(--muted); }
.summary__row--soft span:last-child { text-align: right; max-width: 30ch; }
.summary__row--total { padding-top: 14px; border-top: 1px solid var(--line); }
.summary__row--total strong { font-size: 1.6rem; color: var(--gd-deep); }
.summary__go { justify-content: center; width: 100%; }
.summary__note { font-size: .84rem; color: var(--muted); max-width: 52ch; }
.summary__alt { display: grid; gap: 10px; justify-items: start; padding-top: 16px; border-top: 1px solid var(--line); }
.summary__mail { font-size: .86rem; color: var(--ink-fg); font-weight: 500; }
.cart-empty { display: grid; gap: 20px; justify-items: start; margin-top: 30px; }

/* ---------- basket + checkout pages ---------- */
.gd-cartpage { padding-top: clamp(130px, 18vh, 200px); min-height: 70svh; }
.gd-cartpage h1 { margin-bottom: clamp(24px, 5vh, 48px); }
.gd-cartpage__grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.gd-cartpage__more { margin-top: 22px; }
.gd-cartpage__more a { color: var(--ink-fg); font-weight: 500; }
.gd-checkout { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.gd-checkout__form { display: grid; gap: clamp(26px, 4vh, 40px); position: relative; }
.fset { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; min-width: 0; }
.fset legend { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: .01em; margin-bottom: 6px; padding: 0; color: var(--ink-fg); }
.fset legend .data { font-family: var(--font-mono); font-size: .8rem; color: var(--gd-deep); vertical-align: middle; margin-right: 8px; }
.fset__pair { display: grid; grid-template-columns: 1.618fr 1fr; gap: 16px; }
.choice { display: grid; grid-template-columns: 1fr 1.0001fr; gap: 12px; }
.choice__opt { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; border: 1px solid rgba(23,24,18,.26); background: #fff; cursor: pointer; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.choice__opt:hover { border-color: var(--gd); }
.choice__opt:has(input:checked) { border-color: var(--gd); box-shadow: inset 0 0 0 1px var(--gd); }
.choice__opt:has(input:focus-visible) { outline: 2px solid var(--gd); outline-offset: 3px; }
.choice__opt input { accent-color: var(--gd); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.choice__opt span { display: grid; gap: 4px; }
.choice__opt small { font-size: .82rem; color: var(--muted); }
.addr { display: grid; gap: 16px; }
.gd-checkout__submit { display: grid; gap: 14px; justify-items: start; }
.gd-checkout__submit .btn { padding-inline: 44px; }
.form-alert { padding: 16px 18px; border-radius: 12px; background: #fdecea; border: 1px solid #f2b8b5; color: #5f1410; font-size: .92rem; }
.form-alert:focus { outline: 2px solid #b3261e; outline-offset: 2px; }
.form-alert a { color: inherit; font-weight: 600; }
@media (max-width: 960px) {
  .gd-cartpage__grid, .gd-checkout { grid-template-columns: 1fr; }
  .summary--sticky { position: static; order: -1; }
}
@media (max-width: 600px) {
  .fset__pair, .choice { grid-template-columns: 1fr; }
  .cartlines--page .line { grid-template-columns: 72px 1fr; gap: 14px; }
  .cartlines--page .line__img { width: 72px; height: 72px; }
  .cartlines--page .line__total { grid-column: 2; }
  .gd-checkout__submit .btn { width: 100%; justify-content: center; }
}

/* ---------- order received ---------- */
.gd-received { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.gd-received__ref { font-size: 1.05rem; margin-bottom: 14px; }
.gd-received__ref strong { display: inline-block; margin-left: 8px; font-size: 1.5rem; color: var(--gd-deep); letter-spacing: .04em; }
.gd-received__lede { max-width: 56ch; }
.gd-received__steps { grid-template-columns: repeat(3, 1fr); margin: clamp(28px, 5vh, 48px) 0; }
@media (max-width: 960px) { .gd-received { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .gd-received__steps { grid-template-columns: 1fr; } }

/* ---------- how to order: the ink section must actually be ink ---------- */
.gd-terms { background: var(--ink); color: var(--bone); }
.gd-terms .micro--accent { color: #f29bcb; }
.gd-terms .display { color: var(--bone); }
.gd-terms .gd-faq dt { color: var(--bone); }
.gd-terms .gd-faq dd { color: rgba(242,239,232,.74); }
.gd-terms .gd-faq a { color: #f29bcb; }
.gd-steps__aside { margin-top: clamp(28px, 5vh, 48px); max-width: 62ch; color: var(--muted); }
.gd-steps__aside strong { color: var(--ink-fg); }

/* ---------- cart drawer (native <dialog>) ---------- */
.cart {
  margin: 0 0 0 auto; padding: 0; border: 0; height: 100dvh; max-height: 100dvh; width: min(440px, 100vw); max-width: 100vw;
  background: var(--paper); color: var(--ink-fg); box-shadow: -24px 0 60px rgba(20,21,18,.18);
  transform: translateX(100%); transition: transform .34s var(--ease);
}
.cart.is-in { transform: none; }
.cart::backdrop { background: rgba(20,21,18,.45); }
.cart__panel { display: grid; grid-template-rows: auto 1fr auto; height: 100%; }
.cart__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.cart__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; letter-spacing: .01em; }
.cart__title .data { font-family: var(--font-mono); font-size: .85rem; color: var(--gd-deep); margin-left: 6px; vertical-align: middle; }
.cart__close, .enq__close { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 1px solid rgba(23,24,18,.26); border-radius: 99px; background: #fff; color: var(--ink-fg); cursor: pointer; }
.cart__close:hover, .enq__close:hover { border-color: var(--gd); }
.cart__body { overflow-y: auto; padding: 4px 24px; overscroll-behavior: contain; }
.cart__empty { display: grid; gap: 16px; justify-items: start; padding: 28px 0; }
.cart__empty p { color: var(--muted); }
.cart__foot { display: grid; gap: 12px; padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.cart__foot .btn { justify-content: center; width: 100%; }
.cart__view { text-align: center; font-size: .88rem; color: var(--ink-fg); font-weight: 500; }
.cart__flash { font-size: .84rem; color: var(--ink-fg); background: var(--gd-soft); border-radius: 10px; padding: 10px 14px; margin-top: 16px; }

/* ---------- enquiry dialog ---------- */
.enq {
  padding: 0; border: 0; border-radius: var(--radius); width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  background: var(--paper); color: var(--ink-fg); box-shadow: 0 30px 80px rgba(20,21,18,.28);
  opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .26s var(--ease), transform .26s var(--ease);
}
.enq.is-in { opacity: 1; transform: none; }
.enq::backdrop { background: rgba(20,21,18,.5); }
.enq__inner { display: grid; gap: 16px; padding: clamp(22px, 4vw, 34px); }
.enq__head { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.enq__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.6rem, 4vw, 2.1rem); line-height: 1; }
.enq__prod { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.enq__prod img { width: 56px; height: 56px; object-fit: contain; mix-blend-mode: multiply; }
.enq__prod strong { display: block; font-weight: 500; font-size: .92rem; line-height: 1.3; }
.enq__prod small { color: var(--muted); font-size: .8rem; }
.enq form { display: grid; gap: 14px; }
.enq label { display: grid; gap: 6px; font-size: .86rem; font-weight: 600; }
.enq__pair { display: grid; grid-template-columns: 1fr 1.0001fr; gap: 12px; }
.enq__acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.enq__note { font-size: .82rem; color: var(--muted); }
.enq__done { display: grid; gap: 14px; justify-items: start; }
.enq__done:focus { outline: none; }
@media (max-width: 600px) {
  .enq { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: var(--radius) var(--radius) 0 0; max-height: 92dvh; }
  .enq__pair { grid-template-columns: 1fr; }
  .enq__acts .btn { width: 100%; justify-content: center; }
}
html.gd-locked { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .cart, .enq, .card-act, .product-card { transition: none; }
  .product-card:hover { transform: none; }
}
