/* ============================================================
   SasaParts — unified design system
   Outfit + Inter · purple accent · one stylesheet for all pages
   ============================================================
   1.  Tokens & base
   2.  Topbar
   3.  Sticky frosted nav + mobile menu
   4.  Buttons
   5.  Search control
   6.  Section headers / overlines
   7.  Hero (home)
   8.  Stats strip
   9.  Part tiles / brand tiles / make cards / chips
   10. Value pillars
   11. About & contact (home)
   12. Footer
   13. Product list (catalogue + search results)
   14. Pagination
   15. Product detail
   16. Sticky order bar / spinner / misc
   17. Reduced motion
   ============================================================ */

:root {
  --purple:      #6D3FD4;
  --purple-dk:   #5B2FC0;
  --purple-glow: rgba(109, 63, 212, .30);
  --purple-ring: rgba(109, 63, 212, .12);
  --purple-lt:   rgba(109, 63, 212, .08);
  --logo-purple: #a07bf7;
  --white:       #FFFFFF;
  --warm:        #F8F6F2;
  --warm-2:      #F0EDE6;
  --dark:        #0E0F11;
  --charcoal:    #111218;
  --grey:        #6B7280;
  --grey-lt:     #9CA3AF;
  --border:      rgba(0, 0, 0, .07);
  --border-dk:   rgba(0, 0, 0, .14);
  --wa:          #16A34A;
  --wa-dk:       #15803D;
  --wa-text:     #0e8a3b;
  --nav-h:       72px;
  --wrap:        1280px;
  --pad:         clamp(20px, 5vw, 80px);
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }
section[id], div[id="products"] { scroll-margin-top: calc(var(--nav-h) + 16px); }

body {
  background: var(--white);
  color: var(--charcoal);
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}

.ic {
  width: 1em; height: 1em;
  stroke: currentColor; stroke-width: 2.4; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  display: inline-block; vertical-align: -0.12em;
}

/* ============ 2. Topbar ============ */
.topbar { background: var(--purple); color: rgba(255,255,255,.92); font-size: 12px; font-weight: 500; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 40px; }
.topbar a { color: rgba(255,255,255,.92); white-space: nowrap; }
.topbar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topbar .right { display: flex; align-items: center; gap: 18px; }
.topbar .left { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .tb-email { display: none; } }

/* ============ 3. Sticky frosted nav ============ */
.site-head {
  position: sticky; top: 0; z-index: 1000;
  border-top: 4px solid var(--purple);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .07);
}
.nav-inner { position: relative; display: flex; align-items: center; height: var(--nav-h); }
.nav-logo { flex-shrink: 0; display: flex; align-items: center; }
.nav-logo img { height: 44px; width: auto; }
.nav-links {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 28px;
}
.nav-link {
  font-size: 15px; font-weight: 500; position: relative; padding-bottom: 2px;
  white-space: nowrap; transition: color 250ms ease;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 50%; right: 50%; height: 2px;
  background: var(--purple);
  transition: left 220ms var(--ease-out), right 220ms var(--ease-out);
}
.nav-link:hover::after, .nav-link.is-active::after { left: 0; right: 0; }
.nav-link.is-active { color: var(--purple); }
.nav-actions { display: flex; align-items: center; margin-left: auto; gap: 12px; }

.burger { display: none; width: 42px; height: 42px; position: relative; }
.burger i { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--charcoal); transition: transform .2s ease, opacity .2s ease; }
.burger i:nth-child(1) { top: 14px; } .burger i:nth-child(2) { top: 20px; } .burger i:nth-child(3) { top: 26px; }
body.menu-open .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger i:nth-child(2) { opacity: 0; }
body.menu-open .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; inset: var(--nav-h) 0 0 0; background: var(--white);
  z-index: 999; padding: 30px 26px; flex-direction: column; gap: 2px; overflow-y: auto;
}
body.menu-open .mobile-menu { display: flex; }
body.menu-open { overflow: hidden; }
.mobile-menu a.mm-link {
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 30px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.mobile-menu .mm-foot { margin-top: auto; padding-top: 24px; font-size: 13.5px; color: var(--grey); line-height: 2; }
.mobile-menu .mm-cta { margin-top: 22px; width: 100%; padding: 16px; font-size: 15px; }
@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-actions .btn { display: none; }
  .burger { display: block; }
}

