﻿*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    font-family: var(--site-font, 'Peyda', 'Tahoma', 'Arial', sans-serif);
    direction: rtl;
    background: var(--color-background-dark);
    color: var(--color-text-primary);
    line-height: 1.72;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1 {
    font-family: var(--heading-h1-font, var(--site-font, 'Peyda', 'Tahoma', 'Arial', sans-serif));
    font-weight: 800;
    line-height: 1.24;
    letter-spacing: -0.02em;
}

h2 {
    font-family: var(--heading-h2-font, var(--site-font, 'Peyda', 'Tahoma', 'Arial', sans-serif));
    font-weight: 700;
    line-height: 1.34;
    letter-spacing: -0.018em;
}

.hero-title,
.page-home .hero-title {
    font-family: var(--hero-font, var(--heading-h1-font, var(--site-font, 'Peyda', 'Tahoma', 'Arial', sans-serif)));
}

button,
input,
select,
textarea {
    font-family: inherit;
}

:root {
    --site-shell-max: 1720px;
    --site-shell-gutter: clamp(18px, 2.4vw, 42px);
}

/* Custom Cinematic Cursor - Disabled
.custom-cursor {
    display: none !important;
} */

/* Hide default cursor on desktop when custom cursor is active - Disabled */
@media (min-width: 769px) {
    /* body:has(.custom-cursor) {
        cursor: none;
    }
    
    * {
        cursor: none !important;
    }
    
    a, button, input, select, textarea {
        cursor: none !important;
    } */
    
    /* Subtle glow on hover for cursor-driven interaction */
    .product-card:hover,
    .category-card:hover,
    .article-card:hover,
    .brand-card:hover,
    .main-category-card:hover,
    .motorcycle-video-thumbnail:hover {
        box-shadow: 0 8px 32px rgba(255, 75, 43, 0.1);
    }
}

/* Hide cursor on mobile */
@media (max-width: 768px) {
    .custom-cursor {
        display: none !important;
    }
    
    body {
        cursor: auto !important;
    }
    
    * {
        cursor: auto !important;
    }
}

.container {
    width: 100%;
    max-width: var(--site-shell-max);
    margin: 0 auto;
    padding: 0 var(--site-shell-gutter);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 6, 8, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.site-header.header-shrunk {
    background: rgba(5, 6, 8, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.site-header.header-shrunk .header-top {
    height: 0;
    overflow: hidden;
    padding: 0;
    border: none;
    opacity: 0;
    transition: all 0.3s ease;
}

.site-header.header-shrunk .header-main-inner {
    padding: 8px 0;
}

.site-header.header-shrunk .logo-image {
    height: 35px;
}

.site-header.header-shrunk .logo-subtitle {
    display: none;
}

.header-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

.header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
}

.header-contact a {
    color: var(--color-text-muted);
    text-decoration: none;
    margin-right: 12px;
    transition: color 0.2s;
}

.header-contact a:hover {
    color: #fff;
}

.header-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.9;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
    transition: all 0.3s ease;
}

.logo:hover .logo-image {
    filter: brightness(1.2) contrast(1.15) drop-shadow(0 0 8px rgba(255, 75, 43, 0.4));
    transform: scale(1.05);
}

.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
}

.logo-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    display: block;
}

/* Logo Image Styling - Theme Integration */
.logo-image {
    height: 50px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    /* Keep logo colors aligned with the active site theme */
    filter: 
        brightness(1.1) 
        contrast(1.1) 
        saturate(1.2)
        drop-shadow(0 2px 4px rgba(255, 75, 43, 0.2));
    transition: all 0.3s ease;
    padding: 4px;
}

.logo:hover .logo-image {
    filter: 
        brightness(1.2) 
        contrast(1.15) 
        saturate(1.3)
        drop-shadow(0 0 12px rgba(255, 75, 43, 0.6));
    transform: scale(1.05);
}

/* Responsive Logo */
@media (max-width: 768px) {
    .logo-image {
        height: 40px;
        max-width: 120px;
    }
    
    .logo-title {
        font-size: 1rem;
    }
    
    .logo-subtitle {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 35px;
        max-width: 100px;
    }
    
    .logo-text {
        display: none;
    }
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0;
    position: relative;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: #fff;
}

.main-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: width 0.2s ease-out;
}

.main-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0;
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-primary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    border-color: rgba(255, 75, 43, 0.4);
    color: rgba(255, 75, 43, 0.9);
    background: rgba(255, 75, 43, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 75, 43, 0.15);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
}

.btn-block {
    width: 100%;
    text-align: center;
}

.nav-toggle {
    display: none;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    transition: all 0.2s;
}

/* Messages */
.messages-container {
    padding: 16px;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.alert-success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.4);
    color: var(--color-success);
}

.alert-error {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.4);
    color: var(--color-error);
}

/* Hero Section */
.hero-section {
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--color-background-dark);
    padding: 100px 0;
    margin-bottom: 60px;
    overflow: hidden;
    /* cursor: none; Removed custom cursor */
}

/* Mouse Light Effect */
.hero-mouse-light {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 75, 43, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
    z-index: 1;
    filter: blur(60px);
}

.hero-section:hover .hero-mouse-light {
    opacity: 1;
}

/* Animated Background Particles */
.hero-animated-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 75, 43, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 75, 43, 0.8), 0 0 20px rgba(255, 75, 43, 0.4);
    animation: particleFloat 15s ease-in-out infinite;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}

.hero-particle:nth-child(1) {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.hero-particle:nth-child(2) {
    top: 20%;
    right: 80%;
    animation-delay: 1s;
    animation-duration: 14s;
}

.hero-particle:nth-child(3) {
    top: 60%;
    right: 30%;
    animation-delay: 2s;
    animation-duration: 16s;
}

.hero-particle:nth-child(4) {
    top: 80%;
    right: 70%;
    animation-delay: 3s;
    animation-duration: 13s;
}

.hero-particle:nth-child(5) {
    top: 40%;
    right: 50%;
    animation-delay: 4s;
    animation-duration: 15s;
}

.hero-particle:nth-child(6) {
    top: 15%;
    right: 60%;
    animation-delay: 0.5s;
    animation-duration: 17s;
}

.hero-particle:nth-child(7) {
    top: 70%;
    right: 20%;
    animation-delay: 1.5s;
    animation-duration: 11s;
}

.hero-particle:nth-child(8) {
    top: 30%;
    right: 90%;
    animation-delay: 2.5s;
    animation-duration: 18s;
}

.hero-particle:nth-child(9) {
    top: 50%;
    right: 15%;
    animation-delay: 3.5s;
    animation-duration: 14s;
}

.hero-particle:nth-child(10) {
    top: 90%;
    right: 40%;
    animation-delay: 4.5s;
    animation-duration: 16s;
}

.hero-particle:nth-child(11) {
    top: 25%;
    right: 45%;
    animation-delay: 1.2s;
    animation-duration: 13s;
}

.hero-particle:nth-child(12) {
    top: 65%;
    right: 85%;
    animation-delay: 2.8s;
    animation-duration: 15s;
}

.hero-particle:nth-child(13) {
    top: 5%;
    right: 35%;
    animation-delay: 0.8s;
    animation-duration: 17s;
}

.hero-particle:nth-child(14) {
    top: 75%;
    right: 55%;
    animation-delay: 3.2s;
    animation-duration: 12s;
}

.hero-particle:nth-child(15) {
    top: 45%;
    right: 75%;
    animation-delay: 1.8s;
    animation-duration: 19s;
}

/* Gradient Orbs */
.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orbFloat 20s ease-in-out infinite;
    z-index: 0;
    transition: transform 0.1s ease-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 75, 43, 0.6), transparent 70%);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 202, 40, 0.5), transparent 70%);
    bottom: -150px;
    left: -150px;
    animation-delay: 5s;
    animation-duration: 25s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 75, 43, 0.4), transparent 70%);
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    animation-delay: 10s;
    animation-duration: 30s;
}

/* Animated Grid Lines */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: 
        linear-gradient(rgba(255, 75, 43, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 75, 43, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 75, 43, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 202, 40, 0.15) 0%, transparent 50%);
    animation: gradientShift 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(30px, -40px) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: translate(-20px, 30px) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translate(40px, 20px) scale(1.1);
        opacity: 0.8;
    }
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 40px) scale(0.9);
    }
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    z-index: 1;
    padding: 0 20px;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Slider Navigation */
.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.hero-nav-btn:hover {
    background: rgba(255, 75, 43, 0.8);
    border-color: rgba(255, 75, 43, 0.8);
    box-shadow: 0 0 15px rgba(255, 75, 43, 0.5);
}

.hero-prev {
    right: 30px;
}

.hero-next {
    left: 30px;
}

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-dot.active {
    background: var(--color-primary);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 75, 43, 0.5);
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s ease-out 0.3s;
}

.hero-slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary), var(--color-primary));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 75, 43, 0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@keyframes gradientText {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Sections */
/* Motorcycle Filter Section */
.motorcycle-filter-section {
    padding: 60px 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.filter-card {
    background: linear-gradient(135deg, var(--color-background-light), var(--color-background-lighter));
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-header-left {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
}

.filter-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
    border-radius: 12px;
    flex-shrink: 0;
}

.filter-header-text {
    flex: 1;
}

.filter-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
}

.filter-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

.filter-more-link {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 2px;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-right: 16px;
}

.filter-more-link:hover {
    color: var(--color-primary-hover);
    border-bottom-color: var(--color-primary-hover);
}

.filter-form {
    width: 100%;
}

.filter-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    align-items: end;
}

.filter-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 75, 43, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.filter-select:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.filter-select option {
    padding: 8px;
    background: var(--color-background-lighter);
    color: #fff;
}

.filter-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transition: all 0.3s ease;
}

.filter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.filter-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 75, 43, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.filter-input:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

/* Ensure number inputs also have dark theme */
.filter-select[type="number"] {
    background-image: none;
    padding-right: 16px;
}

.filter-select[type="number"]::-webkit-inner-spin-button,
.filter-select[type="number"]::-webkit-outer-spin-button {
    filter: invert(1);
    opacity: 0.7;
}

.filter-submit-group {
    display: flex;
    align-items: flex-end;
}

.filter-submit-btn {
    width: 100%;
    padding: 14px 32px;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: inherit;
}

.filter-submit-btn:hover {
    border-color: rgba(255, 75, 43, 0.4);
    color: rgba(255, 75, 43, 0.9);
    background: rgba(255, 75, 43, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 75, 43, 0.15);
}

.filter-submit-btn:active {
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .filter-card {
        padding: 32px 24px;
    }
    
    .filter-inputs {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Motorcycle Hero Video Section */
.motorcycle-hero-video-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--color-background-darker) 0%, var(--color-background-dark) 50%, var(--color-background-darker) 100%);
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.motorcycle-hero-video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 75, 43, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 75, 43, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.motorcycle-hero-video-section > * {
    position: relative;
    z-index: 1;
}

.motorcycle-hero-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
    min-height: 600px;
    direction: rtl;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: var(--color-background-darker);
    position: relative;
}

.motorcycle-hero-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 75, 43, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.motorcycle-hero-left {
    background: linear-gradient(135deg, var(--color-background-light) 0%, var(--color-background-dark) 50%, var(--color-background-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.motorcycle-hero-left::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 75, 43, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.motorcycle-hero-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.motorcycle-hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 550px;
    filter: drop-shadow(0 20px 40px rgba(255, 75, 43, 0.3));
    transition: transform 0.5s ease, filter 0.5s ease;
}

.motorcycle-hero-left:hover .motorcycle-hero-image img {
    transform: scale(1.05) translateY(-10px);
    filter: drop-shadow(0 30px 60px rgba(255, 75, 43, 0.5));
}

.motorcycle-hero-right {
    background: linear-gradient(135deg, var(--color-background-dark) 0%, var(--color-background-darker) 50%, var(--color-background-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 60px;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.motorcycle-hero-right::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(180deg, rgba(255, 75, 43, 0.05) 0%, transparent 50%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.motorcycle-hero-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="smoke" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.03)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.04)"/></pattern></defs><rect width="100" height="100" fill="url(%23smoke)"/></svg>');
    opacity: 0.3;
}

.motorcycle-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.motorcycle-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 40px 0;
    line-height: 1.2;
    letter-spacing: -1px;
    text-shadow: 
        0 0 20px rgba(255, 75, 43, 0.3),
        0 4px 10px rgba(0, 0, 0, 0.5);
    position: relative;
}

.motorcycle-hero-title .highlight {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.motorcycle-hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0.5;
    animation: underlineGlow 2s ease-in-out infinite;
}

@keyframes underlineGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scaleX(0.8);
    }
    50% {
        opacity: 0.7;
        transform: scaleX(1);
    }
}

