:root {
  --black: #070707;
  --panel: #111111;
  --panel-2: #181818;
  --line: #2a2a2a;
  --red: #e3120b;
  --red-dark: #b30d08;
  --white: #ffffff;
  --muted: #b5b5b5;
  --lime: #c6f31a;
  --radius: 14px;
  --head: 'Saira Condensed', Impact, 'Arial Narrow', sans-serif;
  --body: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-style: italic; font-weight: 900; letter-spacing: .01em; line-height: 1.05; margin: 0 0 .5em; text-transform: uppercase; }
button { font: inherit; cursor: pointer; }
.small { font-size: .8rem; color: var(--muted); }
.center { text-align: center; }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: 6px; border: 2px solid transparent;
  font-family: var(--head); font-style: italic; font-weight: 800; font-size: 1.15rem;
  text-transform: uppercase; letter-spacing: .03em; text-decoration: none;
  transform: skewX(-8deg); transition: background .15s, color .15s, transform .15s;
}
.btn > * { transform: skewX(8deg); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7,7,7,.94); backdrop-filter: blur(8px); border-bottom: 3px solid var(--red); }
.topbar { display: flex; justify-content: center; align-items: center; gap: .75rem; padding: .35rem 1rem; font-size: .8rem; background: var(--red); font-weight: 600; flex-wrap: wrap; }
.topbar a { text-decoration: none; }
.topbar .sep { opacity: .6; }
.nav { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 1rem; padding: .6rem 1rem; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: .9; margin-right: auto; }
.brand-word { font-family: var(--head); font-style: italic; font-weight: 900; font-size: 1.7rem; letter-spacing: .02em; }
.brand-word em { color: var(--red); font-style: italic; }
.brand-sub { font-family: var(--head); font-style: italic; font-weight: 800; font-size: .95rem; letter-spacing: .35em; color: var(--muted); }
.nav-links { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .92rem; text-transform: uppercase; letter-spacing: .04em; position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--red); transition: right .2s; }
.nav-links a:hover::after { right: 0; }
.basket-btn { position: relative; background: var(--panel-2); color: var(--white); border: 1px solid var(--line); border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; }
.basket-btn:hover { border-color: var(--red); }
.basket-count { position: absolute; top: -4px; right: -4px; background: var(--red); color: var(--white); font-size: .72rem; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; flex-direction: column; justify-content: space-between; }
.menu-toggle span { display: block; height: 3px; background: var(--white); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1000px 500px at 20% 30%, rgba(227,18,11,.22), transparent 60%), var(--black); }
.hero-inner { max-width: var(--max); margin: 0 auto; padding: 3rem 1rem 4rem; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-areas: "logo photo" "copy photo"; column-gap: 3rem; row-gap: 1.5rem; align-items: center; }
.hero-logo { grid-area: logo; width: 100%; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); }
.hero-copy { grid-area: copy; }
.hero-photo { grid-area: photo; position: relative; margin: 0; height: 100%; min-height: 520px; max-height: 680px; transform: skewX(-6deg); border-radius: 10px; overflow: hidden; border-right: 8px solid var(--red); box-shadow: -18px 18px 0 rgba(227,18,11,.25), 0 30px 60px rgba(0,0,0,.6); }
.hero-photo img { position: absolute; inset: 0 -12%; width: 124%; max-width: none; height: 100%; object-fit: cover; object-position: 50% 45%; transform: skewX(6deg); }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,7,7,.55), transparent 35%); pointer-events: none; }
.kicker { color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: .15em; font-size: .85rem; margin: 0 0 .4rem; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); }
.hero h1 span { color: var(--red); }
.lead { color: #ddd; font-size: 1.05rem; max-width: 38ch; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-stripes { height: 14px; background: repeating-linear-gradient(-60deg, var(--red) 0 28px, transparent 28px 44px); opacity: .9; }

/* ---------- USP ---------- */
.usp { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transform: translateY(-1px); }
.usp-item { background: var(--panel); padding: 1.1rem 1rem; text-align: center; display: flex; flex-direction: column; }
.usp-item strong { font-family: var(--head); font-style: italic; font-size: 1.35rem; text-transform: uppercase; color: var(--white); }
.usp-item span { color: var(--muted); font-size: .85rem; }

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 4.5rem 1rem; }
.section-dark { max-width: none; background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); display: inline-block; position: relative; padding-bottom: .3rem; }
.section-head h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 70%; height: 5px; background: var(--red); transform: skewX(-20deg); }
.section-head p { color: var(--muted); max-width: 60ch; margin: .5rem 0 0; }

