/* ===================================================================
   Kinetiq — Amazon-style theme
   Shared stylesheet for all pages.
   Colour + type system mirrors Amazon.co.uk.
   =================================================================== */

:root {
  /* Amazon core palette */
  --az-header:      #131921;  /* top nav bar */
  --az-subheader:   #232f3e;  /* secondary nav bar */
  --az-page:        #eaeded;  /* page background grey */
  --az-card:        #ffffff;  /* white surfaces */
  --az-ink:         #0f1111;  /* primary text */
  --az-ink-2:       #565959;  /* secondary text */
  --az-link:        #007185;  /* teal links */
  --az-link-hover:  #c7511f;  /* link hover orange-red */
  --az-price:       #b12704;  /* price red */
  --az-orange:      #ff9900;  /* brand orange accent */
  --az-search:      #febd69;  /* search button */
  --az-search-h:    #f3a847;
  --az-star:        #ffa41c;  /* rating stars */
  --az-btn:         #ffd814;  /* yellow primary button */
  --az-btn-h:       #f7ca00;
  --az-btn-border:  #fcd200;
  --az-buy:         #ffa41c;  /* orange 'buy now' button */
  --az-buy-h:       #fa8900;
  --az-border:      #d5d9d9;  /* hairline borders */
  --az-border-2:    #888c8c;

  --font: "Amazon Ember", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--az-page);
  color: var(--az-ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
}

a { color: var(--az-link); text-decoration: none; }
a:hover { color: var(--az-link-hover); text-decoration: underline; }

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

.container { max-width: 1500px; margin: 0 auto; padding: 0 18px; }

