/* =========================================
   🌶️ АДКИЙ ОГОРОД — ПОЛНЫЙ CSS ФАЙЛ
   Версия: 14.0 (Полная, все компоненты)
   ========================================= */
   
   html { height: 100%; }
body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }
footer { flex-shrink: 0; margin-top: auto; }

/* ==========================================
   1. ПЕРЕМЕННЫЕ (ЦВЕТОВАЯ СХЕМА)
   ========================================== */
:root {
    --primary: #d32f2f;
    --primary-dark: #b71c1c;
    --secondary: #ff6f00;
    --secondary-dark: #e65100;
    --dark: #1a1a1a;
    --text: #333333;
    --text-light: #666666;
    --light: #f8f9fa;
    --white: #ffffff;
    --border: #e2e8f0;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 25px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-full: 9999px;
    --transition: 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

main {
    flex: 1;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

img, picture, video, canvas, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: none;
}

/* ==========================================
   3. ЛЕЙАУТ И КОНТЕЙНЕР
   ========================================== */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.hidden { display: none !important; }
.visible { display: block !important; }

/* ==========================================
   4. ШАПКА (HEADER)
   ========================================== */
header {
    background: var(--dark);
    color: var(--white);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    object-fit: cover;
    background: #fff;
}

.logo-text h1 {
    font-size: 1.25rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
    font-weight: 800;
}

.logo-text p {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 2px;
}

/* ==========================================
   5. НАВИГАЦИЯ (ДЕСКТОП)
   ========================================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

.main-nav {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    background: none;
    box-shadow: none;
    overflow: visible;
    right: auto;
    transition: none;
}

.main-nav ul {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.main-nav a {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    color: #e5e7eb;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--primary);
    color: #fff;
}

.cart-btn {
    background: var(--secondary);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
}

.cart-btn:hover {
    background: var(--secondary-dark);
}

/* ==========================================
   6. НАВИГАЦИЯ (МОБИЛЬНАЯ)
   ========================================== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--dark);
        padding: 70px 20px 20px;
        transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
        box-shadow: -5px 0 20px rgba(0,0,0,0.5);
        z-index: 1001;
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    
    .main-nav a {
        padding: 12px 15px;
        font-size: 1rem;
        border-radius: var(--radius-sm);
        text-align: left;
    }
    
    .cart-btn {
        margin-top: 10px;
        text-align: center;
        justify-content: center;
    }
}

/* ==========================================
   7. ГЕРОЙ СЕКЦИЯ (HERO)
   ========================================== */
.hero {
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.75)), url('../uploads/hero-bg.jpg') center/cover no-repeat;
    color: #fff;
    padding: 90px 0;
    text-align: center;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,111,0,0.9);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 3px 6px rgba(0,0,0,0.6);
    font-weight: 900;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.5;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ==========================================
   8. КНОПКИ
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    line-height: 1.2;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--secondary);
    color: #fff;
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

.btn-success {
    background: var(--success);
    color: #fff;
}

.btn-success:hover {
    background: #059669;
}

.btn-danger {
    background: var(--error);
    color: #fff;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.85rem;
}

.btn-large {
    padding: 14px 32px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
    display: flex;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ==========================================
   9. СЕКЦИИ И ЗАГОЛОВКИ
   ========================================== */
.section {
    padding: 60px 0;
}

.section-light {
    background-color: var(--light);
}

.section-title {
    text-align: center;
    font-size: 1.9rem;
    margin-bottom: 12px;
    color: var(--dark);
    position: relative;
    padding-bottom: 14px;
    font-weight: 800;
    line-height: 1.3;
}

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

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 35px;
    max-width: 600px;
    margin: 0 auto 35px;
}

/* ==========================================
   10. СЕТКА ТОВАРОВ И КАРТОЧКИ
   ========================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.product-img-wrap {
    position: relative;
    overflow: hidden;
    background: var(--light);
}

.product-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img {
    transform: scale(1.06);
}

.badge-sale {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #fff;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-info {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--dark);
    font-weight: 700;
    line-height: 1.3;
}

.heat-level {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 8px;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-price {
    margin: 8px 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.price-cur {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 800;
}

.price-old {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* ==========================================
   11. БЫСТРОЕ ДОБАВЛЕНИЕ В КОРЗИНУ
   ========================================== */
.quick-add-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: auto;
    flex-wrap: wrap;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #fff;
}

.qty-btn {
    width: 32px;
    height: 32px;
    background: var(--light);
    border: none;
    font-size: 1.1rem;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    background: #e2e8f0;
}

.qty-input {
    width: 40px;
    height: 32px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    background: transparent;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-add-cart {
    flex: 1;
    min-width: 110px;
}

/* ==========================================
   12. ПРЕИМУЩЕСТВА
   ========================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.feature-card {
    text-align: center;
    padding: 28px 18px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.feat-icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
    display: inline-block;
}

.feature-card h3 {
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 1.15rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ==========================================
   13. ВИДЕО
   ========================================== */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.video-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-info {
    padding: 14px 16px;
}

.video-info h3 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--dark);
    font-weight: 600;
}

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

