/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
    background: #f5f8fc;
    color: #1a2a3f;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-fluid {
    width: 100%;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: #e8f0fe;
    padding: 6px 0;
    border-bottom: 1px solid rgba(52, 102, 181, 0.12);
    position: relative;
    z-index: 1001;
}

.top-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #2a4a6a;
    font-size: 12px;
    font-weight: 400;
}

.top-bar-item i {
    color: #4a7fc7;
    font-size: 13px;
    width: 16px;
    text-align: center;
}

.top-bar-item a {
    color: #2a4a6a;
    transition: color 0.2s ease;
}

.top-bar-item a:hover {
    color: #4a7fc7;
}

/* Кнопка "Заказать звонок" */
.callback-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 20px;
    background: #ffffff;
    color: #1a3a6a;
    border: 2px solid #4a7fc7;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(74, 127, 199, 0.12);
}

.callback-btn:hover {
    background: #4a7fc7;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 127, 199, 0.3);
}

.callback-btn i {
    font-size: 13px;
    color: #4a7fc7;
}

.callback-btn:hover i {
    color: #ffffff;
}

/* ===== HEADER ===== */
header {
    background: #ffffff;
    border-bottom: 2px solid #d0e0f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(52, 102, 181, 0.05);
}

.header-top {
    padding: 10px 0;
    background: #ffffff;
    position: relative;
    z-index: 1000;
}

.header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #1a3a6a;
    flex-shrink: 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.logo i {
    color: #4a7fc7;
    margin-right: 8px;
}

.logo:hover {
    color: #4a7fc7;
}

/* Поиск */
.search-form {
    display: flex;
    flex: 1;
    max-width: 440px;
    min-width: 180px;
    background: #f0f5fb;
    border-radius: 30px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, background 0.3s ease;
    border: 2px solid transparent;
}

.search-form:focus-within {
    box-shadow: 0 0 0 3px rgba(74, 127, 199, 0.12);
    background: #ffffff;
    border-color: #4a7fc7;
}

.search-form input {
    flex: 1;
    padding: 8px 18px;
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    color: #1a2a3f;
}

.search-form input::placeholder {
    color: #8aa0b8;
}

.search-form button {
    padding: 8px 18px;
    background: #4a7fc7;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.search-form button:hover {
    background: #3a6aad;
}

/* Правая часть шапки */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.header-actions a {
    font-size: 13px;
    color: #4a6a8a;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 30px;
    transition: all 0.2s ease;
    font-weight: 500;
    position: relative;
}

.header-actions a:hover {
    background: #e8f0fe;
    color: #4a7fc7;
}

.header-actions .cart-link {
    background: #4a7fc7;
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 600;
    position: relative;
}

.header-actions .cart-link:hover {
    background: #3a6aad;
    color: #fff;
}

.header-actions .cart-link i {
    font-size: 15px;
}

/* Бейджик корзины */
.cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ff6b6b;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    padding: 0 5px;
    margin-left: 3px;
    animation: pulse 0.5s ease;
}

@keyframes pulse {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.user-name {
    font-weight: 600;
    color: #1a3a6a;
    padding: 6px 12px;
    background: #e8f0fe;
    border-radius: 30px;
    font-size: 13px;
}

/* ===== МЕНЮ ===== */
.main-nav {
    background: #1a4a7a;
    padding: 0;
    border-top: 3px solid #4a8fc7;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(26, 74, 122, 0.3);
}

.main-nav .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
    margin: 0;
    justify-content: space-between;
    width: 100%;
}

.main-nav ul li {
    display: flex;
    flex: 1 1 auto;
}

.main-nav ul li a {
    display: block;
    padding: 14px 10px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    border-radius: 0;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    text-align: center;
    width: 100%;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #7abfff;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.main-nav ul li a:hover::after {
    width: 60%;
}

.main-nav ul li a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.main-nav ul li a.active::after {
    width: 60%;
    background: #7abfff;
}

.main-nav ul li a.sale {
    color: #ffb3aa;
}

.main-nav ul li a.sale:hover {
    color: #ffb3aa;
    background: rgba(255, 138, 128, 0.12);
}

.main-nav ul li a.sale::after {
    background: #ffb3aa;
}

/* Бургер-меню для мобильных */
.menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 8px;
    transition: background 0.2s ease;
    font-weight: 600;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===== MAIN CONTENT ===== */
main {
    min-height: 60vh;
    padding: 0;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a3a6a;
    letter-spacing: -0.5px;
    border-left: 4px solid #4a7fc7;
    padding-left: 16px;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 24px;
    margin-top: 0;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero-section:hover .hero-bg-image {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 58, 106, 0.75) 0%, rgba(26, 58, 106, 0.45) 100%);
    z-index: 1;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #ffffff;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-title span {
    color: #7aafe5;
    position: relative;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(122, 175, 229, 0.3);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.6;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.hero-btn-primary {
    background: #ffffff;
    color: #1a3a6a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    color: #1a3a6a;
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    display: block;
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.hero-stat .stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 4px;
}

.hero-scroll {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    animation: bounceDown 2s ease infinite;
}