/* ============ 4. Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; line-height: 1;
  border-radius: 5px; padding: 14px 28px; white-space: nowrap; cursor: pointer;
  transition: all 220ms ease;
}
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-dk); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px var(--purple-glow); }
.btn-ghost { background: transparent; color: var(--charcoal); border: 1.5px solid var(--charcoal); }
.btn-ghost:hover { background: var(--charcoal); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dk); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(22, 163, 74, .32); }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-text {
  color: var(--purple); font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px; transition: gap 200ms ease;
}
.btn-text:hover { gap: 10px; }
.btn-text .ic { font-size: 13px; }

/* ============ 5. Search control ============ */
.search {
  display: flex; align-items: stretch; background: var(--white);
  border: 1.5px solid rgba(0, 0, 0, .10); border-radius: 8px; overflow: hidden;
  width: 100%; max-width: 640px; min-width: 0;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
/* 16px on touch screens stops iOS zooming into the field on focus */
@media (max-width: 760px) { .search input { font-size: 16px; } }
.search:focus-within { border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-ring); }
.search .s-ic { display: flex; align-items: center; padding: 0 0 0 16px; color: var(--grey-lt); font-size: 16px; }
.search input {
  flex: 1; min-width: 0; border: none; outline: none; background: none;
  padding: 15px 12px; font: inherit; font-size: 15px; color: var(--charcoal);
}
.search input::placeholder { color: var(--grey-lt); }
.search .search-btn, .search input[type="submit"] {
  background: var(--purple); color: #fff; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 12.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: 0 24px; flex-shrink: 0;
  transition: background 200ms ease;
}
.search .search-btn:hover, .search input[type="submit"]:hover { background: var(--purple-dk); }
.search .search-clear {
  background: transparent; border: none; cursor: pointer; flex-shrink: 0;
  color: var(--grey-lt); font-size: 22px; line-height: 1; padding: 0 12px;
  transition: color 150ms ease;
}
.search .search-clear:hover { color: var(--charcoal); }

/* ============ 6. Section headers ============ */
.overline {
  display: inline-block;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 3px;
  color: var(--purple); margin-bottom: 14px;
}
.section-title {
  font-family: 'Outfit', sans-serif; font-size: clamp(30px, 3.6vw, 46px); font-weight: 700;
  line-height: 1.08; color: var(--charcoal); margin-bottom: 10px; letter-spacing: -.01em;
}
.section-sub { font-size: 16.5px; line-height: 1.7; color: var(--grey); max-width: 560px; }
.sec { padding: 72px 0 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 34px; flex-wrap: wrap; }

/* ============ 7. Hero (home) ============ */
.hero { background: var(--warm); border-bottom: 1px solid var(--border); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center;
  padding: 40px 0 48px;
}
.hero h1 {
  font-family: 'Outfit', sans-serif; font-size: clamp(38px, 4.8vw, 64px); font-weight: 800;
  line-height: 1.04; letter-spacing: -.02em; margin-bottom: 16px;
}
.hero .sub { font-size: 16.5px; color: var(--grey); max-width: 600px; margin-bottom: 26px; line-height: 1.7; }
.hero .sub .kenya-flag {
  background: linear-gradient(to right, #000 33%, #b91c1c 33% 66%, #15803d 66% 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700;
}
.hero .popular { margin-top: 16px; font-size: 13.5px; color: var(--grey); }
.hero .popular a { color: var(--purple); font-weight: 600; margin-left: 12px; }
.hero .popular a:hover { text-decoration: underline; }
.hero-art { max-width: 560px; margin: 0 auto; }
.hero-art svg { width: 100%; height: auto; display: block; }
@media (max-width: 991px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding: 36px 0 40px; }
  .hero-art { max-width: 440px; margin-top: 8px; }
}