/* ==========================================
   14. CTA СЕКЦИЯ
   ========================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 45px 0;
    text-align: center;
    color: #fff;
}

.cta-section h2 {
    font-size: 1.7rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.cta-section p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    opacity: 0.95;
}

.cta-section .btn {
    background: #fff;
    color: var(--primary);
    font-weight: 700;
}

.cta-section .btn:hover {
    background: var(--dark);
    color: #fff;
}

/* ==========================================
   15. КОРЗИНА И ТАБЛИЦЫ
   ========================================== */
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin: 20px 0;
    background: #fff;
    box-shadow: var(--shadow-sm);
    -webkit-overflow-scrolling: touch;
}

.data-table, .cart-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
    background: #fff;
}

.cart-table th {
    background: var(--light);
    color: var(--text);
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}

.cart-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    color: var(--text);
}

.cart-table tr:last-child td {
    border-bottom: none;
}

.cart-table tr:hover {
    background-color: #fafbfc;
}

.cart-table td img,
.cart-table .product-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
    flex-shrink: 0;
    background: #f1f5f9;
}

.cart-summary {
    background: var(--light);
    padding: 25px;
    border-radius: var(--radius-lg);
    margin-top: 25px;
    border: 1px solid var(--border);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--dark);
}

/* ==========================================
   16. ФОРМЫ И ПОЛЯ ВВОДА
   ========================================== */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition);
    background: #fff;
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.12);
}

.form-group textarea {
    min-height: 110px;
    resize: vertical;
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

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

/* ==========================================
   17. УВЕДОМЛЕНИЯ И ПУСТЫЕ СОСТОЯНИЯ
   ========================================== */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    border-left: 4px solid;
    font-weight: 500;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border-color: var(--success);
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border-color: var(--error);
}

.alert-warning {
    background: #fffbeb;
    color: #92400e;
    border-color: var(--warning);
}

.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-light);
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    margin: 20px 0;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    opacity: 0.7;
}

.empty-state h3 {
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 600;
    font-size: 1.2rem;
}

.empty-state p {
    margin-bottom: 20px;
    font-size: 1rem;
}

/* ==========================================
   18. СТРАНИЦА "О НАС"
   ========================================== */
.about-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 70px 0;
}

.about-content-wrapper {
    max-width: 1280px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text);
    overflow: hidden;
}