.hero-scroll i {
    display: block;
    font-size: 18px;
    margin-top: 3px;
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ===== СЕКЦИЯ КАТЕГОРИЙ ===== */
.categories-section {
    padding: 60px 0;
    background: #ffffff;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    background: #f5f8fc;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e8f0fe;
    text-decoration: none;
    color: #1a2a3f;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(26, 58, 106, 0.08);
    border-color: #4a7fc7;
    background: #ffffff;
}

.category-card .category-icon {
    width: 48px;
    height: 48px;
    background: #e8f0fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 20px;
    color: #4a7fc7;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    background: #4a7fc7;
    color: #ffffff;
}

.category-card span {
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}

/* ===== СЕКЦИЯ ТОВАРОВ ===== */
.products-section,
.sale-section {
    padding: 60px 0;
    background: #f5f8fc;
}

.sale-section {
    background: #fff5f5;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e8f0fe;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a3a6a;
}

.section-link {
    color: #4a7fc7;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s ease;
}

.section-link:hover {
    color: #1a3a6a;
}

.sale-card {
    border-color: #ffe0e0 !important;
}

.sale-card:hover {
    border-color: #ff6b6b !important;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 0;
}

.product-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 16px;
    box-shadow: 0 2px 8px rgba(26, 58, 106, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    border: 1px solid #e8f0fe;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(26, 58, 106, 0.1);
    border-color: #4a7fc7;
}

.product-card .sale-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ff8a80;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 1;
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: 8px;
    background: #f8fafc;
    margin-bottom: 12px;
}

.product-card h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1a2a3f;
}

.product-card h3 a {
    color: #1a2a3f;
}

.product-card h3 a:hover {
    color: #4a7fc7;
}

.product-card .price {
    font-size: 20px;
    font-weight: 700;
    color: #1a3a6a;
    margin: 8px 0 12px;
}

.product-card .old-price {
    font-size: 14px;
    color: #8aa0b8;
    text-decoration: line-through;
    margin-right: 8px;
}

.product-card .add-to-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    background: #4a7fc7;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.product-card .add-to-cart:hover {
    background: #3a6aad;
}

.product-card .qty-input {
    width: 50px;
    padding: 6px;
    border: 2px solid #e8f0fe;
    border-radius: 6px;
    text-align: center;
    margin-right: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.product-card .qty-input:focus {
    outline: none;
    border-color: #4a7fc7;
}

/* ===== КАТАЛОГ С БОКОВЫМ МЕНЮ ===== */
.catalog-wrapper {
    display: flex;
    gap: 32px;
    margin-top: 20px;
    align-items: flex-start;
}

.catalog-sidebar {
    flex: 0 0 260px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(26, 58, 106, 0.06);
    border: 1px solid #e8f0fe;
    overflow: hidden;
    position: sticky;
    top: 180px;
}

.catalog-sidebar .sidebar-title {
    background: #1a3a6a;
    color: #ffffff;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-sidebar .sidebar-title i {
    color: #7aafe5;
}

.catalog-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.catalog-sidebar ul li {
    border-bottom: 1px solid #f0f5fb;
}

.catalog-sidebar ul li:last-child {
    border-bottom: none;
}

.catalog-sidebar ul li a {
    display: block;
    padding: 12px 20px;
    color: #2a4a6a;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.catalog-sidebar ul li a:hover {
    background: #e8f0fe;
    color: #4a7fc7;
    padding-left: 26px;
}

.catalog-sidebar ul li a.active {
    background: #e8f0fe;
    color: #4a7fc7;
    font-weight: 600;
    padding-left: 26px;
}

.catalog-sidebar ul li a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: #4a7fc7;
    border-radius: 0 4px 4px 0;
}

.catalog-sidebar ul li a.sale {
    color: #ff6b6b;
}

.catalog-sidebar ul li a.sale:hover,
.catalog-sidebar ul li a.sale.active {
    color: #ff6b6b;
    background: #fff0f0;
}

.catalog-sidebar ul li a.sale.active::before {
    background: #ff6b6b;
}

.catalog-sidebar ul li a i {
    width: 20px;
    margin-right: 10px;
    color: #8aa0b8;
    text-align: center;
}

.catalog-sidebar ul li a:hover i,
.catalog-sidebar ul li a.active i {
    color: #4a7fc7;
}

.catalog-sidebar ul li a.sale:hover i,
.catalog-sidebar ul li a.sale.active i {
    color: #ff6b6b;
}

.catalog-content {
    flex: 1;
    min-width: 0;
}

.catalog-content .catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8f0fe;
}

.catalog-content .catalog-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1a3a6a;
}

