/* ========== ОБНОВЛЕННАЯ ЦВЕТОВАЯ СХЕМА ========== */
:root {
    --silver-light: #f8f9fa;
    --silver-medium: #e9ecef;
    --silver-dark: #ced4da;
    --orange-primary: #ff6b35;
    --orange-light: #ff8c5a;
    --orange-dark: #e55a2b;
    --blue-primary: #2a5d8a;
    --blue-light: #4a7ca8;
    --blue-dark: #1a476d;
    --text-dark: #343a40;
    --text-light: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --border-radius: 10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== БАЗОВЫЕ СТИЛИ ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--silver-light) 0%, #ffffff 100%);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--orange-primary) 0%, var(--blue-primary) 100%);
    z-index: 1001;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Кастомный скроллбар */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--silver-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--blue-primary) 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--orange-dark) 0%, var(--blue-dark) 100%);
}

::selection {
    background-color: rgba(255, 107, 53, 0.3);
    color: var(--text-dark);
}

/* ========== ШАПКА САЙТА ========== */
.header {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 100%);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--orange-primary);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: var(--transition);
}

.logo a:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.logo-icon img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo a:hover .logo-icon img {
    transform: scale(1.1);
}

/* Фолбэк для случаев, когда изображение не загрузилось */
.logo-icon i {
    color: white;
    font-size: 28px;
}

.logo-icon i.fa-car {
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.2);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.logo-text p {
    font-size: 0.9rem;
    color: var(--silver-medium);
    opacity: 0.9;
}

.header-contacts {
    display: flex;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-item i {
    color: var(--orange-primary);
    font-size: 1.3rem;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    color: var(--silver-medium);
}

.header-contacts a,
.header-contacts span {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.header-contacts a:hover {
    color: var(--orange-primary);
}

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

.btn-login {
    background: transparent;
    border: 2px solid var(--orange-primary);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-login:hover {
    background: var(--orange-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.user-info span {
    font-weight: 500;
}

.cart-icon {
    position: relative;
}

.cart-icon a {
    color: white;
    font-size: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.cart-icon a:hover {
    background: var(--orange-primary);
    transform: rotate(10deg);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--orange-primary);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 3px 8px rgba(255, 107, 53, 0.5);
}

/* ========== НАВИГАЦИЯ ========== */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 10px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-2px);
}

.nav-link i {
    font-size: 1.1rem;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    min-width: 280px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    z-index: 100;
    border-top: 3px solid var(--orange-primary);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: var(--silver-light);
    color: var(--orange-primary);
    border-left-color: var(--orange-primary);
    padding-left: 30px;
}

.dropdown-item i {
    color: var(--blue-primary);
    width: 20px;
    text-align: center;
}

.search-box {
    display: flex;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.search-box:focus-within {
    box-shadow: 0 6px 20px rgba(42, 93, 138, 0.2);
    transform: translateY(-2px);
}

.search-box input {
    border: none;
    padding: 15px 25px;
    background: transparent;
    min-width: 300px;
    font-size: 1rem;
    color: var(--text-dark);
}

.search-box input::placeholder {
    color: var(--text-light);
}

.search-box button {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-light) 100%);
    color: white;
    border: none;
    padding: 0 30px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}

.search-box button:hover {
    background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange-primary) 100%);
    transform: scale(1.05);
}

/* ========== ГЕРОЙ СЕКЦИЯ ========== */
.hero {
    background: linear-gradient(135deg, rgba(42, 93, 138, 0.9) 0%, rgba(26, 71, 109, 0.9) 100%),
                url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, white 0%, var(--silver-medium) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
}

/* ========== КНОПКИ ========== */
.btn {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-light) 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 25px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-primary) 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(42, 93, 138, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 25px rgba(42, 93, 138, 0.4);
}

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

.btn-outline:hover {
    background: white;
    color: var(--blue-dark);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
}

.btn-clear {
    background: var(--silver-medium);
    color: var(--text-dark);
    border: none;
}

.btn-clear:hover {
    background: var(--text-light);
    color: white;
}

.btn-checkout {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-light) 100%);
    color: white;
    border: none;
}

.btn-checkout:hover {
    background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange-primary) 100%);
}

/* ========== СЕКЦИИ ========== */
.main-content {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    color: var(--blue-dark);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--orange-primary) 0%, var(--blue-primary) 100%);
    border-radius: 2px;
}

