/* ============================================================
   SAHAR PART â€” UI Design System (v2, 2026)
   Psychology-driven palette:
     Deep Navy  -> trust, authority, technical precision
     Amber      -> urgency, value, action (CTAs / deals)
     Green      -> availability, safety
     Red        -> scarcity / out-of-stock
   RTL-first. WCAG 2.1 AA contrast. Self-contained.
   ============================================================ */

:root {
    /* Navy scale */
    --sp-navy-950: #06182E;
    --sp-navy-900: #0A1D37;
    --sp-navy-800: #0D2B4E;
    --sp-navy-700: #113A63;
    --sp-navy-600: #16497D;
    --sp-navy-500: #1E5A96;
    --sp-navy-100: #E7EFF8;
    --sp-navy-50:  #F2F7FC;

    /* Amber scale */
    --sp-amber-600: #D97706;
    --sp-amber-500: #F59E0B;
    --sp-amber-400: #FBBF24;
    --sp-amber-300: #FCD34D;
    --sp-amber-50:  #FFFBEB;

    /* Semantic */
    --sp-green-600: #15803D;
    --sp-green-500: #16A34A;
    --sp-green-50:  #ECFDF5;
    --sp-red-600: #DC2626;
    --sp-red-50:  #FEF2F2;

    /* Neutrals */
    --sp-ink:     #0F172A;
    --sp-text:    #1E293B;
    --sp-muted:   #64748B;
    --sp-faint:   #94A3B8;
    --sp-line:    #E2E8F0;
    --sp-line-2:  #EDF1F6;
    --sp-bg:      #F5F7FA;
    --sp-card:    #FFFFFF;
    --sp-subtle:  #F1F5F9;

    /* Radius */
    --sp-r-xs: 8px;
    --sp-r-sm: 10px;
    --sp-r:    14px;
    --sp-r-lg: 18px;
    --sp-r-pill: 999px;

    /* Elevation */
    --sp-sh-xs: 0 1px 2px rgba(15, 23, 42, .05);
    --sp-sh-sm: 0 2px 8px rgba(15, 23, 42, .06);
    --sp-sh:    0 6px 20px rgba(15, 23, 42, .08);
    --sp-sh-lg: 0 16px 40px rgba(15, 23, 42, .14);

    /* Type */
    --sp-font: 'Vazirmatn', 'Vazir', 'Sahel', system-ui, sans-serif;
    --sp-display: 'Lalezar', 'Vazirmatn', sans-serif;

    /* Layout */
    --sp-container: 1320px;
    --sp-header-h: 68px;

    --sp-ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

body {
    font-family: var(--sp-font);
    background: var(--sp-bg);
    color: var(--sp-text);
}

.sp-container {
    width: min(var(--sp-container), calc(100% - 32px));
    margin-inline: auto;
}

.sp-sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.sp-btn {
    --_bg: var(--sp-navy-700);
    --_fg: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: var(--sp-r-sm);
    background: var(--_bg);
    color: var(--_fg);
    font: inherit;
    font-weight: 700;
    font-size: .92rem;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .15s var(--sp-ease), box-shadow .2s var(--sp-ease), background .2s var(--sp-ease);
}
.sp-btn:hover { color: var(--_fg); transform: translateY(-2px); box-shadow: var(--sp-sh); }
.sp-btn:active { transform: translateY(0); }
.sp-btn:focus-visible { outline: 3px solid var(--sp-navy-500); outline-offset: 2px; }

.sp-btn--primary { --_bg: var(--sp-navy-700); }
.sp-btn--accent {
    --_bg: linear-gradient(135deg, var(--sp-amber-500), var(--sp-amber-600));
    --_fg: #3A2400;
    box-shadow: 0 6px 18px rgba(245, 158, 11, .3);
}
.sp-btn--accent:hover { box-shadow: 0 10px 26px rgba(245, 158, 11, .42); }
.sp-btn--ghost {
    --_bg: transparent;
    --_fg: var(--sp-navy-700);
    border-color: var(--sp-line);
}
.sp-btn--ghost:hover { --_bg: var(--sp-navy-50); box-shadow: none; }
.sp-requests .sp-btn--ghost {
    --_bg: transparent;
    --_fg: #fff;
    border: 1px solid rgba(255, 255, 255, .3);
    box-shadow: none;
}
.sp-requests .sp-btn--ghost:hover { --_bg: rgba(255, 255, 255, .12); box-shadow: none; }
.sp-btn--sm { padding: 8px 14px; font-size: .82rem; border-radius: var(--sp-r-xs); }
.sp-btn--block { width: 100%; }

/* ---------- Section header row ---------- */
.sp-section { padding-block: 34px; }
.sp-section--tight { padding-block: 22px; }
.sp-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}
.sp-section__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--sp-ink);
    letter-spacing: -.2px;
}
.sp-section__title i {
    color: var(--sp-amber-500);
    font-size: 1.15rem;
}
.sp-section__desc { margin: 4px 0 0; font-size: .85rem; color: var(--sp-muted); }
.sp-section__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .84rem;
    font-weight: 700;
    color: var(--sp-navy-600);
    text-decoration: none;
    padding: 7px 14px;
    border-radius: var(--sp-r-pill);
    background: var(--sp-navy-50);
    transition: background .2s var(--sp-ease);
}
.sp-section__more:hover { background: var(--sp-navy-100); color: var(--sp-navy-800); }
.sp-section__more i { font-size: .72rem; }

/* ---------- Chip ---------- */
.sp-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border-radius: var(--sp-r-pill);
    background: var(--sp-card);
    border: 1px solid var(--sp-line);
    color: var(--sp-text);
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .18s var(--sp-ease);
}
.sp-chip:hover { border-color: var(--sp-navy-500); color: var(--sp-navy-700); transform: translateY(-1px); }

/* ============================================================
   HEADER
   ============================================================ */
.sp-header { position: relative; z-index: 900; }

