.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    font-weight: 600;
}

.pagination .page-link {
    border-radius: 10px;
    border: 1px solid rgba(5, 5, 5, 0.15);
    color: var(--color-dark);
    padding: 0.5rem 0.9rem;
    min-width: 42px;
    text-align: center;
}

.pagination .page-link:hover {
    color: var(--color-primary);
    border-color: rgba(245, 180, 0, 0.6);
    background: rgba(245, 180, 0, 0.08);
}

.pagination .active .page-link {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #050505;
    font-weight: 700;
}

.pagination .disabled .page-link {
    color: rgba(5, 5, 5, 0.4);
    pointer-events: none;
    background: rgba(5, 5, 5, 0.05);
}

/* Global palette & tokens */
:root {
    --color-primary: #f5b400;
    --color-primary-dark: #c28d00;
    --color-secondary: #050505;
    --color-accent: #ffd166;
    --color-surface: #f7f5f0;
    --color-surface-alt: #ffffff;
    --color-dark: #0d0d0d;
    --color-muted: #7d7f89;
    --color-border: #232323;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --shadow-soft: 0 15px 45px rgba(5, 5, 5, 0.12);
    --shadow-card: 0 25px 60px rgba(5, 5, 5, 0.2);
    --gradient-primary: linear-gradient(135deg, #f5b400 0%, #ffda7b 70%, #fff3c4 100%);
    --gradient-surface: linear-gradient(135deg, rgba(245, 180, 0, 0.08) 0%, rgba(8, 8, 8, 0.05) 100%);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top, rgba(245, 180, 0, 0.2), transparent 40%) fixed, #faf8f3;
    color: var(--color-dark);
    min-height: 100vh;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    color: var(--color-primary-dark);
}

.page-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    backdrop-filter: blur(16px);
}

.announcement-bar {
    background: linear-gradient(135deg, #050505 0%, #1a1a1a 100%);
    color: #fff;
    padding: 0.75rem 0;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.announcement-bar i {
    color: var(--color-primary);
    font-size: 1rem;
}

.modern-nav {
    padding: 1.25rem 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(5, 5, 5, 0.06);
    border-bottom: 1px solid rgba(5, 5, 5, 0.08);
}

.modern-nav .navbar-brand {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--color-dark);
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.modern-nav .navbar-brand:hover {
    transform: translateY(-1px);
}

.modern-nav .navbar-brand i {
    font-size: 1.5rem;
}

.brand-title {
    font-family: 'Space Grotesk', 'Cairo', sans-serif;
    letter-spacing: 1.5px;
    font-size: 1.1rem;
    line-height: 1.2;
}

.language-switcher {
    margin-inline-start: 0;
}

.language-switcher select {
    min-width: 120px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(5, 5, 5, 0.12);
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-dark);
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

.language-switcher select:hover {
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 1);
}

.language-switcher select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(245, 180, 0, 0.1);
}

/* Removed old header-top styles - replaced with announcement-bar */

.nav-shell {
    width: 100%;
    padding: 0.5rem 0;
    gap: 1rem;
}

.nav-main {
    width: 100%;
}

.nav-main__inner {
    width: 100%;
}

.nav-main__links {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}

.nav-main__controls {
    width: 100%;
}

@media (min-width: 1200px) {
    .nav-main__controls {
        width: auto;
    }
}

.header-search__form {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    border: 1.5px solid rgba(5, 5, 5, 0.1);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 12px rgba(5, 5, 5, 0.06);
    transition: all 0.3s ease;
    position: relative;
}

.header-search__form:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(245, 180, 0, 0.15);
    background: #fff;
}

.header-search__form i {
    color: var(--color-muted);
    font-size: 0.95rem;
}

.header-search__form input {
    border: 0;
    background: transparent;
    flex: 1;
    font-size: 0.95rem;
    color: var(--color-dark);
    padding: 0.35rem 0;
}

.header-search__form input:focus {
    outline: none;
}

.header-search__form input::placeholder {
    color: var(--color-muted);
    opacity: 0.8;
}

.header-search__form button {
    border: 0;
    border-radius: 999px;
    background: var(--color-primary);
    color: var(--color-dark);
    font-weight: 700;
    padding: 0.45rem 1.2rem;
    box-shadow: 0 15px 35px rgba(245, 180, 0, 0.35);
    cursor: pointer;
}