/* ========== ПРЕИМУЩЕСТВА ========== */
.features {
    padding: 100px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: linear-gradient(145deg, #ffffff, var(--silver-light));
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--silver-medium);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--orange-primary) 0%, var(--blue-primary) 100%);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    background: linear-gradient(135deg, var(--orange-light) 0%, var(--orange-primary) 100%);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--blue-dark);
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ========== КАТЕГОРИИ ========== */
.categories {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--silver-light) 0%, #ffffff 100%);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.category-card {
    border-radius: var(--border-radius);
    padding: 60px 40px;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 350px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.category-card:hover::before {
    background: rgba(0, 0, 0, 0.1);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.category-card.construction {
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-light) 100%);
}

.category-card.auto {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-light) 100%);
}

.category-content {
    position: relative;
    z-index: 2;
}

.category-card h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.category-card p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ========== ТОВАРЫ ========== */
.popular-products {
    padding: 100px 0;
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.product-card {
    background: linear-gradient(145deg, #ffffff, var(--silver-light));
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--silver-medium);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange-primary) 0%, var(--blue-primary) 100%);
}

.product-image {
    height: 220px;
    background: linear-gradient(135deg, var(--silver-light) 0%, var(--silver-medium) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.1) 0%, rgba(42, 93, 138, 0.1) 100%);
}

.product-image i {
    font-size: 4rem;
    color: var(--blue-primary);
    opacity: 0.7;
    position: relative;
    z-index: 2;
}

.product-info {
    padding: 25px;
}

.product-category {
    color: var(--orange-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-name {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--blue-dark);
    line-height: 1.4;
}

.product-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
    height: 60px;
    overflow: hidden;
    line-height: 1.6;
}

.product-manufacturer {
    margin: 10px 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.product-manufacturer small {
    font-size: 0.85rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--orange-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-price::before {
    content: '₽';
    font-size: 1.2rem;
    opacity: 0.8;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn-add-to-cart {
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-light) 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-add-to-cart:hover {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(42, 93, 138, 0.3);
}

.btn-favorite {
    background: transparent;
    border: 2px solid var(--silver-dark);
    color: var(--silver-dark);
    width: 45px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-favorite:hover {
    border-color: var(--orange-primary);
    color: var(--orange-primary);
    transform: scale(1.1);
}

/* ========== ХЛЕБНЫЕ КРОШКИ ========== */
.page-header {
    margin: 40px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--silver-medium);
}

.page-header h1 {
    color: var(--blue-dark);
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.breadcrumbs {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 10px;
}

.breadcrumbs a {
    color: var(--orange-primary);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--orange-dark);
    text-decoration: underline;
}

.breadcrumbs span {
    color: var(--text-light);
}

/* ========== КАТАЛОГ ========== */
.catalog-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin: 40px 0;
}

@media (max-width: 992px) {
    .catalog-container {
        grid-template-columns: 1fr;
    }
}

.catalog-sidebar {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--silver-medium);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.catalog-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--silver-medium);
}

.sidebar-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--silver-medium);
}

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

.sidebar-section h3 {
    color: var(--blue-dark);
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-section h3::before {
    content: '';
    width: 5px;
    height: 20px;
    background: var(--orange-primary);
    border-radius: 2px;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 8px;
}

.category-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    background: var(--silver-light);
}

.category-list a:hover,
.category-list a.active {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-light) 100%);
    color: white;
    transform: translateX(5px);
}

.category-list a i {
    font-size: 0.9rem;
}

.price-filter {
    margin-top: 15px;
}

.price-filter input[type="range"] {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    background: var(--silver-medium);
    border-radius: 3px;
    outline: none;
}

.price-filter input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--orange-primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(255, 107, 53, 0.3);
}

.price-values {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.manufacturers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.manufacturers label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.manufacturers label:hover {
    color: var(--orange-primary);
    transform: translateX(5px);
}

.manufacturers input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--orange-primary);
}

.catalog-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--silver-medium);
}

.sorting {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sorting label {
    color: var(--blue-dark);
    font-weight: 600;
}

.sorting select {
    padding: 12px 20px;
    border: 2px solid var(--silver-medium);
    border-radius: 8px;
    background: white;
    color: var(--text-dark);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    min-width: 200px;
}

.sorting select:focus {
    outline: none;
    border-color: var(--orange-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.view-toggle {
    display: flex;
    gap: 10px;
}

.view-btn {
    width: 45px;
    height: 45px;
    border: 2px solid var(--silver-medium);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
}

.view-btn.active {
    border-color: var(--orange-primary);
    color: var(--orange-primary);
    background: rgba(255, 107, 53, 0.1);
}

.view-btn:hover:not(.active) {
    border-color: var(--blue-light);
    color: var(--blue-light);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--silver-medium);
}

.page-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    border: 2px solid var(--silver-medium);
    background: white;
    transition: var(--transition);
    font-weight: 600;
}

.page-link.active {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-light) 100%);
    color: white;
    border-color: transparent;
    transform: scale(1.1);
}