.motorcycle-hero-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 2;
    margin: 0 0 50px 0;
    max-width: 340px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.motorcycle-hero-btn {
    display: inline-block;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    padding: 18px 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.motorcycle-hero-btn:hover {
    border-color: rgba(255, 75, 43, 0.4);
    color: rgba(255, 75, 43, 0.9);
    background: rgba(255, 75, 43, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 75, 43, 0.15);
}

.motorcycle-hero-btn:active {
    transform: translateY(0);
}

.motorcycle-videos-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    direction: rtl;
}

.motorcycle-video-thumbnail {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    background: var(--color-background-darker);
}

.motorcycle-video-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 75, 43, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.motorcycle-video-thumbnail:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(255, 75, 43, 0.3),
        0 0 0 1px rgba(255, 75, 43, 0.2);
}

.motorcycle-video-thumbnail:hover::before {
    opacity: 1;
}

.motorcycle-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: brightness(0.9) contrast(1.1);
}

.motorcycle-video-thumbnail:hover img {
    transform: scale(1.1);
    filter: brightness(1) contrast(1.2);
}

.video-thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    z-index: 2;
}

.motorcycle-video-thumbnail:hover .video-thumbnail-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.video-play-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 3;
}

.video-play-btn:hover {
    transform: scale(1.15);
}

.video-play-btn:active {
    transform: scale(1.05);
}

.video-play-btn svg {
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.5));
    transition: filter 0.4s ease;
}

.video-play-btn:hover svg {
    filter: drop-shadow(0 6px 20px rgba(255, 75, 43, 0.6));
}

.video-play-btn svg circle {
    transition: fill 0.4s ease;
}

.video-play-btn:hover svg circle {
    fill: rgba(255, 255, 255, 1);
}

.video-play-btn:hover svg path {
    fill: #fff;
    transition: fill 0.4s ease;
}

/* Responsive */
@media (max-width: 1024px) {
    .motorcycle-hero-container {
        grid-template-columns: 1fr;
    }
    
    .motorcycle-hero-left {
        min-height: 400px;
    }
    
    .motorcycle-hero-right {
        padding: 40px 30px;
    }
    
    .motorcycle-hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .motorcycle-hero-video-section {
        padding: 40px 0;
    }
    
    .motorcycle-hero-container {
        padding: 0;
        margin-bottom: 30px;
    }
    
    .motorcycle-hero-left {
        padding: 20px;
        min-height: 250px;
    }
    
    .motorcycle-hero-right {
        padding: 30px 20px;
    }
    
    .motorcycle-hero-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .motorcycle-hero-text {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }
    
    .motorcycle-hero-btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .motorcycle-videos-section {
        grid-template-columns: repeat(3, 1fr); /* Keep 3 columns on mobile but smaller */
        gap: 12px;
        padding: 0 16px;
    }
    
    .motorcycle-filter-section {
        margin-top: -20px;
        padding: 40px 0;
    }
    
    .filter-card {
        padding: 20px;
        border-radius: 12px;
    }
    
    .filter-header {
        flex-direction: column;
        gap: 16px;
    }
    
    .filter-more-link {
        margin-right: 0;
        align-self: flex-start;
    }
    
    .filter-inputs {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .filter-title {
        font-size: 1.4rem;
    }
    
    .filter-icon {
        width: 44px;
        height: 44px;
        font-size: 1.8rem;
    }
    
    .video-play-btn svg {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .motorcycle-videos-section {
        gap: 8px;
    }
    
    .video-play-btn svg {
        width: 32px;
        height: 32px;
    }
}

.section {
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.section-title2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    text-align: center; /* This centers the text */
}

.section-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.section-link:hover {
    text-decoration: underline;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* Products Scroll (Horizontal Scroll for Featured Products) */
.products-scroll {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 24px;
    padding-bottom: 16px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 75, 43, 0.5) rgba(255, 255, 255, 0.1);
}

.products-scroll::-webkit-scrollbar {
    height: 8px;
}

.products-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.products-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 75, 43, 0.5);
    border-radius: 4px;
}

.products-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 75, 43, 0.7);
}

.products-scroll .product-card {
    flex: 0 0 280px;
    min-width: 280px;
    max-width: 280px;
}

.product-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 75, 43, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
    flex: 1;
}

.product-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.03);
    transition: transform 0.3s ease;
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.9rem;
}

.product-placeholder.large {
    height: 400px;
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.badge-new {
    background: var(--color-success);
    color: #fff;
}

.badge-popular {
    background: #ff4b2b;
    color: #fff;
}

.badge-featured {
    background: var(--color-secondary);
    color: #000;
}

.product-info {
    padding: 16px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #fff;
}

.product-specs {
    display: flex;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-secondary);
}

/* Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.category-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 75, 43, 0.3);
}

.category-image {
    width: 100%;
    height: 120px;
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
}

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

.category-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.category-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

/* Main Categories Grid */
.main-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.main-category-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(5, 31, 57, 0.96), rgba(8, 72, 121, 0.78));
    border: 1px solid rgba(89, 172, 255, 0.24);
    border-radius: 18px;
    padding: 0;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.main-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.35);
    border-color: rgba(89, 172, 255, 0.46);
}

.main-category-link {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    text-align: center;
    margin-bottom: 0;
}

.main-category-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.main-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-category-icon {
    width: 100%;
    height: 230px;
    margin: 0;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle at center, rgba(168, 213, 255, 0.28), transparent 58%),
        linear-gradient(145deg, #082b4c 0%, #0b4f84 48%, #06223f 100%);
    color: #fff;
    font-size: 4rem;
}

.main-category-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 22px 24px rgba(0, 0, 0, 0.34));
}

.main-category-name {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
    padding: 22px 24px 8px;
    line-height: 1.65;
}

.main-category-desc {
    margin: 0;
    padding: 0 24px 26px;
    color: rgba(235, 246, 255, 0.86);
    font-size: 0.98rem;
    line-height: 2;
}

.sub-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sub-category-link {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.sub-category-link:hover {
    background: rgba(255, 75, 43, 0.2);
    border-color: rgba(255, 75, 43, 0.5);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.sub-category-link.more-link {
    color: var(--color-primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .main-categories-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .main-category-card {
        padding: 0;
    }

    .main-category-icon {
        height: 210px;
    }
    
    .sub-categories {
        gap: 8px;
    }
    
    .sub-category-link {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}

/* Brands */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.brands-scroll {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 20px;
    padding-bottom: 16px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 75, 43, 0.5) rgba(255, 255, 255, 0.1);
}

.brands-scroll::-webkit-scrollbar {
    height: 8px;
}

.brands-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.brands-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 75, 43, 0.5);
    border-radius: 4px;
}

.brands-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 75, 43, 0.7);
}

.brands-scroll .brand-card {
    flex: 0 0 auto;
    min-width: 180px;
    max-width: 200px;
}

.brand-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.brand-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.05);
}

.brand-logo {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
}

.brand-card-large {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 32px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-card-large:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.05);
}

.brand-name-large {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.brand-description {
    color: var(--color-text-muted);
    margin-top: 12px;
}

.brand-logo-header {
    max-width: 120px;
    margin-bottom: 16px;
}

/* Articles */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.article-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.article-card:hover {
    transform: translateY(-4px);
}

.article-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 20px;
}

.article-type {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 75, 43, 0.2);
    border-radius: 999px;
    font-size: 0.75rem;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.article-type-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 75, 43, 0.2);
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.article-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #fff;
}

.article-summary {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: #777;
}

.article-detail {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 32px;
}