/* ============ 8. Stats strip ============ */
.stats {
  background: var(--dark);
  background-image: radial-gradient(640px 320px at 88% -10%, rgba(109, 63, 212, .28), transparent 70%);
  padding: 52px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px; overflow: hidden;
}
.stat { padding: 32px 24px; text-align: center; background: rgba(255,255,255,.05); transition: background 250ms ease; }
.stat:hover { background: rgba(255,255,255,.10); }
.stat .n {
  display: block; font-family: 'Outfit', sans-serif; font-weight: 800;
  font-size: clamp(34px, 3.8vw, 54px); line-height: 1; color: #fff; margin-bottom: 10px;
}
.stat .n em { font-style: normal; color: #B79AF5; }
.stat .l { font-size: 12px; font-weight: 500; color: rgba(255,255,255,.60); text-transform: uppercase; letter-spacing: 1.5px; }
@media (max-width: 860px) { .stats-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* ============ 9. Tiles, brands, makes, chips ============ */
.ptile-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.ptile {
  display: block; background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; text-align: center;
  transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out), border-color 280ms ease;
}
.ptile:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0, 0, 0, .09); border-color: rgba(109, 63, 212, .25); }
.ptile figure { background: var(--warm); padding: 14px; }
.ptile img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; mix-blend-mode: multiply; }
.ptile b { display: block; font-size: 13.5px; font-weight: 600; padding: 12px 8px; }
.ptile:hover b { color: var(--purple); }
@media (max-width: 1100px) { .ptile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .ptile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .ptile b { font-size: 12px; padding: 9px 6px; } }
@media (max-width: 400px)  { .ptile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.brand-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
.brand-tile {
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 16px 12px;
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out), border-color 240ms ease;
}
.brand-tile img { width: 100%; max-width: 110px; height: auto; aspect-ratio: 1 / 1; object-fit: contain; mix-blend-mode: multiply; }
.brand-tile:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0, 0, 0, .08); border-color: rgba(109, 63, 212, .30); }
@media (max-width: 1000px) { .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 480px)  { .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; } }

.makegrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.makecard {
  display: block; background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 18px 12px; text-align: center;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 16px;
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out), border-color 240ms ease, color 240ms ease;
}
.makecard:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0, 0, 0, .08); border-color: rgba(109, 63, 212, .30); color: var(--purple); }
@media (max-width: 960px) { .makegrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .makegrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .makecard { font-size: 14px; padding: 14px 8px; } }

.chiprow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chiprow .lbl { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin-right: 6px; }
.chip {
  display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 600;
  color: var(--grey); background: var(--white); border: 1px solid var(--border-dk);
  border-radius: 6px; padding: 6px 12px; white-space: nowrap; transition: all 180ms ease;
}
.chip:hover { color: var(--purple); border-color: var(--purple); }