.page-link:not(.active):hover {
    border-color: var(--blue-light);
    color: var(--blue-light);
    transform: translateY(-2px);
}

.page-link.next {
    width: auto;
    padding: 0 20px;
    background: var(--blue-primary);
    color: white;
    border-color: var(--blue-primary);
}

.page-link.next:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
}

/* ========== КОРЗИНА ========== */
.cart-container {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--silver-medium);
}

.cart-empty {
    text-align: center;
    padding: 60px 40px;
}

.cart-empty i {
    font-size: 5rem;
    color: var(--silver-dark);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--silver-light) 0%, var(--silver-medium) 100%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.cart-empty h2 {
    color: var(--blue-dark);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

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

.cart-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 0.5fr;
    padding: 20px;
    background: linear-gradient(135deg, var(--silver-light) 0%, white 100%);
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--blue-dark);
    border: 1px solid var(--silver-medium);
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 0.5fr;
    align-items: center;
    padding: 25px 20px;
    border-bottom: 1px solid var(--silver-medium);
    transition: var(--transition);
}

.cart-item:hover {
    background: var(--silver-light);
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-item-image img{
    width: 200px;
    height: auto;
    background: linear-gradient(135deg, var(--silver-light) 0%, var(--silver-medium) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--blue-primary);
}

.cart-item-details h4 {
    color: var(--blue-dark);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.cart-item-price {
    color: var(--orange-primary);
    font-weight: 600;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    border: 2px solid var(--silver-medium);
    background: white;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.quantity-btn:hover {
    border-color: var(--orange-primary);
    color: var(--orange-primary);
    transform: scale(1.1);
}

.cart-item-quantity input {
    width: 60px;
    text-align: center;
    padding: 8px;
    border: 2px solid var(--silver-medium);
    border-radius: 6px;
    font-size: 1rem;
    color: var(--text-dark);
    background: white;
    transition: var(--transition);
}

.cart-item-quantity input:focus {
    outline: none;
    border-color: var(--orange-primary);
}

.cart-item-total {
    text-align: center;
    font-weight: 700;
    color: var(--orange-primary);
    font-size: 1.1rem;
}

.cart-item-remove {
    text-align: center;
}

.btn-remove {
    background: transparent;
    border: none;
    color: var(--silver-dark);
    cursor: pointer;
    font-size: 1.3rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-remove:hover {
    color: var(--danger-color);
    background: rgba(220, 53, 69, 0.1);
    transform: rotate(90deg);
}

.cart-summary {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--silver-medium);
    text-align: right;
}

.cart-total {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 20px 0 30px;
    color: var(--blue-dark);
}

.cart-total span {
    color: var(--orange-primary);
    margin-left: 10px;
}

.cart-actions {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.cart-recommendations {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, var(--silver-light) 0%, white 100%);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--silver-medium);
}

.cart-recommendations h3 {
    color: var(--blue-dark);
    margin-bottom: 30px;
    font-size: 1.5rem;
    text-align: center;
}

/* ========== ЛИЧНЫЙ КАБИНЕТ ========== */
.account-container {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    min-height: 500px;
    overflow: hidden;
    border: 1px solid var(--silver-medium);
}

.auth-required {
    text-align: center;
    padding: 60px 20px;
}

.auth-required-icon {
    font-size: 4rem;
    color: var(--silver-dark);
    margin-bottom: 20px;
}

.auth-required h2 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.auth-link {
    margin-top: 20px;
    color: var(--gray-color);
}

.auth-link a {
    color: var(--accent-color);
    text-decoration: none;
}

.account-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    padding: 30px;
}

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

.account-sidebar {
    border-right: 1px solid var(--silver-medium);
    padding-right: 30px;
}

@media (max-width: 768px) {
    .account-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--silver-medium);
        padding-right: 0;
        padding-bottom: 30px;
    }
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.user-avatar {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--orange-light) 0%, var(--orange-primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.account-menu ul {
    list-style: none;
    margin-bottom: 30px;
}

.account-menu li {
    margin-bottom: 10px;
}

.account-menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.account-menu-link:hover,
.account-menu-link.active {
    background: var(--silver-light);
    color: var(--orange-primary);
    border-left-color: var(--orange-primary);
}

.btn-logout {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--orange-primary);
    color: var(--orange-primary);
    border-radius: var(--border-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    font-weight: 600;
}

.btn-logout:hover {
    background: var(--orange-primary);
    color: white;
}

.tab-content {
    display: none;
}

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

.profile-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--silver-medium);
}