.catalog-content .catalog-header .products-count {
    color: #6a8aaa;
    font-size: 14px;
    background: #f0f5fb;
    padding: 4px 16px;
    border-radius: 20px;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.sort-options label {
    font-size: 13px;
    color: #6a8aaa;
    font-weight: 500;
}

.sort-options select {
    padding: 6px 12px;
    border: 2px solid #e8f0fe;
    border-radius: 8px;
    font-size: 13px;
    background: #fff;
    color: #1a2a3f;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.sort-options select:focus {
    outline: none;
    border-color: #4a7fc7;
}

/* ===== О КОМПАНИИ ===== */
.about-section {
    padding: 60px 0;
    background: #ffffff;
}

.about-wrapper {
    display: flex;
    gap: 48px;
    align-items: center;
}

.about-image {
    flex: 0 0 45%;
    position: relative;
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #1a3a6a, #4a7fc7);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
}

.about-image-placeholder i {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.8;
}

.about-image-placeholder span {
    letter-spacing: 2px;
}

.about-experience {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 28px;
    box-shadow: 0 8px 32px rgba(26, 58, 106, 0.12);
    text-align: center;
    border: 1px solid #e8f0fe;
}

.about-experience .exp-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #4a7fc7;
}

.about-experience .exp-label {
    font-size: 14px;
    color: #6a8aaa;
}

.about-content {
    flex: 1;
}

.about-text {
    font-size: 15px;
    color: #4a6a8a;
    line-height: 1.8;
    margin-bottom: 12px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
}

.about-feature {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 16px;
    background: #f5f8fc;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.about-feature:hover {
    background: #e8f0fe;
}

.about-feature i {
    font-size: 20px;
    color: #4a7fc7;
    margin-top: 2px;
}

.about-feature h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1a3a6a;
    margin-bottom: 2px;
}

.about-feature p {
    font-size: 12px;
    color: #6a8aaa;
    margin: 0;
}

.about-btn {
    display: inline-block;
    padding: 12px 32px;
    background: #4a7fc7;
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.about-btn:hover {
    background: #1a3a6a;
    color: #fff;
    transform: translateY(-2px);
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.advantages-section {
    padding: 60px 0;
    background: #f5f8fc;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.advantage-card {
    background: #ffffff;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e8f0fe;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(26, 58, 106, 0.08);
    border-color: #4a7fc7;
}

.advantage-card .advantage-icon {
    width: 64px;
    height: 64px;
    background: #e8f0fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    color: #4a7fc7;
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    background: #4a7fc7;
    color: #ffffff;
}

.advantage-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a3a6a;
    margin-bottom: 6px;
}

.advantage-card p {
    font-size: 14px;
    color: #6a8aaa;
    margin: 0;
}

/* ===== ОТЗЫВЫ ===== */
.reviews-section {
    padding: 60px 0;
    background: #ffffff;
}

.reviews-slider {
    overflow: hidden;
    margin: 0 -12px;
    padding: 0 12px;
}

.reviews-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

.review-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 280px;
    background: #f5f8fc;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e8f0fe;
}

.review-card .review-stars {
    color: #f6b93b;
    font-size: 18px;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.review-card .review-text {
    font-size: 14px;
    color: #4a6a8a;
    line-height: 1.7;
    margin-bottom: 12px;
    font-style: italic;
}

.review-card .review-author {
    display: flex;
    flex-direction: column;
}

.review-card .review-author strong {
    font-size: 14px;
    color: #1a3a6a;
}

.review-card .review-author span {
    font-size: 12px;
    color: #8aa0b8;
}

.reviews-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.review-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #e8f0fe;
    background: #ffffff;
    color: #1a3a6a;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.review-btn:hover {
    background: #4a7fc7;
    color: #ffffff;
    border-color: #4a7fc7;
}

/* ===== ПОДПИСКА ===== */
.subscribe-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a3a6a, #4a7fc7);
}

.subscribe-wrapper {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    color: #ffffff;
}

.subscribe-wrapper .subscribe-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.8;
}

.subscribe-wrapper h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.subscribe-wrapper p {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 24px;
}

.subscribe-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.subscribe-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    outline: none;
}

.subscribe-form input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.subscribe-form button {
    padding: 14px 32px;
    background: #ffffff;
    color: #1a3a6a;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
}

.subscribe-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

/* ===== АВТОРИЗАЦИЯ ===== */
.auth-wrapper {
    max-width: 520px;
    width: 100%;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 44px 40px;
    box-shadow: 0 8px 40px rgba(26, 58, 106, 0.08);
    border: 1px solid #e8f0fe;
}

.auth-wrapper .auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-wrapper .auth-header .auth-icon {
    width: 80px;
    height: 80px;
    background: #e8f0fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 36px;
    color: #4a7fc7;
}

.auth-wrapper .auth-header h1 {
    font-size: 28px;
    color: #1a3a6a;
    font-weight: 700;
}

.auth-wrapper .auth-header p {
    color: #6a8aaa;
    font-size: 15px;
    margin-top: 4px;
}

.auth-wrapper .form-group {
    margin-bottom: 20px;
}

.auth-wrapper label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 13px;
    color: #4a6a8a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-wrapper .input-group {
    position: relative;
}

.auth-wrapper .input-group i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8aa0b8;
    font-size: 16px;
}

.auth-wrapper input[type="text"],
.auth-wrapper input[type="email"],
.auth-wrapper input[type="password"] {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid #e8f0fe;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: #f8fafc;
    font-family: inherit;
}

.auth-wrapper input:focus {
    outline: none;
    border-color: #4a7fc7;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(74, 127, 199, 0.08);
}

.auth-wrapper .btn-auth {
    width: 100%;
    padding: 16px;
    background: #4a7fc7;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 8px;
}

