*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --primary: #f5a623;
    --primary-dark: #e09000;
    --accent: #00a8e8;
    --accent-dark: #0088c2;
    --dark: #1b2838;
    --dark-light: #2d3d50;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
    --white: #fff;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
    --transition: .2s ease;
}
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif; color: var(--gray-900); background: var(--gray-50); min-height: 100vh; display: flex; flex-direction: column; line-height: 1.6; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; width: 100%; }

.top-bar { background: var(--gray-900); color: var(--gray-400); font-size: .8rem; padding: 6px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: var(--gray-300); }
.top-bar a:hover { color: var(--white); }
.top-bar__auth { display: flex; gap: 16px; }

.header { background: var(--white); box-shadow: var(--shadow-md); position: sticky; top: 0; z-index: 100; }
.header__inner { display: flex; align-items: center; height: 70px; gap: 20px; }
.header__logo { font-size: 1.6rem; font-weight: 800; color: var(--dark); letter-spacing: -0.5px; flex-shrink: 0; }
.header__logo span { color: var(--primary); }
.header__logo:hover { color: var(--dark); }
.header__search { flex: 1; max-width: 600px; }
.header__search form { display: flex; border: 2px solid var(--gray-200); border-radius: 50px; overflow: hidden; transition: border-color var(--transition); }
.header__search form:focus-within { border-color: var(--accent); }
.header__search input { flex: 1; padding: 10px 20px; border: none; font-size: .95rem; outline: none; min-width: 0; }
.header__search button { padding: 10px 24px; background: var(--accent); color: var(--white); border: none; font-weight: 600; font-size: .9rem; cursor: pointer; transition: background var(--transition); }
.header__search button:hover { background: var(--accent-dark); }
.header__actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header__cart-icon { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
.header__cart-icon svg { width: 28px; height: 28px; fill: var(--dark); transition: fill var(--transition); }
.header__cart-icon:hover svg { fill: var(--accent); }
.cart-badge { position: absolute; top: 2px; right: 0; background: var(--primary); color: var(--dark); font-size: .65rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.header__burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; order: -1; flex-direction: column; gap: 5px; }
.header__burger span { display: block; width: 26px; height: 3px; background: var(--dark); border-radius: 2px; transition: .3s; }

.mobile-nav { display: none; }

.catalog-bar { background: var(--dark); z-index: 90; }
.catalog-bar .container { display: flex; align-items: center; height: 50px; }
.catalog-btn { display: flex; align-items: center; gap: 10px; padding: 0 24px; height: 100%; background: var(--accent); color: var(--white); font-weight: 600; font-size: .95rem; cursor: pointer; border: none; transition: background var(--transition); }
.catalog-btn:hover { background: var(--accent-dark); }
.catalog-btn svg { width: 20px; height: 20px; fill: currentColor; }
.catalog-btn .arrow { font-size: .7rem; transition: transform .3s; }
.catalog-btn.active .arrow { transform: rotate(180deg); }

.mega-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 190; }
.mega-menu { position: fixed; left: 50%; transform: translateX(-50%); width: 900px; max-width: 95vw; background: var(--white); border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-lg); border-top: 3px solid var(--accent); z-index: 200; }
.mega-menu__inner { display: flex; min-height: 200px; }
.mega-menu__list { width: 300px; border-right: 1px solid var(--gray-200); padding: 8px 0; overflow-y: auto; max-height: 460px; flex-shrink: 0; }
.mega-menu__item { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; cursor: pointer; transition: background var(--transition); }
.mega-menu__item:hover, .mega-menu__item.active { background: var(--gray-50); }
.mega-menu__item-link { color: var(--gray-700); font-size: .9rem; text-decoration: none; flex: 1; }
.mega-menu__item:hover .mega-menu__item-link, .mega-menu__item.active .mega-menu__item-link { color: var(--accent); }
.mega-menu__item-meta { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.mega-menu__item-count { font-size: .75rem; color: var(--accent); font-weight: 600; }
.mega-menu__item-arrow { color: var(--gray-300); font-size: .6rem; }
.mega-menu__right { flex: 1; min-width: 0; }
.mega-menu__sub { padding: 20px 24px; display: none; }
.mega-menu__sub.active { display: block; }
.mega-menu__sub--empty { display: none; }
.mega-menu__sub--empty.active { display: block; }
.mega-menu__sub h3 { font-size: 1rem; color: var(--dark); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); }
.mega-menu__sub-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 12px; }
.mega-menu__sub-item { display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; color: var(--gray-600); font-size: .88rem; border-radius: 6px; transition: all var(--transition); text-decoration: none; }
.mega-menu__sub-item:hover { background: var(--gray-50); color: var(--accent); }
.mega-menu__sub-count { color: var(--accent); font-weight: 600; font-size: .78rem; }

