@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    --bg-surface: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --border-focus: #0f172a;
    --primary: #0f172a;
    --primary-hover: #1e293b;
    --accent: #d97706; /* Automotive Off-road Gold/Amber */
    --accent-hover: #b45309;
    --accent-light: #fef3c7;
    --danger: #dc2626;
    --danger-light: #fee2e2;
    --success: #16a34a;
    --success-light: #dcfce7;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.09);
    --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --container: 1280px;
    --font-en: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-ar: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-en);
    line-height: 1.5;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

html[lang="ar"], html[dir="rtl"] {
    font-family: var(--font-ar);
    direction: rtl;
    text-align: right;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 0;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.section-header {
    margin-bottom: 36px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
}

.section-header.center {
    text-align: center;
    justify-content: center;
    flex-direction: column;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 15px;
    margin-top: 6px;
}

/* Top Announcement / Support Bar */
.top-bar {
    background: #090d16;
    color: #94a3b8;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-bar-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-info a {
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-info a:hover {
    color: #ffffff;
}

.top-bar-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 2px 10px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 12px;
}

.lang-switch:hover {
    background: var(--accent);
}

/* Header & Main Navigation */
.main-header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 24px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 22px;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.brand-logo svg {
    color: var(--accent);
}

.brand-badge {
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    border: 1px solid var(--border-color);
}

/* Search Bar & Autocomplete */
.header-search {
    flex: 1;
    max-width: 480px;
    position: relative;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0 14px;
    transition: var(--transition);
}

.search-input-wrap:focus-within {
    border-color: var(--border-focus);
    background: var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.search-input-wrap input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 10px 8px;
    font-size: 14px;
    color: var(--text-primary);
    outline: none;
}

.search-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    padding: 4px;
}

.search-btn:hover {
    color: var(--primary);
}

.search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 110;
    max-height: 420px;
    overflow-y: auto;
    display: none;
}

.search-group-title {
    background: var(--bg-secondary);
    padding: 8px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

.search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.search-item:hover {
    background: var(--bg-secondary);
}

.search-item-img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 4px;
    background: var(--bg-surface);
}

.search-item-info {
    flex: 1;
}

.search-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.search-item-sku {
    font-size: 12px;
    color: var(--text-muted);
}

.search-item-price {
    font-weight: 700;
    color: #111111;
    font-size: 14px;
}

/* -------------------------------------------------------------
   LUXURY TOYOTA LAND CRUISER & 4x4 DESIGN SYSTEM (REFERENCE STYLE)
   ------------------------------------------------------------- */

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: #111111;
}

/* Brand & Main Header */
.main-header {
    background: #ffffff;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 24px;
}

.brand-toyota-wrap,
.site-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
    flex-shrink: 0;
}

.site-logo-img {
    height: 62px;
    width: auto;
    max-height: 64px;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
}

.site-logo-link:hover .site-logo-img {
    transform: scale(1.03);
}

.footer-logo-card {
    background: #ffffff;
    padding: 8px 14px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-logo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.footer-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    .site-logo-img {
        height: 48px;
        max-height: 50px;
    }
}

.brand-toyota-logo {
    width: 34px !important;
    height: 24px !important;
    max-width: 34px !important;
    max-height: 24px !important;
    color: #111111;
    flex-shrink: 0;
    display: inline-block;
}

.brand-toyota-text {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-toyota-make {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: #111111;
    text-transform: uppercase;
}

.brand-toyota-sep {
    color: #d1d5db;
    font-size: 15px;
    font-weight: 300;
}

.brand-toyota-model {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #111111;
    text-transform: uppercase;
}

.brand-tag-qa {
    background: #111111;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 2px 5px;
    border-radius: 2px;
    margin-left: 6px;
}

html[dir="rtl"] .brand-tag-qa {
    margin-left: 0;
    margin-right: 6px;
}

/* Nav Links with Minimalist Underline */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #333333;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #000000;
}

.nav-link.active {
    color: #000000;
    font-weight: 700;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #111111;
    border-radius: 1px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.hdr-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222222;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    transition: color 0.2s ease, transform 0.2s ease;
    position: relative;
}

.hdr-icon-btn:hover {
    color: #000000;
    transform: translateY(-1px);
}

