/* ==========================================================
   SOUVIKS SHARED CSS FOUNDATION
   Canonical global tokens, primitives and shared components.
   Page bundles import this file; page-specific rules stay local.
========================================================== */


/* ===== variables.css ===== */
:root {

    /* ==========================================================
       BRAND COLORS
    ========================================================== */

    --color-primary: #D62828;
    --color-primary-dark: #B71C1C;

    --color-secondary: #2F3437;
    --color-secondary-light: #4B5563;

    --color-success: #16A34A;
    --color-warning: #F59E0B;
    --color-danger: #DC2626;

    /* ==========================================================
       BACKGROUNDS
    ========================================================== */

    --bg-body: #F5F6F7;
    --bg-card: #FFFFFF;
    --bg-dark: #243042;

    /* ==========================================================
       TYPOGRAPHY
    ========================================================== */

    --font-body: "Inter", sans-serif;
    --font-heading: "Poppins", sans-serif;

    --text-primary: #111827;
    --text-secondary: #6B7280;
    --text-light: #FFFFFF;

    /* ==========================================================
       BORDERS
    ========================================================== */

    --border-color: #E5E7EB;

    /* ==========================================================
       SHADOWS
    ========================================================== */

    --shadow-sm: 0 2px 4px rgba(0,0,0,.06);
    --shadow-md: 0 6px 18px rgba(0,0,0,.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,.12);

    /* ==========================================================
       SPACING
    ========================================================== */

    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;
    --space-xxl: 64px;

    /* ==========================================================
       RADIUS
    ========================================================== */

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;

    /* ==========================================================
       LAYOUT
    ========================================================== */

    --container-width: 1600px;
    --header-height: 60px;

    /* Compatibility aliases used by older/feature CSS modules. */
    --bg-light: #F8FAFC;
    --bg-page: var(--bg-body);
    --card-bg: var(--bg-card);
    --surface: var(--bg-card);
    --surface-alt: #F8FAFC;
    --surface-soft: #F8FAFC;
    --color-body: var(--text-primary);
    --color-heading: var(--text-primary);
    --color-text: var(--text-primary);
    --color-text-light: var(--text-light);
    --primary-color: var(--color-primary);
    --text-color: var(--text-primary);
    --text-muted: var(--text-secondary);

    /* ==========================================================
       SEMANTIC UI TINTS / OVERLAYS
       Centralized so feature CSS never needs component-specific
       hard-coded colors. These preserve the existing visual intent.
    ========================================================== */

    --color-primary-light: #EF5350;
    --color-success-dark: #15803D;
    --color-text-tertiary: #374151;
    --color-text-placeholder: #9CA3AF;
    --color-vehicle-icon: #334155;

    --surface-subtle: #FAFAFA;
    --surface-muted: #F3F4F6;
    --surface-primary-soft: #FFF3F3;
    --surface-success-soft: #DFF7F0;

    --overlay-slate-16: rgba(15,23,42,.16);
    --overlay-slate-18: rgba(15,23,42,.18);
    --overlay-slate-24: rgba(15,23,42,.24);
    --overlay-slate-55: rgba(15,23,42,.55);
    --overlay-slate-58: rgba(15,23,42,.58);
    --overlay-slate-60: rgba(15,23,42,.60);


    --overlay-black-02: rgba(0,0,0,.025);
    --overlay-white-00: rgba(255,255,255,0);
    --overlay-white-100: rgba(255,255,255,1);

    --overlay-black-06: rgba(0,0,0,.06);
    --overlay-black-08: rgba(0,0,0,.08);
    --overlay-black-10: rgba(0,0,0,.10);
    --overlay-black-12: rgba(0,0,0,.12);
    --overlay-black-15: rgba(0,0,0,.15);
    --overlay-black-18: rgba(0,0,0,.18);
    --overlay-black-20: rgba(0,0,0,.20);
    --overlay-black-25: rgba(0,0,0,.25);
    --overlay-black-28: rgba(0,0,0,.28);
    --overlay-black-45: rgba(0,0,0,.45);
    --overlay-black-58: rgba(0,0,0,.58);
    --overlay-black-60: rgba(0,0,0,.60);
    --overlay-black-65: rgba(0,0,0,.65);
    --overlay-black-78: rgba(0,0,0,.78);

    --overlay-white-06: rgba(255,255,255,.06);
    --overlay-white-08: rgba(255,255,255,.08);
    --overlay-white-10: rgba(255,255,255,.10);
    --overlay-white-12: rgba(255,255,255,.12);
    --overlay-white-14: rgba(255,255,255,.14);
    --overlay-white-15: rgba(255,255,255,.15);
    --overlay-white-18: rgba(255,255,255,.18);
    --overlay-white-20: rgba(255,255,255,.20);
    --overlay-white-22: rgba(255,255,255,.22);
    --overlay-white-35: rgba(255,255,255,.35);
    --overlay-white-50: rgba(255,255,255,.50);
    --overlay-white-65: rgba(255,255,255,.65);
    --overlay-white-72: rgba(255,255,255,.72);
    --overlay-white-78: rgba(255,255,255,.78);
    --overlay-white-82: rgba(255,255,255,.82);
    --overlay-white-85: rgba(255,255,255,.85);
    --overlay-white-90: rgba(255,255,255,.90);
    --overlay-white-92: rgba(255,255,255,.92);
    --overlay-white-93: rgba(255,255,255,.93);
    --overlay-white-94: rgba(255,255,255,.94);
    --overlay-white-96: rgba(255,255,255,.96);
    --overlay-white-98: rgba(255,255,255,.98);

    --color-primary-alpha-06: rgba(214,40,40,.06);
    --color-primary-alpha-07: rgba(214,40,40,.07);
    --color-primary-alpha-08: rgba(214,40,40,.08);
    --color-primary-alpha-14: rgba(214,40,40,.14);
    --color-primary-alpha-15: rgba(214,40,40,.15);
    --color-primary-alpha-16: rgba(214,40,40,.16);

    --color-success-alpha-06: rgba(22,163,74,.06);
    --color-success-alpha-10: rgba(22,163,74,.10);
    --color-success-alpha-12: rgba(22,163,74,.12);
    --color-success-alpha-20: rgba(22,163,74,.20);

    --color-danger-alpha-15: rgba(220,38,38,.15);
    --color-danger-alpha-18: rgba(220,38,38,.18);
    --color-danger-alpha-35: rgba(220,38,38,.35);

    --color-neutral-alpha-12: rgba(127,127,127,.12);
    --color-neutral-alpha-28: rgba(127,127,127,.28);

    /* ==========================================================
       TRANSITIONS
    ========================================================== */

    --transition-fast: .2s ease;
    --transition-normal: .3s ease;

}

/* ===== reset.css ===== */
*,
*::before,
*::after {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}

img {

    max-width: 100%;
    display: block;

}

a {

    text-decoration: none;

}

ul {

    list-style: none;

}

button,
input,
select,
textarea {

    font: inherit;

}

/* ===== typography.css ===== */
body {

    font-family:
        Inter,
        Segoe UI,
        sans-serif;

    font-size: 16px;

    line-height: 1.6;

    color: var(--text-primary);

    background: var(--bg-body);

}

h1,
h2,
h3,
h4,
h5 {

    color: var(--text-primary);

    line-height: 1.2;

    font-weight: 700;

}

h1 {

    font-size: 3rem;

}

h2 {

    font-size: 2.25rem;

}

h3 {

    font-size: 1.5rem;

}

p {

    margin-bottom: 1rem;

}

/* ===== layout.css ===== */
/* ==========================================================
   CONTAINERS
========================================================== */

.container {
    width: 100%;
    max-width: var(--container-width);
    margin-inline: auto;
    padding-inline: 24px;
    box-sizing: border-box;
}

.page-content {

    max-width: 1200px;

    margin: 0 auto;

}


/* ==========================================================
   PAGE SECTIONS
========================================================== */

section {

    position: relative;

}

.section-spacing {

    padding: 40px 0;

}

.catalogue-search,
.category-directory,
.brand-directory,
.vehicle-directory,
.product-directory,
.catalogue-products {

    padding: 20px 0;

}


/* ==========================================================
   SECTION HEADINGS
========================================================== */

.section-heading {

    text-align: center;

    margin-bottom: 48px;

}

.section-heading h2 {

    margin-bottom: 12px;

    font-size: 42px;

    font-weight: 800;

    color: var(--text-primary);

}

.section-heading p {

    max-width: 700px;

    margin: 0 auto;

    color: var(--text-secondary);

}


/* ==========================================================
   CTA
========================================================== */

.cta-banner {

    padding: 20px 0;

}

.cta-wrapper {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;

    padding: 24px;

    background: var(--bg-card);

    border: 1px solid var(--border-color);

    border-radius: 20px;

}

.cta-content {

    max-width: 700px;

}

.cta-tag {

    display: inline-block;

    margin-bottom: 8px;

    color: var(--color-primary);

    font-weight: 700;

}

.cta-content h2 {

    margin-bottom: 8px;

}

.cta-content p {

    color: var(--text-secondary);

}

.cta-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

}


/* ==========================================================
   BREADCRUMB
========================================================== */

.breadcrumb {

    padding: 16px 0;

    background: var(--bg-card);

    border-bottom: 1px solid var(--border-color);

}

.breadcrumb-list {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    list-style: none;

}

.breadcrumb-item {

    font-size: 14px;

}

.breadcrumb-item.active {

    font-weight: 600;

}

.breadcrumb-item + .breadcrumb-item::before {

    content: "›";

    display: inline-block;

    margin-right: 8px;

    color: var(--text-secondary);

}


/* ==========================================================
   FLEX UTILITIES
========================================================== */

.flex {

    display: flex;

}

.flex-center {

    display: flex;

    justify-content: center;

    align-items: center;

}

.flex-between {

    display: flex;

    justify-content: space-between;

    align-items: center;

}


/* ==========================================================
   GRID UTILITIES
========================================================== */

.grid {

    display: grid;

}

.grid-2 {

    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 24px;

}

.grid-3 {

    display: grid;

    grid-template-columns: repeat(3,1fr);

    gap: 24px;

}

