/* ==================== ПЕРЕМЕННЫЕ И СБРОС ==================== */
:root {
    --primary: #2A438A;
    --primary-hover: #1e326b;
    --text-main: #1A1A1A;
    --text-muted: #54585A;
    --border: #E0E0E0;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --font-main: 'Moscow Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* 🔑 КЛЮЧЕВОЕ ИСПРАВЛЕНИЕ СКРОЛЛА */
html, body {
    overflow-y: auto !important;
    overflow-x: hidden;
    min-height: 100%;
    height: auto !important;
    font-family: var(--font-main);
    color: var(--text-main);
    background: #fff;
    line-height: 1.5;
}

a { text-decoration: none; color: inherit; }

/* ==================== ШАПКА (МИНИМАЛЬНАЯ) ==================== */
.shop-header {
    position: sticky;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 12px 0;
}
.shop-header-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.shop-logo img { height: 36px; width: auto; }

/* ==================== ВЕРХНЯЯ ПАНЕЛЬ (ФИЛЬТР, ПОИСК, АККАУНТ) ==================== */
.shop-top-bar {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 20px 0 30px;
    margin: 0 auto;
    max-width: 95%; /* 🔑 95% ширины */
    width: 100%;
    box-sizing: border-box;
}

.shop-filter-btn {
    display: flex; align-items: center; gap: 10px;
    color: var(--primary); font-size: 14px; font-weight: 500;
    cursor: pointer; white-space: nowrap;
}

.shop-search { flex: 1; position: relative; max-width: 100%; }
.shop-search input {
    width: 100%; padding: 12px 50px 12px 20px;
    border: 1px solid var(--primary); border-radius: 50px;
    font-size: 14px; outline: none;
}
.shop-search input:focus { border-color: var(--primary-hover); }
.shop-search-icon {
    position: absolute; right: 15px; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer; color: var(--primary);
}

.shop-user-actions { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.shop-user-link { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.shop-user-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: #4CAF50; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 14px;
}
.shop-cart-btn { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.shop-cart-btn:hover { color: var(--primary); }

/* ==================== ОСНОВНОЙ КОНТЕНТ И РАЗМЕТКА ЛК ==================== */
.main-content {
    padding-top: 0;
    min-height: auto; /* 🔑 Убрано 100vh, разрешаем рост страницы */
    height: auto;
    overflow: visible;
}

.lk-page {
    max-width: 2500px;
    margin: 0 auto;
    padding: 0 40px 60px;
    display: flex;
    gap: 40px;
    width: 100%;
    box-sizing: border-box;
}

/* Сайдбар */
.lk-sidebar {
    width: 260px; flex-shrink: 0;
    background: #F4F6F9; border-radius: 12px; padding: 20px 0;
    display: flex; flex-direction: column;
    position: sticky; top: 80px;
    height: fit-content;
    max-height: calc(100vh - 100px); /* 🔑 Не блокирует скролл страницы */
    overflow-y: auto;
}
.lk-menu-item {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 24px; color: var(--text-muted); font-size: 14px; transition: all 0.2s;
}
.lk-menu-item:hover { color: var(--primary); background: rgba(42, 67, 138, 0.05); }
.lk-menu-item.active { background: var(--primary); color: #fff; font-weight: 500; }
.lk-menu-item svg { opacity: 0.6; }
.lk-menu-item.active svg { opacity: 1; }
.lk-logout {
    margin-top: auto; padding: 14px 24px;
    display: flex; align-items: center; gap: 12px;
    color: #888; font-size: 14px; transition: color 0.3s;
}
.lk-logout:hover { color: #d32f2f; }

/* Контент */
.lk-content { flex: 1; min-width: 0; width: 100%; }

/* ==================== ЭКРАН: ПРОФИЛЬ ==================== */
.lk-title { font-size: 24px; color: var(--primary); margin-bottom: 25px; font-weight: 600; }
.lk-card { background: var(--bg-light); border-radius: 12px; padding: 30px; position: relative; overflow: hidden; }
.profile-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.profile-settings-btn {
    display: flex; align-items: center; gap: 8px; padding: 10px 20px;
    border: 1px solid var(--primary); border-radius: 50px;
    color: var(--primary); background: transparent; cursor: pointer; font-size: 14px; transition: background 0.3s;
}
.profile-settings-btn:hover { background: rgba(42, 67, 138, 0.05); }
.profile-name { font-size: 20px; font-weight: 600; color: var(--primary); margin-bottom: 20px; }
.profile-info-row { display: flex; align-items: center; gap: 15px; margin-bottom: 12px; font-size: 14px; }
.profile-info-label { width: 160px; color: var(--text-main); font-weight: 600; }
.profile-info-value { color: var(--text-main); }
.profile-ship-bg {
    position: absolute; right: 0; bottom: 0; width: 100%; max-width: 500px;
    opacity: 0.15; pointer-events: none; z-index: 0;
}
.profile-ship-bg svg { width: 100%; height: auto; }

/* ==================== ЭКРАН: НАСТРОЙКИ И ФОРМЫ ==================== */
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.settings-card { background: var(--bg-light); padding: 25px; border-radius: 12px; }
.settings-card h3 { margin: 0 0 20px 0; color: var(--primary); font-size: 16px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 12px 16px; border: 1px solid var(--border);
    border-radius: 8px; font-family: var(--font-main); font-size: 14px; outline: none; transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group input:disabled { background: #F5F7FA; color: #888; cursor: not-allowed; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-col input {
    width: 100%; padding: 12px 16px; border: 1px solid var(--border);
    border-radius: 8px; font-size: 14px;
}
.input-line {
    display: flex; align-items: center; gap: 10px; padding: 12px 0;
    border-bottom: 1px solid var(--border); color: var(--text-main); font-size: 14px;
}
.input-line svg { color: var(--primary); width: 16px; }

/* Загрузка фото */
.photo-upload-section { margin-top: 25px; }
.photo-upload-section > label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 15px; color: var(--text-main); }
.photo-upload-wrapper { display: inline-block; cursor: pointer; margin-bottom: 15px; }
.current-photo { width: 120px; height: 120px; border-radius: 8px; object-fit: cover; border: 1px solid var(--border); }
.photo-placeholder {
    width: 120px; height: 120px; border-radius: 8px; background: #fff;
    border: 2px dashed var(--border); display: flex; align-items: center; justify-content: center;
}
.photo-hints { font-size: 11px; color: #888; padding-left: 20px; margin: 0; }
.photo-hints li { margin-bottom: 5px; }

/* Кнопки */
.btn-save {
    width: 100%; padding: 15px; background: var(--primary); color: #fff;
    border: none; border-radius: 50px; cursor: pointer; font-weight: 500; margin-top: 20px; transition: background 0.3s;
}
.btn-save:hover { background: var(--primary-hover); }

.btn-primary {
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px;
    background: var(--primary); color: #fff; border: none; border-radius: 50px;
    font-family: var(--font-main); font-size: 14px; font-weight: 500;
    cursor: pointer; text-decoration: none; transition: all 0.3s;
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; }
.btn-add-address { margin-top: 20px; }

.btn-support {
    width: 100%; padding: 14px; background: transparent; border: 1px solid var(--primary);
    border-radius: 50px; color: var(--primary); font-family: var(--font-main); font-size: 13px;
    font-weight: 500; cursor: pointer; display: flex; align-items: center; justify-content: center;
    gap: 10px; margin-top: 15px; transition: all 0.3s;
}
.btn-support:hover { background: rgba(42, 67, 138, 0.05); }

.btn-delete-profile {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
    padding: 12px; margin-top: 15px; background: transparent; border: none;
    color: #d32f2f; font-size: 13px; cursor: pointer; transition: all 0.3s;
}
.btn-delete-profile:hover { background: #FFF2F2; border-radius: 8px; }

.btn-outline {
    width: 100%; padding: 14px; border: 1px solid var(--primary); background: transparent;
    color: var(--primary); border-radius: 50px; cursor: pointer; font-weight: 500; margin-top: 20px;
    display: flex; justify-content: center; align-items: center; gap: 10px; transition: all 0.3s;
}
.btn-outline:hover { background: rgba(42, 67, 138, 0.05); }

.check-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 14px; cursor: pointer; }
.check-row input { margin-top: 3px; accent-color: var(--primary); }

/* Уведомления */
.alert { padding: 15px 20px; border-radius: 8px; margin-bottom: 25px; font-size: 14px; }
.alert-success { background: #E8F5E9; color: #2E7D32; border: 1px solid #A5D6A7; }
.alert-error { background: #FFEBEE; color: #C62828; border: 1px solid #EF9A9A; }

/* ==================== МОДАЛЬНЫЕ ОКНА ==================== */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px);
    z-index: 2000; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
    background: #fff; border-radius: 20px; padding: 40px; max-width: 600px; width: 90%;
    max-height: 90vh; overflow-y: auto; position: relative; transform: translateY(-20px);
    transition: transform 0.3s ease; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.modal-overlay.active .modal { transform: translateY(0); }
.modal-close {
    position: absolute; top: 20px; right: 20px; width: 36px; height: 36px; border: none;
    background: #F0F2F5; border-radius: 50%; font-size: 24px; color: var(--text-muted);
    cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s;
}
.modal-close:hover { background: #E0E0E0; color: var(--text-main); }
.modal-title { font-size: 24px; font-weight: 600; color: var(--primary); margin: 0 0 30px 0; text-align: center; }
.modal-success { text-align: center; padding: 40px 20px; }
.modal-success svg { margin-bottom: 20px; }
.modal-success h3 { font-size: 20px; color: var(--primary); margin: 0 0 10px 0; }
.modal-success p { color: var(--text-muted); margin-bottom: 30px; }

/* ==================== АДРЕСА ==================== */
.addresses-list { display: grid; gap: 20px; }
.address-card { background: var(--bg-light); border-radius: 12px; padding: 25px; border: 1px solid var(--border); }
.address-main { font-size: 16px; font-weight: 600; color: var(--primary); margin-bottom: 10px; }
.address-detail { font-size: 14px; color: var(--text-muted); margin-bottom: 5px; }
.address-date { font-size: 12px; color: #888; margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--border); }
.modal-address { max-width: 500px; }
.address-form .form-group { margin-bottom: 20px; }
.address-form input {
    width: 100%; padding: 14px 16px; border: 1px solid var(--border);
    border-radius: 8px; font-size: 14px; outline: none; transition: border-color 0.3s;
}
.address-form input:focus { border-color: var(--primary); }
.address-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

/* ==================== ЗАКАЗЫ ==================== */
.orders-tabs { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.order-tab {
    padding: 10px 24px; background: #F4F6F9; border: none; border-radius: 25px;
    color: var(--text-muted); font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.3s;
}
.order-tab:hover { background: rgba(42, 67, 138, 0.1); }
.order-tab.active { background: var(--primary); color: #fff; }
.empty-state { text-align: center; padding: 80px 40px; background: var(--bg-light); border-radius: 12px; }
.empty-state svg { margin-bottom: 20px; opacity: 0.5; }
.empty-state p { font-size: 16px; color: var(--text-muted); margin-bottom: 25px; }
.order-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 25px; margin-bottom: 20px; }
.order-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 15px; }
.order-id { font-size: 16px; font-weight: 600; color: var(--primary); }
.order-status { padding: 6px 16px; border-radius: 20px; font-size: 12px; font-weight: 500; background: #E3F2FD; color: #1976D2; }
.order-items { margin: 20px 0; }
.order-item { display: grid; grid-template-columns: 80px 1fr auto auto; gap: 20px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--border); }
.order-item:last-child { border-bottom: none; }
.order-item img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; }
.order-item-name { font-weight: 500; font-size: 14px; }
.order-item-sku { font-size: 12px; color: #888; }
.order-item-price { font-weight: 600; font-size: 14px; color: var(--primary); }
.order-total { display: flex; justify-content: space-between; padding-top: 20px; border-top: 2px solid var(--primary); font-size: 16px; font-weight: 600; color: var(--primary); }

/* ==================== ТЕХ. ПОДДЕРЖКА ==================== */
.modal-support { max-width: 550px; }
.support-form .form-group { margin-bottom: 20px; }
.support-form label { display: block; font-size: 13px; font-weight: 500; color: var(--text-muted); margin-bottom: 8px; }
.support-form input, .support-form textarea {
    width: 100%; padding: 12px 16px; border: 1px solid var(--border);
    border-radius: 8px; font-family: var(--font-main); font-size: 14px; outline: none; transition: border-color 0.3s;
}
.support-form input:focus, .support-form textarea:focus { border-color: var(--primary); }
.support-form textarea { resize: vertical; min-height: 120px; }

/* ==================== АДАПТИВ ==================== */
@media (max-width: 1024px) {
    .shop-top-bar { flex-wrap: wrap; gap: 20px; padding: 15px 20px 25px; max-width: 100%; }
    .shop-search { order: 3; width: 100%; max-width: none; }
    .lk-page { flex-direction: column; padding: 0 20px 40px; }
    .lk-sidebar { width: 100%; position: static; flex-direction: row; overflow-x: auto; padding: 10px; }
    .lk-menu-item { padding: 10px 15px; white-space: nowrap; }
    .settings-grid { grid-template-columns: 1fr; }
    .lk-content { padding: 20px 0; }
    .form-row { grid-template-columns: 1fr; }
    .order-item { grid-template-columns: 60px 1fr; gap: 15px; }
    .order-item-qty, .order-item-price { grid-column: 2; text-align: left; }
    .modal { padding: 30px 20px; }
}
@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; }
    .order-item { grid-template-columns: 1fr; }
    .order-item img { width: 100%; height: 150px; }
}
/* ==================== АДАПТИВ ЛК (МОБИЛЬНЫЙ ≤768px) ==================== */
@media (max-width: 768px) {
    /* Меняем направление флекса: контент сверху, меню снизу */
    .lk-page {
        flex-direction: column;
        padding: 0 15px 40px;
        display: flex;
        flex-direction: column-reverse;
    }

    /* Меню становится обычной карточкой в потоке */
    .lk-sidebar {
        position: static !important;
        width: 100%;
        top: auto !important;
        max-height: none !important;
        height: auto;
        margin-top: 30px; /* Отступ от контента */

        /* Стиль как на скрине */
        background: #F4F6F9;
        border-radius: 16px;
        padding: 10px 0;
        box-shadow: none;
        flex-direction: column !important;
        gap: 4px;
    }
    .profile-settings-btn{
        font-size: 10px;
    }
    /* Пункты меню вертикально */
    .lk-menu-item {
        padding: 14px 20px;
        border-radius: 12px;
        justify-content: flex-start;
        font-size: 14px;
        white-space: nowrap;
    }
    .lk-menu-item svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        margin-right: 12px;
    }

    /* Активный пункт */
    .lk-menu-item.active {
        background: var(--primary);
        color: #fff;
        font-weight: 500;
    }
    .lk-menu-item.active svg { opacity: 1; }

    /* Кнопка выхода */
    .lk-logout {
        margin-top: 10px;
        padding: 14px 20px;
        border-top: 1px solid rgba(0,0,0,0.06);
        border-radius: 12px;
    }

    /* Адаптация карточек контента */
    .lk-content { padding: 0; }
    .lk-card, .settings-card, .order-card, .address-card {
        padding: 20px 15px;
    }
    .form-row { grid-template-columns: 1fr; }
}
/* ==================== КОРЗИНА ==================== */
.cart-page {
    max-width: 2500px;
    margin: 0 auto;
    padding: 40px;
    min-height: 60vh;
}

/* Пустая корзина */
.cart-empty {
    text-align: center;
    padding: 80px 20px;
}
.cart-empty-icon {
    margin-bottom: 40px;
    opacity: 0.5;
}
.cart-empty-title {
    font-size: 28px;
    color: var(--text-main);
    margin-bottom: 40px;
    font-weight: 600;
}
.btn-login-cart {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    margin-top: 15px;
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s;
}
.btn-login-cart:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* Корзина с товарами */
.cart-title {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 30px;
    font-weight: 600;
}
.cart-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--border);
}
.cart-item-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}
.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.cart-item-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-main);
}
.cart-item-sku {
    font-size: 13px;
    color: var(--text-muted);
}
.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}
.quantity-form {
    display: flex;
    align-items: center;
    gap: 10px;
}
.qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}
.qty-btn:hover:not(:disabled) {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.qty-value {
    font-weight: 500;
    min-width: 60px;
    text-align: center;
}
.cart-item-price {
    font-weight: 600;
    font-size: 16px;
    color: var(--primary);
    min-width: 120px;
    text-align: right;
}
.cart-item-delete {
    min-width: 40px;
}
.delete-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border-radius: 8px;
}
.delete-btn:hover {
    background: #FFF2F2;
    color: #d32f2f;
}
.cart-clear {
    text-align: center;
    padding: 20px 0;
}
.clear-cart-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s;
}
.clear-cart-btn:hover {
    color: #d32f2f;
}