.hdr-cart-badge {
    position: absolute;
    top: -2px;
    right: -4px;
    background: #111111;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

html[dir="rtl"] .hdr-cart-badge {
    right: auto;
    left: -4px;
}

.hdr-lang-link {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    color: #333333;
    transition: all 0.2s ease;
}

.hdr-lang-link:hover {
    border-color: #111111;
    background: #111111;
    color: #ffffff;
}

/* Quick Search Dropdown Drawer */
.header-search-modal {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #eaeaea;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    padding: 24px 0;
    z-index: 99;
}

.header-search-modal.active {
    display: block;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0 16px;
    max-width: 680px;
    margin: 0 auto;
}

.search-input-wrap:focus-within {
    border-color: #111111;
    background: #ffffff;
}

.search-input-wrap input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 12px 10px;
    font-size: 15px;
    color: #111111;
    outline: none;
}

.search-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    color: #475569;
}

/* -------------------------------------------------------------
   HERO STAGE (PRECISE REFERENCE DESIGN)
   ------------------------------------------------------------- */
.lc-hero-stage {
    position: relative;
    background: radial-gradient(ellipse at 50% 40%, #ffffff 0%, #f9f9f9 55%, #eaeaea 100%);
    padding: 40px 0 20px;
    overflow: hidden;
    min-height: 620px;
    border-bottom: 1px solid #eaeaea;
}

.lc-hero-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

/* Layout Grid: Left Title | Center Hero Car | Right Specs */
.lc-hero-main {
    display: grid;
    grid-template-columns: 320px 1fr 220px;
    align-items: center;
    min-height: 420px;
    position: relative;
    z-index: 2;
}

/* Left Content */
.lc-hero-intro {
    padding-top: 20px;
}

.lc-make {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.28em;
    color: #4b5563;
    text-transform: uppercase;
}

.lc-model-name {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: #111111;
    text-transform: uppercase;
    margin-top: 6px;
    line-height: 1.1;
}

.lc-series-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.lc-series-title {
    font-size: 58px;
    font-weight: 900;
    letter-spacing: -0.01em;
    color: #111111;
    line-height: 1;
}

.lc-badge-gr {
    display: inline-flex;
    align-items: center;
    background: #d01c1c;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 4px 8px;
    border-radius: 2px;
    text-transform: uppercase;
}

.lc-badge-chrome {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #111111;
    color: #111111;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 3px 8px;
    border-radius: 2px;
    text-transform: uppercase;
}

.lc-tagline {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: #6b7280;
    text-transform: uppercase;
    margin-top: 18px;
    line-height: 1.4;
}

.lc-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #111111;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 14px 26px;
    border-radius: 2px;
    margin-top: 24px;
    transition: all 0.25s ease;
    text-decoration: none;
}

.lc-cta-btn:hover {
    background: #2b2b2b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.lc-cta-btn svg {
    transition: transform 0.2s ease;
}

.lc-cta-btn:hover svg {
    transform: translateX(4px);
}

html[dir="rtl"] .lc-cta-btn:hover svg {
    transform: translateX(-4px);
}

/* Center Vehicle Stage */
.lc-hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lc-vehicle-main-img {
    width: 100%;
    max-width: 720px;
    height: auto;
    object-fit: contain;
    transition: opacity 0.35s ease, transform 0.35s ease;
    filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.15));
}

/* Right Specifications Overlay */
.lc-hero-specs {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-left: 20px;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
}

html[dir="rtl"] .lc-hero-specs {
    padding-left: 0;
    padding-right: 20px;
    border-left: none;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.lc-spec-box {
    text-align: left;
}

html[dir="rtl"] .lc-spec-box {
    text-align: right;
}

.lc-spec-val {
    font-size: 24px;
    font-weight: 800;
    color: #111111;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.lc-spec-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #6b7280;
    text-transform: uppercase;
    margin-top: 3px;
}

/* Far Right Vertical Scroll Indicator */
.lc-scroll-indicator {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #9ca3af;
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 700;
}

html[dir="rtl"] .lc-scroll-indicator {
    right: auto;
    left: 24px;
}

/* -------------------------------------------------------------
   INTERACTIVE MODEL CAROUSEL (BELOW VEHICLE)
   ------------------------------------------------------------- */
.lc-models-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 10px;
    position: relative;
    z-index: 3;
    padding: 10px 0;
}

.lc-carousel-arrow {
    background: transparent;
    border: none;
    color: #111111;
    font-size: 22px;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
}

.lc-carousel-arrow:hover {
    transform: scale(1.2);
    color: #000000;
}

.lc-carousel-list {
    display: flex;
    align-items: flex-end;
    gap: 36px;
}

.lc-model-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 6px 10px 10px;
    position: relative;
    transition: opacity 0.25s ease, transform 0.25s ease;
    opacity: 0.65;
}