.hero { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%); color: var(--white); padding: 50px 0; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; right: -100px; top: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(245,166,35,.15) 0%, transparent 70%); }
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
.hero p { font-size: 1.1rem; color: var(--gray-400); }

.section { padding: 48px 0; }
.section__title { text-align: center; font-size: 1.5rem; font-weight: 700; margin-bottom: 32px; color: var(--dark); }
.section__title::after { content: ''; display: block; width: 60px; height: 3px; background: var(--primary); margin: 12px auto 0; border-radius: 2px; }

.vehicle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.vehicle-card { background: var(--white); border: 2px solid var(--gray-200); border-radius: var(--radius-lg); padding: 24px 16px; text-align: center; transition: all .3s; cursor: pointer; display: block; }
.vehicle-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.vehicle-card__img { width: 120px; height: 80px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; }
.vehicle-card__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.vehicle-card__img .no-img { font-size: 2.5rem; }
.vehicle-card__name { font-weight: 600; color: var(--accent); font-size: .95rem; }

.main { flex: 1; }

.catalog-layout { display: flex; gap: 28px; padding: 28px 0; }
.catalog-sidebar { width: 280px; flex-shrink: 0; }
.catalog-content { flex: 1; min-width: 0; }

.sidebar-cats { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.sidebar-cats__header { background: var(--dark); color: var(--white); padding: 14px 20px; font-size: 1rem; font-weight: 600; }
.sidebar-cats ul { list-style: none; }
.sidebar-cats > ul { padding: 8px 0; }
.sidebar-cats li { border-bottom: 1px solid var(--gray-100); }
.sidebar-cats li:last-child { border: none; }
.sidebar-cats a { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; font-size: .9rem; color: var(--gray-700); transition: all var(--transition); }
.sidebar-cats a:hover, .sidebar-cats a.active { background: var(--gray-50); color: var(--accent); padding-left: 24px; }
.sidebar-cats a .count { font-size: .8rem; color: var(--accent); font-weight: 600; }
.sidebar-cats .sub { padding-left: 0; }
.sidebar-cats .sub a { padding-left: 36px; font-size: .85rem; }
.sidebar-cats .sub a:hover, .sidebar-cats .sub a.active { padding-left: 40px; }

.search-bar { margin-bottom: 24px; }
.search-bar form { display: flex; gap: 8px; }
.search-bar input { flex: 1; padding: 12px 18px; border: 2px solid var(--gray-200); border-radius: 50px; font-size: .95rem; transition: border-color var(--transition); }
.search-bar input:focus { outline: none; border-color: var(--accent); }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.product-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; transition: all .3s; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-card__img { aspect-ratio: 1; background: var(--gray-100); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .product-card__img img { transform: scale(1.05); }
.product-card__img .no-img { color: var(--gray-400); font-size: .85rem; }
.product-card__body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-card__name { font-size: .95rem; font-weight: 600; margin-bottom: 4px; color: var(--gray-900); line-height: 1.3; }
.product-card__code { font-size: .8rem; color: var(--gray-400); margin-bottom: 12px; }
.product-card__stock { margin-bottom: 8px; }
.product-card__bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-card__price { font-size: 1.15rem; font-weight: 700; color: var(--dark); }
.product-card__price small { font-size: .75rem; color: var(--gray-400); font-weight: 400; }

.product-detail { display: flex; gap: 40px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 32px; }
.product-detail__img { width: 450px; flex-shrink: 0; aspect-ratio: 1; background: var(--gray-100); border-radius: var(--radius); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.product-detail__img img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__info { flex: 1; }
.product-detail__info h1 { font-size: 1.6rem; margin-bottom: 16px; line-height: 1.3; }
.product-detail__code { color: var(--gray-400); font-size: .9rem; margin-bottom: 20px; display: inline-block; background: var(--gray-100); padding: 4px 12px; border-radius: 20px; }
.product-detail__price { font-size: 2rem; font-weight: 700; color: var(--dark); margin-bottom: 24px; }
.product-detail__price small { font-size: 1rem; color: var(--gray-400); font-weight: 400; }
.product-detail__stock { margin-bottom: 16px; }
.stock-badge { display: inline-block; padding: 5px 14px; border-radius: 20px; font-size: .85rem; font-weight: 600; }
.stock-badge--in { background: #d1fae5; color: #065f46; }
.stock-badge--out { background: #fee2e2; color: #991b1b; }
.product-detail__marketplaces { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.btn--marketplace { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius); font-weight: 600; font-size: .95rem; color: var(--white); transition: all var(--transition); }
.btn--ozon { background: #005bff; }
.btn--ozon:hover { background: #0047cc; color: var(--white); }
.btn--wb { background: #cb11ab; }
.btn--wb:hover { background: #a00e8a; color: var(--white); }

.product-detail__desc { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--gray-200); }
.product-detail__desc h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--dark); }
.product-detail__desc div { font-size: .95rem; color: var(--gray-600); line-height: 1.7; }
.product-detail__actions { display: flex; gap: 12px; }
.analogs-section { margin-top: 48px; }
.analogs-section .section__title { font-size: 1.3rem; margin-bottom: 24px; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: 50px; font-size: .9rem; font-weight: 600; border: none; cursor: pointer; transition: all var(--transition); text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-dark); color: var(--white); }
.btn--warning { background: var(--primary); color: var(--dark); }
.btn--warning:hover { background: var(--primary-dark); color: var(--dark); }
.btn--secondary { background: var(--gray-200); color: var(--gray-700); }
.btn--secondary:hover { background: var(--gray-300); }
.btn--danger { background: var(--danger); color: var(--white); }
.btn--danger:hover { background: #dc2626; color: var(--white); }
.btn--small { padding: 6px 14px; font-size: .8rem; }
.btn--full { width: 100%; }
.btn--outline { background: transparent; border: 2px solid var(--accent); color: var(--accent); }
.btn--outline:hover { background: var(--accent); color: var(--white); }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 500; color: var(--gray-700); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 10px 14px; border: 2px solid var(--gray-200); border-radius: var(--radius);
    font-size: .95rem; transition: border-color var(--transition); background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--accent);
}
.radio-group { display: flex; gap: 24px; margin-top: 6px; }
.radio-group label { display: flex; align-items: center; gap: 8px; font-weight: 400; cursor: pointer; color: var(--gray-700); }

.cart-page { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 32px; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--gray-100); }
.cart-table th { font-size: .8rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
.cart-table .cart-img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--radius); }
.cart-total { text-align: right; font-size: 1.4rem; font-weight: 700; margin: 24px 0; color: var(--dark); }
.cart-actions { display: flex; justify-content: flex-end; gap: 12px; }
.qty-control { display: flex; align-items: center; gap: 0; border: 2px solid var(--gray-200); border-radius: 50px; overflow: hidden; }
.qty-control button { width: 34px; height: 34px; border: none; background: var(--gray-50); cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.qty-control button:hover { background: var(--gray-200); }
.qty-control span { min-width: 32px; text-align: center; font-weight: 600; font-size: .9rem; }

.auth-form { max-width: 420px; margin: 48px auto; background: var(--white); padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.auth-form h1 { font-size: 1.5rem; margin-bottom: 8px; text-align: center; }
.auth-form .subtitle { text-align: center; color: var(--gray-500); margin-bottom: 28px; font-size: .9rem; }

.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; z-index: 200; padding: 16px; backdrop-filter: blur(4px); }
.modal { background: var(--white); border-radius: var(--radius-lg); padding: 36px; max-width: 500px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: var(--shadow-lg); }
.modal h2 { margin-bottom: 24px; font-size: 1.3rem; }
.modal__close { position: absolute; top: 16px; right: 20px; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--gray-400); transition: color var(--transition); }
.modal__close:hover { color: var(--gray-900); }

.alert { padding: 14px 20px; border-radius: var(--radius); margin-bottom: 20px; font-size: .9rem; }
.alert--success { background: #d1fae5; color: #065f46; border-left: 4px solid var(--success); }
.alert--error { background: #fee2e2; color: #991b1b; border-left: 4px solid var(--danger); }
.alert--info { background: #dbeafe; color: #1e40af; border-left: 4px solid var(--accent); }

.products-grid--full { grid-template-columns: repeat(4, 1fr); }

.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: 50px; font-size: .9rem; min-width: 40px; text-align: center; }
.pagination a { background: var(--white); box-shadow: var(--shadow); color: var(--gray-600); transition: all var(--transition); }
.pagination a:hover { background: var(--accent); color: var(--white); }
.pagination .current { background: var(--accent); color: var(--white); font-weight: 600; }
.pagination__arrow { font-weight: 700; font-size: 1rem; }
.pagination__dots { color: var(--gray-400); padding: 8px 6px; cursor: default; }

.breadcrumb { display: flex; gap: 8px; font-size: .85rem; margin-bottom: 20px; color: var(--gray-400); flex-wrap: wrap; align-items: center; }
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--gray-700); }

.empty-state { text-align: center; padding: 80px 20px; }
.empty-state h1 { font-size: 1.8rem; margin-bottom: 12px; }
.empty-state p { font-size: 1.1rem; margin-bottom: 24px; color: var(--gray-500); }

.footer { background: var(--dark); color: var(--gray-400); padding: 40px 0 24px; margin-top: auto; }
.footer__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 24px; }
.footer__col h4 { color: var(--white); font-size: .95rem; margin-bottom: 12px; }
.footer__col a { display: block; color: var(--gray-400); font-size: .85rem; margin-bottom: 6px; transition: color var(--transition); }
.footer__col a:hover { color: var(--primary); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; text-align: center; font-size: .8rem; }

.header--admin { background: var(--dark); }
.header--admin .header__inner { height: 60px; }
.header--admin .header__logo { color: var(--white); font-size: 1.2rem; }
.header--admin .header__logo:hover { color: var(--gray-200); }
.header--admin .header__burger span { background: var(--white); }
.admin-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: flex-end; }
.admin-nav a { color: var(--gray-300); padding: 8px 14px; font-size: .85rem; border-radius: 6px; transition: all var(--transition); white-space: nowrap; }
.admin-nav a:hover { color: var(--white); background: rgba(255,255,255,.1); }