.profile-section h3 {
    color: var(--blue-dark);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

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

.info-item label {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.info-value {
    font-weight: 500;
    color: var(--text-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.stat-card {
    background: var(--silver-light);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--silver-medium);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--orange-primary);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-dark);
    font-weight: 500;
}

.profile-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: var(--silver-dark);
    margin-bottom: 20px;
}

.empty-state h3 {
    margin-bottom: 10px;
    color: var(--blue-dark);
}

.orders-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background: white;
    border: 1px solid var(--silver-medium);
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-dark);
}

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

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card {
    background: white;
    border: 1px solid var(--silver-medium);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.order-card:hover {
    box-shadow: var(--shadow);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--silver-light);
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.order-number {
    font-weight: bold;
    color: var(--blue-dark);
}

.order-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.order-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.order-status.completed {
    background-color: rgba(40, 167, 69, 0.1);
    color: #155724;
}

.order-status.processing {
    background-color: rgba(255, 193, 7, 0.1);
    color: #856404;
}

.order-items {
    padding: 20px;
}

.order-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 10px 0;
    border-bottom: 1px solid var(--silver-medium);
}

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

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-top: 1px solid var(--silver-medium);
}

.order-total {
    font-size: 1.2rem;
    color: var(--blue-dark);
}

.order-actions {
    display: flex;
    gap: 10px;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.favorite-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px;
    padding: 20px;
    background: white;
    border: 1px solid var(--silver-medium);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.favorite-item:hover {
    box-shadow: var(--shadow);
}

.favorite-item-image {
    background: var(--silver-light);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--blue-primary);
}

.favorite-item-info h4 {
    margin-bottom: 10px;
    color: var(--blue-dark);
}

.item-price {
    color: var(--orange-primary);
    font-weight: bold;
    margin-bottom: 15px;
}

.item-actions {
    display: flex;
    gap: 10px;
}

.addresses-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.address-card {
    background: white;
    border: 1px solid var(--silver-medium);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--transition);
}

.address-card:hover {
    box-shadow: var(--shadow);
}

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

.address-header h3 {
    color: var(--blue-dark);
    margin: 0;
}

.btn-edit {
    background: none;
    border: none;
    color: var(--orange-primary);
    cursor: pointer;
    font-size: 1.2rem;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-section {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--silver-medium);
}

.form-section h3 {
    color: var(--blue-dark);
    margin-bottom: 15px;
}

.settings-option {
    margin-bottom: 15px;
}

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

.checkbox-label input {
    margin: 0;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.support-card {
    text-align: center;
    padding: 30px;
    background: white;
    border: 1px solid var(--silver-medium);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.support-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.support-icon {
    font-size: 2.5rem;
    color: var(--orange-primary);
    margin-bottom: 20px;
}

.support-card h3 {
    margin-bottom: 10px;
    color: var(--blue-dark);
}

.support-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.tickets-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0 30px;
}

.ticket-card {
    background: white;
    border: 1px solid var(--silver-medium);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--transition);
}

.ticket-card:hover {
    box-shadow: var(--shadow);
}

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

.ticket-id {
    font-weight: bold;
    color: var(--blue-dark);
}

.ticket-status {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.ticket-status.resolved {
    background-color: rgba(40, 167, 69, 0.1);
    color: #155724;
}

.ticket-status.in-progress {
    background-color: rgba(255, 193, 7, 0.1);
    color: #856404;
}

.ticket-subject {
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--blue-dark);
}

.ticket-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ========== СТРАНИЦА "О КОМПАНИИ" ========== */
.about-container {
    background: white;
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: var(--shadow);
    border: 1px solid var(--silver-medium);
}

.about-hero {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--silver-medium);
}

