/* QUANCO store: shop, product, bag, wishlist. Uses tokens from main.css. Calm, fast feedback. */

.input {
  width: 100%; min-height: 48px; padding: 10px 14px; font: 16px var(--font-body); color: var(--ink);
  background: #fff; border: 1px solid rgba(22, 24, 22, .28); border-radius: var(--radius);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(186, 142, 23, .35); }
.link-btn { border: 0; background: none; padding: 8px 0; min-height: 44px; cursor: pointer; font: 700 .875rem var(--font-body); text-decoration: underline; text-underline-offset: 4px; color: var(--ink-2); }
.link-btn:hover { color: var(--crimson); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .85rem; }
.btn--block { width: 100%; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .45; cursor: not-allowed; }
.h3-like { font: 700 var(--fs-h3)/1.1 var(--font-display); color: var(--green); }
.field-error { color: var(--crimson); font-weight: 700; font-size: .9rem; }

.notice { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; margin-bottom: 20px; border-left: 3px solid; font-weight: 600; }
.notice--success { background: #e3ece5; border-color: var(--green); color: var(--green); }
.notice--error { background: #f5e3e5; border-color: var(--crimson); color: var(--crimson); }
.notice--info { background: var(--ivory-2); border-color: var(--gold); color: var(--ink); }

.empty-state { display: grid; gap: 14px; justify-items: start; padding: 0 0 clamp(16px, 3vw, 40px); }

/* ------------------------------------------------------------------ Shop */
.shop-head { padding: calc(0px + clamp(32px, 5vw, 72px)) 0 clamp(20px, 3vw, 36px); }
.shop-head__title { font-size: var(--fs-h1); color: var(--green); margin-top: 14px; overflow-wrap: anywhere; }
.shop { padding-block: clamp(32px, 4vw, 56px) var(--section-y); }
.shop-toolbar {
  position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  padding: 12px 0; margin-bottom: 16px; background: var(--ivory); border-bottom: 1px solid var(--line);
}
.shop-toolbar__count { color: var(--ink-3); font-size: var(--fs-small); margin-right: auto; }
.sort-form { display: flex; align-items: center; gap: 8px; }
.sort-form__label { font-weight: 700; font-size: var(--fs-small); }
.sort-form select { min-height: 44px; padding: 0 36px 0 12px; border: 1px solid rgba(22, 24, 22, .28); border-radius: var(--radius); background: #fff; font: 16px var(--font-body); }

.chips { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px; border: 1px solid var(--green); border-radius: 999px; font-size: .85rem; font-weight: 700; text-decoration: none; color: var(--green); }
.chip .icon { width: 16px; height: 16px; }
.chip:hover { background: var(--green); color: var(--ivory); }
.chip--clear { border-color: transparent; text-decoration: underline; }

/* Filters: inline block without JS; off-canvas sheet with JS */
.filters { margin-bottom: 32px; }
.filters__panel { background: #fff; border: 1px solid var(--line); }
.filters__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.filters__head h2 { font-size: 1.4rem; }
.filters__head .icon-btn { display: none; }
.filters__body { padding: 20px; display: grid; gap: 24px; }
.filters__foot { display: flex; gap: 12px; padding: 16px 20px; border-top: 1px solid var(--line); }
.filters__foot .btn { flex: 1; }
.filters__label { font: 700 .75rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; display: block; padding: 0; }
.field-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.option-list { display: grid; gap: 4px; }
.option { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.option input { width: 20px; height: 20px; accent-color: var(--green); }
.price-range { display: flex; align-items: center; gap: 10px; }
.price-range label { flex: 1; }

.has-filter-drawer .filters { position: fixed; inset: 0; z-index: 160; margin: 0; visibility: hidden; pointer-events: none; }
.has-filter-drawer .filters.is-open { visibility: visible; pointer-events: auto; }
.has-filter-drawer .filters__backdrop { position: absolute; inset: 0; background: rgba(13, 14, 13, .5); opacity: 0; transition: opacity .3s; }
.has-filter-drawer .filters.is-open .filters__backdrop { opacity: 1; }
.has-filter-drawer .filters__panel {
  position: absolute; inset: auto 0 0 0; max-height: 88vh; max-height: 88dvh; display: flex; flex-direction: column; border: 0;
  transform: translateY(100%); transition: transform .45s var(--ease-out); border-radius: 12px 12px 0 0;
}
.has-filter-drawer .filters.is-open .filters__panel { transform: none; }
.has-filter-drawer .filters__body { overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.has-filter-drawer .filters__foot { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
.has-filter-drawer .filters__head .icon-btn { display: inline-grid; }
@media (min-width: 768px) {
  .has-filter-drawer .filters__panel { inset: 0 0 0 auto; width: min(420px, 100%); max-height: none; border-radius: 0; transform: translateX(100%); }
}

/* Choice chips (sizes, colours) */
.chip-options { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-option { position: relative; cursor: pointer; }
.chip-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-option span {
  display: inline-flex; align-items: center; gap: 8px; min-width: 52px; min-height: 48px; padding: 8px 16px; justify-content: center;
  border: 1.5px solid rgba(22, 24, 22, .25); border-radius: var(--radius); background: #fff; font-weight: 700;
  transition: border-color var(--t-fast), background-color var(--t-fast), color var(--t-fast);
}
.chip-option span i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); }
.chip-option span em { font-style: normal; font-weight: 600; color: var(--ink-3); }
.chip-option:hover span { border-color: var(--green); }
.chip-option input:checked + span { border-color: var(--green); background: var(--green); color: var(--ivory); }
.chip-option input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.chip-option.is-unavailable span { color: var(--ink-3); background: transparent; text-decoration: line-through; border-style: dashed; cursor: not-allowed; }
.chip-option input:disabled { cursor: not-allowed; }

.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 48px; }

/* ------------------------------------------------------------------ Product page */
.product-page { padding-top: calc(0px + 20px); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 20px; padding: 0; font-size: var(--fs-small); color: var(--ink-3); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); overflow-wrap: anywhere; }
.pdp { display: grid; gap: 28px; padding-bottom: var(--section-y); }
.pdp__gallery { min-width: 0; }
.pdp__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); }
.pdp__track::-webkit-scrollbar { display: none; }
.pdp__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 4 / 5; position: relative; background: var(--ivory-2); }
.pdp__slide img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-tile--pdp { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pdp__slide .placeholder-tile--pdp img { width: 96px; height: 96px; object-fit: contain; opacity: .35; }
.placeholder-tile--sm { position: static; width: 100%; height: 100%; font-size: .65rem; padding: 4px; }
.pdp__thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; }
.pdp__thumb { flex: 0 0 64px; height: 80px; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: .65; transition: opacity var(--t-fast), border-color var(--t-fast); }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb.is-active, .pdp__thumb:hover { opacity: 1; border-color: var(--green); }
.pdp__info { display: grid; gap: 18px; align-content: start; min-width: 0; }
.pdp__info .eyebrow a { text-decoration: none; }
.pdp__info .eyebrow a:hover { text-decoration: underline; }
.pdp__title { font-size: var(--fs-h2); color: var(--green); overflow-wrap: anywhere; }
.pdp__price { display: flex; gap: 12px; align-items: baseline; font: 700 1.5rem var(--font-display); }
.pdp__short { font-size: var(--fs-lead); color: var(--ink-2); }
.pdp__form { display: grid; gap: 22px; padding: 22px 0; border-block: 1px solid var(--line); }
.pdp__options { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 12px; }
.pdp__options legend { font: 700 .8rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; padding: 0; margin-bottom: 12px; }
.pdp__chosen { color: var(--ink-3); letter-spacing: .04em; text-transform: none; font-weight: 600; }
.pdp__options.needs-choice .chip-option span { border-color: var(--crimson); animation: nudge .5s var(--ease-out); }
@keyframes nudge { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.pdp__buy { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.pdp__add { flex: 1 1 200px; min-height: 56px; }
.pdp__add[data-state="loading"] { opacity: .8; cursor: progress; }
.pdp__add[data-state="success"] { background: var(--gold); color: var(--ink); }
.pdp__add[data-state="success"]::before { background: var(--gold); }
.pdp__add[data-state="loading"]::before { transform: scaleX(0); }
.pdp__add[data-state="error"] { animation: nudge .45s var(--ease-out); }
.wish-btn--inline { position: static; width: 56px; height: 56px; border-radius: var(--radius); border: 1.5px solid rgba(22, 24, 22, .25); background: #fff; }
.pdp__status { min-height: 1.5em; font-weight: 700; color: var(--ink-2); }
.size-guide summary { cursor: pointer; display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.size-guide__body { display: grid; gap: 10px; padding: 12px 16px; background: var(--ivory-2); }
.size-guide__body ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.pdp__details details { border-bottom: 1px solid var(--line); }
.pdp__details summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px; cursor: pointer; list-style: none;
  font: 700 1rem var(--font-display); letter-spacing: .06em; text-transform: uppercase;
}
.pdp__details summary::-webkit-details-marker { display: none; }
.pdp__details summary::after { content: "+"; font-size: 1.4rem; transition: transform var(--t-mid) var(--ease-out); }
.pdp__details details[open] summary::after { transform: rotate(45deg); }
.rich { padding-bottom: 18px; display: grid; gap: 10px; color: var(--ink-2); }
.related { background: var(--ivory-2); }
.related__title { color: var(--green); margin-bottom: 32px; }

.qty { display: inline-flex; align-items: center; border: 1.5px solid rgba(22, 24, 22, .25); border-radius: var(--radius); background: #fff; }
.qty__btn { width: 48px; height: 52px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; }
.qty__btn:disabled { opacity: .3; cursor: not-allowed; }
.qty__btn .icon { width: 18px; height: 18px; }
.qty__input { width: 48px; height: 52px; border: 0; text-align: center; font: 700 16px var(--font-body); background: transparent; -moz-appearance: textfield; }
.qty__input::-webkit-inner-spin-button, .qty__input::-webkit-outer-spin-button { -webkit-appearance: none; }
.qty--sm .qty__btn { width: 44px; height: 44px; }
.qty__value { min-width: 32px; text-align: center; font-weight: 700; }

@media (min-width: 900px) {
  .product-page { padding-top: calc(0px + 32px); }
  .pdp { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 5vw, 88px); align-items: start; }
  .pdp__track { margin: 0; }
  .pdp__gallery { position: sticky; top: calc(var(--header-h) + 20px); }
}

/* ------------------------------------------------------------------ Bag */
.cart-section { padding-block: clamp(32px, 4vw, 56px) var(--section-y); }
.cart__grid { display: grid; gap: 32px; }
.cart__lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); transition: opacity var(--t-fast); }
.cart-line.is-busy { opacity: .5; }
.cart-line.has-issue { background: linear-gradient(90deg, rgba(141, 32, 44, .06), transparent); }
.cart-line__img { text-decoration: none; display: block; aspect-ratio: 4 / 5; background: var(--ivory-2); overflow: hidden; position: relative; }
.cart-line__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__info { display: grid; gap: 4px; align-content: start; min-width: 0; }
.cart-line__name { font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.cart-line__name:hover { text-decoration: underline; }
.cart-line__unit { font-size: var(--fs-small); color: var(--ink-2); }
.cart-line__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cart-line__total { font-weight: 700; margin-left: auto; }
@media (min-width: 600px) {
  .cart-line { grid-template-columns: 110px minmax(0, 1fr) auto; }
  .cart-line__actions { grid-column: auto; flex-direction: column; align-items: flex-end; gap: 8px; }
  .cart-line__total { margin: 0; }
}
.cart-summary { background: #fff; border: 1px solid var(--line); padding: 24px; display: grid; gap: 18px; align-self: start; }
.cart-summary__title { font-size: 1.5rem; color: var(--green); }
.cart-summary__note { font-size: .82rem; }
.coupon summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.coupon__form { display: flex; gap: 8px; margin-top: 8px; }
.coupon__form .input { text-transform: uppercase; }
.coupon__applied { margin-top: 8px; padding: 12px 14px; background: #e3ece5; color: var(--green); display: grid; gap: 4px; }
.coupon__applied.is-invalid { background: #f5e3e5; color: var(--crimson); }
.totals { margin: 0; display: grid; gap: 10px; }
.totals div { display: flex; justify-content: space-between; gap: 16px; }
.totals dd { margin: 0; font-weight: 700; text-align: right; }
.totals__discount { color: var(--green); }
.totals__total { padding-top: 12px; border-top: 1px solid var(--line); font-size: 1.15rem; }
.totals__total dd { font-weight: 700; }
@media (min-width: 900px) {
  .cart__grid { grid-template-columns: minmax(0, 1.5fr) minmax(320px, .8fr); gap: 48px; }
  .cart-summary { position: sticky; top: calc(var(--header-h) + 20px); }
}

/* ------------------------------------------------------------------ Mini bag */
.minibag {
  position: fixed; z-index: 140; top: calc(var(--header-h) + 8px); right: var(--gutter); left: var(--gutter);
  max-width: 380px; margin-left: auto; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .18);
  padding: 18px; display: none; gap: 14px;
}
.minibag.is-open { display: grid; }
.minibag__head { font-weight: 700; color: var(--green); }
.minibag__row { display: flex; gap: 12px; align-items: center; }
.minibag__img { width: 56px; height: 70px; background: var(--ivory-2); flex-shrink: 0; overflow: hidden; }
.minibag__img img { width: 100%; height: 100%; object-fit: cover; }
.minibag__text { display: grid; gap: 2px; font-size: .9rem; min-width: 0; }
.minibag__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* ------------------------------------------------------------------ Wishlist */
.wishlist-section { padding-block: clamp(32px, 4vw, 56px) var(--section-y); }
.wishlist__toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.wish-card .product-card__link::after { display: none; }
.wish-card__actions { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; }

/* ------------------------------------------------------------------ Checkout */
.checkout-head { padding-bottom: 12px; }
.checkout-section, .order-section { padding-block: clamp(32px, 4vw, 56px) var(--section-y); }
.checkout { display: grid; gap: 32px; }
.checkout__form { display: grid; gap: 28px; min-width: 0; }
.checkout__group { border: 0; margin: 0; padding: 0; display: grid; gap: 18px; min-width: 0; }
.checkout__group legend { font: 700 1.35rem var(--font-display); color: var(--green); padding: 0; margin-bottom: 16px; }
.field-group { display: grid; gap: 6px; min-width: 0; }
.label { font-weight: 700; font-size: .95rem; }
.help { font-size: .85rem; color: var(--ink-3); margin: 0; }
.input[aria-invalid="true"] { border-color: var(--crimson); box-shadow: 0 0 0 1px var(--crimson); }
select.input { appearance: auto; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.ship-option { display: flex; gap: 14px; align-items: center; padding: 16px; min-height: 64px; border: 1.5px solid rgba(22, 24, 22, .2); background: #fff; cursor: pointer; transition: border-color var(--t-fast); }
.ship-option + .ship-option { margin-top: 8px; }
.ship-option span { flex: 1; }
.ship-option input { width: 20px; height: 20px; accent-color: var(--green); }
.ship-option:has(input:checked) { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.check-line { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; cursor: pointer; }
.check-line + .check-line { margin-top: 12px; }
.check-line input { width: 22px; height: 22px; margin-top: 1px; flex-shrink: 0; accent-color: var(--green); }
.checkout__summary { background: #fff; border: 1px solid var(--line); padding: 24px; display: grid; gap: 16px; align-self: start; }
.checkout__pay { min-height: 58px; font-size: 1rem; }
.checkout__pay.is-loading { opacity: .8; cursor: progress; }
.checkout__secure { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; }
.checkout__secure .icon { width: 18px; height: 18px; color: var(--green); }
.checkout-items summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.checkout-items__list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; font-size: .92rem; }
.checkout-items__list li { display: flex; justify-content: space-between; gap: 12px; }
.checkout-items__list li > span:last-child { white-space: nowrap; font-weight: 700; }
@media (min-width: 900px) {
  .checkout { grid-template-columns: minmax(0, 1.3fr) minmax(320px, .8fr); gap: 56px; align-items: start; }
  .checkout__summary { position: sticky; top: calc(var(--header-h) + 20px); }
}
/* On phones, keep the pay button reachable at the end of the summary; no fixed bar covering fields. */

/* ------------------------------------------------------------------ Order status / tracking */
.order-head__title { font-size: var(--fs-h1); }
.order-grid { display: grid; gap: 32px; }
.order-main { display: grid; gap: 18px; align-content: start; min-width: 0; }
.order-h { font-size: 1.4rem; color: var(--green); margin-top: 12px; }
.order-retry { display: grid; gap: 8px; justify-items: start; }
.order-ship dd.wrap { overflow-wrap: anywhere; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline__step { position: relative; display: flex; gap: 14px; padding: 0 0 22px; }
.timeline__step::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.timeline__step:last-child::before { display: none; }
.timeline__step.is-done::before { background: var(--green); }
.timeline__dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(22, 24, 22, .25); display: grid; place-items: center; flex-shrink: 0; background: var(--ivory); }
.timeline__step.is-done .timeline__dot { background: var(--green); border-color: var(--green); color: var(--ivory); }
.timeline__dot .icon { width: 16px; height: 16px; }
@media (min-width: 900px) { .order-grid { grid-template-columns: minmax(0, 1.3fr) minmax(320px, .8fr); gap: 56px; } }
.track { max-width: 560px; }
.track__form { display: grid; gap: 20px; justify-items: start; }
.track__form .field-group { width: 100%; }

/* ------------------------------------------------------------------ Track / order status (card layout) */
.track-page { padding: clamp(32px, 4vw, 56px) 0 var(--section-y); background: var(--ivory-2); }
.t-title--sm { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.track-layout { display: grid; gap: 20px; }
.track-col, .track-side { display: grid; gap: 20px; align-content: start; min-width: 0; }
.t-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: clamp(18px, 3vw, 28px); display: grid; gap: 14px; min-width: 0; }
.t-title { font-size: clamp(1.35rem, 1.2vw + 1rem, 1.75rem); color: var(--green); }
.t-lookup__form { display: grid; gap: 10px; }
@media (min-width: 700px) { .t-lookup__form { grid-template-columns: 1fr 1fr auto; } }
.t-order-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; }
.t-order-ref { font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--ink); overflow-wrap: anywhere; }
.t-order-meta { display: grid; justify-items: end; gap: 8px; text-align: right; }
.t-est { display: grid; font-size: .9rem; }
.t-est strong { font-size: 1.1rem; }
.t-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .88rem; white-space: nowrap; }
.t-pill .icon { width: 18px; height: 18px; }
.t-pill--green { background: #e3ece5; color: var(--green); }
.t-pill--gold { background: #f6eed6; color: #6d5208; }
.t-pill--red { background: #f5e3e5; color: var(--crimson); }
.t-pill--muted { background: var(--ivory-2); color: var(--ink-2); }
.t-headline { font: 700 1.15rem var(--font-body); }
.t-body { color: var(--ink-2); }
.t-card__title { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; color: var(--green); }
.t-card__title .icon { color: var(--gold); }

/* Stepper: vertical on phones, horizontal from 700px */
.stepper { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; }
.stepper__step { position: relative; display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 14px; padding-bottom: 20px; }
.stepper__step::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 3px; background: var(--line); }
.stepper__step:last-child::before { display: none; }
.stepper__step.is-done::before { background: var(--green); }
.stepper__dot { grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ivory-2); color: var(--ink-3); border: 2px solid var(--line); position: relative; z-index: 1; }
.stepper__dot .icon { width: 20px; height: 20px; }
.stepper__step.is-done .stepper__dot { background: var(--green); border-color: var(--green); color: #fff; }
.stepper__step.is-current .stepper__dot { background: var(--gold); border-color: var(--gold); color: var(--ink); box-shadow: 0 0 0 5px rgba(186, 142, 23, .2); }
.stepper__label { font-weight: 700; align-self: end; }
.stepper__step:not(.is-done) .stepper__label { color: var(--ink-3); font-weight: 600; }
.stepper__time { font-size: .82rem; color: var(--ink-3); }
.stepper__time br { display: none; }
@media (min-width: 700px) {
  .stepper { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .stepper__step { grid-template-columns: 1fr; grid-template-rows: auto; justify-items: center; text-align: center; row-gap: 8px; padding: 0; }
  .stepper__step::before { left: calc(50% + 20px); right: calc(-50% + 20px); top: 18px; bottom: auto; width: auto; height: 3px; }
  .stepper__dot { grid-row: auto; }
  .stepper__label { align-self: auto; font-size: .92rem; }
  .stepper__time br { display: inline; }
}
.t-latest { display: flex; gap: 16px; align-items: center; padding: 16px 18px; background: #eef3ef; border-radius: 10px; }
.t-latest__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--green); flex-shrink: 0; }
.t-latest p { margin: 2px 0 0; }

.t-items { list-style: none; margin: 0; padding: 0; }
.t-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.t-item__img { width: 72px; height: 90px; background: var(--ivory-2); border-radius: 6px; display: grid; place-items: center; overflow: hidden; }
.t-item__img img { width: 100%; height: 100%; object-fit: cover; }
.t-item__img .t-item__ph { width: 44px; height: 44px; object-fit: contain; opacity: .35; }
.t-item__info { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.t-item__price { white-space: nowrap; }
.t-totals { padding-top: 8px; }

.t-details { margin: 0; display: grid; }
.t-details div { display: grid; grid-template-columns: minmax(110px, 40%) 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.t-details dt { color: var(--ink-3); }
.t-details dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.t-copy { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.icon-btn--sm { width: 40px; height: 40px; }
.icon-btn--sm .icon { width: 18px; height: 18px; }
.t-note { font-size: .88rem; color: var(--ink-3); }
.t-help { grid-template-columns: auto 1fr; align-items: start; }
.t-help__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #eef3ef; color: var(--green); }
.t-help > div { display: grid; gap: 10px; }
@media (min-width: 1024px) { .track-layout { grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr); align-items: start; } .track-side { position: sticky; top: calc(var(--header-h) + 20px); } }
.t-lookup__form .field-group { min-width: 0; } @media (min-width: 700px) { .t-lookup__form { align-items: end; } .t-lookup__btn .label { display: block; } } @media (max-width: 699px) { .t-lookup__btn .label { display: none; } }
.stepper__step:has(+ .stepper__step.is-done)::before { background: var(--green); }

/* Checkout: tight delivery help line + agreement checkboxes in one compact card */
[data-methods] .help { margin: 4px 0 0; }
.checkout__agree { display: grid !important; gap: 0 !important; padding: 6px 16px !important; border-radius: 12px; background: #FBF8F1; border: 1px solid rgba(32,74,46,.12); margin-top: 8px !important; }
.checkout__agree .check-line { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 12px 0; margin: 0 !important; font-size: .93rem; line-height: 1.5; cursor: pointer; }
.checkout__agree .check-line + .check-line, .checkout__agree .field-error + .check-line { border-top: 1px solid rgba(32,74,46,.1); }
.checkout__agree input[type="checkbox"] { width: 20px; height: 20px; margin: 1px 0 0; accent-color: #204A2E; cursor: pointer; }
.checkout__agree a { color: #204A2E; font-weight: 600; text-decoration: underline; text-decoration-color: #BA8E17; text-underline-offset: 3px; }
.checkout__agree .muted { color: #5b6158; }
@media (max-width: 699px) {
  .shop-bar__tools { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; }
  .shop-bar__count { grid-column: 1 / -1; }
  .shop-bar__filter, .shop-bar__sort { width: 100%; justify-content: center; }
  .shop-bar__sort select { flex: 1; min-width: 0; }
  .pdp__buy { display: grid !important; grid-template-columns: auto 1fr auto; gap: 8px; align-items: stretch; }
  .pdp__buy > * { margin: 0 !important; min-width: 0; }
}
.pdp__preorder { margin: 6px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .92rem; color: #1E2A22; }
.pdp__preorder span { padding: 4px 10px; border-radius: 999px; background: #204A2E; color: #F0EBDD; font: 700 .68rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.field-row, .cf__row { align-items: start; }
.t-pending { color: #8A6A10; font-weight: 600; font-size: .92rem; }
.t-sub { display: block; margin-top: 4px; font-size: .82rem; color: #5b6158; }
.t-sub a { color: #204A2E; font-weight: 600; }
.icon-btn.is-copied { background: #204A2E; color: #F0EBDD; }

/* Shop filter bar on phones: categories scroll in one row, then count, then Filter + Sort as two equal pills */
@media (max-width: 699px) {
  .shop-bar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 8px; overflow: hidden; }
  .shop-bar__cats { min-width: 0; margin: 0 -8px; padding: 0 8px; }
  .shop-bar__cats a { padding: 9px 15px; font-size: .84rem; }
  .shop-bar__tools { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px; width: 100%; min-width: 0; }
  .shop-bar__count { grid-column: 1 / -1; margin: 0 0 0 6px; }
  .shop-bar__filter, .shop-bar__sort { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; }
  .shop-bar__filter { justify-content: center; padding: 0 12px; }
  .shop-bar__sort { justify-content: flex-start; padding: 0 34px 0 14px; overflow: hidden; }
  .shop-bar__sort select { flex: 1 1 auto; width: 100% !important; min-width: 0; max-width: 100%; text-overflow: ellipsis; }
  .shop-bar__sort .icon { right: 12px; }
}

/* Product buy row on phones: quantity + wishlist on top, full-width add button below (never wraps) */
@media (max-width: 699px) {
  .pdp__buy { display: grid !important; grid-template-columns: minmax(0, 1fr) 52px; grid-template-areas: "qty wish" "add add"; gap: 10px; align-items: stretch; }
  .pdp__buy .qty { grid-area: qty; width: 100%; height: 52px; justify-content: space-between; }
  .pdp__buy .qty__input { flex: 1; }
  .pdp__buy .wish-btn--inline { grid-area: wish; width: 52px; height: 52px; }
  .pdp__buy .pdp__add { grid-area: add; width: 100%; min-height: 54px; white-space: nowrap; font-size: 1rem; }
  .pdp__colours, .pdp__sizes, .swatches { flex-wrap: wrap; }
}
@media (max-width: 699px) { .shop-bar__sort-label { display: none; } }

/* Cart line on phones: text column holds everything; quantity left, line total right, Remove on its own line */
@media (max-width: 699px) {
  .cart-line { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: start; }
  .cart-line__info { gap: 6px; }
  .cart-line__actions { grid-column: 2; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "qty total" "remove remove"; align-items: center; gap: 10px 12px; margin-top: 2px; }
  .cart-line__actions > form[data-cart-qty] { grid-area: qty; }
  .cart-line__actions .cart-line__total { grid-area: total; margin: 0; text-align: right; font-size: 1rem; }
  .cart-line__actions > form[data-cart-remove] { grid-area: remove; justify-self: start; }
  .cart-line__actions > form[data-cart-remove] .link-btn { font-size: .85rem; color: #8D202C; padding: 0; }
}

/* Order status page */
.t-lookup-bottom { margin-top: 24px; }
@media (max-width: 699px) {
  .t-order-head { display: grid; gap: 14px; }
  .t-order-meta { justify-items: start; text-align: left; grid-template-columns: auto 1fr; align-items: center; gap: 10px 14px; padding: 12px 14px; border-radius: 12px; background: rgba(32,74,46,.05); }
  .t-order-meta .t-pill { margin: 0; }
  .t-order-meta .t-est { margin: 0; justify-self: end; text-align: right; }
  .t-headline { font-size: 1.25rem; line-height: 1.2; }
  .track-page .t-card { padding: 18px; }
  .track-page .totals > div, .track-page dl > div { gap: 12px; }
}
@media (max-width: 699px) {
  .t-help { grid-template-columns: 1fr; gap: 12px; }
  .t-help .btn { width: 100%; justify-self: stretch; }
  .track-page dl > div { grid-template-columns: 110px minmax(0, 1fr) !important; }
}

/* Shop filter bar on phones, v2: no box. Underlined category tabs, then one slim row: count · Filter · Sort */
@media (max-width: 699px) {
  .shop-bar { display: block; padding: 0; margin-bottom: 20px; background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
  .shop-bar__cats { gap: 22px; margin: 0 calc(var(--gutter, 16px) * -1); padding: 0 var(--gutter, 16px); border-bottom: 1px solid rgba(32,74,46,.15); }
  .shop-bar__cats a { position: relative; padding: 12px 0 13px; border-radius: 0; background: none !important; color: #5b6158; font-size: .9rem; }
  .shop-bar__cats a[aria-current="page"] { color: #204A2E; }
  .shop-bar__cats a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: #BA8E17; }
  .shop-bar__tools { display: flex !important; align-items: center; gap: 8px; padding-top: 14px; }
  .shop-bar__count { flex: 1 1 auto; grid-column: auto; margin: 0; font-size: .85rem; }
  .shop-bar__filter, .shop-bar__sort { width: auto; min-height: 38px; height: 38px; flex: 0 0 auto; border-radius: 999px; font-size: .84rem; }
  .shop-bar__filter { padding: 0 14px; border: 1px solid rgba(32,74,46,.3); gap: 6px; }
  .shop-bar__filter .icon { width: 16px; height: 16px; }
  .shop-bar__sort { padding: 0 30px 0 14px; background: transparent; color: #204A2E; border: 1px solid rgba(32,74,46,.3); overflow: visible; }
  .shop-bar__sort select { color: #204A2E; font-size: .84rem; width: auto !important; flex: 0 0 auto; }
  .shop-bar__sort .icon { right: 10px; width: 14px; height: 14px; color: #204A2E; }
}
@media (max-width: 699px) {
  .shop-bar__tools { flex-wrap: nowrap !important; }
  .shop-bar__count { min-width: 0; white-space: nowrap; }
  .shop-bar__sort { flex: 0 1 auto; min-width: 0; max-width: 52%; }
  .shop-bar__sort select { width: 100% !important; min-width: 0; flex: 1 1 auto; text-overflow: ellipsis; }
}
@media (max-width: 699px) {
  .shop-bar__cats a[aria-current="page"]::after { bottom: 0; }
  .shop-bar__cats a[aria-current="page"] { font-weight: 700; }
  .shop-bar__sort select { text-align: left; padding: 0 !important; }
}
/* Track order: labels on one line, boxes on one line; an error message appears below without moving anything */
@media (min-width: 700px) { .t-lookup__form { align-items: start !important; } .t-lookup__form .field-group { display: grid; gap: 8px; align-content: start; } .t-lookup__btn .btn { height: 48px; } }

/* Quantity selector: one clean box (global input styles were giving the number its own background/border) */
.qty { overflow: hidden; background: #fff !important; }
.qty .qty__input { background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; outline-offset: -3px; }
.qty__btn { color: #204A2E; transition: background .15s; }
.qty__btn:hover:not(:disabled) { background: rgba(32,74,46,.06); }
@media (max-width: 699px) { .pdp__buy .qty { border-radius: 12px; height: 52px !important; } .pdp__buy .qty__btn { width: 52px; height: 100%; } .pdp__buy .qty__input { height: 100%; } .pdp__buy .wish-btn--inline { border-radius: 12px; } }

/* Wishlist cards: same padded card as the shop, button + Remove sit neatly in a row */
[data-wishlist] .product-card, .wish-card { display: flex; flex-direction: column; height: 100%; background: #FBF8F1; border: 1px solid rgba(32,74,46,.12); border-radius: 12px; overflow: hidden; }
[data-wishlist] .product-card__link, .wish-card .product-card__link { display: block; text-decoration: none; color: inherit; }
[data-wishlist] .product-card__media, .wish-card .product-card__media { aspect-ratio: 3 / 4; overflow: hidden; background: #E6DECB; }
[data-wishlist] .product-card__media img, .wish-card .product-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; }
[data-wishlist] .product-card__name, .wish-card .product-card__name { margin: 0; padding: 14px 14px 4px; font: 600 1rem/1.3 var(--font-body); text-transform: none; letter-spacing: 0; color: #1E2A22; }
[data-wishlist] .product-card__meta, .wish-card .product-card__meta { margin: 0; padding: 0 14px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
[data-wishlist] .product-card__price, .wish-card .product-card__price { font: 700 1.1rem var(--font-body); color: #204A2E; }
.wish-card__actions { margin-top: auto; padding: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.wish-card__actions .btn { flex: 1 1 auto; justify-content: center; min-height: 42px; }
.wish-card__actions .link-btn { color: #8D202C; font-size: .88rem; padding: 4px 0; }
@media (max-width: 479px) { .wish-card__actions { flex-direction: column; align-items: stretch; gap: 8px; } .wish-card__actions .link-btn { align-self: center; } }
.wish-card__actions .btn { display: flex; align-items: center; justify-content: center; text-align: center; white-space: nowrap; font-size: .86rem; padding: 0 10px; width: 100%; }

/* Coded Set design details (spec sheets) */
.pdp-specs .h2 { margin: 6px 0 24px; }
.pdp-specs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pdp-specs__item { position: relative; display: block; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #111; cursor: zoom-in; }
.pdp-specs__item img { display: block; width: 100%; height: auto; transition: transform .6s ease; }
.pdp-specs__item:hover img { transform: scale(1.03); }
.pdp-specs__zoom { position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(240,235,221,.92); color: #204A2E; }
.pdp-specs__zoom .icon { width: 17px; height: 17px; }
@media (max-width: 699px) { .pdp-specs__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; } .pdp-specs__item { scroll-snap-align: start; } }