.admin-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 28px; margin-bottom: 20px; }
.admin-card h1, .admin-card h2 { margin-bottom: 20px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--gray-100); font-size: .9rem; }
.admin-table th { font-weight: 600; text-transform: uppercase; font-size: .75rem; color: var(--gray-500); letter-spacing: .5px; }
.admin-table tr:hover { background: var(--gray-50); }
.admin-table img { width: 50px; height: 50px; object-fit: cover; border-radius: var(--radius); }
.admin-actions { display: flex; gap: 6px; }

.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
.dash-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 24px; text-align: center; border-top: 3px solid var(--accent); }
.dash-card__num { font-size: 2.2rem; font-weight: 700; color: var(--accent); }
.dash-card__label { font-size: .85rem; color: var(--gray-500); margin-top: 4px; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: .75rem; font-weight: 600; }
.badge--success { background: #d1fae5; color: #065f46; }
.badge--warning { background: #fef3c7; color: #92400e; }
.badge--danger { background: #fee2e2; color: #991b1b; }

.checkbox-list { max-height: 200px; overflow-y: auto; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 12px; }
.checkbox-list label { display: flex; align-items: center; gap: 10px; padding: 6px 8px; margin-bottom: 2px; cursor: pointer; font-weight: 400; font-size: .9rem; color: var(--gray-700); border-radius: 4px; transition: background var(--transition); }
.checkbox-list label:hover { background: var(--gray-50); }
.checkbox-inline { display: flex !important; align-items: center; gap: 10px; cursor: pointer; font-weight: 400 !important; color: var(--gray-700); }
.checkbox-inline input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--accent); cursor: pointer; }
.checkbox-list input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--accent); cursor: pointer; }
.responsive-table { overflow-x: auto; }