.about-hero h2 {
    color: var(--blue-dark);
    margin-bottom: 20px;
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--orange-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero p {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.about-content {
    margin-top: 40px;
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .about-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.about-text h3 {
    color: var(--blue-dark);
    margin-bottom: 20px;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 10px;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--orange-primary);
    border-radius: 2px;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-image {
    text-align: center;
    font-size: 8rem;
    color: var(--silver-light);
    background: linear-gradient(135deg, var(--silver-light) 0%, white 100%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.stat-card {
    background: white;
    padding: 40px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--silver-medium);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--orange-primary) 0%, var(--blue-primary) 100%);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--blue-dark);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1.1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--silver-medium);
    position: relative;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--orange-primary);
}

.value-icon {
    font-size: 3rem;
    color: var(--orange-primary);
    margin-bottom: 25px;
    background: rgba(255, 107, 53, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.value-card h4 {
    margin-bottom: 15px;
    color: var(--blue-dark);
    font-size: 1.3rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
    background: white;
    border: 1px solid var(--silver-medium);
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.partner-card:hover {
    border-color: var(--orange-primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.partner-card i {
    font-size: 2.5rem;
    color: var(--blue-primary);
    margin-bottom: 15px;
    background: rgba(42, 93, 138, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-card span {
    color: var(--blue-dark);
    font-weight: 600;
    font-size: 1.1rem;
}

/* ========== СТРАНИЦА "КОНТАКТЫ" ========== */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.contact-info-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--silver-medium);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--orange-primary);
    margin-bottom: 20px;
}

.contact-info-card h3 {
    margin-bottom: 15px;
    color: var(--blue-dark);
}

.contact-note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 10px;
}

.contact-form-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .contact-form-section {
        grid-template-columns: 1fr;
    }
}

.form-container {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--silver-medium);
}

.form-container h2 {
    margin-bottom: 10px;
    color: var(--blue-dark);
}

.form-container > p {
    color: var(--text-light);
    margin-bottom: 25px;
}

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

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--blue-dark);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--silver-medium);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: var(--transition);
    color: var(--text-dark);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

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

.map-container {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--silver-medium);
}

.map-container h2 {
    margin-bottom: 20px;
    color: var(--blue-dark);
}

.map-placeholder {
    background: var(--silver-light);
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    margin-top: 20px;
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--silver-dark);
    margin-bottom: 20px;
}

.map-address {
    margin-top: 20px;
    text-align: left;
    padding: 0 20px;
}

.map-address p {
    margin-bottom: 8px;
}

.departments-section {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--silver-medium);
}

.departments-section h2 {
    margin-bottom: 20px;
    color: var(--blue-dark);
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.department-card {
    padding: 20px;
    border: 1px solid var(--silver-medium);
    border-radius: var(--border-radius);
    transition: var(--transition);
    background: white;
}

.department-card:hover {
    border-color: var(--orange-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.department-card h3 {
    margin-bottom: 15px;
    color: var(--blue-dark);
    font-size: 1.1rem;
}

.department-card p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.department-card i {
    color: var(--orange-primary);
    width: 20px;
}

/* ========== ЮРИДИЧЕСКИЕ СТРАНИЦЫ ========== */
.legal-page {
    background: white;
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: var(--shadow);
    border: 1px solid var(--silver-medium);
}

.legal-section {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--silver-medium);
}

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

.legal-section h2 {
    color: var(--blue-dark);
    margin-bottom: 25px;
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.legal-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--orange-primary) 0%, var(--blue-primary) 100%);
    border-radius: 2px;
}

.legal-section h3 {
    color: var(--blue-dark);
    margin: 25px 0 15px;
    font-size: 1.3rem;
}

.legal-section p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.legal-section ul,
.legal-section ol {
    padding-left: 25px;
    margin: 15px 0;
}

.legal-section li {
    margin-bottom: 10px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Стили для таблиц в юридических страницах */
.warranty-table,
.payment-methods-list,
.return-reasons {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

.warranty-row,
.payment-method-card,
.reason-card {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    padding: 15px;
    border-bottom: 1px solid var(--silver-medium);
}

.warranty-row.header {
    background: var(--silver-light);
    font-weight: bold;
    color: var(--blue-dark);
}

.warranty-cell {
    padding: 10px;
}

/* Стили для FAQ */
.faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--silver-medium);
}

.faq-item h3 {
    color: var(--blue-dark);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Стили для шагов */
.steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-light) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.step-content h3 {
    margin-bottom: 10px;
    color: var(--blue-dark);
    font-size: 1.2rem;
}

/* Стили для карточек в юридических страницах */
.payment-method-card,
.reason-card,
.method-card,
.document-card,
.process-step {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--silver-medium);
    margin-bottom: 20px;
    transition: var(--transition);
}