.header-search__form--inline {
    min-width: 280px;
}

@media (min-width: 1400px) {
    .header-search__form--inline {
        min-width: 360px;
    }
}

.header-search__form {
    position: relative;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(5, 5, 5, 0.08);
    box-shadow: 0 18px 40px rgba(5, 5, 5, 0.12);
    padding: 0.4rem 0;
    z-index: 1040;
    max-height: 360px;
    overflow-y: auto;
}

.search-suggestions__item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.8rem;
    padding: 0.65rem 1rem;
    align-items: center;
    text-decoration: none;
    color: var(--color-dark);
    transition: background 0.2s ease;
}

.search-suggestions__item:hover,
.search-suggestions__item:focus-visible {
    background: rgba(245, 180, 0, 0.08);
}

.search-suggestions__thumb {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(5, 5, 5, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-suggestions__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-suggestions__title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.search-suggestions__meta {
    font-size: 0.8rem;
    color: var(--color-muted);
}

.search-suggestions__price {
    font-weight: 700;
    font-size: 0.95rem;
}

.search-suggestions__empty,
.search-suggestions__loading {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.search-suggestions__footer {
    border-top: 1px solid rgba(5, 5, 5, 0.05);
    padding: 0.65rem 1rem 0.3rem;
    text-align: end;
}

.search-suggestions__footer a {
    font-weight: 600;
    color: var(--color-dark);
}

.search-suggestions[hidden] {
    display: none;
}

.header-actions__icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.header-actions__auth {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.header-icon {
    position: relative;
    border-radius: var(--radius-sm);
    border: 1.5px solid rgba(5, 5, 5, 0.1);
    background: rgba(255, 255, 255, 0.95);
    padding: 0.6rem 0.9rem;
    min-width: 100px;
    text-align: center;
    font-weight: 600;
    color: var(--color-dark);
    display: inline-flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.header-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 180, 0, 0.2);
    border-color: var(--color-primary);
    background: #fff;
    color: var(--color-dark);
}

.header-icon i {
    font-size: 1rem;
}

.header-icon__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--color-muted);
    font-weight: 700;
}

.header-icon:hover,
.header-icon:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
    color: var(--color-dark);
}