/* -- Top bar -- */
.sp-topbar {
    background: var(--sp-navy-950);
    color: #C7D6E8;
    font-size: .78rem;
}
.sp-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 36px;
}
.sp-topbar__links { display: flex; align-items: center; gap: 18px; }
.sp-topbar__links a {
    color: #C7D6E8;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .15s;
}
.sp-topbar__links a:hover { color: #fff; }
.sp-topbar__meta { display: flex; align-items: center; gap: 18px; }
.sp-topbar__meta span { display: inline-flex; align-items: center; gap: 6px; }
.sp-topbar__meta i { color: var(--sp-amber-400); }

/* -- Main bar -- */
.sp-header-main {
    background: linear-gradient(135deg, var(--sp-navy-800), var(--sp-navy-900));
    color: #fff;
    padding-block: 14px;
}
.sp-header-main__inner {
    display: flex;
    align-items: center;
    gap: 20px;
}
.sp-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    flex-shrink: 0;
}
.sp-logo:hover { color: #fff; }
.sp-logo__img { height: 84px; width: auto; }
.sp-logo__text {
    display: none;
    flex-direction: column;
    line-height: 1.15;
}
.sp-logo__name { font-size: 1.32rem; font-weight: 800; letter-spacing: .3px; }
.sp-logo__tag { font-size: .68rem; color: var(--sp-amber-300); font-weight: 600; }

/* -- Search block (brand text above search) -- */
.sp-search-block {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    justify-content: center;
}
.sp-brand-text {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    line-height: 1.1;
}
.sp-brand-text:hover { color: #fff; }

/* -- Search -- */
.sp-search {
    position: relative;
    flex: 1;
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: var(--sp-r-sm);
    box-shadow: var(--sp-sh-sm);
    min-width: 0;
}
.sp-search__scope {
    border: 0;
    background: var(--sp-subtle);
    color: var(--sp-text);
    font: inherit;
    font-size: .8rem;
    font-weight: 700;
    padding: 0 14px;
    border-inline-end: 1px solid var(--sp-line);
    border-top-right-radius: var(--sp-r-sm);
    border-bottom-right-radius: var(--sp-r-sm);
    cursor: pointer;
}
.sp-search__input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    padding: 13px 16px;
    font: inherit;
    font-size: .92rem;
    color: var(--sp-ink);
    background: transparent;
}
.sp-search__input::placeholder { color: var(--sp-faint); }
.sp-search__btn {
    border: 0;
    margin: 4px;
    padding: 0 20px;
    border-radius: var(--sp-r-xs);
    background: linear-gradient(135deg, var(--sp-amber-500), var(--sp-amber-600));
    color: #3A2400;
    font-size: 1.05rem;
    cursor: pointer;
    transition: filter .15s;
}
.sp-search__btn:hover { filter: brightness(1.06); }

.sp-suggest {
    position: absolute;
    inset-inline: 0;
    top: calc(100% + 8px);
    background: #fff;
    border-radius: var(--sp-r);
    box-shadow: var(--sp-sh-lg);
    padding: 8px;
    display: none;
    max-height: 420px;
    overflow-y: auto;
    z-index: 50;
}
.sp-suggest.is-open { display: block; }
.sp-suggest__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 10px;
    border-radius: var(--sp-r-xs);
    text-decoration: none;
    color: var(--sp-text);
    transition: background .15s;
}
.sp-suggest__item:hover { background: var(--sp-navy-50); }
.sp-suggest__item img {
    width: 46px; height: 46px;
    object-fit: contain;
    border-radius: var(--sp-r-xs);
    background: var(--sp-subtle);
    flex-shrink: 0;
}
.sp-suggest__body { min-width: 0; flex: 1; }
.sp-suggest__name {
    font-size: .86rem;
    font-weight: 600;
    color: var(--sp-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sp-suggest__meta { font-size: .74rem; color: var(--sp-muted); margin-top: 2px; }
.sp-suggest__price { font-size: .84rem; font-weight: 800; color: var(--sp-navy-700); white-space: nowrap; }
.sp-suggest__empty { padding: 20px; text-align: center; color: var(--sp-muted); font-size: .85rem; }
.sp-suggest__head {
    padding: 8px 10px 6px;
    font-size: .72rem;
    font-weight: 700;
    color: var(--sp-muted);
    border-bottom: 1px solid var(--sp-line-2);
    margin-bottom: 4px;
}

/* -- Actions -- */
.sp-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.sp-action {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: var(--sp-r-sm);
    color: #E5EEF9;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 600;
    transition: background .18s;
}
.sp-action:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.sp-action i { font-size: 1.1rem; }
.sp-action__count {
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: var(--sp-r-pill);
    background: var(--sp-amber-500);
    color: #3A2400;
    font-size: .68rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.sp-action__count.is-empty { display: none; }
.sp-action--account { flex-direction: column; gap: 2px; font-size: .72rem; padding: 6px 10px; }

/* -- Nav bar -- */
.sp-nav {
    background: #fff;
    border-bottom: 1px solid var(--sp-line);
    box-shadow: var(--sp-sh-xs);
    position: sticky;
    top: 0;
    z-index: 40;
}
.sp-nav__inner {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 50px;
}
.sp-nav__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 0;
    border-radius: var(--sp-r-sm);
    background: var(--sp-navy-700);
    color: #fff;
    font: inherit;
    font-size: .86rem;
    font-weight: 700;
    cursor: pointer;
}
.sp-mega-host { position: relative; }
.sp-nav__links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.sp-nav__links > li { position: relative; }
.sp-nav__links > li > a,
.sp-nav__links > li > button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border: 0;
    background: none;
    color: var(--sp-text);
    font: inherit;
    font-size: .86rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    border-radius: var(--sp-r-xs);
    cursor: pointer;
    transition: color .15s, background .15s;
}
.sp-nav__links > li > a:hover,
.sp-nav__links > li > button:hover { color: var(--sp-navy-700); background: var(--sp-navy-50); }
.sp-nav__links a.is-active { color: var(--sp-navy-700); }
.sp-nav__links .sp-nav__caret { font-size: .6rem; color: var(--sp-faint); }
.sp-nav__spacer { flex: 1; }
.sp-nav__promo {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .8rem;
    font-weight: 700;
    color: var(--sp-green-600);
}
.sp-nav__promo i { font-size: 1rem; }
@media (max-width: 1200px) {
    .sp-nav__promo { display: none; }
    .sp-nav__links > li > a,
    .sp-nav__links > li > button { padding: 9px 10px; font-size: .82rem; }
    .sp-nav__all { padding: 9px 12px; }
}

/* -- Mega menu -- */
.sp-mega {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-start: 0;
    width: min(860px, calc(100vw - 40px));
    background: #fff;
    border-radius: var(--sp-r);
    box-shadow: var(--sp-sh-lg);
    padding: 18px;
    display: none;
    z-index: 60;
}
/* invisible hover bridge: keeps the menu open while moving from the trigger into the panel */
.sp-mega::before {
    content: '';
    position: absolute;
    inset-inline: 0;
    top: -14px;
    height: 14px;
}
.sp-mega.is-open { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px 26px; }
.sp-mega__col h4 {
    margin: 0 0 8px;
    font-size: .8rem;
    color: var(--sp-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.sp-mega__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.sp-mega__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 10px;
    border-radius: var(--sp-r-xs);
    color: var(--sp-text);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
}
.sp-mega__list a:hover { background: var(--sp-navy-50); color: var(--sp-navy-700); }
.sp-mega__list .sp-mega__count {
    font-size: .7rem;
    color: var(--sp-muted);
    background: var(--sp-subtle);
    border-radius: var(--sp-r-pill);
    padding: 1px 8px;
}
.sp-mega__list .sp-mega__children { list-style: none; margin: 0 0 6px; padding: 0 12px 0 0; }
.sp-mega__list .sp-mega__children a { font-size: .78rem; font-weight: 500; color: var(--sp-muted); padding: 4px 10px; }

/* -- Burger / mobile -- */
.sp-burger {
    display: none;
    width: 44px; height: 44px;
    border: 0;
    border-radius: var(--sp-r-xs);
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}
.sp-header-mobile-search { display: none; }

/* -- Account dropdown (desktop) -- */
.sp-user {
    position: relative;
}
.sp-user__menu {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-end: 0;
    min-width: 240px;
    background: #fff;
    border-radius: var(--sp-r);
    box-shadow: var(--sp-sh-lg);
    padding: 8px;
    display: none;
    z-index: 60;
}
.sp-user.is-open .sp-user__menu { display: block; }
.sp-user__menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--sp-r-xs);
    color: var(--sp-text);
    font-size: .86rem;
    text-decoration: none;
}
.sp-user__menu a:hover { background: var(--sp-navy-50); color: var(--sp-navy-700); }
.sp-user__menu a i { width: 18px; color: var(--sp-navy-500); }
.sp-user__head {
    padding: 10px 12px;
    border-bottom: 1px solid var(--sp-line-2);
    margin-bottom: 6px;
}
.sp-user__head strong { display: block; font-size: .9rem; color: var(--sp-ink); }
.sp-user__head span { font-size: .76rem; color: var(--sp-muted); }

