/* VOSIDO e-mobility site - base stylesheet
   Uses CSS logical properties so RTL languages (Arabic) mirror automatically. */

:root {
  --ink: #1b2733;
  --ink-soft: #5a6b7c;
  --brand: #10314b;
  --brand-soft: #1c4a6e;
  --accent: #c8875a;
  --accent-dark: #a86c44;
  --line: #e3e7ec;
  --surface: #f7f8fa;
  --white: #ffffff;
  --radius: 10px;        /* small elements */
  --radius-card: 14px;   /* cards, panels, media */
  --radius-sm: 8px;      /* chips, thumbs inside cards */
  --gap: 26px;           /* default grid gap */
  --maxw: 1200px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

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

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--accent-dark); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: 24px; }

h1, h2, h3 { line-height: 1.25; margin: 0 0 16px; font-weight: 600; }
h1 { font-size: 40px; }
h2 { font-size: 30px; }
h3 { font-size: 20px; }
p { margin: 0 0 16px; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-line { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-line:hover { background: var(--brand); color: #fff; }

/* ---------- language banner ---------- */
.lang-banner {
  display: none;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
}
.lang-banner.is-open { display: block; }
.lang-banner .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 11px;
  flex-wrap: wrap;
}
.lang-banner .msg { flex: 1 1 260px; }
.lang-banner button {
  font: inherit;
  cursor: pointer;
  border-radius: 5px;
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,.5);
  background: transparent;
  color: #fff;
}
.lang-banner button.accept { background: var(--accent); border-color: var(--accent); font-weight: 600; }
.lang-banner button:hover { opacity: .88; }

/* ---------- header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 74px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 21px; color: var(--brand); }
.logo span.mark {
  width: 34px; height: 34px; border-radius: 7px;
  background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 15px; letter-spacing: -.5px;
}
.logo small { display: block; font-size: 11px; font-weight: 400; color: var(--ink-soft); letter-spacing: .3px; }

.nav { display: flex; gap: 26px; margin-inline-start: auto; }
.nav a { color: var(--ink); font-size: 15px; font-weight: 500; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { color: var(--brand); border-bottom-color: var(--accent); }

.lang-switch { position: relative; }
.lang-switch > button {
  font: inherit; font-size: 14px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 6px; padding: 8px 14px; color: var(--ink);
  display: flex; align-items: center; gap: 8px;
}
.lang-switch ul {
  display: none;
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(16,49,75,.12);
  list-style: none; margin: 0; padding: 6px; min-width: 168px; z-index: 70;
}
.lang-switch ul.open { display: block; }
.lang-switch li a { display: block; padding: 8px 12px; font-size: 14px; color: var(--ink); border-radius: 5px; }
.lang-switch li a:hover { background: var(--surface); }
.lang-switch li a.current { color: var(--accent-dark); font-weight: 600; }

.nav-toggle {
  display: none; font: inherit; cursor: pointer;
  background: none; border: 1px solid var(--line); border-radius: 6px;
  padding: 8px 12px; margin-inline-start: auto; color: var(--ink);
}

/* ---------- stats ---------- */
.stats { background: var(--surface); padding-block: 46px; border-bottom: 1px solid var(--line); }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.stat .v { font-size: 34px; font-weight: 700; color: var(--brand); line-height: 1.1; }
.stat .l { font-size: 14px; color: var(--ink-soft); }

/* ---------- sections ---------- */
section { padding-block: 68px; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p { color: var(--ink-soft); font-size: 17px; margin: 0; }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: 26px;
}
.card h3 { color: var(--brand); margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.card .num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 14px; font-weight: 700;
  margin-bottom: 16px;
}

/* ---------- categories / products ---------- */
.prod-card {
  border: 1px solid var(--line); border-radius: var(--radius-card);
  overflow: hidden; background: #fff;
  display: flex; flex-direction: column;
  transition: border-color .18s, box-shadow .18s;
}
.prod-card:hover { border-color: var(--accent); box-shadow: 0 6px 22px rgba(16,49,75,.09); }
.prod-card a { color: inherit; text-decoration: none; }
.prod-card /* Product photos are normalised to a 1:1 canvas upstream, so a 1:1 frame
   with `contain` always shows the whole product - never cropped. */
.prod-card .thumb {
  aspect-ratio: 1 / 1;
  background: var(--surface);
  display: grid; place-items: center;
  color: var(--ink-soft); font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.prod-card .thumb img { width: 100%; height: 100%; object-fit: contain; }
.prod-card .body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.prod-card h3 { font-size: 18px; margin: 0; }
.prod-card p {
  font-size: 14px; color: var(--ink-soft); margin: 0;
  /* model blurbs run 1-4 lines; clamping keeps every card in a row
     the same height so the grid reads as a tidy catalogue */
  display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; overflow: hidden;
}
.prod-meta { display: flex; gap: 16px; font-size: 13px; color: var(--ink-soft); margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.prod-meta b { color: var(--brand); font-weight: 600; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-bar button {
  font: inherit; font-size: 14px; cursor: pointer;
  padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
}
.filter-bar button.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- spec table ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: start; }
.spec-table th { width: 38%; color: var(--ink-soft); font-weight: 500; background: var(--surface); }
.spec-table td { color: var(--ink); }

/* collapsible spec box - toggle only appears on small screens */
.spec-toggle { display: none; }

/* ---------- detail layout ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.gallery-main {
  aspect-ratio: 1 / 1; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-card);
  display: grid; place-items: center; color: var(--ink-soft);
  overflow: hidden;
}
/* the whole main image is the lightbox trigger */
.gallery-main .gm-link { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.thumbs.thumbs-2 { grid-template-columns: repeat(2, 1fr); }
.thumbs.thumbs-3 { grid-template-columns: repeat(3, 1fr); }
.thumbs button {
  aspect-ratio: 1 / 1; padding: 0; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; cursor: pointer; opacity: .82;
  transition: opacity .15s, border-color .15s;
}
.thumbs button:hover { opacity: 1; }
.thumbs button.on { opacity: 1; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.detail-cta { margin-top: 18px; }

.breadcrumb { font-size: 13px; color: var(--ink-soft); padding-block: 18px; border-bottom: 1px solid var(--line); }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb span { margin-inline: 8px; }

/* ---------- faq ---------- */
.faq details { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 12px; background: #fff; }
.faq summary {
  cursor: pointer; padding: 17px 20px; font-weight: 600; font-size: 16px;
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 21px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 20px 18px; color: var(--ink-soft); font-size: 15px; }

/* ---------- cta band ---------- */
.cta-band { background: var(--brand); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 620px; margin-inline: auto; }
.cta-band .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 7px; }
.form-row label i { color: var(--accent); font-style: normal; font-size: 12px; margin-inline-start: 4px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; font: inherit; font-size: 15px;
  padding: 11px 14px; border: 1px solid var(--line);
  border-radius: 6px; background: #fff; color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(16,49,75,.08);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-error { color: #b3261e; font-size: 13px; margin-top: 6px; display: none; }
.form-note { font-size: 13px; color: var(--ink-soft); margin-top: 14px; }
.form-success {
  display: none; background: #e7f4ec; border: 1px solid #9dd0b3;
  color: #1c5c37; border-radius: 8px; padding: 15px 18px; font-size: 15px;
}

.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { padding-block: 15px; border-bottom: 1px solid var(--line); font-size: 15px; }
.info-list li:last-child { border-bottom: 0; }
.info-list .k { display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 4px; }

/* ---------- footer ---------- */
.site-footer { background: #0c2437; color: rgba(255,255,255,.75); padding-block: 54px 26px; font-size: 14px; }
.site-footer h4 { color: #fff; font-size: 15px; margin: 0 0 16px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 40px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,.55);
}

/* ---------- floating whatsapp shortcut ---------- */
.wa-float {
  position: fixed;
  inset-inline-end: 22px;
  bottom: 22px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.wa-btn:hover { background: #1da851; color: #fff; }

/* Picker shown when more than one sales line is configured. */
.wa-panel {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 8px;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.wa-float.open .wa-panel { display: flex; }
.wa-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.wa-item:hover { background: var(--surface); color: var(--brand); }
.wa-item svg { color: #25d366; flex: none; }

.wa-line { display: block; }
.wa-line + .wa-line { margin-top: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  h1 { font-size: 32px; }
  h2 { font-size: 25px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats .grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .detail-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .nav {
    display: none;
    position: absolute; top: 100%; inset-inline: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 10px 24px 18px;
    margin-inline-start: 0;
  }
  .nav.open { display: flex; }
  .nav a { padding-block: 12px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav-toggle { display: block; }
  .header-inner { position: relative; min-height: 64px; gap: 14px; }
  .lang-switch { margin-inline-start: 0; }
  section { padding-block: 48px; }
  .grid-4, .grid-3, .stats .grid, .form-two { grid-template-columns: 1fr; }
  .wa-float { bottom: 16px; inset-inline-end: 16px; }
  .wa-btn { padding: 11px 16px; font-size: 14px; }
  .wa-panel { min-width: 0; }
}

/* ---- 公司介绍页（数据源 src/about-intro.html，ci- 前缀隔离避免冲突）---- */
.ci-section { margin-bottom: 44px; }
.ci-section-title {
  font-size: 26px; font-weight: 700; color: #1a1a1a;
  margin-bottom: 18px; padding-inline-start: 16px;
  border-inline-start: 5px solid #c9a96e; line-height: 1.4;
}
.ci-section-text { font-size: 15px; color: #555; margin-bottom: 16px; text-align: justify; line-height: 1.9; }
.ci-highlights { display: flex; gap: 20px; margin: 24px 0; flex-wrap: wrap; }
.ci-highlight-card { flex: 1 1 140px; background: #faf8f5; border-radius: 10px; padding: 24px 20px; text-align: center; border: 1px solid var(--line); }
.ci-highlight-card .ci-num { font-size: 32px; font-weight: 700; color: #c9a96e; }
.ci-highlight-card .ci-label { font-size: 13px; color: #888; margin-top: 6px; }
.ci-product-grid { display: flex; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.ci-product-card { flex: 1 1 240px; background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.ci-product-card .ci-pc-body { padding: 20px; }
.ci-product-card h4 { font-size: 17px; color: #1a1a1a; margin-bottom: 10px; }
.ci-product-card p { font-size: 13px; color: #777; line-height: 1.7; }
.ci-product-card ul { list-style: none; margin-top: 10px; }
.ci-product-card li { font-size: 13px; color: #888; padding: 3px 0 3px 16px; position: relative; }
.ci-product-card li::before { content: "▸"; position: absolute; left: 0; color: #c9a96e; }
.ci-full-img { width: 100%; border-radius: 10px; margin: 16px 0; display: block; }
.ci-cert-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.ci-cert-badge { background: linear-gradient(135deg, #c9a96e, #b8860b); color: #fff; padding: 12px 28px; border-radius: 30px; font-size: 15px; font-weight: 600; letter-spacing: 1px; box-shadow: 0 2px 8px rgba(201,169,110,0.3); }
.ci-feature-list { list-style: none; margin-top: 12px; }
.ci-feature-list li { padding: 10px 0 10px 28px; position: relative; font-size: 15px; color: #555; border-bottom: 1px dashed #eee; }
.ci-feature-list li::before { content: "✓"; position: absolute; left: 0; top: 10px; color: #c9a96e; font-weight: 700; font-size: 16px; }
.ci-quote-box { background: linear-gradient(135deg, #faf8f5, #f3ede4); border-radius: 10px; padding: 30px; margin: 24px 0; text-align: center; border-inline-start: 4px solid #c9a96e; }
.ci-quote-box p { font-size: 18px; color: #8a6d3b; font-style: italic; }
.ci-process-row { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.ci-process-step { flex: 1 1 120px; text-align: center; position: relative; }
.ci-process-step .ci-circle { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 12px; background: linear-gradient(135deg, #c9a96e, #b8860b); color: #fff; font-size: 20px; font-weight: 700; line-height: 56px; }
.ci-process-step h5 { font-size: 14px; color: #333; margin-bottom: 6px; }
.ci-process-step p { font-size: 12px; color: #999; }
.ci-process-step:not(:last-child)::after { content: "→"; position: absolute; inset-inline-end: -10px; top: 18px; color: #ccc; font-size: 20px; }
@media (max-width: 700px) {
  .ci-highlights, .ci-product-grid, .ci-process-row { flex-direction: column; }
}

/* ===== Media & Promotion page ===== */
.media-h2 { font-size: 22px; margin: 36px 0 18px; color: #1a1a1a; position: relative; padding-inline-start: 14px; }
.media-h2::before { content: ""; position: absolute; inset-inline-start: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, #c9a96e, #b8860b); }
.media-video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.media-video { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.04); }
.media-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #11151c; }
.media-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-frame--poster img { width: 100%; height: 100%; object-fit: contain; display: block; }
.media-frame--poster .media-play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: rgba(201,169,110,0.92); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
.media-frame--empty { background: repeating-linear-gradient(45deg, #1a1f28, #1a1f28 12px, #222a35 12px, #222a35 24px); }
.media-video figcaption { padding: 14px 16px; }
.media-video figcaption strong { display: block; font-size: 15px; color: #1a1a1a; }
.media-video figcaption span { display: block; font-size: 13px; color: #888; margin-top: 4px; line-height: 1.6; }
.media-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.media-thumb { position: relative; display: block; border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; }
.media-thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; display: block; transition: transform .3s ease; background: var(--surface); }
.media-thumb:hover img { transform: scale(1.05); }
.media-thumb span { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px; font-size: 13px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,0.65)); }
/* lightbox */
.media-lightbox { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,0.86); cursor: zoom-out; }
.media-lightbox.open { display: flex; }
.media-lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.media-lightbox .lb-close { position: absolute; top: 18px; inset-inline-end: 22px; color: #fff; font-size: 30px; line-height: 1; background: none; border: 0; cursor: pointer; }

/* ---------- product card series chip ---------- */
.prod-series {
  display: inline-block; align-self: flex-start;
  font-size: 12px; font-weight: 600; letter-spacing: .3px;
  color: var(--brand); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 3px 12px; margin-bottom: 2px;
}

/* ---------- series page ---------- */
.series-head { max-width: 880px; }
.series-intro { font-size: 17px; color: var(--ink-soft); line-height: 1.7; margin: 18px 0 22px; }
.series-bullets { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
.series-bullets li { position: relative; padding-left: 26px; font-size: 15px; color: var(--ink); line-height: 1.5; }
.series-bullets li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 3px; background: var(--accent); }

/* ---------- product detail tags ---------- */
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.tag {
  display: inline-block; font-size: 13px; font-weight: 600;
  border-radius: 999px; padding: 4px 13px; line-height: 1.4;
}
.tag-series { background: var(--brand); color: #fff; text-decoration: none; }
.tag-series:hover { background: var(--brand-soft); color: #fff; }
.tag-use { background: var(--surface); color: var(--ink-soft); border: 1px solid var(--line); }
.tag-opt { background: #fff7e6; color: #9a6b00; border: 1px dashed #e3b04b; }

/* feature / option chips block on product page */
.chip-h { font-size: 15px; font-weight: 600; color: var(--brand); margin: 0 0 10px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row .tag { cursor: default; }

/* battery option table reuses .spec-table; centre its two columns */
.batt-table { text-align: center; }
.batt-table th, .batt-table td { text-align: center; }
.batt-table th { width: auto; }

@media (max-width: 900px) {
  .series-bullets { grid-template-columns: 1fr; }
}

/* =====================================================================
   Information architecture (szkixin-style): header mega menu, banner
   carousel, product-type cards, reviews, news, download centre, partner
   tiers and the grouped footer.
   ===================================================================== */

/* ---------- header: mega menu ---------- */
.header-inner { position: relative; }
.nav-item { position: static; }
.nav-item > .nav-top { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.nav-caret {
  width: 7px; height: 7px; flex: none;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px); opacity: .5;
  transition: transform .2s;
}
.nav-item:hover > .nav-top,
.nav-item.open > .nav-top { color: var(--brand); border-bottom-color: var(--accent); }
.nav-item.active > .nav-top { color: var(--brand); border-bottom-color: var(--accent); }
.nav-item:hover .nav-caret, .nav-item.open .nav-caret { transform: rotate(225deg) translate(-1px, -1px); }

.mega {
  position: absolute; top: 100%; inset-inline: 0;
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 24px 50px rgba(16,49,75,.16);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 70;
}
.nav-item:hover > .mega,
.nav-item:focus-within > .mega,
.nav-item.open > .mega { opacity: 1; visibility: visible; transform: translateY(0); }

.mega-wide { padding-block: 26px; }
.mega-inner { display: flex; gap: 34px; align-items: flex-start; }
.mega-intro { flex: 0 0 200px; }
.mega-kicker {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-dark); margin-bottom: 8px;
}
.mega-intro h4 { font-size: 20px; color: var(--brand); margin: 0 0 10px; }
.mega-intro p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.65; margin: 0 0 16px; }
.mega-cols { flex: 1; display: flex; gap: 22px; align-items: flex-start; }
.mega-col { flex: 1 1 0; min-width: 0; max-width: 330px; }
.mega-col-h {
  display: flex; align-items: baseline; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--brand);
  padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--line);
}
.mega-col-h span {
  margin-inline-start: auto; font-size: 12px; font-weight: 600;
  color: var(--ink-soft); background: var(--surface);
  border-radius: 999px; padding: 1px 9px;
}
.mega-cards { display: grid; gap: 8px; }
.mega-card { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 8px; }
.mega-card:hover { background: var(--surface); }
.mega-card .mc-thumb { flex: 0 0 54px; width: 54px; height: 54px; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.mega-card .mc-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mega-card .mc-text { min-width: 0; display: block; }
.mega-card .mc-text b { display: block; font-size: 13px; color: var(--ink); }
.mega-card .mc-text i { display: block; font-size: 11.5px; font-style: normal; color: var(--ink-soft); }
.mega-col-all { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--accent-dark); }

/* slim dropdown for the utility groups */
.nav-item.has-links { position: relative; }
.mega-slim {
  inset-inline: auto 0; width: max-content; min-width: 232px;
  padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-card);
  box-shadow: 0 18px 40px rgba(16,49,75,.14);
}
.mega-links { list-style: none; margin: 0; padding: 0; }
.mega-links a { display: block; padding: 9px 12px; border-radius: 7px; font-size: 14px; border-bottom: 0; }
.mega-links a:hover { background: var(--surface); color: var(--brand); }

/* ---------- home: banner carousel ---------- */
.banner { padding: 0; position: relative; background: #0b2233; }
.slides { display: grid; }
.slide {
  grid-area: 1 / 1; position: relative;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity .6s ease, visibility .6s;
}
.slide.on { opacity: 1; visibility: visible; z-index: 2; }
/* The catalogue photo is square; using it as a full-bleed cover crops the
   product in half. It now works as an ambient colour wash only - the
   product itself is shown whole inside .slide-media with object-fit: contain. */
.slide-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform: scale(1.08);
  opacity: .34; filter: blur(7px) saturate(.9);
}
.slide-media {
  flex: 0 0 320px; margin: 0; align-self: center;
}
.slide-media img {
  display: block; width: 100%; aspect-ratio: 1 / 1;
  object-fit: contain;   /* never crop the product */
  border-radius: var(--radius-card);
  box-shadow: 0 24px 48px rgba(0,0,0,.42);
}
.slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9,24,38,.94) 0%, rgba(9,24,38,.76) 40%, rgba(9,24,38,.2) 100%);
}
[dir="rtl"] .slide::after {
  background: linear-gradient(270deg, rgba(9,24,38,.94) 0%, rgba(9,24,38,.76) 40%, rgba(9,24,38,.2) 100%);
}
.slide-inner {
  position: relative; z-index: 2; display: flex;
  align-items: center; gap: 44px; padding-block: 78px; width: 100%;
}
.slide-copy { flex: 1 1 440px; min-width: 0; color: #fff; }
.slide-kicker {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.slide-copy h1, .slide-copy h2 { color: #fff; max-width: 620px; margin: 0 0 14px; }
.slide-copy p { color: rgba(255,255,255,.82); font-size: 16px; max-width: 560px; margin: 0; }
.slide-copy .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.slide-specs { flex: 0 0 230px; display: grid; gap: 1px; background: rgba(255,255,255,.16); border-radius: var(--radius-card); overflow: hidden; }
.slide-specs span { display: block; background: rgba(9,24,38,.62); backdrop-filter: blur(3px); padding: 13px 18px; }
.slide-specs b { display: block; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.slide-specs { color: #fff; font-size: 15px; font-weight: 600; }
.slide-dots { position: absolute; inset-inline: 0; bottom: 22px; display: flex; gap: 10px; justify-content: center; z-index: 5; }
.slide-dots button {
  width: 30px; height: 3px; padding: 0; cursor: pointer; border: 0;
  background: rgba(255,255,255,.34); border-radius: 3px; transition: background .2s;
}
.slide-dots button.on { background: var(--accent); }

/* ---------- home: product type ---------- */
.ptype-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.ptype-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.ptype-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(16,49,75,.1); }
.ptype-thumb { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface); }
.ptype-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .3s; }
.ptype-card:hover .ptype-thumb img { transform: scale(1.04); }
.ptype-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ptype-body h3 { margin: 0; font-size: 20px; }
.ptype-body h3 a { color: var(--brand); }
.ptype-body p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.7; }
.ptype-body .chip-row { margin-top: 2px; }
.ptype-body .link-more { margin-top: auto; font-weight: 600; color: var(--accent-dark); font-size: 14px; }
.chip {
  display: inline-block; font-size: 12px; font-weight: 600;
  color: var(--brand); background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 3px 11px;
}
.center-cta { text-align: center; margin: 38px 0 0; }

/* ---------- home: reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.review-card {
  margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: 24px; display: flex; flex-direction: column; gap: 14px;
}
.review-rate { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.review-rate span { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-soft); }
.review-rate b { font-weight: 600; }
.star { width: 11px; height: 11px; display: inline-block; background: #d8dee5; clip-path: polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); }
.star.on { background: var(--accent); }
.review-card blockquote { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--ink); }
.review-card blockquote::before { content: "\201C"; color: var(--accent); font-weight: 700; }
.review-card blockquote::after { content: "\201D"; color: var(--accent); font-weight: 700; }
.review-card figcaption { margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; }
.review-name { display: block; font-weight: 600; font-size: 14px; color: var(--brand); }
.review-prod { display: block; font-size: 12.5px; color: var(--ink-soft); }

/* ---------- news / blog cards ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.news-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(16,49,75,.1); }
.news-thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.news-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .3s; }
.news-card:hover .news-thumb img { transform: scale(1.04); }
.news-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-soft); }
.news-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent-dark);
  background: rgba(200,135,90,.12); border-radius: 999px; padding: 2px 9px;
}
.news-body h3 { margin: 0; font-size: 16.5px; line-height: 1.45; }
.news-body h3 a { color: var(--brand); }
.news-body h3 a:hover { color: var(--accent-dark); }
.news-body p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
.news-more { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--accent-dark); }
.feature-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; align-items: center; }
.feature-inner img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--surface); border-radius: var(--radius-card); }
.feature-inner h2 { margin: 10px 0; }

/* ---------- home: about + work + assurances ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 46px; align-items: center; }
.about-copy h2 { margin-top: 0; }
.about-copy p { color: var(--ink-soft); font-size: 16px; line-height: 1.8; margin-bottom: 22px; }
.stats-inline { background: transparent; border: 0; padding: 0; }
.stats-inline .grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
.stats-inline .stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px; }

.assure { background: var(--brand); color: rgba(255,255,255,.8); padding-block: 44px; }
.assure-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.assure-item { display: flex; gap: 14px; align-items: flex-start; }
.assure-ic {
  flex: none; width: 34px; height: 34px; border-radius: 9px;
  background: rgba(200,135,90,.2); color: var(--accent);
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
}
.assure-item h4 { color: #fff; font-size: 15px; margin: 0 0 6px; }
.assure-item p { font-size: 13.5px; line-height: 1.65; margin: 0; }

/* ---------- support: FAQ + help box ---------- */
.help-box {
  margin-top: 44px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: 30px;
}
.help-box h3 { margin: 0 0 10px; color: var(--brand); }
.help-box p { color: var(--ink-soft); margin: 0 0 18px; }
.help-box .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- download centre ---------- */
.dl-grid { display: grid; gap: 16px; }
.dl-card {
  display: flex; align-items: center; gap: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 22px;
}
.dl-card:hover { border-color: var(--accent); }
.dl-ic {
  flex: none; width: 46px; height: 46px; border-radius: 11px;
  background: var(--surface); color: var(--brand);
  display: grid; place-items: center;
}
.dl-ic svg { width: 24px; height: 24px; }
.dl-ic-pdf { background: rgba(200,135,90,.14); color: var(--accent-dark); }
.dl-body { flex: 1; min-width: 0; }
.dl-tag { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--accent-dark); }
.dl-body h3 { margin: 4px 0 6px; font-size: 17px; color: var(--brand); }
.dl-body p { margin: 0 0 6px; font-size: 14px; color: var(--ink-soft); line-height: 1.65; }
.dl-meta { font-size: 12px; color: var(--ink-soft); opacity: .85; }
.dl-card .btn { flex: none; }

/* ---------- group (product family) pages ---------- */
.grp-hero { padding-bottom: 20px; }
.grp-count { color: var(--ink-soft); font-size: 14px; margin-top: 16px; }
.grp-block { border-top: 1px solid var(--line); }
.grp-head { display: flex; align-items: center; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.grp-head .ic { width: 46px; height: 46px; flex: none; border-radius: var(--radius-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.grp-head .ic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.grp-head .ic-city { box-shadow: inset 0 0 0 2px rgba(14,116,144,.35); }
.grp-head .ic-perf { box-shadow: inset 0 0 0 2px rgba(124,58,237,.35); }
.grp-head .ic-xgt { box-shadow: inset 0 0 0 2px rgba(21,128,61,.35); }
.grp-head .ic-dirt { box-shadow: inset 0 0 0 2px rgba(194,65,12,.35); }
.grp-head .ic-ebike { box-shadow: inset 0 0 0 2px rgba(180,83,9,.35); }
.grp-head .ic-kids { box-shadow: inset 0 0 0 2px rgba(219,39,119,.35); }
.grp-head .ic-hover { box-shadow: inset 0 0 0 2px rgba(15,118,110,.35); }
.grp-head h3 { margin: 0 0 6px; font-size: 22px; }
.grp-head h3 a { color: var(--brand); }
.grp-head p { margin: 0; color: var(--ink-soft); font-size: 14.5px; max-width: 700px; line-height: 1.7; }
.grp-head .btn { margin-inline-start: auto; }

/* ---------- review page summary ---------- */
.rev-summary {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: 24px 28px; margin-bottom: 34px;
}
.rev-score { display: flex; align-items: center; gap: 12px; }
.rev-score b { font-size: 38px; color: var(--brand); line-height: 1; }
.rev-summary p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
.rev-summary .star { width: 14px; height: 14px; }

/* ---------- become a partner ---------- */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.tier-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.tier-card:hover { border-color: var(--accent); }
.tier-n {
  width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 14px; font-weight: 700;
}
.tier-card h3 { margin: 0; font-size: 19px; color: var(--brand); }
.tier-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.7; }
.tier-card ul { list-style: none; margin: 6px 0 0; padding: 0; }
.tier-card li { position: relative; padding-inline-start: 20px; margin-bottom: 8px; font-size: 14px; color: var(--ink); }
.tier-card li::before { content: ""; position: absolute; inset-inline-start: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.become-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.become-cta { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px; }
.become-cta h3 { margin: 0 0 10px; color: var(--brand); }
.become-cta p { margin: 0 0 18px; color: var(--ink-soft); }
.become-cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- footer: subscribe + grouped columns ---------- */
.foot-sub {
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
  padding-bottom: 34px; margin-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.14);
}
.foot-sub-copy { flex: 1 1 420px; }
.logo-foot { color: #fff; margin-bottom: 14px; }
.logo-foot small { color: rgba(255,255,255,.55); }
.foot-sub h3 { color: #fff; font-size: 22px; margin: 0 0 8px; }
.foot-sub p { margin: 0; font-size: 14px; color: rgba(255,255,255,.66); max-width: 520px; }
.foot-sub-form { flex: 1 1 340px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; position: relative; }
.foot-sub-form input {
  flex: 1 1 200px; font: inherit; font-size: 14px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px; padding: 12px 15px; color: #fff;
}
.foot-sub-form input::placeholder { color: rgba(255,255,255,.45); }
.foot-sub-form .form-success {
  position: absolute; inset-inline-start: 0; bottom: -24px;
  display: none; color: var(--accent); font-size: 13px;
}
.foot-sub-form .form-success.show { display: block; }
.foot-cols { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; }
.foot-col h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.foot-contact {
  display: flex; flex-wrap: wrap; gap: 10px 30px;
  margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14);
  font-size: 13.5px;
}
.fc-item b { color: #fff; font-weight: 600; margin-inline-end: 8px; }
.fc-wa { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.fc-wa .wa-line { color: rgba(255,255,255,.75); }
.fc-wa .wa-line:hover { color: var(--accent); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .slide-media { display: none; }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
  .mega-cols { flex-wrap: wrap; }
  .mega-col { flex: 1 1 180px; max-width: none; }
}
@media (max-width: 980px) {
  .ptype-grid, .review-grid, .news-grid, .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .assure-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .become-grid, .feature-inner { grid-template-columns: 1fr; gap: 30px; }
  .slide-specs { display: none; }
}
@media (max-width: 720px) {
  /* the mega menu becomes an inline accordion inside the mobile nav drawer */
  .nav-item { position: static; }
  .nav-item > .nav-top { padding-block: 12px; border-bottom: 1px solid var(--line); justify-content: space-between; }
  .mega, .mega-slim {
    position: static; opacity: 1; visibility: visible; transform: none;
    display: none; inset: auto; width: auto; min-width: 0;
    border: 0; border-radius: 0; box-shadow: none; padding: 10px 0 16px;
  }
  .nav-item.open > .mega { display: block; }
  .mega-inner { flex-direction: column; gap: 18px; }
  .mega-intro { flex: none; }
  .mega-cols { flex-direction: column; gap: 18px; }
  .mega-col { max-width: none; }
  .mega-slim { padding: 8px 0 14px; }
  .mega-links a { padding: 10px 0; }
  .nav-caret { display: none; }
  .slide-inner { padding-block: 52px; }
  .slide-copy h1, .slide-copy h2 { font-size: 27px; }
  .slide-dots { bottom: 12px; }
  .ptype-grid, .review-grid, .news-grid, .tier-grid, .assure-grid { grid-template-columns: 1fr; }
  .stats-inline .grid { grid-template-columns: repeat(2, 1fr); }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
  .dl-card { flex-direction: column; align-items: flex-start; }
  .dl-card .btn { width: 100%; text-align: center; }
  .grp-head .btn { margin-inline-start: 0; }
}
@media (max-width: 480px) {
  .foot-cols { grid-template-columns: 1fr; }
}

/* ---------- layout helper classes (replace inline styles) ---------- */
.sec-tint { background: var(--surface); }
.sec-narrow { max-width: 820px; }
.sec-media { max-width: 1100px; }
.sec-wide { max-width: 1000px; }
.sec-prose { max-width: 880px; }
.sec-cta { max-width: 640px; text-align: center; padding-block: 80px; }

/* ---------- lightbox: gallery navigation ---------- */
.media-lightbox .lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff; font-size: 24px;
  cursor: pointer; display: none; align-items: center; justify-content: center;
}
.media-lightbox .lb-nav:hover { background: rgba(255,255,255,.28); }
.media-lightbox .lb-prev { inset-inline-start: 26px; }
.media-lightbox .lb-next { inset-inline-end: 26px; }
.media-lightbox.has-many .lb-nav { display: flex; }
.media-lightbox .lb-count {
  position: absolute; bottom: 22px; inset-inline-start: 0; inset-inline-end: 0;
  text-align: center; color: rgba(255,255,255,.75); font-size: 13px; letter-spacing: .06em;
}

/* ---------------------------------------------------------------------------
   RTL: spec values are Latin/numeric unit strings ("800 W", "48 V lithium-ion",
   "20GP 140 / 40HQ 340"). In an RTL paragraph the digits inherit an Arabic-number
   context and bidi renders them reversed ("W 800"). Forcing LTR on the value -
   while keeping text-align: right - restores the natural reading order without
   changing the page layout. Labels stay RTL; values are always Latin.
--------------------------------------------------------------------------- */
[dir="rtl"] .spec-table td,
[dir="rtl"] .batt-table td,
[dir="rtl"] .slide-specs span {
  direction: ltr;
  text-align: right;
  unicode-bidi: isolate;
}
[dir="rtl"] .prod-meta b,
[dir="rtl"] .detail-tags + * b {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}


/* ---------------------------------------------------------------
   Product detail spec table on small screens:
   two-column chip grid + collapsed behind a "Full specifications"
   toggle (first 6 rows stay visible when collapsed).
   --------------------------------------------------------------- */
@media (max-width: 720px) {
  .spec-box .spec-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0 0 10px;
    padding: 13px 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    font: inherit;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
  }
  .spec-box .st-count {
    margin-inline-start: auto;
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-soft);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 2px 9px;
  }
  .spec-box .st-caret {
    width: 8px;
    height: 8px;
    border-inline-end: 2px solid var(--ink-soft);
    border-bottom: 2px solid var(--ink-soft);
    transform: rotate(-45deg);
    transition: transform .2s ease;
  }
  .spec-box[data-collapsed="false"] .st-caret { transform: rotate(45deg); }

  .spec-box .spec-table,
  .spec-box .spec-table tbody { display: block; }
  .spec-box .spec-table tbody {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .spec-box .spec-table tr {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 9px 11px;
  }
  .spec-box .spec-table th {
    display: block;
    width: auto;
    background: none;
    border: 0;
    padding: 0 0 3px;
    font-size: 12px;
    color: var(--ink-soft);
  }
  .spec-box .spec-table td {
    display: block;
    border: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
  }
  .spec-box[data-collapsed="true"] .spec-table tbody tr:nth-child(n+7) { display: none; }
}