.header-user .btn {
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.modern-nav .navbar-collapse {
    width: 100%;
    border-top: 1px solid rgba(5, 5, 5, 0.08);
    margin-top: 1rem;
    padding-top: 1rem;
}

@media (min-width: 1200px) {
    .modern-nav .navbar-collapse {
        border-top: 0;
        margin-top: 0;
        padding-top: 0;
    }

    .header-search__form {
        max-width: 400px;
    }

    .modern-nav .navbar-nav {
        gap: 0.5rem;
    }

    .language-switcher {
        margin-inline-start: 0.5rem;
    }
}

@media (max-width: 1199.98px) {
    .nav-shell {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .header-actions__icons,
    .header-actions__auth {
        width: 100%;
        justify-content: flex-start;
    }
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modern-nav .nav-link {
    font-weight: 600;
    color: var(--color-muted);
    border-radius: var(--radius-sm);
    padding: 0.65rem 1.15rem;
    transition: all 0.2s ease;
    position: relative;
    font-size: 0.95rem;
}

.modern-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.modern-nav .nav-link.active,
.modern-nav .nav-link:hover {
    color: var(--color-dark);
    background: rgba(245, 180, 0, 0.08);
}

.modern-nav .nav-link.active::after,
.modern-nav .nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.cart-link {
    position: relative;
    font-size: inherit;
    color: inherit;
}

.cart-link .cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-primary);
    color: var(--color-dark);
    border-radius: 999px;
    min-width: 22px;
    height: 22px;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(245, 180, 0, 0.4);
}

.page-content {
    flex: 1;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

body.page-home .wide-section {
    margin-left: calc((100vw - 100%)/-2);
    margin-right: calc((100vw - 100%)/-2);
    padding-left: clamp(1rem, 3vw, 2.5rem);
    padding-right: clamp(1rem, 3vw, 2.5rem);
}

.section {
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
}

.section__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.eyebrow {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-secondary);
    font-weight: 700;
}

.hero {
    border-radius: var(--radius-lg);
    background: var(--gradient-surface);
    padding: 4rem 3.5rem;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    position: relative;
}

.hero--ermo {
    background: linear-gradient(135deg, #050505 0%, #1a1a1a 100%);
    color: #f5f5f5;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(127, 69, 255, 0.06), rgba(8, 193, 164, 0.08));
    pointer-events: none;
}

.hero--ermo::after {
    background: radial-gradient(circle at top right, rgba(245, 180, 0, 0.25), transparent 70%);
    opacity: 0.9;
}

.hero__content {
    position: relative;
    z-index: 2;
}

.hero__content h1 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero__desc {
    font-size: 1.15rem;
    color: var(--color-muted);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero--ermo .hero__desc {
    color: rgba(247, 245, 240, 0.85);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.hero__actions .btn {
    margin: 0;
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero__badge {
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 0.5rem 1.3rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #f5f5f5;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero__badge:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(245, 180, 0, 0.5);
    transform: translateY(-2px);
}

.social-links {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.social-links__item {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid currentColor;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    color: inherit;
}

.social-links__item:hover,
.social-links__item:focus-visible {
    transform: translateY(-2px);
    background: currentColor;
    color: #050505;
}

.hero-social-links {
    color: rgba(255, 255, 255, 0.85);
}

.hero-social-links .social-links__item {
    border-color: rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.85);
    background: transparent;
}

.hero-social-links .social-links__item:hover,
.hero-social-links .social-links__item:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    color: #050505;
}

.footer-social-links {
    color: rgba(255, 255, 255, 0.85);
}

.footer-social-links .social-links__item {
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.85);
    background: transparent;
}

.footer-social-links .social-links__item:hover,
.footer-social-links .social-links__item:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    color: #050505;
}

.hero__visual {
    position: relative;
    z-index: 2;
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.hero__product-card {
    border-radius: var(--radius-md);
    padding: 1.5rem;
    background: var(--color-surface);
}

.btn-gradient {
    background: var(--color-primary);
    color: #fff;
    border: 0;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(127, 69, 255, 0.22);
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-gradient:hover,
.btn-gradient:focus {
    background: var(--color-primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-soft {
    background: #f0ecff;
    color: var(--color-dark);
    border: 1px solid rgba(16, 24, 40, 0.08);
    font-weight: 600;
}

.btn-soft:hover,
.btn-soft:focus {
    background: #e2dbff;
    color: var(--color-dark);
}

.inventory-section,
.parts-section {
    background: var(--color-surface-alt);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    margin-bottom: 3rem;
}

.section__header p.text-muted {
    max-width: 540px;
}

.empty-state {
    border: 1px dashed rgba(5, 5, 5, 0.2);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    color: var(--color-muted);
}

.category-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.category-showcase__card {
    position: relative;
    border-radius: 28px;
    padding: 2.5rem;
    background: linear-gradient(135deg, #ffffff, #f9f5ff);
    box-shadow: var(--shadow-card);
    min-height: 280px;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.category-showcase__card::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 70%);
    right: -40px;
    top: -40px;
    z-index: 0;
}

.category-showcase__card--accent-1 {
    background: linear-gradient(135deg, #fff6e9, #ffffff);
}

.category-showcase__card--accent-2 {
    background: linear-gradient(135deg, #f5f1ff, #ffffff);
}

.category-showcase__card--accent-3 {
    background: linear-gradient(135deg, #eef9ff, #ffffff);
}

.category-showcase__icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    color: var(--color-primary);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1;
}

.category-showcase__body {
    z-index: 1;
}

.category-showcase__eyebrow {
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(16, 24, 40, 0.6);
    margin-bottom: 0.6rem;
}

.category-showcase__actions {
    z-index: 1;
}

.category-showcase__cta {
    background: #fff;
    color: var(--color-dark);
    border: none;
    border-radius: 999px;
    font-weight: 600;
    padding: 0.85rem 1.75rem;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-showcase__cta:hover,
.category-showcase__cta:focus {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(16, 24, 40, 0.2);
    color: var(--color-dark);
}

.product-card {
    border-radius: var(--radius-md);
    border: 1px solid rgba(16, 24, 40, 0.05);
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

.product-card__image {
    position: relative;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--color-dark);
    color: white;
    font-size: 0.8rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
}

.product-card__body {
    padding: 1.5rem;
    flex: 1;
}

.product-card__title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-dark);
}

.product-card__price {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--color-primary);
}

.product-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.75rem;
}

.rating .fa-star {
    color: #f7b500;
}

.product-card__footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(16, 24, 40, 0.07);
    background: rgba(127, 69, 255, 0.04);
}

.product-card--premium {
    border-radius: 28px;
    border: 1px solid #f1e8d7;
    background: #fffdf7;
    padding: 1.25rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    gap: 1rem;
}

.product-card--premium .product-card__body {
    padding: 0;
}

.product-card--premium .product-card__footer {
    padding: 0;
    border: 0;
    background: transparent;
}

.product-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.product-card__badges {
    display: flex;
    gap: 0.4rem;
}

.product-card__badge {
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.25rem 0.85rem;
}

.product-card__badge--save {
    background: #fef3c7;
    color: #b45309;
}

.product-card__badge--event {
    background: #111827;
    color: #ffffff;
}

.product-card__compare {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.product-card__compare input {
    accent-color: #111827;
}

.product-card__visual {
    text-align: center;
    padding: 0.5rem 0 0.75rem;
}

.product-card__image-link {
    display: block;
}

.product-card__image-link img {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
}

.product-card__rating {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    margin-bottom: 0.85rem;
    color: #6b7280;
}

.product-card__rating-value {
    font-weight: 700;
    color: #111827;
    font-size: 0.95rem;
}

.product-card__reviews {
    color: #6b7280;
    font-size: 0.85rem;
}

.product-card--premium .product-card__title {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

.product-card__title a {
    color: inherit;
}

.product-card__subtitle {
    font-size: 0.92rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    min-height: 2.6rem;
}

.product-card__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}

.spec-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0f172a;
}

.spec-pill i {
    color: #f59e0b;
}

.product-card__colors {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
}

.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.15);
    background: var(--dot-color, #d1d5db);
}

.product-card__pricing {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.product-card__pricing .price-current {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
}

.product-card__pricing .price-original {
    font-size: 0.9rem;
    font-weight: 600;
    color: #9ca3af;
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.price-savings {
    color: #c2410c;
    font-weight: 600;
    font-size: 0.85rem;
}

.product-card__financing {
    color: #374151;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.product-card__financing-link {
    color: #7c3aed;
    font-weight: 600;
    font-size: 0.82rem;
    text-decoration: none;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.product-card__financing-link:hover {
    text-decoration: underline;
}

.product-card__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    border-radius: 999px;
    border: 1px solid #111827;
    padding: 0.85rem 1.1rem;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: none;
    color: #111827;
    background: #ffffff;
    transition: all 0.2s ease;
}

.product-card__cta-btn:hover {
    background: #111827;
    color: #ffffff;
}

.benefit-card {
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    background: white;
    border: 1px solid rgba(16, 24, 40, 0.05);
    box-shadow: var(--shadow-soft);
    height: 100%;
}

.benefit-card i {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.experience-card {
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-card);
}

.experience-card h3 {
    font-size: 2rem;
    font-weight: 800;
}

.testimonials {
    background: var(--color-secondary);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-card);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    height: 100%;
}

.testimonial-card p {
    color: rgba(255, 255, 255, 0.85);
}

.testimonial-author {
    margin-top: 1.5rem;
    font-weight: 700;
}

.testimonial-rating {
    color: #facc15;
    font-size: 1rem;
}

.testimonial-rating .fa-star {
    margin-inline-end: 0.15rem;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.2rem 0.9rem;
    border: 1px solid rgba(5, 5, 5, 0.15);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-dark);
}

.filters-card {
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    background: white;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(16, 24, 40, 0.05);
}

.filter-pill {
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-dark);
    padding: 0.4rem 1rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.filter-pill.active,
.filter-pill:hover {
    background: rgba(127, 69, 255, 0.15);
    border-color: rgba(127, 69, 255, 0.5);
}

.product-showcase {
    border-radius: var(--radius-lg);
    background: white;
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
}

.product-gallery img {
    border-radius: var(--radius-md);
    width: 100%;
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}

.thumbs {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.thumbs img {
    border-radius: var(--radius-sm);
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 2px solid transparent;
}

.product-details h2 {
    font-size: 2rem;
    font-weight: 800;
}

.product-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.meta-item {
    padding: 1.1rem;
    border-radius: var(--radius-md);
    border: 1px dashed rgba(16, 24, 40, 0.15);
}

.product-tabs .nav-link {
    font-weight: 700;
    color: var(--color-muted);
}

.product-tabs .nav-link.active {
    color: var(--color-primary);
    border-color: var(--color-primary) transparent transparent;
}

.related-products {
    background: var(--gradient-surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.checkout-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.checkout-step {
    flex: 1;
    min-width: 140px;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(127, 69, 255, 0.09);
    text-align: center;
    font-weight: 700;
    color: var(--color-primary);
}

.checkout-card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(16, 24, 40, 0.05);
    box-shadow: var(--shadow-soft);
}

.otp-card {
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    background: white;
    box-shadow: var(--shadow-card);
}

.otp-input input {
    font-size: 1.6rem;
    letter-spacing: 0.5rem;
    text-align: center;
}

.site-footer {
    background: #0f0f1a;
    color: rgba(255, 255, 255, 0.85);
    padding: 4rem 0 2rem;
    position: relative;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.8);
}

.site-footer__brand {
    font-size: 1.4rem;
    font-weight: 800;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 2rem 0;
}

.newsletter-box {
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
}

.floating-support {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 999px;
    padding: 0.75rem 1.25rem;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1035;
    border: none;
    cursor: pointer;
    font-weight: 700;
}

.floating-support:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.6);
    outline-offset: 3px;
}

.support-chat {
    position: fixed;
    bottom: 90px;
    left: 20px;
    width: min(340px, calc(100vw - 32px));
    max-height: calc(100vh - 140px);
    display: none;
    z-index: 1036;
}

.support-chat.is-open {
    display: block;
}

.support-chat__card {
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.support-chat__header {
    background: var(--gradient-primary);
    color: #fff;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.support-chat__close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.support-chat__messages {
    background: #f8fafc;
    padding: 1rem 1.25rem;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.message {
    max-width: 85%;
    padding: 0.65rem 0.85rem;
    border-radius: 16px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.message--bot {
    background: #eef2ff;
    color: #1f2937;
    border-top-left-radius: 4px;
}

.message--user {
    background: #1e1b4b;
    color: #fff;
    border-top-right-radius: 4px;
    margin-left: auto;
}

.support-chat__form {
    padding: 0.85rem 1.25rem 1.2rem;
    border-top: 1px solid #e2e8f0;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.support-chat__form input {
    flex: 1;
    border-radius: 14px;
    border: 1px solid #d4d4d8;
    padding: 0.6rem 0.9rem;
    font-size: 0.95rem;
}

.support-chat__form button {
    border: none;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 12px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
}

.support-chat__form button:hover {
    opacity: 0.9;
}

@media (max-width: 991px) {
    .hero {
        padding: 2.5rem 2rem;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .inventory-section,
    .parts-section {
        padding: 1.5rem;
    }

    .support-chat {
        left: 12px;
        width: calc(100vw - 24px);
    }

    .floating-support {
        left: 12px;
    }
}

/* Auth Pages Styles */
.auth-page {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: calc(100vh - 200px);
}

.auth-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.auth-card__visual {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 3rem;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.auth-card__visual::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.auth-card__visual-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.auth-card__logo {
    text-align: center;
    margin-bottom: 3rem;
}

.auth-card__features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.auth-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
}

.auth-feature:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.08);
}

.auth-feature i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.auth-card__form {
    padding: 3rem;
}

.auth-card__header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.auth-card__title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.auth-card__subtitle {
    color: var(--color-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form .form-label {
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-muted);
    z-index: 3;
}

.input-wrapper .form-control {
    padding-right: 3rem;
    border: 2px solid rgba(16, 24, 40, 0.1);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.input-wrapper .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(127, 69, 255, 0.1);
    outline: none;
}

.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(16, 24, 40, 0.1);
}

.auth-divider span {
    position: relative;
    background: white;
    padding: 0 1rem;
    color: var(--color-muted);
    font-size: 0.9rem;
}

@media (max-width: 991.98px) {
    .auth-card__visual {
        display: none;
    }
    
    .auth-card__form {
        padding: 2rem;
    }
    
    .auth-card__title {
        font-size: 1.75rem;
    }
}

/* Cart & checkout experience */
.cart-page,
.checkout-page {
    max-width: 1100px;
}

.gradient-card {
    border-radius: var(--radius-lg);
    background: var(--gradient-surface);
    padding: 2.5rem;
    border: 1px solid rgba(5, 5, 5, 0.05);
    box-shadow: var(--shadow-soft);
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cart-hero__title,
.checkout-hero__title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--color-dark);
}

.cart-hero__subtitle,
.checkout-hero__subtitle {
    color: var(--color-muted);
    max-width: 620px;
}

.cart-progress {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.progress-pill {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(5, 5, 5, 0.12);
    color: var(--color-muted);
    min-width: 110px;
    text-align: center;
    transition: all 0.2s ease;
}

.progress-pill span {
    font-weight: 700;
    display: block;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.progress-pill.active {
    border-color: var(--color-primary);
    color: var(--color-dark);
    background: rgba(245, 180, 0, 0.12);
}

.progress-pill.completed {
    border-color: rgba(8, 193, 164, 0.4);
    color: var(--color-dark);
    background: rgba(8, 193, 164, 0.12);
}

.progress-divider {
    flex: 1;
    min-width: 20px;
    height: 1px;
    background: rgba(5, 5, 5, 0.1);
}

.cart-hero__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 1rem;
}

.cart-hero__metrics div {
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(5, 5, 5, 0.05);
    text-align: center;
    font-weight: 600;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cart-items-card,
.cart-summary-card,
.cart-support-card,
.checkout-panel,
.checkout-summary,
.checkout-assurance,
.checkout-support {
    border-radius: var(--radius-lg);
}

.checkout-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.checkout-sticky {
    position: sticky;
    top: 32px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: fit-content;
}

.cart-items-card .card-body {
    padding: 0 1.5rem 1.5rem;
}

.cart-item-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(5, 5, 5, 0.07);
}

.cart-item-card:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.cart-item__main {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-item__thumb {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: rgba(245, 180, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--color-primary-dark);
}

.cart-item__info .price {
    font-weight: 700;
    color: var(--color-dark);
}

.cart-item__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.6rem;
}

.cart-item__total {
    text-align: end;
    font-weight: 700;
    font-size: 1.1rem;
}

.cart-qty-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(5, 5, 5, 0.12);
    border-radius: 999px;
    padding: 0.25rem;
    background: rgba(5, 5, 5, 0.02);
}

.qty-stepper input {
    border: 0;
    width: 70px;
    font-weight: 600;
    background: transparent;
    text-align: center;
}

.qty-stepper input:focus {
    outline: none;
    box-shadow: none;
}

.stepper-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 0;
    background: rgba(5, 5, 5, 0.05);
    color: var(--color-dark);
}

.stepper-btn:hover {
    background: rgba(5, 5, 5, 0.12);
}

.promo-code-form {
    display: flex;
    gap: 0.5rem;
}

.promo-code-form input {
    border-radius: var(--radius-md);
}

.promo-code-form .btn {
    border-radius: var(--radius-md);
}

.checkout-panel .panel-heading {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.panel-step {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(5, 5, 5, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.checkout-summary__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px dashed rgba(5, 5, 5, 0.1);
}

.checkout-summary__item:last-child {
    border-bottom: 0;
}

.checkout-payment-meta .payment-icons i {
    color: rgba(5, 5, 5, 0.4);
}

.checkout-assurance .assurance-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(5, 5, 5, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.cart-support-card,
.checkout-support {
    background: rgba(5, 5, 5, 0.02);
    border: 1px dashed rgba(5, 5, 5, 0.08);
}

@media (max-width: 992px) {
    .gradient-card {
        padding: 1.75rem;
    }

    .cart-hero__metrics {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .cart-item-card {
        grid-template-columns: 1fr;
    }

    .cart-item__total {
        text-align: start;
    }

    .promo-code-form {
        flex-direction: column;
    }

    .checkout-sticky {
        position: static;
        top: auto;
    }
}

.checkout-row {
    align-items: stretch !important;
}