/* Итоги */
.cart-summary {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border);
    height: fit-content;
    position: sticky;
    top: 100px;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-muted);
}
.summary-qty {
    font-weight: 600;
    color: var(--text-main);
}
.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 2px solid var(--border);
    border-bottom: 2px solid var(--border);
    margin-bottom: 35px;
    font-size: 16px;
}
.summary-total span:first-child {
    font-weight: 600;
    color: var(--text-main);
}
.summary-price {
    font-weight: 700;
    font-size: 20px;
    color: var(--primary);
}
.btn-checkout {
    width: 100%;
    padding: 18px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-checkout:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* Адаптив корзины */
@media (max-width: 1024px) {
    .cart-content {
        grid-template-columns: 1fr;
    }
    .cart-summary {
        position: static;
    }
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }
    .cart-item-quantity,
    .cart-item-price,
    .cart-item-delete {
        grid-column: 2;
    }
}
@media (max-width: 768px) {
    .container {
        padding: 0px !important;
    }
    .cart-page {
        padding: 15px;
    }
    
    /* Сетка: 3 колонки, 2 строки */
    .cart-item {
        display: grid;
        grid-template-columns: 60px 1fr auto;
        grid-template-rows: auto auto;
        gap: 8px 15px;
        padding: 15px;
    }
    
    /* 🔹 1. Картинка (Верхний левый) */
    .cart-item-image {
        grid-row: 1;
        grid-column: 1;
    }
    .cart-item-image img {
        width: 60px;
        height: 60px;
        border-radius: 8px;
    }
    
    /* 🔹 2. Название (Верхний центр) */
    .cart-item-info {
        grid-row: 1;
        grid-column: 2;
        padding-right: 35px; /* Место под корзину */
    }
    .cart-item-name {
        font-size: 14px;
        font-weight: 600;
        line-height: 1.3;
    }
    .cart-item-sku { display: none; }
    
    /* 🔹 3. Корзина (Верхний правый) */
    .cart-item-delete {
        grid-row: 1;
        grid-column: 3;
        justify-self: end;
    }
    .delete-btn {
        width: 28px;
        height: 28px;
    }
    
    /* 🔹 4. Цена (Нижний левый - прямо под фото) */
    .cart-item-price {
        grid-row: 2;
        grid-column: 1;
        align-self: center;
        font-size: 16px;
        font-weight: 700;
        margin-top: 5px;
    }
    
    /* 🔹 5. Количество (Нижний правый) */
    .cart-item-quantity {
        grid-row: 2;
        grid-column: 2 / span 2; /* Занимает оставшееся место справа */
        justify-self: end;
        align-self: center;
        gap: 10px;
    }
    .qty-btn {
        width: 30px;
        height: 30px;
        font-size: 20px;
    }
    .qty-value {
        min-width: 40px;
        font-size: 15px;
        font-weight: 600;
    }
}