/*
 * PYCL shop -- public pages.
 *
 * Colours and fonts come from the content editor as custom properties
 * (site_theme_css(), printed after this file); the values here are only
 * fallbacks. Mobile first: every layout starts as one column and opens up.
 */

:root {
  --ink: #0b1020;
  --paper: #f4f5f7;
  --court: #1d4ed8;
  --accent: #d7ff3a;
  --accent-ink: #0b1020;
  --hot: #ff4d2e;
  --card: #ffffff;
  --line: #e2e5ea;
  --muted: #5b6474;
  --font-body: Poppins, Arial, Helvetica, sans-serif;
  --font-heading: Anton, Impact, "Arial Narrow", sans-serif;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* clip, not hidden: hidden would stop the sticky header sticking. */
  overflow-x: clip;
}

body.bag-is-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--court); }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 0.4em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
h3 { font-size: 1.25rem; letter-spacing: 0.02em; }

[hidden] { display: none !important; }

.site-mark { font-style: normal; color: var(--court); font-weight: 600; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { left: 8px; }

.muted { color: var(--muted); font-size: 0.92rem; }

.kicker, .eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--court);
  margin: 0 0 0.6rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 46px;
  padding: 0 1.4em;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.button:active { transform: translateY(1px); }
.button:disabled, .button.is-disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; }

.button-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px -8px rgba(11, 16, 32, 0.45); }
.button-accent:hover { box-shadow: 0 10px 24px -10px rgba(11, 16, 32, 0.6); }
.button-quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.button-quiet:hover { border-color: var(--ink); }
.button-large { min-height: 54px; padding: 0 1.8em; font-size: 1.02rem; }
.button-block { width: 100%; }

:focus-visible { outline: 3px solid var(--court); outline-offset: 2px; }

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

.shop-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  color: #fff;
}

.shop-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px var(--gutter);
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}

.shop-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  margin-right: auto;
}
.shop-brand img { height: 40px; width: auto; }
.shop-brand-mark { font-family: var(--font-heading); font-size: 1.7rem; letter-spacing: 0.04em; line-height: 1; }
.shop-brand-tag { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; display: none; }

.shop-nav { display: none; gap: 22px; }
.shop-nav a { color: #fff; text-decoration: none; font-size: 0.9rem; font-weight: 600; opacity: 0.85; }
.shop-nav a:hover { opacity: 1; color: var(--accent); }

.bag-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 0;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.bag-button svg { width: 20px; height: 20px; }
.bag-button b {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  line-height: 22px;
  text-align: center;
}

@media (min-width: 720px) {
  .shop-brand-tag { display: inline; }
}
@media (min-width: 900px) {
  .shop-nav { display: flex; }
}

.voucher-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 8px var(--gutter);
  background: var(--court);
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
}
.voucher-banner button { background: none; border: 0; color: #fff; text-decoration: underline; cursor: pointer; font: inherit; }

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

.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(215, 255, 58, 0.22), transparent 55%),
    linear-gradient(135deg, var(--court) 0%, var(--ink) 75%);
  overflow: hidden;
}
.hero.has-image {
  background:
    linear-gradient(90deg, rgba(11, 16, 32, 0.92) 0%, rgba(11, 16, 32, 0.7) 45%, rgba(11, 16, 32, 0.15) 100%),
    var(--hero-image) center / cover no-repeat;
}
.hero::after {
  /* court lines */
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 80%;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  transform: skewX(-18deg);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 12vw, 132px) var(--gutter) clamp(56px, 10vw, 112px);
}
.hero .eyebrow { color: var(--accent); }
.hero h1 { max-width: 12ch; }
.hero h1 span { display: block; color: var(--accent); }
.hero-lead { max-width: 34rem; font-size: 1.06rem; opacity: 0.9; margin: 0 0 1.8rem; }
.hero .site-mark { color: var(--accent); }

/* ------------------------------------------------------------ flash */