.grid-4 {

    display: grid;

    grid-template-columns: repeat(4,1fr);

    gap: 24px;

}

/* ===== components.css ===== */
/* ==========================================================
   PAGE HERO
========================================================== */

.page-hero {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 320px;

    overflow: hidden;

    text-align: center;

}

.page-hero::before {

    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(
        var(--overlay-slate-60),
        var(--overlay-slate-60)
    );

}

.page-hero .container {

    position: relative;

    z-index: 2;

}

.page-hero h1 {

    font-size: 56px;

    color: var(--bg-card);

}

.page-hero p {

    color: var(--overlay-white-85);

}


/* ==========================================================
   HERO BACKGROUNDS
========================================================== */

.catalogue-hero,
.categories-hero,
.request-quote-hero,
.contact-hero,
.about-hero,
.products-hero,
.vehicles-hero,
.brands-hero,
.privacy-hero,
.terms-hero {

    position: relative;

    min-height: 300px;

    padding: 100px 0;

    text-align: center;

    align-items: center;

    background-size: cover;

    background-position: center;

    color: var(--bg-card);

}

.catalogue-hero,
.categories-hero {

    --hero-image: url("/assets/images/hero/catalogue-hero.webp?v=2c7b97e05e39");
    background-image: linear-gradient(
        var(--overlay-slate-55),
        var(--overlay-slate-55)
    ), var(--hero-image);

}

.request-quote-hero {

    --hero-image: url("/assets/images/hero/request-quote-hero.webp?v=fcc02e5a011f");
    background-image: linear-gradient(
        var(--overlay-slate-55),
        var(--overlay-slate-55)
    ), var(--hero-image);

}

.contact-hero {

    --hero-image: url("/assets/images/hero/contact-hero.webp?v=0c2e9966d009");
    background-image: linear-gradient(
        var(--overlay-slate-55),
        var(--overlay-slate-55)
    ), var(--hero-image);

}

.about-hero {

    --hero-image: url("/assets/images/hero/about-hero.webp?v=cc0627c275eb");
    background-image: linear-gradient(
        var(--overlay-slate-55),
        var(--overlay-slate-55)
    ), var(--hero-image);

}

.products-hero {

    --hero-image: url("/assets/images/hero/product-hero.webp?v=b66109f9dd06");
    background-image: linear-gradient(
        var(--overlay-slate-55),
        var(--overlay-slate-55)
    ), var(--hero-image);

}

.vehicles-hero {

    --hero-image: url("/assets/images/hero/vehicle-hero.webp?v=9716860b7ba0");
    background-image: linear-gradient(
        var(--overlay-slate-55),
        var(--overlay-slate-55)
    ), var(--hero-image);

}

.brands-hero {

    --hero-image: url("/assets/images/hero/brand-hero.webp?v=8e5124b9f5ca");
    background-image: linear-gradient(
        var(--overlay-slate-55),
        var(--overlay-slate-55)
    ), var(--hero-image);

}

.privacy-hero {

    --hero-image: url("/assets/images/hero/privacy-hero.webp?v=d1e347b63947");
    background-image: linear-gradient(
        var(--overlay-slate-55),
        var(--overlay-slate-55)
    ), var(--hero-image);

}

.terms-hero {

    --hero-image: url("/assets/images/hero/terms-hero.webp?v=4ab4709ef694");
    background-image: linear-gradient(
        var(--overlay-slate-55),
        var(--overlay-slate-55)
    ), var(--hero-image);

}

.refund-hero {

    --hero-image: url("/assets/images/hero/refund-hero.webp?v=0998646fcee2");
    background-image: linear-gradient(
        var(--overlay-slate-55),
        var(--overlay-slate-55)
    ), var(--hero-image);

}

.index-hero {

    position: relative;

    min-height: 500px;

    padding: 140px 120px;

    text-align: center;

    align-items: center;

    background:
        linear-gradient(
            var(--overlay-slate-55),
            var(--overlay-slate-55)
        ),
        url("/assets/images/hero/index-hero.webp?v=c5d57ca84209");

    background-size: cover;

    background-position: center;

    color: var(--bg-card);

}


/* ==========================================================
   HERO TYPOGRAPHY
========================================================== */

.products-hero h1,
.catalogue-hero h1,
.categories-hero h1,
.brands-hero h1,
.vehicles-hero h1,
.about-hero h1,
.privacy-hero h1,
.index-hero h1,
.request-quote-hero h1,
.contact-hero h1 {

    margin-bottom: 16px;

    color: var(--bg-card);

}

.index-hero p,
.products-hero p,
.privacy-hero p,
.catalogue-hero p,
.categories-hero p,
.brands-hero p,
.vehicles-hero p,
.request-quote-hero p,
.about-hero p,
.contact-hero p {

    max-width: 700px;

    margin: 0 auto;

    color: var(--overlay-white-90);

}


/* ==========================================================
   HERO STATS
========================================================== */

.hero-stats {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 32px;

    margin-top: 32px;

    padding: 24px 40px;

    width: fit-content;

    margin-left: auto;

    margin-right: auto;

    background: var(--overlay-white-08);

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);

    border: 1px solid var(--overlay-white-15);

    border-radius: 20px;

    box-shadow:
        0 10px 30px var(--overlay-black-25);

}

.hero-stat {

    position: relative;

    display: flex;

    gap: 14px;

    min-width: 140px;

    align-items: center;

    padding: 0 32px;

    text-align: center;

}

.hero-stat strong {

    display: block;

    margin-bottom: 6px;

    font-size: 42px;

    font-weight: 700;

    line-height: 1;

    color: var(--bg-card);

}

.hero-stat span {

    font-size: 14px;

    letter-spacing: .5px;

    color: var(--overlay-white-85);

}

.hero-stat:not(:last-child)::after {

    content: "";

    position: absolute;

    top: 50%;

    right: 0;

    width: 1px;

    height: 60px;

    background: var(--overlay-white-18);

    transform: translateY(-50%);

}

.hero-stat-icon {

    width: 24px !important;

    height: 24px !important;

    margin: 0;

    display: block;

    flex-shrink: 0;

    object-fit: contain;

}

.hero-stat-icon[src*="/vehicle.svg"] {

    filter: brightness(0) invert(1);

}

.hero-stat-content {

    display: flex;

    flex-direction: column;

}

.stat-number {

    font-size: 36px;

    font-weight: 700;

    line-height: 1;

    color: var(--bg-card);

}

.stat-label {

    font-size: 13px;

    color: var(--overlay-white-85);

}

.hero-stat-divider {

    width: 1px;

    height: 48px;

    background: var(--overlay-white-20);

}


/* Contact hero stat icons sit on a dark photographic background. */
.contact-hero .hero-stat-icon {
    filter: brightness(0) invert(1);
}

/* ==========================================================
   BRAND LOGO
========================================================== */

.brand-logo {

    display: flex;

    justify-content: center;

    align-items: center;

    width: 100%;

    height: 220px;

    padding: 24px;

    margin-bottom: 32px;

    overflow: hidden;

}

.brand-logo img {

    display: block;

    width: auto;

    height: auto;

    max-width: 420px;

    max-height: 160px;

    object-fit: contain;

    object-position: center;

}

/* ==========================================================
   HOMEPAGE MOBILE HERO
   Desktop hero remains unchanged.
========================================================== */

@media (max-width: 768px) {
    .index-hero {
        min-height: 0;
        padding: 34px 0 24px;
        display: block;
        background-position: 58% center;
    }

    .index-hero .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .index-hero .hero-content {
        max-width: 560px;
        margin: 0 auto;
        text-align: left;
    }

    .index-hero h1 {
        margin-bottom: 8px;
        font-size: clamp(1.7rem, 7.5vw, 2rem);
        line-height: 1.12;
    }

    .index-hero .hero-content p {
        margin-left: 0;
        margin-right: 0;
        font-size: .9rem;
        line-height: 1.45;
    }

    .index-hero .hero-content p:nth-of-type(1) {
        font-size: 1rem;
        line-height: 1.35;
        margin-bottom: 8px;
    }

    .index-hero .hero-content p:nth-of-type(2) {
        max-width: 460px;
    }

    .index-hero .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
        width: 100%;
        max-width: 560px;
        gap: 0;
        margin: 18px 0 0;
        padding: 10px 4px;
        border-radius: 14px;
    }

    .index-hero .hero-stat {
        min-width: 0;
        padding: 4px 7px;
        gap: 5px;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .index-hero .hero-stat:not(:last-child) {
        border-right: 1px solid var(--overlay-white-18);
    }

    .index-hero .hero-stat-icon {
        width: 22px;
        height: 22px;
        margin: 0 auto 2px;
    }

    .index-hero .hero-stat-icon[src*="/vehicle.svg"] {

    filter: brightness(0) invert(1);

}

.hero-stat-content {
        min-width: 0;
        text-align: center;
    }

    .index-hero .stat-number {
        display: block;
        font-size: 1rem;
        line-height: 1.05;
        font-weight: 800;
    }

    .index-hero .stat-label {
        display: block;
        margin-top: 2px;
        font-size: .67rem;
        line-height: 1.15;
        white-space: normal;
    }

    .index-hero .catalogue-search {
        margin-top: 16px;
        padding: 0;
    }

    .index-hero .catalogue-search .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .index-hero .search-wrapper {
        display: flex;
        align-items: center;
        gap: 0;
        padding: 0;
        background: var(--bg-card);
        border: 1px solid var(--overlay-white-50);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 8px 24px var(--overlay-black-20);
        backdrop-filter: none;
    }

    .index-hero .search-box {
        position: relative;
        flex: 1 1 auto;
        min-width: 0;
    }

    .index-hero .search-input {
        height: 46px;
        padding: 11px 38px 11px 40px;
        border: 0;
        border-radius: 0;
        font-size: .86rem;
        box-shadow: none;
        outline: none;
    }

    .index-hero .search-icon {
        left: 13px;
        width: 17px;
        height: 17px;
    }

    .index-hero #searchButton {
        flex: 0 0 48px;
        width: 48px;
        min-width: 48px;
        height: 46px;
        padding: 0;
        border-radius: 0;
        font-size: 0;
    }

    .index-hero #searchButton::before {
        content: "⌕";
        font-size: 23px;
        line-height: 1;
    }

    .index-hero .clear-search {
        right: 8px;
    }
}