.payment-method-card:hover,
.reason-card:hover,
.method-card:hover,
.document-card:hover,
.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.payment-icon,
.reason-icon,
.method-icon {
    font-size: 2.5rem;
    color: var(--orange-primary);
    margin-bottom: 15px;
}

.payment-content h3,
.reason-content h3,
.method-card h3,
.document-card h3,
.process-step h3 {
    color: var(--blue-dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.payment-cards {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    font-size: 1.8rem;
}

.payment-cards i {
    color: var(--text-light);
    transition: var(--transition);
}

.payment-cards i:hover {
    color: var(--orange-primary);
}

.security-notice,
.warranty-notice,
.notice.info {
    background: linear-gradient(135deg, var(--silver-light) 0%, white 100%);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border-left: 4px solid var(--orange-primary);
}

.security-notice i,
.warranty-notice i,
.notice.info i {
    color: var(--orange-primary);
    font-size: 1.5rem;
    margin-top: 3px;
}

.non-returnable-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 20px 0;
}

.non-returnable-category {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--silver-medium);
}

.non-returnable-category h3 {
    color: var(--blue-dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--silver-medium);
}

.return-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.documents-required {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.return-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.refund-info {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 20px 0;
    border: 1px solid var(--silver-medium);
}

.refund-info h3 {
    color: var(--blue-dark);
    margin: 20px 0 10px;
}

.refund-info ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.refund-info li {
    margin-bottom: 8px;
    color: var(--text-light);
}

.manufacturers-warranty {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.contact-info {
    background: linear-gradient(135deg, var(--silver-light) 0%, white 100%);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-top: 40px;
    border: 1px solid var(--silver-medium);
}

.contact-info h3 {
    color: var(--blue-dark);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.contact-info i {
    color: var(--orange-primary);
    font-size: 1.1rem;
    width: 25px;
}

/* ========== ПОДВАЛ ========== */
.footer {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 100%);
    color: white;
    padding: 80px 0 30px;
    margin-top: 80px;
    border-top: 3px solid var(--orange-primary);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

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

.footer-col {
    position: relative;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    padding: 8px;
    object-fit: contain;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--orange-primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--orange-primary);
    padding-left: 5px;
}

.footer-links a i {
    width: 20px;
    color: var(--orange-primary);
    font-size: 0.9rem;
}

.footer-contacts p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contacts i {
    color: var(--orange-primary);
    width: 20px;
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom-left p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.legal-links a:hover {
    color: var(--orange-primary);
}

.payment-methods {
    display: flex;
    gap: 15px;
    font-size: 1.8rem;
}

.payment-methods i {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.payment-methods i:hover {
    color: var(--orange-primary);
    transform: translateY(-2px);
}

/* ========== УВЕДОМЛЕНИЯ ========== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 18px 25px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    z-index: 3000;
    animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 400px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--silver-medium);
}

.notification::before {
    content: '';
    width: 5px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 10px 0 0 10px;
}

.notification.success {
    border-left: 5px solid var(--success-color);
}

.notification.success i {
    color: var(--success-color);
}

.notification.info {
    border-left: 5px solid var(--blue-primary);
}

.notification.info i {
    color: var(--blue-primary);
}

.notification.warning {
    border-left: 5px solid var(--warning-color);
}

.notification.warning i {
    color: var(--warning-color);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ========== АНИМАЦИЯ ПОЯВЛЕНИЯ ЭЛЕМЕНТОВ ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card,
.feature-card,
.category-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 1200px) {
    .hero-content h2 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .header-contacts {
        display: none;
    }

    .search-box input {
        min-width: 200px;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .catalog-container {
        grid-template-columns: 1fr;
    }

    .catalog-sidebar {
        order: 2;
    }

    .payment-method-card,
    .reason-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-wrap: wrap;
        gap: 15px;
    }

    .main-nav {
        flex-direction: column;
        gap: 20px;
    }

    .search-box input {
        min-width: 150px;
    }

    .hero {
        padding: 70px 0;
    }

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

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

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

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .cart-header,
    .cart-item,
    .order-footer,
    .order-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cart-item-info {
        flex-direction: column;
        text-align: center;
    }

    .cart-actions,
    .order-actions,
    .profile-actions {
        flex-direction: column;
    }

    .logo-icon {
        width: 50px;
        height: 50px;
        margin-right: 10px;
    }

    .logo-text h1 {
        font-size: 1.5rem;
    }

    .logo-text p {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

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

    .nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .catalog-tools {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

/* ========== СПЕЦИАЛЬНЫЕ ЭФФЕКТЫ ========== */
.gradient-text {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--blue-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow {
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
    transition: var(--transition);
}

.glow:hover {
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.5);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 107, 53, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.shine-text {
    position: relative;
    background: linear-gradient(90deg, var(--orange-primary), var(--blue-primary), var(--orange-primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 3s linear infinite;
}

.hover-border {
    position: relative;
}

.hover-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: inherit;
    transition: var(--transition);
}

.hover-border:hover::before {
    border-color: var(--orange-primary);
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.shimmer-bg {
    background: linear-gradient(90deg,
        var(--silver-light) 0%,
        white 25%,
        var(--silver-light) 50%,
        white 75%,
        var(--silver-light) 100%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite linear;
}

/* ========== УТИЛИТАРНЫЕ КЛАССЫ ========== */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.p-20 {
    padding: 20px;
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-10 {
    gap: 10px;
}

.gap-20 {
    gap: 20px;
}

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

.hidden {
    display: none;
}

.error {
    color: var(--danger-color);
    font-size: 0.9rem;
    margin-top: 5px;
}

.success {
    color: var(--success-color);
    font-size: 0.9rem;
    margin-top: 5px;
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 20px;
    margin-left: 10px;
}

.badge-new {
    background-color: var(--blue-primary);
    color: white;
}

.badge-sale {
    background-color: var(--orange-primary);
    color: white;
}

.badge-hit {
    background-color: var(--success-color);
    color: white;
}

.product-card.sale .product-price {
    color: var(--orange-primary);
}

.product-card.sale .old-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-right: 10px;
}

/* ========== МАРКИ АВТОМОБИЛЕЙ ========== */
.auto-brands {
    margin-top: 40px;
    padding: 30px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--silver-medium);
}

.auto-brands h3 {
    color: var(--blue-dark);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5rem;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border: 1px solid var(--silver-medium);
    border-radius: var(--border-radius);
    transition: var(--transition);
    background: white;
}

.brand-card:hover {
    border-color: var(--orange-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.brand-card i {
    font-size: 2rem;
    color: var(--blue-primary);
    margin-bottom: 10px;
}

/* ========== ПОДСКАЗКИ ========== */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.tooltip-text {
    visibility: hidden;
    width: 200px;
    background: var(--blue-dark);
    color: white;
    text-align: center;
    padding: 8px;
    border-radius: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.9rem;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* ========== ПРОГРЕСС-БАР ========== */
.progress-bar {
    height: 10px;
    background-color: var(--silver-light);
    border-radius: 5px;
    overflow: hidden;
    margin: 15px 0;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--orange-primary) 0%, var(--blue-primary) 100%);
    border-radius: 5px;
    transition: width 0.3s ease;
}

/* ========== ПЕРЕКЛЮЧАТЕЛИ ========== */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--silver-dark);
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--orange-primary);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* ========== ИНДИКАТОР ЗАГРУЗКИ ========== */
.loader {
    border: 4px solid var(--silver-light);
    border-top: 4px solid var(--orange-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

/* ========== ЗВЕЗДНЫЙ РЕЙТИНГ ========== */
.rating {
    display: flex;
    gap: 2px;
    margin: 10px 0;
}

.rating i {
    color: var(--silver-dark);
    font-size: 0.9rem;
}

.rating i.active {
    color: #f39c12;
}

/* ========== ТЕГИ ========== */
.tag {
    display: inline-block;
    padding: 3px 10px;
    background-color: var(--silver-light);
    color: var(--blue-dark);
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 5px;
    margin-bottom: 5px;
    transition: var(--transition);
}

.tag:hover {
    background-color: var(--orange-primary);
    color: white;
}

/* ========== ТАБЛИЦЫ ========== */
.table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--silver-medium);
}

.table th,
.table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--silver-medium);
}

.table th {
    background: linear-gradient(135deg, var(--silver-light) 0%, var(--silver-medium) 100%);
    font-weight: 600;
    color: var(--blue-dark);
}

.table tr:hover {
    background-color: var(--silver-light);
}

/* ========== СПИСОК ПРЕИМУЩЕСТВ ========== */
.benefits-list {
    list-style: none;
}

.benefits-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ========== ФОРМЫ С ИКОНКАМИ ========== */
.form-group.with-icon {
    position: relative;
}

.form-group.with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.form-group.with-icon input {
    padding-left: 45px;
}

.form-group.with-icon input:focus + i {
    color: var(--orange-primary);
}

/* ========== АККОРДЕОН ========== */
.accordion-item {
    border: 1px solid var(--silver-medium);
    border-radius: var(--border-radius);
    margin-bottom: 10px;
    overflow: hidden;
    background: white;
}

.accordion-header {
    padding: 15px 20px;
    background: var(--silver-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: var(--blue-dark);
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--silver-medium);
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 15px 20px;
    max-height: 500px;
}

.accordion-item.active .accordion-header {
    background: var(--orange-primary);
    color: white;
}

/* ========== ВОЛНОВОЙ ЭФФЕКТ ========== */
.btn-wave {
    position: relative;
    overflow: hidden;
}

.btn-wave::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn-wave:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(40, 40);
        opacity: 0;
    }
}

/* ========== ЭФФЕКТ ПАРАЛЛАКСА ========== */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ========== АНИМАЦИЯ ПОЯВЛЕНИЯ ПРИ СКРОЛЛЕ ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========== 3D ЭФФЕКТ ДЛЯ КАРТОЧЕК ========== */
.card-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-3d:hover {
    transform: rotateY(5deg) rotateX(5deg);
}

/* ========== ГРАДИЕНТНЫЙ БОРДЕР ========== */
.gradient-border {
    position: relative;
    background: white;
    border-radius: var(--border-radius);
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--blue-primary) 100%);
    border-radius: calc(var(--border-radius) + 2px);
    z-index: -1;
}