.site-flash {
  max-width: var(--max);
  margin: 16px auto 0;
  padding: 12px 18px;
  border-radius: 10px;
  background: #e8f1ff;
  border-left: 4px solid var(--court);
  width: calc(100% - 2 * var(--gutter));
}
.site-flash p { margin: 0; }
.site-flash ul { margin: 6px 0 0; padding-left: 18px; }
.site-flash-error { background: #fff0ed; border-color: var(--hot); }
.site-flash-success { background: #f3ffd6; border-color: #6a8f00; }

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

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 88px) var(--gutter);
}
.section-head { max-width: 40rem; margin-bottom: 28px; }
.section-head p:last-child { color: var(--muted); margin: 0; }

.shop-closed {
  max-width: var(--max);
  margin: 24px auto 0;
  padding: 22px var(--gutter);
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  width: calc(100% - 2 * var(--gutter));
}
.shop-closed h2 { font-size: 1.6rem; color: var(--accent); }
.shop-closed p { margin: 0; }

.empty-state { padding: 40px; text-align: center; background: var(--card); border-radius: var(--radius); color: var(--muted); }

.filter-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 22px; scrollbar-width: none; }
.filter-row button {
  flex: none;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}
.filter-row button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------------------------------------------------------- products */

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2.4vw, 24px);
}
@media (min-width: 900px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1150px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 0 var(--line);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.product-card:hover { box-shadow: 0 18px 40px -24px rgba(11, 16, 32, 0.45); transform: translateY(-2px); }

.product-image {
  position: relative;
  display: block;
  text-decoration: none;
  aspect-ratio: 6 / 7;
  background: #e9ecf1;
  overflow: hidden;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s ease; }
.product-image .product-image-back { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .product-image-back { opacity: 1; }
.product-image-empty {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: rgba(11, 16, 32, 0.16);
  text-decoration: none;
  background: repeating-linear-gradient(135deg, #e9ecf1 0 16px, #e3e7ed 16px 32px);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.product-badge.is-sale { background: var(--hot); color: #fff; }
.product-badge.is-out { background: var(--ink); color: #fff; }

.product-info { display: flex; flex-direction: column; gap: 6px; padding: 14px; flex: 1; }
.product-category { margin: 0; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.product-info h3 { margin: 0; font-family: var(--font-body); text-transform: none; font-size: 1rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.product-info h3 a { color: inherit; text-decoration: none; }
.product-price { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.product-price strong { font-size: 1.05rem; }
.product-price s { color: var(--muted); font-size: 0.88rem; }
.product-price.is-large strong { font-size: 1.6rem; }
.product-card.is-sold-out .product-image img { filter: grayscale(0.8); opacity: 0.6; }

.size-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.size-row button {
  min-width: 40px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.size-row button:hover:not(:disabled) { border-color: var(--ink); }
.size-row button.is-selected { background: var(--ink); color: #fff; border-color: var(--ink); }
.size-row button:disabled { color: #b4bac5; background: #f3f4f6; text-decoration: line-through; cursor: not-allowed; }
.size-row.is-large button { min-width: 52px; height: 46px; font-size: 0.95rem; }

.stock-note { margin: 0; min-height: 1.3em; font-size: 0.8rem; color: var(--muted); }
.stock-note.is-low { color: var(--hot); font-weight: 600; }
.stock-note.is-error { color: var(--hot); font-weight: 600; }

.add-button { margin-top: auto; min-height: 42px; font-size: 0.88rem; }
.add-button.is-added { background: var(--ink); color: var(--accent); }

.size-note { color: var(--muted); font-size: 0.88rem; margin: 18px 0 0; }

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

.crumbs { max-width: var(--max); margin: 0 auto; padding: 18px var(--gutter) 0; font-size: 0.85rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

.product-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--gutter) clamp(48px, 8vw, 88px);
  display: grid;
  gap: clamp(20px, 4vw, 48px);
}
@media (min-width: 860px) {
  .product-page { grid-template-columns: 1.1fr 1fr; align-items: start; }
  .product-gallery { position: sticky; top: 84px; }
}

.product-gallery-main { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; border-radius: var(--radius); background: #e9ecf1; }
div.product-gallery-main { display: grid; place-items: center; }
.product-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.product-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; width: 72px; }
.product-thumbs button.is-active { border-color: var(--ink); }

.product-detail h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.field-label { margin: 18px 0 6px; font-weight: 700; font-size: 0.9rem; }
.quantity-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.quantity-row .add-button { flex: 1; min-height: 50px; font-size: 1rem; margin: 0; }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.stepper button { width: 42px; height: 48px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; }
.stepper input { width: 42px; border: 0; text-align: center; font: inherit; font-weight: 700; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stepper.is-small button { width: 30px; height: 30px; font-size: 1rem; }
.stepper-value { min-width: 22px; text-align: center; font-weight: 700; font-size: 0.9rem; }

.product-description { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.size-chart { margin-top: 16px; background: var(--card); border-radius: 10px; padding: 12px 16px; }
.size-chart summary { cursor: pointer; font-weight: 700; }
.size-chart img { margin-top: 12px; }
.product-perks { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 0.9rem; color: var(--muted); }
.product-perks li::before { content: "●"; color: var(--accent); -webkit-text-stroke: 1px var(--ink); margin-right: 8px; font-size: 0.7rem; }
.sold-out-note { color: var(--hot); font-weight: 700; }

/* -------------------------------------------------------------- teams */

.teams-section {
  display: grid;
  gap: 28px;
  background: var(--ink);
  color: #fff;
  border-radius: calc(var(--radius) * 1.5);
  max-width: calc(var(--max) - 2 * var(--gutter));
  width: calc(100% - 2 * var(--gutter));
  padding: clamp(32px, 6vw, 64px);
}
.teams-section .kicker { color: var(--accent); }
.teams-copy p:last-child { opacity: 0.85; margin: 0; }
.team-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; align-content: start; }
.team-list li {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
}
@media (min-width: 860px) {
  .teams-section { grid-template-columns: 1.1fr 1fr; align-items: center; }
}

/* ----------------------------------------------------------- delivery */

.delivery-grid { display: grid; gap: 18px; }
@media (min-width: 760px) { .delivery-grid { grid-template-columns: 1fr 1fr; } }
.info-card { background: var(--card); border-radius: var(--radius); padding: 24px; }
.info-card p:last-child { margin-bottom: 0; }
.fee-list { list-style: none; margin: 0 0 12px; padding: 0; }
.fee-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.free-note { color: var(--court); font-weight: 600; }
.pickup-place { font-weight: 700; }

/* ---------------------------------------------------------------- bag */

.bag-backdrop { position: fixed; inset: 0; background: rgba(11, 16, 32, 0.5); z-index: 60; }

.bag-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  transform: translateX(100%);
  /* Hidden while closed, so the off-screen panel neither widens the page on
     phones nor takes keyboard focus. */
  visibility: hidden;
  transition: transform 0.25s ease, visibility 0s linear 0.25s;
  outline: none;
}
.bag-drawer.is-open { transform: translateX(0); visibility: visible; transition: transform 0.25s ease; box-shadow: -20px 0 50px -20px rgba(11, 16, 32, 0.5); }

.bag-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; background: var(--ink); color: #fff; }
.bag-head p { margin: 0; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.7; }
.bag-head h2 { margin: 0; font-size: 1.6rem; }
.bag-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 1.5rem; cursor: pointer; }

.bag-lines { flex: 1; overflow-y: auto; padding: 12px 20px; }
.bag-empty { display: grid; gap: 10px; padding: 40px 0; text-align: center; }
.bag-empty a { font-weight: 700; }

.bag-line { display: grid; grid-template-columns: 64px 1fr auto auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bag-line img, .bag-line-noimg { width: 64px; height: 74px; object-fit: cover; border-radius: 8px; background: #e3e7ed; }
.bag-line-body { display: grid; gap: 2px; min-width: 0; }
.bag-line-name { font-weight: 700; color: inherit; text-decoration: none; font-size: 0.92rem; line-height: 1.3; }
.bag-line-body small { color: var(--muted); }
.bag-line-price { font-size: 0.92rem; }
.bag-line-remove { border: 0; background: none; font-size: 1.3rem; color: var(--muted); cursor: pointer; width: 28px; height: 28px; }

.bag-foot { padding: 18px 20px 22px; background: var(--card); border-top: 1px solid var(--line); display: grid; gap: 8px; }
.bag-subtotal { display: flex; justify-content: space-between; font-size: 1.05rem; }
.bag-foot small { color: var(--muted); }

/* ----------------------------------------------------------- checkout */

.checkout-page, .order-page { max-width: var(--max); margin: 0 auto; padding: 24px var(--gutter) clamp(48px, 8vw, 88px); }
.checkout-head h1 { font-size: clamp(2rem, 5vw, 3rem); margin-top: 8px; }
.back-link { font-size: 0.9rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.checkout-empty { padding: 48px 24px; text-align: center; background: var(--card); border-radius: var(--radius); }

.checkout-grid { display: grid; gap: 20px; margin-top: 18px; }
@media (min-width: 900px) {
  .checkout-grid { grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr); align-items: start; }
  .checkout-summary { position: sticky; top: 84px; }
}

.panel { background: var(--card); border-radius: var(--radius); padding: clamp(18px, 3vw, 26px); border: 0; margin: 0; }
fieldset.panel { min-width: 0; }
.checkout-fields { display: grid; gap: 20px; }
.panel legend, .panel h2 { font-family: var(--font-heading); font-size: 1.4rem; text-transform: uppercase; padding: 0; margin-bottom: 14px; }
/* A legend only sits inside the fieldset's padding when floated. */
.panel legend { float: left; width: 100%; }
.panel legend + * { clear: both; }

/* Block, not grid: a grid would put the "optional" note on a row of its own. */
.field { display: block; margin-bottom: 14px; font-weight: 600; font-size: 0.9rem; }
.field input, .field select, .field textarea { display: block; margin-top: 6px; }
.field small { display: block; margin-top: 6px; font-weight: 400; color: var(--muted); }
.field .optional { font-weight: 400; color: var(--muted); font-size: 0.8rem; }
.field input, .field select, .field textarea, .voucher-input input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cdd2da;
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-weight: 400;
  color: var(--ink);
}
.field textarea { min-height: 70px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .voucher-input input:focus { outline: none; border-color: var(--court); box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.18); }
.field-pair { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .field-pair { grid-template-columns: 1fr 1fr; } }
.field-help { color: var(--muted); font-size: 0.86rem; margin: 0 0 14px; }

.choice-row { display: grid; gap: 10px; margin-bottom: 16px; }
@media (min-width: 560px) { .choice-row { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: grid; gap: 2px; padding: 14px 16px; border: 2px solid var(--line); border-radius: 12px; }
.choice small { color: var(--muted); font-weight: 400; }
.choice input:checked + span { border-color: var(--ink); background: #f8faff; box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:focus-visible + span { outline: 3px solid var(--court); outline-offset: 2px; }
.pickup-info { padding: 14px 16px; background: var(--paper); border-radius: 12px; margin-bottom: 14px; }
.pickup-info p { margin: 0 0 4px; }

.checkout-summary h2 { margin-bottom: 6px; }
.summary-lines .bag-line { grid-template-columns: 52px 1fr auto; }
.summary-lines .bag-line img, .summary-lines .bag-line-noimg { width: 52px; height: 60px; }

.voucher-box { margin: 16px 0 6px; }
.voucher-box .field { margin-bottom: 6px; }
.voucher-input { display: flex; gap: 8px; }
.voucher-input input { text-transform: uppercase; }
.voucher-input .button { min-height: 46px; border-radius: 10px; }
.voucher-message { margin: 0; min-height: 1.3em; font-size: 0.85rem; }
.voucher-message.is-ok { color: #4d6b00; font-weight: 600; }
.voucher-message.is-error { color: var(--hot); }

.summary-totals { margin: 12px 0; display: grid; gap: 6px; }
.summary-totals div { display: flex; justify-content: space-between; gap: 12px; }
.summary-totals dt { color: var(--muted); }
.summary-totals dd { margin: 0; font-weight: 600; }
.summary-totals .is-total { padding-top: 10px; margin-top: 4px; border-top: 2px solid var(--ink); font-size: 1.2rem; }
.summary-totals .is-total dt { color: var(--ink); font-weight: 700; }
.summary-error { color: var(--hot); font-weight: 600; font-size: 0.9rem; }
.checkout-note { font-size: 0.85rem; color: var(--muted); }
.pay-methods { text-align: center; font-size: 0.78rem; color: var(--muted); margin: 10px 0 0; }

/* -------------------------------------------------------------- order */

.order-hero { padding: clamp(24px, 5vw, 44px); border-radius: calc(var(--radius) * 1.5); background: var(--ink); color: #fff; margin-top: 16px; }
.order-hero .kicker { color: var(--accent); }
.order-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.order-hero p { max-width: 40rem; opacity: 0.9; }
.order-hero.is-paid { background: linear-gradient(135deg, var(--court), var(--ink)); }
.order-hero.is-cancelled { background: #3a3f4b; }
.order-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.order-actions form { margin: 0; }
.order-hero .button-quiet { color: #fff; border-color: rgba(255, 255, 255, 0.35); }

.progress-steps { list-style: none; display: flex; padding: 0; margin: 22px 0 10px; counter-reset: step; }
.progress-steps li { flex: 1; position: relative; padding-top: 30px; font-size: 0.78rem; font-weight: 600; color: var(--muted); text-align: center; }
.progress-steps li::before { content: ""; position: absolute; top: 6px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--line); z-index: 1; }
.progress-steps li::after { content: ""; position: absolute; top: 13px; left: -50%; width: 100%; height: 3px; background: var(--line); }
.progress-steps li:first-child::after { display: none; }
.progress-steps li.is-done { color: var(--ink); }
.progress-steps li.is-done::before, .progress-steps li.is-done::after { background: var(--court); }
.progress-steps li.is-current::before { background: var(--accent); box-shadow: 0 0 0 3px var(--ink); }
.tracking { background: var(--card); border-radius: 10px; padding: 12px 16px; }

.order-grid { display: grid; gap: 20px; margin-top: 20px; }
@media (min-width: 860px) { .order-grid { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.order-items { list-style: none; padding: 0; margin: 0; }
.order-items li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.order-items img { border-radius: 8px; object-fit: cover; }
.order-items span { display: grid; }
.order-items small { color: var(--muted); }

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

.shop-footer { background: var(--ink); color: rgba(255, 255, 255, 0.78); margin-top: 40px; }
.shop-footer-inner { max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 20px; display: grid; gap: 20px; }
@media (min-width: 760px) { .shop-footer-inner { grid-template-columns: 1fr auto; align-items: end; } }
.shop-footer-brand { font-family: var(--font-heading); font-size: 2rem; color: #fff; letter-spacing: 0.04em; font-weight: 400; }
.shop-footer p { margin: 4px 0 0; font-size: 0.9rem; }
.shop-footer a { color: #fff; }
.shop-footer-contact { display: grid; gap: 6px; font-size: 0.9rem; }
.shop-socials { display: flex; gap: 14px; }
.shop-footer .shop-copyright { max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter) 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.8rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