/* Mobile drawer */
.sp-drawer {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
}
.sp-drawer.is-open { display: block; }
.sp-drawer__backdrop { position: absolute; inset: 0; background: rgba(6, 24, 46, .55); backdrop-filter: blur(2px); }
.sp-drawer__sheet {
    position: absolute;
    inset-block: 0;
    inset-inline-end: 0;
    width: min(340px, 88vw);
    background: #fff;
    display: flex;
    flex-direction: column;
    animation: spSlideIn .25s var(--sp-ease);
    overflow-y: auto;
}
@keyframes spSlideIn { from { transform: translateX(-100%); } to { transform: translateX(0); } }
[dir="rtl"] .sp-drawer__sheet { animation-name: spSlideInRtl; }
@keyframes spSlideInRtl { from { transform: translateX(100%); } to { transform: translateX(0); } }
.sp-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--sp-navy-800);
    color: #fff;
    font-weight: 700;
}
.sp-drawer__close { border: 0; background: none; color: #fff; font-size: 1.5rem; cursor: pointer; line-height: 1; }
.sp-drawer__body { padding: 14px; }
.sp-drawer__search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--sp-subtle);
    border-radius: var(--sp-r-sm);
    padding: 0 12px;
    margin-bottom: 14px;
}
.sp-drawer__search input { flex: 1; border: 0; background: none; outline: none; padding: 12px 0; font: inherit; }
.sp-drawer__search i { color: var(--sp-muted); }
.sp-drawer__nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.sp-drawer__nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 12px;
    border-radius: var(--sp-r-xs);
    color: var(--sp-text);
    font-weight: 600;
    font-size: .92rem;
    text-decoration: none;
}
.sp-drawer__nav a:hover { background: var(--sp-navy-50); color: var(--sp-navy-700); }
.sp-drawer__nav a i { width: 20px; color: var(--sp-navy-500); }
.sp-drawer__divider { height: 1px; background: var(--sp-line-2); margin: 10px 0; }

/* ============================================================
   HERO
   ============================================================ */
.sp-hero { padding-top: 22px; }
.sp-hero__grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 16px;
    align-items: stretch;
}
.sp-hero__slider {
    position: relative;
    border-radius: var(--sp-r-lg);
    overflow: hidden;
    background: var(--sp-navy-800);
    align-self: start;
    box-shadow: var(--sp-sh);
}
.sp-hero__slide { display: none; position: relative; height: 100%; }
.sp-hero__slide.is-active { display: block; }
.sp-hero__slide img { width: 100%; height: auto; aspect-ratio: 7 / 3; object-fit: cover; }
.sp-hero__slide-overlay {
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    max-width: 70%;
    padding: 22px 26px;
    background: linear-gradient(0deg, rgba(6, 24, 46, .85), rgba(6, 24, 46, 0));
    color: #fff;
}
.sp-hero__slide-overlay strong { display: block; font-size: 1.3rem; font-weight: 800; }
.sp-hero__slide-overlay p { margin: 6px 0 0; font-size: .86rem; color: #D5E2F0; }
.sp-hero__dots {
    position: absolute;
    inset-inline-start: 16px;
    bottom: 16px;
    display: flex;
    gap: 7px;
    z-index: 3;
}
.sp-hero__dots button {
    width: 9px; height: 9px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
    padding: 0;
    transition: all .2s;
}
.sp-hero__dots button.is-active { background: var(--sp-amber-400); width: 24px; border-radius: var(--sp-r-pill); }
.sp-hero__fallback {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 40px;
    color: #fff;
    height: 100%;
    background: radial-gradient(120% 120% at 100% 0, var(--sp-navy-600), var(--sp-navy-900));
}
.sp-hero__fallback h2 { margin: 0; font-size: 1.6rem; font-weight: 800; }
.sp-hero__fallback p { margin: 0; color: #C7D6E8; font-size: .9rem; }

.sp-hero__side { display: flex; flex-direction: column; gap: 16px; }
.sp-vehicle-finder {
    background: #fff;
    border-radius: var(--sp-r-lg);
    padding: 18px;
    box-shadow: var(--sp-sh-sm);
    border: 1px solid var(--sp-line);
}
.sp-vehicle-finder__head {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: .95rem;
    font-weight: 800;
    color: var(--sp-ink);
    margin-bottom: 14px;
}
.sp-vehicle-finder__head i { color: var(--sp-amber-500); }
.sp-vehicle-finder label { display: block; margin-bottom: 10px; }
.sp-vehicle-finder label > span { display: block; font-size: .76rem; font-weight: 700; color: var(--sp-muted); margin-bottom: 5px; }
.sp-vehicle-finder select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-r-xs);
    background: var(--sp-card);
    font: inherit;
    font-size: .86rem;
    color: var(--sp-text);
    cursor: pointer;
}
.sp-vehicle-finder select:focus { outline: none; border-color: var(--sp-navy-500); box-shadow: 0 0 0 3px var(--sp-navy-50); }
.sp-hero__banners { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sp-hero__banner {
    border-radius: var(--sp-r);
    overflow: hidden;
    position: relative;
    min-height: 96px;
    background: var(--sp-navy-100);
    display: block;
}
.sp-hero__banner img { width: 100%; height: 100%; object-fit: cover; }
.sp-hero__banner::after {
    content: '\f061';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    inset-inline-end: 10px;
    bottom: 8px;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,.4);
}
[dir="rtl"] .sp-hero__banner::after { content: '\f060'; }

