/* ==========================================================================
   Shree Motors — front-end stylesheet
   Layout adapted from the Elemart e-commerce template structure.
   Palette derived from the Shree Motors logo (maroon / chrome / peacock).
   ========================================================================== */

:root{
  --brand:#9c1420; --brand-400:#c62330; --brand-600:#7d0f19; --brand-900:#4b070d;
  --brand-soft:#fdf2f3; --brand-tint:#f7e4e6;
  --gold:#c9a227; --teal:#127a94;
  --ink:#14181d; --ink-2:#3b4249; --muted:#6b7480; --muted-2:#98a1ab;
  --line:#e4e8ec; --line-2:#eef1f4;
  --chrome:#c8ced4; --chrome-2:#9aa2aa;
  --bg:#ffffff; --bg-soft:#f5f7f9; --bg-dark:#14181d;
  --ok:#17845a; --ok-soft:#e7f6ef;
  --warn:#b26b00; --warn-soft:#fdf3e2;
  --danger:#c0392b; --danger-soft:#fdecea;
  --info:#1d6fa5; --info-soft:#e8f2f9;
  --r-sm:8px; --r:12px; --r-lg:18px; --r-xl:26px; --r-pill:999px;
  --sh-1:0 1px 2px rgba(20,24,29,.06),0 1px 3px rgba(20,24,29,.05);
  --sh-2:0 6px 18px rgba(20,24,29,.08);
  --sh-3:0 18px 44px rgba(20,24,29,.13);
  --sh-brand:0 12px 28px rgba(156,20,32,.28);
  --ff-head:"Poppins",-apple-system,"Segoe UI",sans-serif;
  --ff-body:"Nunito","Segoe UI",sans-serif;
  --wrap:1240px; --header-h:82px;
  --t:.22s cubic-bezier(.4,0,.2,1);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink-2);font-family:var(--ff-body);font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased}
