
/* =========================================================
   SONALIKA — SPARE PARTS · PREMIUM DARK EDITION
   Dark navy premium theme — matches home/about/tractors style.
   Rides on home.css + site.css + redesign.css + premium.css.
   ========================================================= */

:root {
  --sp-radius:      20px;
  --sp-ease:        cubic-bezier(.16,1,.3,1);
  --sp-shadow:      0 20px 50px -18px rgba(0,0,0,.45);
  --sp-shadow-hov:  0 36px 70px -22px rgba(0,0,0,.6);
  --green:          #2e8a1a;
  --red:            #df241b;
}

/* page background — deep navy */
body.sp-shop {
  background: #0d1530;
  color: #fff;
}

/* =========================================================
   SPARE PARTS HERO — unique warm-gold accent
   Layered over the shared .phero style from hero-section.css
   ========================================================= */
/* ── Spare Parts hero overrides ──────────────────────────── */
#spHero.phero {
  background: linear-gradient(180deg, #1a1c3a 0%, #111832 55%, #0d1225 100%);
}
/* engine photo — centred so the machinery fills the frame */
#spHero .phero-photo {
  object-position: center 30%;
  filter: brightness(.72) contrast(1.12) saturate(.88);
}
/* warmer gold bloom (engine heat feel) */
#spHero.phero::before {
  background: radial-gradient(circle,
    rgba(255,140,0,.32), rgba(255,80,0,.08) 44%, transparent 68%) !important;
  right: 12%; bottom: 5%; top: auto !important; filter: blur(18px);
}
#spHero .phero-h .script { color: var(--gold-2); }
#spHero .phero-stats { border-top-color: rgba(255,180,0,.25); }

@media (max-width: 560px) {
  #spHero .phero-photo { object-position: 45% center; }
}

/* =========================================================
   AHERO (kept for legacy, not used on main hero)
   ========================================================= */
.ahero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(130% 110% at 76% -10%, #24356f 0%, #16224d 46%, #0d1530 100%);
  padding: clamp(140px,16vh,200px) 0 clamp(70px,9vw,130px);
}
.ahero .grain {
  position: absolute; inset: 0; opacity: .14; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ahero-glow {
  position: absolute; right: -8%; top: -30%; width: 55%; height: 120%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 40%, rgba(64,110,220,.34), transparent 60%);
  filter: blur(46px);
}
.ahero .wrap.ahero-split {
  max-width: var(--maxw);
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px,6vw,96px); align-items: center; position: relative; z-index: 2;
}
.ahero-copy { min-width: 0; }
.ahero-media { position: relative; }
.ahero-media-frame {
  position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 4/3.4;
  border: 1px solid rgba(255,255,255,.16); box-shadow: 0 50px 90px -42px rgba(0,0,0,.7);
  background: radial-gradient(120% 90% at 50% 10%, #24356f, #0d1530);
}
.ahero-media-frame image-slot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ahero-media-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(13,21,48,.55) 100%);
}
.ahero-media-badge {
  position: absolute; left: -18px; bottom: -22px; z-index: 3;
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(155deg,#ffd968,#f4b400); color: #16224d;
  border-radius: 18px; padding: 16px 22px; box-shadow: 0 28px 50px -18px rgba(244,180,0,.6);
}
.ahero-media-badge .b { font-family: var(--display); font-weight: 900; font-size: 38px; line-height: 1; }
.ahero-media-badge .l { font-family: var(--display); font-weight: 700; font-size: 12.5px; line-height: 1.25; }
.ahero-stats {
  display: flex; gap: 0; flex-wrap: wrap;
  margin-top: 46px; border-top: 1px solid rgba(255,255,255,.16); padding-top: 28px;
}
.ahero-stats > div {
  padding-right: 36px; margin-right: 36px; border-right: 1px solid rgba(255,255,255,.16);
}
.ahero-stats > div:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.ahero-stats .n { font-family: var(--display); font-weight: 900; font-size: clamp(28px,3.4vw,42px); color: #fff; line-height: 1; }
.ahero-stats .n span { color: var(--gold-2); }
.ahero-stats .l { color: rgba(255,255,255,.6); font-size: 13px; margin-top: 7px; }
.sp-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 0; }

/* =========================================================
   CATEGORY TILES  (dark soil section)
   ========================================================= */
.sp-cat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.sp-catcard {
  position: relative; padding: 26px; cursor: pointer; text-align: left;
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--sp-radius); box-shadow: var(--sp-shadow); overflow: hidden;
  transition: transform .4s var(--sp-ease), background .3s, border-color .3s, box-shadow .4s;
}
.sp-catcard::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--sp-radius); z-index: 0; pointer-events: none;
  background: radial-gradient(80% 60% at 50% 0%, rgba(244,180,0,.09), transparent 70%);
  opacity: 0; transition: opacity .4s;
}
.sp-catcard:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); border-color: rgba(244,180,0,.35); box-shadow: var(--sp-shadow-hov); }
.sp-catcard:hover::before { opacity: 1; }
.sp-catcard > * { position: relative; z-index: 1; }
.sp-catcard .cat-top { display: flex; align-items: center; justify-content: space-between; }
.sp-catic {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: linear-gradient(150deg,var(--gold-2),var(--gold)); color: #16224d;
}
.sp-catic svg { width: 26px; height: 26px; }
.sp-cat-count {
  font-family: var(--display); font-weight: 800; font-size: 11px; color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.1); padding: 4px 10px; border-radius: 100px;
}
.sp-catcard b { font-family: var(--display); font-weight: 800; font-size: 18px; color: #fff; margin-top: 18px; display: block; }
.sp-catcard .cs { display: block; font-size: 13px; color: rgba(255,255,255,.55); margin-top: 6px; line-height: 1.4; }
.sp-catcard .exp {
  display: flex; align-items: center; gap: 6px; margin-top: 18px;
  font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--gold-2);
}
.sp-catcard .exp svg { width: 16px; height: 16px; transition: transform .3s; }
.sp-catcard:hover .exp svg { transform: translateX(4px); }