/* ---------- Trust strip ---------- */
.sp-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-r);
    padding: 16px;
    box-shadow: var(--sp-sh-xs);
}
.sp-trust__item { display: flex; align-items: center; gap: 12px; }
.sp-trust__item i {
    width: 46px; height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--sp-r-sm);
    background: var(--sp-navy-50);
    color: var(--sp-navy-600);
    font-size: 1.25rem;
    flex-shrink: 0;
}
.sp-trust__item img { width: 46px; height: 46px; object-fit: contain; border-radius: var(--sp-r-sm); }
.sp-trust__item h3 { margin: 0; font-size: .88rem; font-weight: 700; color: var(--sp-ink); }
.sp-trust__item p { margin: 2px 0 0; font-size: .76rem; color: var(--sp-muted); }

/* ---------- Categories ---------- */
.sp-cats__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}
.sp-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 10px;
    background: var(--sp-card);
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-r);
    text-decoration: none;
    color: var(--sp-text);
    text-align: center;
    transition: transform .2s var(--sp-ease), box-shadow .2s var(--sp-ease), border-color .2s;
}
.sp-cat:hover { transform: translateY(-4px); box-shadow: var(--sp-sh); border-color: var(--sp-navy-100); color: var(--sp-ink); }
.sp-cat__media {
    width: 80px; height: 80px;
    border-radius: 14px;
    background: var(--sp-navy-50);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--sp-navy-600);
    font-size: 1.75rem;
}
.sp-cat__media img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.sp-cat__name { font-size: .85rem; font-weight: 700; line-height: 1.35; min-height: 2.7em; }

/* ---------- Category directory (categories page) ---------- */
.sp-catdir {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.sp-catdir__col {
    background: var(--sp-card);
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-r);
    padding: 16px;
}
.sp-catdir__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--sp-line-2);
    color: var(--sp-ink);
    text-decoration: none;
    font-weight: 800;
}
.sp-catdir__head:hover { color: var(--sp-navy-700); }
.sp-catdir__media {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--sp-navy-50);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--sp-navy-600);
    flex-shrink: 0;
}
.sp-catdir__media img { width: 100%; height: 100%; object-fit: cover; }
.sp-catdir__name { font-size: .95rem; }
.sp-catdir__count {
    margin-inline-start: auto;
    font-size: .68rem;
    font-weight: 700;
    color: var(--sp-muted);
    background: var(--sp-subtle);
    border-radius: var(--sp-r-pill);
    padding: 2px 8px;
}
.sp-catdir__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sp-catdir__list a { color: var(--sp-muted); font-size: .82rem; text-decoration: none; transition: color .15s; }
.sp-catdir__list a:hover { color: var(--sp-navy-700); }
.sp-catdir__list .sp-catdir__all { color: var(--sp-navy-600); font-weight: 700; }
@media (max-width: 992px) { .sp-catdir { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .sp-catdir { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sp-catdir { grid-template-columns: 1fr; } }

/* ---------- Product grid & card ---------- */
.sp-products { }
.sp-products__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.sp-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--sp-card);
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-r);
    overflow: hidden;
    transition: transform .2s var(--sp-ease), box-shadow .2s var(--sp-ease), border-color .2s;
}
.sp-product-card:hover { transform: translateY(-4px); box-shadow: var(--sp-sh); border-color: var(--sp-navy-100); }
.sp-product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1;
    background: var(--sp-subtle);
    overflow: hidden;
}
.sp-product-card__media img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 22px;
    transition: transform .3s var(--sp-ease);
}
.sp-product-card:hover .sp-product-card__media img { transform: scale(1.06); }
.sp-product-card__badges { position: absolute; top: 8px; inset-inline-start: 8px; display: flex; flex-direction: column; gap: 5px; z-index: 2; }
.sp-badge {
    font-size: .68rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: var(--sp-r-pill);
    color: #fff;
    line-height: 1.5;
}
.sp-badge--off { background: var(--sp-red-600); }
.sp-badge--new { background: var(--sp-green-500); }
.sp-badge--hot { background: linear-gradient(135deg, var(--sp-amber-500), var(--sp-amber-600)); color: #3A2400; }
.sp-product-card__oos {
    position: absolute;
    inset: 0;
    background: rgba(241, 245, 249, .82);
    backdrop-filter: blur(1px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sp-red-600);
    font-weight: 800;
    font-size: .9rem;
    z-index: 3;
}
.sp-product-card__body { display: flex; flex-direction: column; gap: 6px; padding: 12px; flex: 1; }
.sp-product-card__brand { font-size: .72rem; color: var(--sp-muted); font-weight: 600; }
.sp-product-card__title { margin: 0; font-size: .86rem; font-weight: 700; line-height: 1.5; min-height: 3em; }
.sp-product-card__title a {
    color: var(--sp-ink);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sp-product-card__title a:hover { color: var(--sp-navy-600); }
.sp-product-card__code { font-size: .7rem; color: var(--sp-faint); }
.sp-product-card__price { margin-top: auto; display: flex; align-items: baseline; gap: 8px; padding-top: 6px; }
.sp-product-card__price strong { font-size: 1rem; font-weight: 800; color: var(--sp-ink); }
.sp-product-card__price strong small { font-size: .68rem; font-weight: 600; color: var(--sp-muted); }
.sp-product-card__price del { font-size: .76rem; color: var(--sp-faint); }
.sp-product-card__oos-text { color: var(--sp-red-600); font-weight: 700; font-size: .85rem; }
.sp-product-card__actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 10px 12px 12px;
    border-top: 1px solid var(--sp-line-2);
}
.sp-product-card__actions .sp-add-form { display: contents; }
.sp-product-card__fav {
    position: absolute;
    top: 8px;
    inset-inline-end: 8px;
    width: 32px; height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--sp-muted);
    cursor: pointer;
    z-index: 4;
    box-shadow: var(--sp-sh-xs);
    transition: color .15s, transform .15s;
}
.sp-product-card__fav:hover { color: var(--sp-red-600); transform: scale(1.1); }
.sp-product-card__fav.is-fav { color: var(--sp-red-600); }