.article-featured-image {
    width: 100%;
    margin-bottom: 32px;
    border-radius: 12px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

/* Page Header */
.page-header {
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 40px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* Products Page */
.products-page {
    padding: 40px 0;
}

.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
}

.products-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.filter-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.filter-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.filter-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-range input {
    flex: 1;
}

.products-content {
    min-height: 400px;
}

.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.products-count {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.sort-form {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Forms */
.form-control {
    width: 100%;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.form-error {
    color: var(--color-error);
    font-size: 0.85rem;
    margin-top: 4px;
}

.filter-form-inline {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.filter-form-inline .form-group {
    margin-bottom: 0;
    flex: 1;
    min-width: 200px;
}

/* Product Detail */
.product-detail-page {
    padding: 40px 0;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.product-images {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.product-main-image {
    width: 100%;
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.product-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-gallery {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.2s;
    cursor: pointer;
}

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

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-breadcrumb {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.product-breadcrumb a {
    color: var(--color-primary);
    text-decoration: none;
}

.product-specs-summary {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.spec-item {
    display: flex;
    gap: 8px;
}

.spec-label {
    color: var(--color-text-muted);
}

.spec-value {
    color: #fff;
    font-weight: 600;
}

.product-price-large {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 24px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-label {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

.product-order-form {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 32px;
}

.product-order-form h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

/* Tabs */
.product-tabs {
    margin-top: 60px;
}

.tabs-nav {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
}

.tab-btn {
    padding: 12px 24px;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.tab-btn:hover {
    color: #fff;
}

.tab-btn.active {
    color: var(--color-primary);
    border-bottom-color: #ff4b2b;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-content-inner {
    padding: 24px 0;
}

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

.specs-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.specs-table td:first-child {
    color: var(--color-text-muted);
    width: 40%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Dealers */
.dealers-list {
    display: grid;
    gap: 20px;
}

.dealer-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.dealer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.dealer-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.dealer-type {
    padding: 4px 12px;
    background: rgba(255, 75, 43, 0.2);
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--color-primary);
}

.dealer-info {
    color: var(--color-text-muted);
}

.dealer-location {
    margin-bottom: 12px;
    line-height: 1.8;
}

.dealer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dealer-contact a {
    color: var(--color-primary);
    text-decoration: none;
}

.dealer-mini {
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 8px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.service-card h3 {
    margin: 0 0 12px 0;
    font-size: 1.2rem;
}

.service-card p {
    color: var(--color-text-muted);
    margin: 0;
}

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form-section,
.contact-info-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-info {
    margin-bottom: 32px;
}

.info-item {
    margin-bottom: 20px;
}

.info-item strong {
    display: block;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.nearby-dealers {
    margin-top: 24px;
}

/* About, Warranty */
.about-content,
.warranty-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-content h2,
.warranty-content h2 {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 16px;
}

.about-content h3,
.warranty-content h3 {
    font-size: 1.5rem;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.about-content ul,
.warranty-content ul {
    padding-right: 24px;
}

.about-content li,
.warranty-content li {
    margin-bottom: 8px;
}

.warranty-actions {
    margin-top: 32px;
    display: flex;
    gap: 12px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination-link {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    transition: all 0.2s;
}

.pagination-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 75, 43, 0.3);
}

.pagination-link.active {
    background: #ff4b2b;
    border-color: var(--color-primary);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-muted);
}

.empty-state p {
    font-size: 1.1rem;
    margin-bottom: 24px;
}

/* Header Enhancements */
.header-tagline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.tagline-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.tagline-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.header-contact {
    display: flex;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 6px;
}

.contact-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.contact-icon {
    font-size: 1.1rem;
}

/* Back Button */
.btn-back-page {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.btn-back-page:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .btn-back-page {
        width: 32px;
        height: 32px;
        margin-left: 10px;
    }
    
    .btn-back-page svg {
        width: 16px;
        height: 16px;
    }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 75, 43, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-primary-hover);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 75, 43, 0.6);
}

/* Footer */
.site-footer {
    margin-top: 60px;
    padding: 40px 0 16px;
    background: var(--color-background-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    font-size: 0.9rem;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo-image {
    height: 60px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: 
        brightness(1.1) 
        contrast(1.1) 
        saturate(1.2)
        drop-shadow(0 2px 4px rgba(255, 75, 43, 0.2));
    transition: all 0.3s ease;
}

.footer-logo:hover .footer-logo-image {
    filter: 
        brightness(1.2) 
        contrast(1.15) 
        saturate(1.3)
        drop-shadow(0 0 12px rgba(255, 75, 43, 0.6));
    transform: scale(1.05);
}

.footer-col h4 {
    margin-top: 0;
    margin-bottom: 16px;
    color: #fff;
}

.footer-col p {
    color: var(--color-text-muted);
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 24px;
    padding-top: 12px;
    font-size: 0.8rem;
    color: #777;
    text-align: center;
}

/* Cart Icon in Header */
.cart-icon-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    text-decoration: none;
    color: #fff;
    font-size: 1.5rem;
    margin-left: 12px;
    transition: transform 0.2s;
}

.cart-icon-link:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -4px;
    left: -4px;
    background: #ff4b2b;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 999px;
    min-width: 18px;
    text-align: center;
    line-height: 1.4;
}

.cart-icon-small {
    margin-left: 8px;
}

/* Cart Page */
.cart-page {
    padding: 40px 0;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.cart-items h2,
.cart-summary h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255, 75, 43, 0.3);
}

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr 150px 120px 50px;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 16px;
    align-items: center;
}

.cart-item-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
}

.cart-item-info h3 a {
    color: #fff;
    text-decoration: none;
}

.cart-item-info h3 a:hover {
    color: var(--color-primary);
}

.cart-item-specs {
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.cart-item-price {
    font-size: 1rem;
    color: var(--color-secondary);
    font-weight: 600;
}

.cart-item-quantity {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-quantity label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.quantity-input {
    width: 80px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    text-align: center;
}

.cart-item-total {
    text-align: left;
}

.item-total-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove {
    width: 32px;
    height: 32px;
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.4);
    border-radius: 50%;
    color: var(--color-error);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove:hover {
    background: rgba(244, 67, 54, 0.3);
    transform: scale(1.1);
}

.cart-summary {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-item:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 75, 43, 0.3);
}

.total-price {
    font-size: 1.5rem;
    color: var(--color-secondary);
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.cart-note {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart-icon {
    font-size: 5rem;
    margin-bottom: 24px;
}

.empty-cart h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.empty-cart p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.product-add-to-cart {
    margin: 24px 0;
}

.add-to-cart-form {
    margin: 0;
}

.add-to-cart-form .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 75, 43, 0.2);
}

.add-to-cart-form .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.add-to-cart-form .btn:hover::before {
    width: 300px;
    height: 300px;
}

.add-to-cart-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 75, 43, 0.4);
}

.add-to-cart-form .btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 75, 43, 0.3);
}

.cart-icon-small {
    display: inline-block;
    transition: transform 0.3s ease;
}

.add-to-cart-form .btn:hover .cart-icon-small {
    transform: scale(1.2) rotate(-10deg);
}

/* Product Card Add to Cart Button */
.product-card-actions {
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
    margin-top: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:hover .product-card-actions {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card-add-btn {
    width: 100%;
    padding: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product-card-add-btn:hover {
    border-color: rgba(255, 75, 43, 0.4);
    color: rgba(255, 75, 43, 0.9);
    background: rgba(255, 75, 43, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 75, 43, 0.15);
}

.product-card-add-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(255, 75, 43, 0.2);
}

.product-card-add-btn span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.product-card-add-btn:hover span {
    transform: scale(1.15) rotate(-5deg);
}

/* Responsive */
@media (max-width: 1024px) {
    .products-layout {
        grid-template-columns: 240px 1fr;
    }
    
    .product-detail-layout {
        grid-template-columns: 1fr;
    }
    
    .product-images {
        position: static;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }
    
    .hero-section {
        min-height: 500px;
        padding: 80px 0;
        cursor: default;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .orb-1,
    .orb-2,
    .orb-3 {
        width: 250px;
        height: 250px;
        filter: blur(60px);
    }
    
    .hero-mouse-light {
        display: none;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .products-layout {
        grid-template-columns: 1fr;
    }
    
    .products-sidebar {
        position: static;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
    }
    
    .products-scroll .product-card {
        flex: 0 0 250px;
        min-width: 250px;
        max-width: 250px;
        min-height: 380px;
    }
    
    .product-card {
        min-height: 380px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .brands-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .products-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .cart-layout {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        grid-template-columns: 100px 1fr;
        gap: 16px;
    }
    
    .cart-item-quantity,
    .cart-item-total,
    .cart-item-actions {
        grid-column: 1 / -1;
    }
    
    .cart-item-quantity {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }
    
    .cart-summary {
        position: static;
    }
}

/* Auth Pages */
.auth-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 60px 0;
    font-family: var(--site-font, 'Peyda', 'Tahoma', 'Arial', sans-serif);
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0;
    backdrop-filter: blur(10px);
    overflow: hidden;
    font-family: var(--site-font, 'Peyda', 'Tahoma', 'Arial', sans-serif);
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.auth-tab {
    flex: 1;
    padding: 16px 24px;
    background: transparent;
    border: none;
    color: #999;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--site-font, 'Peyda', 'Tahoma', 'Arial', sans-serif);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.auth-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.auth-tab.active {
    color: var(--color-primary);
    background: rgba(255, 75, 43, 0.1);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(135deg, #ff4b2b, #ffca28);
}

.auth-tab-content {
    display: none;
    padding: 40px;
}

.auth-tab-content.active {
    display: block;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
    padding-top: 0;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ff4b2b, #ffca28);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--site-font, 'Peyda', 'Tahoma', 'Arial', sans-serif);
}

.auth-subtitle {
    color: #ccc;
    font-size: 0.95rem;
    font-family: var(--site-font, 'Peyda', 'Tahoma', 'Arial', sans-serif);
}

.auth-form {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group .form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-family: var(--site-font, 'Peyda', 'Tahoma', 'Arial', sans-serif);
    transition: all 0.3s ease;
}

.form-group .form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 75, 43, 0.1);
}

.form-error {
    margin-top: 6px;
    color: var(--color-primary);
    font-size: 0.85rem;
}

.form-error span {
    display: block;
}

.form-help {
    display: block;
    margin-top: 6px;
    color: #999;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--site-font, 'Peyda', 'Tahoma', 'Arial', sans-serif);
    margin-top: 8px;
}

.auth-footer {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-footer p {
    color: #ccc;
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: var(--color-secondary);
}

/* Header Auth Links */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-auth {
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ff4b2b, #ffca28);
    color: #050608;
    border: none;
    display: inline-block;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 75, 43, 0.3);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-name {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-logout {
    padding: 8px 16px;
    background: rgba(255, 75, 43, 0.2);
    color: var(--color-primary);
    border: 1px solid rgba(255, 75, 43, 0.3);
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: rgba(255, 75, 43, 0.3);
    border-color: rgba(255, 75, 43, 0.5);
}

@media (max-width: 768px) {
    .auth-container {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .btn-auth {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .auth-tab-content {
        padding: 32px 24px;
    }
    
    .user-menu {
        flex-direction: column;
        gap: 8px;
    }
}

/* Profile Pages */
.profile-page {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

.profile-header {
    margin-bottom: 32px;
}

.profile-nav {
    display: flex;
    gap: 8px;
    margin-top: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-nav-item {
    padding: 12px 24px;
    text-decoration: none;
    color: #999;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.profile-nav-item:hover {
    color: #fff;
}

.profile-nav-item.active {
    color: var(--color-primary);
    border-bottom-color: #ff4b2b;
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
}

.profile-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
}

.profile-section.full-width {
    grid-column: 1 / -1;
}

.form-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.avatar-preview {
    margin-bottom: 16px;
}

.avatar-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 75, 43, 0.3);
}

.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profile-widget {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #fff;
}

.address-list-mini,
.order-list-mini {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.address-list-mini li,
.order-list-mini li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.address-list-mini li:last-child,
.order-list-mini li:last-child {
    border-bottom: none;
}

.order-list-mini li a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.order-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 8px;
}

.status-pending {
    background: rgba(255, 202, 40, 0.2);
    color: var(--color-secondary);
}

.status-confirmed {
    background: rgba(76, 175, 80, 0.2);
    color: var(--color-success);
}

.status-processing {
    background: rgba(33, 150, 243, 0.2);
    color: #2196f3;
}

.status-shipped {
    background: rgba(156, 39, 176, 0.2);
    color: #9c27b0;
}

.status-delivered {
    background: rgba(76, 175, 80, 0.3);
    color: var(--color-success);
}

.status-cancelled {
    background: rgba(244, 67, 54, 0.2);
    color: var(--color-error);
}

.order-date {
    display: block;
    font-size: 0.85rem;
    color: #999;
    margin-top: 4px;
}

/* Address Cards */
.addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.address-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.address-card:hover {
    border-color: rgba(255, 75, 43, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.address-card.default {
    border-color: rgba(255, 75, 43, 0.5);
    background: rgba(255, 75, 43, 0.05);
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.address-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

.address-badge {
    padding: 4px 12px;
    background: rgba(255, 75, 43, 0.2);
    color: var(--color-primary);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.address-text {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 8px;
}

.address-meta {
    color: #999;
    font-size: 0.9rem;
    margin: 4px 0;
}

.address-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.85rem;
}

.btn-danger {
    background: rgba(244, 67, 54, 0.2);
    color: var(--color-error);
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.btn-danger:hover {
    background: rgba(244, 67, 54, 0.3);
    border-color: rgba(244, 67, 54, 0.5);
}

.inline-form {
    display: inline;
}

/* Order Cards */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.order-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.order-card:hover {
    border-color: rgba(255, 75, 43, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.order-info {
    flex: 1;
}

.order-number {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #fff;
}

.order-body {
    margin-bottom: 16px;
}

.order-items-preview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ccc;
}

.order-total {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
}

.order-actions {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.status-badge {
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Order Detail */
.order-detail-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
}

.order-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-detail-header h2 {
    margin: 0 0 8px 0;
    color: #fff;
}

.order-section {
    margin-bottom: 32px;
}

.order-section .section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #fff;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.info-grid div {
    color: #ccc;
}

.order-items-table {
    overflow-x: auto;
}

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

.order-items-table th,
.order-items-table td {
    padding: 12px;
    text-align: right;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-items-table th {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
    color: #fff;
}

.order-items-table tfoot td {
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
}

.order-items-table a {
    color: var(--color-primary);
    text-decoration: none;
}

.order-items-table a:hover {
    text-decoration: underline;
}

.delete-confirm {
    text-align: center;
    padding: 40px;
}

.delete-confirm h2 {
    margin-bottom: 24px;
    color: #fff;
}

.address-preview {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
    text-align: right;
}

.address-preview h3 {
    color: #fff;
    margin-bottom: 12px;
}

.address-preview p {
    color: #ccc;
    margin: 8px 0;
}

.delete-form {
    margin-top: 32px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--color-text-secondary);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.user-name {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.user-name:hover {
    color: var(--color-primary);
}

/* Checkout Page */
.checkout-page {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    margin-top: 32px;
}

.checkout-form-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
}

.checkout-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.checkout-section .section-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.payment-method-card {
    display: block;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.payment-method-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-method-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 75, 43, 0.3);
}

.payment-method-card.active {
    background: rgba(255, 75, 43, 0.1);
    border-color: rgba(255, 75, 43, 0.5);
    box-shadow: 0 4px 12px rgba(255, 75, 43, 0.2);
}

.payment-method-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.payment-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.payment-info h3 {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.payment-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.checkout-summary {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.summary-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
}

.summary-card h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: #fff;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-items {
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-item:last-child {
    border-bottom: none;
}

.item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.item-info strong {
    font-size: 0.9rem;
    color: #fff;
}

.item-info span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.item-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    margin-top: 16px;
}

.total-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.total-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
}

.checkout-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 8px;
}

.payment-cash {
    background: rgba(76, 175, 80, 0.2);
    color: var(--color-success);
}

.payment-installment {
    background: rgba(255, 202, 40, 0.2);
    color: var(--color-secondary);
}

@media (max-width: 1024px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    
    .checkout-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .payment-methods {
        grid-template-columns: 1fr;
    }

    .checkout-actions {
        flex-direction: column;
    }

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

    .profile-content {
        grid-template-columns: 1fr;
    }
    
    .profile-nav {
        flex-wrap: wrap;
    }
    
    .profile-nav-item {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .addresses-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .order-items-table {
        font-size: 0.85rem;
    }
    
    .order-items-table th,
    .order-items-table td {
        padding: 8px;
    }
}

/* Motorcycle Parts Categories Section */
.parts-categories-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

.parts-categories-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    margin-top: 48px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.parts-category-card {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: 1;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.parts-category-card:first-child {
    grid-column: 1;
    grid-row: 1;
}

.parts-category-card:nth-child(2) {
    grid-column: 3;
    grid-row: 1;
}

.parts-category-card:nth-child(3) {
    grid-column: 2;
    grid-row: 1 / 3;
}

.parts-category-card:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
}

.parts-category-card:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
}

.parts-category-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.parts-category-image {
    width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 250px;
}

.parts-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.parts-category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
    transition: background 0.3s ease;
}

.parts-category-card:hover .parts-category-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5));
}

.parts-category-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    font-family: var(--site-font, 'Peyda', 'Tahoma', 'Arial', sans-serif);
}

/* Specific category backgrounds - Dark smoky backgrounds like the image */
.parts-category-accessories .parts-category-image {
    background-image: 
        linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)),
        url('../images/accessories-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.parts-category-light .parts-category-image {
    background-image: 
        linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)),
        url('../images/light-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.parts-category-engine {
    aspect-ratio: auto;
    min-height: 500px;
}

.parts-category-engine .parts-category-image {
    background-image: 
        linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)),
        url('../images/engine-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.parts-category-suspension .parts-category-image {
    background-image: 
        linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)),
        url('../images/suspension-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.parts-category-wheels .parts-category-image {
    background-image: 
        linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)),
        url('../images/wheels-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Remove icons - using only background images */

/* Featured Products with Tabs Section */
.featured-products-tabs {
    padding: 80px 0;
    background: #0a0b0d;
}

.featured-products-tabs .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.featured-products-tabs .section-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-weight: 500;
}

.featured-products-tabs .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px 0;
}

.featured-products-tabs .section-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

.products-tabs {
    width: 100%;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0;
}

.tab-btn {
    background: none;
    border: none;
    padding: 16px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: inherit;
}

.tab-btn:hover {
    color: rgba(255, 255, 255, 0.9);
}

.tab-btn.active {
    color: var(--color-primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
}

.tab-content {
    position: relative;
    min-height: 400px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-category {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 8px 0 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-viewed {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.no-products {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .featured-products-tabs .section-title {
        font-size: 2rem;
    }
    
    .tab-buttons {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .tab-btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 1024px) {
    .parts-categories-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
    }
    
    .parts-category-card:first-child {
        grid-column: 1;
        grid-row: 1;
    }
    
    .parts-category-card:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }
    
    .parts-category-card:nth-child(3) {
        grid-column: 1 / 3;
        grid-row: 2;
        min-height: 300px;
    }
    
    .parts-category-card:nth-child(4) {
        grid-column: 1;
        grid-row: 3;
    }
    
    .parts-category-card:nth-child(5) {
        grid-column: 2;
        grid-row: 3;
    }
}

@media (max-width: 768px) {
    .parts-categories-section {
        padding: 60px 0;
    }
    
    .parts-categories-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 16px;
    }
    
    .parts-category-card:first-child,
    .parts-category-card:nth-child(2),
    .parts-category-card:nth-child(3),
    .parts-category-card:nth-child(4),
    .parts-category-card:nth-child(5) {
        grid-column: 1;
        grid-row: auto;
    }
    
    .parts-category-engine {
        min-height: 300px;
    }
    
    .parts-category-label {
        font-size: 1rem;
        bottom: 16px;
        left: 16px;
    }
}

/* Public Shell Redesign */
body.nav-open {
    overflow: hidden;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1200;
    padding: 12px 0 0;
    background:
        linear-gradient(180deg, rgba(5, 7, 12, 0.84) 0%, rgba(5, 7, 12, 0.18) 100%);
    border-bottom: none;
    backdrop-filter: none;
    transition: padding 0.28s ease, background 0.28s ease;
}

.site-header.header-shrunk {
    padding-top: 8px;
    background:
        linear-gradient(180deg, rgba(4, 6, 10, 0.96) 0%, rgba(4, 6, 10, 0.28) 100%);
    box-shadow: none;
}

.header-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 7, 11, 0.62);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

body.nav-open .header-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.header-shell {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(255, 116, 63, 0.18), transparent 26%),
        radial-gradient(circle at top left, rgba(88, 131, 255, 0.14), transparent 24%),
        linear-gradient(145deg, rgba(8, 12, 20, 0.92) 0%, rgba(10, 15, 24, 0.88) 48%, rgba(12, 18, 29, 0.94) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 22px 60px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(22px);
    transition: border-radius 0.28s ease, box-shadow 0.28s ease;
}

.header-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent 20%, transparent 80%, rgba(255, 255, 255, 0.04)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 36%);
    pointer-events: none;
}

.site-header.header-shrunk .header-shell {
    border-radius: 24px;
    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.header-top {
    position: relative;
    z-index: 1;
    max-height: 72px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition:
        max-height 0.28s ease,
        opacity 0.28s ease,
        border-color 0.28s ease;
}

.site-header.header-shrunk .header-top {
    max-height: 0;
    opacity: 0;
    border-color: transparent;
}

.header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 24px;
}

.header-presence {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.header-presence-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    white-space: nowrap;
}

.header-presence-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    box-shadow: 0 0 0 6px rgba(255, 106, 52, 0.12);
}

.header-presence-copy {
    color: rgba(224, 230, 244, 0.76);
    font-size: 0.84rem;
    line-height: 1.85;
}

.header-quick-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(239, 243, 250, 0.82);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.contact-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-1px);
}

.header-main {
    position: relative;
    z-index: 2;
}

.header-main-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 18px 24px 22px;
    transition: padding 0.28s ease;
}