@media (max-width: 420px) {
    .index-hero {
        padding-top: 28px;
        padding-bottom: 20px;
        background-position: 60% center;
    }

    .index-hero .container,
    .index-hero .catalogue-search .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .index-hero .hero-stats {
        margin-top: 14px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .index-hero .stat-number {
        font-size: .92rem;
    }

    .index-hero .stat-label {
        font-size: .61rem;
    }

    .index-hero #searchButton {
        flex-basis: 46px;
        width: 46px;
        min-width: 46px;
    }
}


/* ===== header.css ===== */
/* ==========================================================
   HEADER
========================================================== */

.site-header {

    position: relative;

    z-index: 1000;

    margin: 0;

    padding: 0;

    background: var(--bg-card);

    border-bottom: 1px solid var(--border-color);

}

.site-header .container {

    width: 100%;

    margin: 0 auto;

    padding-top: 0;

    padding-bottom: 0;

}


/* ==========================================================
   WRAPPER
========================================================== */

.header-wrapper {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    min-height: 60px;

    margin: 0;

    padding: 0;

    gap: 24px;

}


/* ==========================================================
   NAVIGATION
========================================================== */

.main-navigation {

    display: flex;

    align-items: center;

    flex: 0 0 auto;

}

.navigation-menu {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 2rem;

    margin: 0;

    padding: 0;

    list-style: none;

}

.navigation-menu li {

    margin: 0;

    padding: 0;

}

.nav-link {

    position: relative;

    display: inline-flex;

    align-items: center;

    white-space: nowrap;

    font-weight: 600;

    color: var(--text-primary);

    text-decoration: none;

}

.nav-link:hover {

    color: var(--color-primary);

}

.nav-link.active {

    color: var(--color-primary);

}

.nav-link.active::after {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: -8px;

    height: 2px;

    background: var(--color-primary);

}


/* ==========================================================
   HEADER BUTTONS
========================================================== */

.header-buttons {

    display: flex;

    align-items: center;

    gap: .75rem;

    flex-shrink: 0;

}


/* ==========================================================
   RFQ COUNT
========================================================== */

#rfq-count,
#rfq-count-header {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 20px;

    height: 20px;

    padding: 0 6px;

    border-radius: 999px;

    background: var(--color-primary);

    color: var(--bg-card);

    font-size: .75rem;

    font-weight: 700;

}


/* ==========================================================
   MOBILE MENU
========================================================== */

.mobile-menu-button {

    display: none;

    width: 44px;

    height: 44px;

    padding: 0;

    border: 0;

    background: transparent;

    cursor: pointer;

}

.mobile-menu-button span {

    display: block;

    width: 24px;

    height: 2px;

    margin: 5px auto;

    background: var(--text-primary);

}

/* ==========================================================
   AUTHENTICATION HEADER
========================================================== */

.header-auth,
.mobile-header-auth{
    position:relative;
}

.header-auth [hidden],
.mobile-header-auth [hidden],
.user-menu[hidden],
.user-menu-dropdown[hidden]{
    display:none !important;
}

/* ----------------------------------------------------------
   USER MENU BUTTON
---------------------------------------------------------- */

.user-menu-button{
    display:flex;
    align-items:center;
    gap:8px;
    border:0;
    cursor:pointer;
    font:inherit;
}

.user-menu-arrow{
    font-size:.75em;
    line-height:1;
}

/* ----------------------------------------------------------
   USER DROPDOWN
---------------------------------------------------------- */

.user-menu-dropdown{
    position:absolute;
    top:calc(100% + 8px);
    right:0;
    min-width:180px;
    background:var(--bg-card);
    border-radius:8px;
    box-shadow:0 8px 24px var(--overlay-black-15);
    overflow:hidden;
    z-index:1000;
}

.user-menu-dropdown a,
.user-menu-dropdown button{
    display:block;
    width:100%;
    padding:12px 16px;
    border:0;
    background:var(--bg-card);
    color:inherit;
    text-align:left;
    text-decoration:none;
    font:inherit;
    cursor:pointer;
}

.user-menu-dropdown a:hover,
.user-menu-dropdown button:hover{
    background:var(--surface-muted);
}

/* ----------------------------------------------------------
   MOBILE
---------------------------------------------------------- */

.mobile-header-auth{
    width:100%;
}

.mobile-user-menu{
    width:100%;
}

/* ==========================================================
   MOBILE SINGLE-NAVIGATION DRAWER
   The desktop primary navigation is the only navigation DOM.
   At mobile widths it becomes the off-canvas drawer.
========================================================== */

.mobile-navigation-header {
    display: none;
}

@media (max-width: 992px) {
    .site-header {
        height: 0;
        border-bottom: 0;
    }

    .site-header .container {
        height: 0;
        padding: 0;
    }

    .header-wrapper {
        min-height: 0;
        height: 0;
        padding: 0;
        margin: 0;
    }

    .main-navigation {
        position: fixed;
        top: 52px;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        height: calc(100dvh - 52px);
        max-height: calc(100dvh - 52px);
        padding: 0 16px 24px;
        overflow-y: auto;
        overflow-x: hidden;
        background: var(--bg-dark);
        color: var(--bg-card);
        border-top: 1px solid var(--overlay-white-12);
        box-shadow: 0 18px 40px var(--overlay-black-28);
        transform: translateX(100%);
        visibility: hidden;
        pointer-events: none;
        transition: transform .22s ease, visibility .22s ease;
        z-index: 4000;
    }

    .main-navigation.active {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-navigation-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 84px;
        padding: 12px 4px;
        border-bottom: 1px solid var(--overlay-white-14);
    }

    .mobile-navigation-logo {
        display: block;
        width: 112px;
        height: auto;
        object-fit: contain;
    }

    .mobile-navigation-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--bg-card);
        font-size: 34px;
        line-height: 1;
        cursor: pointer;
    }

    .main-navigation .navigation-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        width: 100%;
        gap: 0;
        margin: 0;
        padding: 8px 0 0;
    }

    .main-navigation .navigation-menu li {
        border-bottom: 1px solid var(--overlay-white-10);
    }

    .main-navigation .navigation-menu .nav-link {
        display: flex;
        align-items: center;
        min-height: 52px;
        width: 100%;
        padding: 12px 8px;
        color: var(--bg-card);
        font-weight: 600;
    }

    .main-navigation .navigation-menu .nav-link.active {
        color: var(--bg-card);
        background: var(--overlay-white-08);
        border-left: 3px solid var(--color-primary);
        padding-left: 5px;
    }

    .main-navigation .navigation-menu .nav-link.active::after {
        display: none;
    }

    .header-buttons {
        display: none;
    }
}

@media (max-width: 420px) {
    .main-navigation {
        top: 50px;
        height: calc(100dvh - 50px);
        max-height: calc(100dvh - 50px);
        padding-left: 12px;
        padding-right: 12px;
    }

    .mobile-navigation-header {
        min-height: 76px;
    }

    .mobile-navigation-logo {
        width: 104px;
    }
}


@media (max-width: 992px) {
    body.mobile-navigation-open {
        overflow: hidden;
    }
}

/* ==========================================================
   MOBILE NAV ACCOUNT
========================================================== */

.mobile-nav-auth {
    display: none;
}

@media (max-width: 992px) {
    .mobile-nav-auth {
        display: block;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--overlay-white-14);
    }

    .mobile-nav-auth-link {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        min-height: 50px;
        padding: 12px 8px;
        border: 0;
        border-radius: 8px;
        background: transparent;
        color: var(--bg-card);
        font: inherit;
        font-weight: 700;
        text-decoration: none;
        text-align: left;
        cursor: pointer;
    }

    .mobile-nav-auth-link:hover,
    .mobile-nav-auth-link:focus-visible {
        background: var(--overlay-white-08);
        color: var(--bg-card);
        outline: none;
    }

    .mobile-nav-user {
        display: grid;
        gap: 4px;
    }

    .mobile-nav-signout {
        color: var(--overlay-white-82);
        font-weight: 600;
    }
}


/* ===== footer.css ===== */
/* ==========================================================
   FOOTER
========================================================== */

.site-footer {

    margin-top: 80px;

    padding: 64px 0 24px;

    background: var(--bg-dark);

    color: var(--overlay-white-85);

}


/* ==========================================================
   FOOTER LAYOUT
========================================================== */

.footer-grid {

    display: grid;

    grid-template-columns:
        1.6fr
        1fr
        1.1fr
        1fr;

    gap: 48px;

    align-items: start;

}


/* ==========================================================
   FOOTER SECTIONS
========================================================== */

.footer-section {

    min-width: 0;

}

.footer-section h3 {

    margin: 0 0 20px;

    font-size: 18px;

    font-weight: 700;

    line-height: 1.3;

    color: var(--bg-card);

}


/* ==========================================================
   FOOTER LOGO
========================================================== */

.footer-logo {

    display: inline-block;

    margin-bottom: 20px;

}

.footer-logo img {

    display: block;

    width: 120px;

    height: auto;

}


/* ==========================================================
   FOOTER DESCRIPTION
========================================================== */

.footer-description {

    max-width: 320px;

    margin: 0 0 24px;

    line-height: 1.7;

    color: var(--overlay-white-72);

}


/* ==========================================================
   FOOTER SOCIAL
========================================================== */

.footer-social {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 24px;

}

.footer-social a {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 40px;

    height: 40px;

    border-radius: 50%;

    background: var(--overlay-white-08);

    transition:
        background-color .25s ease,
        transform .25s ease;

}

.footer-social a:hover {

    background: var(--color-primary);

    transform: translateY(-2px);

}

.footer-social img,
.footer-social svg {

    display: block;

    width: 18px !important;

    height: 18px !important;

    object-fit: contain;

    filter: brightness(0) invert(1);

}


/* ==========================================================
   FOOTER LISTS
========================================================== */

.footer-section ul {

    margin: 0;

    padding: 0;

    list-style: none;

}