.lc-model-item:hover {
    opacity: 0.95;
    transform: translateY(-2px);
}

.lc-model-item.active {
    opacity: 1;
    transform: translateY(-2px);
}

.lc-model-thumb {
    width: 140px;
    height: 75px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.12));
    margin-bottom: 8px;
}

.lc-model-title {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #111111;
    text-transform: uppercase;
}

.lc-model-years {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: #9ca3af;
    margin-top: 2px;
}

.lc-model-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #111111;
    border-radius: 1px;
}

/* -------------------------------------------------------------
   CATEGORY ICONS STRIP (7 TECHNICAL COLUMNS)
   ------------------------------------------------------------- */
.lc-category-strip {
    background: #ffffff;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

.lc-cat-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    max-width: 1360px;
    margin: 0 auto;
}

.lc-cat-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 26px 12px;
    text-align: center;
    border-right: 1px solid #eaeaea;
    text-decoration: none;
    color: #111111;
    transition: all 0.25s ease;
}

.lc-cat-col:last-child {
    border-right: none;
}

html[dir="rtl"] .lc-cat-col {
    border-right: none;
    border-left: 1px solid #eaeaea;
}

html[dir="rtl"] .lc-cat-col:last-child {
    border-left: none;
}

.lc-cat-col:hover {
    background: #fbfbfb;
    transform: translateY(-2px);
}

.lc-cat-icon {
    width: 38px;
    height: 38px;
    color: #111111;
    stroke-width: 1.6;
    transition: transform 0.25s ease;
}

.lc-cat-col:hover .lc-cat-icon {
    transform: scale(1.1);
}

.lc-cat-title {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #111111;
    line-height: 1.35;
}

/* -------------------------------------------------------------
   SIGNATURE MOTTO BANNER
   ------------------------------------------------------------- */
.lc-motto-banner {
    background: #0f1216;
    color: #ffffff;
    padding: 22px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #23272e;
}

