/* Reset and base styles */

:root {
    --primary-color: #5bc0ff;
    --primary-hover: #3ba8ff;
    --secondary-color: #6b7280;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --error-color: #e7000b;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;

    --background: #ffffff;
    --foreground: #1f2937;
    --muted: #6b7280;
    --muted-foreground: #9ca3af;
    --border: #e5e7eb;
    --input: #ffffff;
    --ring: #5bc0ff;

    --radius: 0.5rem;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header styles */
.header {
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
}

.top-bar-left {
    display: flex;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.top-bar-right {
    display: flex;
    gap: 1rem;
}

.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #5bc0ff;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0;
}

.logo-text p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.search {
    flex: 1;
    max-width: 32rem;
    margin: 0 2rem;
}

.search-container {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 1rem;
}

.search-input {
    width: 100%;
    padding: 0.5rem 0.75rem 0.5rem 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navigation {
    padding: 0.75rem 0;
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: #5bc0ff;
}

.header-nav {
    display: flex;
    gap: 1.5rem;
}

/* Button styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    background: none;
}

.btn-primary {
    background-color: #5bc0ff;
    color: white;
    border-color: #5bc0ff;
}

.btn-primary:hover {
    background-color: #4ba8e6;
    border-color: #4ba8e6;
}

.btn-primary:disabled {
    background-color: #9ca3af;
    border-color: #9ca3af;
    cursor: not-allowed;
}

.btn-outline {
    background-color: transparent;
    color: #374151;
    border-color: #d1d5db;
}

.btn-outline:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

.btn-outline-white {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-outline-white:hover {
    background-color: white;
    color: #5bc0ff;
}

.btn-icon {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
}

.btn-large {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.btn-ghost {
    background: none;
    border: none;
    color: #6b7280;
    padding: 0.25rem 0.5rem;
}

.btn-ghost:hover {
    background-color: #f3f4f6;
}

/* Hero section */
.hero {
    background: linear-gradient(to right, #5bc0ff, #3ba8ff);
    color: white;
    padding: 4rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-text h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #e6f7ff;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image img {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Categories section */
.categories {
    padding: 4rem 0;
}

.categories h3 {
    font-size: 1.875rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    transition: box-shadow 0.2s;
    cursor: pointer;
}

.category-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.category-icon.ford {
    background-color: #e1f4ff;
    color: #5bc0ff;
}

.category-icon.sollers {
    background-color: #eae1ff;
    color: #a15cb7;
}

.category-icon.peugeot {
    background-color: #f3f4f6;
    color: #6b7280;
}

.category-icon.citroen {
    background-color: #fee2e2;
    color: #dc2626;
}

.category-icon.fiat {
    background-color: #dcfce7;
    color: #16a34a;
}
.category-icon.iveco {
    background-color: #ebffe1;
    color: #277201;
}
.category-icon.foton {
    background-color: #e1fbff;
    color: #046776;
}
.category-icon.jac {
    background-color: #eae1ff;
    color: #a15cb7;
}
.category-icon.gazel {
    background-color: #fffde1;
    color: #9d9200;
}
.category-icon.cummins {
    background-color: #fee2e2;
    color: #dc2626;
}

.category-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Popular products section */
.popular-products {
    padding: 4rem 0;
    background-color: #f9fafb;
}

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

.section-header h3 {
    font-size: 1.875rem;
    font-weight: bold;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.product-card-grid {
    max-width: 358px;
}
.product-card .product-info {
  gap: 0.1rem;
}
.product-card {
    cursor: pointer;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.product-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    height: 12rem;
    overflow: hidden;
}

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

.badge {
    position: absolute;
    top: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-discount {
    background-color: #dc2626;
    color: white;
    left: 0.5rem;
}

.badge-order {
    background-color: #6b7280;
    color: white;
    right: 0.5rem;
}

.product-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-info h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.rating i {
    color: #fbbf24;
}

.rating span {
    font-size: 0.875rem;
    color: #6b7280;
}

.price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.current-price {
    font-size: 1.125rem;
    font-weight: bold;
}

.old-price {
    font-size: 0.875rem;
    color: #6b7280;
    text-decoration: line-through;
}

/* Advantages section */
.advantages {
    padding: 4rem 0;
}

.advantages h3 {
    font-size: 1.875rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-item {
    text-align: center;
}

.advantage-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
}

.advantage-icon:nth-child(1) {
    background-color: #e1f4ff;
    color: #5bc0ff;
}

.advantage-icon:nth-child(2) {
    background-color: #dcfce7;
    color: #16a34a;
}

.advantage-icon:nth-child(3) {
    background-color: #f3e8ff;
    color: #9333ea;
}

.advantage-icon:nth-child(4) {
    background-color: #fef3c7;
    color: #d97706;
}

.advantage-item h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.advantage-item p {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background-color: #111827;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    width: 2rem;
    height: 2rem;
}

.footer-logo span {
    font-weight: bold;
    font-size: 1.125rem;
}

.footer-column p {
    color: #9ca3af;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.address {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-column h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: white;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1rem 0;
    background-color: #f9fafb;
}

.breadcrumbs a {
    color: #5bc0ff;
    text-decoration: none;
}

.breadcrumbs span {
    color: #6b7280;
    margin: 0 0.5rem;
}

/* Catalog specific styles */
.catalog-container {
    padding: 2rem 0;
}

.filters-panel {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.filters-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.filters-header h3 {
    font-weight: 600;
    margin: 0;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.filter-group select,
.filter-group input {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
}

.checkbox-label input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
}

.active-filters {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.active-filters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge-secondary {
    background-color: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.badge-secondary i {
    cursor: pointer;
    font-size: 0.625rem;
}

.badge-secondary i:hover {
    color: #dc2626;
}

.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.toolbar-left span {
    font-size: 0.875rem;
    color: #6b7280;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toolbar-right select {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.view-toggle {
    display: flex;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    overflow: hidden;
}

.view-toggle .btn {
    border-radius: 0;
    border: none;
}

.view-toggle .btn.active {
    background-color: #5bc0ff;
    color: white;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination .btn {
    min-width: 2.5rem;
    height: 2.5rem;
}

/* Стили для списка товаров */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-card-list {
    display: flex;
    gap: 1rem;
    padding: 1rem;
}

.product-card-list .product-image {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
}

.product-card-list .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-article {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

/* Стили для уведомлений */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    color: white;
    font-weight: 500;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.notification.notification-success {
    background-color: #16a34a;
}

.notification.notification-error {
    background-color: #dc2626;
}

.notification.notification-warning {
    background-color: #d97706;
}

.notification.notification-info {
    background-color: #5bc0ff;
}

/* Login/Register styles */
.login-container,
.register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 300px);
    padding: 2rem 0;
}

.login-card,
.register-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 2rem;
    width: 100%;
    max-width: 28rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.login-header,
.register-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h2,
.register-header h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.login-header p,
.register-header p {
    color: #6b7280;
    font-size: 0.875rem;
}

.login-form,
.register-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
}

.form-group input {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #5bc0ff;
    box-shadow: 0 0 0 3px rgba(91, 192, 255, 0.1);
}

.password-input {
    position: relative;
    width: 100%;
}

.password-input input {
    width: 100%;
    box-sizing: border-box;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.forgot-password {
    color: #5bc0ff;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-divider,
.register-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.login-divider::before,
.register-divider::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e5e7eb;
}

.login-divider span,
.register-divider span {
    background-color: white;
    padding: 0 1rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.login-footer,
.register-footer {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
}

.login-footer a,
.register-footer a {
    color: #5bc0ff;
    text-decoration: none;
}

.login-footer a:hover,
.register-footer a:hover {
    text-decoration: underline;
}

.link {
    color: #5bc0ff;
    text-decoration: none;
}

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

/* Responsive design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .main-header {
        flex-direction: column;
        gap: 1rem;
    }

    .search {
        margin: 0;
        max-width: none;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
    }

    .categories-grid,
    .products-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .filters-grid {
        grid-template-columns: 1fr;
    }

    .toolbar {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}
[hidden]{
  display:none;
}
/*contact page style */
.contacts-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    /* color: white; */
    padding: 1rem 0 3rem 0;
    text-align: center;
}

.contacts-hero h1 {
    font-size: 1rem;
    font-weight: 500;
}


.contacts-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    padding: 4rem 0;
    background: var(--gray-50);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-card-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.contact-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

.contact-form-section {
    padding: 4rem 0;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-form-full {
    grid-column: 1 / -1;
}

.contact-form-group {
    margin-bottom: 1.5rem;
}

.contact-form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.contact-form-group input,
.contact-form-group textarea,
.contact-form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus,
.contact-form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-submit {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.contact-form-submit:hover {
    background: var(--primary-dark);
}

.contact-form-submit:disabled {
    background: var(--gray-400);
    cursor: not-allowed;
}

.contact-additional {
    padding: 4rem 0;
    background: var(--gray-50);
}

.contact-additional-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-map {
    background: var(--gray-200);
    height: 400px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    font-size: 1.1rem;
}

.contact-quick {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-quick-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.contact-quick-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-quick-icon svg {
    width: 18px;
    height: 18px;
    color: white;
}

.contact-quick-content h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
}

.contact-quick-content p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.working-hours {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.working-hours h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.working-hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.working-hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

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

.working-hours-day {
    font-weight: 500;
    color: var(--gray-700);
}

.working-hours-time {
    color: var(--gray-600);
}

/* Responsive adjustments for contacts page */
@media (max-width: 768px) {
    .contacts-hero h1 {
        font-size: 2rem;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-additional-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-map {
        height: 300px;
    }
}

#mainImage {
    cursor: pointer;
}

/* Cart Page */
.cart-content {
    padding: 4rem 0;
}

.empty-cart {
    text-align: center;
    padding: 4rem 0;
}

.empty-cart-content {
    max-width: 400px;
    margin: 0 auto;
}

.empty-cart-icon {
    width: 6rem;
    height: 6rem;
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.empty-cart h2 {
    margin-bottom: 1rem;
}

.empty-cart p {
    margin-bottom: 2rem;
    color: var(--muted);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.cart-header h1 {
    margin-bottom: 0;
}

.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    cursor: pointer;
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
}

.cart-item-image {
    width: 6rem;
    height: 6rem;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.cart-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.cart-item-info h4 {
    margin-bottom: 0.25rem;
}

.cart-item-info p {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 0;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--danger-color);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--radius);
    transition: background-color 0.2s ease;
}

.cart-item-remove:hover {
    background-color: #fef2f2;
}

.cart-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.quantity-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.quantity-btn:hover:not(:disabled) {
    background-color: var(--border);
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-display input {
    padding: 0.5rem 1rem;
    min-width: 3rem;
    max-width: 10rem;
    text-align: center;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

.cart-item-price {
    text-align: right;
}

.cart-item-total {
    font-weight: 700;
    font-size: 1.125rem;
}

.cart-item-unit {
    font-size: 0.875rem;
    color: var(--muted);
}

.order-summary {
    position: sticky;
    top: 2rem;
}

.summary-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.summary-card h3 {
    margin-bottom: 1.5rem;
}

.summary-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}

.summary-divider {
    height: 1px;
    background-color: var(--border);
    margin: 1.5rem 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Responsive cart */
@media (max-width: 768px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .cart-item {
        flex-direction: column;
    }

    .cart-item-image {
        width: 100%;
        height: 12rem;
    }

    .cart-item-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .order-summary {
        position: static;
    }
}

/*End cart*/
.px-4 {
    padding-inline: calc(var(--spacing) * 4);
}
.mx-auto {
    margin-inline: auto;
}
.btn-continue {
  margin-top: 4px;
}
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ef4444;
    color: white;
    font-size: 12px;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}
.cart-btn {
    position: relative;
}

.hidden-element {
    visibility: hidden;
}
.in-cart {
 background-color: #69b375;
}
.logo-link {
  text-decoration: none; /* Removes the underline */
  color: inherit; /* Inherits the color from its parent element */
}

.logo-link:visited {
  color: inherit;
}

logo-link:hover {
  text-decoration: none; /* Ensure no underline on hover */
  color: inherit;
}

logo-link:active {
  color: inherit;
}

/* Аналоги стили */
.analogs-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
}

.analogs-header {
    margin-bottom: 1.5rem;
}

.analogs-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #1e40af;
}

.analogs-title svg {
    color: #3b82f6;
}

.analogs-title h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: #1e40af;
}

.analogs-count {
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.analogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.analog-card {
    position: relative;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
   /* cursor: pointer; */
}

.analog-card-link:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.analog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    border-color: #3b82f6;
    background: #eff6ff;
}

.analog-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.analog-card.original {
    border-color: #3b82f6;
    background: #eff6ff;
}

.original-badge {
    position: absolute;
    top: -8px;
    right: 8px;
    background: #3b82f6;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.analog-brand {
    font-weight: 600;
    font-size: 1rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.analog-article {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.copy-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    color: #3b82f6;
    background: #f3f4f6;
}

.analogs-warning {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
}

.warning-icon {
    color: #d97706;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.warning-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #92400e;
    margin: 0 0 0.5rem 0;
}

.warning-content p {
    font-size: 0.875rem;
    color: #92400e;
    margin: 0;
    line-height: 1.5;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .analogs-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.75rem;
    }

    .analog-card {
        padding: 0.75rem;
    }

    .analogs-section {
        padding: 1rem;
    }

    .analogs-title h3 {
        font-size: 1.25rem;
    }
}

/* Стили для секции применяемости */
.compatibility-section {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.compatibility-header {
    margin-bottom: 1.5rem;
}

.compatibility-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #1e40af;
}

.compatibility-title svg {
    color: #3b82f6;
}

.compatibility-title h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: #1e40af;
}

.compatibility-count {
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.compatibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.manufacturer-column {
    display: flex;
    flex-direction: column;
}

.manufacturer-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

.manufacturer-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
}

.manufacturer-logo.ford {
    background: #3b82f6;
}

.manufacturer-logo.peugeot {
    background: #6b7280;
}

.manufacturer-logo.citroën {
    background: #dc2626;
}

.manufacturer-logo.fiat {
    background: #16a34a;
}

.manufacturer-logo.volkswagen {
    background: #1f2937;
}

.manufacturer-logo.bmw {
    background: #7c3aed;
}

.manufacturer-logo.mercedes {
    background: #059669;
}

.manufacturer-logo.audi {
    background: #ea580c;
}

.manufacturer-name {
    font-weight: 600;
    font-size: 1.125rem;
    color: #1f2937;
}

.models-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.model-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.2s ease;
}

.model-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.model-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.model-years {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.model-engine {
    font-size: 0.75rem;
    color: #6b7280;
}

.important-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #eff6ff;
    border: 1px solid #3b82f6;
    border-radius: 8px;
    padding: 1rem;
}

.info-icon {
    color: #3b82f6;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.info-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e40af;
    margin: 0 0 0.5rem 0;
}

.info-content p {
    font-size: 0.875rem;
    color: #1e40af;
    margin: 0;
    line-height: 1.5;
}

/* Адаптивность для применяемости */
@media (max-width: 768px) {
    .compatibility-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .compatibility-section {
        padding: 1rem;
    }

    .compatibility-title h3 {
        font-size: 1.25rem;
    }

    .manufacturer-header {
        gap: 0.5rem;
    }

    .manufacturer-logo {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .manufacturer-name {
        font-size: 1rem;
    }
}

/* Product Page Styles */
.product-page {
    padding: 2rem 0;
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 1rem;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-main-image {
    position: relative;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.product-main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.image-zoom {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.image-zoom:hover {
    background: white;
}

.product-thumbnails {
    display: flex;
    gap: 0.5rem;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
    background: white;
    padding: 0;
}

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

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

.product-info {
    display: flex;
    flex-direction: column;
    /*gap: 1.5rem; */
}

.product-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.product-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 1rem;
}

.brand-logo {
    width: 24px;
    height: 24px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    display: flex;
    gap: 2px;
    color: #fbbf24;
}

.rating-text {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.price-old {
    font-size: 1.2rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.price-discount {
    background: var(--error-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
}

.product-stock {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.stock-status.in-stock {
    color: var(--success-color);
}

.stock-status.out-of-stock {
    color: var(--error-color);
}

.stock-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-controls label {
    font-weight: 500;
    color: var(--gray-700);
}

.quantity-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.quantity-btn {
    background: var(--gray-100);
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    font-weight: 600;
}

.quantity-btn:hover {
    background: var(--gray-200);
}

.quantity-wrapper input {
    border: none;
    padding: 0.5rem;
    text-align: center;
    width: 60px;
    font-size: 1rem;
}

.quantity-wrapper input:focus {
    outline: none;
}

.action-buttons {
    display: flex;
    gap: 1rem;
}

.add-to-cart-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
}

.wishlist-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-300);
    background: white;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.2s;
}

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

.wishlist-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.feature svg {
    color: var(--success-color);
}

/* Product Details Tabs */
.product-details {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.details-tabs {
    display: flex;
    border-bottom: 1px solid var(--gray-200);
}

.tab-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: var(--gray-600);
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}

.tab-btn:hover {
    color: var(--gray-900);
    background: var(--gray-50);
}

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

.tab-content {
    padding: 2rem;
}

.tab-pane {
    display: none;
}

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

.tab-pane h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.tab-pane h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    color: var(--gray-800);
}

.tab-pane p {
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tab-pane ul {
    color: var(--gray-700);
    line-height: 1.6;
    padding-left: 1.5rem;
}

.tab-pane li {
    margin-bottom: 0.5rem;
}


@media (max-width: 768px) {
    .product-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-main-image img {
        height: 300px;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .price-current {
        font-size: 1.5rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .details-tabs {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: none;
        min-width: 120px;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .reviews-summary {
        flex-direction: column;
        text-align: center;
    }
}

.empty-cart-content .btn{
  margin-top: 5rem;
}

.empty-cart-content h1{
  margin: 1rem 0 3rem 0;
}


/* For WebKit browsers (Chrome, Safari, Edge, Opera) */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* For Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}