.footer-section li {

    margin: 0 0 12px;

    line-height: 1.6;

}

.footer-section li:last-child {

    margin-bottom: 0;

}


/* ==========================================================
   FOOTER LINKS
========================================================== */

.footer-section ul a {

    color: var(--overlay-white-72);

    text-decoration: none;

    transition:
        color .2s ease;

}

.footer-section ul a:hover {

    color: var(--bg-card);

}


/* ==========================================================
   CONTACT
========================================================== */

.footer-contact {

    display: flex;

    flex-direction: column;

    gap: 14px;

}

.footer-contact li {

    display: flex;

    align-items: flex-start;

    gap: 12px;

    margin: 0;

}

.footer-contact li span,
.footer-contact li a {

    min-width: 0;

    line-height: 1.6;

}

.footer-contact li a {

    color: var(--overlay-white-72);

    text-decoration: none;

    transition:
        color .2s ease;

}

.footer-contact li a:hover {

    color: var(--bg-card);

}


/* ==========================================================
   FOOTER ICONS
========================================================== */

.footer-icon {

    width: 18px !important;

    height: 18px !important;

    min-width: 18px;

    margin-top: 3px;

    object-fit: contain;

    flex-shrink: 0;

    filter:
        brightness(0)
        saturate(100%)
        invert(22%)
        sepia(90%)
        saturate(5000%)
        hue-rotate(345deg);

}


/* ==========================================================
   BUSINESS HOURS
========================================================== */

.business-hours {

    display: flex;

    flex-direction: column;

    gap: 10px;

}

.business-hours li {

    margin: 0;

    line-height: 1.6;

    color: var(--overlay-white-72);

}


/* ==========================================================
   FOOTER BADGES
========================================================== */

.footer-badges {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 24px;

}

.footer-badge {

    display: inline-flex;

    align-items: center;

    padding: 7px 12px;

    border: 1px solid var(--overlay-white-15);

    border-radius: 999px;

    background: var(--overlay-white-06);

    color: var(--overlay-white-78);

    font-size: 13px;

    line-height: 1.3;

}


/* ==========================================================
   FOOTER BOTTOM
========================================================== */

.footer-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 24px;

    margin-top: 48px;

    padding-top: 24px;

    border-top: 1px solid var(--overlay-white-18);

}


/* ==========================================================
   COPYRIGHT
========================================================== */

.footer-copyright {

    margin: 0;

    color: var(--overlay-white-65);

    font-size: 14px;

    line-height: 1.6;

}


/* ==========================================================
   BOTTOM LINKS
========================================================== */

.footer-bottom-links {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    flex-wrap: wrap;

    gap: 12px;

}

.footer-bottom-links a {

    color: var(--overlay-white-72);

    font-size: 14px;

    text-decoration: none;

    transition:
        color .2s ease;

}

.footer-bottom-links a:hover {

    color: var(--bg-card);

}

.footer-bottom-links span {

    color: var(--overlay-white-35);

}

@media (max-width: 768px) {
    .site-footer {
        margin-top: 48px;
        padding: 48px 0 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-section { text-align: center; }
    .footer-description { max-width: 100%; margin-left: auto; margin-right: auto; }
    .footer-bottom-links { justify-content: center; flex-wrap: wrap; }
    .footer-section a, .footer-section span { overflow-wrap: anywhere; }
}


/* ===== buttons.css ===== */
/* ==========================================================
   BUTTON BASE
========================================================== */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    min-height: 44px;

    padding: 12px 24px;

    border: 1px solid transparent;

    border-radius: var(--radius-md);

    cursor: pointer;

    font-weight: 600;

    text-decoration: none;

    white-space: nowrap;

    transition: var(--transition-normal);

}


/* ==========================================================
   BUTTON VARIANTS
========================================================== */

.btn-primary {

    background: var(--color-primary);

    color: var(--bg-card);

}

.btn-primary:hover {

    background: var(--color-primary-dark);

    transform: translateY(-2px);

}

.btn-secondary {

    background: var(--color-secondary);

    color: var(--bg-card);

}

.btn-secondary:hover {

    background: var(--color-secondary-light);

    transform: translateY(-2px);

}

.btn-outline {

    background: transparent;

    color: var(--color-secondary);

    border-color: var(--color-secondary);

}

.btn-outline:hover {

    background: var(--color-secondary);

    color: var(--bg-card);

}

.btn-success {

    background: var(--color-success);

    color: var(--bg-card);

}


/* ==========================================================
   BUTTON SIZES
========================================================== */

.btn-sm {

    padding: 8px 16px;

    font-size: .875rem;

}

.btn-lg {

    padding: 16px 32px;

    font-size: 1.05rem;

}

.btn-block {

    width: 100%;

}


/* ==========================================================
   ICON BUTTONS
========================================================== */

.btn-icon {

    width: 44px;

    height: 44px;

    padding: 0;

    border-radius: 50%;

}


/* ==========================================================
   BUTTON GROUP
========================================================== */

.button-group {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

}

/* ===== forms.css ===== */
input,
select,
textarea {

    width: 100%;

    padding: 14px 16px;

    border:

        1px solid

        var(--border-color);

    border-radius:

        var(--radius-md);

}

input:focus,
select:focus,
textarea:focus {

    outline: none;

    border-color:
        var(--color-primary);

}

@media (max-width: 768px) {
    input, select, textarea {
        font-size: 16px;
        min-width: 0;
    }
    .lead-success-content {
        width: calc(100% - 24px);
        max-width: none;
        padding: 28px 20px;
    }
}


/* ===== cards.css ===== */
/* Souviks Card Architecture
   Each card family owns its markup-related styles in one module. */

/* ===== features\cards\foundation.css ===== */
/* ==========================================================
   CARD FOUNDATION
========================================================== */

.card,
.product-card,
.brand-card,
.vehicle-card,
.category-card,
.metrics-card,
.why-card {

    background: var(--bg-card);

    border: 1px solid var(--border-color);

    border-radius: 20px;

    overflow: hidden;

    height: 100%;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;

}

@media (hover: hover) and (pointer: fine) {
    .card:hover,
    .product-card:hover,
    .brand-card:hover,
    .vehicle-card:hover,
    .category-card:hover,
    .metrics-card:hover,
    .why-card:hover {
        transform: translateY(-6px);
        border-color: var(--color-primary);
        box-shadow: 0 18px 40px var(--overlay-black-10);
    }
}


/* ==========================================================
   CARD IMAGES
========================================================== */

.card-image,
.product-image,
.brand-image,
.vehicle-image,
.category-image {

    display: flex;

    align-items: center;

    justify-content: center;

    height: 140px;

    padding: 20px;

    background: var(--bg-card);

    border-bottom: 1px solid var(--border-color);

}

.card-image img,
.product-image img,
.brand-image img,
.vehicle-image img,
.category-image img {

    max-width: 100%;

    max-height: 100px;

    object-fit: contain;

    transition: transform .35s ease;

}

@media (hover: hover) and (pointer: fine) {
    .category-card:hover img,
    .brand-card:hover img {
        transform: scale(1.08);
    }
}


/* ==========================================================
   CARD CONTENT
========================================================== */

.card-content,
.product-content,
.brand-content,
.vehicle-content,
.category-content {

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 6px;

    padding: 12px;

    text-align: center;

}


/* ==========================================================
   CARD TITLES
========================================================== */

.card-title,
.product-title,
.brand-name,
.vehicle-name,
.category-name {

    margin: 0;

    font-size: 15px;

    font-weight: 700;

    line-height: 1.3;

    color: var(--text-primary);

}


/* ==========================================================
   CARD META
========================================================== */

.card-meta,
.product-meta,
.brand-meta,
.vehicle-meta,
.category-meta {

    font-size: 12px;

    color: var(--text-secondary);

}



/* ===== features\cards\directory-cards.css ===== */
/* ==========================================================
   CATEGORY CARDS
========================================================== */

.category-image {
    height: 96px;
    padding: 4px;
}

.category-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.category-content h3 {

    margin: 0;

    font-size: 13px;

    font-weight: 700;

}


/* ==========================================================
   BRAND & VEHICLE CARDS
========================================================== */

.brand-card,
.vehicle-card {

    padding: 0;

    text-align: center;

}

.brand-image {
    height: 96px;
    padding: 4px;
}