/* ============ 10. Value pillars ============ */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 72px 0 0; }
.pillar .chip-ic {
  width: 52px; height: 52px; border-radius: 12px; background: var(--purple-lt);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--purple); margin-bottom: 16px;
}
.pillar h3 { font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.pillar p { font-size: 14px; color: var(--grey); line-height: 1.65; }
@media (max-width: 900px) { .pillars { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 520px) { .pillars { grid-template-columns: minmax(0, 1fr); } }

/* ============ 11. About & contact (home) ============ */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-bottom: 56px; }
.about-grid:last-child { margin-bottom: 0; }
.about-grid .txt-first { order: -1; }
.about-img img { border-radius: 14px; width: 100%; height: auto; }
.about-copy p { color: #4a5263; margin-bottom: 16px; line-height: 1.75; font-size: 15.5px; }
.about-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 15px; color: #3c4152; }
.about-list .ic { color: var(--purple); font-size: 18px; flex-shrink: 0; margin-top: 3px; }
.about-list .li-txt { flex: 1; min-width: 0; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .about-grid .txt-first { order: 0; }
}

.contact-wrap { max-width: 720px; margin: 0 auto; text-align: center; }
.contact-line { font-size: 15px; color: var(--grey); margin-bottom: 30px; }
.contact-line a { color: var(--purple); font-weight: 600; }
.contact-line a:hover { text-decoration: underline; }
.contact-form { text-align: left; }
.contact-form .frow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-bottom: 14px; }
.contact-form .frow.single { grid-template-columns: minmax(0, 1fr); }
.contact-form input, .contact-form textarea {
  width: 100%; border: 1.5px solid rgba(0, 0, 0, .10); border-radius: 8px;
  padding: 13px 14px; font: inherit; font-size: 14.5px; color: var(--charcoal);
  background: var(--white); outline: none; transition: border-color 200ms ease, box-shadow 200ms ease;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-ring); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .actions { text-align: center; margin-top: 22px; }
#result .alert-success, #result .alert-danger { border-radius: 8px; padding: 12px 16px; margin-bottom: 18px; font-size: 14px; }
#result .alert-success { background: #E6F6EC; color: #166534; border: 1px solid rgba(22, 101, 52, .2); }
#result .alert-danger  { background: #FBEAE9; color: #B3261E; border: 1px solid rgba(179, 38, 30, .2); }
@media (max-width: 640px) { .contact-form .frow { grid-template-columns: minmax(0, 1fr); } }

/* ============ 12. Footer ============ */
.site-foot { background: var(--warm); border-top: 1px solid var(--border); margin-top: 80px; }
.foot-bar { padding: 22px 0; }
.foot-bar-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; }
.foot-left { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; font-size: 13.5px; color: var(--charcoal); }
.foot-left a { text-decoration: underline; text-underline-offset: 3px; }
.foot-left a:hover { color: var(--purple); }
.foot-bar-copy { display: flex; justify-content: center; }
.foot-logo { height: 30px; width: auto; }
.foot-bar-credit { display: flex; justify-content: flex-end; align-items: center; gap: 5px; font-size: 13.5px; color: var(--charcoal); }
.foot-bar-credit a { color: var(--charcoal); font-weight: 600; text-decoration: underline; transition: opacity 200ms ease; }
.foot-bar-credit a:hover { opacity: .7; }
.heart { color: #DC2626; font-size: 19px; line-height: 1; }
@media (max-width: 700px) {
  .foot-bar-inner { grid-template-columns: minmax(0, 1fr); gap: 12px; text-align: center; }
  .foot-left { align-items: center; }
  .foot-bar-credit { justify-content: center; }
}

/* ============ 13. Product list ============ */
.cat-band { background: var(--warm); padding: 20px 0 8px; text-align: center; }
.cat-band h1 {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.05; letter-spacing: -.015em; margin-bottom: 2px;
}
.cat-band .tagline { font-size: 14px; color: var(--grey); margin-bottom: 4px; }
.cat-band .search { margin: 0 auto; }
.cat-band .meta { margin-top: 0; font-size: 13px; color: var(--grey); }
.cat-band .meta b { color: var(--charcoal); font-weight: 600; }
.chassis-info { font-size: 13px; color: var(--grey); margin-top: 12px; }
.chassis-info a { color: #B3261E; font-weight: 600; }

.plist { padding: 28px 0 0; }
.plist-head, .prow {
  display: grid;
  grid-template-columns: 64px 150px minmax(0, 1.35fr) 110px minmax(0, 1.15fr) 110px 104px;
  align-items: center;
}
.plist-head { border-bottom: 2px solid var(--border-dk); }
.plist-head > div { padding: 9px 14px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.prow {
  position: relative; border-bottom: 1px solid var(--border); border-left: 3px solid transparent;
  transition: background 160ms ease, border-color 160ms ease;
}
.prow:hover { background: var(--warm); border-left-color: var(--purple); }
.prow > div { padding: 11px 14px; min-width: 0; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-link { position: absolute; inset: 0; z-index: 1; }
.c-thumb { padding: 8px 0 8px 8px !important; }
.thumb-box {
  width: 48px; height: 48px; background: var(--warm-2); border: 1px solid var(--border); border-radius: 6px;
  display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; z-index: 2;
}
.thumb-box img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ph {
  width: 48px; height: 48px; background: var(--warm-2); border: 1px solid var(--border); border-radius: 6px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--grey-lt); font-size: 7.5px; font-weight: 600; letter-spacing: .02em;
  line-height: 1.25; padding: 3px; overflow: hidden; word-break: break-all;
}
.c-pn { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 15.5px; }
.c-pn a:hover { color: var(--purple); }
.c-desc { font-weight: 500; }
.c-desc .app-inline { display: none; font-size: 12px; color: var(--grey); font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 720px) { .c-desc .app-inline { display: block; } }
.c-brand { font-size: 10.5px !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--purple); }
.c-app { color: var(--grey); font-size: 12.5px !important; }
.c-price { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 15.5px; color: var(--purple); }
.c-cta { text-align: right; position: relative; z-index: 2; }
.c-cta a { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--wa-text); }
.c-cta a:hover { opacity: .65; }
.c-cta .ic { font-size: 15px; }
.mob-price { display: none; }

@media (max-width: 900px) {
  .plist-head, .prow { grid-template-columns: 64px 150px minmax(0, 1.4fr) minmax(0, 1.1fr) 100px 100px; }
  .h-brand, .c-brand { display: none; }
}
@media (max-width: 720px) {
  .plist-head { display: none; }
  .prow {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    grid-template-areas: "th pn cta" "th ds cta" "th pr cta";
    padding: 8px 0;
  }
  .prow > div { padding: 1px 12px; }
  .c-thumb { grid-area: th; padding: 0 0 0 6px !important; }
  .c-pn { grid-area: pn; font-size: 15px; }
  .c-desc { grid-area: ds; font-size: 12.5px; }
  .c-app, .c-brand, .h-app { display: none; }
  .c-price { display: none; }
  .mob-price { display: block; grid-area: pr; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 14px; color: var(--purple); padding: 1px 12px; }
  .c-cta { grid-area: cta; padding-right: 10px !important; }
  .c-cta a {
    border: 1px solid var(--wa); border-radius: 6px; padding: 7px 10px;
    font-size: 11.5px; color: var(--wa-dk);
  }
  .c-cta .ic { font-size: 15px; }
}

/* ============ 14. Pagination ============ */
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; padding: 40px 0 8px; }
.pg {
  min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 10px; font-size: 13px; font-weight: 600; color: var(--grey);
  border: 1px solid var(--border); border-radius: 6px; background: var(--white);
  transition: all 180ms ease;
}
.pg:hover { color: var(--charcoal); border-color: var(--border-dk); }
.pg.is-active { background: var(--purple); color: #fff; border-color: var(--purple); }
.pg.dots { border: none; color: var(--grey-lt); pointer-events: none; }
.pg .ic { font-size: 14px; }
.pager-note { text-align: center; font-size: 12.5px; color: var(--grey-lt); padding-bottom: 4px; }

/* ============ 15. Product detail ============ */
.crumb-band { background: var(--warm); padding: 14px 0 6px; }
.crumb-band .crumbs { text-align: center; }
.crumbs { font-size: 13px; color: var(--grey); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumbs a { color: var(--purple); font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .sep { margin: 0 7px; color: var(--grey-lt); }

.pd { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 56px; padding: 40px 0 10px; text-align: left; }
.brand-chip {
  display: inline-flex; font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: #fff; margin-bottom: 18px; border-radius: 4px; overflow: hidden;
}
.brand-chip .k { background: var(--charcoal); padding: 5px 10px; }
.brand-chip .v { background: var(--purple); padding: 5px 10px; }
.pd-num { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: clamp(32px, 4.4vw, 52px); line-height: 1; letter-spacing: -.02em; word-break: break-word; }
.pd-name { font-size: 19px; font-weight: 500; color: #3c4152; margin: 10px 0 20px; line-height: 1.5; }
.fits {
  background: var(--warm); border-left: 3px solid var(--purple); border-radius: 0 6px 6px 0;
  padding: 12px 16px; font-size: 14px; margin-bottom: 22px; line-height: 1.65;
}
.spec { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-bottom: 24px; }
.spec td { padding: 9px 0; border-bottom: 1px solid var(--border); vertical-align: top; text-align: left; }
.spec td:first-child { color: var(--grey); width: 150px; padding-right: 14px; }
.buy-box {
  border: 1px solid var(--border-dk); border-radius: 12px; background: var(--white);
  padding: 22px; margin-bottom: 22px;
}
.buy-box + .spec { margin-bottom: 0; }
.pd-price { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 34px; color: var(--purple); line-height: 1; }
.price-note { font-size: 12.5px; color: var(--grey); margin: 8px 0 18px; }
.pd-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-ctas .btn { padding: 15px 24px; font-size: 14px; }
.pd-ctas .btn .ic { font-size: 18px; }
.buy-box .buy-div { border-top: 1px solid var(--border); margin: 18px 0 14px; }
.badges { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 7px 16px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600;
  color: #3c4152;
}
.badge .ic { font-size: 15px; color: var(--wa-dk); flex-shrink: 0; }
@media (max-width: 480px) { .badges { grid-template-columns: minmax(0, 1fr); } }
.pd-media .main-img {
  aspect-ratio: 4 / 3; background: var(--warm-2); border: 1px solid var(--border); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 24px;
}
.pd-media .main-img img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pd-media .main-img .ph-lg {
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: clamp(20px, 3vw, 32px);
  letter-spacing: .04em; color: var(--grey-lt); text-align: center; word-break: break-all;
}
.pd-media .imgnote { font-size: 12px; color: var(--grey-lt); margin-top: 10px; }
@media (max-width: 860px) {
  .pd { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pd-media { order: -1; }
}

.related { padding: 26px 0 0; }
.related .sec-head { margin-bottom: 0; border-bottom: 2px solid var(--border-dk); padding-bottom: 10px; }
.related h2 { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 700; }

/* ============ 16. Sticky bar, spinner, misc ============ */
.stickybar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  background: var(--white); border-top: 1px solid var(--border-dk);
  box-shadow: 0 -6px 22px rgba(17, 18, 24, .10); padding: 10px 16px; align-items: center; gap: 14px;
}
.stickybar .sb-price { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 22px; color: var(--purple); white-space: nowrap; }
.stickybar .btn { flex: 1; justify-content: center; padding: 13px 10px; font-size: 13.5px; }
@media (max-width: 760px) {
  .stickybar.sb-on { display: flex; }
  body.has-stickybar { padding-bottom: 72px; }
}

.spin {
  width: 26px; height: 26px; margin: 18px auto; border-radius: 50%;
  border: 3px solid var(--purple-ring); border-top-color: var(--purple);
  animation: sasa-spin .7s linear infinite;
}
@keyframes sasa-spin { to { transform: rotate(360deg); } }

.nores { text-align: center; padding: 56px 0; color: var(--grey); }
.nores h2 { font-family: 'Outfit', sans-serif; font-size: 26px; font-weight: 700; color: var(--charcoal); margin-bottom: 10px; }
.nores p { max-width: 460px; margin: 0 auto 20px; font-size: 14.5px; line-height: 1.7; }

.text-center { text-align: center; }
.mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }

/* ============ 16b. Page bands, hero cards, feature, CTA band, steps ============ */
.page-band { background: var(--warm); border-bottom: 1px solid var(--border); padding: 44px 0 40px; }
.page-band h1 {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.05; letter-spacing: -.015em; margin-bottom: 10px;
}
.page-band .sub { font-size: 16.5px; color: var(--grey); max-width: 640px; line-height: 1.7; }

.hero-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hero-cards .ptile figure { display: flex; align-items: center; justify-content: center; height: 88px; padding: 10px; }
.hero-cards .ptile img { width: auto; height: 100%; max-height: 68px; aspect-ratio: auto; object-fit: contain; }
.hero-cards .ptile b { font-size: 11.5px; padding: 7px 5px; }
@media (max-width: 991px) { .hero-cards { max-width: 480px; } }
@media (max-width: 480px) { .hero-cards { gap: 8px; } .hero-cards .ptile b { font-size: 10.5px; padding: 6px 4px; } }

.feature-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
@media (max-width: 860px) { .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

.cta-band {
  background: var(--warm); border: 1px solid var(--border); border-radius: 14px;
  padding: 32px 36px; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.cta-band h2 { font-family: 'Outfit', sans-serif; font-size: 26px; font-weight: 700; margin-bottom: 4px; }
.cta-band p { font-size: 14.5px; color: var(--grey); max-width: 520px; }
.cta-band .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 26px 24px; }
.step .num { display: block; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 34px; line-height: 1; color: var(--purple); margin-bottom: 12px; }
.step h3 { font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--grey); line-height: 1.65; }
@media (max-width: 800px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.map-embed { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }
@media (max-width: 640px) { .map-embed iframe { height: 320px; } }

/* Sticky search band on catalogue + detail pages */
.search-band {
  position: sticky; top: calc(var(--nav-h) + 4px); z-index: 90;
  background: var(--warm); border-bottom: 1px solid var(--border);
  padding: 10px 0 6px;
}
.search-band .search { margin: 0 auto; background: var(--white); }
.search-band .chassis-info { text-align: center; margin-top: 4px; min-height: 0; }

/* ============ 17. Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