/* ========== ПЛАВАЮЩАЯ КНОПКА ========== */
.float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-light) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
    cursor: pointer;
    z-index: 999;
    transition: var(--transition);
}

.float-btn:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.5);
}

/* ========== СЕТКА БЕЗ ГАПОВ ========== */
.grid-no-gap {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    margin: -10px;
}

.grid-no-gap > * {
    margin: 10px;
}

/* ========== ТЕКСТ С ТЕНЬЮ ========== */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* ========== КАРТИНКА С НАЛОЖЕНИЕМ ========== */
.image-overlay {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.image-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.3) 0%, rgba(42, 93, 138, 0.3) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.image-overlay:hover::before {
    opacity: 1;
}

.image-overlay img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.image-overlay:hover img {
    transform: scale(1.1);
}

/* ========== РАЗДЕЛИТЕЛЬ ========== */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--silver-medium), transparent);
    margin: 30px 0;
}

/* ========== ИКОНКА С БАДЖЕМ ========== */
.icon-badge {
    position: relative;
    display: inline-block;
}

.icon-badge .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    padding: 0 6px;
}

/* ========== ПОЛОСА ЗАГРУЗКИ ========== */
.loading-bar {
    width: 100%;
    height: 4px;
    background: var(--silver-light);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    background: linear-gradient(90deg, var(--orange-primary) 0%, var(--blue-primary) 100%);
    animation: loading 1.5s infinite ease-in-out;
}