.brand-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.vehicle-image {
    height: 96px;
    padding: 4px;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-content,
.vehicle-content,
.category-content {

    min-height: 50px;
    padding: 8px 10px;

}

.brand-content h3,
.vehicle-content h3,
.category-content h3 {

    margin: 0;

    font-size: 13px;
    line-height: 1.25;

}

.brand-count,
.vehicle-count,
.category-count {

    margin-top: 4px;

    font-size: 11px;

    color: var(--text-secondary);

    transition: .25s ease;

}

@media (hover: hover) and (pointer: fine) {
    .brand-card:hover .brand-count {
        color: var(--color-primary);
    }
    .brand-card:hover .count-number {
        font-weight: 700;
    }
}


/* Vehicle catalogue images stay visually stable while the card can still lift. */
@media (hover: hover) and (pointer: fine) {
    .vehicle-card:hover .vehicle-image img {
        transform: none !important;
    }
}


/* Generic "Every Vehicle" entry: use one centered icon instead of a product collage. */
.vehicle-card--every .vehicle-image--every {
    height: 96px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-card--every .vehicle-every-icon {
    width: 64px;
    height: 64px;
    max-width: 64px;
    max-height: 64px;
    display: block;
    object-fit: contain;
    transform: none !important;
    transition: none;
}

@media (max-width: 640px) {
    .vehicle-card--every .vehicle-image--every {
        height: 96px;
    }
    .vehicle-card--every .vehicle-every-icon {
        width: 56px;
        height: 56px;
        max-width: 56px;
        max-height: 56px;
    }
}



/* ===== features\cards\product-cards.css ===== */
/* ==========================================================
   PRODUCT CARDS
========================================================== */

.product-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
}

.product-card .product-image {
    position: relative;
    height: 155px;
    padding: 8px;
}

.product-card .product-image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-card .product-content {
    flex: 1;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    text-align: center;
}

.product-card .product-title {
    margin: 0;
    min-height: 38px;
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card .product-title a {
    color: inherit;
    text-decoration: none;
}

.product-card .product-price {
    min-height: 20px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
}

.product-card .product-price-sale {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 8px;
    min-height: 36px;
}

.product-card .product-price-current {
    font-size: 15px;
    font-weight: 800;
    color: var(--color-success);
}

.product-card .product-price-mrp {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    color: var(--text-muted, var(--text-secondary));
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.product-card .product-price-mrp-value {
    color: var(--text-muted, var(--text-secondary));
    font-size: inherit;
    text-decoration: line-through;
}

.product-card .product-price-prior {
    display: inline-flex;
    flex-basis: 100%;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 3px 5px;
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 600;
}

.product-card .product-price-prior-value {
    color: var(--text-secondary);
    text-decoration: line-through;
}

.product-card .product-price-discount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 3px 7px;
    border-radius: 999px;
    background: var(--surface-success-soft);
    color: var(--color-success-dark);
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.product-card .add-to-purchase-cart,
.product-card .product-request-part-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 38px;
    margin-top: auto;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

/* Priced products use checkout-cart controls; unpriced products link to Request a Part. */
.product-card-purchase-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    width: 100%;
    margin-top: 6px;
}
.product-card-purchase-controls .add-to-purchase-cart {
    width: 100%;
    min-height: 38px;
    margin: 0;
    padding: 8px 10px;
}
.product-card-quantity {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: stretch;
    width: 100%;
    min-height: 38px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md, 8px);
    background: var(--bg-card);
}
.product-card-qty-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 38px;
    padding: 0;
    border: 0;
    background: var(--bg-light);
    color: var(--text-primary);
    font: inherit;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
}
.product-card-qty-button:focus-visible,
.product-card-qty-input:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}
.product-card-qty-input {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 4px;
    border: 0;
    border-inline: 1px solid var(--border-color);
    border-radius: 0;
    background: transparent;
    color: var(--text-primary);
    text-align: center;
    font: inherit;
    font-size: .95rem;
    font-weight: 700;
    appearance: textfield;
    -moz-appearance: textfield;
}
.product-card-qty-input::-webkit-inner-spin-button,
.product-card-qty-input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}
.product-card-qty-button:disabled { opacity: .55; cursor: not-allowed; }

.product-card .product-save-button {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
    .product-card .product-save-button:hover {
        color: var(--color-primary);
        border-color: var(--color-primary);
        transform: scale(1.05);
    }
}

.product-card .product-save-button.is-saved {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.product-card .product-save-button:disabled {
    opacity: .6;
    cursor: wait;
    transform: none;
}

.product-card .product-save-button span {
    display: block;
}

@media (max-width: 700px) {
    .product-card .product-save-button {
        top: 8px;
        right: 8px;
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
}

/* ==========================================================
   VEHICLE CARDS
========================================================== */

/* Featured vehicle cards intentionally use the same compact
   image/content footprint as brand and category cards. */

/* ==========================================================
   FEATURED CARD
========================================================== */

.featured-card {

    border-color: var(--color-primary);

}

.featured-card:hover {

    box-shadow:
        0 16px 30px var(--color-danger-alpha-15);

}


/* Product catalogue images stay visually stable on hover. */
.product-card:hover .product-image img {
    transform: none !important;
}

/* Prevent a broken-image glyph from altering card geometry while the
   JavaScript fallback resolves a failed image request. */
.product-card .product-image-file {
    color: transparent;
    font-size: 0;
}

.product-card .product-image-file[alt]:not([src]) {
    visibility: hidden;
}



/* ===== features\cards\general-cards.css ===== */
/* General card features are intentionally split by function. */

/* ===== features\cards\why-cards.css ===== */
/* ==========================================================
   ICON CARDS
========================================================== */

.why-card {
    padding: 28px 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
}

.why-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.25;
}

.why-card p {
    margin: 0 0 8px;
    color: var(--text-secondary);
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.why-icon {
    display: block;
    width: 56px !important;
    height: 56px !important;
    margin: 0 auto 18px;
    object-fit: contain;
    flex: 0 0 auto;
}

/* ==========================================================
   GRID LAYOUTS
========================================================== */

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}



/* ===== features\cards\utility-grids.css ===== */
/* ==========================================================
   METRIC / UTILITY GRIDS
========================================================== */

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
    justify-content: center;
    text-align: center;
}



/* ===== features\cards\map.css ===== */
/* ==========================================================
   MAP
========================================================== */

.map-wrapper {
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 10px 30px var(--overlay-black-08);
    background: var(--bg-card);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    min-height: 450px;
}



/* ===== features\cards\request-form.css ===== */
/* ==========================================================
   REQUEST / CONTACT FORM CARD
========================================================== */

.request-part-form {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 10px 30px var(--overlay-black-06);
}



/* ===== features\cards\metrics-cards.css ===== */
/* ==========================================================
   METRIC CARDS
========================================================== */

.metrics-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.metrics-card span {
    display: block;
    color: var(--text-secondary);
    line-height: 1.5;
}






/* ===== common.css ===== */
/* ==========================================================
   LINKS
========================================================== */

a {

    color: inherit;

    text-decoration: none;

    transition: .2s ease;

}

a:hover {

    color: var(--color-primary);

}


/* ==========================================================
   TYPOGRAPHY
========================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {

    margin: 0;

    font-family: var(--font-heading);

    font-weight: 700;

    line-height: 1.2;

    color: var(--text-primary);

}

h1 {

    font-size: 3.25rem;

}

h2 {

    font-size: 2.25rem;

}

h3 {

    font-size: 1.5rem;

}

h4 {

    font-size: 1.25rem;

}

p {

    margin: 0;

    color: var(--text-secondary);

}


/* ==========================================================
   HELPERS
========================================================== */

.text-center {

    text-align: center;

}

.hidden {

    display: none !important;

}

.w-100 {

    width: 100%;

}


/* ==========================================================
   ALPHABET FILTER
========================================================== */

.alphabet-filter-wrapper {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 10px;

}

.alphabet-button {

    width: 42px;

    height: 42px;

    background: var(--bg-card);

    border: 1px solid var(--border-color);

    border-radius: 8px;

    cursor: pointer;

    transition: .2s ease;

}

.alphabet-button:hover,
.alphabet-button.active {

    background: var(--color-primary);

    border-color: var(--color-primary);

    color: var(--bg-card);

}


/* ==========================================================
   HOMEPAGE
========================================================== */

.homepage-section {

    padding: 50px 0;

}

.section-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 24px;

}

.section-header h2 {

    margin: 0;

    font-size: 2rem;

    font-weight: 800;

    letter-spacing: -.02em;

}

.section-header a {

    font-weight: 600;

}


/* ==========================================================
   SEARCH DROPDOWN
========================================================== */

.search-box {

    position: relative;

    flex: 1;

}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    width: 100%;
    margin-top: 8px;
    max-height: 320px;
    overflow-y: auto;
    opacity: 1;
    z-index: 10002;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 20px 40px var(--overlay-black-15);
}

.search-results.active {
    display: block;
}

.search-result {
    display: block;
    padding: 14px 20px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--surface-alt);
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}

.search-result:last-child {
    border-bottom: none;
}