/* ---------- Vehicles ---------- */
.sp-vehicles__brands {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}
.sp-vehicles__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.sp-vehicles__finder-wrap { max-width: 760px; margin-bottom: 8px; }
.sp-vehicles__filter-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 10px 14px;
    background: var(--sp-navy-50);
    border: 1px solid var(--sp-navy-100);
    border-radius: var(--sp-r-sm);
    font-size: .86rem;
    color: var(--sp-text);
}
.sp-vehicles__filter-note i { color: var(--sp-navy-600); }
.sp-vehicles__filter-note a { margin-inline-start: auto; font-weight: 700; color: var(--sp-navy-700); }
.sp-vehicles__brand-block { margin-top: 28px; }
.sp-vehicles__brand-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--sp-ink);
    padding-bottom: 9px;
    border-bottom: 1px solid var(--sp-line);
}
.sp-vehicles__brand-title i { color: var(--sp-amber-500); }
.sp-vehicles__brand-count {
    margin-inline-start: auto;
    font-size: .74rem;
    font-weight: 600;
    color: var(--sp-muted);
    background: var(--sp-navy-50);
    border-radius: var(--sp-r-pill);
    padding: 3px 10px;
}
.sp-vehicle-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 12px;
    background: var(--sp-card);
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-r);
    text-decoration: none;
    color: var(--sp-text);
    text-align: center;
    transition: transform .2s var(--sp-ease), box-shadow .2s;
}
.sp-vehicle-card:hover { transform: translateY(-4px); box-shadow: var(--sp-sh); color: var(--sp-ink); }
.sp-vehicle-card__media {
    width: 104px; height: 104px;
    border-radius: var(--sp-r-sm);
    background: var(--sp-subtle);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--sp-navy-500);
    font-size: 2.2rem;
}
.sp-vehicle-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.sp-vehicle-card__name { font-size: .84rem; font-weight: 700; line-height: 1.4; min-height: 2.8em; }
.sp-vehicle-card__cta { font-size: .72rem; font-weight: 700; color: var(--sp-navy-600); }

/* ---------- Brands ---------- */
.sp-brands__grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
}
.sp-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 8px;
    background: var(--sp-card);
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-r);
    text-decoration: none;
    color: var(--sp-text);
    text-align: center;
    transition: transform .2s var(--sp-ease), box-shadow .2s, border-color .2s;
}
.sp-brand:hover { transform: translateY(-3px); box-shadow: var(--sp-sh-sm); border-color: var(--sp-navy-100); }
.sp-brand__logo {
    width: 68px; height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--sp-navy-600);
    font-size: 1.4rem;
    font-weight: 800;
}
.sp-brand__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sp-brand__name { font-size: .76rem; font-weight: 700; line-height: 1.3; min-height: 2.6em; }

