        @font-face {
            font-family: 'Vazirmatn';
            src: url('../fonts/Vazirmatn-FD-Thin.woff2') format('woff2');
            font-weight: 100;
            font-style: normal;
        }

        @font-face {
            font-family: 'Vazirmatn';
            src: url('../fonts/Vazirmatn-FD-ExtraLight.woff2') format('woff2');
            font-weight: 200;
            font-style: normal;
        }

        @font-face {
            font-family: 'Vazirmatn';
            src: url('../fonts/Vazirmatn-FD-Light.woff2') format('woff2');
            font-weight: 300;
            font-style: normal;
        }

        @font-face {
            font-family: 'Vazirmatn';
            src: url('../fonts/Vazirmatn-FD-Regular.woff2') format('woff2');
            font-weight: 400;
            font-style: normal;
        }

        @font-face {
            font-family: 'Vazirmatn';
            src: url('../fonts/Vazirmatn-FD-Medium.woff2') format('woff2');
            font-weight: 500;
            font-style: normal;
        }

        @font-face {
            font-family: 'Vazirmatn';
            src: url('../fonts/Vazirmatn-FD-SemiBold.woff2') format('woff2');
            font-weight: 600;
            font-style: normal;
        }

        @font-face {
            font-family: 'Vazirmatn';
            src: url('../fonts/Vazirmatn-FD-Bold.woff2') format('woff2');
            font-weight: 700;
            font-style: normal;
        }

        @font-face {
            font-family: 'Vazirmatn';
            src: url('../fonts/Vazirmatn-FD-ExtraBold.woff2') format('woff2');
            font-weight: 800;
            font-style: normal;
        }

        @font-face {
            font-family: 'Vazirmatn';
            src: url('../fonts/Vazirmatn-FD-Black.woff2') format('woff2');
            font-weight: 900;
            font-style: normal;
        }
         * {
            font-family: 'Vazirmatn', sans-serif;
        }
        
        :root {
            --primary-color: #ef4040;
            --secondary-color: #2c2c2c;
            --text-color: #666;
            --bg-light: #f5f5f5;
        }
        
        body {
            direction: rtl;
            text-align: right;
            color: var(--text-color);
            overflow-x: hidden;
        }
        
        /* Color Selector */
        .color-selector {
            position: fixed;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            background: white;
            padding: 15px 10px;
            border-radius: 10px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            z-index: 9999;
        }
        
        .color-option {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            margin: 8px 0;
            cursor: pointer;
            border: 3px solid transparent;
            transition: all 0.3s;
        }
        
        .color-option:hover {
            transform: scale(1.1);
            border-color: #ddd;
        }
        
        .color-option.active {
            border-color: #000;
        }
        
        /* Top Bar */
        .top-bar {
            background: var(--secondary-color);
            color: white;
            padding: 10px 0;
            font-size: 13px;
        }
        
        .top-bar a {
            color: white;
            text-decoration: none;
            margin: 0 10px;
        }
        
        /* Header */
        .main-header {
            background: white;
            padding: 15px 0;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .logo {
            text-align:center;
            font-size: 28px;
            font-weight: bold;
            color: var(--secondary-color);
        }
        
        .logo span {
            color: var(--primary-color);
        }
        
        .nav-menu a {
            color: var(--secondary-color);
            text-decoration: none;
            margin: 0 20px;
            font-weight: 500;
            transition: color 0.3s;
        }
        
        .nav-menu a:hover {
            color: var(--primary-color);
        }
        
        .header-icons {
            position: relative;
        }
        
        .header-icons i {
            margin: 0 10px;
            cursor: pointer;
            font-size: 18px;
            transition: color 0.3s;
            position: relative;
        }
        
        .header-icons i:hover {
            color: var(--primary-color);
        }
        
        .cart-badge {
            background: var(--primary-color);
            color: white;
            border-radius: 50%;
            padding: 2px 6px;
            font-size: 11px;
            position: absolute;
            top: -8px;
            left: -8px;
        }
        
        /* Search Modal */
        .search-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.8);
            z-index: 9998;
            display: none;
            align-items: center;
            justify-content: center;
        }
        
        .search-modal.active {
            display: flex;
        }
        
        .search-modal-content {
            background: white;
            padding: 40px;
            border-radius: 15px;
            width: 90%;
            max-width: 600px;
        }
        
        .search-modal input {
            width: 100%;
            padding: 15px;
            border: 2px solid #ddd;
            border-radius: 8px;
            font-size: 16px;
        }
        
        /* User Dropdown */
        .user-dropdown {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            margin-top: 15px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 25px rgba(0,0,0,0.15);
            padding: 20px;
            width: 280px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            z-index: 1001;
        }
        
        .user-dropdown.active {
            opacity: 1;
            visibility: visible;
            margin-top: 10px;
        }
        
        .user-dropdown::before {
            content: '';
            position: absolute;
            top: -8px;
            left: 50%;
            transform: translateX(-50%);
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-bottom: 8px solid white;
        }
        
        .user-dropdown h6 {
            color: var(--secondary-color);
            margin-bottom: 15px;
            font-weight: 600;
        }
        
        .user-dropdown input {
            width: 100%;
            padding: 10px;
            margin-bottom: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
        }
        
        .user-dropdown button {
            width: 100%;
            padding: 10px;
            background: var(--primary-color);
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            margin-bottom: 10px;
            transition: all 0.3s;
        }
        
        .user-dropdown button:hover {
            background: #d63333;
        }
        
        /* Wishlist Dropdown */
        .wishlist-dropdown {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            margin-top: 15px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 25px rgba(0,0,0,0.15);
            padding: 20px;
            width: 320px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            z-index: 1001;
        }
        
        .wishlist-dropdown.active {
            opacity: 1;
            visibility: visible;
            margin-top: 10px;
        }
        
        .wishlist-dropdown::before {
            content: '';
            position: absolute;
            top: -8px;
            left: 50%;
            transform: translateX(-50%);
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-bottom: 8px solid white;
        }
        
        .wishlist-item {
            display: flex;
            gap: 10px;
            padding: 10px;
            border-bottom: 1px solid #f0f0f0;
            margin-bottom: 10px;
            align-items: center;
        }
        
        .wishlist-item img {
            width: 60px;
            height: 60px;
            object-fit: contain;
        }
        
        .wishlist-item-remove:hover {
            color: var(--primary-color) !important;
        }
        
        /* Cart Sidebar */
        .cart-sidebar {
            position: fixed;
            top: 0;
            left: -400px;
            width: 400px;
            height: 100%;
            background: white;
            box-shadow: 0 0 50px rgba(0,0,0,0.3);
            z-index: 9999;
            transition: left 0.3s;
            overflow-y: auto;
        }
        
        .cart-sidebar.active {
            left: 0;
        }
        
        .cart-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 9998;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
        }
        
        .cart-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        .cart-header {
            background: var(--primary-color);
            color: white;
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .cart-header h5 {
            margin: 0;
        }
        
        .cart-close {
            background: none;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
        }
        
        .cart-items {
            padding: 20px;
        }
        
        .cart-item {
            display: flex;
            gap: 15px;
            padding: 15px;
            border-bottom: 1px solid #f0f0f0;
            margin-bottom: 15px;
        }
        
        .cart-item img {
            width: 80px;
            height: 80px;
            object-fit: contain;
            border: 1px solid #f0f0f0;
            border-radius: 5px;
        }
        
        .cart-item-info h6 {
            font-size: 14px;
            margin-bottom: 5px;
        }
        
        .cart-item-price {
            color: var(--primary-color);
            font-weight: bold;
            margin: 5px 0;
        }
        
        .cart-item-remove {
            background: none;
            border: none;
            color: #999;
            cursor: pointer;
            margin-top: 5px;
        }
        
        .cart-total {
            padding: 20px;
            border-top: 2px solid #f0f0f0;
        }
        
        .cart-total-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }
        
        .cart-buttons {
            padding: 0 20px 20px;
        }
        
        .cart-buttons button {
            width: 100%;
            padding: 12px;
            margin-bottom: 10px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s;
        }
        
        .btn-checkout {
            background: var(--primary-color);
            color: white;
        }
        
        .btn-checkout:hover {
            background: #d63333;
        }
        
        .btn-view-cart {
            background: var(--secondary-color);
            color: white;
        }
        
        .btn-view-cart:hover {
            background: #1a1a1a;
        }
        
        /* Features Section */
        .features-section {
            margin-top: -50px;
            margin-bottom: 60px;
            position: relative;
            z-index: 10;
        }
        
        .feature-card {
            background: white;
            border-radius: 15px;
            padding: 30px 20px;
            text-align: center;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: all 0.3s;
            height: 100%;
        }
        
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }
        
        .feature-icon {
            width: 70px;
            height: 70px;
            margin: 0 auto 20px;
            background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 30px;
        }
        
        .feature-card h6 {
            color: var(--secondary-color);
            font-weight: 700;
            margin-bottom: 10px;
            font-size: 16px;
        }
        
        .feature-card p {
            color: var(--text-color);
            margin: 0;
            font-size: 13px;
        }
        
        
        /* Deal Section */
        .deal-of-day-section {
            margin-bottom: 60px;
        }
        
        .deal-section {
            background: linear-gradient(135deg, #ffe5e5 0%, #fff5f5 100%);
            padding: 50px;
            border-radius: 20px;
            box-shadow: 0 5px 30px rgba(0,0,0,0.1);
        }
        
        .deal-image {
            max-width: 100%;
            border-radius: 15px;
        }
        
        .deal-badge {
            background: var(--primary-color);
            color: white;
            padding: 10px 25px;
            border-radius: 25px;
            display: inline-block;
            margin-bottom: 20px;
            font-weight: 600;
        }
        
        .deal-title {
            color: var(--secondary-color);
            font-weight: 700;
            margin-bottom: 20px;
        }
        
        .deal-timer-label {
            color: var(--text-color);
            margin-bottom: 15px;
            font-weight: 500;
        }
        
        .countdown {
            display: flex;
            gap: 15px;
            margin: 20px 0;
            flex-direction: row-reverse;
        }
        
        .countdown-item {
            background: white;
            padding: 20px;
            border-radius: 12px;
            text-align: center;
            flex: 1;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        }
        
        .countdown-item .number {
            font-size: 28px;
            font-weight: bold;
            color: var(--primary-color);
            margin-bottom: 5px;
        }
        
        .countdown-item .label {
            font-size: 13px;
            color: var(--text-color);
        }
        
        .newsletter-box {
            background: white;
            padding: 40px;
            border-radius: 10px;
            margin-bottom: 40px;
        }
        
        .newsletter-box h4 {
            color: var(--secondary-color);
            margin-bottom: 10px;
        }
        
        .newsletter-box .highlight {
            color: var(--primary-color);
        }
        .btn-search {
            background: var(--primary-color);
            color: white;
            padding: 14px 40px;
            border: none;
            border-radius: 8px 0px 0px 8px!important;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }
        /* Brands Section */
        .brands-section {
            margin-bottom: 60px;
            overflow: hidden;
        }
        
        .brands-slider {
            overflow: hidden;
            padding: 30px 0;
            background: white;
            border-radius: 15px;
            box-shadow: 0 3px 15px rgba(0,0,0,0.05);
        }
        
        .brands-track {
            display: flex;
            /* animation: scroll 20s linear infinite; */
        }
        
        .brand-item {
            flex: 0 0 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 30px;
        }
        
        .brand-item img {
            max-width: 120px;
            height: 60px;
            object-fit: contain;
            filter: grayscale(100%);
            opacity: 0.6;
            transition: all 0.3s;
        }
        
        .brand-item:hover img {
            filter: grayscale(0%);
            opacity: 1;
            transform: scale(1.1);
        }
        
        @keyframes scroll {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }
        
        .brands-slider:hover .brands-track {
            animation-play-state: paused;
        }
        
        /* Hero Section */
        .hero-section {
            position: relative;
            padding: 150px 0;
            overflow: hidden;
            min-height: 500px;
            display: flex;
            align-items: center;
        }

        .hero-bg {
            position: absolute;
            inset: 0;
            background: 
                linear-gradient(rgba(0,0,0,.87), rgba(0,0,0,.45)),
                url("../images/motor/header.avif") center/cover no-repeat;
            z-index: 1;
        }
        
        .hero-section .container {
            position: relative;
            z-index: 3;
        }
        
        .hero-car {
            position: absolute;
            bottom: 0;
            left: -40%;
            width: 700px;
            height: 400px;
            background: url("../images/motor/hero.jpeg") left bottom / contain no-repeat;
            z-index: 2;
            animation: carEnter 1.5s ease-out forwards;
        }

        @keyframes carEnter {
            from {
                transform: translateX(-300px);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }
        
        .hero-content h1 {
            font-size: 52px;
            font-weight: bold;
            color: #fff;
            margin-bottom: 20px;
        }
        
        .herodesc {
            color: #9E9E9E;
            font-size: 18px;
        }
        
        .hero-content .highlight {
            color: var(--primary-color);
        }
        
        /* Filter Sidebar */
        .filter-sidebar {
            background: white;
            border-radius: 10px;
            padding: 25px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            position: sticky;
            top: 100px;
        }
        
        .filter-title {
            font-size: 20px;
            font-weight: 700;
            color: var(--secondary-color);
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid var(--primary-color);
        }
        
        .filter-section {
            margin-bottom: 25px;
        }
        
        .filter-section h6 {
            font-weight: 600;
            color: var(--secondary-color);
            margin-bottom: 15px;
            font-size: 16px;
        }
        
        .filter-option {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
            cursor: pointer;
        }
        
        .filter-option input[type="checkbox"] {
            width: 18px;
            height: 18px;
            margin-left: 10px;
            cursor: pointer;
            accent-color: var(--primary-color);
        }
        
        .filter-option label {
            cursor: pointer;
            font-size: 14px;
            color: var(--text-color);
            margin: 0;
        }
        
        .price-inputs {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
        }
        
        .price-inputs input {
            width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 14px;
        }
        
        .btn-filter {
            width: 100%;
            padding: 12px;
            background: var(--primary-color);
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 10px;
        }
        
        .btn-filter:hover {
            background: #d63333;
            transform: translateY(-2px);
        }
        
        .btn-reset {
            width: 100%;
            padding: 12px;
            background: var(--secondary-color);
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 10px;
        }
        
        .btn-reset:hover {
            background: #1a1a1a;
        }
        
        /* Products Section */
        .products-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            padding: 20px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .products-count {
            color: var(--text-color);
            font-size: 14px;
        }
        
        .sort-select {
            padding: 10px 40px 10px 15px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 14px;
            cursor: pointer;
            background: white;
        }
        
        /* Product Card */
        .product-card {
            background: white;
            border-radius: 10px;
            padding: 0;
            transition: all 0.3s;
            border: 1px solid #f0f0f0;
            position: relative;
            margin-bottom: 30px;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        .product-card:hover {
            box-shadow: 0 8px 25px rgba(0,0,0,0.12);
            transform: translateY(-5px);
        }
        
        .product-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: var(--primary-color);
            color: white;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            z-index: 1;
        }
        
        .product-img {
            width: 100%;
            height: 220px;
            object-fit: cover;
            border-radius: 10px 10px 0 0;
        }
        
        .product-body {
            padding: 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .product-rating {
            color: #ffc107;
            font-size: 12px;
            margin-bottom: 10px;
        }
        
        .product-rating span {
            color: var(--text-color);
            margin-right: 5px;
        }
        
        .product-title {
            color: var(--secondary-color);
            font-size: 15px;
            font-weight: 600;
            margin-bottom: 15px;
            min-height: 40px;
        }
        
        .product-price {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 15px;
        }
        
        .current-price {
            color: var(--primary-color);
            font-size: 20px;
            font-weight: bold;
        }
        
        .old-price {
            color: var(--text-color);
            text-decoration: line-through;
            font-size: 14px;
        }
        
        .product-actions {
            display: flex;
            gap: 10px;
            margin-top: auto;
        }
        
        .btn-add-cart {
            flex: 1;
            background: var(--primary-color);
            color: white;
            border: none;
            padding: 12px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s;
            font-size: 14px;
        }
        
        .btn-add-cart:hover {
            background: #d63333;
            transform: translateY(-2px);
        }
        
        .btn-wishlist {
            background: white;
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
            padding: 12px 15px;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .btn-wishlist:hover, .btn-wishlist.active {
            background: var(--primary-color);
            color: white;
        }
        
        /* Pagination */
        .pagination-container {
            display: flex;
            justify-content: center;
            margin-top: 40px;
        }
        
        .pagination {
            display: flex;
            gap: 10px;
            list-style: none;
            padding: 0;
        }
        
        .pagination li {
            background: white;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            transition: all 0.3s;
        }
        
        .pagination li.active {
            background: var(--primary-color);
            border-color: var(--primary-color);
        }
        
        .pagination li.active a {
            color: white;
        }
        
        .pagination li:hover {
            border-color: var(--primary-color);
        }
        
        .pagination a {
            display: block;
            padding: 12px 18px;
            color: var(--secondary-color);
            text-decoration: none;
            font-weight: 600;
        }
        
        /* Footer */
        .footer {
            background: var(--secondary-color);
            color: white;
            padding: 60px 0 20px;
            margin-top: 80px;
        }
        
        .footer h5 {
            margin-bottom: 20px;
            font-weight: 600;
        }
        
        .footer a {
            color: #ccc;
            text-decoration: none;
            display: block;
            margin-bottom: 10px;
            transition: color 0.3s;
        }
        
        .footer a:hover {
            color: var(--primary-color);
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .header-icons{
                text-align: center !important;
                margin-top:20px;
            }
            .filter-sidebar {
                margin-bottom: 30px;
            }
            
            .hero-content h1 {
                font-size: 32px;
            }
            
            .nav-menu {
                display: none;
            }
            
            .features-section {
                margin-top: 30px;
            }
            
            .feature-card {
                margin-bottom: 20px;
            }
            
            .banner-card {
                height: 150px;
                margin-bottom: 15px;
            }
            
            .banner-content h4 {
                font-size: 16px;
            }
            
            .deal-section {
                padding: 30px 20px;
            }
            
            .countdown {
                gap: 10px;
            }
            
            .countdown-item {
                padding: 15px 10px;
            }
            
            .countdown-item .number {
                font-size: 20px;
            }
        }