@media (max-width: 1024px) {
    .mega-menu__list { width: 260px; }
    .mega-menu { width: 95vw !important; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .header__inner { height: 56px; gap: 0; position: relative; justify-content: center; }
    .header__search { display: none; }
    .header__burger { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
    .header__logo { font-size: 1.3rem; text-align: center; }
    .header__actions { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
    .header__cart-icon { width: 48px; height: 48px; }
    .header__cart-icon svg { width: 34px; height: 34px; }
    .mobile-nav { display: none; position: fixed; top: 60px; left: 0; right: 0; bottom: 0; background: var(--white); z-index: 99; overflow-y: auto; padding: 20px; }
    .mobile-nav.open { display: block; }
    .mobile-nav a { display: block; padding: 12px 0; font-size: 1rem; color: var(--gray-700); border-bottom: 1px solid var(--gray-100); }
    .mobile-nav .mobile-search { margin-bottom: 16px; }
    .mobile-nav .mobile-search form { display: flex; gap: 8px; }
    .mobile-nav .mobile-search input { flex: 1; padding: 10px 14px; border: 2px solid var(--gray-200); border-radius: var(--radius); font-size: .95rem; }
    .catalog-bar { display: none; }
    .catalog-layout { flex-direction: column; padding: 16px 0; }
    .catalog-sidebar { width: 100%; }
    .product-detail { flex-direction: column; padding: 20px; }
    .product-detail__img { width: 100%; }
    .products-grid, .products-grid--full { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
    .hero h1 { font-size: 1.4rem; }
    .hero { padding: 32px 0; }
    .vehicle-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
    .footer__inner { flex-direction: column; }
    .admin-nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--dark); flex-direction: column; padding: 16px; z-index: 99; }
    .admin-nav.open { display: flex; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .product-card__body { padding: 10px; }
    .product-card__name { font-size: .85rem; }
    .product-card__price { font-size: 1rem; }
    .product-detail__info h1 { font-size: 1.2rem; }
    .product-detail__price { font-size: 1.5rem; }
    .auth-form { padding: 24px 16px; margin: 20px auto; }
    .modal { padding: 24px 16px; }
    .vehicle-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .vehicle-card { padding: 16px 8px; }
    .cart-page { padding: 16px; }
}