/* =========================================================
   ADDITIONAL PARTS & ACCESSORIES  (soil-deep section)
   ========================================================= */
.sp-acc-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.sp-acccard {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--sp-radius); overflow: hidden; box-shadow: var(--sp-shadow);
  transition: transform .4s var(--sp-ease), background .3s, border-color .3s, box-shadow .4s;
  display: flex; flex-direction: column; cursor: pointer;
}
.sp-acccard:hover {
  transform: translateY(-6px); background: rgba(255,255,255,.09);
  border-color: rgba(244,180,0,.35); box-shadow: var(--sp-shadow-hov);
}
.sp-acc-photo { aspect-ratio: 16/10; overflow: hidden; background: #1a2755; position: relative; }
.sp-acc-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 40%, rgba(13,21,48,.72) 100%);
}
.sp-acc-photo img { width: 100%; height: 100%; object-fit: cover; transition: .6s var(--sp-ease); opacity: .88; }
.sp-acccard:hover .sp-acc-photo img { transform: scale(1.08); }
.sp-acc-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.sp-acc-body h3 { font-family: var(--display); font-weight: 800; font-size: 19px; color: #fff; }
.sp-acc-body p { font-size: 14px; color: rgba(255,255,255,.62); margin-top: 8px; line-height: 1.5; flex: 1; }
.sp-acc-shop {
  margin-top: 18px; display: flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 800; font-size: 13.5px; color: var(--gold-2);
}
.sp-acc-shop svg { width: 18px; height: 18px; flex: none; transition: transform .3s; }
.sp-acccard:hover .sp-acc-shop svg { transform: translateX(4px); }

/* =========================================================
   SHOP SECTION — clean light background
   ========================================================= */
.sp-shop-section {
  background: linear-gradient(180deg, #f4f7fc 0%, #eef2fb 100%) !important;
  color: #16224d !important;
}
.sp-shop-section .sec-head h2 { color: #16224d !important; }
.sp-shop-section .eyebrow { color: var(--gold-d, #c08e0d) !important; }
.sp-shop-section .eyebrow::before { background: var(--gold) !important; }
.sp-shop-section .lead { color: #51618f !important; }

/* =========================================================
   SHOP TOOLBAR — light
   ========================================================= */
.sp-toolbar {
  display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center;
  background: #fff; border: 1.5px solid #dde4f4;
  border-radius: 100px; padding: 8px 8px 8px 24px;
  box-shadow: 0 4px 24px -8px rgba(20,30,70,.12);
  margin-bottom: 32px;
}
.sp-search { position: relative; flex: 1; display: flex; align-items: center; }
.sp-search .s-ico { width: 20px; height: 20px; color: #9298bb; margin-right: 12px; }
.sp-search input {
  flex: 1; border: none; background: none;
  font-family: var(--body); font-size: 15.5px; color: #16224d;
  outline: none; padding: 12px 0;
}
.sp-search input::placeholder { color: #9298bb; }

.s-tools { display: flex; align-items: center; gap: 4px; }
.s-tool {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: none; background: none; color: #9298bb; cursor: pointer; transition: .2s;
}
.s-tool:hover { background: #f0f4ff; color: #1b3f9c; }
.s-tool svg { width: 18px; height: 18px; }
@keyframes spPulse { 0%,100%{ transform:scale(1); opacity:1; } 50%{ transform:scale(1.1); opacity:.7; } }
.s-tool.listening { color: var(--red); animation: spPulse 1.5s infinite; }

.sp-sort { position: relative; }
.sp-sort select {
  appearance: none; background: #f4f7fc; border: none; border-radius: 100px;
  padding: 12px 42px 12px 20px; font-family: var(--display); font-weight: 800; font-size: 13.5px;
  color: #16224d; cursor: pointer; outline: none;
}
.sp-sort select option { background: #fff; color: #16224d; }
.sp-sort .chev {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; pointer-events: none; color: #9298bb;
}

.sp-filter-toggle {
  display: inline-flex; align-items: center; gap: 8px; background: #16224d;
  color: #fff; border: none; border-radius: 100px;
  padding: 12px 22px; font-family: var(--display); font-weight: 800; font-size: 14px;
  cursor: pointer; transition: .2s; white-space: nowrap; flex-shrink: 0;
}
.sp-filter-toggle:hover { background: #1b3f9c; box-shadow: 0 8px 20px -8px rgba(27,63,156,.5); }
.sp-filter-toggle svg { width: 18px; height: 18px; opacity: .8; }
#spFilterCount { font-size: 12px; background: rgba(255,255,255,.2); border-radius: 100px; padding: 2px 7px; margin-left: 2px; }

/* =========================================================
   SEARCH SUGGESTIONS DROPDOWN
   ========================================================= */
.sp-suggest {
  position: absolute; top: calc(100% + 12px); left: -24px; right: -12px;
  background: #16224d; border: 1.5px solid rgba(255,255,255,.16);
  border-radius: 20px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.5);
  z-index: 200; display: none; overflow: hidden; padding: 8px 0;
}
.sp-suggest.open { display: block; }
.sp-sug-h {
  font-family: var(--display); font-weight: 800; font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.45); padding: 8px 18px 4px;
}
.sp-sug {
  display: flex; align-items: center; gap: 12px;
  width: 100%; text-align: left; padding: 12px 18px;
  background: none; border: none; cursor: pointer; transition: .15s;
}
.sp-sug:hover { background: rgba(255,255,255,.08); }
.sg-ic {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(244,180,0,.15); color: var(--gold-2); flex: none;
}
.sg-ic svg { width: 18px; height: 18px; }
.sg-main { flex: 1; min-width: 0; }
.sg-name {
  display: block; font-family: var(--display); font-weight: 700; font-size: 14.5px;
  color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sg-cat { display: block; font-size: 12px; color: rgba(255,255,255,.5); margin-top: 2px; }
.sg-pr { font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--gold-2); white-space: nowrap; }
.sp-sug-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 18px 8px; }
.sp-sug-chip {
  background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8); border-radius: 100px;
  padding: 6px 14px; font-family: var(--display); font-weight: 700; font-size: 12.5px;
  cursor: pointer; transition: .2s;
}
.sp-sug-chip:hover { border-color: var(--gold); color: var(--gold-2); background: rgba(244,180,0,.1); }

/* =========================================================
   QUICK FILTER CHIPS — light
   ========================================================= */
.sp-quick {
  display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 10px;
  margin-bottom: 24px; padding-bottom: 8px; scrollbar-width: none;
}
.sp-quick::-webkit-scrollbar { display: none; }
.sp-qchip {
  flex: none; font-family: var(--display); font-weight: 700; font-size: 13.5px;
  color: #51618f; background: #fff; border: 1.5px solid #dde4f4;
  padding: 10px 22px; border-radius: 100px; cursor: pointer; transition: .2s; white-space: nowrap;
}
.sp-qchip:hover { color: #1b3f9c; border-color: #1b3f9c; background: #f0f4ff; }
.sp-qchip.on {
  color: #fff; background: #1b3f9c; border-color: #1b3f9c;
  box-shadow: 0 8px 20px -8px rgba(27,63,156,.4);
}

/* =========================================================
   SHOP LAYOUT
   ========================================================= */
.sp-layout { display: grid; grid-template-columns: 1fr; gap: 0; align-items: flex-start; margin-top: 40px; }
.sp-results-head { margin-bottom: 18px; }
.sp-count { font-family: var(--display); font-weight: 700; font-size: 14px; color: #9298bb; }
.sp-count b { color: #16224d; font-weight: 900; }

/* =========================================================
   PRODUCT CARDS — PREMIUM CINEMATIC
   ========================================================= */
.sp-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

.pp-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: 22px; overflow: hidden;
  background: #fff;
  border: 1.5px solid #e4eaf6;
  box-shadow: 0 4px 20px -6px rgba(20,30,70,.1);
  transition: box-shadow .4s var(--sp-ease), transform .4s var(--sp-ease), border-color .3s;
  cursor: pointer;
}
.pp-card:hover {
  transform: translateY(-8px);
  border-color: rgba(244,180,0,.55);
  box-shadow:
    0 20px 50px -10px rgba(20,30,70,.18),
    0 0 0 1px rgba(244,180,0,.25);
}

/* ── Media area — atmospheric icon showcase ── */
.pp-media {
  position: relative; aspect-ratio: 16/10;
  border-radius: 22px 22px 0 0;
  display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(120% 100% at 50% 0%, #243470, #0f1838);
}
/* ambient glow layers */
.pp-media::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(55% 55% at 50% 55%, rgba(244,180,0,.18), transparent 65%),
    radial-gradient(40% 35% at 80% 20%, rgba(80,120,255,.14), transparent 60%);
  transition: opacity .5s;
}
.pp-card:hover .pp-media::before { opacity: 1.5; }
/* bottom-to-body gradient */
.pp-media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 38%,
    rgba(13,21,48,.5) 72%,
    rgba(19,29,64,.95) 100%
  );
}

/* large glowing icon */
.pp-media .pic {
  position: relative; z-index: 2;
  width: 52%; height: auto; color: var(--gold-2);
  opacity: .88;
  filter: drop-shadow(0 0 18px rgba(244,180,0,.55)) drop-shadow(0 8px 20px rgba(0,0,0,.6));
  transition: transform .65s var(--sp-ease), filter .5s, opacity .4s;
}
.pp-card:hover .pp-media .pic {
  transform: scale(1.12) rotate(-4deg) translateY(-4px);
  filter: drop-shadow(0 0 28px rgba(244,180,0,.8)) drop-shadow(0 12px 24px rgba(0,0,0,.5));
  opacity: 1;
}

/* ribbon */
.pp-ribbon { position: absolute; top: 0; left: 0; z-index: 5; width: 92px; height: 92px; overflow: hidden; pointer-events: none; }
.pp-ribbon::after {
  content: "GENUINE"; position: absolute; top: 20px; left: -24px; width: 110px;
  text-align: center; transform: rotate(-45deg);
  font-family: var(--display); font-weight: 900; font-size: 9px; letter-spacing: .07em;
  padding: 6px 0; background: linear-gradient(90deg,var(--gold),var(--gold-2)); color: #0f1838;
}
.pp-ribbon.pop::after { content:"POPULAR"; background:linear-gradient(90deg,#122a6e,#1b3f9c); color:var(--gold-2); }

/* discount chip */
.pp-disc {
  position: absolute; right: 14px; top: 14px; z-index: 5;
  background: rgba(9,15,38,.82); backdrop-filter: blur(6px);
  color: #ff7266; font-family: var(--display); font-weight: 900; font-size: 12px;
  padding: 5px 10px; border-radius: 10px; border: 1px solid rgba(255,107,91,.3);
}

/* body */
.pp-body {
  padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; gap: 0;
  background: #fff;
}
.pp-sku { font-family: var(--display); font-weight: 700; font-size: 9.5px; color: #9298bb; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 5px; }
.pp-name-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pp-name { font-family: var(--display); font-weight: 900; font-size: 17.5px; color: #16224d; line-height: 1.15; margin: 0; letter-spacing: -.015em; }
.pp-rating { display: inline-flex; align-items: center; gap: 3px; font-family: var(--display); font-weight: 800; font-size: 12.5px; color: #16224d; margin-top: 3px; flex-shrink: 0; }
.pp-tagline { font-size: 12px; color: #51618f; line-height: 1.45; margin: 6px 0 2px; }
.pp-reviews { font-size: 11px; color: #9298bb; }

/* spec strip */
.pp-specs {
  display: flex; padding: 11px 6px; margin: 12px 0 8px;
  border-top: 1px solid #eef1f8; border-bottom: 1px solid #eef1f8;
  background: #f4f7fc; border-radius: 10px;
}
.pp-spec-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.pp-spec-col + .pp-spec-col { border-left: 1px solid #eef1f8; }
.pp-spec-lbl { font-family: var(--display); font-weight: 700; font-size: 7.5px; color: #9298bb; text-transform: uppercase; letter-spacing: .12em; }
.pp-spec-val { font-family: var(--display); font-weight: 800; font-size: 12px; color: #16224d; line-height: 1.2; }

/* price */
.pp-price {
  font-family: var(--display); font-weight: 900; font-size: 24px;
  color: #1b3f9c; margin-top: 4px; line-height: 1;
}
.pp-price-ast { font-size: .52em; color: #9298bb; vertical-align: super; font-weight: 600; margin-left: 2px; }

/* footer */
.pp-card-foot { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.pp-enq {
  flex: 1; padding: 13px 0; border-radius: 14px;
  font-family: var(--display); font-weight: 800; font-size: 14px;
  color: #0f1838;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  text-align: center; border: none; cursor: pointer;
  box-shadow: 0 8px 22px -8px rgba(244,180,0,.55);
  transition: transform .28s var(--sp-ease), box-shadow .28s, filter .28s;
}
.pp-enq:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -8px rgba(244,180,0,.75);
  filter: brightness(1.06);
}
.pp-compare {
  flex: none; padding: 12px 14px; border-radius: 14px;
  font-family: var(--display); font-weight: 700; font-size: 12.5px;
  color: #51618f;
  background: #f4f7fc; border: 1.5px solid #dde4f4;
  cursor: pointer; white-space: nowrap; transition: .22s;
}
.pp-compare:hover { color: #1b3f9c; border-color: #1b3f9c; background: #eef2fb; }

/* =========================================================
   FILTER SIDEBAR — light clean
   ========================================================= */
.sp-side { display: none; }
.sp-fgroup { border-top: 1px solid #eef1f8; padding: 20px 0; }
.sp-fgroup:first-child { border-top: none; padding-top: 0; }
.sp-fgroup-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  font-family: var(--display); font-weight: 800; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .1em; color: #16224d;
  margin-bottom: 14px; background: none; border: none; cursor: pointer; padding: 0;
}
.sp-fgroup-head .fchev { width: 16px; height: 16px; color: #9298bb; transition: transform .3s; }
.sp-fgroup.collapsed .fchev { transform: rotate(-90deg); }
.sp-fgroup.collapsed .sp-fgroup-body { display: none; }

.sp-checkrow {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; gap: 12px; padding: 7px 0; cursor: pointer;
  font-family: var(--body); font-size: 14px; color: #51618f;
  transition: .2s; border: none; background: none; text-align: left;
}
.sp-checkrow:hover { color: #1b3f9c; }
.sp-checkrow .lbl { flex: 1; }
.sp-checkrow .cnt {
  font-size: 11px; font-weight: 800; color: #9298bb;
  background: #f4f7fc; padding: 2px 7px; border-radius: 100px;
}
.sp-checkrow .sp-box {
  width: 19px; height: 19px; border-radius: 6px;
  border: 1.8px solid #dde4f4; position: relative; flex: none; transition: .2s;
}
.sp-checkrow.on .sp-box { background: #1b3f9c; border-color: #1b3f9c; }
.sp-checkrow.on .sp-box svg {
  width: 13px; height: 13px; color: #fff;
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
}
.sp-fmore {
  background: none; border: none; color: #1b3f9c;
  font-family: var(--display); font-weight: 800; font-size: 12.5px;
  cursor: pointer; padding: 8px 0; margin-top: 4px;
}

/* Price Range */
.sp-range { padding: 10px 4px 0; }
.sp-range-track { position: relative; height: 4px; background: #dde4f4; border-radius: 2px; margin-bottom: 24px; }
.sp-range-fill { position: absolute; top: 0; height: 100%; background: #1b3f9c; border-radius: 2px; }
.sp-range input[type=range] {
  position: absolute; pointer-events: none; appearance: none; z-index: 2;
  height: 10px; width: 100%; opacity: 0; margin: 0; top: -3px;
}
.sp-range input::-webkit-slider-thumb {
  appearance: none; pointer-events: all; width: 20px; height: 20px;
  border-radius: 50%; background: #fff; cursor: pointer;
  border: 2px solid #1b3f9c; box-shadow: 0 3px 8px rgba(20,30,70,.2);
}
.sp-range-vals {
  display: flex; justify-content: space-between;
  font-family: var(--display); font-weight: 800; font-size: 13.5px; color: #16224d;
}

/* Rating rows */
.sp-rate-row { display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: none; padding: 7px 0; cursor: pointer; transition: .2s; }
.sp-rate-row .stars { display: flex; gap: 2px; color: #dde4f4; }
.sp-rate-row .stars svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.sp-rate-row .stars .f { color: var(--gold); }
.sp-rate-row .up { font-size: 13px; font-weight: 700; color: #51618f; }
.sp-rate-row.on .up { color: #1b3f9c; font-weight: 800; }

/* =========================================================
   ACTIVE FILTER TAGS — light
   ========================================================= */
.sp-active { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 28px; }
.sp-active .lbl {
  font-family: var(--display); font-weight: 800; font-size: 11px;
  text-transform: uppercase; letter-spacing: .08em; color: #9298bb; margin-right: 8px;
}
.sp-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1.5px solid #dde4f4;
  border-radius: 100px; padding: 6px 12px;
  font-size: 13px; font-weight: 700; color: #16224d; cursor: pointer; transition: .2s;
  box-shadow: 0 2px 8px -4px rgba(20,30,70,.1);
}
.sp-tag:hover { border-color: #df241b; color: #df241b; background: #fff5f5; }
.sp-tag svg { width: 14px; height: 14px; opacity: .6; }
.sp-tag:hover svg { opacity: 1; }
.cl-all {
  background: none; border: none; color: #9298bb;
  font-family: var(--display); font-weight: 800; font-size: 12.5px; cursor: pointer;
}
.cl-all:hover { color: #df241b; }

/* =========================================================
   PAGINATION — light
   ========================================================= */
.sp-pager {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 50px; padding-top: 40px;
  border-top: 1px solid #eef1f8;
}
.sp-pg {
  min-width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: #fff; border: 1.5px solid #dde4f4;
  font-family: var(--display); font-weight: 800; font-size: 14.5px;
  color: #51618f; cursor: pointer; transition: .2s;
}
.sp-pg:hover { border-color: #1b3f9c; color: #1b3f9c; background: #f0f4ff; }
.sp-pg.on { background: #1b3f9c; color: #fff; border-color: #1b3f9c; box-shadow: 0 8px 20px -8px rgba(27,63,156,.5); }
.sp-pg[disabled] { opacity: .3; cursor: default; pointer-events: none; }
.sp-pg.nav svg { width: 20px; height: 20px; }
.sp-pg.dots { pointer-events: none; color: #9298bb; border: none; background: none; }

/* =========================================================
   WHY CHOOSE GENUINE  (soil-deep section — dark glass)
   ========================================================= */
.sp-why-grid2 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.why2-card {
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--sp-radius); padding: 32px; box-shadow: var(--sp-shadow);
  transition: transform .4s var(--sp-ease), background .3s, border-color .3s, box-shadow .4s;
}
.why2-card:hover {
  transform: translateY(-6px); background: rgba(255,255,255,.09);
  border-color: rgba(244,180,0,.35); box-shadow: var(--sp-shadow-hov);
}
.why2-card .ic {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(244,180,0,.15); color: var(--gold-2); margin-bottom: 20px;
}
.why2-card .ic svg { width: 26px; height: 26px; }
.why2-card .kicker {
  font-family: var(--display); font-weight: 800; font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2);
  display: block; margin-top: 6px; margin-bottom: 6px;
}
.why2-card h3 { font-size: 20px; color: #fff; }
.why2-card p { font-size: 14.5px; color: rgba(255,255,255,.62); margin-top: 8px; line-height: 1.5; }

/* =========================================================
   TRUST STRIP  (soil section — dark glass grid)
   ========================================================= */
.sp-trust {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: rgba(255,255,255,.1);
  border-radius: var(--sp-radius); overflow: hidden; border: 1px solid rgba(255,255,255,.1);
}
.ti { background: rgba(255,255,255,.045); padding: 28px 22px; display: flex; align-items: center; gap: 16px; transition: background .3s; }
.ti:hover { background: rgba(255,255,255,.09); }
.ti-ic {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(150deg,var(--gold-2),var(--gold)); color: #16224d;
}
.ti-ic svg { width: 22px; height: 22px; }
.ti b { font-family: var(--display); font-weight: 800; font-size: 15px; color: #fff; display: block; }
.ti span { font-size: 12.5px; color: rgba(255,255,255,.58); margin-top: 3px; display: block; }

/* =========================================================
   CTA SECTION  (soil-deep — matches rest of site)
   ========================================================= */
.about-cta { text-align: center; max-width: 700px; margin: 0 auto; }
.about-cta h2 { color: #fff; font-size: clamp(36px,5.5vw,80px); }
.about-cta p { color: rgba(255,255,255,.72); margin-top: 18px; font-size: clamp(16px,1.5vw,20px); }
.acta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* =========================================================
   MOBILE FILTER DRAWER — RIGHT-SIDE PANEL (from right)
   ========================================================= */
.sp-drawer { position: fixed; inset: 0; z-index: 9200; display: none; }
.sp-drawer.open { display: block; }

/* Blurred backdrop */
.sp-drawer-back { position: absolute; inset: 0; background: rgba(8,12,30,.45); backdrop-filter: blur(6px); }

/* Right-side sliding panel */
.sp-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(92vw, 440px);
  background: #fff; border-radius: 24px 0 0 24px;
  transform: translateX(100%); transition: transform .42s cubic-bezier(.16,1,.3,1);
  display: flex; flex-direction: column;
  box-shadow: -24px 0 70px -12px rgba(0,0,0,.35);
}
.sp-drawer.open .sp-drawer-panel { transform: none; }

/* Header */
.sp-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px 18px; border-bottom: 1px solid #eef1f8; flex-shrink: 0;
}
.sp-drawer-head h3 { font-family: var(--display); font-weight: 800; font-size: 17px; color: #16224d; }
.sp-drawer-head-right { display: flex; align-items: center; gap: 10px; }
.sp-drawer-clrall {
  font-family: var(--display); font-weight: 700; font-size: 12px;
  color: #9298bb; background: none; border: none; cursor: pointer; padding: 0; transition: .2s;
}
.sp-drawer-clrall:hover { color: #df241b; }
.sp-drawer-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: #f0f3fb; color: #51618f;
  display: grid; place-items: center; border: none; cursor: pointer; flex-shrink: 0; transition: .2s;
}
.sp-drawer-close:hover { background: #fdeaea; color: #df241b; }
.sp-drawer-close svg { width: 16px; height: 16px; }

/* Scrollable body */
.sp-drawer-body {
  flex: 1; overflow-y: auto; padding: 8px 24px 8px;
  scrollbar-width: thin; scrollbar-color: #dde4f4 transparent;
}

/* Sticky Apply + Cancel footer */
.sp-drawer-foot {
  display: flex; gap: 10px; padding: 14px 24px 24px;
  border-top: 1px solid #eef1f8; flex-shrink: 0; background: #fff;
}
.sp-drawer-reset {
  flex: 1; padding: 14px 0; border-radius: 14px;
  font-family: var(--display); font-weight: 700; font-size: 14px;
  color: #51618f; background: #f4f7fc; border: 1.5px solid #dee3ef;
  cursor: pointer; transition: .2s;
}
.sp-drawer-reset:hover { color: #16224d; border-color: #9298bb; background: #eef1f8; }
.sp-drawer-apply {
  flex: 2; padding: 14px 0; border-radius: 14px;
  font-family: var(--display); font-weight: 800; font-size: 14px;
  color: #fff; background: #16224d; border: none; cursor: pointer; transition: .2s;
}
.sp-drawer-apply:hover { background: #1b3f9c; box-shadow: 0 8px 20px -8px rgba(27,63,156,.5); }

/* Drawer search field */
.sp-drawer-search {
  position: relative; display: flex; align-items: center; gap: 10px;
  background: #f4f7fc; border: 1.5px solid #dee3ef; border-radius: 12px;
  padding: 10px 14px; margin-bottom: 16px; transition: border-color .2s;
}
.sp-drawer-search:focus-within { border-color: #1b3f9c; background: #fff; }
.sp-drawer-search .ico { width: 17px; height: 17px; color: #9298bb; flex-shrink: 0; }
.sp-drawer-search input {
  flex: 1; border: none; background: none; outline: none;
  font-family: var(--body); font-size: 14px; color: #16224d;
}
.sp-drawer-search input::placeholder { color: #9298bb; }
.sp-drawer-search .clr {
  width: 26px; height: 26px; border-radius: 50%; border: none;
  background: none; color: #c0c8de; cursor: pointer; display: none;
  place-items: center; transition: .2s;
}
.sp-drawer-search .clr svg { width: 14px; height: 14px; }
.sp-drawer-search .clr:hover { color: #16224d; }
.sp-drawer-search.has-val .clr { display: grid; }

/* Light theme overrides inside the drawer */
.sp-drawer-body .sp-fgroup { border-top: 1px solid #eef1f8; padding: 14px 0 4px; }
.sp-drawer-body .sp-fgroup:first-child { border-top: none; padding-top: 0; }
.sp-drawer-body .sp-fgroup-head {
  color: #16224d; font-size: 13px; letter-spacing: .02em; text-transform: none; font-weight: 800;
}
.sp-drawer-body .sp-fgroup-head .fchev { color: #9298bb; }
.sp-drawer-body .sp-checkrow { color: #51618f; font-size: 14px; }
.sp-drawer-body .sp-checkrow:hover { color: #1b3f9c; }
.sp-drawer-body .sp-checkrow .cnt { background: #f4f7fc; color: #9298bb; }
.sp-drawer-body .sp-checkrow .sp-box { border-color: #dee3ef; }
.sp-drawer-body .sp-checkrow.on .sp-box { background: #16224d; border-color: #16224d; }
.sp-drawer-body .sp-checkrow.on .sp-box svg { color: #fff; }
.sp-drawer-body .sp-range-track { background: #e4eaf6; }
.sp-drawer-body .sp-range-fill { background: #1b3f9c; }
.sp-drawer-body .sp-range-vals { color: #16224d; }
.sp-drawer-body .sp-range input::-webkit-slider-thumb { border-color: #1b3f9c; }
.sp-drawer-body .sp-rate-row .up { color: #51618f; }
.sp-drawer-body .sp-rate-row.on .up { color: #1b3f9c; }
.sp-drawer-body .sp-rate-row .stars { color: #dee3ef; }
.sp-drawer-body .sp-rate-row .stars .f { color: var(--gold); }
.sp-drawer-body .sp-fmore { color: #1b3f9c; }

/* =========================================================
   EMPTY STATE
   ========================================================= */
.sp-empty { padding: 80px 20px; text-align: center; }
.sp-empty svg { width: 64px; height: 64px; color: #9298bb; margin-bottom: 20px; stroke-width: 1; }
.sp-empty p { font-size: 18px; color: #51618f; font-weight: 600; }
.sp-empty button {
  margin-top: 16px; background: none; border: none; color: var(--gold-2);
  font-family: var(--display); font-weight: 800; font-size: 15px;
  cursor: pointer; text-decoration: underline;
}

/* =========================================================
   RESPONSIVE — full mobile / tablet coverage
   ========================================================= */

/* Tablet landscape: 3→2 col product grid */
@media (max-width:1200px){
  .sp-grid { grid-template-columns: repeat(2,1fr); }
  .sp-layout { gap: 28px; }
}

/* Tablet: sidebar hidden, filter toggle shown, 2-col accessories & why */
@media (max-width:1024px){
  .sp-cat-grid   { grid-template-columns: repeat(2,1fr); }
  .sp-acc-grid   { grid-template-columns: repeat(2,1fr); }
  .sp-why-grid2  { grid-template-columns: repeat(2,1fr); }
  .sp-trust      { grid-template-columns: repeat(2,1fr); }
}

/* Hero splits to single column */
@media (max-width:860px){
  .ahero .wrap.ahero-split { grid-template-columns: 1fr; gap: clamp(36px,7vw,56px); }
  .ahero-media  { max-width: 480px; order: -1; }
  .ahero-media-badge { left: 0; }
  .ahero-stats > div { padding-right: 26px; margin-right: 26px; }
}

/* ── Mobile: strip toolbar card, show only Filter button on right ── */
@media (max-width:768px){
  .sp-toolbar {
    background: none; border: none; box-shadow: none;
    padding: 0; border-radius: 0; margin-bottom: 20px;
    display: flex; justify-content: flex-end; align-items: center;
  }
  .sp-search { display: none; } /* search lives inside the drawer */
  .sp-sort   { display: none; } /* sort lives inside the drawer   */
  .sp-filter-toggle { flex: none; width: auto; justify-content: center; gap: 10px; }
  .sp-grid { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .sp-cat-grid { grid-template-columns: repeat(2,1fr); }
}

/* Small phone */
@media (max-width:500px){
  .sp-cat-grid  { grid-template-columns: 1fr; }
  .sp-acc-grid  { grid-template-columns: 1fr; }
  .sp-why-grid2 { grid-template-columns: 1fr; }
  .sp-trust     { grid-template-columns: 1fr; }
  .sp-grid      { grid-template-columns: 1fr; gap: 14px; }
  .pp-card { border-radius: 16px; }
  .pp-name { font-size: 16px; }
  .sp-hero-ctas { flex-direction: column; }
  .sp-hero-ctas .btn { width: 100%; justify-content: center; }
  .acta-actions { flex-direction: column; }
  .acta-actions .btn { width: 100%; justify-content: center; }
  .ahero-media-badge {
    position: static; margin-top: 16px; width: 100%;
    border-radius: 14px; justify-content: center;
  }
}

/* Very small screens: 1-col product grid */
@media (max-width:360px){
  .sp-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   PRODUCT CARD — MOBILE (matches tractor list card style)
   White card on dark navy page — identical aesthetic to
   .tt-card on the Tractors page.
   ========================================================= */
@media (max-width: 640px) {
  /* One card per row */
  .sp-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Card — white, same as tractor card */
  .pp-card {
    background: #fff;
    border: 1.5px solid #e4eaf6;
    border-radius: 18px;
    box-shadow: 0 4px 20px -6px rgba(20,30,70,.1);
  }
  .pp-card:hover {
    transform: translateY(-8px);
    border-color: rgba(244,180,0,.55);
    box-shadow: 0 20px 50px -10px rgba(20,30,70,.18), 0 0 0 1px rgba(244,180,0,.25);
  }

  /* Media — wider landscape ratio on full-width card */
  .pp-media { aspect-ratio: 16/8; border-radius: 18px 18px 0 0; }
  .pp-media .pic { width: 38%; }

  /* Body — white, matches tractor card body */
  .pp-body {
    background: #fff;
    padding: 16px 18px 18px;
  }

  /* SKU */
  .pp-sku { color: #9298bb; font-size: 9px; }

  /* Name row — inline */
  .pp-name-row { flex-direction: row; align-items: flex-start; gap: 8px; }
  .pp-name { font-size: 17px; color: #16224d; line-height: 1.15; }
  .pp-rating { color: #16224d; font-size: 12px; margin-top: 3px; }

  /* Tagline */
  .pp-tagline { font-size: 12.5px; color: #51618f; margin: 5px 0 2px; }
  .pp-reviews { display: none; }

  /* Spec strip — light, same as tractor spec strip */
  .pp-specs {
    background: #f4f7fc;
    border-top: 1px solid #eef1f8;
    border-bottom: 1px solid #eef1f8;
    border-left: none; border-right: none;
    border-radius: 10px;
    padding: 11px 6px; margin: 12px 0 8px;
  }
  .pp-spec-col + .pp-spec-col { border-left-color: #eef1f8; }
  .pp-spec-lbl { color: #9298bb; font-size: 7.5px; }
  .pp-spec-val { color: #16224d !important; font-size: 12px !important; }

  /* Price — blue, same as tractor price */
  .pp-price { font-size: 21px; color: #1b3f9c; margin-top: 4px; }
  .pp-price-ast { color: #9298bb; }

  /* Footer — gold CTA + ghost compare, same as tractor card */
  .pp-card-foot { gap: 10px; margin-top: 14px; }
  .pp-enq {
    flex: 1; padding: 13px 0;
    font-size: 14px; border-radius: 14px;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: #0f1838;
    box-shadow: 0 8px 22px -8px rgba(244,180,0,.55);
  }
  .pp-enq:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px -8px rgba(244,180,0,.75);
    filter: brightness(1.06);
  }
  .pp-compare {
    flex: none; padding: 12px 14px; border-radius: 14px;
    font-size: 12.5px; color: #51618f;
    background: #f4f7fc; border: 1.5px solid #dde4f4;
    white-space: nowrap;
  }
  .pp-compare:hover { color: #1b3f9c; border-color: #1b3f9c; background: #eef2fb; }
}