.auth-wrapper .btn-auth:hover {
    background: #3a6aad;
}

.auth-wrapper .auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e8f0fe;
}

.auth-wrapper .auth-footer a {
    color: #4a7fc7;
    font-weight: 600;
}

.auth-wrapper .auth-footer a:hover {
    color: #1a3a6a;
    text-decoration: underline;
}

.auth-wrapper .auth-error {
    background: #fff0f0;
    color: #dc3545;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    border-left: 4px solid #dc3545;
}

.auth-wrapper .auth-success {
    background: #e8f5ed;
    color: #28a745;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    border-left: 4px solid #28a745;
}

/* ===== CART ===== */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(26, 58, 106, 0.04);
}

.cart-table th {
    background: #1a3a6a;
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}

.cart-table td {
    padding: 14px 20px;
    border-bottom: 1px solid #e8f0fe;
}

.cart-table .remove-link {
    color: #dc3545;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.cart-table .remove-link:hover {
    background: #fff0f0;
}

.cart-total {
    font-size: 22px;
    font-weight: 700;
    text-align: right;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    color: #1a3a6a;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    background: #4a7fc7;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    text-align: center;
}

.btn:hover {
    background: #3a6aad;
}

.btn-outline {
    background: transparent;
    color: #4a7fc7;
    border: 2px solid #4a7fc7;
}

.btn-outline:hover {
    background: #4a7fc7;
    color: #fff;
}

.cart-msg {
    padding: 14px 22px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-weight: 500;
    font-size: 15px;
    border-left: 4px solid;
    animation: slideDown 0.4s ease;
}

.cart-msg-success {
    background: #e8f5ed;
    color: #1a7a3a;
    border-left-color: #28a745;
}

.cart-msg-error {
    background: #fde8e8;
    color: #a82828;
    border-left-color: #dc3545;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-thumb {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #e8f0fe;
    background: #f8fafc;
}

.cart-thumb-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    border: 1px solid #e8f0fe;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d0e0f0;
    font-size: 24px;
}

.cart-qty {
    width: 60px;
    padding: 6px 8px;
    border: 2px solid #e8f0fe;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
}

.cart-qty:focus {
    outline: none;
    border-color: #4a7fc7;
}

.cart-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
    justify-content: flex-end;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8f0fe;
}

/* ===== CHECKOUT ===== */
.checkout-wrapper {
    max-width: 720px;
    margin: 0 auto;
}

.checkout-wrapper .order-summary {
    background: #f8fafc;
    padding: 20px 24px;
    border-radius: 12px;
    margin: 20px 0;
    border: 1px solid #e8f0fe;
}

.checkout-wrapper .order-summary ul {
    list-style: none;
    padding: 0;
}

.checkout-wrapper .order-summary li {
    padding: 6px 0;
    border-bottom: 1px solid #e8f0fe;
    display: flex;
    justify-content: space-between;
}

/* ===== АДМИН-ПАНЕЛЬ ===== */
.admin-block {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 30px;
    margin-bottom: 30px;
    border: 1px solid #e8f0fe;
    box-shadow: 0 2px 12px rgba(26, 58, 106, 0.06);
}

.admin-block h2 {
    font-size: 20px;
    color: #1a3a6a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.admin-block h2 i {
    color: #4a7fc7;
}

.admin-msg {
    padding: 14px 22px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-weight: 500;
    font-size: 15px;
    border-left: 4px solid;
    animation: slideDown 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-msg-success {
    background: #e8f5ed;
    color: #1a7a3a;
    border-left-color: #28a745;
}

.admin-msg-error {
    background: #fde8e8;
    color: #a82828;
    border-left-color: #dc3545;
}

.admin-msg-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: inherit;
    opacity: 0.5;
    padding: 0 4px;
    transition: opacity 0.2s ease;
    line-height: 1;
}

.admin-msg-close:hover {
    opacity: 1;
}

.admin-quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e8f0fe;
    color: #1a3a6a;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.quick-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(26, 58, 106, 0.08);
    border-color: #4a7fc7;
    color: #4a7fc7;
}

.quick-link i {
    font-size: 22px;
    color: #4a7fc7;
}

.badge-new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dc3545;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    padding: 0 6px;
    margin-left: 4px;
    animation: pulse 0.5s ease;
}

/* Формы админки */
.admin-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0;
    margin: 0;
    border: none;
    box-shadow: none;
    background: transparent;
}

.admin-form .form-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.admin-form .form-row-full {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    padding: 11px 16px;
    border: 2px solid #e8f0fe;
    border-radius: 10px;
    flex: 1;
    min-width: 200px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #f8fafc;
    font-family: inherit;
    color: #1a2a3f;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    outline: none;
    border-color: #4a7fc7;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(74, 127, 199, 0.08);
}

.admin-form textarea {
    flex: 1 1 100%;
    min-height: 80px;
    resize: vertical;
}

.admin-form .form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
    flex: 1;
}

.admin-form .form-check label {
    font-size: 14px;
    color: #4a6a8a;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-form .form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #4a7fc7;
    flex: 0 0 auto;
    min-width: unset;
    padding: 0;
    cursor: pointer;
}