/* ---------- Shop ---------- */
.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.chip { background: var(--panel-2); color: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1.1rem; font-weight: 600; font-size: .88rem; }
.chip:hover { border-color: var(--red); }
.chip.active { background: var(--red); border-color: var(--red); }
.bike-note { background: var(--panel-2); border-left: 4px solid var(--red); padding: .8rem 1rem; border-radius: 6px; color: #ddd; font-size: .92rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.loading { color: var(--muted); }
.product { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.product:hover { transform: translateY(-4px); border-color: #444; }
.product-img { position: relative; aspect-ratio: 4 / 3; background: #f4f4f4; display: grid; place-items: center; overflow: hidden; }
.product-img.dark { background: #000; }
.product-img img { width: 100%; height: 100%; object-fit: contain; padding: .5rem; }
.product-img.dark img { object-fit: cover; padding: 0; }
.badge { position: absolute; top: .7rem; left: .7rem; background: var(--red); color: var(--white); font-family: var(--head); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: .85rem; padding: .15rem .6rem; border-radius: 4px; }
.product-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.brand-tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--red); font-weight: 700; }
.product h3 { font-size: 1.35rem; margin: 0; }
.product p { color: var(--muted); font-size: .88rem; margin: 0; }
.price-row { display: flex; align-items: baseline; gap: .5rem; margin-top: auto; padding-top: .6rem; flex-wrap: wrap; }
.price { font-family: var(--head); font-style: italic; font-weight: 900; font-size: 1.7rem; }
.deposit { color: var(--muted); font-size: .8rem; }
.stock { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.stock.low { color: var(--lime); }
.stock.out { color: #ff6b66; }
.product select { background: var(--panel-2); color: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: .55rem .7rem; font: inherit; font-size: .9rem; width: 100%; }
.product .btn { font-size: 1rem; padding: .7rem 1rem; margin-top: .4rem; }
.more-note { margin-top: 2rem; color: var(--muted); text-align: center; }
.more-note a { color: var(--white); font-weight: 700; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.service { background: var(--black); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; border-top: 4px solid var(--red); }
.service-icon { font-size: 2rem; margin-bottom: .5rem; }
.service h3 { font-size: 1.5rem; }
.service p { color: var(--muted); font-size: .92rem; margin: 0; }
.booking { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; background: linear-gradient(135deg, rgba(227,18,11,.18), transparent 60%), var(--black); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.booking h3 { font-size: 2rem; }
.booking p { color: #ddd; }
.booking .btn { margin: .4rem .5rem .4rem 0; }
.booking-form { display: grid; gap: .8rem; }
.booking-form label { display: grid; gap: .3rem; font-size: .85rem; font-weight: 600; }
.booking-form input, .booking-form textarea, .booking-form select { background: var(--panel-2); border: 1px solid var(--line); color: var(--white); border-radius: 6px; padding: .7rem .8rem; font: inherit; font-weight: 400; }
.booking-form input:focus, .booking-form textarea:focus, .product select:focus { outline: 2px solid var(--red); outline-offset: 1px; }

/* ---------- About / hours ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.card p { color: #ddd; }
.card-title { font-size: 2rem; display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; padding-bottom: .5rem; border-bottom: 5px solid var(--red); }
.status-pill { font-family: var(--body); font-style: normal; font-size: .75rem; letter-spacing: .1em; padding: .25rem .7rem; border-radius: 6px; background: var(--lime); color: var(--black); }
.status-pill.closed { background: #3a3a3a; color: var(--white); }
.hours { list-style: none; padding: 0; margin: 1rem 0 0; }
.hours li { display: flex; justify-content: space-between; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.hours li:last-child { border-bottom: 0; }
.hours li.today { color: var(--red); font-weight: 700; }
.hours li.today .day::after { content: 'TODAY'; margin-left: .6rem; font-size: .68rem; letter-spacing: .1em; background: var(--red); color: var(--white); padding: .15rem .5rem; border-radius: 4px; vertical-align: middle; }
.hours .closed { color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.contact-card { background: var(--black); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; text-decoration: none; display: flex; flex-direction: column; gap: .2rem; transition: border-color .2s; }
a.contact-card:hover { border-color: var(--red); }
.contact-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--red); font-weight: 700; }
.contact-card strong { font-size: 1.1rem; }

/* ---------- Footer ---------- */
.footer { text-align: center; padding: 3rem 1rem; border-top: 3px solid var(--red); }
.footer-logo { width: 220px; margin: 0 auto 1rem; }
.footer p { margin: .3rem 0; }

/* ---------- Drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 90; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--panel); z-index: 100; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; border-left: 3px solid var(--red); }
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 1.8rem; }
.drawer-close { background: none; border: 0; color: var(--white); font-size: 1.3rem; width: 40px; height: 40px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.2rem; }
.empty { color: var(--muted); text-align: center; margin-top: 3rem; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: .8rem; padding: .8rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.line img { width: 64px; height: 64px; object-fit: contain; background: #f4f4f4; border-radius: 8px; }
.line-name { font-weight: 600; font-size: .88rem; line-height: 1.3; }
.line-meta { color: var(--muted); font-size: .78rem; }
.qty { display: inline-flex; align-items: center; gap: .4rem; margin-top: .3rem; }
.qty button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel-2); color: var(--white); line-height: 1; }
.line-price { font-weight: 700; text-align: right; }
.line-remove { display: block; background: none; border: 0; color: var(--muted); font-size: .75rem; text-decoration: underline; margin-top: .3rem; margin-left: auto; }
.drawer-foot { padding: 1rem 1.2rem 1.2rem; border-top: 1px solid var(--line); background: var(--panel-2); }
.delivery { border: 0; padding: 0; margin: 0 0 .8rem; }
.delivery legend { font-weight: 700; font-size: .85rem; margin-bottom: .4rem; }
.delivery label { display: flex; gap: .5rem; align-items: center; font-size: .88rem; padding: .25rem 0; }
.delivery em { color: var(--muted); font-style: normal; margin-left: .3rem; }
.delivery input { accent-color: var(--red); }
.totals > div { display: flex; justify-content: space-between; font-size: .9rem; padding: .15rem 0; }
.totals .grand { font-size: 1.15rem; font-weight: 700; padding: .5rem 0 .8rem; }
.checkout-error { color: #ff6b66; font-size: .85rem; min-height: 1em; margin: .5rem 0 0; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 200%); opacity: 0; visibility: hidden; background: var(--white); color: var(--black); font-weight: 600; padding: .8rem 1.3rem; border-radius: 8px; z-index: 120; transition: transform .25s, opacity .25s, visibility .25s; box-shadow: 0 10px 30px rgba(0,0,0,.4); border-left: 5px solid var(--red); max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ---------- Simple result pages ---------- */
.result { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 2rem 1rem; }
.result img { width: min(380px, 100%); margin: 0 auto 1.5rem; }
.result h1 { font-size: clamp(2.4rem, 7vw, 3.6rem); }
.result p { color: #ddd; max-width: 46ch; margin: 0 auto 1.5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; grid-template-areas: "logo" "photo" "copy"; text-align: center; padding-top: 2rem; }
  .hero-photo { min-height: 0; height: auto; aspect-ratio: 4 / 3.4; max-height: none; transform: none; border-right: 0; border-bottom: 6px solid var(--red); box-shadow: 0 20px 40px rgba(0,0,0,.6); }
  .hero-photo img { inset: 0; width: 100%; transform: none; object-position: 50% 38%; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .usp { grid-template-columns: repeat(2, 1fr); margin: 0 1rem; }
  .booking, .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .menu-toggle { display: flex; order: 3; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--black); border-bottom: 3px solid var(--red); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 1rem 1.2rem; border-top: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .hide-sm { display: none; }
}
@media (max-width: 560px) {
  .services, .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 1rem; }
  .card, .booking { padding: 1.4rem; }
  .brand-word { font-size: 1.45rem; }
}

/* ---------- Service requests ---------- */
.steps { margin: 1rem 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: .6rem; }
.steps li { counter-increment: step; display: flex; align-items: center; gap: .8rem; font-weight: 600; }
.steps li::before { content: counter(step); flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-family: var(--head); font-style: italic; font-weight: 900; }
.booking-form label small { font-weight: 400; color: var(--muted); }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; font-size: .92rem; min-height: 1em; }
.form-msg.ok { color: var(--lime); font-weight: 600; }
.form-msg.err { color: #ff6b66; }
@media (max-width: 560px) { .field-pair { grid-template-columns: 1fr; } }

/* ---------- Sale prices ---------- */
.badges { position: absolute; top: .7rem; left: .7rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.badges .badge { position: static; }
.badge.sale { background: var(--lime); color: var(--black); }
.price.now { color: var(--red); }
.was { color: var(--muted); font-size: 1rem; text-decoration: line-through; }
.save-amt { font-size: .78rem; font-weight: 700; color: var(--lime); text-transform: uppercase; letter-spacing: .06em; }
.line-meta s { opacity: .7; }
.chip-sale { border-color: #5a1210; }

/* ---------- Discount code ---------- */
.promo { margin: 0 0 .8rem; }
.promo label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: .4rem; }
.promo-row { display: flex; gap: .5rem; }
.promo-row input { flex: 1; min-width: 0; background: var(--panel); border: 1px solid var(--line); color: var(--white); border-radius: 6px; padding: .6rem .7rem; font: inherit; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; }
.promo-row input:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.promo-btn { background: var(--white); color: var(--black); border: 0; border-radius: 6px; padding: 0 1rem; font-weight: 700; }
.promo-btn:disabled { opacity: .6; }
.promo-applied { display: flex; justify-content: space-between; align-items: center; background: rgba(198,243,26,.1); border: 1px dashed var(--lime); border-radius: 6px; padding: .5rem .7rem; font-size: .88rem; }
.promo-applied .line-remove { margin: 0; }
.promo-msg { margin: .35rem 0 0; font-size: .8rem; min-height: 0; }
.promo-msg.err { color: #ff6b66; }
.promo-msg.ok { color: var(--lime); }
.discount-row { color: var(--lime); font-weight: 600; }

/* ---------- Order tracking page ---------- */
.btn-sm { font-size: .9rem; padding: .5rem .9rem; }
.track { max-width: 980px; margin: 0 auto; padding: 2.5rem 1rem 3rem; min-height: 60vh; }
.track h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin-bottom: .3rem; }
.track h2 { font-size: 1.4rem; margin-bottom: .6rem; }
.track-loading { color: var(--muted); text-align: center; padding: 3rem 0; }
.track-lookup { max-width: 560px; margin: 0 auto; }
.track-lookup p { color: #ddd; }
.track-form { display: grid; gap: .9rem; margin-top: 1rem; }
.track-form label { display: grid; gap: .3rem; font-size: .85rem; font-weight: 600; }
.track-form input { background: var(--panel-2); border: 1px solid var(--line); color: var(--white); border-radius: 6px; padding: .75rem .8rem; font: inherit; }
.track-form input:focus { outline: 2px solid var(--red); outline-offset: 1px; }
#lk-number { text-transform: uppercase; letter-spacing: .05em; }
.track-hero { position: relative; overflow: hidden; background: radial-gradient(600px 260px at 0% 0%, rgba(227,18,11,.25), transparent 70%), var(--panel); }
.track-sub { color: #ddd; font-size: 1.05rem; margin: 0 0 1.8rem; max-width: 52ch; }
.track-page[data-status="delivered"] .track-hero, .track-page[data-status="collected"] .track-hero { background: radial-gradient(600px 260px at 0% 0%, rgba(198,243,26,.18), transparent 70%), var(--panel); }

.tracker { --progress: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.tracker::before, .tracker::after { content: ''; position: absolute; top: 25px; left: 12.5%; height: 4px; border-radius: 2px; }
.tracker::before { right: 12.5%; background: var(--line); }
.tracker::after { width: calc(75% * var(--progress)); background: var(--red); transition: width .6s ease; }
.step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; padding: 0 .25rem; }
.step-dot { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; background: var(--panel-2); border: 3px solid var(--line); color: var(--white); font-weight: 900; }
.step.done .step-dot { background: var(--red); border-color: var(--red); font-size: 1.3rem; }
.step.current .step-dot { background: var(--white); border-color: var(--red); box-shadow: 0 0 0 6px rgba(227,18,11,.25); animation: pulse 2s ease-in-out infinite; }
.step-name { font-family: var(--head); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.05rem; line-height: 1.1; }
.step.todo .step-name { color: var(--muted); }
.step-when { font-size: .75rem; color: var(--muted); min-height: 1em; }
.step.current .step-when { color: var(--white); }
@keyframes pulse { 50% { box-shadow: 0 0 0 11px rgba(227,18,11,.08); } }
@media (prefers-reduced-motion: reduce) { .step.current .step-dot { animation: none; } .tracker::after { transition: none; } }
.track-page[data-status="delivered"] .step.current .step-dot, .track-page[data-status="collected"] .step.current .step-dot { background: var(--lime); border-color: var(--lime); box-shadow: none; animation: none; }
.track-cancelled { background: rgba(227,18,11,.12); border: 1px solid var(--red); border-radius: 8px; padding: 1rem; color: #ffd0cd; }

.track-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.2rem; }
.track-card { padding: 1.5rem; }
.track-card p { color: #ddd; margin: 0 0 .6rem; }
.track-items { grid-row: span 2; }
.track-items table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.track-items td { padding: .55rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.track-items td:last-child { text-align: right; white-space: nowrap; padding-left: 1rem; }
.track-items .sum td { border: 0; padding: .2rem 0; color: var(--muted); }
.track-items .sum.grand td { color: var(--white); font-weight: 700; font-size: 1.05rem; padding-top: .5rem; }
.track-items .bal { display: block; color: var(--lime); font-size: .78rem; }
#t-tracking { border-color: #2463eb; }
.track-carrier { font-size: 1.05rem; }
.track-help { display: flex; gap: .6rem; flex-wrap: wrap; }
.track-page .nav .btn { margin-left: auto; }

/* thank-you page order box */
.order-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; margin: 0 auto 1.5rem; max-width: 420px; }
.order-box strong { font-family: var(--head); font-style: italic; font-size: 1.8rem; display: block; }

@media (max-width: 720px) {
  .track-grid { grid-template-columns: 1fr; }
  .track-items { grid-row: auto; }
  .tracker { grid-template-columns: 1fr; gap: 1.1rem; }
  .tracker::before, .tracker::after { top: 27px; bottom: 27px; left: 25px; width: 4px; height: auto; right: auto; }
  .tracker::after { height: calc((100% - 54px) * var(--progress)); bottom: auto; }
  .step { flex-direction: row; text-align: left; gap: .9rem; display: grid; grid-template-columns: 54px 1fr; grid-template-rows: auto auto; }
  .step-dot { grid-row: span 2; }
  .step-name { align-self: end; }
  .step-when { align-self: start; }
}
.footer-link { font-weight: 700; color: var(--white); }