/* ── TOP NAV ────────────────────────────────────────────────── */
.az-top {
  background: var(--az-header);
  color: #fff;
  display: flex; align-items: center; gap: 8px;
  padding: 0 14px; height: 60px;
  position: sticky; top: 0; z-index: 200;
}
.az-logo {
  display: flex; align-items: baseline; gap: 4px;
  padding: 8px; border: 1px solid transparent; border-radius: 2px;
  cursor: pointer; white-space: nowrap;
}
.az-logo:hover { border-color: #fff; text-decoration: none; }
.az-logo b {
  font-size: 24px; font-weight: 800; color: #fff; letter-spacing: .3px;
}
.az-logo b span { color: var(--az-orange); }
.az-logo .smile { color: var(--az-orange); font-size: 12px; }
/* real Kinetiq logo (transparent PNG) sits cleanly on the Amazon navy header */
.brand-logo { height: 26px; width: auto; display: block; }

.az-deliver {
  display: flex; align-items: flex-end; gap: 4px; color: #fff;
  padding: 8px 6px; border: 1px solid transparent; border-radius: 2px; cursor: pointer;
}
.az-deliver:hover { border-color: #fff; }
.az-deliver .pin { font-size: 18px; }
.az-deliver small { color: #ccc; font-size: 12px; line-height: 1; }
.az-deliver .place { font-size: 13px; font-weight: 700; color: #fff; }

/* search */
.az-search {
  flex: 0 1 460px; max-width: 460px; margin: 0 auto; display: flex; height: 40px;
  border-radius: 4px; overflow: hidden; min-width: 120px;
}
.az-search:focus-within { box-shadow: 0 0 0 3px var(--az-orange); }
.az-search select {
  background: #f3f3f3; border: none; padding: 0 8px; font-size: 12px; color: #555;
  border-right: 1px solid #cdcdcd; cursor: pointer;
}
.az-search input {
  flex: 1; border: none; padding: 0 12px; font-size: 15px; outline: none;
}
.az-search button {
  background: var(--az-search); border: none; width: 45px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.az-search button:hover { background: var(--az-search-h); }

.az-nav-item {
  background: var(--az-btn); color: var(--az-ink); border: 1px solid var(--az-btn-border);
  border-radius: 999px; padding: 10px 24px; cursor: pointer; white-space: nowrap;
  display: inline-flex; align-items: baseline; gap: 5px; font-weight: 700;
  box-shadow: 0 2px 0 rgba(0,0,0,.18); transition: background .15s, transform .15s, box-shadow .15s;
}
.az-nav-item:hover { background: var(--az-btn-h); color: var(--az-ink); text-decoration: none; transform: translateY(-1px); box-shadow: 0 5px 10px -3px rgba(0,0,0,.35); }
.az-nav-item small { display: inline; font-size: 13.5px; color: var(--az-ink); font-weight: 700; line-height: 1; }
.az-nav-item .big { font-size: 14px; font-weight: 800; color: var(--az-ink); }

.az-cart { display: flex; align-items: flex-end; gap: 2px; }
.az-cart .icon { font-size: 22px; }

/* ── SUB NAV ────────────────────────────────────────────────── */
.az-sub {
  background: var(--az-subheader); color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 34px;
  padding: 10px 14px; font-size: 14px;   /* centred group, even spacing */
  position: sticky; top: 60px; z-index: 190;
}
/* model links as yellow pill buttons */
.az-sub a {
  background: var(--az-btn); color: var(--az-ink); font-weight: 700; letter-spacing: .02em;
  padding: 8px 26px; border: 1px solid var(--az-btn-border); border-radius: 999px;
  box-shadow: 0 2px 0 rgba(0,0,0,.15); transition: background .15s, transform .15s, box-shadow .15s;
}
.az-sub a:hover { background: var(--az-btn-h); transform: translateY(-1px); box-shadow: 0 4px 8px -2px rgba(0,0,0,.3); text-decoration: none; }
.az-sub .az-sub-all { font-weight: 700; display: flex; align-items: center; gap: 6px; }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(234,237,237,1) 90%),
    linear-gradient(115deg, #232f3e 0%, #37475a 55%, #485769 100%);
  color: #fff;
  overflow: hidden;
}
.hero-inner {
  max-width: 1500px; margin: 0 auto; padding: 46px 24px 120px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
}
.hero h1 {
  font-size: clamp(30px, 4vw, 52px); font-weight: 800; line-height: 1.08;
  letter-spacing: -.5px; margin-bottom: 16px;
}
.hero h1 span { color: var(--az-orange); }
.hero p { font-size: 17px; color: #e3e6e6; max-width: 480px; margin-bottom: 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 26px; margin-top: 30px; flex-wrap: wrap; }
.hero-badge .n { font-size: 26px; font-weight: 800; color: var(--az-orange); }
.hero-badge .l { font-size: 12px; color: #cfd4d4; text-transform: uppercase; letter-spacing: .06em; }
.hero-visual { display: flex; justify-content: center; }
.hero-visual .treadmill-art {
  width: 100%; max-width: 420px; aspect-ratio: 1/1;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
}
.hero-visual svg { width: 62%; stroke: var(--az-orange); fill: none; stroke-width: 1.4; }
/* photographic magazine-style hero runner (transparent cut-out) */
.hero-visual { position: relative; align-items: flex-end; }
.hero-visual::before {
  content: ''; position: absolute; z-index: 0;
  width: 540px; height: 540px; border-radius: 50%;
  right: 4%; top: 44%; transform: translateY(-50%);
  background: radial-gradient(circle, rgba(42,169,226,.5) 0%, rgba(42,169,226,.12) 45%, transparent 68%);
  filter: blur(6px);
}
.hero-runner {
  position: relative; z-index: 1; width: auto; max-width: 100%;
  max-height: 520px; object-fit: contain;
  filter: drop-shadow(0 26px 34px rgba(0,0,0,.5));
}
@media (max-width: 900px){ .hero-visual::before { display: none; } }

/* full-width cover banner: photo background + gradient scrim + text overlay */
.hero-banner {
  position: relative; width: 100%; overflow: hidden; background: #0a0a0a;
  min-height: clamp(440px, 52vw, 620px); display: flex; align-items: center;
}
.hero-banner .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 74% 50%;
}
.hero-banner .hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(8,13,22,.92) 0%, rgba(8,13,22,.66) 38%, rgba(8,13,22,.22) 58%, transparent 74%);
}
.hero-banner-inner {
  position: relative; z-index: 2; max-width: 1500px; width: 100%;
  margin: 0 auto; padding: 40px;
}
.hero-copy { max-width: 560px; color: #fff; }
.hero-copy h1 {
  font-family: var(--font); font-size: clamp(30px, 4vw, 52px); font-weight: 800;
  line-height: 1.08; letter-spacing: -.5px; margin-bottom: 16px; color: #fff;
}
.hero-copy h1 span { color: var(--az-orange); }
.hero-copy p { font-size: 17px; color: #e3e6e6; max-width: 470px; margin-bottom: 26px; }
@media (max-width: 700px){
  .hero-banner .hero-scrim { background: linear-gradient(0deg, rgba(8,13,22,.92) 0%, rgba(8,13,22,.55) 55%, rgba(8,13,22,.4) 100%); }
  .hero-banner-inner { padding: 28px 20px; }
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-size: 14px; font-weight: 500;
  padding: 10px 18px; border-radius: 8px; cursor: pointer; border: 1px solid transparent;
  transition: background .15s, box-shadow .15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--az-btn); border-color: var(--az-btn-border); color: var(--az-ink); }
.btn-primary:hover { background: var(--az-btn-h); color: var(--az-ink); }
.btn-buy { background: var(--az-buy); border-color: #ff8f00; color: var(--az-ink); }
.btn-buy:hover { background: var(--az-buy-h); color: var(--az-ink); }
.btn-outline { background: #fff; border-color: var(--az-border-2); color: var(--az-ink); }
.btn-outline:hover { background: #f7fafa; color: var(--az-ink); }
.btn-pill { border-radius: 100px; }

/* ── SECTION SCAFFOLD ───────────────────────────────────────── */
.section { padding: 34px 0; }
.section-pull { margin-top: -90px; position: relative; z-index: 5; } /* pull cards over hero */
.row-title { font-size: 21px; font-weight: 700; margin: 6px 2px 16px; }
.card {
  background: var(--az-card); border-radius: 8px; padding: 20px;
  border: 1px solid var(--az-border);
}

/* ── PRODUCT GRID (home categories) ─────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card { background: #fff; border-radius: 4px; padding: 18px; display: flex; flex-direction: column; }
.cat-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.cat-thumb {
  aspect-ratio: 4/3; border-radius: 4px; margin-bottom: 12px; overflow: hidden;
  background: #f2f4f4; display: flex; align-items: center; justify-content: center;
}
.cat-thumb svg { width: 55%; stroke: var(--az-subheader); fill: none; stroke-width: 1.3; }
.cat-card .learn { margin-top: auto; color: var(--az-link); font-size: 13px; }

/* ── TREADMILL TILES (treadmills.html) ──────────────────────── */
.tread-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1100px){ .tread-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .tread-grid { grid-template-columns: 1fr; } }
.tread-card {
  background: #fff; border: 1px solid var(--az-border); border-radius: 8px;
  padding: 18px; display: flex; flex-direction: column; text-align: center;
  transition: box-shadow .18s, transform .18s; color: var(--az-ink);
}
.tread-card:hover {
  box-shadow: 0 6px 18px rgba(15,17,17,.14); transform: translateY(-3px);
  text-decoration: none; color: var(--az-ink);
}
.tread-media {
  aspect-ratio: 1/1; border-radius: 6px; overflow: hidden; margin-bottom: 16px;
  background: #f5f6f6; display: flex; align-items: center; justify-content: center; position: relative;
}
.tread-media img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.tread-media .ph { position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; color: #9aa0a0; }
.tread-media .ph svg { width: 46%; stroke: #b5bcbc; fill: none; stroke-width: 1.2; }
.tread-media .ph small { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.tread-model { font-size: 20px; font-weight: 800; letter-spacing: .3px; }
.tread-tagline { color: var(--az-ink-2); font-size: 13px; margin: 4px 0 12px; }
.tread-rating { color: var(--az-star); font-size: 13px; margin-bottom: 6px; }
.tread-rating span { color: var(--az-link); }
.tread-cta { margin-top: auto; }
.badge-support {
  display: inline-block; background: #eafaf1; color: #007600; border: 1px solid #a7e3c0;
  font-size: 11px; padding: 2px 8px; border-radius: 100px; margin-bottom: 10px;
}

/* ── SUPPORT PAGE (model pages) ─────────────────────────────── */
.support-head {
  background: #fff; border-bottom: 1px solid var(--az-border);
}
.support-head-inner {
  max-width: 1200px; margin: 0 auto; padding: 26px 18px;
  display: grid; grid-template-columns: 320px 1fr; gap: 22px; align-items: center;
}
@media (max-width: 700px){ .support-head-inner { grid-template-columns: 1fr; } }
.support-photo {
  aspect-ratio: 1/1; background: #f5f6f6; border: 1px solid var(--az-border); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative;
}
.support-photo img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.support-photo .ph { position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px; color: #9aa0a0; }
.support-photo .ph svg { width: 48%; stroke: #b5bcbc; fill: none; stroke-width: 1.2; }
.support-title .kicker { color: var(--az-ink-2); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.support-title h1 { font-size: 30px; font-weight: 800; margin: 4px 0 8px; }
.support-title p { color: var(--az-ink-2); max-width: 620px; }
.support-title .rating { color: var(--az-star); margin-top: 10px; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.rating .rnum { color: var(--az-ink); font-weight: 800; font-size: 16px; }
.rating .rcount { color: var(--az-link); font-weight: 600; }
/* hero support-service line */
.hero-support { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: -6px 0 22px; color: #eef1f1; font-size: 14px; }
.hero-support span { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); padding: 6px 12px; border-radius: 999px; }
/* FAQ answer video links */
.answer a { color: var(--az-link); font-weight: 600; }
.faq-video { margin: 12px 0 0; }
.faq-video a { display: inline-flex; align-items: center; gap: 4px; }

/* key specifications sheet */
.spec-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  max-width: 560px; margin: 18px 0 4px;
  border: 1px solid var(--az-border); border-radius: 8px; overflow: hidden;
  background: var(--az-border);
}
.spec-grid div { background: #fff; padding: 10px 14px; }
.spec-grid div:nth-child(4n+1), .spec-grid div:nth-child(4n) { background: #f7f8f8; }
.spec-grid small { display: block; color: var(--az-ink-2); font-size: 11px;
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
.spec-grid b { font-size: 15px; color: var(--az-ink); }
@media (max-width: 520px) { .spec-grid { grid-template-columns: 1fr; } }

/* spec line on treadmill cards */
.tread-spec { color: var(--az-ink-2); font-size: 12px; margin: -4px 0 12px;
  display: flex; flex-wrap: wrap; gap: 6px; }
.tread-spec span { background: #f2f3f3; border: 1px solid var(--az-border);
  border-radius: 4px; padding: 2px 7px; white-space: nowrap; }

/* installation guide + common-issue video links (support pages) */
.install-btn { display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin: 4px 0 12px; font-weight: 700; }
.issue-list { margin-top: 14px; }
.issue-list h3 { font-size: 15px; margin: 0 0 8px; }
.issue-row { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 12px; border: 1px solid var(--az-border); border-radius: 8px; margin-bottom: 8px;
  text-decoration: none; color: var(--az-ink); background: #fff;
  transition: background .15s, border-color .15s; }
.issue-row:hover { background: #f7f8f8; border-color: var(--az-border-2); }
.issue-row .t { font-size: 14px; font-weight: 600; line-height: 1.3; }
.issue-row .go { font-size: 12px; font-weight: 700; color: var(--az-link); white-space: nowrap; }

.support-grid {
  max-width: 1200px; margin: 26px auto; padding: 0 18px;
  display: grid; grid-template-columns: 320px 1fr; gap: 22px; align-items: start;
}
@media (max-width: 900px){ .support-grid { grid-template-columns: 1fr; } }

/* QR + quick help card */
.qr-card { background: #fff; border: 1px solid var(--az-border); border-radius: 8px; padding: 22px; text-align: center; }
.qr-card h2 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.qr-card p.muted { color: var(--az-ink-2); font-size: 13px; margin-bottom: 16px; }
.qr-frame {
  width: 200px; height: 200px; margin: 0 auto 14px; border: 1px solid var(--az-border);
  border-radius: 8px; background: #fff; display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.qr-frame img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.qr-frame .ph { position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px; color: #9aa0a0; padding: 12px; text-align: center; }
.qr-frame .ph svg { width: 40%; stroke: #b5bcbc; fill: none; stroke-width: 3; }
.qr-frame .ph small { font-size: 11px; }
.qr-help { text-align: left; margin-top: 16px; border-top: 1px solid var(--az-border); padding-top: 16px; }
.qr-help h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--az-ink-2); margin-bottom: 10px; }
.qr-help a.linkrow {
  display: flex; align-items: center; gap: 10px; padding: 9px 0; color: var(--az-link);
  border-bottom: 1px solid #f0f2f2; font-size: 14px;
}
.qr-help a.linkrow:last-child { border-bottom: none; }
.qr-help a.linkrow .ic { width: 20px; text-align: center; }

/* Guidelines / FAQ accordion */
.guide-card { background: #fff; border: 1px solid var(--az-border); border-radius: 8px; padding: 22px 24px; }
.guide-card > h2 { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.guide-card > p.sub { color: var(--az-ink-2); margin-bottom: 18px; }
.faq { border-top: 1px solid var(--az-border); }
.faq details { border-bottom: 1px solid var(--az-border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 14px 2px; font-weight: 600; font-size: 15px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { color: var(--az-orange); transition: transform .2s; font-size: 16px; }
.faq details[open] summary .chev { transform: rotate(90deg); }
.faq .answer { padding: 0 2px 16px; color: var(--az-ink-2); font-size: 14px; }
.faq .answer ol, .faq .answer ul { margin: 8px 0 8px 20px; }
.faq .answer li { margin-bottom: 5px; }
.faq .answer strong { color: var(--az-ink); }

/* ── AI CHAT WIDGET ─────────────────────────────────────────── */
.chat-launch {
  position: fixed; right: 24px; bottom: 24px; z-index: 300;
  display: flex; align-items: center; gap: 11px;
  background: var(--az-header); color: #fff; border: none; cursor: pointer;
  padding: 14px 22px 14px 16px; border-radius: 100px; font-family: var(--font);
  font-size: 15.5px; font-weight: 700; box-shadow: 0 10px 28px rgba(15,17,17,.4);
  animation: chatPulse 2.4s ease-in-out infinite;
}
.chat-launch:hover { background: #232f3e; transform: translateY(-1px); }
@keyframes chatPulse {
  0%,100% { box-shadow: 0 10px 28px rgba(15,17,17,.4), 0 0 0 0 rgba(255,153,0,.55); }
  50%     { box-shadow: 0 10px 28px rgba(15,17,17,.4), 0 0 0 14px rgba(255,153,0,0); }
}
.chat-launch .chat-launch-ic {
  width: 30px; height: 30px; border-radius: 50%; background: var(--az-orange);
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.chat-launch .dot { width: 9px; height: 9px; border-radius: 50%; background: #24c26a; box-shadow: 0 0 0 3px rgba(36,194,106,.25); }

/* auto-appearing teaser bubble */
.chat-teaser {
  position: fixed; right: 26px; bottom: 92px; z-index: 299; max-width: 258px;
  background: #fff; color: var(--az-ink); border: 1px solid var(--az-border);
  border-radius: 16px 16px 4px 16px; padding: 13px 30px 13px 15px;
  box-shadow: 0 14px 34px rgba(15,17,17,.3); font-size: 13.5px; line-height: 1.5;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.chat-teaser.show { opacity: 1; transform: translateY(0); pointer-events: auto; cursor: pointer; }
.chat-teaser b { color: var(--az-orange); }
.chat-teaser .tclose { position: absolute; top: 6px; right: 10px; color: #999; font-size: 17px; line-height: 1; }
.chat-teaser .tclose:hover { color: var(--az-ink); }
@media (max-width: 500px){ .chat-launch .chat-launch-tx { display: none; } .chat-teaser { display: none; } }

.chat-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 320;
  width: 380px; max-width: calc(100vw - 20px); height: 560px; max-height: calc(100vh - 40px);
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(15,17,17,.35); display: none; flex-direction: column;
}
.chat-panel.open { display: flex; }
.chat-header {
  background: var(--az-header); color: #fff; padding: 14px 16px;
  display: flex; align-items: center; gap: 10px;
}
.chat-header .avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--az-orange);
  display: flex; align-items: center; justify-content: center; font-size: 18px; color: #131921;
}
.chat-header .who b { display: block; font-size: 14px; }
.chat-header .who small { color: #cfd4d4; font-size: 12px; }
.chat-header .close { margin-left: auto; background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; background: #f7f8f8; display: flex; flex-direction: column; gap: 12px; }
.msg { display: flex; gap: 8px; max-width: 88%; }
.msg .b { padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.msg.bot { align-self: flex-start; }
.msg.bot .b { background: #fff; border: 1px solid var(--az-border); border-bottom-left-radius: 4px; color: var(--az-ink); }
.msg.user { align-self: flex-end; }
.msg.user .b { background: var(--az-header); color: #fff; border-bottom-right-radius: 4px; }
.msg .b ol, .msg .b ul { margin: 6px 0 6px 18px; }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 16px 12px; background: #f7f8f8; }
.chat-suggest button {
  background: #fff; border: 1px solid var(--az-border-2); border-radius: 100px;
  padding: 6px 12px; font-size: 12px; cursor: pointer; color: var(--az-ink); font-family: var(--font);
}
.chat-suggest button:hover { background: #f0f2f2; }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--az-border); background: #fff; }
.chat-input input {
  flex: 1; border: 1px solid var(--az-border-2); border-radius: 100px; padding: 10px 14px;
  font-size: 14px; outline: none; font-family: var(--font);
}
.chat-input input:focus { border-color: var(--az-orange); box-shadow: 0 0 0 2px rgba(255,153,0,.2); }
.chat-input button {
  background: var(--az-btn); border: 1px solid var(--az-btn-border); border-radius: 100px;
  width: 42px; cursor: pointer; font-size: 16px;
}
.chat-input button:hover { background: var(--az-btn-h); }
.typing { display: flex; gap: 4px; padding: 4px 2px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: #b5bcbc; animation: blink 1.2s infinite; }
.typing span:nth-child(2){ animation-delay: .2s; } .typing span:nth-child(3){ animation-delay: .4s; }
@keyframes blink { 0%,60%,100%{ opacity:.25; } 30%{ opacity:1; } }

/* ── FOOTER ─────────────────────────────────────────────────── */
.az-backtop {
  background: #37475a; color: #fff; text-align: center; padding: 15px; cursor: pointer; font-size: 13px;
}
.az-backtop:hover { background: #485769; }
.az-footer { background: var(--az-subheader); color: #dcdfdf; padding: 40px 18px; }
.az-foot-cols { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
@media (max-width: 700px){ .az-foot-cols { grid-template-columns: repeat(2,1fr); } }
.az-foot-cols h4 { font-size: 15px; color: #fff; margin-bottom: 12px; }
.az-foot-cols a { display: block; color: #ddd; font-size: 13px; padding: 4px 0; }
.az-foot-cols a:hover { text-decoration: underline; color: #fff; }
.az-foot-bottom { background: var(--az-header); color: #999; text-align: center; padding: 22px; font-size: 12px; }
.az-foot-bottom b { color: #fff; font-weight: 800; }
.az-foot-bottom b span { color: var(--az-orange); }

/* utility */
.muted { color: var(--az-ink-2); }
.center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }

/* ── PRODUCT RATING / REVIEW ─────────────────────────────────── */
.review-card { background: var(--az-card); border: 1px solid var(--az-border);
  border-radius: 8px; padding: 24px; }
.review-card h2 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.review-card .sub { color: var(--az-ink-2); margin-bottom: 16px; }
.review-form { display: grid; gap: 12px; max-width: 640px; }
.review-form label.fl { font-size: 13px; font-weight: 600; color: var(--az-ink-2); }
.rate-stars { display: inline-flex; gap: 6px; font-size: 36px; line-height: 1;
  cursor: pointer; color: #d5d9d9; user-select: none; }
.rate-stars .star { transition: color .1s, transform .1s; }
.rate-stars .star:hover { transform: scale(1.1); }
.rate-stars .star.on { color: var(--az-star); }
.review-form input[type="text"], .review-form textarea {
  border: 1px solid var(--az-border-2); border-radius: 6px; padding: 10px 12px;
  font: inherit; font-size: 15px; width: 100%; background: #fff; }
.review-form input:focus, .review-form textarea:focus {
  outline: none; border-color: var(--az-orange); box-shadow: 0 0 0 2px rgba(255,153,0,.25); }
.review-form textarea { min-height: 96px; resize: vertical; }
.review-form .btn { justify-self: start; }
.review-thanks { display: none; background: #e7f6ec; border: 1px solid #b7dfc4;
  color: #1a6b34; padding: 12px 14px; border-radius: 8px; font-weight: 600; margin-bottom: 14px; }
.review-list { margin-top: 24px; display: grid; gap: 14px; }
.review-list h3 { font-size: 15px; margin-bottom: 2px; }
.review-item { border-top: 1px solid var(--az-border); padding-top: 14px; }
.review-item .rs { color: var(--az-star); font-size: 16px; letter-spacing: 2px; }
.review-item .nm { font-weight: 700; font-size: 14px; margin-top: 2px; }
.review-item p { color: var(--az-ink-2); margin-top: 4px; }

/* ===================================================================
   MOBILE OPTIMISATION
   =================================================================== */
* { -webkit-text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: hidden; }
img { max-width: 100%; }

@media (max-width: 768px) {
  /* mobile header: strip the clustered top-row text (deliver, search, Help
     Centre item) — keep just the logo, and rely on the nav lines below */
  .az-deliver, .az-search, .az-nav-item { display: none; }
  .az-top { gap: 6px; padding: 0 14px; height: 58px; }
  .brand-logo { height: 32px; }

  /* sub-nav: on mobile keep ONLY the treadmill model names */
  .az-sub {
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; top: 58px; justify-content: center; gap: 8px; padding: 9px 12px;
  }
  .az-sub::-webkit-scrollbar { display: none; }
  .az-sub a { flex: 0 0 auto; white-space: nowrap; padding: 8px 16px; }
  .az-sub .az-sub-all,
  .az-sub a[href="treadmills.html"],
  .az-sub a[href="#contact"],
  .az-sub a[href="index.html#contact"] { display: none; }

  /* card grids stack — !important overrides the inline repeat(3,1fr)
     used on the reviews and contact rows */
  .cat-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }

  .section { padding: 24px 0; }
  .row-title { font-size: 20px; }
  .card { padding: 16px; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr !important; }
  .az-search select { display: none; }         /* give the input all the width */
  .container { padding: 0 12px; }
  .support-grid { padding: 0 12px; }
  .hero-copy h1 { font-size: 28px; }
  .hero-copy p { font-size: 15px; }
  .hero-cta .btn { width: 100%; }
}