.site-header.header-shrunk .header-main-inner {
    padding: 14px 20px 16px;
}

.site-header.header-shrunk .logo-image {
    width: 58px;
    height: 58px;
    padding: 7px;
    border-radius: 20px;
}

.site-header.header-shrunk .logo-subtitle {
    display: block;
    opacity: 0.86;
}

.header-brand-group {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.btn-back-page {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-back-page:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.16);
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.logo:hover {
    opacity: 1;
}

.logo-image {
    width: 66px;
    height: 66px;
    max-width: none;
    padding: 8px;
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    filter:
        brightness(1.08)
        contrast(1.1)
        saturate(1.15)
        drop-shadow(0 8px 18px rgba(255, 106, 52, 0.16));
}

.logo:hover .logo-image {
    transform: translateY(-2px) scale(1.02);
    filter:
        brightness(1.12)
        contrast(1.14)
        saturate(1.2)
        drop-shadow(0 10px 22px rgba(255, 106, 52, 0.22));
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    max-width: min(38vw, 390px);
}

.logo-title {
    color: #f7f9fd;
    font-size: 1.12rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo-subtitle {
    color: rgba(216, 223, 238, 0.7);
    font-size: 0.83rem;
    line-height: 1.7;
    max-width: 32ch;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.main-nav {
    min-width: 0;
}

.main-nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 15px;
    border-radius: 999px;
    color: rgba(223, 229, 242, 0.78);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.main-nav a::after {
    display: none;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

.main-nav a.is-active {
    background: linear-gradient(135deg, rgba(255, 106, 52, 0.24), rgba(247, 194, 95, 0.16));
    border-color: rgba(255, 166, 77, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: nowrap;
    min-width: max-content;
}

.header-link-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(255, 106, 52, 0.88), rgba(255, 146, 76, 0.88));
    box-shadow: 0 14px 24px rgba(255, 106, 52, 0.22);
}

button.header-link-chip {
    border: 0;
    cursor: pointer;
    font: inherit;
}

button.header-link-chip[hidden] {
    display: none !important;
}

.site-header.header-shrunk .main-nav a {
    min-height: 40px;
    padding: 10px 13px;
    font-size: 0.84rem;
}

.btn-auth,
.btn-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 800;
}

.btn-auth {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-auth:hover {
    background: rgba(255, 255, 255, 0.12);
}

.user-menu {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px 6px 6px;
    min-width: 0;
    max-width: 100%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.user-name {
    color: #fff;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    padding: 0 10px;
    max-width: 13ch;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-logout {
    background: rgba(255, 106, 52, 0.14);
    border: 1px solid rgba(255, 106, 52, 0.18);
    color: #ffb395;
}

.btn-logout:hover {
    background: rgba(255, 106, 52, 0.18);
    color: #ffd4c4;
}

.cart-icon-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-left: 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    font-size: 1.3rem;
}

.cart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.cart-icon-svg {
    width: 22px;
    height: 22px;
}

.site-header.header-shrunk .header-link-chip,
.site-header.header-shrunk .btn-auth,
.site-header.header-shrunk .btn-logout {
    min-height: 40px;
    padding: 9px 14px;
    font-size: 0.83rem;
}

.site-header.header-shrunk .user-menu {
    padding: 4px 6px 4px 4px;
}

.site-header.header-shrunk .cart-icon-link {
    width: 44px;
    height: 44px;
}

.site-header.header-shrunk .cart-icon-svg {
    width: 20px;
    height: 20px;
}

.header-link-chip,
.btn-auth,
.btn-logout,
.cart-icon-link {
    flex-shrink: 0;
}

.cart-count {
    position: absolute;
    top: -4px;
    left: -4px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #111;
    font-size: 0.72rem;
    font-weight: 900;
}

.nav-toggle,
.nav-close {
    display: none;
}

.mobile-nav-header,
.mobile-nav-footer {
    display: none;
}

.site-footer {
    position: relative;
    margin-top: 96px;
    padding: 0 0 22px;
    background:
        radial-gradient(circle at top right, rgba(255, 106, 52, 0.12), transparent 26%),
        radial-gradient(circle at top left, rgba(88, 131, 255, 0.12), transparent 22%),
        linear-gradient(180deg, #060a10 0%, #081019 52%, #05080d 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 86px 86px;
    opacity: 0.1;
    pointer-events: none;
}

.site-footer > .container {
    position: relative;
    z-index: 1;
}

.footer-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto;
    gap: 24px;
    align-items: start;
    padding: 34px;
    margin-top: 34px;
    margin-bottom: 24px;
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
        linear-gradient(180deg, rgba(8, 13, 21, 0.9), rgba(8, 13, 21, 0.82));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
}

.footer-overline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffd4b6;
    font-size: 0.76rem;
    font-weight: 800;
}

.footer-overline::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.footer-showcase-copy h2 {
    margin: 0 0 14px;
    color: #f7f9fd;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.2;
}

.footer-showcase-copy p {
    margin: 0;
    color: rgba(223, 229, 242, 0.76);
    font-size: 0.98rem;
    line-height: 1.95;
}

.footer-showcase-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    min-width: 220px;
}

.footer-showcase-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
}

.footer-showcase-actions .btn-primary {
    background: linear-gradient(135deg, #ff6a34, #ff9a56);
    color: #fff;
    border: none;
    box-shadow: 0 16px 28px rgba(255, 106, 52, 0.22);
}

.footer-showcase-actions .btn-outline {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
}

.footer-highlight-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.footer-highlight-card {
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-highlight-card span {
    display: block;
    color: rgba(223, 229, 242, 0.66);
    font-size: 0.8rem;
    font-weight: 700;
}

.footer-highlight-card strong {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: 1.18rem;
    font-weight: 900;
}

.footer-widgets {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 0;
    font-size: 0.92rem;
}

.footer-col {
    padding: 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.footer-col-brand {
    background:
        radial-gradient(circle at top right, rgba(255, 106, 52, 0.12), transparent 26%),
        rgba(255, 255, 255, 0.05);
}

.footer-logo {
    margin-bottom: 18px;
}

.footer-logo-image {
    width: 84px;
    height: 84px;
    max-width: none;
    padding: 10px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
}

.footer-col p {
    margin: 0 0 14px;
    color: rgba(220, 227, 241, 0.72);
    line-height: 1.95;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.footer-col li {
    color: rgba(220, 227, 241, 0.72);
    line-height: 1.85;
}

.footer-col a {
    color: rgba(238, 242, 250, 0.82);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
    padding: 18px 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    color: rgba(219, 226, 239, 0.62);
}

.footer-bottom p {
    margin: 0;
}

.designer-credit {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    color: rgba(219, 226, 239, 0.68);
    font-size: 0.76rem;
    font-weight: 650;
    line-height: 1.5;
    white-space: nowrap;
}

.footer-designer-credit {
    margin-top: 4px;
    width: fit-content;
    max-width: 100%;
    white-space: normal;
}

body.storefront-main .logo-image,
body.storefront-main .footer-logo-image {
    background: #fff !important;
    border-color: rgba(255, 255, 255, 0.92) !important;
    box-shadow:
        0 14px 28px rgba(0, 15, 35, 0.22),
        inset 0 0 0 1px rgba(0, 92, 185, 0.08) !important;
    filter: none !important;
}

body.storefront-main .logo:hover .logo-image {
    filter: none !important;
    box-shadow:
        0 18px 34px rgba(0, 15, 35, 0.28),
        inset 0 0 0 1px rgba(0, 92, 185, 0.12) !important;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    max-width: min(100%, 560px);
}

.footer-bottom-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 92, 185, 0.46);
    background:
        linear-gradient(135deg, rgba(0, 92, 185, 0.24), rgba(0, 63, 128, 0.16)),
        rgba(255, 255, 255, 0.03);
    color: rgba(241, 246, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.45;
    white-space: nowrap;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-bottom-links a:hover {
    color: #fff;
    border-color: rgba(127, 183, 255, 0.62);
    background:
        linear-gradient(135deg, rgba(0, 92, 185, 0.46), rgba(0, 63, 128, 0.32)),
        rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

@media (max-width: 1400px) {
    .header-main-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 16px;
    }

    .main-nav {
        grid-column: 1 / -1;
        order: 3;
    }

    .main-nav ul {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }

    .main-nav a {
        padding: 10px 13px;
        font-size: 0.84rem;
    }

    .logo-text {
        max-width: min(44vw, 320px);
    }

    .logo-subtitle {
        max-width: 26ch;
    }

    .header-actions {
        gap: 8px;
    }

    .header-link-chip,
    .btn-auth,
    .btn-logout {
        padding: 10px 14px;
        font-size: 0.83rem;
    }

    .cart-icon-link {
        width: 46px;
        height: 46px;
    }
}

@media (max-width: 1180px) {
    .header-main-inner {
        grid-template-columns: auto auto;
    }

    .main-nav {
        grid-column: 1 / -1;
        order: 3;
    }

    .main-nav ul {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .footer-showcase,
    .footer-widgets {
        grid-template-columns: 1fr 1fr;
    }

    .footer-showcase-actions,
    .footer-col-brand {
        grid-column: span 2;
    }
}

@media (max-width: 880px) {
    .site-header {
        padding-top: 10px;
    }

    .header-top-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-presence {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-main-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 16px 18px 18px;
    }

    .header-actions {
        gap: 8px;
    }

    .header-link-chip,
    .btn-auth,
    .user-menu {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
        width: 46px;
        height: 46px;
        padding: 0;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.1);
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    .nav-toggle span {
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: #fff;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .main-nav {
        display: block;
        position: fixed;
        top: 12px;
        right: 12px;
        bottom: 12px;
        width: min(340px, calc(100vw - 24px));
        padding: 22px;
        border-radius: 28px;
        background:
            radial-gradient(circle at top right, rgba(255, 106, 52, 0.16), transparent 26%),
            linear-gradient(180deg, rgba(8, 12, 20, 0.98), rgba(10, 15, 24, 0.98));
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
        transform: translateX(110%);
        transition: transform 0.28s ease;
        z-index: 1300;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .mobile-nav-header,
    .mobile-nav-footer {
        display: block;
    }

    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding-bottom: 18px;
        margin-bottom: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

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

    .mobile-nav-brand strong {
        color: #fff;
        font-size: 1rem;
    }

    .mobile-nav-brand span,
    .mobile-nav-footer p {
        margin: 0;
        color: rgba(219, 226, 239, 0.68);
        font-size: 0.82rem;
        line-height: 1.8;
    }

    .nav-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        padding: 0;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.06);
        color: #fff;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .main-nav a {
        justify-content: flex-start;
        min-height: 48px;
        padding: 12px 16px;
    }

    .mobile-nav-footer {
        margin-top: 18px;
        padding-top: 18px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .mobile-nav-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 48px;
        margin-bottom: 12px;
        border-radius: 16px;
        background: linear-gradient(135deg, #ff6a34, #ff9954);
        color: #fff !important;
        font-weight: 800;
    }

    .footer-showcase,
    .footer-widgets,
    .footer-highlight-grid {
        grid-template-columns: 1fr;
    }

    .footer-showcase-actions,
    .footer-col-brand {
        grid-column: auto;
    }
}

@media (max-width: 680px) {
    .site-header {
        padding-top: 8px;
    }

    .container {
        padding: 0 14px;
    }

    .header-shell {
        border-radius: 24px;
    }

    .header-top-inner,
    .header-main-inner {
        padding-right: 16px;
        padding-left: 16px;
    }

    .logo-image {
        width: 56px;
        height: 56px;
        border-radius: 18px;
    }

    .logo-text {
        display: flex;
    }

    .logo-subtitle,
    .header-presence-copy {
        display: none;
    }

    .footer-showcase {
        padding: 24px;
    }

    .footer-col {
        padding: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom-links {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    .footer-bottom-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .footer-bottom-links a {
        width: 100%;
        min-height: 40px;
        white-space: normal;
        text-align: center;
    }
}

@media (max-width: 380px) {
    .footer-bottom-links {
        grid-template-columns: 1fr;
    }
}

/* === 2026-03-27: Pepsy Orange Theme + Header Overlap Fix === */
:root {
    --theme-blue-900: #003f8f;
    --theme-blue-700: #005cb9;
    --theme-blue-500: #1f7fe0;
    --theme-blue-300: #7fb7ff;
    --theme-orange-500: #ff6a00;
    --theme-orange-400: #ff8f1f;
}

body {
    background:
        radial-gradient(circle at 90% 8%, rgba(0, 92, 185, 0.18), transparent 28%),
        radial-gradient(circle at 8% 14%, rgba(0, 63, 128, 0.16), transparent 25%),
        var(--color-background-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid rgba(127, 183, 255, 0.95);
    outline-offset: 2px;
}

.header-link-chip,
.mobile-nav-cta,
.footer-showcase-actions .btn-primary {
    background: linear-gradient(135deg, var(--theme-blue-700), var(--theme-orange-500));
    box-shadow: 0 14px 24px rgba(0, 92, 185, 0.28);
}

.header-link-chip:hover,
.mobile-nav-cta:hover,
.footer-showcase-actions .btn-primary:hover {
    filter: brightness(1.05);
}

.main-nav a.is-active {
    background: linear-gradient(135deg, rgba(0, 92, 185, 0.28), rgba(0, 63, 128, 0.2));
    border-color: rgba(127, 183, 255, 0.34);
}

.footer-overline,
.contact-item,
.footer-highlight-card,
.footer-col {
    border-color: rgba(127, 183, 255, 0.2);
}

.footer-bottom-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(126px, max-content));
    justify-content: flex-end;
    align-items: stretch;
    gap: 10px;
    width: min(100%, 700px);
}

.footer-bottom-links a {
    min-height: 40px;
    white-space: normal;
    text-align: center;
    border-color: rgba(0, 92, 185, 0.5);
    background:
        linear-gradient(135deg, rgba(0, 92, 185, 0.24), rgba(0, 63, 128, 0.16)),
        rgba(255, 255, 255, 0.03);
}

.footer-bottom-links a:hover {
    border-color: rgba(127, 183, 255, 0.62);
    background:
        linear-gradient(135deg, rgba(0, 92, 185, 0.44), rgba(0, 63, 128, 0.28)),
        rgba(255, 255, 255, 0.05);
}

@media (max-width: 1560px) {
    .header-main-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 14px;
    }

    .main-nav {
        grid-column: 1 / -1;
        order: 3;
    }

    .main-nav ul {
        justify-content: flex-start;
        flex-wrap: wrap;
        row-gap: 10px;
    }
}

@media (max-width: 980px) {
    .footer-bottom-links {
        width: 100%;
        justify-content: flex-start;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 460px) {
    .footer-bottom-links {
        grid-template-columns: 1fr;
    }
}

/* === 2026-03-29: final polish requested by user === */
:root {
    --theme-primary-blue: #005cb9;
    --theme-primary-blue-dark: #004a95;
    --theme-primary-blue-light: #2d7fd6;
    --theme-primary-orange: #ff6a00;
}

.header-link-chip,
.mobile-nav-cta,
.footer-showcase-actions .btn-primary,
.btn-primary {
    background: var(--theme-primary-blue);
    border-color: var(--theme-primary-blue);
    color: #fff;
    box-shadow: 0 12px 24px rgba(0, 92, 185, 0.24);
}

.header-link-chip:hover,
.mobile-nav-cta:hover,
.footer-showcase-actions .btn-primary:hover,
.btn-primary:hover {
    background: var(--theme-primary-blue-dark);
    border-color: var(--theme-primary-blue-dark);
    color: #fff;
}

.btn-logout,
.logout-btn {
    background: var(--theme-primary-orange);
    border-color: var(--theme-primary-orange);
    color: #fff;
}

.btn-logout:hover,
.logout-btn:hover {
    background: #d95a00;
    border-color: #d95a00;
    color: #fff;
}

.main-nav a.is-active {
    background: rgba(0, 92, 185, 0.22);
    border-color: rgba(109, 172, 245, 0.42);
}

.footer-bottom-links {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end;
    align-items: stretch;
    gap: 10px;
}

.footer-bottom-links a {
    min-height: 40px;
    white-space: normal;
    text-align: center;
    border-color: rgba(0, 92, 185, 0.46);
    background: rgba(0, 92, 185, 0.14);
}

.footer-bottom-links a:hover {
    border-color: rgba(0, 92, 185, 0.66);
    background: rgba(0, 92, 185, 0.24);
}

@media (max-width: 1700px) {
    .header-main-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 14px;
    }

    .main-nav {
        grid-column: 1 / -1;
        order: 3;
    }

    .main-nav ul {
        justify-content: flex-start;
        flex-wrap: wrap;
        row-gap: 10px;
    }
}

@media (max-width: 980px) {
    .footer-bottom-links {
        justify-content: flex-start;
    }
}

/* === 2026-03-29: darker blue backgrounds (requested) === */
:root {
    --theme-bg-blue-900: #003864;
    --theme-bg-blue-950: #002a54;
    --theme-bg-blue-850: #00457f;
    --theme-bg-blue-800: #00508f;
}

body {
    background:
        radial-gradient(circle at 10% 8%, rgba(92, 176, 255, 0.16), transparent 28%),
        radial-gradient(circle at 88% 16%, rgba(0, 92, 185, 0.22), transparent 32%),
        radial-gradient(circle at 48% 92%, rgba(0, 63, 128, 0.2), transparent 34%),
        linear-gradient(180deg, var(--theme-bg-blue-950) 0%, var(--theme-bg-blue-900) 52%, #002447 100%) !important;
}

.site-header {
    background: rgba(0, 42, 84, 0.88) !important;
}

.site-header.header-shrunk {
    background: rgba(0, 42, 84, 0.96) !important;
}

.header-shell {
    background:
        radial-gradient(circle at 86% -20%, rgba(127, 183, 255, 0.24), transparent 42%),
        radial-gradient(circle at 12% 120%, rgba(0, 63, 128, 0.2), transparent 44%),
        linear-gradient(180deg, rgba(0, 69, 127, 0.9), rgba(0, 56, 100, 0.9)),
        rgba(0, 42, 84, 0.78) !important;
    border-color: rgba(127, 183, 255, 0.28) !important;
}

.site-footer {
    background:
        radial-gradient(circle at 10% 0%, rgba(92, 176, 255, 0.16), transparent 30%),
        radial-gradient(circle at 88% 100%, rgba(0, 63, 128, 0.24), transparent 36%),
        linear-gradient(180deg, rgba(0, 69, 127, 0.84), rgba(0, 42, 84, 0.96)),
        #002447 !important;
}

.footer-showcase,
.footer-col,
.footer-highlight-card {
    background:
        linear-gradient(145deg, rgba(127, 183, 255, 0.1), rgba(0, 63, 128, 0.18)),
        rgba(0, 56, 100, 0.38) !important;
    border-color: rgba(127, 183, 255, 0.24) !important;
}

/* === 2026-03-29: overlap + single-color hard overrides === */
:root {
    --theme-video-blue: #005cb9;
    --theme-video-blue-dark: #004a95;
    --theme-action-orange: #ff6a00;
    --theme-action-orange-dark: #d95a00;
}

.header-main-inner {
    row-gap: 12px;
}

.main-nav ul {
    flex-wrap: wrap;
    row-gap: 10px;
    column-gap: 8px;
}

.main-nav a {
    max-width: 100%;
}

.header-actions {
    flex-wrap: wrap;
    row-gap: 8px;
}

@media (min-width: 981px) {
    body.storefront-motorechi .header-main-inner {
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 14px;
        row-gap: 10px;
    }

    body.storefront-motorechi .main-nav {
        min-width: 0;
    }

    body.storefront-motorechi .main-nav ul {
        justify-content: flex-start;
        flex-wrap: wrap;
        column-gap: 12px;
        row-gap: 8px;
    }

    body.storefront-motorechi .header-actions {
        justify-content: flex-end;
        max-width: 100%;
        column-gap: 8px;
        row-gap: 8px;
    }

    body.storefront-motorechi .header-link-chip {
        white-space: nowrap;
    }
}

.header-link-chip,
.mobile-nav-cta,
.footer-showcase-actions .btn-primary,
.btn-primary {
    background: var(--theme-video-blue) !important;
    border-color: var(--theme-video-blue) !important;
    color: #fff !important;
}

.header-link-chip:hover,
.mobile-nav-cta:hover,
.footer-showcase-actions .btn-primary:hover,
.btn-primary:hover {
    background: var(--theme-video-blue-dark) !important;
    border-color: var(--theme-video-blue-dark) !important;
    color: #fff !important;
}

.btn-logout,
.logout-btn {
    background: var(--theme-action-orange) !important;
    border-color: var(--theme-action-orange) !important;
    color: #fff !important;
}

.btn-logout:hover,
.logout-btn:hover {
    background: var(--theme-action-orange-dark) !important;
    border-color: var(--theme-action-orange-dark) !important;
    color: #fff !important;
}

.footer-bottom-links {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end;
    gap: 10px;
}

.footer-bottom-links a {
    min-width: 118px;
    flex: 0 0 auto;
}

@media (max-width: 980px) {
    .footer-bottom-links {
        justify-content: flex-start;
    }

    .footer-bottom-links a {
        min-width: 0;
        flex: 1 1 calc(50% - 10px);
    }
}

@media (max-width: 520px) {
    .footer-bottom-links a {
        flex-basis: 100%;
    }
}

/* === 2026-03-29: final nav overlap safeguard === */
.header-main-inner {
    align-items: start;
}

.main-nav ul {
    align-items: center;
    row-gap: 10px;
    column-gap: 8px;
}

.main-nav li {
    flex: 0 0 auto;
    min-width: 0;
}

.main-nav a {
    white-space: nowrap;
    line-height: 1.25;
}

@media (max-width: 1700px) {
    .main-nav a {
        padding: 10px 12px;
        font-size: 0.82rem;
    }
}

@media (max-width: 980px) {
    .main-nav a {
        white-space: normal;
    }
}

/* === 2026-04-27: unify internal storefront header with landing header DNA === */
body[class*='storefront-']:not(.page-home) .site-header {
    padding: clamp(10px, 1.15vw, 16px) 0 0;
    background: linear-gradient(180deg, rgba(0, 42, 84, 0.92) 0%, rgba(0, 42, 84, 0.42) 100%) !important;
}

body[class*='storefront-']:not(.page-home) .site-header.header-shrunk {
    padding-top: 8px;
    background: linear-gradient(180deg, rgba(0, 42, 84, 0.98) 0%, rgba(0, 42, 84, 0.56) 100%) !important;
}

body[class*='storefront-']:not(.page-home) .site-header .header-shell {
    border-radius: clamp(22px, 2vw, 30px);
    border: 1px solid rgba(165, 214, 255, 0.2) !important;
    background:
        radial-gradient(circle at 86% -26%, rgba(0, 92, 185, 0.26), transparent 42%),
        radial-gradient(circle at 8% 120%, rgba(255, 106, 52, 0.14), transparent 48%),
        linear-gradient(145deg, rgba(0, 42, 84, 0.9), rgba(0, 69, 127, 0.86)) !important;
    box-shadow:
        0 24px 48px rgba(0, 11, 24, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px) saturate(132%);
}

body[class*='storefront-']:not(.page-home) .site-header .header-top {
    max-height: 0;
    opacity: 0;
    border-color: transparent;
}

body[class*='storefront-']:not(.page-home) .site-header .header-main-inner {
    align-items: center !important;
    column-gap: 14px;
    row-gap: 10px;
    padding: 12px 16px 14px;
}

body[class*='storefront-']:not(.page-home) .site-header .header-brand-group,
body[class*='storefront-']:not(.page-home) .site-header .logo {
    gap: 10px;
}

body[class*='storefront-']:not(.page-home) .site-header .btn-back-page {
    width: 42px;
    height: 42px;
    border-radius: 14px;
}

body[class*='storefront-']:not(.page-home) .site-header .logo-image {
    width: 54px;
    height: 54px;
    padding: 6px;
    border-radius: 16px;
}

body[class*='storefront-']:not(.page-home) .site-header .logo-text {
    max-width: min(30vw, 320px);
}

body[class*='storefront-']:not(.page-home) .site-header .logo-title {
    font-size: 0.96rem;
}

body[class*='storefront-']:not(.page-home) .site-header .logo-subtitle {
    font-size: 0.75rem;
}

body[class*='storefront-']:not(.page-home) .site-header .main-nav ul {
    align-items: center;
    row-gap: 8px;
    column-gap: 8px;
}

body[class*='storefront-']:not(.page-home) .site-header .main-nav a {
    min-height: 40px;
    padding: 9px 14px;
    font-size: 0.82rem;
}

body[class*='storefront-']:not(.page-home) .site-header .header-actions {
    gap: 8px;
}

body[class*='storefront-']:not(.page-home) .site-header .header-link-chip,
body[class*='storefront-']:not(.page-home) .site-header .btn-auth,
body[class*='storefront-']:not(.page-home) .site-header .btn-logout,
body[class*='storefront-']:not(.page-home) .site-header .theme-mode-toggle,
body[class*='storefront-']:not(.page-home) .site-header .cart-icon-link {
    min-height: 40px;
}

body[class*='storefront-']:not(.page-home) .site-header #pwa-install-button {
    display: none !important;
}

body[class*='storefront-']:not(.page-home) .home-header-launcher {
    display: none !important;
}

@media (min-width: 1181px) {
    body[class*='storefront-']:not(.page-home) .site-header .header-main-inner {
        grid-template-columns: minmax(220px, max-content) minmax(0, 1fr) minmax(0, 390px) !important;
    }

    body[class*='storefront-']:not(.page-home) .site-header .main-nav {
        grid-column: auto;
        order: initial;
        min-width: 0;
        overflow: hidden;
    }

    body[class*='storefront-']:not(.page-home) .site-header .main-nav ul {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    body[class*='storefront-']:not(.page-home) .site-header .main-nav ul::-webkit-scrollbar {
        display: none;
    }

    body[class*='storefront-']:not(.page-home) .site-header .header-actions {
        justify-content: flex-end;
        width: 100%;
        min-width: 0;
        max-width: 390px;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    body[class*='storefront-']:not(.page-home) .site-header .header-actions::-webkit-scrollbar {
        display: none;
    }
}

body[class*='storefront-']:not(.page-home) .site-header .header-actions > * {
    flex: 0 0 auto;
}

/* 2026-05-31: compact public header and reliable mobile menu */
.site-header {
    padding: 8px 0 0;
}

.header-top {
    display: none;
}

.header-shell {
    overflow: visible;
    border-radius: 22px;
}

.header-main-inner {
    display: grid;
    grid-template-columns: minmax(210px, auto) minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 62px;
    padding: 8px 12px;
}

.site-header.header-shrunk .header-main-inner {
    padding: 7px 12px;
}

.logo {
    gap: 10px;
}

.logo-image,
.site-header.header-shrunk .logo-image {
    width: 46px;
    height: 46px;
    padding: 5px;
    border-radius: 14px;
}

.logo-text {
    max-width: 220px;
}

.logo-title {
    font-size: .96rem;
}

.logo-subtitle {
    max-width: 22ch;
    font-size: .72rem;
}

.main-nav ul {
    gap: 4px;
    flex-wrap: nowrap;
}

.main-nav a,
.site-header.header-shrunk .main-nav a {
    min-height: 38px;
    padding: 8px 10px;
    font-size: .8rem;
}

.header-actions {
    gap: 6px;
}

.header-link-chip,
.btn-auth,
.btn-logout,
.theme-mode-toggle,
.site-header.header-shrunk .header-link-chip,
.site-header.header-shrunk .btn-auth,
.site-header.header-shrunk .btn-logout {
    min-height: 38px;
    padding: 8px 11px;
    font-size: .78rem;
    white-space: nowrap;
}

.theme-toggle-text {
    display: none;
}

.chip-icon {
    display: none;
}

.cart-icon-link,
.site-header.header-shrunk .cart-icon-link {
    width: 40px;
    height: 40px;
    border-radius: 14px;
}

.cart-icon-svg,
.site-header.header-shrunk .cart-icon-svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 1180px) {
    .header-main-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 8px 10px;
    }

    .main-nav {
        display: block;
        position: fixed;
        top: 76px;
        right: 12px;
        bottom: auto;
        width: min(340px, calc(100vw - 24px));
        max-height: calc(100vh - 92px);
        overflow-y: auto;
        padding: 14px;
        border-radius: 20px;
        background: rgba(8, 12, 20, .98);
        border: 1px solid rgba(255, 255, 255, .1);
        box-shadow: 0 24px 72px rgba(0, 0, 0, .38);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 1300;
        transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
        grid-column: auto;
        order: initial;
    }

    .main-nav.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
    }

    .main-nav a {
        justify-content: flex-start;
        min-height: 42px;
        padding: 10px 12px;
        font-size: .84rem;
    }

    .mobile-nav-header,
    .mobile-nav-footer {
        display: flex;
    }

    .mobile-nav-header {
        justify-content: flex-end;
        padding: 0 0 10px;
        margin: 0 0 8px;
    }

    .mobile-nav-footer {
        display: grid;
        gap: 8px;
        margin-top: 10px;
        padding-top: 10px;
    }

    .nav-toggle {
        display: inline-flex;
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 14px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    .nav-toggle span {
        width: 17px;
        height: 2px;
        border-radius: 999px;
        background: #fff;
        transition: transform .2s ease, opacity .2s ease;
    }

    .header-link-chip,
    .user-menu {
        display: none;
    }
}

@media (max-width: 640px) {
    .site-header {
        padding-top: 6px;
    }

    .header-main-inner {
        min-height: 54px;
        padding: 7px 8px;
    }

    .logo-image {
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }

    .logo-title {
        font-size: .88rem;
    }

    .logo-subtitle {
        display: none;
    }

    .btn-auth,
    .theme-mode-toggle {
        display: none;
    }

    .cart-icon-link,
    .nav-toggle {
        width: 38px;
        height: 38px;
        border-radius: 13px;
    }
}

/* 2026-06-01: prevent desktop header links/actions from being clipped. */
@media (min-width: 1181px) {
    body[class*='storefront-']:not(.page-home) .site-header .header-main-inner {
        grid-template-columns: minmax(188px, max-content) minmax(0, 1fr) auto !important;
        gap: 8px !important;
    }

    body[class*='storefront-']:not(.page-home) .site-header .main-nav {
        min-width: 0 !important;
        overflow: visible !important;
    }

    body[class*='storefront-']:not(.page-home) .site-header .main-nav ul {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 5px !important;
        overflow: visible !important;
        scrollbar-width: auto !important;
    }

    body[class*='storefront-']:not(.page-home) .site-header .main-nav a,
    body[class*='storefront-']:not(.page-home) .site-header.header-shrunk .main-nav a {
        min-height: 34px !important;
        padding: 7px 9px !important;
        border-radius: 11px !important;
        font-size: .76rem !important;
        line-height: 1.35 !important;
        white-space: nowrap !important;
    }

    body[class*='storefront-']:not(.page-home) .site-header .header-actions {
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        flex-wrap: wrap !important;
        justify-content: flex-end !important;
        gap: 5px !important;
        overflow: visible !important;
    }

    body[class*='storefront-']:not(.page-home) .site-header .header-link-chip,
    body[class*='storefront-']:not(.page-home) .site-header .btn-auth,
    body[class*='storefront-']:not(.page-home) .site-header .btn-logout,
    body[class*='storefront-']:not(.page-home) .site-header .theme-mode-toggle {
        min-height: 34px !important;
        padding: 7px 9px !important;
        border-radius: 11px !important;
        font-size: .76rem !important;
        line-height: 1.35 !important;
    }
}

/* 2026-06-07: cleaner single-color mobile header icons. */
@media (max-width: 1180px) {
    .site-header .cart-icon-link,
    .site-header.header-shrunk .cart-icon-link,
    .site-header .nav-toggle,
    .site-header .nav-close,
    .site-header .btn-back-page {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        padding: 0;
        border: 0;
        border-radius: 12px;
        background: transparent;
        box-shadow: none;
        color: rgba(245, 249, 255, .94);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        transition: color .18s ease, background-color .18s ease, transform .18s ease;
    }

    .site-header .cart-icon-link:hover,
    .site-header .cart-icon-link:focus-visible,
    .site-header .nav-toggle:hover,
    .site-header .nav-toggle:focus-visible,
    .site-header .nav-close:hover,
    .site-header .nav-close:focus-visible,
    .site-header .btn-back-page:hover,
    .site-header .btn-back-page:focus-visible {
        background: rgba(255, 255, 255, .08);
        color: #fff;
        transform: translateY(-1px);
        outline: none;
    }

    .site-header .cart-icon-svg,
    .site-header.header-shrunk .cart-icon-svg,
    .site-header .btn-back-page svg {
        width: 23px;
        height: 23px;
        color: currentColor;
    }

    .site-header .cart-icon-svg *,
    .site-header .btn-back-page svg * {
        stroke: currentColor;
        fill: none;
    }

    .site-header .cart-icon-svg circle,
    .site-header .cart-icon-svg [fill='currentColor'] {
        fill: currentColor;
        stroke: none;
    }

    .site-header .nav-toggle {
        gap: 4px;
    }

    .site-header .nav-toggle span {
        width: 20px;
        height: 2.2px;
        border-radius: 999px;
        background: currentColor;
    }

    .site-header .nav-close {
        font-size: 30px;
        font-weight: 300;
    }

    .site-header .cart-count {
        top: 3px;
        right: 3px;
        min-width: 16px;
        height: 16px;
        border: 2px solid rgba(5, 21, 39, .92);
        font-size: .62rem;
    }
}

@media (max-width: 640px) {
    .site-header .cart-icon-link,
    .site-header.header-shrunk .cart-icon-link,
    .site-header .nav-toggle,
    .site-header .nav-close,
    .site-header .btn-back-page {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
    }
}

/* 2026-06-07: final no-shape mobile icon override. */
@media (max-width: 1180px) {
    body .site-header .cart-icon-link,
    body .site-header.header-shrunk .cart-icon-link,
    body .site-header .nav-toggle,
    body .site-header .nav-toggle.active,
    body .site-header .nav-close,
    body .site-header .btn-back-page {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: rgba(245, 249, 255, .96) !important;
    }

    body .site-header .cart-icon-link:hover,
    body .site-header .cart-icon-link:focus-visible,
    body .site-header .nav-toggle:hover,
    body .site-header .nav-toggle:focus-visible,
    body .site-header .nav-toggle.active:hover,
    body .site-header .nav-close:hover,
    body .site-header .nav-close:focus-visible,
    body .site-header .btn-back-page:hover,
    body .site-header .btn-back-page:focus-visible {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        color: #7fb7ff !important;
        transform: translateY(-1px);
    }

    body .site-header .cart-icon-link::before,
    body .site-header .cart-icon-link::after,
    body .site-header .nav-toggle::before,
    body .site-header .nav-toggle::after,
    body .site-header .nav-close::before,
    body .site-header .nav-close::after,
    body .site-header .btn-back-page::before,
    body .site-header .btn-back-page::after {
        display: none !important;
    }
}

@media (max-width: 640px) {
    body .site-header .cart-icon-link,
    body .site-header.header-shrunk .cart-icon-link,
    body .site-header .nav-toggle,
    body .site-header .nav-toggle.active,
    body .site-header .nav-close,
    body .site-header .btn-back-page {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
    }
}

/* 2026-06-07: mobile responsive hardening across public flows and PWA standalone mode. */
@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
        overscroll-behavior-x: none;
    }

    @supports not (overflow-x: clip) {
        html,
        body {
            overflow-x: hidden;
        }
    }

    *,
    *::before,
    *::after {
        min-width: 0;
        box-sizing: border-box;
    }

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

    input,
    select,
    textarea,
    button {
        font-size: 16px;
    }

    .container,
    .section-container,
    .page-container,
    .content-container,
    .dashboard-container,
    .products-container,
    .product-detail-container,
    .auth-container,
    .cart-container,
    .checkout-container,
    .profile-container,
    .faq-container,
    .contact-container {
        width: min(100%, calc(100vw - 24px));
        max-width: calc(100vw - 24px);
        margin-inline: auto;
        padding-inline: 0;
    }

    .site-header {
        width: 100%;
        max-width: 100vw;
        padding-inline: 8px;
    }

    .site-header .container,
    .header-main-inner,
    .header-shell {
        width: 100%;
        max-width: 100%;
    }

    .main-nav {
        max-width: calc(100vw - 24px);
        max-height: calc(100dvh - 118px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-nav.active {
        visibility: visible;
    }

    .main-nav ul {
        width: 100%;
        min-width: 0;
    }

    .main-nav a,
    .mobile-nav-cta,
    .btn,
    .btn-primary,
    .btn-secondary,
    .btn-auth,
    .btn-submit,
    .btn-cancel,
    .add-to-cart-btn,
    .view-product-btn,
    .product-action-btn,
    .hero-cta,
    .cta-button {
        min-height: 44px;
        line-height: 1.55;
        white-space: normal;
        text-align: center;
        align-items: center;
        justify-content: center;
        overflow-wrap: anywhere;
    }

    .form-group,
    .form-row,
    .field-grid,
    .filters-grid,
    .filter-form,
    .auth-form,
    .contact-form,
    .profile-form,
    .checkout-form,
    .request-form {
        grid-template-columns: 1fr !important;
        width: 100%;
        max-width: 100%;
    }

    .form-group input,
    .form-group select,
    .form-group textarea,
    .form-control,
    .input-field,
    .search-input {
        width: 100%;
        max-width: 100%;
        min-height: 48px;
    }

    .product-grid,
    .products-grid,
    .category-grid,
    .brand-grid,
    .related-products-grid,
    .services-grid,
    .cards-grid,
    .dashboard-grid,
    .stats-grid,
    .quick-actions-grid {
        grid-template-columns: 1fr !important;
        width: 100%;
    }

    .product-card,
    .motorcycle-card,
    .category-card,
    .brand-card,
    .service-card,
    .dashboard-card,
    .profile-card,
    .cart-card {
        width: 100%;
        max-width: 100%;
    }

    .product-card img,
    .motorcycle-card img,
    .product-image img,
    .product-gallery img {
        height: auto;
        object-fit: contain;
    }

    .product-card-actions,
    .product-actions,
    .cart-actions,
    .form-actions,
    .checkout-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
    }

    .table-responsive,
    .order-items-table,
    .specs-table-wrapper,
    .dashboard-table-wrapper {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table,
    .admin-table,
    .order-items-table table,
    .specs-table {
        max-width: none;
    }

    .modal,
    .modal-content,
    .popup,
    .popup-content,
    .dialog,
    .chat-widget,
    .ai-chat-panel {
        max-width: calc(100vw - 24px);
        max-height: calc(100dvh - 24px);
    }
}

@media (max-width: 480px) {
    .container,
    .section-container,
    .page-container,
    .content-container,
    .dashboard-container,
    .products-container,
    .product-detail-container,
    .auth-container,
    .cart-container,
    .checkout-container,
    .profile-container,
    .faq-container,
    .contact-container {
        width: min(100%, calc(100vw - 18px));
        max-width: calc(100vw - 18px);
    }

    .main-nav {
        max-width: calc(100vw - 18px);
    }

    .logo-title,
    .page-title,
    .section-title,
    .product-title,
    .card-title {
        overflow-wrap: anywhere;
    }
}

/* Codex 2026-07-03: global semantic Shahin icon placement. */
.product-highlight-card,
.product-price-panel,
.product-price-alt,
.installment-card,
.service-card,
.faq-item,
.page-articles .article-card,
.page-article-detail .article-card {
    position: relative;
}

.product-highlight-card::before,
.product-price-panel::before,
.product-price-alt::before,
.installment-card::before,
.service-card::before,
.faq-item::before,
.page-articles .article-card::before,
.page-article-detail .article-card::before {
    content: "";
    position: absolute;
    top: 16px;
    inset-inline-start: 16px;
    width: 30px;
    height: 30px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.08) var(--shahin-semantic-icon, url('/static/icons/shahin/shahin-motorcycle.svg')) center / 19px 19px no-repeat;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10), 0 10px 22px rgba(0, 0, 0, 0.10);
    pointer-events: none;
    z-index: 2;
}

.product-highlight-card:nth-child(1) { --shahin-semantic-icon: url('/static/icons/shahin/shahin-engine.svg'); }
.product-highlight-card:nth-child(2) { --shahin-semantic-icon: url('/static/icons/shahin/shahin-power.svg'); }
.product-highlight-card:nth-child(3) { --shahin-semantic-icon: url('/static/icons/shahin/shahin-brake.svg'); }
.product-highlight-card:nth-child(4) { --shahin-semantic-icon: url('/static/icons/shahin/shahin-speed.svg'); }
.product-price-panel { --shahin-semantic-icon: url('/static/icons/shahin/shahin-price.svg'); }
.product-price-alt,
.installment-card { --shahin-semantic-icon: url('/static/icons/shahin/shahin-installments.svg'); }
.service-card { --shahin-semantic-icon: url('/static/icons/shahin/shahin-services.svg'); }
.faq-item { --shahin-semantic-icon: url('/static/icons/shahin/shahin-faq.svg'); }
.page-articles .article-card,
.page-article-detail .article-card { --shahin-semantic-icon: url('/static/icons/shahin/shahin-news.svg'); }

.product-highlight-card > span:first-child,
.product-price-panel > span:first-child,
.product-price-alt > span:first-child {
    padding-inline-start: 42px;
}

.site-header a[href="/"],
.site-header a[href*="/products"],
.site-header a[href*="/motorcycles"],
.site-header a[href*="/services"],
.site-header a[href*="/articles"],
.site-header a[href*="/faq"],
.site-header a[href*="/auth"],
.site-header a[href*="/contact"],
.site-footer a[href="/"],
.site-footer a[href*="/products"],
.site-footer a[href*="/motorcycles"],
.site-footer a[href*="/services"],
.site-footer a[href*="/articles"],
.site-footer a[href*="/faq"],
.site-footer a[href*="/auth"],
.site-footer a[href*="/contact"] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.site-header a[href="/"]::before,
.site-footer a[href="/"]::before,
.site-header a[href*="/products"]::before,
.site-header a[href*="/motorcycles"]::before,
.site-footer a[href*="/products"]::before,
.site-footer a[href*="/motorcycles"]::before,
.site-header a[href*="/services"]::before,
.site-footer a[href*="/services"]::before,
.site-header a[href*="/articles"]::before,
.site-footer a[href*="/articles"]::before,
.site-header a[href*="/faq"]::before,
.site-footer a[href*="/faq"]::before,
.site-header a[href*="/auth"]::before,
.site-footer a[href*="/auth"]::before,
.site-header a[href*="/contact"]::before,
.site-footer a[href*="/contact"]::before {
    content: "";
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    background: var(--shahin-nav-icon, url('/static/icons/shahin/shahin-motorcycle.svg')) center / contain no-repeat;
}

.site-header a[href="/"]::before,
.site-footer a[href="/"]::before { --shahin-nav-icon: url('/static/icons/shahin/shahin-home.svg'); }
.site-header a[href*="/products"]::before,
.site-header a[href*="/motorcycles"]::before,
.site-footer a[href*="/products"]::before,
.site-footer a[href*="/motorcycles"]::before { --shahin-nav-icon: url('/static/icons/shahin/shahin-products.svg'); }
.site-header a[href*="/services"]::before,
.site-footer a[href*="/services"]::before { --shahin-nav-icon: url('/static/icons/shahin/shahin-services.svg'); }
.site-header a[href*="/articles"]::before,
.site-footer a[href*="/articles"]::before { --shahin-nav-icon: url('/static/icons/shahin/shahin-news.svg'); }
.site-header a[href*="/faq"]::before,
.site-footer a[href*="/faq"]::before { --shahin-nav-icon: url('/static/icons/shahin/shahin-faq.svg'); }
.site-header a[href*="/auth"]::before,
.site-footer a[href*="/auth"]::before { --shahin-nav-icon: url('/static/icons/shahin/shahin-login.svg'); }
.site-header a[href*="/contact"]::before,
.site-footer a[href*="/contact"]::before { --shahin-nav-icon: url('/static/icons/shahin/shahin-contact.svg'); }

@media (max-width: 640px) {
    .product-highlight-card::before,
    .product-price-panel::before,
    .product-price-alt::before,
    .installment-card::before,
    .service-card::before,
    .faq-item::before,
    .page-articles .article-card::before,
    .page-article-detail .article-card::before {
        width: 26px;
        height: 26px;
        background-size: 17px 17px;
    }
}

/* Codex 2026-07-03: header cart icon cleanup. */
.site-header a[href*="cart"]::before,
.site-header a[href*="سبد"]::before,
.site-header .cart-link::before,
.site-header .cart-button::before,
.site-header .header-cart::before,
.site-header .nav-cart::before {
    content: none !important;
}

.site-header a[href*="cart"],
.site-header .cart-link,
.site-header .cart-button,
.site-header .header-cart,
.site-header .nav-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-width: 42px;
    min-height: 42px;
}

.site-header a[href*="cart"]::after,
.site-header .cart-link::after,
.site-header .cart-button::after,
.site-header .header-cart::after,
.site-header .nav-cart::after {
    content: "";
    width: 20px;
    height: 20px;
    display: block;
    background: url('/static/icons/shahin/shahin-cart.svg') center / contain no-repeat;
    flex: 0 0 auto;
}

.site-header a[href*="cart"] svg,
.site-header .cart-link svg,
.site-header .cart-button svg,
.site-header .header-cart svg,
.site-header .nav-cart svg,
.site-header a[href*="cart"] img,
.site-header .cart-link img,
.site-header .cart-button img,
.site-header .header-cart img,
.site-header .nav-cart img {
    display: none !important;
}

/* Codex 2026-07-09: reliable, upgraded mobile navigation drawer. */
@media (max-width: 1180px) {
    body.nav-open {
        overflow: hidden !important;
        touch-action: none;
    }

    .site-header .header-backdrop,
    .header-backdrop[data-nav-backdrop] {
        position: fixed !important;
        inset: 0 !important;
        display: block !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        background: rgba(1, 10, 22, 0.66) !important;
        backdrop-filter: blur(10px) !important;
        z-index: 990 !important;
        transition: opacity .22s ease, visibility .22s ease !important;
    }

    body.nav-open .site-header .header-backdrop,
    body.nav-open .header-backdrop[data-nav-backdrop],
    .header-backdrop[data-nav-backdrop].is-active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .site-header .nav-toggle,
    body .site-header .nav-toggle,
    body .site-header .nav-toggle.active {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: column !important;
        gap: 4px !important;
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        border-radius: 14px !important;
        border: 1px solid rgba(255, 255, 255, .18) !important;
        background: rgba(10, 28, 58, .82) !important;
        color: #fff !important;
        z-index: 1003 !important;
        box-shadow: 0 12px 28px rgba(0, 0, 0, .24) !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .site-header .nav-toggle span {
        display: block !important;
        width: 19px !important;
        height: 2px !important;
        border-radius: 999px !important;
        background: currentColor !important;
        transition: transform .18s ease, opacity .18s ease !important;
    }

    .site-header .nav-toggle.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg) !important;
    }

    .site-header .nav-toggle.active span:nth-child(2) {
        opacity: 0 !important;
    }

    .site-header .nav-toggle.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg) !important;
    }

    .site-header .main-nav,
    body[class*='storefront-'] .site-header .main-nav {
        position: fixed !important;
        top: max(10px, env(safe-area-inset-top)) !important;
        right: max(10px, env(safe-area-inset-right)) !important;
        bottom: max(10px, env(safe-area-inset-bottom)) !important;
        left: max(10px, env(safe-area-inset-left)) !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        max-height: none !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        padding: 16px !important;
        overflow: hidden !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(14px) scale(.985) !important;
        border: 1px solid rgba(255, 255, 255, .16) !important;
        border-radius: 24px !important;
        background: linear-gradient(180deg, rgba(6, 27, 58, .98), rgba(3, 16, 35, .98)) !important;
        box-shadow: 0 24px 72px rgba(0, 0, 0, .42) !important;
        backdrop-filter: blur(18px) !important;
        z-index: 1001 !important;
        transition: opacity .22s ease, transform .22s ease, visibility .22s ease !important;
    }

    .site-header .main-nav.active,
    .site-header .main-nav.is-open,
    body.nav-open .site-header .main-nav,
    body[class*='storefront-'] .site-header .main-nav.active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) scale(1) !important;
    }

    .site-header .mobile-nav-header {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        min-height: 44px !important;
    }

    .site-header .nav-close {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        height: 42px !important;
        border-radius: 14px !important;
        border: 1px solid rgba(255, 255, 255, .16) !important;
        background: rgba(255, 255, 255, .08) !important;
        color: #fff !important;
        font-size: 28px !important;
        line-height: 1 !important;
        cursor: pointer !important;
    }

    .site-header .main-nav ul,
    body[class*='storefront-'] .site-header .main-nav ul {
        width: 100% !important;
        min-width: 0 !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        padding: 2px 0 10px !important;
        margin: 0 !important;
        list-style: none !important;
        scrollbar-width: thin;
    }

    .site-header .main-nav li {
        min-width: 0 !important;
        margin: 0 !important;
    }

    .site-header .main-nav a,
    .site-header.header-shrunk .main-nav a,
    body[class*='storefront-'] .site-header .main-nav a {
        width: 100% !important;
        min-height: 48px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 11px 10px !important;
        border-radius: 16px !important;
        border: 1px solid rgba(255, 255, 255, .12) !important;
        background: rgba(255, 255, 255, .07) !important;
        color: #fff !important;
        font-size: .88rem !important;
        font-weight: 800 !important;
        text-align: center !important;
        line-height: 1.7 !important;
        white-space: normal !important;
    }

    .site-header .main-nav a.is-active {
        background: linear-gradient(135deg, rgba(37, 115, 236, .92), rgba(255, 110, 54, .72)) !important;
        border-color: rgba(255, 255, 255, .26) !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 22px rgba(0, 79, 180, .22) !important;
    }

    .site-header .mobile-nav-footer {
        display: grid !important;
        gap: 7px !important;
        padding: 12px !important;
        border-radius: 18px !important;
        background: rgba(255, 255, 255, .06) !important;
        border: 1px solid rgba(255, 255, 255, .10) !important;
        color: rgba(255, 255, 255, .78) !important;
        font-size: .78rem !important;
        text-align: center !important;
    }

    .site-header .mobile-nav-cta {
        min-height: 42px !important;
        border-radius: 14px !important;
        background: #0f7cff !important;
        color: #fff !important;
        font-weight: 900 !important;
    }
}