/* ---------- Offers / amazing ---------- */
.sp-offers {
    background: linear-gradient(135deg, #7F1D1D, #B91C1C);
    border-radius: var(--sp-r-lg);
    padding: 22px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.sp-offers::after {
    content: '';
    position: absolute;
    inset-inline-start: -60px;
    top: -60px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
}
.sp-offers__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}
.sp-offers__title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.25rem; font-weight: 800; }
.sp-offers__title i { color: var(--sp-amber-300); }
.sp-countdown { display: flex; align-items: center; gap: 8px; }
.sp-countdown__label { font-size: .78rem; color: #FECACA; }
.sp-countdown__box {
    background: rgba(0, 0, 0, .28);
    border-radius: var(--sp-r-xs);
    padding: 5px 10px;
    font-weight: 800;
    font-size: .95rem;
    min-width: 42px;
    text-align: center;
}
.sp-offers .sp-products__grid { position: relative; z-index: 2; }
.sp-offers .sp-product-card { border-color: transparent; }

/* ---------- Requests ---------- */
.sp-requests {
    background: linear-gradient(135deg, var(--sp-navy-800), var(--sp-navy-950));
    border-radius: var(--sp-r-lg);
    padding: 26px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.sp-requests__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}
.sp-requests__title { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 1.3rem; font-weight: 800; }
.sp-requests__title i { color: var(--sp-amber-400); }
.sp-requests__text { margin: 0; color: #C7D6E8; font-size: .88rem; max-width: 60ch; line-height: 1.8; }
.sp-requests__steps { display: flex; gap: 18px; margin-top: 16px; flex-wrap: wrap; }
.sp-requests__step { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: #D5E2F0; }
.sp-requests__step b {
    width: 24px; height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--sp-amber-500);
    color: #3A2400;
    font-size: .78rem;
    font-weight: 800;
}
.sp-requests__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

/* -- Request tracking steps -- */
.req-steps { display: flex; align-items: flex-start; margin: 14px 0; }
.req-steps__item { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 0 0 auto; min-width: 80px; }
.req-steps__icon {
    width: 38px; height: 38px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .95rem; flex-shrink: 0;
    background: var(--sp-navy-50); color: var(--sp-muted);
    border: 2px solid var(--sp-line);
}
.req-steps__label { font-size: .72rem; font-weight: 700; color: var(--sp-muted); text-align: center; }
.req-steps__line { flex: 1 1 auto; height: 3px; border-radius: 3px; background: var(--sp-line); margin-top: 18px; min-width: 16px; }
.req-steps__item.is-done .req-steps__icon { background: #16a34a; border-color: #16a34a; color: #fff; }
.req-steps__item.is-done .req-steps__label { color: #16a34a; }
.req-steps__line.is-done { background: #16a34a; }
.req-steps__item.is-active .req-steps__icon { background: var(--sp-amber-400); border-color: var(--sp-amber-500); color: #3A2400; box-shadow: 0 0 0 4px rgba(245, 158, 11, .18); }
.req-steps__item.is-active .req-steps__label { color: var(--sp-ink); }
.req-steps--rejected .req-steps__icon { background: #fee2e2; border-color: #fca5a5; color: #b91c1c; }
.req-steps--rejected .req-steps__label { color: #b91c1c; }
.req-steps__rejected-note { margin-top: 6px; color: #b91c1c; font-size: .8rem; font-weight: 700; }
.req-steps--compact .req-steps__item { min-width: 36px; }
.req-steps--compact .req-steps__icon { width: 30px; height: 30px; font-size: .78rem; }
.req-steps--compact .req-steps__label { display: none; }
.req-steps--compact .req-steps__line { margin-top: 14px; }
.sp-request-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--sp-r-sm);
    padding: 14px;
    padding-inline-end: 34px;
}
.sp-request-card img {
    width: 48px; height: 48px;
    border-radius: var(--sp-r-xs);
    object-fit: cover;
    background: rgba(255, 255, 255, .1);
    flex-shrink: 0;
}
.sp-request-card__ph {
    width: 48px; height: 48px;
    border-radius: var(--sp-r-xs);
    background: rgba(255, 255, 255, .1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #C7D6E8;
}
.sp-request-card__body { min-width: 0; }
.sp-request-card__name { font-size: .84rem; font-weight: 700; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-request-card__meta { font-size: .72rem; color: #AFC3DA; margin-top: 2px; }
.sp-request-card__tag {
    position: absolute;
    top: 12px;
    left: -46px;
    width: 130px;
    padding: 4px 0;
    text-align: center;
    transform: rotate(-45deg);
    background: var(--sp-green-500);
    color: #fff;
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .4px;
    border-radius: 0;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .3);
    z-index: 2;
    white-space: nowrap;
}

/* ---------- Videos ---------- */
.sp-section--videos {
    background: linear-gradient(180deg, var(--sp-navy-50), rgba(242, 247, 252, 0));
    border-block: 1px solid var(--sp-line);
}
.sp-videos__slider {
    position: relative;
}
.sp-videos__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: center;
    justify-content: safe center;
}
.sp-videos__track::-webkit-scrollbar { display: none; }
.sp-videos__track > .sp-video {
    flex: 0 0 calc((100% - 100px) / 6);
    scroll-snap-align: start;
}
.sp-videos__track .sp-video__media,
.sp-videos__track .sp-video__media--image {
    width: 100%;
}
.sp-videos__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: var(--sp-navy-700);
    box-shadow: var(--sp-sh-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s var(--sp-ease), color .2s var(--sp-ease);
}
.sp-videos__nav:hover { background: var(--sp-amber-500); color: #3A2400; }
.sp-videos__nav--prev { inset-inline-start: -6px; }
.sp-videos__nav--next { inset-inline-end: -6px; }
.sp-video {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--sp-text);
    background: transparent;
    border: 0;
    box-shadow: none;
    transition: transform .25s var(--sp-ease);
}
.sp-video:hover {
    transform: translateY(-4px);
    color: var(--sp-ink);
}
.sp-video__media {
    position: relative;
    display: grid;
    place-items: center;
    width: min(200px, 64%);
    aspect-ratio: 1;
    margin-inline: auto;
    border-radius: 50%;
    background:
        radial-gradient(120% 120% at 88% 10%, rgba(245, 158, 11, .25), transparent 55%),
        radial-gradient(150% 130% at 12% 100%, rgba(30, 90, 150, .6), transparent 62%),
        linear-gradient(140deg, var(--sp-navy-900), var(--sp-navy-700));
    overflow: hidden;
    box-shadow: none;
    transition: none;
}
.sp-video:hover .sp-video__media { box-shadow: none; }
.sp-video__media::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: .45;
    pointer-events: none;
}
.sp-video .sp-video__media--image {
    display: block;
    width: 33.333%;
    height: auto;
    aspect-ratio: auto;
    margin-inline: auto;
    border-radius: 16px;
    background: var(--sp-subtle);
}
.sp-video .sp-video__media--image::before { display: none; }
.sp-video .sp-video__thumb {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}
.sp-video__glow {
    position: absolute;
    inset-inline-start: 50%;
    top: 50%;
    width: 70%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 68%);
    pointer-events: none;
}
.sp-video__logo {
    position: relative;
    z-index: 3;
    width: clamp(72px, 44%, 112px);
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    padding: 15%;
    border-radius: 50%;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 14px 34px rgba(6, 24, 46, .4), 0 0 0 6px rgba(255, 255, 255, .1);
    transition: transform .3s var(--sp-ease), box-shadow .3s var(--sp-ease);
}
.sp-video:hover .sp-video__logo {
    transform: scale(1.05);
    box-shadow: 0 18px 40px rgba(6, 24, 46, .48), 0 0 0 8px rgba(245, 158, 11, .22);
}
.sp-video__play {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--sp-navy-700);
    box-shadow: 0 8px 22px rgba(6, 24, 46, .45);
    transition: transform .25s var(--sp-ease), background .25s, color .25s;
}
.sp-video__play::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .38);
    transition: inset .25s var(--sp-ease), opacity .25s;
}
.sp-video__play i {
    font-size: .82rem;
    margin-inline-end: 2px;
}
.sp-video:hover .sp-video__play {
    background: var(--sp-amber-500);
    color: #3A2400;
    transform: translateX(-50%) scale(1.1);
}
.sp-video:hover .sp-video__play::before { inset: -10px; }
.sp-video__media .sp-video__play {
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
}
.sp-video:hover .sp-video__media .sp-video__play {
    transform: translate(-50%, -50%) scale(1.1);
}
/* ---------- Blog ---------- */
.sp-blog__layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 18px;
}
.sp-blog__featured {
    display: flex;
    flex-direction: column;
    border-radius: var(--sp-r);
    overflow: hidden;
    background: var(--sp-card);
    border: 1px solid var(--sp-line);
    text-decoration: none;
    color: var(--sp-text);
    transition: box-shadow .2s, transform .2s;
}
.sp-blog__featured:hover { transform: translateY(-3px); box-shadow: var(--sp-sh); color: var(--sp-ink); }
.sp-blog__featured-media { aspect-ratio: 16 / 9; background: var(--sp-subtle); overflow: hidden; }
.sp-blog__featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.sp-blog__featured:hover img { transform: scale(1.05); }
.sp-blog__featured-body { padding: 18px; }
.sp-blog__featured-body h3 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 800; line-height: 1.7; }
.sp-blog__featured-body p { margin: 0; font-size: .85rem; color: var(--sp-muted); line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sp-blog__list { display: flex; flex-direction: column; gap: 12px; }
.sp-blog__mini {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
    background: var(--sp-card);
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-r);
    padding: 10px;
    text-decoration: none;
    color: var(--sp-text);
    transition: border-color .2s, box-shadow .2s;
}
.sp-blog__mini:hover { border-color: var(--sp-navy-100); box-shadow: var(--sp-sh-xs); color: var(--sp-ink); }
.sp-blog__mini-media { border-radius: var(--sp-r-xs); overflow: hidden; aspect-ratio: 1; background: var(--sp-subtle); }
.sp-blog__mini-media img { width: 100%; height: 100%; object-fit: cover; }
.sp-blog__mini-body { display: flex; flex-direction: column; justify-content: center; gap: 5px; min-width: 0; }
.sp-blog__mini-body h3 { margin: 0; font-size: .86rem; font-weight: 700; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sp-blog__date { font-size: .72rem; color: var(--sp-faint); }

/* ---------- Trust badges ---------- */
.sp-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-r);
}
.sp-badges a, .sp-badges div { display: inline-flex; align-items: center; }
.sp-badges img { max-height: 96px; width: auto; }
.sp-badge-embed { display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Empty state ---------- */
.sp-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: var(--sp-muted);
    font-size: .9rem;
    background: var(--sp-card);
    border: 1px dashed var(--sp-line);
    border-radius: var(--sp-r);
}
.sp-empty i { display: block; font-size: 2rem; margin-bottom: 10px; color: var(--sp-faint); }