.admin-form .form-file {
    flex: 1 1 100%;
    padding: 16px 20px;
    background: #f8fafc;
    border: 2px dashed #d0e0f0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.admin-form .form-file:hover {
    border-color: #4a7fc7;
    background: #f0f5fb;
}

.admin-form .form-file label {
    font-weight: 600;
    color: #4a6a8a;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.admin-form .form-file input[type="file"] {
    padding: 8px 0;
    border: none;
    flex: 1 1 auto;
    min-width: unset;
    background: transparent;
}

.admin-form .form-file small {
    color: #8aa0b8;
    font-size: 12px;
    display: block;
    margin-top: 6px;
}

.admin-form .current-image {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    padding: 10px 14px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e8f0fe;
}

.admin-form .current-image img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 6px;
    background: #f8fafc;
}

.admin-form .current-image span {
    font-size: 13px;
    color: #6a8aaa;
}

.admin-form .form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.admin-form .btn-primary {
    padding: 11px 32px;
    background: #4a7fc7;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.admin-form .btn-primary:hover {
    background: #3a6aad;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(74, 127, 199, 0.3);
}

.admin-form .btn-cancel {
    display: inline-flex;
    align-items: center;
    padding: 11px 28px;
    background: #e8f0fe;
    color: #4a6a8a;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 15px;
}

.admin-form .btn-cancel:hover {
    background: #d0e0f0;
    color: #1a3a6a;
}

/* Таблицы админки */
.table-responsive {
    overflow-x: auto;
    margin: 0 -4px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    min-width: 600px;
}

.admin-table th {
    background: #1a3a6a;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: #fff;
    white-space: nowrap;
}

.admin-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f5fb;
    font-size: 14px;
    vertical-align: middle;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover td {
    background: #f8fafc;
}

.admin-table .admin-thumb {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #e8f0fe;
    background: #f8fafc;
}

.admin-table .no-image {
    color: #8aa0b8;
    font-size: 12px;
}

/* Действия в таблицах админки */
.admin-actions {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.admin-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
}

.admin-btn-edit {
    background: #e8f0fe;
    color: #4a7fc7;
}

.admin-btn-edit:hover {
    background: #4a7fc7;
    color: #fff;
}

.admin-btn-delete {
    background: #fff0f0;
    color: #dc3545;
}

.admin-btn-delete:hover {
    background: #dc3545;
    color: #fff;
}

.admin-btn-role {
    background: #f0f5fb;
    color: #6a8aaa;
}

.admin-btn-role:hover {
    background: #4a7fc7;
    color: #fff;
}

.admin-btn-process {
    background: #e8f0fe;
    color: #4a7fc7;
}

.admin-btn-process:hover {
    background: #4a7fc7;
    color: #fff;
}

.admin-btn-complete {
    background: #e8f5ed;
    color: #28a745;
}

.admin-btn-complete:hover {
    background: #28a745;
    color: #fff;
}

.admin-btn-cancel {
    background: #fff3e0;
    color: #e67e22;
}

.admin-btn-cancel:hover {
    background: #e67e22;
    color: #fff;
}

.admin-self {
    color: #6a8aaa;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 14px;
    background: #f0f5fb;
    border-radius: 20px;
}

/* Роли пользователей */
.role-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.role-admin {
    background: #fff0e8;
    color: #e67e22;
}

.role-user {
    background: #e8f0fe;
    color: #4a7fc7;
}

/* Статусы заявок */
.status-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-new {
    background: #e8f0fe;
    color: #4a7fc7;
}

.status-processed {
    background: #fff3e0;
    color: #e67e22;
}

.status-completed {
    background: #e8f5ed;
    color: #28a745;
}

.status-cancelled {
    background: #fde8e8;
    color: #dc3545;
}

/* СТАТИСТИКА */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0 30px;
}

.stat-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(26, 58, 106, 0.04);
    border: 1px solid #e8f0fe;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(26, 58, 106, 0.08);
}

.stat-card .stat-icon {
    font-size: 28px;
    color: #4a7fc7;
    margin-bottom: 8px;
}

.stat-card h3 {
    font-size: 14px;
    color: #6a8aaa;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card p {
    font-size: 32px;
    font-weight: 700;
    color: #1a3a6a;
    margin-top: 4px;
}

/* Вкладки админки */
.admin-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 20px 0 30px;
}

.admin-tabs a {
    padding: 10px 24px;
    background: #e8f0fe;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    color: #4a6a8a;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.admin-tabs a.active {
    background: #1a3a6a;
    color: #fff;
}

.admin-tabs a:hover:not(.active) {
    background: #d0e0f0;
}

/* ===== PROFILE ===== */
.profile-card {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(26, 58, 106, 0.04);
    border: 1px solid #e8f0fe;
    max-width: 600px;
}

.profile-card .profile-avatar {
    width: 80px;
    height: 80px;
    background: #e8f0fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #4a7fc7;
    margin-bottom: 16px;
}

.profile-card .profile-field {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #e8f0fe;
}

.profile-card .profile-field .label {
    font-weight: 600;
    color: #6a8aaa;
    width: 120px;
    flex-shrink: 0;
}