@media (max-width: 420px) {
    .site-header .main-nav,
    body[class*='storefront-'] .site-header .main-nav {
        border-radius: 20px !important;
        padding: 12px !important;
    }

    .site-header .main-nav ul,
    body[class*='storefront-'] .site-header .main-nav ul {
        grid-template-columns: 1fr !important;
    }

    .site-header .main-nav a,
    body[class*='storefront-'] .site-header .main-nav a {
        min-height: 46px !important;
        font-size: .86rem !important;
    }
}

/* Codex 2026-07-09: final specificity guard for opened mobile nav. */
@media (max-width: 1180px) {
    html body.nav-open header.site-header .main-nav,
    html body.nav-open header.site-header .main-nav.active,
    html body.nav-open header.site-header .main-nav.is-open,
    html body.page-home.nav-open header.site-header .main-nav,
    html body.page-home.nav-open header.site-header .main-nav.active,
    html body.page-home.nav-open header.site-header .main-nav.is-open,
    html body.page-home:not(.page-home-peak):not(.page-home-showroom).nav-open header.site-header .main-nav,
    html body.page-home:not(.page-home-peak):not(.page-home-showroom).nav-open header.site-header .main-nav.active,
    html body.page-home:not(.page-home-peak):not(.page-home-showroom).nav-open header.site-header .main-nav.is-open {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) scale(1) !important;
        top: max(10px, env(safe-area-inset-top)) !important;
        right: max(10px, env(safe-area-inset-right)) !important;
        bottom: max(10px, env(safe-area-inset-bottom)) !important;
        left: max(10px, env(safe-area-inset-left)) !important;
        width: auto !important;
        height: auto !important;
        max-width: none !important;
        max-height: none !important;
        z-index: 1001 !important;
    }

    html body.nav-open header.site-header .main-nav ul,
    html body.page-home.nav-open header.site-header .main-nav ul,
    html body.page-home:not(.page-home-peak):not(.page-home-showroom).nav-open header.site-header .main-nav ul {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        flex-wrap: initial !important;
        justify-content: initial !important;
        align-items: stretch !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }
}