.search-type {
    margin-bottom: 4px;
    color: var(--color-primary);
    font-size: .7rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.search-label,
.search-title {
    color: var(--text-primary);
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.35;
}

.search-subtitle {
    margin-top: 4px;
    color: var(--text-secondary);
    font-size: .8rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

@media (hover: hover) and (pointer: fine) {
    .search-result:hover {
        background: var(--surface-alt);
    }
}

.search-result:focus-visible {
    background: var(--surface-alt);
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

.search-no-results {
    padding: 14px 18px;
    color: var(--text-secondary);
    font-size: .85rem;
    line-height: 1.45;
}


/* Screen-reader-only content remains available to assistive technology without
   affecting the visual layout. */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* ===== top-bar.css ===== */
/* ==========================================================
   LANGUAGE SWITCHER
========================================================== */

.language-switcher {

    position: relative;

    display: inline-flex;

    align-items: center;

    flex-shrink: 0;

}

.language-button {

    display: flex;

    align-items: center;

    gap: .6rem;

    padding: .65rem 1.2rem;

    border: 1px solid var(--border-color);

    border-radius: 999px;

    background: var(--bg-card);

    color: var(--text-primary);

    font-weight: 600;

    font-size: .95rem;

    cursor: pointer;

    box-shadow: 0 6px 18px var(--overlay-black-18);

    transition:
        transform .25s ease,
        box-shadow .25s ease;

    white-space: nowrap;

}

.language-button:hover {

    transform: translateY(-2px);

    box-shadow: 0 10px 24px var(--overlay-black-25);

}

.language-arrow {

    font-size: .75rem;

    transition: transform .25s ease;

}

.language-menu.open + .language-arrow {

    transform: rotate(180deg);

}

.language-menu {

    display: none;

    position: absolute;

    top: calc(100% + 8px);

    right: 0;

    min-width: 180px;

    margin: 0;

    padding: 0;

    background: var(--bg-card);

    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 10px 30px var(--overlay-black-15);

    z-index: 5200;

}

.language-menu.open {

    display: block;

}

.language-menu .language-option {

    display: block;

    padding: 10px 18px;

    color: var(--text-primary);

    text-decoration: none;

    white-space: nowrap;

    width: 100%;

    border: 0;

    background: transparent;

    text-align: left;

    font: inherit;

    cursor: pointer;

}

.language-menu .language-option:hover {

    background: var(--surface-muted);

}


/* ==========================================================
   TOP BAR
========================================================== */

.top-bar {

    position: relative;

    z-index: 1100;

    background: var(--bg-card);

    color: var(--text-primary);

    border-bottom: 2px solid var(--border-color);

}

.top-bar .container {

    display: flex;

    align-items: center;

    width: 100%;

    min-height: 56px;

    gap: 24px;

}

.top-bar-brand {

    flex: 0 0 auto;

}

.top-logo {

    display: flex;

    align-items: center;

}

.top-logo img {

    display: block;

    height: 42px;

    width: auto;

}

.top-bar-tools {

    display: flex;

    align-items: center;

    justify-content: space-between;

    flex: 1;

    min-width: 0;

    margin-left: 32px;

    gap: 20px;

}

.top-item {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 9px 16px;

    border: 1px solid var(--border-color);

    border-radius: 999px;

    background: var(--bg-card);

    color: var(--text-primary);

    text-decoration: none;

    white-space: nowrap;

    flex-shrink: 0;

    transition:
        background-color .25s ease,
        border-color .25s ease,
        box-shadow .25s ease,
        transform .25s ease;

}

.top-item:hover {

    background: var(--surface-muted);

    border-color: var(--color-primary);

    box-shadow: 0 4px 12px var(--overlay-black-10);

    transform: translateY(-1px);

}

.top-icon {

    width: 18px;

    height: 18px;

    flex-shrink: 0;

}

.top-signin {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 9px 18px;

    border: 1px solid var(--border-color);

    border-radius: 999px;

    background: var(--bg-card);

    color: var(--text-primary);

    text-decoration: none;

    white-space: nowrap;

    flex-shrink: 0;

    transition:
        background-color .25s ease,
        border-color .25s ease,
        box-shadow .25s ease,
        transform .25s ease;

}

.top-signin:hover {

    background: var(--surface-muted);

    border-color: var(--color-primary);

    color: var(--text-primary);

    box-shadow: 0 4px 12px var(--overlay-black-10);

    transform: translateY(-1px);

}


/* ==========================================================
   TOP BAR AUTHENTICATION
========================================================== */

.top-auth {

    position: relative;

    display: inline-flex;

    align-items: center;

    flex-shrink: 0;

}


/* ----------------------------------------------------------
   USER MENU
---------------------------------------------------------- */

.top-user-menu {

    position: relative;

    display: inline-flex;

    align-items: center;

}


/* ----------------------------------------------------------
   USER BUTTON
---------------------------------------------------------- */

.top-user-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 9px 18px;

    border: 1px solid var(--border-color);

    border-radius: 999px;

    background: var(--bg-card);

    color: var(--text-primary);

    font: inherit;

    font-size: inherit;

    line-height: 1.2;

    cursor: pointer;

    white-space: nowrap;

    flex-shrink: 0;

    transition:
        background-color .25s ease,
        border-color .25s ease,
        box-shadow .25s ease,
        transform .25s ease;

}

.top-user-button:hover {

    background: var(--surface-muted);

    border-color: var(--color-primary);

    color: var(--text-primary);

    box-shadow: 0 4px 12px var(--overlay-black-10);

    transform: translateY(-1px);

}


/* ----------------------------------------------------------
   USER ARROW
---------------------------------------------------------- */

.top-user-arrow {

    font-size: .7rem;

    line-height: 1;

    transition:
        transform .25s ease;

}

.top-user-button[aria-expanded="true"] .top-user-arrow {

    transform: rotate(180deg);

}


/* ----------------------------------------------------------
   USER DROPDOWN
---------------------------------------------------------- */

.top-user-dropdown {

    position: absolute;

    top: calc(100% + 8px);

    right: 0;

    min-width: 190px;

    margin: 0;

    padding: 6px 0;

    background: var(--bg-card);

    border: 1px solid var(--border-color);

    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 10px 30px var(--overlay-black-15);

    z-index: 1200;

}


/* ----------------------------------------------------------
   HIDDEN STATE
---------------------------------------------------------- */

.top-user-dropdown[hidden],
.top-user-menu[hidden],
.top-signin[hidden] {

    display: none !important;

}


/* ----------------------------------------------------------
   DROPDOWN ITEMS
---------------------------------------------------------- */

.top-user-dropdown a,
.top-user-dropdown button {

    display: block;

    width: 100%;

    padding: 10px 18px;

    border: 0;

    background: var(--bg-card);

    color: var(--text-primary);

    font: inherit;

    font-size: .95rem;

    line-height: 1.4;

    text-align: left;

    text-decoration: none;

    white-space: nowrap;

    cursor: pointer;

}

.top-user-dropdown a:hover,
.top-user-dropdown button:hover {

    background: var(--surface-muted);

}


/* ----------------------------------------------------------
   TOP BAR AUTH ALIGNMENT
---------------------------------------------------------- */

.top-bar-tools .top-auth {

    margin-left: auto;

}


/* ==========================================================
   RESPONSIVE TOP BAR
========================================================== */

@media (max-width: 992px) {
    .top-bar .container {
        min-height: 52px;
        padding-top: 6px;
        padding-bottom: 6px;
        gap: 12px;
    }
    .top-logo img { height: 38px; }
    .top-bar-tools {
        min-width: 0;
        margin-left: auto;
        gap: 8px;
    }
    .top-bar-tools .top-email,
    .top-bar-tools .top-phone,
    .top-bar-tools .top-signin {
        display: none;
    }
    .top-bar-tools .top-whatsapp {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 7px 10px;
        font-size: .8rem;
        white-space: nowrap;
    }
    .top-bar-tools .language-switcher {
        display: inline-flex;
        flex-shrink: 0;
    }
    .language-button {
        padding: .55rem .8rem;
        font-size: .8rem;
    }
}

@media (max-width: 420px) {
    .top-bar .container {
        min-height: 50px;
        padding-left: 12px;
        padding-right: 12px;
        gap: 8px;
    }
    .top-logo img { height: 32px; }
    .top-bar-tools { gap: 6px; }
    .top-bar-tools .top-whatsapp {
        width: 44px;
        max-width: 44px;
        min-height: 44px;
        padding: 10px;
        font-size: 0;
    }
    .top-bar-tools .top-whatsapp .top-icon {
        width: 18px;
        height: 18px;
    }
    .language-button {
        width: 44px;
        max-width: 44px;
        min-height: 44px;
        padding: .55rem .65rem;
        justify-content: center;
    }
    .language-text,
    .language-label { display: none; }
}


/* ==========================================================
   MOBILE MENU CONTROL
========================================================== */

.top-bar .mobile-menu-button {
    display: none;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.top-bar .mobile-menu-button span {
    display: block;
    width: 23px;
    height: 2px;
    margin: 4px auto;
    background: var(--text-primary);
    transition: transform .2s ease, opacity .2s ease;
}

.top-bar .mobile-menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.top-bar .mobile-menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.top-bar .mobile-menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 992px) {
    .top-bar .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .top-bar .mobile-menu-button {
        flex-basis: 44px;
        width: 44px;
    }
}

/* Mobile keeps the top bar compact; account access moves into the navigation drawer. */
@media (max-width: 992px) {
    .top-bar .top-auth {
        display: none !important;
    }
}


/* ===== auth-modal.css ===== */
/* ==========================================================
   SOUVIKS AUTHENTICATION MODAL
========================================================== */

body.auth-modal-open {
    overflow: hidden;
}

.auth-modal[hidden] {
    display: none !important;
}

.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.auth-modal-backdrop {
    position: absolute;
    inset: 0;
    background: var(--overlay-black-58);
    backdrop-filter: blur(3px);
}

.auth-modal-dialog {
    position: relative;
    z-index: 20001;
    width: min(100%, 520px);
    max-height: min(720px, calc(100vh - 48px));
    overflow-y: auto;
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 24px 80px var(--overlay-black-28);
}

.auth-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.auth-modal-title {
    margin: 0;
    font-size: 1.55rem;
}

.auth-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.auth-modal-close:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.auth-modal-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 24px;
    padding: 4px;
    background: var(--surface-muted);
    border-radius: 12px;
}

.auth-modal-tab {
    padding: 10px 14px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--text-secondary);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.auth-modal-tab.active {
    background: var(--bg-card);
    color: var(--text-primary);
    box-shadow: 0 2px 8px var(--overlay-black-10);
}

.auth-modal-panel[hidden] {
    display: none !important;
}

.auth-modal-panel .auth-form {
    margin: 0;
}

.auth-modal-switch {
    margin: 20px 0 0;
    color: var(--text-secondary);
    font-size: .9rem;
    text-align: center;
}

.auth-modal-switch button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-primary);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.auth-modal .auth-forgot-password {
    margin-bottom: 18px;
}

@media (max-width: 560px) {
    .auth-modal {
        align-items: flex-end;
        padding: 0;
    }

    .auth-modal-dialog {
        width: 100%;
        max-height: calc(100dvh - 12px);
        padding: 24px 20px;
        border-radius: 18px 18px 0 0;
        padding-bottom: max(24px, env(safe-area-inset-bottom));
    }
}

/* ==========================================================
   PRODUCT PRICING
========================================================== */

.pdp-pricing {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 4px 0 24px;
    padding: 16px 18px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--surface-subtle);
}

.pdp-price-mrp,
.pdp-price-selling {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
}

.pdp-price-label {
    color: var(--text-secondary);
    font-size: .78rem;
    font-weight: 600;
}

.pdp-price-mrp .pdp-price-value {
    color: var(--text-secondary);
    font-size: .92rem;
    text-decoration: line-through;
}

.pdp-price-prior {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 7px;
    color: var(--text-secondary);
    font-size: .76rem;
    font-weight: 600;
}

.pdp-price-prior-value {
    color: var(--text-secondary);
    text-decoration: line-through;
}

.pdp-price-selling {
    gap: 9px;
}

.pdp-price-selling .pdp-price-label {
    color: var(--text-primary);
    font-size: .82rem;
}

.pdp-price-selling .pdp-price-value {
    color: var(--color-success);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.15;
}

.pdp-price-discount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--surface-success-soft);
    color: var(--color-success-dark);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .01em;
    white-space: nowrap;
}

.auth-modal-inline-link {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-primary);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.auth-card-redirect .auth-register {
    margin-bottom: 0;
}

/* ==========================================================
   MOBILE PRICING
========================================================== */

@media (max-width: 600px) {
    .pdp-pricing {
        align-items: flex-start;
        gap: 10px 14px;
        margin-bottom: 20px;
        padding: 14px;
    }

    .pdp-price-mrp {
        width: 100%;
    }

    .pdp-price-selling {
        flex-wrap: wrap;
        width: 100%;
    }

    .pdp-price-selling .pdp-price-value {
        font-size: clamp(1.25rem, 6vw, 1.45rem);
    }

    .pdp-price-discount {
        margin-left: 2px;
    }
}