.lc-motto-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.lc-motto-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.lc-motto-text {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.26em;
    color: #e5e7eb;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Mobile Responsiveness for LC System */
@media (max-width: 1024px) {
    .lc-hero-main {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .lc-hero-specs {
        flex-direction: row;
        justify-content: center;
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        padding-left: 0;
        padding-top: 20px;
    }
    .lc-scroll-indicator {
        display: none;
    }
    .lc-cat-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 640px) {
    .lc-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .lc-carousel-list {
        gap: 16px;
        overflow-x: auto;
        padding-bottom: 8px;
    }
    .lc-model-thumb {
        width: 100px;
        height: 55px;
    }
    .lc-series-title {
        font-size: 42px;
    }
}


.hero-badge-float {
    position: absolute;
    bottom: -15px;
    left: 20px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 14px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
}

html[dir="rtl"] .hero-badge-float {
    left: auto;
    right: 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-accent {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.btn-accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.btn-outline-dark {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-outline-dark:hover {
    background: var(--bg-surface);
    border-color: var(--text-primary);
}

.btn-sm {
    padding: 8px 14px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

.btn-block {
    width: 100%;
}

/* Vehicle Cards Grid */
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.vehicle-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vehicle-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.vehicle-card-img {
    height: 140px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 16px;
    transition: var(--transition);
}

.vehicle-card:hover .vehicle-card-img {
    transform: scale(1.05);
}

.vehicle-card-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.vehicle-card-brand {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Category Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.category-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.category-card:hover {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.category-card-icon {
    width: 48px;
    height: 48px;
    background: #ffffff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid var(--border-color);
    font-size: 20px;
}

.category-card-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Product Cards Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--text-secondary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.product-card-thumb {
    height: 200px;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.product-card-thumb img {
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-card-thumb img {
    transform: scale(1.04);
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

html[dir="rtl"] .product-badges {
    left: auto;
    right: 10px;
}

.badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-discount { background: var(--danger); color: #fff; }
.badge-instock { background: var(--success); color: #fff; }
.badge-lowstock { background: var(--warning); color: #fff; }
.badge-outstock { background: #64748b; color: #fff; }
.badge-vehicle { background: #0f172a; color: #fff; font-size: 10px; }

.product-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 4px;
}

.product-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-compatibility-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 12px;
}

.compat-tag {
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
}

.product-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.product-price-wrap {
    display: flex;
    flex-direction: column;
}

.product-price {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary);
}

.product-original-price {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* Why Choose Section */
.why-us-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.feature-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: var(--transition);
}

.feature-box:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 16px;
}

.feature-title {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Footer */
.main-footer {
    background: #090d16;
    color: #94a3b8;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-col-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: -0.2px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 14px;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #cbd5e1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
}

/* Catalog Filter Sidebar Layout */
.catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
}

.filter-sidebar {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    height: fit-content;
}

.filter-group {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-group-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    cursor: pointer;
}

.filter-price-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.filter-price-inputs input {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13px;
}

/* Product Detail Page */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: flex-start;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gallery-main {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 420px;
}

.gallery-main img {
    max-height: 100%;
    object-fit: contain;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.gallery-thumb {
    width: 72px;
    height: 72px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 4px;
    cursor: pointer;
    background: #f8fafc;
}

.gallery-thumb.active {
    border-color: var(--primary);
}

.product-info-panel h1 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 10px;
}

.product-sku-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.product-price-large {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 20px;
}

.quantity-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.stepper-btn {
    background: var(--bg-surface);
    border: none;
    width: 38px;
    height: 40px;
    font-size: 16px;
    cursor: pointer;
}

.stepper-input {
    width: 50px;
    border: none;
    text-align: center;
    font-weight: 700;
}

.product-actions-bar {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    margin-bottom: 28px;
}

/* Shopping Cart Table */
.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    background: var(--bg-secondary);
    padding: 12px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid var(--border-color);
}

html[dir="rtl"] .cart-table th {
    text-align: right;
}

.cart-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.order-summary-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.summary-row.total {
    border-top: 2px solid var(--border-color);
    padding-top: 14px;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
}

/* Forms & Inputs */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    background: #ffffff;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.payment-method-card {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.payment-method-card:has(input:checked) {
    border-color: var(--primary);
    background: var(--bg-surface);
}

/* Alerts */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success { background: var(--success-light); color: var(--success); }
.alert-error, .alert-danger { background: var(--danger-light); color: var(--danger); }
.alert-warning { background: var(--warning-light); color: var(--warning); }
.alert-info { background: #e0f2fe; color: #0284c7; }

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content { margin: 0 auto; }
    .hero-cta { justify-content: center; }
    .catalog-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .top-bar-info { display: none; }
    .nav-menu { display: none; }
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 6px;
        color: #111111;
        border-radius: 6px;
        transition: background 0.2s ease;
    }
    .menu-toggle:hover {
        background: #f1f5f9;
    }
    .header-search { display: none; }
    .hero-title { font-size: 30px; }
    .footer-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 22px; }
    .gallery-main { height: 280px; }
}

/* -------------------------------------------------------------
   MOBILE NAVIGATION DRAWER & BACKDROP OVERLAY
   ------------------------------------------------------------- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 320px;
    max-width: 86vw;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

html[dir="rtl"] .mobile-menu-drawer {
    left: auto;
    right: 0;
    transform: translateX(100%);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
}

.mobile-menu-drawer.open {
    transform: translateX(0);
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
}

.mobile-drawer-close {
    background: #f1f5f9;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #334155;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.mobile-drawer-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.mobile-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    -webkit-overflow-scrolling: touch;
}

.mobile-search-box {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 4px 8px 4px 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mobile-search-box:focus-within {
    border-color: #a32a38;
    box-shadow: 0 0 0 3px rgba(163, 42, 56, 0.1);
}

.mobile-search-box input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #0f172a;
    outline: none;
    padding: 6px 0;
}

.mobile-search-box button {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.mobile-nav-item svg {
    color: #64748b;
    flex-shrink: 0;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    background: #fdf2f4;
    color: #a32a38;
}

.mobile-nav-item.active svg,
.mobile-nav-item:hover svg {
    color: #a32a38;
}

.mobile-drawer-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 4px 0;
}

.mobile-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-action-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #0f172a;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.mobile-action-card:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.mobile-action-card svg {
    color: #475569;
}

.mobile-cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #a32a38;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    border-radius: 10px;
    padding: 1px 6px;
    min-width: 18px;
    text-align: center;
}

html[dir="rtl"] .mobile-cart-badge {
    right: auto;
    left: -8px;
}

.mobile-lang-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 8px;
}

.mobile-lang-pill {
    background: #0f172a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.mobile-lang-pill:hover {
    background: #a32a38;
}

.mobile-drawer-footer {
    margin-top: auto;
    padding-top: 8px;
}

.mobile-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.mobile-whatsapp-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

/* Print Invoice Styling */
@media print {
    .main-header, .top-bar, .main-footer, .no-print {
        display: none !important;
    }
    body {
        background: #fff !important;
        color: #000 !important;
    }
    .invoice-card {
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
    }
}