@media (max-width: 420px) {
    html body.nav-open header.site-header .main-nav ul,
    html body.page-home.nav-open header.site-header .main-nav ul,
    html body.page-home:not(.page-home-peak):not(.page-home-showroom).nav-open header.site-header .main-nav ul {
        grid-template-columns: 1fr !important;
    }
}

/* Codex 2026-07-09: prevent mobile nav drawer height collapse. */
@media (max-width: 1180px) {
    html body.nav-open header.site-header .main-nav,
    html body.nav-open header.site-header .main-nav.active,
    html body.nav-open header.site-header .main-nav.is-open,
    html body.page-home.nav-open header.site-header .main-nav,
    html body.page-home.nav-open header.site-header .main-nav.active,
    html body.page-home.nav-open header.site-header .main-nav.is-open {
        height: calc(100dvh - max(20px, env(safe-area-inset-top)) - max(20px, env(safe-area-inset-bottom))) !important;
        min-height: min(560px, calc(100dvh - 20px)) !important;
        max-height: calc(100dvh - 20px) !important;
        box-sizing: border-box !important;
    }

    html body.nav-open header.site-header .main-nav .mobile-nav-header {
        flex: 0 0 auto !important;
    }

    html body.nav-open header.site-header .main-nav ul {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    html body.nav-open header.site-header .main-nav .mobile-nav-footer {
        flex: 0 0 auto !important;
    }
}

/* Codex 2026-07-09: keep opened mobile nav above page and backdrop stacking contexts. */
@media (max-width: 1180px) {
    html body.nav-open header.site-header {
        position: relative !important;
        z-index: 2147483000 !important;
        isolation: isolate !important;
    }

    html body.nav-open header.site-header .header-backdrop,
    html body.nav-open .header-backdrop[data-nav-backdrop] {
        z-index: 2147483001 !important;
    }

    html body.nav-open header.site-header .main-nav,
    html body.nav-open header.site-header .main-nav.active,
    html body.nav-open header.site-header .main-nav.is-open {
        z-index: 2147483002 !important;
        background: linear-gradient(180deg, rgba(5, 29, 65, .99), rgba(2, 15, 35, .99)) !important;
        color: #fff !important;
    }

    html body.nav-open header.site-header .nav-toggle,
    html body.nav-open header.site-header .nav-toggle.active,
    html body.nav-open header.site-header .nav-close {
        z-index: 2147483003 !important;
    }

    html body.nav-open header.site-header .main-nav *,
    html body.nav-open header.site-header .main-nav a,
    html body.nav-open header.site-header .main-nav p {
        color: #fff !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* Codex 2026-07-09: independent mobile nav panel. */
.codex-mobile-nav-backdrop,
.codex-mobile-nav-panel {
    display: none;
}

@media (max-width: 1180px) {
    body.codex-mobile-nav-open {
        overflow: hidden !important;
    }

    .codex-mobile-nav-backdrop {
        position: fixed;
        inset: 0;
        display: block;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        background: rgba(0, 9, 22, .68);
        backdrop-filter: blur(10px);
        z-index: 2147483500;
        transition: opacity .18s ease, visibility .18s ease;
    }

    .codex-mobile-nav-backdrop.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .codex-mobile-nav-panel {
        position: fixed;
        top: max(12px, env(safe-area-inset-top));
        right: max(12px, env(safe-area-inset-right));
        bottom: max(12px, env(safe-area-inset-bottom));
        left: max(12px, env(safe-area-inset-left));
        z-index: 2147483501;
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding: 14px;
        border-radius: 22px;
        border: 1px solid rgba(255, 255, 255, .18);
        background: linear-gradient(180deg, #06285a, #031228);
        box-shadow: 0 26px 80px rgba(0, 0, 0, .46);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(10px) scale(.985);
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
        box-sizing: border-box;
        color: #fff;
    }

    .codex-mobile-nav-panel.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }

    .codex-mobile-nav-panel .mobile-nav-header {
        display: flex !important;
        justify-content: flex-start !important;
        flex: 0 0 auto;
    }

    .codex-mobile-nav-panel .nav-close {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 44px !important;
        height: 44px !important;
        border-radius: 14px !important;
        border: 1px solid rgba(255, 255, 255, .18) !important;
        background: rgba(255, 255, 255, .10) !important;
        color: #fff !important;
        font-size: 28px !important;
        line-height: 1 !important;
    }

    .codex-mobile-nav-panel ul {
        flex: 1 1 auto;
        min-height: 0;
        width: 100%;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin: 0;
        padding: 0 0 8px;
        overflow-y: auto;
        list-style: none;
    }

    .codex-mobile-nav-panel li {
        margin: 0 !important;
        min-width: 0;
    }

    .codex-mobile-nav-panel a {
        min-height: 48px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 10px !important;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, .13);
        background: rgba(255, 255, 255, .08);
        color: #fff !important;
        font-size: .88rem !important;
        font-weight: 900 !important;
        text-align: center;
        text-decoration: none;
        line-height: 1.7;
        white-space: normal;
    }

    .codex-mobile-nav-panel a.is-active {
        background: linear-gradient(135deg, #176ee8, #ff6e36);
        border-color: rgba(255, 255, 255, .28);
    }

    .codex-mobile-nav-panel .mobile-nav-footer {
        display: grid !important;
        gap: 7px;
        flex: 0 0 auto;
        padding: 12px;
        border-radius: 18px;
        border: 1px solid rgba(255, 255, 255, .12);
        background: rgba(255, 255, 255, .07);
        text-align: center;
        color: rgba(255, 255, 255, .82);
        font-size: .78rem;
    }

    .codex-mobile-nav-panel .mobile-nav-cta {
        min-height: 42px;
        background: #0f7cff;
        color: #fff !important;
    }
}

@media (max-width: 420px) {
    .codex-mobile-nav-panel ul {
        grid-template-columns: 1fr;
    }
}