.profile-card .profile-field .value {
    color: #1a2a3f;
}

/* ===== FOOTER ===== */
footer {
    background: #1a2a3f;
    color: #8aa0b8;
    padding: 48px 0 24px;
    margin-top: 40px;
    border-top: 4px solid #4a7fc7;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

footer h4 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 600;
}

footer a {
    display: block;
    color: #8aa0b8;
    font-size: 14px;
    padding: 4px 0;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #7aafe5;
}

footer .copyright {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 13px;
}

@keyframes slideDown {
    0% { transform: translateY(-20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* ===== АДАПТИВ ===== */
@media (max-width: 992px) {
    .top-bar-content {
        justify-content: center;
        gap: 6px 12px;
    }
    .top-bar-item {
        font-size: 11px;
    }
    .header-top-inner {
        flex-wrap: wrap;
    }
    .search-form {
        order: 3;
        flex-basis: 100%;
        max-width: 100%;
    }
    .main-nav .container {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .main-nav ul li a {
        padding: 12px 8px;
        font-size: 13px;
        letter-spacing: 0.3px;
    }
    .catalog-wrapper {
        flex-direction: column;
    }
    .catalog-sidebar {
        flex: 1 1 auto;
        position: static;
        width: 100%;
    }
    .catalog-sidebar ul {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        padding: 8px;
    }
    .catalog-sidebar ul li {
        border-bottom: none;
        flex: 1 1 auto;
    }
    .catalog-sidebar ul li a {
        padding: 8px 16px;
        border-radius: 8px;
        font-size: 13px;
        white-space: nowrap;
    }
    .catalog-sidebar ul li a:hover,
    .catalog-sidebar ul li a.active {
        padding-left: 16px;
    }
    .catalog-sidebar ul li a.active::before {
        display: none;
    }
    .catalog-sidebar .sidebar-title {
        font-size: 14px;
        padding: 10px 16px;
    }
    .catalog-content .catalog-header h1 {
        font-size: 20px;
    }
    .auth-wrapper {
        max-width: 460px;
        padding: 32px 28px;
        margin: 20px auto;
    }
    .hero-title {
        font-size: 40px;
    }
    .hero-stats {
        gap: 24px;
    }
    .hero-stat .stat-number {
        font-size: 28px;
    }
    .about-wrapper {
        flex-direction: column;
    }
    .about-image {
        flex: 1 1 auto;
        width: 100%;
    }
    .about-experience {
        position: static;
        margin-top: -20px;
        margin-left: 20px;
    }
    .about-features {
        grid-template-columns: 1fr 1fr;
    }
    .review-card {
        flex: 0 0 calc(50% - 12px);
    }
    .admin-form {
        flex-direction: column;
    }
    .admin-form input,
    .admin-form select,
    .admin-form textarea {
        min-width: unset;
        width: 100%;
    }
    .admin-table {
        font-size: 12px;
    }
    .admin-table th,
    .admin-table td {
        padding: 8px 10px;
    }
    .admin-actions a {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    .admin-tabs a {
        padding: 8px 16px;
        font-size: 13px;
    }
    .admin-block {
        padding: 18px 16px;
    }
}

@media (max-width: 768px) {
    .top-bar .top-bar-item:not(:first-child) {
        display: none;
    }
    .top-bar .top-bar-item:first-child {
        flex: 1;
    }
    .callback-btn {
        padding: 4px 14px;
        font-size: 11px;
    }
    .callback-btn span {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .main-nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 0;
    }
    .main-nav ul.open {
        display: flex;
    }
    .main-nav ul li {
        flex: 1 1 auto;
    }
    .main-nav ul li a {
        padding: 12px 20px;
        text-transform: none;
        font-size: 14px;
        white-space: normal;
        text-align: left;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        width: 100%;
    }
    .main-nav ul li a::after {
        display: none;
    }
    .header-actions a span {
        display: none;
    }
    .header-actions .cart-link span {
        display: inline;
    }
    .catalog-sidebar ul li a {
        font-size: 12px;
        padding: 6px 12px;
        white-space: normal;
    }
    .catalog-content .catalog-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .catalog-content .catalog-header h1 {
        font-size: 18px;
    }
    .sort-options {
        flex-wrap: wrap;
    }
    .sort-options select {
        width: 100%;
    }
    .auth-wrapper {
        max-width: 100%;
        padding: 24px 20px;
        margin: 16px 12px;
        border-radius: 12px;
    }
    .auth-wrapper .auth-header h1 {
        font-size: 22px;
    }
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }
    .cart-table {
        font-size: 13px;
    }
    .cart-table th,
    .cart-table td {
        padding: 10px 12px;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .stat-card {
        padding: 16px;
    }
    .stat-card p {
        font-size: 24px;
    }
    .hero-section {
        min-height: 60vh;
        padding: 40px 16px;
    }
    .hero-title {
        font-size: 28px;
    }
    .hero-subtitle {
        font-size: 15px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
        padding: 10px 24px;
        font-size: 14px;
    }
    .hero-stats {
        gap: 16px;
    }
    .hero-stat .stat-number {
        font-size: 22px;
    }
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    .about-features {
        grid-template-columns: 1fr;
    }
    .advantages-grid {
        grid-template-columns: 1fr 1fr;
    }
    .review-card {
        flex: 0 0 calc(100% - 12px);
        min-width: unset;
    }
    .subscribe-form {
        flex-direction: column;
    }
    .subscribe-form button {
        width: 100%;
    }
    .section-header h2 {
        font-size: 22px;
    }
    .admin-block {
        padding: 14px 12px;
    }
    .admin-block h2 {
        font-size: 17px;
    }
    .admin-form .form-row {
        flex-direction: column;
    }
    .admin-form .form-actions {
        flex-direction: column;
    }
    .admin-form .form-actions button,
    .admin-form .form-actions a {
        width: 100%;
        justify-content: center;
    }
    .admin-quick-links {
        grid-template-columns: 1fr;
    }
    .cart-actions {
        justify-content: center;
        flex-direction: column;
        align-items: stretch;
    }
    .cart-actions .btn,
    .cart-actions .btn-primary {
        text-align: center;
        justify-content: center;
    }
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    .logo {
        font-size: 20px;
    }
    .header-actions {
        gap: 4px;
    }
    .header-actions a {
        padding: 4px 8px;
        font-size: 11px;
    }
    .auth-wrapper {
        padding: 20px 16px;
    }
    .auth-wrapper .auth-header h1 {
        font-size: 20px;
    }
    .auth-wrapper .auth-header .auth-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .product-card {
        padding: 12px;
    }
    .product-card img {
        height: 120px;
    }
    .product-card .price {
        font-size: 16px;
    }
    .hero-title {
        font-size: 24px;
    }
    .hero-badge {
        font-size: 11px;
        padding: 4px 14px;
    }
    .hero-btn {
        font-size: 13px;
        padding: 10px 20px;
    }
    .advantages-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .advantage-card {
        padding: 16px 12px;
    }
    .advantage-card .advantage-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    .advantage-card h3 {
        font-size: 15px;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .admin-table {
        font-size: 11px;
        min-width: 400px;
    }
    .admin-table th,
    .admin-table td {
        padding: 6px 8px;
    }
    .admin-tabs a {
        font-size: 12px;
        padding: 6px 14px;
    }
    .cart-table {
        font-size: 12px;
    }
    .cart-table th,
    .cart-table td {
        padding: 6px 8px;
    }
    .cart-qty {
        width: 45px;
        font-size: 12px;
    }
}

/* ===== ДЛЯ ЭКРАНОВ 769-1024px (планшеты) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    .main-nav ul li a {
        padding: 12px 8px;
        font-size: 13px;
        letter-spacing: 0.3px;
        min-width: 70px;
    }
}

/* ===== ДЛЯ ШИРОКИХ ЭКРАНОВ (>1280px) ===== */
@media (min-width: 1281px) {
    .main-nav ul li a {
        padding: 14px 28px;
        font-size: 15px;
        letter-spacing: 0.8px;
    }
}

/* ===== HERO SECTION (84% ЭКРАНА) ===== */
.hero-section {
    position: relative;
    min-height: 84vh;
    height: 84vh;
    max-height: 840px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 40px 24px;
    margin-top: 0;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero-section:hover .hero-bg-image {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 58, 106, 0.78) 0%, rgba(26, 58, 106, 0.40) 100%);
    z-index: 1;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.25) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    color: #ffffff;
    padding: 20px 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 18px;
    letter-spacing: -1.5px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.hero-title span {
    color: #7aafe5;
    position: relative;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(122, 175, 229, 0.25);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.15);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 38px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.hero-btn-primary {
    background: #ffffff;
    color: #1a3a6a;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
    color: #1a3a6a;
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.20);
    border-color: #ffffff;
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    display: block;
    font-size: 34px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.15);
}

.hero-stat .stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.70);
    margin-top: 6px;
    letter-spacing: 0.3px;
}

.hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
    animation: bounceDown 2s ease infinite;
}