.about-text h3 {
    color: var(--primary);
    margin: 40px 0 16px;
    font-size: 1.6rem;
    font-weight: 700;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text ul, .about-text ol {
    margin: 20px 0 24px 30px;
}

.about-text li {
    margin-bottom: 10px;
}

.founder {
    max-width: 520px;
    width: 44%;
    display: block;
    border-radius: 24px;
    background: transparent;
    -webkit-filter: drop-shadow(0 0 0 3px #ffffff) drop-shadow(0 0 0 6px var(--secondary)) drop-shadow(0 14px 30px rgba(0,0,0,0.22)) !important;
    filter: drop-shadow(0 0 0 3px #ffffff) drop-shadow(0 0 0 6px var(--secondary)) drop-shadow(0 14px 30px rgba(0,0,0,0.22)) !important;
    transition: transform 0.3s ease;
    shape-margin: 32px;
}

.founder:hover {
    transform: translateY(-5px) scale(1.01);
}

.founder-right {
    float: right;
    margin: 10px 0 50px 45px;
    shape-outside: url('../uploads/pages/about/evgeny_*.png');
}

.founder-left {
    float: left;
    clear: left;
    margin: 50px 45px 40px 0;
    shape-outside: url('../uploads/pages/about/ilya_*.png');
}

/* ==========================================
   19. СТРАНИЦА "КОНТАКТЫ"
   ========================================== */
.contact-card {
    background: var(--light);
    padding: 25px;
    border-radius: var(--radius-lg);
    margin-bottom: 25px;
    border: 1px solid var(--border);
}

.contact-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 700;
}

.contact-card p {
    line-height: 1.8;
    margin-bottom: 8px;
}

.map-wrap {
    height: 450px;
    background: #e2e8f0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

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

.contacts-col {
    display: flex;
    flex-direction: column;
}

.info-card {
    background: var(--light);
    padding: 25px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.info-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 700;
}

.map-container {
    height: 100%;
    min-height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

/* ==========================================
   20. ОФОРМЛЕНИЕ ЗАКАЗА (CHECKOUT)
   ========================================== */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.checkout-form {
    /* Стили формы */
}

.checkout-summary {
    /* Стили итоговой панели */
}

.summary-box {
    background: var(--light);
    padding: 25px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    position: sticky;
    top: 100px;
}

/* ==========================================
   21. ФУТЕР
   ========================================== */
footer {
    background: var(--dark);
    color: #fff;
    padding: 40px 0 20px;
    margin-top: auto;
}

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

.footer-col h3 {
    color: var(--secondary);
    margin-bottom: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--secondary);
}

.footer-col p,
.footer-col a {
    color: #9ca3af;
    line-height: 1.7;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151;
    color: #6b7280;
    font-size: 0.85rem;
}

/* ==========================================
   22. АДМИН-ПАНЕЛЬ (БАЗОВЫЕ СТИЛИ)
   ========================================== */
.admin-header {
    background: var(--dark);
    color: #fff;
    padding: 12px 0;
    margin-bottom: 20px;
}

.admin-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 25px;
}

.admin-nav a {
    padding: 8px 14px;
    background: var(--light);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
}

.admin-nav a:hover,
.admin-nav a.active {
    background: var(--primary);
    color: #fff;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.admin-table th {
    background: var(--dark);
    color: #fff;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}

.admin-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.admin-table tr:hover {
    background: #fafbfc;
}

.admin-table img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

/* ==========================================
   23. АДАПТИВНОСТЬ: ПЛАНШЕТЫ (до 992px)
   ========================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .summary-box {
        position: static;
    }
}

/* ==========================================
   24. АДАПТИВНОСТЬ: МОБИЛЬНЫЕ (до 768px)
   ========================================== */
@media (max-width: 768px) {
    .hero {
        padding: 50px 0;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 1.7rem;
        letter-spacing: 1px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .products-grid,
    .features-grid,
    .videos-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-add-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .qty-control {
        justify-content: space-between;
        width: 100%;
    }
    
    .btn-add-cart {
        width: 100%;
    }
    
    .contacts-layout {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        min-height: 300px;
    }
    
    .footer-grid {
        text-align: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Исправление для товаров на мобильном */
    .product-img-wrap {
        height: auto !important;
        padding-bottom: 0 !important;
    }
    
    .product-img {
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
        object-fit: contain !important;
        padding: 10px;
    }
    
    .product-card {
        height: auto !important;
    }
    
    /* Страница "О нас" на мобильном */
    .about-text {
        display: flex;
        flex-direction: column;
    }
    
    .founder {
        float: none !important;
        clear: both !important;
        width: 85%;
        max-width: 340px;
        margin: 0 auto 30px !important;
        order: -1;
        shape-outside: none !important;
    }
    
    .about-text h3,
    .about-text p,
    .about-text ul,
    .about-text ol {
        order: 1;
        text-align: left;
        clear: both;
    }
    
    .about-text h3 {
        text-align: center;
        margin: 20px 0 15px;
        font-size: 1.35rem;
    }
}

/* ==========================================
   25. АДАПТИВНОСТЬ: МАЛЕНЬКИЕ ТЕЛЕФОНЫ (до 480px)
   ========================================== */
@media (max-width: 480px) {
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 0 14px;
    }
    
    .logo img {
        width: 44px;
        height: 44px;
    }
    
    .logo-text h1 {
        font-size: 1rem;
    }
    
    .logo-text p {
        display: none;
    }
    
    .hero {
        padding: 40px 0;
        min-height: 360px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 12px 24px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .product-img {
        min-height: 160px;
        aspect-ratio: 1/1;
    }
    
    .cart-table th,
    .cart-table td {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .cart-table td img,
    .cart-table .product-thumb {
        width: 50px;
        height: 50px;
    }
    
    .data-table th,
    .data-table td {
        padding: 10px 10px;
        font-size: 0.85rem;
    }
    
    .founder {
        width: 95%;
        max-width: 280px;
        margin: 0 auto 25px !important;
    }
}

/* ==========================================
   26. АДАПТИВНОСТЬ: ОЧЕНЬ МАЛЕНЬКИЕ ЭКРАНЫ (до 360px)
   ========================================== */
@media (max-width: 360px) {
    html {
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 1.3rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 9px 14px;
        font-size: 0.85rem;
    }
}

/* ==========================================
   27. АНИМАЦИИ
   ========================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.product-card,
.feature-card,
.video-card,
.alert {
    animation: fadeIn 0.4s ease forwards;
}

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

/* ==========================================
   28. СТИЛИ ДЛЯ ПЕЧАТИ
   ========================================== */
@media print {
    header, footer, nav, .btn, .hero, .cta-section, .mobile-menu-toggle {
        display: none !important;
    }
    
    body {
        background: #ffffff;
        color: #000000;
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .product-card,
    .feature-card,
    .video-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #cccccc;
        margin-bottom: 15px;
    }
    
    a {
        text-decoration: underline;
        color: #000000;
    }
    
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #555555;
    }
    
    .admin-header, .admin-nav, .admin-table {
        display: none !important;
    }
}

/* === СОЦИАЛЬНЫЕ СЕТИ В ФУТЕРЕ === */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #bbb;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

.social-link:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
    color: #fff;
}

.social-link.vk:hover {
    background: rgba(0,119,255,0.15);
    color: #0077FF;
}

.social-link.telegram:hover {
    background: rgba(0,136,204,0.15);
    color: #0088CC;
}

.social-link.youtube:hover {
    background: rgba(255,0,0,0.15);
    color: #FF0000;
}

.social-link.rutube:hover {
    background: rgba(255,71,87,0.15);
    color: #FF4757;
}

.social-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.social-link span {
    font-weight: 600;
}

/* На очень маленьких экранах */
@media (max-width: 480px) {
    .social-link {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    .social-link svg {
        width: 18px;
        height: 18px;
    }
}