img,svg,video{max-width:100%;height:auto;display:block}
a{color:var(--brand);text-decoration:none;transition:color var(--t)}
a:hover{color:var(--brand-400)}
h1,h2,h3,h4,h5,h6{font-family:var(--ff-head);color:var(--ink);margin:0 0 .5em;line-height:1.22;font-weight:700;letter-spacing:-.01em}
h1{font-size:clamp(2rem,4.2vw,3.35rem);font-weight:800}
h2{font-size:clamp(1.6rem,2.9vw,2.4rem);font-weight:800}
h3{font-size:clamp(1.2rem,1.9vw,1.6rem)}
h4{font-size:1.12rem}
p{margin:0 0 1rem}
ul,ol{margin:0 0 1rem;padding-left:1.15rem}
hr{border:0;border-top:1px solid var(--line);margin:2rem 0}
::selection{background:var(--brand);color:#fff}
:focus-visible{outline:3px solid rgba(156,20,32,.35);outline-offset:2px;border-radius:4px}

.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:20px}
.wrap-wide{max-width:1480px}
.sec{padding:76px 0}
.sec-sm{padding:52px 0}
.sec-soft{background:var(--bg-soft)}
.sec-dark{background:var(--bg-dark);color:#c8ced4}
.sec-dark h1,.sec-dark h2,.sec-dark h3{color:#fff}
.text-center{text-align:center}
.mt-0{margin-top:0}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}
.muted{color:var(--muted)}
.small{font-size:.86rem}
.nowrap{white-space:nowrap}
.hide{display:none!important}

/* ---------- grid ---------- */
.grid{display:grid;gap:26px}
.g-2{grid-template-columns:repeat(2,1fr)}
.g-3{grid-template-columns:repeat(3,1fr)}
.g-4{grid-template-columns:repeat(4,1fr)}
.g-6{grid-template-columns:repeat(6,1fr)}
.flex{display:flex}
.between{justify-content:space-between}
.items-center{align-items:center}
.gap-1{gap:.5rem}.gap-2{gap:1rem}.gap-3{gap:1.5rem}
.wrapf{flex-wrap:wrap}

/* ---------- buttons ---------- */
.btn{
  --bh:#7d0f19;
  display:inline-flex;align-items:center;justify-content:center;gap:.55rem;
  font-family:var(--ff-head);font-weight:600;font-size:.95rem;line-height:1;
  padding:.92rem 1.7rem;border-radius:var(--r-pill);border:1.5px solid transparent;
  background:var(--brand);color:#fff;cursor:pointer;transition:all var(--t);
  text-align:center;white-space:nowrap;
}
.btn:hover{background:var(--bh);color:#fff;transform:translateY(-2px);box-shadow:var(--sh-brand)}
.btn:active{transform:translateY(0)}
.btn svg{width:18px;height:18px;flex:none}
.btn-outline{background:transparent;color:var(--brand);border-color:var(--brand)}
.btn-outline:hover{background:var(--brand);color:#fff}
.btn-dark{background:var(--ink);--bh:#000}
.btn-ghost{background:#fff;color:var(--ink);border-color:var(--line)}
.btn-ghost:hover{background:var(--ink);color:#fff;border-color:var(--ink);box-shadow:var(--sh-2)}
.btn-light{background:#fff;color:var(--brand)}
.btn-light:hover{background:var(--brand-soft);color:var(--brand-600);box-shadow:var(--sh-2)}
.btn-gold{background:var(--gold);--bh:#a98717;color:#1d1a0a}
.btn-danger{background:var(--danger);--bh:#96291d}
.btn-ok{background:var(--ok);--bh:#116441}
.btn-sm{padding:.6rem 1.15rem;font-size:.84rem}
.btn-lg{padding:1.1rem 2.3rem;font-size:1.02rem}
.btn-block{display:flex;width:100%}
.btn[disabled],.btn.is-disabled{opacity:.5;pointer-events:none}

/* ---------- badges / chips ---------- */
.badge{display:inline-flex;align-items:center;gap:.35rem;font-family:var(--ff-head);font-size:.72rem;font-weight:600;
  letter-spacing:.04em;text-transform:uppercase;padding:.35rem .7rem;border-radius:var(--r-pill);background:var(--bg-soft);color:var(--ink-2)}
.badge-brand{background:var(--brand);color:#fff}
.badge-gold{background:var(--gold);color:#1d1a0a}
.badge-ok{background:var(--ok-soft);color:var(--ok)}
.badge-warn{background:var(--warn-soft);color:var(--warn)}
.badge-danger{background:var(--danger-soft);color:var(--danger)}
.badge-info{background:var(--info-soft);color:var(--info)}
.badge-dark{background:var(--ink);color:#fff}
.chip{display:inline-flex;align-items:center;gap:.4rem;padding:.42rem .85rem;border:1px solid var(--line);
  border-radius:var(--r-pill);background:#fff;font-size:.83rem;color:var(--ink-2);transition:all var(--t)}
.chip:hover{border-color:var(--brand);color:var(--brand)}
.chip.is-on{background:var(--brand);border-color:var(--brand);color:#fff}
.chip-x{font-weight:700;opacity:.7}

/* ---------- forms ---------- */
.field{margin-bottom:1.15rem}
.label{display:block;font-family:var(--ff-head);font-size:.85rem;font-weight:600;color:var(--ink);margin-bottom:.4rem}
.label .req{color:var(--brand)}
.input,.select,.textarea{
  width:100%;font-family:var(--ff-body);font-size:.95rem;color:var(--ink);background:#fff;
  border:1.5px solid var(--line);border-radius:var(--r);padding:.78rem 1rem;transition:all var(--t);
}
.input:focus,.select:focus,.textarea:focus{outline:0;border-color:var(--brand);box-shadow:0 0 0 4px rgba(156,20,32,.1)}
.textarea{min-height:130px;resize:vertical}
.select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7480' stroke-width='3'%3E%3Cpath d='M5 8l7 8 7-8'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 1rem center;padding-right:2.6rem}
.help{font-size:.8rem;color:var(--muted);margin-top:.3rem}
.err{font-size:.8rem;color:var(--danger);margin-top:.3rem;font-weight:600}
.input.is-err,.select.is-err,.textarea.is-err{border-color:var(--danger);background:var(--danger-soft)}
.check{display:flex;align-items:flex-start;gap:.6rem;font-size:.92rem;cursor:pointer}
.check input{margin-top:.28rem;accent-color:var(--brand);width:17px;height:17px;flex:none}
.file{border:2px dashed var(--line);border-radius:var(--r);padding:1.4rem;text-align:center;background:var(--bg-soft);cursor:pointer;transition:all var(--t)}
.file:hover{border-color:var(--brand);background:var(--brand-soft)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 1.15rem}
.form-grid .span-2{grid-column:1/-1}

/* ---------- alerts ---------- */
.alert{display:flex;gap:.75rem;padding:1rem 1.15rem;border-radius:var(--r);margin-bottom:1.25rem;
  font-size:.92rem;border-left:4px solid;background:var(--bg-soft)}
.alert-ok{background:var(--ok-soft);border-color:var(--ok);color:#0f5f41}
.alert-err{background:var(--danger-soft);border-color:var(--danger);color:#8f2a20}
.alert-info{background:var(--info-soft);border-color:var(--info);color:#155a86}
.alert-warn{background:var(--warn-soft);border-color:var(--warn);color:#8a5300}
.alert ul{margin:.3rem 0 0;padding-left:1.1rem}

/* ==========================================================================
   HEADER
   ========================================================================== */
.topbar{background:var(--ink);color:#a7b0ba;font-size:.83rem}
.topbar a{color:#c8ced4}
.topbar a:hover{color:#fff}
.topbar-in{display:flex;justify-content:space-between;align-items:center;gap:1rem;min-height:42px;flex-wrap:wrap}
.topbar-list{display:flex;gap:1.4rem;list-style:none;margin:0;padding:0;flex-wrap:wrap}
.topbar-list li{display:flex;align-items:center;gap:.4rem}
.topbar svg{width:14px;height:14px;color:var(--brand-400)}

.site-header{position:sticky;top:0;z-index:120;background:#fff;border-bottom:1px solid var(--line);transition:box-shadow var(--t)}
.site-header.is-stuck{box-shadow:var(--sh-2)}
.header-in{display:flex;align-items:center;gap:1.6rem;min-height:var(--header-h)}
.brand{display:flex;align-items:center;flex:none}
.brand img{height:52px;width:auto}
.main-nav{margin-left:auto}
.nav-list{display:flex;align-items:center;gap:.35rem;list-style:none;margin:0;padding:0}
.nav-list > li{position:relative}
.nav-list > li > a{display:flex;align-items:center;gap:.35rem;font-family:var(--ff-head);font-size:.94rem;font-weight:500;
  color:var(--ink);padding:.72rem .9rem;border-radius:var(--r-sm);transition:all var(--t)}
.nav-list > li > a:hover,.nav-list > li.is-active > a{color:var(--brand);background:var(--brand-soft)}
.nav-list .caret{width:11px;height:11px;opacity:.6}
.submenu{position:absolute;top:calc(100% + 10px);left:0;min-width:230px;background:#fff;border:1px solid var(--line);
  border-radius:var(--r);box-shadow:var(--sh-3);padding:.5rem;list-style:none;margin:0;
  opacity:0;visibility:hidden;transform:translateY(8px);transition:all var(--t);z-index:60}
.nav-list > li:hover .submenu{opacity:1;visibility:visible;transform:translateY(0)}
.submenu a{display:block;padding:.6rem .8rem;border-radius:var(--r-sm);font-size:.9rem;color:var(--ink-2)}
.submenu a:hover{background:var(--brand-soft);color:var(--brand);padding-left:1.05rem}

.header-actions{display:flex;align-items:center;gap:.5rem;flex:none}
.icon-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;
  border-radius:var(--r-pill);border:1.5px solid var(--line);background:#fff;color:var(--ink);cursor:pointer;transition:all var(--t)}
.icon-btn:hover{border-color:var(--brand);color:var(--brand);background:var(--brand-soft)}
.icon-btn svg{width:20px;height:20px}
.icon-btn .count{position:absolute;top:-5px;right:-5px;min-width:20px;height:20px;padding:0 5px;border-radius:var(--r-pill);
  background:var(--brand);color:#fff;font-family:var(--ff-head);font-size:.68rem;font-weight:700;display:flex;align-items:center;justify-content:center}
.cart-btn{display:flex;align-items:center;gap:.6rem;padding:.5rem .6rem .5rem .5rem;border-radius:var(--r-pill);
  border:1.5px solid var(--line);background:#fff;transition:all var(--t);cursor:pointer}
.cart-btn:hover{border-color:var(--brand);box-shadow:var(--sh-1)}
.cart-btn .cart-meta{display:flex;flex-direction:column;line-height:1.15;padding-right:.45rem}
.cart-btn .cart-meta b{font-family:var(--ff-head);font-size:.85rem;color:var(--ink)}
.cart-btn .cart-meta span{font-size:.72rem;color:var(--muted)}
.nav-toggle{display:none}

.user-menu{position:relative}
.user-menu-panel{position:absolute;right:0;top:calc(100% + 10px);min-width:210px;background:#fff;border:1px solid var(--line);
  border-radius:var(--r);box-shadow:var(--sh-3);padding:.5rem;opacity:0;visibility:hidden;transform:translateY(8px);transition:all var(--t);z-index:60}
.user-menu:hover .user-menu-panel,.user-menu.is-open .user-menu-panel{opacity:1;visibility:visible;transform:translateY(0)}
.user-menu-panel a,.user-menu-panel button{display:flex;width:100%;align-items:center;gap:.6rem;padding:.6rem .8rem;border-radius:var(--r-sm);
  font-size:.9rem;color:var(--ink-2);background:none;border:0;cursor:pointer;font-family:var(--ff-body);text-align:left}
.user-menu-panel a:hover,.user-menu-panel button:hover{background:var(--brand-soft);color:var(--brand)}
.user-menu-head{padding:.65rem .8rem;border-bottom:1px solid var(--line);margin-bottom:.35rem}
.user-menu-head b{display:block;font-family:var(--ff-head);font-size:.9rem;color:var(--ink)}
.user-menu-head span{font-size:.78rem;color:var(--muted)}

/* mobile drawer */
.drawer{position:fixed;inset:0 auto 0 0;width:320px;max-width:86vw;background:#fff;z-index:200;padding:1.25rem;
  transform:translateX(-100%);transition:transform .3s cubic-bezier(.4,0,.2,1);overflow-y:auto;box-shadow:var(--sh-3)}
.drawer.is-open{transform:none}
.drawer-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.25rem;padding-bottom:1rem;border-bottom:1px solid var(--line)}
.drawer-head img{height:42px}
.drawer nav ul{list-style:none;margin:0;padding:0}
.drawer nav > ul > li{border-bottom:1px solid var(--line-2)}
.drawer nav a{display:block;padding:.8rem .2rem;font-family:var(--ff-head);font-weight:500;color:var(--ink)}
.drawer nav .submenu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;padding:0 0 .5rem .8rem}
.drawer nav .submenu a{font-weight:400;font-size:.88rem;color:var(--muted);padding:.45rem .2rem}
.backdrop{position:fixed;inset:0;background:rgba(15,20,24,.55);z-index:190;opacity:0;visibility:hidden;transition:all var(--t)}
.backdrop.is-open{opacity:1;visibility:visible}

/* ==========================================================================
   HERO
   ========================================================================== */
/* The three custom properties below are what the admin panel drives: which
   artwork sits behind the hero, which part of it stays in frame, and how heavy
   the scrim over it is. A banner row overrides them inline. */
.hero{--hero-img:url("../images/banners/hero-showroom.svg");--hero-pos:center center;--hero-scrim:.72;
  position:relative;background:var(--bg-dark) var(--hero-img) var(--hero-pos)/cover no-repeat;color:#fff;overflow:hidden}
.hero::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(100deg,
    rgba(15,19,23,calc(var(--hero-scrim) * 1.2)) 8%,
    rgba(77,10,17,calc(var(--hero-scrim) * .92)) 52%,
    rgba(109,13,21,calc(var(--hero-scrim) * .45)) 100%)}
.hero-in{position:relative;z-index:2;display:grid;grid-template-columns:1.05fr .95fr;gap:2.5rem;align-items:center;padding:90px 0 100px}
.hero-eyebrow{display:inline-flex;align-items:center;gap:.5rem;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);
  padding:.45rem 1rem;border-radius:var(--r-pill);font-family:var(--ff-head);font-size:.78rem;font-weight:600;
  letter-spacing:.09em;text-transform:uppercase;color:#f0d6d9;margin-bottom:1.35rem}
.hero-eyebrow i{width:7px;height:7px;border-radius:50%;background:var(--gold);display:block}
.hero h1{color:#fff;margin-bottom:1.1rem}
.hero h1 em{font-style:normal;color:var(--gold)}
.hero p.lead{font-size:1.12rem;color:#d5dae0;max-width:54ch;margin-bottom:2rem}
.hero-cta{display:flex;gap:.9rem;flex-wrap:wrap;margin-bottom:2.6rem}
.hero-stats{display:flex;gap:2.6rem;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.14);padding-top:1.6rem}
.hero-stats b{display:block;font-family:var(--ff-head);font-size:2rem;font-weight:800;color:#fff;line-height:1}
.hero-stats span{font-size:.85rem;color:#a9b3bd}
.hero-art{position:relative}
.hero-art .card-float{position:absolute;background:#fff;color:var(--ink);border-radius:var(--r-lg);padding:.9rem 1.1rem;
  box-shadow:var(--sh-3);display:flex;align-items:center;gap:.7rem}
.hero-art .card-float b{font-family:var(--ff-head);font-size:.92rem;display:block;line-height:1.2}
.hero-art .card-float span{font-size:.76rem;color:var(--muted)}
.hero-art .f-1{bottom:8%;left:-6%}
.hero-art .f-2{top:6%;right:-2%}
.hero-art .ico{width:38px;height:38px;border-radius:50%;background:var(--brand-soft);color:var(--brand);
  display:flex;align-items:center;justify-content:center;flex:none}
.hero-art .ico svg{width:20px;height:20px}
.hero-art img.car{filter:drop-shadow(0 30px 45px rgba(0,0,0,.5));border-radius:var(--r-lg)}

/* slim, single-column hero used on the home page above the car list.
   Centred copy needs a scrim that darkens the top and leaves the lower half of
   the artwork — where the car sits — readable. */
.hero-slim{min-height:520px;display:flex;align-items:center}
.hero-slim .hero-in{grid-template-columns:1fr;padding:76px 0 96px;text-align:center;justify-items:center;width:100%}
.hero-slim::after{background:
  linear-gradient(180deg,
    rgba(11,14,18,calc(var(--hero-scrim) * 1.05)) 0%,
    rgba(11,14,18,calc(var(--hero-scrim) * .74)) 50%,
    rgba(75,7,13,calc(var(--hero-scrim) * .58)) 100%),
  radial-gradient(78% 96% at 50% 34%,rgba(0,0,0,0) 45%,rgba(8,10,13,calc(var(--hero-scrim) * .5)) 100%)}
.hero-slim h1{margin-bottom:.9rem;text-shadow:0 2px 22px rgba(0,0,0,.55)}
.hero-slim p.lead{margin-bottom:1.6rem;max-width:60ch;text-shadow:0 1px 14px rgba(0,0,0,.5)}
.hero-slim .hero-cta{justify-content:center;margin-bottom:0}
/* gold hairline that hands the eye over to the search bar below */
.hero-slim::before{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;z-index:3;
  background:linear-gradient(90deg,transparent,rgba(201,162,39,.75),transparent)}

/* quick search bar under hero */
.quick-search{position:relative;z-index:5;margin-top:-42px}
.quick-search-box{background:#fff;border-radius:var(--r-lg);box-shadow:var(--sh-3);padding:1.15rem;
  display:grid;grid-template-columns:repeat(4,1fr) auto;gap:.75rem;align-items:end}
.quick-search .label{font-size:.76rem;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
.quick-search .field{margin:0}

/* ==========================================================================
   SECTION HEADING
   ========================================================================== */
.sec-head{margin-bottom:2.6rem}
.sec-head.center{text-align:center;max-width:660px;margin-inline:auto}
.sec-eyebrow{display:inline-flex;align-items:center;gap:.5rem;font-family:var(--ff-head);font-size:.78rem;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase;color:var(--brand);margin-bottom:.7rem}
.sec-eyebrow::before{content:"";width:26px;height:2px;background:var(--brand);display:block}
.sec-head.center .sec-eyebrow::after{content:"";width:26px;height:2px;background:var(--brand);display:block}
.sec-head p{color:var(--muted);margin:0}
.sec-head-row{display:flex;justify-content:space-between;align-items:flex-end;gap:1.5rem;flex-wrap:wrap;margin-bottom:2.4rem}
.sec-head-row .sec-head{margin-bottom:0}

/* ==========================================================================
   SERVICE CARDS
   ========================================================================== */
.svc-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:2.1rem 1.7rem;
  transition:all var(--t);overflow:hidden;height:100%}
.svc-card::before{content:"";position:absolute;left:0;top:0;height:4px;width:0;background:var(--brand);transition:width .3s}
.svc-card:hover{border-color:transparent;box-shadow:var(--sh-3);transform:translateY(-6px)}
.svc-card:hover::before{width:100%}
.svc-ico{width:62px;height:62px;border-radius:var(--r);background:var(--brand-soft);color:var(--brand);
  display:flex;align-items:center;justify-content:center;margin-bottom:1.2rem;transition:all var(--t)}
.svc-card:hover .svc-ico{background:var(--brand);color:#fff;transform:rotate(-6deg)}
.svc-ico svg{width:30px;height:30px}
.svc-card h3{font-size:1.18rem;margin-bottom:.5rem}
.svc-card p{color:var(--muted);font-size:.94rem;margin-bottom:1rem}
.svc-link{font-family:var(--ff-head);font-size:.86rem;font-weight:600;display:inline-flex;align-items:center;gap:.4rem}
.svc-link svg{width:16px;height:16px;transition:transform var(--t)}
.svc-card:hover .svc-link svg{transform:translateX(4px)}

/* ==========================================================================
   CAR CARD
   ========================================================================== */
.car-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;
  display:flex;flex-direction:column;height:100%;transition:all var(--t)}
.car-card:hover{box-shadow:var(--sh-3);border-color:transparent;transform:translateY(-6px)}
.car-media{position:relative;aspect-ratio:16/10;background:var(--bg-soft);overflow:hidden}
.car-media img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.car-card:hover .car-media img{transform:scale(1.06)}
.car-flags{position:absolute;top:12px;left:12px;display:flex;flex-direction:column;gap:.35rem;align-items:flex-start;z-index:2}
.car-tools{position:absolute;top:12px;right:12px;display:flex;flex-direction:column;gap:.4rem;z-index:2;
  opacity:0;transform:translateX(10px);transition:all var(--t)}
.car-card:hover .car-tools{opacity:1;transform:none}
.car-tool{width:38px;height:38px;border-radius:50%;background:#fff;border:0;color:var(--ink);cursor:pointer;
  display:flex;align-items:center;justify-content:center;box-shadow:var(--sh-2);transition:all var(--t)}
.car-tool:hover{background:var(--brand);color:#fff}
.car-tool.is-on{background:var(--brand);color:#fff}
.car-tool svg{width:17px;height:17px}
.car-sold{position:absolute;inset:0;background:rgba(20,24,29,.6);display:flex;align-items:center;justify-content:center;z-index:3}
.car-sold span{font-family:var(--ff-head);font-weight:800;font-size:1.1rem;letter-spacing:.15em;color:#fff;
  border:3px solid #fff;padding:.5rem 1.2rem;border-radius:var(--r-sm);transform:rotate(-8deg)}
.car-body{padding:1.15rem 1.25rem 1.35rem;display:flex;flex-direction:column;flex:1}
.car-brandline{font-size:.78rem;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);font-weight:600;margin-bottom:.3rem}
.car-title{font-family:var(--ff-head);font-size:1.06rem;font-weight:600;line-height:1.35;margin:0 0 .7rem}
.car-title a{color:var(--ink)}
.car-title a:hover{color:var(--brand)}
.car-specs{display:flex;flex-wrap:wrap;gap:.45rem;margin-bottom:.9rem}
.car-spec{display:inline-flex;align-items:center;gap:.32rem;font-size:.78rem;color:var(--muted);
  background:var(--bg-soft);border-radius:var(--r-sm);padding:.3rem .55rem}
.car-spec svg{width:14px;height:14px;color:var(--chrome-2)}
.car-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:.75rem;
  padding-top:.9rem;border-top:1px solid var(--line-2)}
.car-price{font-family:var(--ff-head);font-size:1.3rem;font-weight:800;color:var(--brand);line-height:1.1}
.car-price small{display:block;font-size:.72rem;font-weight:500;color:var(--muted);text-decoration:line-through}
.car-emi{font-size:.74rem;color:var(--muted)}

/* list view */
.car-card.is-row{flex-direction:row}
.car-card.is-row .car-media{width:310px;flex:none;aspect-ratio:auto}
.car-card.is-row .car-body{padding:1.4rem 1.6rem}
.car-card.is-row .car-tools{opacity:1;transform:none;flex-direction:row}

/* ==========================================================================
   FILTER / LISTING
   ========================================================================== */
.shop-layout{display:grid;grid-template-columns:296px 1fr;gap:34px;align-items:start}
.filters{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);position:sticky;top:calc(var(--header-h) + 18px)}
.filter-head{display:flex;justify-content:space-between;align-items:center;padding:1.1rem 1.25rem;border-bottom:1px solid var(--line)}
.filter-head h3{margin:0;font-size:1.02rem}
.filter-block{border-bottom:1px solid var(--line-2);padding:1.1rem 1.25rem}
.filter-block:last-child{border:0}
.filter-block > h4{font-family:var(--ff-head);font-size:.86rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;
  color:var(--ink);margin:0 0 .8rem}
.filter-list{list-style:none;margin:0;padding:0;max-height:216px;overflow-y:auto}
.filter-list li{margin-bottom:.5rem}
.filter-list li:last-child{margin:0}
.filter-list label{display:flex;align-items:center;gap:.55rem;font-size:.9rem;color:var(--ink-2);cursor:pointer}
.filter-list input{accent-color:var(--brand);width:16px;height:16px;flex:none}
.filter-list .n{margin-left:auto;font-size:.76rem;color:var(--muted-2)}
.range-row{display:flex;gap:.55rem;align-items:center}
.range-row .input{padding:.55rem .7rem;font-size:.86rem}
.toolbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;
  background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:.8rem 1.1rem;margin-bottom:1.5rem}
.toolbar .count{font-size:.9rem;color:var(--muted)}
.toolbar .count b{color:var(--ink);font-family:var(--ff-head)}
.toolbar .select{width:auto;min-width:190px;padding-block:.55rem}
.view-toggle{display:flex;gap:.25rem;background:var(--bg-soft);padding:.25rem;border-radius:var(--r-sm)}
.view-toggle button{width:34px;height:32px;border:0;background:none;border-radius:6px;cursor:pointer;color:var(--muted);
  display:flex;align-items:center;justify-content:center}
.view-toggle button.is-on{background:#fff;color:var(--brand);box-shadow:var(--sh-1)}
.view-toggle svg{width:16px;height:16px}
.active-filters{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.25rem}
.filter-bar-mobile{display:none}

/* pagination */
.pager{display:flex;justify-content:center;gap:.4rem;margin-top:2.6rem;flex-wrap:wrap}
.pager a,.pager span{min-width:42px;height:42px;padding:0 .7rem;display:inline-flex;align-items:center;justify-content:center;
  border:1.5px solid var(--line);border-radius:var(--r-sm);font-family:var(--ff-head);font-size:.9rem;font-weight:600;color:var(--ink-2);background:#fff}
.pager a:hover{border-color:var(--brand);color:var(--brand)}
.pager .is-on{background:var(--brand);border-color:var(--brand);color:#fff}
.pager .is-off{opacity:.4}

/* empty state */
.empty{text-align:center;padding:4rem 1.5rem;background:#fff;border:1px dashed var(--line);border-radius:var(--r-lg)}
.empty svg{width:66px;height:66px;color:var(--chrome);margin:0 auto 1.1rem}
.empty h3{margin-bottom:.4rem}
.empty p{color:var(--muted);max-width:44ch;margin-inline:auto;margin-bottom:1.4rem}

/* ==========================================================================
   PAGE HEAD / BREADCRUMB
   ========================================================================== */
.page-head{background:var(--bg-dark) url("../images/banners/page-head.svg") center/cover no-repeat;color:#fff;padding:62px 0;position:relative}
.page-head::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,19,23,.9),rgba(109,13,21,.55))}
.page-head-in{position:relative;z-index:2}
.page-head h1{color:#fff;margin-bottom:.4rem;font-size:clamp(1.8rem,3.4vw,2.7rem)}
.crumbs{display:flex;gap:.5rem;align-items:center;font-size:.88rem;color:#b9c1c9;flex-wrap:wrap}
.crumbs a{color:#e6c9cd}
.crumbs a:hover{color:#fff}
.crumbs .sep{opacity:.5}

/* ==========================================================================
   CAR DETAIL
   ========================================================================== */
.detail-grid{display:grid;grid-template-columns:1fr 396px;gap:36px;align-items:start}
/* grid items default to min-width:auto, so a wide child (e.g. a 26-thumb strip)
   stretches the 1fr track instead of scrolling. Let the track shrink. */
.detail-grid > *{min-width:0}
.gallery{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;margin-bottom:1.6rem}
.gallery-main{position:relative;width:100%;aspect-ratio:var(--gal-ar,16/10);max-height:min(72vh,640px);background:#0d1014;
  overflow:hidden}
.gallery-main.is-ready{transition:aspect-ratio .3s ease}
.gallery-main .gal-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  filter:blur(28px) saturate(1.4) brightness(.68);transform:scale(1.18);pointer-events:none;-webkit-user-select:none;user-select:none}
.gallery-main #gal-main{position:relative;z-index:1;width:100%;height:100%;object-fit:contain;object-position:center}
.gallery-nav{position:absolute;z-index:2;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;border:0;
  background:rgba(255,255,255,.94);box-shadow:var(--sh-2);cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--ink)}
.gallery-nav:hover{background:var(--brand);color:#fff}
.gallery-nav.prev{left:14px}.gallery-nav.next{right:14px}
.gallery-nav svg{width:19px;height:19px}
.thumbs{display:flex;gap:.6rem;padding:.85rem;overflow-x:auto}
.thumbs button{width:96px;height:66px;flex:none;border-radius:var(--r-sm);overflow:hidden;border:2px solid transparent;
  background:var(--bg-soft);cursor:pointer;padding:0}
.thumbs button.is-on{border-color:var(--brand)}
.thumbs img{width:100%;height:100%;object-fit:cover}

.spec-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line);
  border-radius:var(--r-lg);overflow:hidden;margin-bottom:1.6rem}
.spec-cell{background:#fff;padding:1.15rem 1.1rem;text-align:center}
.spec-cell svg{width:24px;height:24px;color:var(--brand);margin:0 auto .5rem}
.spec-cell b{display:block;font-family:var(--ff-head);font-size:.98rem;color:var(--ink)}
.spec-cell span{font-size:.76rem;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}

.panel{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:1.6rem 1.7rem;margin-bottom:1.6rem}
.panel > h3{font-size:1.2rem;margin-bottom:1rem;padding-bottom:.8rem;border-bottom:1px solid var(--line-2)}
.kv{display:grid;grid-template-columns:repeat(2,1fr);gap:0 2rem}
.kv-row{display:flex;justify-content:space-between;gap:1rem;padding:.72rem 0;border-bottom:1px dashed var(--line)}
.kv-row span{color:var(--muted);font-size:.9rem}
.kv-row b{font-family:var(--ff-head);font-weight:600;font-size:.92rem;color:var(--ink);text-align:right}
.feature-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:.6rem 1.2rem}
.feature-list li{display:flex;align-items:center;gap:.5rem;font-size:.91rem}
.feature-list svg{width:17px;height:17px;color:var(--ok);flex:none}

.buy-box{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:1.6rem;position:sticky;top:calc(var(--header-h) + 18px)}
.buy-price{font-family:var(--ff-head);font-size:2.3rem;font-weight:800;color:var(--brand);line-height:1}
.buy-price small{font-size:.9rem;font-weight:500;color:var(--muted);text-decoration:line-through;margin-left:.5rem}
.buy-sub{font-size:.86rem;color:var(--muted);margin:.35rem 0 1.2rem}
.buy-emi{background:var(--brand-soft);border:1px dashed var(--brand-tint);border-radius:var(--r);padding:.9rem 1rem;margin-bottom:1.2rem}
.buy-emi b{font-family:var(--ff-head);color:var(--brand);font-size:1.05rem}
.buy-actions{display:grid;gap:.6rem;margin-bottom:1.2rem}
.buy-trust{padding-top:1.2rem;border-top:1px solid var(--line-2)}
.buy-trust ul{padding:0;margin:0;display:grid;gap:.6rem}
.buy-trust li{display:flex;gap:.6rem;align-items:center;font-size:.87rem;color:var(--ink-2);list-style:none}
.buy-trust svg{width:18px;height:18px;color:var(--ok);flex:none}
.buy-tags{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
/* RTO code styled like an Indian number plate */
.reg-plate{display:inline-flex;align-items:center;gap:.45rem;height:26px;padding-right:.55rem;border:1.5px solid var(--ink);
  border-radius:5px;background:#fff;overflow:hidden;font-family:var(--ff-head);font-weight:700;font-size:.82rem;
  letter-spacing:.08em;color:var(--ink);white-space:nowrap}
.reg-plate i{align-self:stretch;display:flex;align-items:center;padding:0 .3rem;background:#1d4fa5;color:#fff;
  font-style:normal;font-size:.5rem;letter-spacing:.04em}

.share-box{padding:1.1rem 0 1.2rem;border-top:1px solid var(--line-2)}
.share-label{display:flex;align-items:center;gap:.45rem;margin-bottom:.85rem;font-family:var(--ff-head);font-weight:600;font-size:.9rem;color:var(--ink)}
.share-label svg{width:16px;height:16px;flex:none;color:var(--brand)}
.share-btns{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.35rem}
.share-btn{display:flex;flex-direction:column;align-items:center;gap:.4rem;min-width:0;padding:.25rem 0;border:0;background:none;
  font:inherit;color:var(--muted);cursor:pointer}
.share-btn small{font-size:.7rem;font-weight:700;line-height:1.2;color:var(--muted);white-space:nowrap;transition:color var(--t)}
.share-ico{width:46px;height:46px;flex:none;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;
  box-shadow:0 4px 12px rgba(20,24,29,.14);transition:transform var(--t),box-shadow var(--t)}
.share-ico svg{width:22px;height:22px}
.share-btn:hover .share-ico{transform:translateY(-3px);box-shadow:0 8px 20px rgba(20,24,29,.2)}
.share-btn:hover small{color:var(--ink)}
.share-btn:focus-visible{outline:none}
.share-btn:focus-visible .share-ico{outline:2px solid var(--ink);outline-offset:3px}
.s-wa .share-ico{background:#25d366}
.s-fb .share-ico{background:#1877f2}
.s-ig .share-ico{background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285aeb 90%)}
.s-sms .share-ico{background:#ff9500}
.s-copy .share-ico{background:#5b6573}

/* tabs */
.tabs{display:flex;gap:.4rem;border-bottom:2px solid var(--line);margin-bottom:1.6rem;overflow-x:auto}
.tabs button{border:0;background:none;font-family:var(--ff-head);font-weight:600;font-size:.95rem;color:var(--muted);
  padding:.85rem 1.15rem;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-2px;white-space:nowrap}
.tabs button.is-on{color:var(--brand);border-color:var(--brand)}
.tab-pane{display:none}
.tab-pane.is-on{display:block}

/* ==========================================================================
   PROMO / BENEFITS / TESTIMONIAL / BRANDS
   ========================================================================== */
.promo{position:relative;border-radius:var(--r-xl);overflow:hidden;min-height:290px;display:flex;align-items:center;
  padding:2.6rem;color:#fff;background:var(--brand) center/cover no-repeat}
.promo.p1{background-image:url("../images/banners/promo-1.svg")}
.promo.p2{background-image:url("../images/banners/promo-2.svg")}
.promo-in{position:relative;z-index:2;max-width:70%}
.promo small{display:block;font-family:var(--ff-head);font-size:.76rem;font-weight:700;letter-spacing:.16em;
  text-transform:uppercase;color:var(--gold);margin-bottom:.6rem}
.promo h3{color:#fff;font-size:1.75rem;margin-bottom:.6rem}
.promo p{color:rgba(255,255,255,.82);font-size:.95rem;margin-bottom:1.4rem}

.benefit{display:flex;gap:1.1rem;align-items:flex-start;background:#fff;border:1px solid var(--line);
  border-radius:var(--r-lg);padding:1.6rem;height:100%;transition:all var(--t)}
.benefit:hover{border-color:var(--brand-tint);box-shadow:var(--sh-2);transform:translateY(-4px)}
.benefit .ico{width:54px;height:54px;flex:none;border-radius:var(--r);background:var(--brand-soft);color:var(--brand);
  display:flex;align-items:center;justify-content:center}
.benefit .ico svg{width:26px;height:26px}
.benefit h4{margin:0 0 .3rem;font-size:1.02rem}
.benefit p{margin:0;font-size:.88rem;color:var(--muted)}

.tm-card{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:1.8rem;height:100%;position:relative}
.tm-card::before{content:"\201C";position:absolute;top:.4rem;right:1.4rem;font-family:Georgia,serif;font-size:5rem;color:var(--brand-tint);line-height:1}
.tm-stars{display:flex;gap:.15rem;margin-bottom:.9rem;color:var(--gold)}
.tm-stars svg{width:17px;height:17px;fill:currentColor}
.tm-card p{font-size:.96rem;color:var(--ink-2);margin-bottom:1.3rem;position:relative;z-index:1}
.tm-who{display:flex;align-items:center;gap:.8rem;padding-top:1.1rem;border-top:1px solid var(--line-2)}
.tm-av{width:46px;height:46px;border-radius:50%;background:var(--brand);color:#fff;display:flex;align-items:center;
  justify-content:center;font-family:var(--ff-head);font-weight:700;flex:none}
.tm-who b{display:block;font-family:var(--ff-head);font-size:.94rem;color:var(--ink)}
.tm-who span{font-size:.8rem;color:var(--muted)}

.brand-strip{display:grid;grid-template-columns:repeat(6,1fr);gap:1rem}
.brand-item{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:.9rem;display:flex;
  align-items:center;justify-content:center;transition:all var(--t);filter:grayscale(1);opacity:.72}
.brand-item:hover{filter:none;opacity:1;border-color:var(--brand-tint);box-shadow:var(--sh-2);transform:translateY(-3px)}

/* counters strip */
.counters{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;text-align:center}
.counter b{display:block;font-family:var(--ff-head);font-size:2.6rem;font-weight:800;color:#fff;line-height:1}
.counter span{font-size:.9rem;color:#a9b3bd}

/* steps */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}
.step{position:relative;text-align:center;padding:1.5rem 1rem}
.step .n{width:64px;height:64px;margin:0 auto 1rem;border-radius:50%;background:var(--brand-soft);color:var(--brand);
  display:flex;align-items:center;justify-content:center;font-family:var(--ff-head);font-size:1.4rem;font-weight:800;
  border:2px dashed var(--brand-tint)}
.step h4{margin-bottom:.35rem}
.step p{font-size:.88rem;color:var(--muted);margin:0}
.step:not(:last-child)::after{content:"";position:absolute;top:32px;left:calc(50% + 46px);right:calc(-50% + 46px);border-top:2px dashed var(--line)}

/* newsletter / CTA */
.cta-band{background:linear-gradient(120deg,var(--brand-900),var(--brand));border-radius:var(--r-xl);padding:3rem;color:#fff;
  display:grid;grid-template-columns:1.1fr .9fr;gap:2rem;align-items:center}
.cta-band h2{color:#fff;margin-bottom:.5rem}
.cta-band p{color:rgba(255,255,255,.8);margin:0}
.subscribe{display:flex;gap:.6rem}
.subscribe .input{border-color:transparent;border-radius:var(--r-pill);padding:1rem 1.35rem}

/* ==========================================================================
   CART / CHECKOUT / ACCOUNT
   ========================================================================== */
.cart-layout{display:grid;grid-template-columns:1fr 372px;gap:32px;align-items:start}
.cart-list{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden}
.cart-row{display:grid;grid-template-columns:126px 1fr auto;gap:1.15rem;padding:1.15rem;border-bottom:1px solid var(--line-2);align-items:center}
.cart-row:last-child{border:0}
.cart-row .thumb{width:126px;height:86px;border-radius:var(--r-sm);overflow:hidden;background:var(--bg-soft)}
.cart-row .thumb img{width:100%;height:100%;object-fit:cover}
.cart-row h4{margin:0 0 .3rem;font-size:1rem}
.cart-row h4 a{color:var(--ink)}
.cart-row h4 a:hover{color:var(--brand)}
.cart-meta-line{font-size:.82rem;color:var(--muted)}
.cart-right{text-align:right}
.cart-right .price{font-family:var(--ff-head);font-weight:700;font-size:1.1rem;color:var(--brand)}
.link-danger{background:none;border:0;padding:0;color:var(--danger);font-size:.82rem;cursor:pointer;font-family:var(--ff-body)}
.link-danger:hover{text-decoration:underline}

.summary{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:1.6rem;position:sticky;top:calc(var(--header-h) + 18px)}
.summary h3{font-size:1.12rem;margin-bottom:1.1rem;padding-bottom:.85rem;border-bottom:1px solid var(--line-2)}
.sum-row{display:flex;justify-content:space-between;gap:1rem;padding:.55rem 0;font-size:.93rem}
.sum-row span{color:var(--muted)}
.sum-row b{font-family:var(--ff-head);color:var(--ink)}
.sum-total{display:flex;justify-content:space-between;align-items:center;margin-top:.85rem;padding-top:1rem;border-top:2px solid var(--line)}
.sum-total span{font-family:var(--ff-head);font-weight:600;color:var(--ink)}
.sum-total b{font-family:var(--ff-head);font-size:1.5rem;font-weight:800;color:var(--brand)}

.pay-option{display:flex;gap:.8rem;align-items:flex-start;border:1.5px solid var(--line);border-radius:var(--r);
  padding:1rem 1.1rem;margin-bottom:.7rem;cursor:pointer;transition:all var(--t)}
.pay-option:hover{border-color:var(--brand-tint);background:var(--brand-soft)}
.pay-option input{margin-top:.2rem;accent-color:var(--brand);width:18px;height:18px;flex:none}
.pay-option b{display:block;font-family:var(--ff-head);font-size:.95rem;color:var(--ink)}
.pay-option span{font-size:.83rem;color:var(--muted)}
.pay-option.is-on{border-color:var(--brand);background:var(--brand-soft)}

.steps-line{display:flex;align-items:center;justify-content:center;margin-bottom:2.5rem;flex-wrap:wrap}
.steps-line .s{display:flex;align-items:center;gap:.6rem;font-family:var(--ff-head);font-size:.9rem;color:var(--muted)}
.steps-line .s i{width:30px;height:30px;border-radius:50%;background:var(--bg-soft);color:var(--muted);display:flex;
  align-items:center;justify-content:center;font-style:normal;font-size:.82rem;font-weight:700;border:1.5px solid var(--line)}
.steps-line .s.is-on{color:var(--brand)}
.steps-line .s.is-on i{background:var(--brand);color:#fff;border-color:var(--brand)}
.steps-line .bar{width:70px;height:2px;background:var(--line);margin:0 1rem}

/* account */
.account-layout{display:grid;grid-template-columns:262px 1fr;gap:30px;align-items:start}
.account-nav{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:.6rem;position:sticky;top:calc(var(--header-h) + 18px)}
.account-nav a{display:flex;align-items:center;gap:.7rem;padding:.78rem .95rem;border-radius:var(--r-sm);
  font-family:var(--ff-head);font-size:.92rem;font-weight:500;color:var(--ink-2)}
.account-nav a:hover{background:var(--bg-soft);color:var(--brand)}
.account-nav a.is-on{background:var(--brand);color:#fff}
.account-nav svg{width:18px;height:18px}
.account-user{padding:1.2rem 1rem;text-align:center;border-bottom:1px solid var(--line);margin-bottom:.5rem}
.account-user .av{width:62px;height:62px;border-radius:50%;background:var(--brand);color:#fff;font-family:var(--ff-head);
  font-size:1.4rem;font-weight:700;display:flex;align-items:center;justify-content:center;margin:0 auto .6rem}
.account-user b{display:block;font-family:var(--ff-head);font-size:.98rem;color:var(--ink)}
.account-user span{font-size:.8rem;color:var(--muted)}

.stat-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-bottom:1.8rem}
.stat-card{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:1.3rem}
.stat-card .ico{width:42px;height:42px;border-radius:var(--r-sm);background:var(--brand-soft);color:var(--brand);
  display:flex;align-items:center;justify-content:center;margin-bottom:.8rem}
.stat-card b{display:block;font-family:var(--ff-head);font-size:1.7rem;font-weight:800;color:var(--ink);line-height:1}
.stat-card span{font-size:.84rem;color:var(--muted)}

/* tables */
.table-wrap{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);overflow:auto}
table.tbl{width:100%;border-collapse:collapse;font-size:.91rem;min-width:640px}
table.tbl th{background:var(--bg-soft);font-family:var(--ff-head);font-size:.78rem;font-weight:600;text-transform:uppercase;
  letter-spacing:.05em;color:var(--muted);text-align:left;padding:.9rem 1.1rem;border-bottom:1px solid var(--line);white-space:nowrap}
table.tbl td{padding:1rem 1.1rem;border-bottom:1px solid var(--line-2);vertical-align:middle}
table.tbl tr:last-child td{border-bottom:0}
table.tbl tbody tr:hover{background:var(--bg-soft)}
table.tbl .right{text-align:right}
.order-no{font-family:var(--ff-head);font-weight:700;color:var(--ink)}

/* timeline */
.timeline{list-style:none;padding:0;margin:0;position:relative}
.timeline::before{content:"";position:absolute;left:11px;top:6px;bottom:6px;width:2px;background:var(--line)}
.timeline li{position:relative;padding:0 0 1.5rem 2.4rem}
.timeline li:last-child{padding-bottom:0}
.timeline li::before{content:"";position:absolute;left:4px;top:4px;width:16px;height:16px;border-radius:50%;
  background:#fff;border:3px solid var(--line)}
.timeline li.done::before{border-color:var(--ok);background:var(--ok)}
.timeline li.current::before{border-color:var(--brand);background:var(--brand);box-shadow:0 0 0 5px var(--brand-tint)}
.timeline b{display:block;font-family:var(--ff-head);font-size:.94rem;color:var(--ink)}
.timeline span{font-size:.82rem;color:var(--muted)}

/* auth */
.auth-wrap{min-height:70vh;display:grid;place-items:center;padding:56px 20px;background:var(--bg-soft)}
.auth-card{width:100%;max-width:470px;background:#fff;border:1px solid var(--line);border-radius:var(--r-xl);padding:2.4rem;box-shadow:var(--sh-2)}
.auth-card .logo{height:56px;margin:0 auto 1.3rem}
.auth-card h1{font-size:1.6rem;text-align:center;margin-bottom:.3rem}
.auth-card .sub{text-align:center;color:var(--muted);font-size:.92rem;margin-bottom:1.8rem}
.auth-foot{text-align:center;margin-top:1.4rem;font-size:.9rem;color:var(--muted)}

/* toast */
.toasts{position:fixed;right:20px;bottom:88px;z-index:400;display:flex;flex-direction:column;gap:.6rem}
.toast{background:var(--ink);color:#fff;padding:.9rem 1.2rem;border-radius:var(--r);box-shadow:var(--sh-3);
  font-size:.9rem;display:flex;align-items:center;gap:.6rem;min-width:250px;animation:tin .3s ease both}
.toast.ok{background:var(--ok)}.toast.err{background:var(--danger)}
.toast svg{width:18px;height:18px;flex:none}
@keyframes tin{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

/* mini cart drawer */
.mini-cart{position:fixed;top:0;right:0;bottom:0;width:400px;max-width:92vw;background:#fff;z-index:200;
  transform:translateX(100%);transition:transform .3s cubic-bezier(.4,0,.2,1);display:flex;flex-direction:column;box-shadow:var(--sh-3)}
.mini-cart.is-open{transform:none}
.mini-cart-head{display:flex;justify-content:space-between;align-items:center;padding:1.15rem 1.35rem;border-bottom:1px solid var(--line)}
.mini-cart-head h3{margin:0;font-size:1.08rem}
.mini-cart-body{flex:1;overflow-y:auto;padding:1rem 1.35rem}
.mini-cart-foot{padding:1.2rem 1.35rem;border-top:1px solid var(--line);background:var(--bg-soft)}
.mini-item{display:grid;grid-template-columns:76px 1fr auto;gap:.85rem;padding:.85rem 0;border-bottom:1px solid var(--line-2);align-items:center}
.mini-item img{width:76px;height:54px;object-fit:cover;border-radius:var(--r-sm)}
.mini-item b{font-family:var(--ff-head);font-size:.88rem;display:block;line-height:1.3}
.mini-item span{font-size:.8rem;color:var(--brand);font-weight:700}
.close-x{width:36px;height:36px;border-radius:50%;border:0;background:var(--bg-soft);cursor:pointer;
  display:flex;align-items:center;justify-content:center;color:var(--ink)}
.close-x:hover{background:var(--brand);color:#fff}
.close-x svg{width:17px;height:17px}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{background:var(--bg-dark);color:#98a1ab;padding-top:66px}
.site-footer h4{color:#fff;font-size:1rem;margin-bottom:1.2rem;position:relative;padding-bottom:.65rem}
.site-footer h4::after{content:"";position:absolute;left:0;bottom:0;width:34px;height:2px;background:var(--brand-400)}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.35fr;gap:2.4rem;padding-bottom:2.8rem}
.footer-about img{height:64px;margin-bottom:1.1rem}
.footer-about p{font-size:.9rem;line-height:1.75;margin-bottom:1.3rem}
.socials{display:flex;gap:.5rem}
.socials a{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.07);color:#c8ced4;
  display:flex;align-items:center;justify-content:center;transition:all var(--t)}
.socials a:hover{background:var(--brand);color:#fff;transform:translateY(-3px)}
.socials svg{width:17px;height:17px}
.footer-links{list-style:none;padding:0;margin:0}
.footer-links li{margin-bottom:.65rem}
.footer-links a{color:#98a1ab;font-size:.91rem;display:inline-flex;align-items:center;gap:.45rem}
.footer-links a::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--brand-400);opacity:0;transition:opacity var(--t)}
.footer-links a:hover{color:#fff}
.footer-links a:hover::before{opacity:1}
.footer-contact{list-style:none;padding:0;margin:0 0 1.4rem}
.footer-contact li{display:flex;gap:.7rem;margin-bottom:.9rem;font-size:.9rem;line-height:1.6}
.footer-contact svg{width:17px;height:17px;color:var(--brand-400);flex:none;margin-top:.2rem}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding:1.35rem 0;display:flex;justify-content:space-between;
  gap:1rem;flex-wrap:wrap;font-size:.86rem}
.footer-bottom a{color:#98a1ab}
.footer-bottom a:hover{color:#fff}

.whatsapp-fab{position:fixed;right:20px;bottom:20px;z-index:150;width:56px;height:56px;border-radius:50%;
  background:#25d366;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:var(--sh-3);transition:all var(--t)}
.whatsapp-fab:hover{transform:scale(1.08);color:#fff}
.whatsapp-fab svg{width:28px;height:28px}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media(max-width:1200px){
  /* the 7-link nav + brand + actions need ~1172px of viewport; below that use the drawer */
  .main-nav{display:none}
  .nav-toggle{display:inline-flex}
  .g-4{grid-template-columns:repeat(3,1fr)}
  .brand-strip{grid-template-columns:repeat(4,1fr)}
  .detail-grid{grid-template-columns:1fr 340px}
}
@media(max-width:1024px){
  .main-nav,.cart-btn .cart-meta{display:none}
  .nav-toggle{display:inline-flex}
  .hero-in{grid-template-columns:1fr;padding:64px 0 78px}
  .hero-art{display:none}
  .hero-slim{min-height:380px}
  .hero-slim .hero-in{padding:62px 0 78px}
  .quick-search-box{grid-template-columns:repeat(2,1fr)}
  .shop-layout,.detail-grid,.cart-layout,.account-layout{grid-template-columns:1fr}
  .filters{position:static;display:none}
  .filters.is-open{display:block}
  .filter-bar-mobile{display:flex;gap:.6rem;margin-bottom:1rem}
  .buy-box,.summary,.account-nav{position:static}
  .spec-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .cta-band{grid-template-columns:1fr}
  .steps{grid-template-columns:repeat(2,1fr)}
  .step::after{display:none}
  .car-card.is-row{flex-direction:column}
  .car-card.is-row .car-media{width:100%;aspect-ratio:16/10}
}
@media(max-width:768px){
  .sec{padding:52px 0}
  .gallery-main{max-height:min(64vh,520px)}
  .g-2,.g-3,.g-4,.g-6{grid-template-columns:repeat(2,1fr)}
  .counters,.stat-cards{grid-template-columns:repeat(2,1fr)}
  .brand-strip{grid-template-columns:repeat(3,1fr)}
  .kv,.feature-list{grid-template-columns:1fr}
  .form-grid{grid-template-columns:1fr}
  .promo-in{max-width:100%}
  .hero-stats{gap:1.6rem}
  .topbar-in{justify-content:center;text-align:center}
}
@media(max-width:560px){
  .g-2,.g-3,.g-4,.g-6,.grid{grid-template-columns:1fr}
  .gallery-main{max-height:68vh}
  .gallery-nav{width:36px;height:36px}
  .gallery-nav.prev{left:8px}.gallery-nav.next{right:8px}
  .thumbs{padding:.6rem;gap:.45rem}
  .thumbs button{width:74px;height:52px}
  .quick-search-box{grid-template-columns:1fr}
  .quick-search{margin-top:-20px}
  .counters,.stat-cards,.steps,.footer-grid{grid-template-columns:1fr}
  .cart-row{grid-template-columns:88px 1fr}
  .cart-row .thumb{width:88px;height:64px}
  .cart-right{grid-column:1/-1;text-align:left}
  .spec-grid{grid-template-columns:1fr}
  .subscribe{flex-direction:column}
  .brand img{height:44px}
  /* drop the phone number, keep the tap-to-call icon */
  .header-actions .btn-sm{width:44px;height:44px;padding:0;gap:0;font-size:0}
  .header-in{gap:.75rem}
  :root{--header-h:70px}
}
@media print{.site-header,.site-footer,.topbar,.whatsapp-fab,.btn,.share-box{display:none!important}}