.hero-scroll i {
    display: block;
    font-size: 20px;
    margin-top: 4px;
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== АДАПТИВ ДЛЯ HERO ===== */
@media (max-width: 992px) {
    .hero-section {
        min-height: 78vh;
        height: 78vh;
        max-height: 720px;
        padding: 40px 20px;
    }
    .hero-title {
        font-size: 42px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .hero-stats {
        gap: 28px;
    }
    .hero-stat .stat-number {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 72vh;
        height: 72vh;
        max-height: 600px;
        padding: 30px 16px;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 24px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 32px;
    }
    .hero-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 12px 28px;
        font-size: 15px;
    }
    .hero-stats {
        gap: 18px;
    }
    .hero-stat .stat-number {
        font-size: 24px;
    }
    .hero-stat .stat-label {
        font-size: 12px;
    }
    .hero-badge {
        font-size: 12px;
        padding: 6px 16px;
        margin-bottom: 14px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 66vh;
        height: 66vh;
        max-height: 500px;
        padding: 20px 12px;
    }
    .hero-title {
        font-size: 26px;
        letter-spacing: -0.5px;
    }
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .hero-btn {
        font-size: 14px;
        padding: 10px 20px;
        max-width: 220px;
    }
    .hero-stats {
        gap: 12px;
    }
    .hero-stat .stat-number {
        font-size: 20px;
    }
    .hero-stat .stat-label {
        font-size: 11px;
    }
    .hero-scroll {
        bottom: 16px;
        font-size: 10px;
    }
    .hero-scroll i {
        font-size: 16px;
    }
}

/* ===== РАССЫЛКА ===== */
.newsletter-form .form-group-full {
    width: 100%;
    margin-bottom: 16px;
}

.newsletter-form .form-group-full label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: #4a6a8a;
    margin-bottom: 5px;
}