@keyframes loading {
    0% { left: -50%; }
    100% { left: 100%; }
}

/* ========== КАРТОЧКА С ИЗОБРАЖЕНИЕМ НА ФОНЕ ========== */
.card-bg-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.card-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.card-bg-image > * {
    position: relative;
    z-index: 2;
}

/* ========== ГРИД С РАВНЫМИ ВЫСОТАМИ ========== */
.equal-height {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.equal-height > * {
    height: 100%;
}

/* ========== КАРТОЧКА С ВЫДЕЛЕНИЕМ ========== */
.highlight-card {
    position: relative;
    border: 2px solid transparent;
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.highlight-card:hover {
    border-color: var(--orange-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.highlight-card.featured::before {
    content: '★';
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--orange-primary);
    font-size: 1.2rem;
}

/* ========== МОДАЛЬНОЕ ОКНО (БАЗОВЫЕ СТИЛИ) ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal.active {
    display: flex;
}

.modal-content {
    background: linear-gradient(145deg, #ffffff, var(--silver-light));
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 450px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    overflow: hidden;
    border: 1px solid var(--silver-medium);
}

@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

.modal-header {
    padding: 30px;
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-dark) 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--orange-primary);
}

.modal-header h3 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

.modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--orange-primary);
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
}

/* ========== КОНЕЦ СТИЛЕЙ ========== */


/* ========== МОДАЛЬНОЕ ОКНО ОФОРМЛЕНИЯ ЗАКАЗА ========== */
