/* CREATEK TJ: light theme, orange accent, dark hero. */
:root {
  --orange: #D40114;      /* brand red (from the company logo); variable names kept */
  --orange-600: #B30012;
  --orange-ink: #A8000F;      /* orange for text on light backgrounds (AA contrast) */
  --orange-50: #FDF0F1;
  --orange-100: #FADADD;
  --ink: #15181c;
  --ink-2: #4a4f56;
  --muted: #80858c;
  --line: #e7e3dc;
  --bg: #faf8f5;
  --surface: #ffffff;
  --dark: #121417;
  --dark-2: #1c2025;
  --good: #1a7f37;
  --warn: #a15c00;
  --bad: #c0362c;
  --star: #f29a2e;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(21, 24, 28, .05);
  --shadow: 0 10px 30px -12px rgba(21, 24, 28, .18), 0 2px 6px rgba(21, 24, 28, .04);
  --shadow-orange: 0 12px 28px -10px rgba(212,1,20, .55);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.55 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--orange-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .4em; font-weight: 800; }
h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h2 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
h3 { font-size: 1.05rem; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.main { padding-top: 28px; padding-bottom: 72px; min-height: 55vh; }
.main-home { padding-bottom: 72px; }
svg.art { width: 100%; height: 100%; display: block; }
svg.art.mini { width: 34px; height: 34px; }

/* ---------- top bar & header ---------- */
.topbar { background: var(--dark); color: #d6d2cb; font-size: .82rem; }
.topbar-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 0; padding-bottom: 0; min-height: 40px; }
.demo-note { color: #a9a49b; }
.topbar-pill {
  background: var(--orange); color: #fff; border-radius: 0 0 16px 16px; padding: 8px 20px;
  display: flex; gap: 14px; align-items: center; font-weight: 600; white-space: nowrap;
}
.topbar-pill a { color: #fff; }
.topbar-pill .sep { width: 1px; height: 14px; background: rgba(255,255,255,.45); }

.site-header { background: var(--surface); position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 0 var(--line), 0 6px 20px -16px rgba(0,0,0,.25); }
.header-row { display: flex; align-items: center; gap: 22px; padding-top: 14px; padding-bottom: 14px; }
.logo-link:hover { text-decoration: none; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.logo-img { height: 52px; width: auto; display: block; }
.logo-light { position: relative; isolation: isolate; }
.logo-light::before { content: ""; position: absolute; inset: -10px -12px; z-index: -1; filter: blur(14px);
  background: radial-gradient(closest-side at 15% 50%, rgba(212,1,20,.75), transparent),
              radial-gradient(closest-side at 80% 55%, rgba(2,140,40,.55), transparent); }
.logo-light .logo-img { height: 58px; padding: 12px 18px; border-radius: 20px; box-sizing: content-box;
  background:
    linear-gradient(118deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 34%),
    linear-gradient(118deg, rgba(255,255,255,0) 62%, rgba(255,255,255,.35) 63%, rgba(255,255,255,0) 72%),
    linear-gradient(160deg, rgba(255,255,255,.82) 0%, rgba(246,248,251,.72) 55%, rgba(232,237,243,.66) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 18px rgba(255,255,255,.35), 0 12px 30px rgba(0,0,0,.45); }
@media (max-width: 640px) { .logo-img { height: 40px; } }
.logo-text { font-weight: 900; font-size: 1.32rem; letter-spacing: .02em; display: inline-flex; align-items: center; gap: 6px; }
.logo-tj { background: var(--orange); color: #fff; font-size: .78rem; padding: 3px 7px; border-radius: 7px; letter-spacing: .08em; }
.logo-light .logo-text { color: #fff; }
.logo-light .logo-tj { background: var(--orange); color: #fff; }

.main-nav { display: flex; gap: 22px; }
.main-nav a { color: var(--ink); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.main-nav a:hover { color: var(--orange-ink); text-decoration: none; }
.search { flex: 1; display: flex; min-width: 180px; max-width: 360px; margin-left: auto; }
.search input {
  flex: 1; min-width: 0; padding: 11px 16px; border: 1.5px solid var(--line); border-right: 0;
  border-radius: 999px 0 0 999px; background: var(--bg); color: var(--ink); font: inherit; font-size: .92rem;
}
.search input:focus { outline: none; border-color: var(--orange); background: #fff; }
.search button { border: 1.5px solid var(--line); border-left: 0; background: var(--bg); border-radius: 0 999px 999px 0; padding: 0 16px; font-size: 1.15rem; cursor: pointer; color: var(--ink-2); }
.cart-link { position: relative; color: var(--ink); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); }
.cart-link:hover { border-color: var(--orange); color: var(--orange-ink); }
.cart-count {
  position: absolute; top: -5px; right: -5px; background: var(--orange); color: #fff; border-radius: 999px;
  font-size: .72rem; font-weight: 800; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 5px;
  border: 2px solid #fff;
}
.cat-nav { background: var(--orange-50); border-top: 1px solid var(--orange-100); }
.cat-row { display: flex; gap: 26px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.cat-row a { color: var(--ink-2); font-size: .9rem; font-weight: 600; white-space: nowrap; }
.cat-row a:hover, .cat-row a.active { color: var(--orange-ink); text-decoration: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px;
  padding: 11px 22px; font: inherit; font-weight: 700; font-size: .95rem; border: 2px solid transparent; cursor: pointer;
  background: var(--ink); color: #fff; text-decoration: none !important; transition: transform .08s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }
.btn-primary:hover:not(:disabled) { background: var(--orange-600); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange-ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { border-color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-small { padding: 8px 14px; font-size: .84rem; }
.btn.full { width: 100%; margin-top: 10px; }
.btn-arrow {
  width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--orange-ink);
  display: inline-grid; place-items: center; font-size: .9rem; margin-right: -10px; transition: transform .2s;
}
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-outline .btn-arrow, .btn-light .btn-arrow { background: var(--orange); color: #fff; }
.btn-dark .btn-arrow { background: var(--orange); color: #fff; }
.btn-small .btn-arrow { width: 20px; height: 20px; font-size: .75rem; margin-right: -6px; }
.link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.link-arrow .btn-arrow { background: var(--orange); color: #fff; margin: 0; }
.link-btn { background: none; border: 0; color: var(--bad); cursor: pointer; font: inherit; font-size: .88rem; padding: 4px; }

/* ---------- flash ---------- */
.flashes { padding-top: 16px; }
.flash { padding: 13px 18px; border-radius: 14px; margin-bottom: 14px; font-size: .95rem; border: 1px solid; font-weight: 500; }
.flash-success { background: #eaf7ee; color: #14532d; border-color: #bfe5c9; }
.flash-error { background: #fdecea; color: #8a1f17; border-color: #f5c6c1; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 500px at 85% 20%, rgba(212,1,20,.28), transparent 60%),
    linear-gradient(135deg, #121417 0%, #1d2126 55%, #2a1519 100%);
  padding: 64px 0 120px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: repeating-linear-gradient(115deg, #fff 0 2px, transparent 2px 22px);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.eyebrow-pill {
  display: inline-block; background: rgba(212,1,20,.16); color: #ffb48a; border: 1px solid rgba(212,1,20,.4);
  padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 900; margin: 18px 0 16px; line-height: 1.05; }
.hero .accent { color: var(--orange); }
.hero .lead { color: #cfcac2; font-size: 1.12rem; max-width: 56ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-stats { display: flex; gap: 34px; margin-top: 38px; flex-wrap: wrap; }
.hero-stats div { display: grid; }
.hero-stats strong { font-size: 1.7rem; font-weight: 900; color: #fff; }
.hero-stats span { color: #a9a49b; font-size: .86rem; }
.hero-visual { position: relative; aspect-ratio: 1; max-width: 480px; justify-self: center; width: 100%; }
.hero-tyre { position: absolute; inset: 6%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); animation: spin 40s linear infinite; }
.hero-glow { position: absolute; width: 520px; height: 520px; right: -60px; top: 40px; border-radius: 50%; background: radial-gradient(circle, rgba(212,1,20,.35), transparent 65%); filter: blur(10px); }
.hero-badge {
  position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink);
  padding: 8px 16px 8px 8px; border-radius: 999px; font-weight: 700; font-size: .85rem; box-shadow: var(--shadow);
}
.hero-badge svg { background: var(--orange-50); border-radius: 50%; padding: 3px; width: 40px; height: 40px; }
.hero-badge.b1 { top: 6%; left: -4%; }
.hero-badge.b2 { bottom: 12%; left: -8%; }
.hero-badge.b3 { top: 44%; right: -6%; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-tyre { animation: none; } html { scroll-behavior: auto; } }

/* ---------- tyre finder ---------- */
.finder-wrap { position: relative; z-index: 2; margin-top: -72px; }
.finder {
  background: #fff; border-radius: 22px; padding: 22px 24px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: center; border: 1px solid var(--line);
}
.finder-head { display: flex; gap: 14px; align-items: center; }
.finder-head strong { display: block; font-size: 1.08rem; }
.finder-head span { color: var(--muted); font-size: .85rem; }
.finder-fields { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 12px; align-items: end; }
.finder label, .toolbar label { display: flex; flex-direction: column; gap: 5px; font-size: .78rem; color: var(--ink-2); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.finder-compact { grid-template-columns: 1fr; padding: 16px 18px; margin-bottom: 16px; background: var(--orange-50); border-color: var(--orange-100); box-shadow: none; }
.icon-circle {
  width: 52px; height: 52px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center;
  font-size: 1.3rem; flex: none; box-shadow: var(--shadow-orange);
}
.icon-circle svg.art.mini { width: 40px; height: 40px; }

select, input[type=number], input[type=email], input[type=text], input:not([type]), textarea {
  font: inherit; font-size: .95rem; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 10px 12px; text-transform: none; letter-spacing: 0; font-weight: 500;
}
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px var(--orange-100); }

/* ---------- info cards ---------- */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.info-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; padding: 0 22px 22px; }
.info-card header { display: flex; align-items: center; gap: 14px; background: var(--orange); color: #fff; margin: 0 -22px 14px; padding: 14px 22px; }
.info-card header h3 { margin: 0; font-size: 1.1rem; }
.info-card .icon-circle { width: 40px; height: 40px; background: #fff; color: var(--orange-ink); box-shadow: none; font-size: 1.1rem; }
.info-card p { margin: 0 0 6px; }
.info-card .big { font-weight: 800; font-size: 1.15rem; }
.info-card .phone { font-size: 1.5rem; font-weight: 900; color: var(--orange-ink); margin-bottom: 6px; }
.info-card .btn { align-self: flex-start; margin-top: auto; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.hours li:last-child { border-bottom: 0; }
.hours strong { color: var(--orange-ink); }

/* ---------- sections ---------- */
.section { padding-top: 56px; }
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 56px; padding-bottom: 56px; }
.band .section { padding-top: 48px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.eyebrow { display: block; color: var(--orange-ink); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; margin-bottom: 6px; }
.page-head { margin-bottom: 18px; }
.page-head p { margin: 0; }
.crumbs { font-size: .86rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--ink-2); }

.cat-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.cat-tile {
  background: #fff; border-radius: var(--radius); padding: 18px 16px; display: flex; flex-direction: column; gap: 4px;
  color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .2s, border-color .2s;
}
.cat-tile:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--orange-100); }
.cat-art { width: 72px; height: 72px; border-radius: 18px; background: var(--orange-50); padding: 10px; margin-bottom: 8px; }
.cat-name { font-weight: 800; }
.cat-tag { color: var(--muted); font-size: .8rem; line-height: 1.35; }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-media {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 22px 40px;
  background: radial-gradient(circle at 50% 60%, #fff 0%, var(--orange-50) 70%);
}
.card-media svg.art { max-width: 150px; max-height: 150px; transition: transform .3s; }
.card:hover .card-media svg.art { transform: scale(1.05) rotate(-4deg); }
.ribbon { position: absolute; top: 12px; left: 12px; font-size: .74rem; font-weight: 800; padding: 5px 11px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); }
.ribbon.out { color: var(--bad); }
.ribbon.low { color: var(--warn); }
.season-chip { position: absolute; top: 12px; right: 12px; font-size: .74rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--dark); color: #fff; }
.season-chip.lg { font-size: .9rem; padding: 7px 14px; top: 18px; right: 18px; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.card-cat b { color: var(--orange-ink); }
.card-title { font-size: 1rem; margin: 0; font-weight: 700; line-height: 1.3; }
.card-title a { color: var(--ink); }
.card-rating { font-size: .84rem; display: flex; align-items: center; gap: 6px; min-height: 22px; }
.card-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; gap: 10px; border-top: 1px dashed var(--line); }
.price { font-weight: 900; font-size: 1.18rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price small { font-size: .75rem; color: var(--muted); font-weight: 600; }

/* ---------- stars ---------- */
.stars { position: relative; display: inline-block; font-size: .95rem; line-height: 1; letter-spacing: 1px; }
.stars.lg { font-size: 1.3rem; }
.stars-bg { color: #e2ddd4; }
.stars-fg { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--star); }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.services-text p { color: var(--ink-2); font-size: 1.05rem; }
.service-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-tile {
  background: var(--orange); color: #fff; border-radius: 18px; padding: 18px 14px; display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 10px; font-weight: 700; font-size: .88rem; box-shadow: var(--shadow-orange);
  transition: transform .15s;
}
.service-tile:hover { transform: translateY(-3px); }
.st-icon { width: 50px; height: 50px; border-radius: 14px; background: rgba(255,255,255,.95); display: grid; place-items: center; font-size: 1.5rem; }
.st-icon svg.art.mini { width: 40px; height: 40px; }

/* ---------- reviews ---------- */
.rating-sum { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.review-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.review-card h3 { margin: 4px 0 0; }
.review-card p { margin: 0; color: var(--ink-2); flex: 1; }
.review-product { font-size: .84rem; font-weight: 600; }
.review-card footer { font-size: .85rem; color: var(--muted); padding-top: 10px; border-top: 1px dashed var(--line); }
.review-card footer strong { color: var(--ink); }
.verified { color: var(--good); font-weight: 700; margin-left: 6px; font-size: .8rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, #B30012 0%, var(--orange) 55%, #E3283A 100%); color: #fff; border-radius: 26px; padding: 40px 44px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; box-shadow: var(--shadow-orange);
  position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255,255,255,.12); }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; opacity: .92; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- toolbar ---------- */
.toolbar {
  display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: flex-end; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 22px; box-shadow: var(--shadow-sm);
}
.toolbar label.check { flex-direction: row; align-items: center; gap: 8px; font-size: .9rem; padding-bottom: 10px; text-transform: none; letter-spacing: 0; }
.toolbar label.check input { accent-color: var(--orange); width: 18px; height: 18px; }
.toolbar .clear { padding-bottom: 10px; font-size: .9rem; font-weight: 600; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.pdp-media {
  position: relative; border-radius: 26px; aspect-ratio: 1; display: grid; place-items: center; padding: 15%;
  background: radial-gradient(circle at 50% 55%, #fff 0%, var(--orange-50) 70%); border: 1px solid var(--line);
}
.pdp-info h1 { margin-top: 8px; }
.pdp-rating { display: inline-flex; gap: 8px; align-items: center; color: var(--ink-2); font-size: .95rem; }
.pdp-price { font-size: 2.3rem; font-weight: 900; margin: 18px 0 2px; }
.pdp-price small { font-size: .95rem; color: var(--muted); font-weight: 600; }
.pdp-desc { color: var(--ink-2); font-size: 1.04rem; }
.availability { font-weight: 700; margin: 12px 0; }
.tone-in { color: var(--good); }
.tone-low { color: var(--warn); }
.tone-out { color: var(--bad); }
.buy { display: flex; gap: 14px; align-items: flex-end; margin: 18px 0 8px; flex-wrap: wrap; }
.qty { display: flex; flex-direction: column; gap: 5px; font-size: .78rem; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
.qty input { width: 96px; }
.pdp-perks { list-style: none; padding: 18px 0 0; margin: 22px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pdp-perks li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; font-size: .86rem; font-weight: 600; display: flex; flex-direction: column; gap: 4px; }
.pdp-perks li span { font-size: 1.3rem; }
.spec-section { padding-top: 44px; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 24px; margin: 0; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 700; text-align: right; }

.reviews-layout { display: grid; grid-template-columns: 290px 1fr; gap: 32px; align-items: start; }
.review-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 150px; box-shadow: var(--shadow-sm); }
.big-rating { font-size: 3.2rem; font-weight: 900; line-height: 1; margin-bottom: 6px; }
.dist { display: grid; gap: 7px; margin-top: 14px; }
.dist-row { display: grid; grid-template-columns: 36px 1fr 24px; gap: 8px; align-items: center; font-size: .85rem; }
.bar { height: 8px; background: var(--bg); border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.bar span { display: block; height: 100%; background: var(--star); border-radius: 999px; }
.review { border-bottom: 1px solid var(--line); padding: 4px 0 18px; margin-bottom: 18px; }
.review-top { display: flex; gap: 10px; align-items: center; }
.review p { margin: 8px 0; color: var(--ink-2); }
.review-meta { font-size: .82rem; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.review-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; scroll-margin-top: 150px; box-shadow: var(--shadow-sm); }
.review-form label, .checkout-form label { display: flex; flex-direction: column; gap: 6px; font-size: .86rem; font-weight: 700; color: var(--ink-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rating-input { border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rating-input legend { font-size: .86rem; font-weight: 700; color: var(--ink-2); margin-bottom: 4px; float: left; width: 100%; }
.rating-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-input label { font-size: 2.1rem; color: #e2ddd4; cursor: pointer; line-height: 1; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--star); }
.rating-input input:focus-visible + label { outline: 2px solid var(--orange); border-radius: 4px; }

/* ---------- basket & checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.cart-lines { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 18px 20px; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line:last-child { border-bottom: 0; }
.thumb { width: 96px; height: 96px; border-radius: 16px; display: grid; place-items: center; padding: 14px; background: var(--orange-50); }
.thumb:hover { text-decoration: none; }
.thumb.sm { width: 50px; height: 50px; padding: 6px; border-radius: 12px; }
.cart-name { font-weight: 700; color: var(--ink); }
.cart-actions { margin-top: 8px; }
.inline { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.cart-total { font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 150px; box-shadow: var(--shadow); }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sum-row.total { color: var(--ink); font-weight: 900; font-size: 1.2rem; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; }
.sum-line { display: grid; grid-template-columns: 50px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; font-size: .9rem; }
.checkout-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; box-shadow: var(--shadow-sm); }
.checkout-form h2 { margin: 8px 0 0; display: flex; align-items: center; gap: 12px; font-size: 1.3rem; }
.step { width: 32px; height: 32px; border-radius: 50%; background: var(--orange); color: #fff; display: inline-grid; place-items: center; font-size: .95rem; }
.checkout-form.plain { margin-top: 18px; box-shadow: none; }
.sim-pay { background: var(--orange-50); border: 1.5px dashed var(--orange); border-radius: 14px; padding: 14px 18px; display: grid; gap: 4px; font-size: .92rem; color: var(--ink-2); }
.sim-pay strong { color: var(--ink); }

/* ---------- order ---------- */
.order-box { max-width: 680px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 38px; box-shadow: var(--shadow); }
.order-check { width: 64px; height: 64px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 2rem; font-weight: 900; margin-bottom: 14px; box-shadow: var(--shadow-orange); }
.order-box .lead { color: var(--ink-2); }
.order-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.order-meta div { background: var(--bg); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; }
.status-0 { color: var(--warn); }
.status-1 { color: var(--orange-ink); }
.status-2 { color: var(--good); }
.progress { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.progress li { border-top: 5px solid var(--line); padding-top: 8px; font-size: .85rem; color: var(--muted); }
.progress li.done { border-color: var(--orange); color: var(--ink); font-weight: 700; }
.order-lines { margin-bottom: 12px; }

/* ---------- empty & footer ---------- */
.empty { text-align: center; padding: 64px 20px; background: #fff; border: 1.5px dashed var(--line); border-radius: var(--radius); }
.empty p { color: var(--ink-2); }
.site-footer { background: var(--dark); color: #c9c4bb; padding: 52px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-grid p { color: #a9a49b; font-size: .92rem; max-width: 36ch; margin-top: 14px; }
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.footer-grid div { display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { color: #c9c4bb; font-size: .92rem; }
.footer-grid a:hover { color: var(--orange); }
.footer-phone { font-size: 1.35rem !important; font-weight: 900; color: #fff !important; }
.muted-light { color: #8a857c; font-size: .8rem; }
.footer-bottom { border-top: 1px solid #2a2e33; margin-top: 40px; padding-top: 18px; padding-bottom: 22px; font-size: .8rem; color: #8a857c; text-align: center; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .finder { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .topbar-row { justify-content: center; }
  .demo-note { display: none; }
  .hero { padding: 40px 0 110px; }
  .hero-grid, .services, .pdp, .reviews-layout, .checkout-layout { grid-template-columns: 1fr; }
  .hero-visual { max-width: 320px; }
  .info-cards, .review-cards { grid-template-columns: 1fr; }
  .review-summary, .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .btn-cta { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .topbar-pill { font-size: .72rem; gap: 8px; padding: 6px 12px; }
  .topbar-pill span:not(.sep):last-child, .topbar-pill .sep:nth-of-type(2) { display: none; }
  .header-row { flex-wrap: wrap; gap: 12px; }
  .search { order: 3; max-width: none; flex-basis: 100%; }
  .cart-link { margin-left: auto; }
  .finder-fields { grid-template-columns: 1fr 1fr; }
  .finder-fields .btn { grid-column: 1 / -1; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-media { padding: 14px 22px; }
  .card-body { padding: 12px; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .service-tiles, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid, .order-meta, .specs, .pdp-perks { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 70px 1fr; }
  .thumb { width: 70px; height: 70px; }
  .cart-total { grid-column: 2; }
  .order-box { padding: 24px; }
  .cta-band { padding: 28px 24px; }
  .hero-stats { gap: 20px; }
  .hero-badge { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* pagination for big catalogues */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 32px 0 8px; }
.pager > a:not(.btn), .pager-current, .pager-gap { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-weight: 600; }
.pager > a:not(.btn) { border: 1px solid var(--line, #e1e0d9); color: inherit; text-decoration: none; }
.pager > a:not(.btn):hover { border-color: var(--orange); color: var(--orange); }
.pager-current { background: var(--orange); color: #fff; }
.pager-gap { color: #898781; min-width: 20px; }
.footer-bottom .credit { color: #b5b0a6; letter-spacing: .02em; }

/* ---------- customer accounts ---------- */
.account-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; font-size: .9rem; text-decoration: none;
  padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); }
.account-link:hover { border-color: var(--orange); color: var(--orange); }
@media (max-width: 760px) { .account-link span { display: none; } }
.auth-box { max-width: 520px; margin: 24px auto 40px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); }
.auth-box h1 { margin: 0 0 6px; }
.auth-form { display: grid; gap: 14px; margin-top: 16px; }
.auth-form label, .checkout-form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.auth-form input:not([type=radio]), .code-form input, .acc-card input:not([type=radio]) { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; }
.auth-switch { margin-top: 16px; text-align: center; }
.perk { background: var(--orange-50); border: 1px dashed var(--orange); color: var(--ink); border-radius: 14px; padding: 10px 14px; margin: 12px 0; }
.perk-row { color: var(--orange-ink); font-weight: 600; }
.contact-pick { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.contact-pick legend { font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.chip { display: inline-flex !important; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600; }
.chip:has(input:checked) { border-color: var(--orange); background: var(--orange-50); color: var(--orange-ink); }
.point-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.point { display: flex !important; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.point small { display: block; color: var(--muted, #898781); font-weight: 400; }
.point:has(input:checked) { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
.account-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .account-grid { grid-template-columns: 1fr; } }
.acc-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: grid; gap: 10px; align-content: start; }
.acc-card h2 { margin: 0; font-size: 1.15rem; }
.ok-badge { color: #14532d; font-weight: 700; }
.steps-list { margin: 0; padding-left: 20px; color: var(--ink-2); }
.code-form { display: flex; gap: 8px; }
.code-form input { flex: 1; letter-spacing: .2em; font-weight: 700; }
.order-row { display: grid; grid-template-columns: 1.3fr 1.6fr auto auto; gap: 12px; align-items: center; padding: 14px 16px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; margin-bottom: 8px; color: inherit; text-decoration: none; }
.order-row:hover { border-color: var(--orange); }
@media (max-width: 640px) { .order-row { grid-template-columns: 1fr auto; } }
.status-pill { padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: #eef0f3; }
.status-pill.s-новый { background: #fff4dc; color: #8a5a00; }
.status-pill.s-подтверждён, .status-pill.s-отправлен { background: #e7f0fd; color: #1d4f91; }
.status-pill.s-выдан { background: #e6f6ea; color: #136b2f; }
.status-pill.s-отменён { background: #fdecea; color: #8a1f17; }

/* ---------- truck banner: real truck photo, spinning tyres on both sides, moving road ---------- */
.hero-truck { overflow: hidden; }
.hero-truck .hero-bg { position: absolute; inset: -20px; background-size: cover; background-position: center 60%;
  filter: blur(6px) saturate(.9) brightness(.42); transform: scale(1.06); }
.hero-truck::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(18,20,23,.96) 0%, rgba(18,20,23,.82) 42%, rgba(18,20,23,.35) 100%); }
.hero-truck .hero-grid { grid-template-columns: 1.05fr 1fr; }
.truck-stage { position: relative; width: 100%; max-width: 620px; justify-self: center; padding: 30px 40px 46px; }
.truck-card { position: relative; z-index: 2; margin: 0; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 3;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.08); transform: rotate(-1.5deg);
  animation: truck-bob 3.2s ease-in-out infinite; }
.truck-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.truck-card figcaption { position: absolute; right: 14px; bottom: 14px; background: rgba(18,20,23,.78); color: #fff; font-weight: 700;
  font-size: .85rem; padding: 7px 12px; border-radius: 999px; display: flex; align-items: center; gap: 8px; backdrop-filter: blur(6px); }
.truck-card .dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.25); }
@keyframes truck-bob { 0%, 100% { transform: rotate(-1.5deg) translateY(0); } 50% { transform: rotate(-1.5deg) translateY(-6px); } }
.spin-tyre { position: absolute; z-index: 3; filter: drop-shadow(0 18px 24px rgba(0,0,0,.55)); }
.spin-tyre .art { width: 100%; height: 100%; animation: spin 2.6s linear infinite; }
.spin-tyre.left { width: 138px; height: 138px; left: -14px; bottom: 8px; }
.spin-tyre.right { width: 112px; height: 112px; right: -4px; top: 0; }
.spin-tyre.right .art { animation-duration: 2s; }
.road { position: absolute; left: 6%; right: 6%; bottom: 14px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.10); overflow: hidden; z-index: 1; }
.road span { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 26px, transparent 26px 52px);
  animation: road 0.9s linear infinite; }
@keyframes road { to { transform: translateX(-52px); } }
.hero-truck .hero-badge { z-index: 4; }
.hero-truck .hero-badge.b1 { top: 18%; left: -2%; }
.hero-truck .hero-badge.b3 { top: auto; bottom: 40%; right: -6%; }
@media (max-width: 900px) {
  .hero-truck .hero-grid { grid-template-columns: 1fr; }
  .truck-stage { max-width: 520px; padding: 18px 22px 40px; }
  .spin-tyre.left { width: 104px; height: 104px; }
  .spin-tyre.right { width: 78px; height: 78px; }
}
@media (prefers-reduced-motion: reduce) { .spin-tyre .art, .road span, .truck-card { animation: none; } }

.truck-section { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; }
.truck-photo { margin: 0; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.truck-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.truck-text h2 { margin: 6px 0 12px; }
.truck-text p { color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 14px 0 6px; display: grid; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; font-weight: 600; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--orange);
  color: #fff; font-size: .75rem; display: grid; place-items: center; }
@media (max-width: 900px) { .truck-section { grid-template-columns: 1fr; } }

/* header: keep one line; the account chip already leads to "Мои заказы" */
.account-link, .btn-cta { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 1240px) { .site-header .btn-cta { display: none; } }