/* ============================================================
   FOOTER
   ============================================================ */
.sp-footer {
    margin-top: 40px;
    background: var(--sp-navy-950);
    color: #B9C9DC;
    font-size: .85rem;
}
.sp-footer__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr 1fr;
    gap: 30px;
    padding-block: 44px;
}
.sp-footer__brand-name {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 14px;
}
.sp-footer__about { line-height: 2; color: #A7BACC; margin: 0 0 18px; }
.sp-footer__contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sp-footer__contact li { display: flex; align-items: flex-start; gap: 9px; line-height: 1.7; }
.sp-footer__contact i { color: var(--sp-amber-400); width: 16px; margin-top: 4px; }
.sp-footer__contact a { color: #B9C9DC; text-decoration: none; }
.sp-footer__contact a:hover { color: #fff; }
.sp-footer__col h4 {
    margin: 0 0 16px;
    color: #fff;
    font-size: .92rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}
.sp-footer__col h4::after {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    width: 28px;
    height: 3px;
    border-radius: var(--sp-r-pill);
    background: var(--sp-amber-500);
}
.sp-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.sp-footer__list a {
    color: #A7BACC;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: color .15s, padding .15s;
}
.sp-footer__list a:hover { color: #fff; padding-inline-start: 4px; }
.sp-footer__list a i { font-size: .6rem; color: var(--sp-amber-500); }
.sp-socials { display: flex; gap: 10px; margin-top: 16px; }
.sp-socials a {
    width: 38px; height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--sp-r-xs);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 1.05rem;
    transition: background .2s, transform .2s;
}
.sp-socials a:hover { background: var(--sp-amber-500); color: #3A2400; transform: translateY(-3px); }
.sp-footer__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; justify-content: center; align-items: center; }
.sp-footer__badges img { max-height: 80px; width: auto; border-radius: 8px; background: #fff; padding: 4px; }
.sp-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-block: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: .8rem;
    color: #8798AB;
    flex-wrap: wrap;
}
.sp-footer__bottom a { color: #B9C9DC; text-decoration: none; }
.sp-footer__bottom a:hover { color: #fff; }
.sp-footer__bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Footer accordion (mobile) ---------- */
.sp-footer__section-head {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: default;
}
.sp-footer__section-head::-webkit-details-marker { display: none; }
.sp-footer__section-head::marker { content: ''; }
.sp-footer__section-head h4 { flex: 1; }
.sp-footer__section-caret {
    display: none;
    font-size: .72rem;
    color: var(--sp-amber-400);
    transition: transform .25s var(--sp-ease);
}
.sp-footer__section--spaced { margin-top: 20px; }

@media (min-width: 769px) {
    .sp-footer__section-head { pointer-events: none; }
}

@media (max-width: 768px) {
    .sp-footer__section-head { pointer-events: auto; cursor: pointer; }
    .sp-footer__section-caret { display: inline-block; }
    .sp-footer-section[open] .sp-footer__section-caret { transform: rotate(180deg); }
    .sp-footer__col .sp-footer-section { border-bottom: 1px solid rgba(255, 255, 255, .12); }
    .sp-footer__col .sp-footer-section--spaced { margin-top: 0; }
    .sp-footer__col .sp-footer__section-head { padding-block: 6px; }
    .sp-footer__col .sp-footer__section-head h4 { margin: 0; padding-bottom: 0; }
    .sp-footer__col .sp-footer__section-head h4::after { display: none; }
    .sp-footer__col .sp-footer__section > .sp-footer__list,
    .sp-footer__col .sp-footer__section > .sp-footer__badges { padding-bottom: 14px; }
}

/* ============================================================
   MOBILE BOTTOM NAV
   ============================================================ */
.sp-bottomnav {
    display: none;
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 1100;
    background: #fff;
    border-top: 1px solid var(--sp-line);
    box-shadow: 0 -4px 20px rgba(15, 23, 42, .08);
    padding-bottom: env(safe-area-inset-bottom, 0);
}
.sp-bottomnav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}
.sp-bottomnav__list > li { position: relative; }
.sp-bottomnav__list a,
.sp-bottomnav__list button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 9px 4px;
    width: 100%;
    border: 0;
    background: none;
    color: var(--sp-muted);
    font: inherit;
    font-size: .68rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.sp-bottomnav__list a i,
.sp-bottomnav__list button i { font-size: 1.15rem; }
.sp-bottomnav__list a.is-active,
.sp-bottomnav__list button.is-active { color: var(--sp-navy-700); }
.sp-bottomnav__list a.is-active i,
.sp-bottomnav__list button.is-active i { color: var(--sp-amber-500); }
.sp-bottomnav__badge {
    position: absolute;
    top: 4px;
    inset-inline-start: 50%;
    margin-inline-start: 2px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: var(--sp-r-pill);
    background: var(--sp-red-600);
    color: #fff;
    font-size: .62rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Mobile account sheet (profile) ---------- */
.sp-account-sheet {
    position: fixed;
    inset: 0;
    z-index: 1150;
    display: none;
    direction: rtl;
}
.sp-account-sheet.is-open { display: block; }
.sp-account-sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 24, 46, .55);
    opacity: 0;
    transition: opacity .28s var(--sp-ease);
}
.sp-account-sheet.is-open .sp-account-sheet__backdrop { opacity: 1; }
.sp-account-sheet__panel {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    max-height: 82vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -12px 40px rgba(15, 23, 42, .18);
    padding: 8px 16px calc(18px + env(safe-area-inset-bottom, 0px));
    transform: translate3d(0, 100%, 0);
    transition: transform .32s cubic-bezier(.22, 1, .36, 1);
}
.sp-account-sheet.is-open .sp-account-sheet__panel { transform: translate3d(0, 0, 0); }
.sp-account-sheet__handle {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: var(--sp-line);
    margin: 4px auto 12px;
}
.sp-account-sheet__head {
    padding: 4px 6px 12px;
    border-bottom: 1px solid var(--sp-line-2);
    margin-bottom: 8px;
}
.sp-account-sheet__head strong { display: block; font-size: 1rem; color: var(--sp-ink); }
.sp-account-sheet__head span { font-size: .8rem; color: var(--sp-muted); direction: ltr; display: inline-block; }
.sp-account-sheet__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.sp-account-sheet__list a,
.sp-account-sheet__list button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 13px 12px;
    border: 0;
    background: none;
    border-radius: var(--sp-r-xs);
    color: var(--sp-text);
    font: inherit;
    font-size: .92rem;
    font-weight: 600;
    text-decoration: none;
    text-align: start;
    cursor: pointer;
}
.sp-account-sheet__list a:hover,
.sp-account-sheet__list button:hover { background: var(--sp-navy-50); color: var(--sp-navy-700); }
.sp-account-sheet__list i { width: 20px; text-align: center; color: var(--sp-navy-500); }
.sp-account-sheet__divider { height: 1px; background: var(--sp-line-2); margin: 6px 0; }
.sp-account-sheet__list .sp-account-sheet__logout { color: var(--sp-red-600); }
.sp-account-sheet__list .sp-account-sheet__logout i { color: var(--sp-red-600); }
body.sp-account-open { overflow: hidden; }

@media (min-width: 769px) {
    .sp-account-sheet { display: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .sp-products__grid { grid-template-columns: repeat(4, 1fr); }
    .sp-cats__grid { grid-template-columns: repeat(5, 1fr); }
    .sp-brands__grid { grid-template-columns: repeat(6, 1fr); }
    .sp-footer__top { grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; }
}

@media (max-width: 992px) {
    .sp-products__grid { grid-template-columns: repeat(3, 1fr); }
    .sp-vehicles__grid { grid-template-columns: repeat(4, 1fr); }
    .sp-cats__grid { grid-template-columns: repeat(4, 1fr); }
    .sp-hero__grid { grid-template-columns: 1fr; }
    .sp-blog__layout { grid-template-columns: 1fr; }
    .sp-videos__track > .sp-video { flex: 0 0 calc((100% - 40px) / 3); }
    .sp-requests__inner { grid-template-columns: 1fr; }
    .sp-footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .sp-container { width: calc(100% - 24px); }
    .sp-topbar { display: none; }
    .sp-header-main { padding-block: 10px; }
    html body .sp-header-main__inner { flex-wrap: wrap; gap: 0; justify-content: center; }
    html body .sp-logo { gap: 12px; }
    .sp-burger { display: none; }
    .sp-search-block { order: 3; flex: 1 1 100%; margin-top: 0; }
    .sp-actions { display: none; }
    .sp-brand-text { display: none; }
    .sp-logo__tag { display: inline; font-size: .82rem; margin-top: 0; }
    .sp-logo__img { height: 60px; }
    .sp-logo__text { display: flex; flex-direction: row; align-items: center; gap: 10px; text-align: center; }
    .sp-logo__name { font-size: 1.3rem; }
    .sp-action__label { display: none; }
    .sp-nav { display: none; }
    .sp-products__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .sp-cats__grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .sp-vehicles__grid { grid-template-columns: repeat(2, 1fr); }
    .sp-brand { padding: 10px 6px; }
    .sp-brands__grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .sp-trust { grid-template-columns: 1fr 1fr; gap: 14px; }
    .sp-videos__track > .sp-video { flex: 0 0 calc((100% - 20px) / 2); }
    .sp-bottomnav { display: block; }
    body { padding-bottom: 62px; }
    .sp-footer { margin-bottom: 0; }
    .sp-footer__top { grid-template-columns: 1fr; gap: 22px; padding-block: 30px; }
    .sp-footer__bottom { flex-direction: column; text-align: center; }
    .sp-section { padding-block: 24px; }
    .sp-section__title { font-size: 1.1rem; }
}

@media (max-width: 480px) {
    .sp-products__grid { gap: 8px; }
    .sp-product-card__actions { grid-template-columns: 1fr; }
    .sp-product-card__actions .sp-btn--ghost { display: none; }
    .sp-cats__grid { grid-template-columns: repeat(2, 1fr); }
    .sp-videos__track > .sp-video { flex: 0 0 100%; }
}

/* ---------- Video modal ---------- */
button.sp-video {
    font: inherit;
    text-align: inherit;
    cursor: pointer;
    width: 100%;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
}
.sp-modal {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: none;
}
.sp-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}
.sp-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 24, 46, .78);
    backdrop-filter: blur(3px);
}
.sp-modal__dialog {
    position: relative;
    width: min(920px, calc(100% - 32px));
    background: #fff;
    border-radius: var(--sp-r-lg);
    overflow: hidden;
    box-shadow: var(--sp-sh-lg);
    animation: spModalIn .25s var(--sp-ease);
}
@keyframes spModalIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.sp-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: var(--sp-navy-800);
    color: #fff;
    font-weight: 700;
    font-size: .92rem;
}
.sp-modal__close {
    border: 0;
    background: none;
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}
.sp-modal__body {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}
.sp-modal__body iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