/* ===== responsive.css ===== */
/* ==========================================================
   GLOBAL RESPONSIVE FOUNDATION
   Component-specific responsive rules live with their component.
========================================================== */

@media (max-width: 1200px) {
    .section-heading h2 {
        font-size: clamp(2rem, 4vw, 2.6rem);
    }
}

@media (max-width: 992px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    img,
    svg,
    video,
    iframe {
        max-width: 100%;
    }

    button,
    input,
    select,
    textarea {
        max-width: 100%;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section-spacing,
    .catalogue-search,
    .category-directory,
    .brand-directory,
    .vehicle-directory,
    .product-directory,
    .catalogue-products {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .page-header {
        padding: 42px 0 34px;
    }

    .page-header h1,
    .catalogue-hero h1,
    .categories-hero h1,
    .brands-hero h1,
    .vehicles-hero h1,
    .hero-content h1 {
        font-size: clamp(1.75rem, 7vw, 2.4rem);
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .hero-content p {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-stats {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 12px;
        margin-top: 24px;
    }

    .hero-stat {
        width: 100%;
    }

    .hero-stat-divider {
        display: none;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .cta-wrapper {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        text-align: center;
    }

    .cta-content {
        max-width: 100%;
    }

    .cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .breadcrumb-list {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .breadcrumb-list::-webkit-scrollbar {
        display: none;
    }

    .breadcrumb-item {
        flex: 0 0 auto;
    }
}

@media (max-width: 420px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .section-spacing,
    .catalogue-search,
    .category-directory,
    .brand-directory,
    .vehicle-directory,
    .product-directory,
    .catalogue-products {
        padding-top: 28px;
        padding-bottom: 28px;
    }
}

/* ==========================================================
   MOBILE LANDING-PAGE CONSISTENCY
   Shared presentation for home, products, brands, vehicles,
   categories, about, contact and other landing pages.
========================================================== */

@media (max-width: 992px) {
    .main-navigation {
        z-index: 5000;
    }

    .catalogue-search,
    .search-wrapper {
        z-index: 1;
    }
}

@media (max-width: 768px) {
    /* Keep every landing-page hero aligned to the same visual rhythm. */
    .page-hero,
    .catalogue-hero,
    .products-hero,
    .brands-hero,
    .vehicles-hero,
    .categories-hero,
    .about-hero,
    .contact-hero,
    .request-quote-hero,
    .privacy-hero,
    .terms-hero,
    .refund-hero {
        min-height: 0;
        padding: 56px 0 32px;
        background-position: center center;
    }

    .page-hero .hero-content,
    .catalogue-hero .hero-content,
    .products-hero .hero-content,
    .brands-hero .hero-content,
    .vehicles-hero .hero-content,
    .categories-hero .hero-content,
    .about-hero .hero-content,
    .contact-hero .hero-content,
    .request-quote-hero .hero-content,
    .privacy-hero .hero-content,
    .terms-hero .hero-content,
    .refund-hero .hero-content {
        width: 100%;
        max-width: 760px;
        margin: 0 auto;
        text-align: center;
    }

    .page-hero h1,
    .catalogue-hero h1,
    .products-hero h1,
    .brands-hero h1,
    .vehicles-hero h1,
    .categories-hero h1,
    .about-hero h1,
    .contact-hero h1,
    .request-quote-hero h1,
    .privacy-hero h1,
    .terms-hero h1,
    .refund-hero h1 {
        font-size: clamp(1.7rem, 7vw, 2.15rem);
        line-height: 1.15;
        margin-bottom: 10px;
        overflow-wrap: anywhere;
    }

    .page-hero p,
    .catalogue-hero p,
    .products-hero p,
    .brands-hero p,
    .vehicles-hero p,
    .categories-hero p,
    .about-hero p,
    .contact-hero p,
    .request-quote-hero p,
    .privacy-hero p,
    .terms-hero p,
    .refund-hero p {
        max-width: 680px;
        font-size: .92rem;
        line-height: 1.5;
    }

    /* All landing-page stat rows use the same responsive grid. */
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
        width: 100%;
        max-width: 760px;
        margin-top: 20px;
        padding: 10px 6px;
        gap: 0;
        border-radius: 14px;
    }

    .hero-stat {
        min-width: 0;
        padding: 6px 8px;
        gap: 5px;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .hero-stat:not(:last-child)::after {
        top: 50%;
        right: 0;
        height: 52px;
    }

    .hero-stat-icon {
        width: 24px !important;
        height: 24px !important;
        margin: 0 auto 3px;
    }

    .stat-number {
        display: block;
        font-size: 1rem;
        line-height: 1.1;
        font-weight: 800;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .stat-label {
        display: block;
        margin-top: 2px;
        font-size: .67rem;
        line-height: 1.2;
        text-align: center;
    }

    /* Trust/contact cards stay in pairs on mobile. */
    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .why-card {
        padding: 20px 14px;
        border-radius: 16px;
    }

    .why-icon {
        width: 44px !important;
        height: 44px !important;
        margin-bottom: 12px;
    }

    .why-card h3 {
        font-size: 15px;
        line-height: 1.25;
    }

    .why-card p {
        font-size: .82rem;
        line-height: 1.45;
    }

    /* Business-hours cards remain side by side as well. */
    .metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .metrics-card {
        padding: 24px 14px;
        border-radius: 16px;
    }

    .metrics-card h3 {
        font-size: 15px;
        line-height: 1.25;
    }

    .metrics-card span {
        font-size: .82rem;
        line-height: 1.45;
        overflow-wrap: anywhere;
    }

    /* Never let the homepage search sit above the mobile drawer. */
    .mobile-navigation-open .catalogue-search,
    .mobile-navigation-open .search-wrapper {
        visibility: hidden;
        pointer-events: none;
    }

    /* Keep the mobile drawer visually above page content. */
    .mobile-navigation-open .main-navigation {
        z-index: 5000;
    }
}

@media (max-width: 420px) {
    .page-hero,
    .catalogue-hero,
    .products-hero,
    .brands-hero,
    .vehicles-hero,
    .categories-hero,
    .about-hero,
    .contact-hero,
    .request-quote-hero,
    .privacy-hero,
    .terms-hero,
    .refund-hero {
        padding-top: 48px;
        padding-bottom: 26px;
    }

    .why-grid,
    .metrics-grid {
        gap: 10px;
    }

    .why-card {
        padding: 16px 10px;
    }

    .why-card h3,
    .metrics-card h3 {
        font-size: 14px;
    }

    .why-card p,
    .metrics-card span {
        font-size: .76rem;
    }

    .metrics-card {
        padding: 20px 10px;
    }
}

/* ==========================================================
   LANDING PAGE DETAIL SPACING
========================================================== */

@media (max-width: 768px) {
    .section-heading {
        margin-bottom: 28px;
    }

    .about-story,
    .why-trust,
    .store-gallery-section,
    .store-videos {
        padding: 36px 0;
    }

    .store-gallery-large {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .store-gallery-large img {
        width: 100%;
        height: 180px;
        border-radius: 12px;
    }

    .store-gallery-small {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .store-gallery-small img {
        width: 100%;
        height: 96px;
        border-radius: 10px;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .video-card h3 {
        padding: 12px;
        font-size: 14px;
    }

    .request-part-form {
        padding: 20px;
        border-radius: 14px;
    }

    .map-wrapper iframe {
        min-height: 320px;
        height: 320px;
    }
}

@media (max-width: 420px) {
    .store-gallery-large img {
        height: 150px;
    }

    .store-gallery-small img {
        height: 82px;
    }

    .request-part-form {
        padding: 16px;
    }
}

/* ==========================================================
   B2B CATALOGUE UX
   Persistent mobile search and compact product identification.
========================================================== */
.product-part-number {
    margin: 4px 0 6px;
    color: var(--color-text-tertiary);
    font-size: .78rem;
    line-height: 1.35;
    letter-spacing: .01em;
}
.product-part-number strong {
    color: var(--color-primary, var(--color-primary));
    font-weight: 800;
}
.product-part-number-empty {
    color: var(--text-secondary);
    font-style: italic;
}
.product-brand-label {
    color: var(--text-secondary);
    font-size: .76rem;
    font-weight: 700;
    line-height: 1.25;
    text-transform: none;
}
.product-price-on-request {
    color: var(--color-text-tertiary);
    font-weight: 700;
}
.pdp-section-intro {
    margin: -8px 0 20px;
    color: var(--text-secondary);
}
@media (max-width: 768px) {
    body.products-page .catalogue-search,
    body.catalogue-products-page .catalogue-search {
        position: sticky;
        top: 0;
        z-index: 1200;
        padding-top: 10px;
        padding-bottom: 10px;
        background: var(--overlay-white-96);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border-color);
    }
    body.products-page .search-wrapper,
    body.catalogue-products-page .search-wrapper {
        gap: 8px;
    }
    body.products-page .search-input,
    body.catalogue-products-page .search-input {
        min-height: 44px;
    }
}


/* ==========================================================
   ACCESSIBILITY / MOTION
========================================================== */

/* Keyboard skip navigation */
.souviks-skip-link {
    position: fixed;
    left: 16px;
    top: 12px;
    z-index: 10000;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--bg-dark);
    color: var(--bg-card);
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform .16s ease;
}

.souviks-skip-link:focus-visible {
    transform: translateY(0);
    outline: 3px solid var(--color-primary-light);
    outline-offset: 2px;
}

main[id]:focus {
    outline: none;
}

main[id]:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .souviks-skip-link {
        transition: none;
    }
}

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Prevent mobile toolbar/auth state changes from creating horizontal page drift. */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}


@media (max-width: 992px) {
    .top-bar .container {
        min-width: 0;
        width: 100%;
    }

    .top-bar-brand,
    .top-bar-tools,
    .top-auth,
    .language-switcher {
        min-width: 0;
    }

    .top-bar-tools {
        flex: 0 1 auto;
    }

    .main-navigation {
        width: 100%;
        max-width: 100vw;
    }
}


/* ===== image-protection.css ===== */
/* ==========================================================
   SOUVIKS — PRODUCT IMAGE PROTECTION / CLICK-TO-ZOOM
========================================================== */

.pdp-main-image img {
    cursor: zoom-in;
}

.souviks-image-zoom-layer {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: clamp(18px, 4vw, 48px);
    overflow: hidden;

    background: var(--overlay-black-78);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.18s ease,
        visibility 0.18s ease;
}

.souviks-image-zoom-layer.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.souviks-image-zoom-image {
    display: block;

    width: auto;
    height: auto;

    max-width: min(90vw, 1200px);
    max-height: 88vh;

    object-fit: contain;

    border-radius: 10px;
    background: var(--bg-card);

    box-shadow:
        0 24px 80px var(--overlay-black-45);

    transform-origin: center center;
    will-change: transform;
    touch-action: none;
    cursor: zoom-in;

    transition: transform 0.18s ease;
}

.souviks-image-zoom-layer.is-zoomed
.souviks-image-zoom-image {
    cursor: grab;
}

.souviks-image-zoom-layer.is-zoomed
.souviks-image-zoom-image:active {
    cursor: grabbing;
}

.souviks-image-zoom-close {
    position: absolute;
    top: 18px;
    right: 18px;

    width: 42px;
    height: 42px;

    border: 1px solid var(--overlay-white-22);
    border-radius: 50%;

    background: var(--overlay-black-45);
    color: var(--bg-card);

    font: inherit;
    font-size: 1.55rem;
    line-height: 1;

    cursor: pointer;
}

.souviks-image-zoom-close:hover {
    background: var(--overlay-black-65);
}

.product-image img,
.pdp-main-image img,
.pdp-thumbnails img,
.souviks-image-zoom-image {
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    user-select: none;
}

body.souviks-image-viewer-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .souviks-image-zoom-layer {
        padding: 12px;
    }

    .souviks-image-zoom-image {
        max-width: 96vw;
        max-height: 86vh;
        border-radius: 8px;
    }

    .souviks-image-zoom-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
}

.souviks-image-zoom-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================
   ACCESSIBILITY / REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {
    .main-navigation {
        transition: none !important;
    }
}

/* ==========================================================
   MOBILE TOP-BAR CONTROL SPACING
========================================================== */

@media (max-width: 420px) {
    .top-bar-tools {
        flex: 0 0 auto;
        gap: 6px;
        margin-left: auto;
    }

    .top-bar-tools .top-whatsapp,
    .top-bar .mobile-menu-button,
    .language-button {
        width: 44px;
        min-width: 44px;
        max-width: 44px;
        height: 44px;
    }

    .top-bar-tools .top-whatsapp {
        padding: 0;
    }

    .language-button {
        gap: 0;
        padding: 0;
        justify-content: center;
    }

    .language-button .language-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.05rem;
        line-height: 1;
    }

    .language-button .language-arrow {
        display: none;
    }
}


/* ==========================================================
   MOBILE TOOLBAR — ICON ONLY
   Keep the header compact on phones. Text labels were causing
   clipping/overlap around WhatsApp and Language controls.
========================================================== */
@media (max-width: 768px) {
    .top-bar .container {
        min-width: 0;
        width: 100%;
        gap: 8px;
    }

    .top-bar-tools {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex: 0 0 auto;
        gap: 6px;
        margin-left: auto;
    }

    .top-bar-tools .top-email,
    .top-bar-tools .top-phone,
    .top-bar-tools .top-signin {
        display: none !important;
    }

    .top-bar-tools .top-whatsapp,
    .top-bar-tools .language-switcher,
    .top-bar .mobile-menu-button {
        width: 44px;
        min-width: 44px;
        max-width: 44px;
        height: 44px;
        flex: 0 0 44px;
    }

    .top-bar-tools .top-whatsapp {
        padding: 0;
        font-size: 0;
        border-radius: 50%;
        gap: 0;
    }

    .top-bar-tools .top-whatsapp .top-icon {
        width: 20px;
        height: 20px;
        flex: 0 0 20px;
    }

    .language-button {
        width: 44px;
        min-width: 44px;
        max-width: 44px;
        height: 44px;
        padding: 0;
        justify-content: center;
        gap: 0;
        border-radius: 50%;
    }

    .language-button .language-text,
    .language-button .language-arrow {
        display: none !important;
    }

    .language-button .language-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.05rem;
        line-height: 1;
    }

    .top-bar .mobile-menu-button {
        margin: 0;
    }
}

/* ==========================================================
   FOOTER — UNIFORM MOBILE ALIGNMENT
========================================================== */
@media (max-width: 768px) {
    .site-footer {
        padding: 44px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        align-items: start;
    }

    .footer-section {
        width: 100%;
        min-width: 0;
        text-align: left !important;
    }

    .footer-logo {
        display: inline-flex;
        margin-bottom: 14px;
    }

    .footer-description {
        max-width: 100%;
        margin: 0 0 18px;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .footer-section h3 {
        text-align: left;
        margin-bottom: 14px;
    }

    .footer-section ul {
        text-align: left;
    }

    .footer-contact {
        align-items: flex-start;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 16px;
        margin-top: 34px;
        padding-top: 20px;
    }

    .footer-bottom-links {
        width: 100%;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 8px 12px;
    }

    .footer-bottom-links a {
        white-space: normal;
    }
}

/* ==========================================================
   LOGIN PAGE — REMOVE REDUNDANT PAGE HEADING
========================================================== */
.page-login .page-header {
    display: none;
}


/* ==========================================================
   SOCIAL AUTHENTICATION OPTIONS
   Email/password remains the primary authentication method.
========================================================== */

.auth-social-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.auth-social-divider {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 2px 0 4px;
    color: var(--text-secondary);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.4;
    text-align: center;
}

.auth-social-divider::before,
.auth-social-divider::after {
    content: "";
    height: 1px;
    flex: 1 1 auto;
    background: var(--border-color);
}

.auth-social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-card);
    color: var(--text-primary);
    font: inherit;
    cursor: pointer;
    transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.auth-social-button:hover {
    border-color: #9CA3AF;
    background: var(--surface-subtle);
}

.auth-social-button:focus-visible {
    outline: 3px solid var(--color-primary-alpha-16);
    outline-offset: 2px;
}

.auth-social-button:disabled {
    opacity: .65;
    cursor: wait;
}

.auth-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1;
}

.auth-social-button[data-auth-provider="google"] .auth-social-icon {
    color: #4285F4;
}

.auth-social-button[data-auth-provider="x"] .auth-social-icon {
    color: var(--text-primary);
}

.auth-modal .auth-social-options {
    margin-top: 18px;
}

@media (max-width: 560px) {
    .auth-social-button {
        min-height: 44px;
    }
}


/* ==========================================================
   PRIMARY NAVIGATION DROPDOWNS
   Four browse links and three business actions are grouped
   under compact, keyboard-operable top-level controls.
========================================================== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.nav-dropdown-toggle:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 5px;
    border-radius: 3px;
}

.nav-dropdown-chevron {
    display: inline-block;
    margin-left: .1rem;
    font-size: 1rem;
    line-height: 1;
    transition: transform .16s ease;
}

.nav-dropdown-toggle[aria-expanded="true"] .nav-dropdown-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: -.75rem;
    z-index: 4100;
    min-width: 220px;
    max-width: min(320px, calc(100vw - 24px));
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 14px 32px var(--overlay-black-15);
}

.nav-dropdown.is-open > .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-item {
    list-style: none;
    margin: 0;
    padding: 0;
}

.navigation-menu .nav-dropdown-menu .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 42px;
    padding: 10px 16px;
    white-space: normal;
    color: var(--text-primary);
    font-size: .95rem;
    font-weight: 500;
    text-decoration: none;
}

.navigation-menu .nav-dropdown-menu .nav-link:hover,
.navigation-menu .nav-dropdown-menu .nav-link:focus-visible,
.navigation-menu .nav-dropdown-menu .nav-link.active {
    color: var(--color-primary);
    background: var(--surface-muted);
}

.navigation-menu .nav-dropdown-menu .nav-link.active::after {
    display: none;
}

.navigation-menu .nav-dropdown-menu .nav-link:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

/* The mobile drawer uses inline, indented accordions instead of flyouts. */
@media (max-width: 992px) {
    .main-navigation .navigation-menu .nav-dropdown-toggle {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        text-align: left;
    }

    .main-navigation .navigation-menu .nav-dropdown-menu {
        display: none;
        position: static;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin: 0;
        padding: 0 0 8px 12px;
        background: transparent;
        color: var(--bg-card);
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .main-navigation .navigation-menu .nav-dropdown.is-open > .nav-dropdown-menu {
        display: block;
    }

    .main-navigation .navigation-menu .nav-dropdown-menu .nav-link {
        min-height: 44px;
        padding: 10px 12px 10px 16px;
        color: var(--overlay-white-90);
        font-size: .95rem;
        font-weight: 500;
        white-space: normal;
        border-left: 2px solid var(--overlay-white-14);
    }

    .main-navigation .navigation-menu .nav-dropdown-menu .nav-link:hover,
    .main-navigation .navigation-menu .nav-dropdown-menu .nav-link:focus-visible {
        color: var(--bg-card);
        background: var(--overlay-white-08);
    }

    .main-navigation .navigation-menu .nav-dropdown-menu .nav-link.active {
        color: var(--bg-card);
        background: var(--overlay-white-08);
        border-left-color: var(--color-primary);
    }

    .main-navigation .navigation-menu .nav-dropdown-menu .nav-link.active::after {
        display: none;
    }

    .main-navigation .navigation-menu .nav-dropdown-menu > .nav-dropdown-item {
        border-bottom: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-dropdown-chevron {
        transition: none;
    }
}

/* Generated responsive mobile product-hero source. */
@media (max-width: 768px) {
    .products-hero {
        --hero-image: url("/assets/images/hero/product-hero-mobile.webp?v=818dc9b1f7c6");
    }
}