.newsletter-form .form-group-full input,
.newsletter-form .form-group-full textarea {
    width: 100%;
    padding: 11px 16px;
    border: 2px solid #e8f0fe;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #f8fafc;
    font-family: inherit;
    color: #1a2a3f;
}

/* Переопределение для читаемости */
.top-bar, .top-bar * {
    color: #ffffff !important;
}

.top-bar a {
    color: #ffffff !important;
}

.top-bar a:hover {
    color: #7aafe5 !important;
}

.top-bar i {
    color: #7aafe5 !important;
}

.header-actions a {
    color: #4a6a8a !important;
}

.header-actions a:hover {
    color: #4a7fc7 !important;
}

.main-nav ul li a {
    color: #2a4a6a !important;
}

.logo {
    color: #1a3a6a !important;
}

.logo i {
    color: #4a7fc7 !important;
}

.search-form input {
    color: #1a2a3f !important;
}

.search-form input::placeholder {
    color: #a0b8d0 !important;
}

.cart-link {
    color: #4a7fc7 !important;
}

.cart-badge {
    color: #ffffff !important;
}
.newsletter-form .form-group-full input:focus,
.newsletter-form .form-group-full textarea:focus {
    outline: none;
    border-color: #4a7fc7;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(74, 127, 199, 0.08);
}

.newsletter-form .form-group-full textarea {
    resize: vertical;
    min-height: 80px;
}

.newsletter-form .form-group-full small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #8aa0b8;
}

.newsletter-hint {
    margin-top: 30px;
    padding: 20px 24px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e8f0fe;
}

.newsletter-hint h4 {
    font-size: 14px;
    color: #1a3a6a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.newsletter-hint .template-box {
    font-size: 13px;
    color: #4a6a8a;
}

.newsletter-hint .template-box pre {
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e8f0fe;
    white-space: pre-wrap;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.6;
    color: #1a2a3f;
}

/* ===== ЗАКАЗЫ В АДМИН-ПАНЕЛИ ===== */
.orders-table td {
    vertical-align: middle;
}

.order-products-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px 0;
}

.order-product-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    padding: 3px 8px;
    background: #f8fafc;
    border-radius: 6px;
    border-left: 3px solid #4a7fc7;
}

.order-product-item .product-name {
    flex: 1;
    font-weight: 500;
    color: #1a2a3f;
}

.order-product-item .product-qty {
    color: #6a8aaa;
    font-weight: 400;
}

.order-product-item .product-price {
    font-weight: 600;
    color: #1a3a6a;
    white-space: nowrap;
}

/* Стили статусов заказов */
.order-status {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.order-status.status-new {
    background: #e8f0fe;
    color: #4a7fc7;
}

.order-status.status-processing {
    background: #fff3e0;
    color: #e67e22;
}

.order-status.status-shipped {
    background: #e8f5ed;
    color: #28a745;
}

.order-status.status-completed {
    background: #e8f5ed;
    color: #28a745;
    border: 1px solid #28a745;
}

.order-status.status-cancelled {
    background: #fde8e8;
    color: #dc3545;
}

/* Статус заказа в таблице */
.status-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.status-badge.status-new {
    background: #e8f0fe;
    color: #4a7fc7;
}

.status-badge.status-processing {
    background: #fff3e0;
    color: #e67e22;
}

.status-badge.status-shipped {
    background: #e8f5ed;
    color: #28a745;
}

.status-badge.status-completed {
    background: #e8f5ed;
    color: #28a745;
    border: 1px solid #28a745;
}

.status-badge.status-cancelled {
    background: #fde8e8;
    color: #dc3545;
}

/* Селект статуса */
.status-select {
    padding: 4px 8px;
    border: 2px solid #e8f0fe;
    border-radius: 8px;
    font-size: 12px;
    background: #fff;
    color: #1a2a3f;
    cursor: pointer;
    transition: all 0.2s ease;
}

.status-select:focus {
    outline: none;
    border-color: #4a7fc7;
}

/* Адаптив для заказов */
@media (max-width: 992px) {
    .orders-table {
        font-size: 13px;
        min-width: 700px;
    }
    .order-product-item {
        font-size: 12px;
        padding: 2px 6px;
    }
}

@media (max-width: 768px) {
    .orders-table {
        font-size: 12px;
        min-width: 600px;
    }
    .order-product-item {
        flex-wrap: wrap;
        gap: 4px;
        padding: 4px 8px;
    }
    .order-product-item .product-name {
        flex-basis: 100%;
    }
    .order-status {
        font-size: 11px;
        padding: 2px 10px;
    }
}