@import 'components.css';
@import 'themes.css';


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #D53C2D;
    --deep-blue: #1E3A8A;
    --emerald: #10B981;
    --graphite: #0F172A;
    --light: #F1F5F9;
    --white: #FFFFFF;
}

/* Темная тема */
:root[data-theme="dark"] {
    --graphite: #F1F5F9;
    --light: #1E293B;
    --white: #0F172A;
}

html {
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--graphite);
    padding: 0 !important;
    transition: background-color 0.3s, color 0.3s;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-shell {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.app-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Анимации переходов */
.page {
    display: none;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.page.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

/* Поиск */
.search-container {
    position: sticky;
    top: 0;
    z-index: 99;
    background: var(--white);
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: background-color 0.3s;
}

.search-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 14px 48px 14px 16px;
    border: 2px solid var(--light);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: all 0.3s;
    background-color: var(--white);
    color: var(--graphite);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(213, 60, 45, 0.1);
}

.search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    stroke: #94a3b8;
    pointer-events: none;
}

.clear-search {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--light);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.clear-search:hover {
    background: #e2e8f0;
}

.clear-search.visible {
    display: flex;
}

/* Категории */
.categories-container {
    background: var(--white);
    padding: 0px 16px 20px 20px;
    border-bottom: 1px solid var(--light);
    transition: background-color 0.3s;
}

.categories-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.categories-scroll::-webkit-scrollbar {
    display: none;
}

.category-tag {
    flex-shrink: 0;
    padding: 8px 16px;
    border: 2px solid var(--light);
    border-radius: 20px;
    background: var(--white);
    color: var(--graphite);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.category-tag:hover {
    border-color: var(--primary-red);
}

.category-tag.active {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

/* Основной контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Секция заголовков */
.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin: 0px 0 16px;
    color: var(--graphite);
}

.page-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--graphite);
}

/* Основной товар - WHOOP */
.hero-product {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 32px;
    transition: background-color 0.3s;
}

.hero-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--light) 0%, var(--light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background 0.3s;
    background-image: url('https://images.ctfassets.net/rbzqg6pelgqa/5zNKZVJ7hwz2EXhfUR5O5X/dac0c7c2ff3e2de82a24e3b1d1fcb960/Announcement-post-HEADER-1800x1000.jpg?fm=webp&q=25&w=3840');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.hero-content {
    padding: 20px;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.hero-description {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 16px;
    line-height: 1.5;
}

.hero-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 16px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #c2321f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(213, 60, 45, 0.3);
}

.btn-primary:disabled {
    background-color: #cbd5e1;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background-color: var(--light);
    color: var(--graphite);
}

.btn-secondary:hover {
    background-color: #e2e8f0;
}

.btn-success {
    background-color: var(--emerald);
    color: var(--white);
}

.btn-success:hover {
    background-color: #0da271;
}

.btn-danger {
    background-color: #ef4444;
    color: var(--white);
}

.btn-danger:hover {
    background-color: #dc2626;
}

.btn-back {
    background-color: var(--graphite);
    color: var(--white);
    width: auto;
    padding: 12px 24px;
}

.btn-back:hover {
    background-color: var(--deep-blue);
}

/* Сетка товаров */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.products-not-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.product-image {
    width: 100%;
    height: 160px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background-color 0.3s;
    background-image: url('https://whoopstore.ru/wp-content/uploads/2025/06/21529642.png.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.product-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--emerald);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.product-info {
    padding: 12px;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--graphite);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 8px;
}

.product-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-btn {
    padding: 10px;
    border: none;
    border-radius: 6px;
    background-color: var(--graphite);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-btn:hover {
    background-color: var(--deep-blue);
}

/* Ноутбуки */
.other-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.other-product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.3s;
}

.other-product-image {
    width: 100%;
    height: 200px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    background-image: url('https://avatars.mds.yandex.net/get-mpic/5326077/2a0000019645a0b41491baf812004a30dbec/orig');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.other-product-info {
    padding: 16px;
    flex: 1;
}

.other-product-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.other-product-specs {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
    line-height: 1.6;
}

.other-product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 12px;
}

.other-product-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Галерея товаров */
.product-gallery {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--light);
    touch-action: pan-y;
}

.gallery-container {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.3s ease;
}

.gallery-slide {
    width: 33.333%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-image: url('https://static.tildacdn.com/tild3766-6233-4366-b363-373435363564/Group_1434.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.gallery-dots {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.gallery-dot.active {
    background: var(--white);
}

/* Страница продукта */
.product-detail {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
    transition: background-color 0.3s;
}

.product-detail-content {
    padding: 24px;
}

.product-detail-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-detail-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.product-detail-description {
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 24px;
}

.size-selector {
    margin-bottom: 20px;
}

.size-options {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.size-option {
    padding: 8px 16px;
    border: 2px solid var(--light);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.size-option.selected {
    border-color: var(--primary-red);
    background-color: rgba(213, 60, 45, 0.05);
}

.specs-table {
    width: 100%;
    margin-bottom: 24px;
}

.specs-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid var(--light);
}

.specs-label {
    flex: 0 0 40%;
    font-weight: 600;
    color: var(--graphite);
}

.specs-value {
    flex: 1;
    color: #64748b;
}

.features-list {
    list-style: none;
    margin-bottom: 24px;
}

.features-list li {
    padding: 8px 0 8px 24px;
    position: relative;
    line-height: 1.5;
}

.features-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--emerald);
    font-weight: 700;
}

.all-specs-btn {
    background: none;
    border: none;
    color: var(--primary-red);
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0;
    margin-bottom: 16px;
}

.all-specs-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.all-specs-content.active {
    max-height: 2000px;
}

/* Корзина */
.cart-item {
    background: var(--white);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    display: flex;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: background-color 0.3s;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: var(--light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #94a3b8;
    flex-shrink: 0;
    transition: background-color 0.3s;
    background-image: url('https://static.tildacdn.com/tild3766-6233-4366-b363-373435363564/Group_1434.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    max-height: 2.8em;
}

.cart-item-price {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--light);
    border-radius: 8px;
    padding: 4px;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: var(--white);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    color: var(--graphite);
    transition: all 0.2s;
}

.quantity-btn:hover {
    background: var(--primary-red);
    color: var(--white);
}

.quantity {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

.remove-btn {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 4px 8px;
    font-size: 13px;
    font-weight: 600;
}

.cart-summary {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: background-color 0.3s;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
}

.summary-row.total {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-red);
    padding-top: 12px;
    border-top: 2px solid var(--light);
    margin-top: 12px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    opacity: 0.3;
}

.empty-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.empty-text {
    color: #64748b;
    margin-bottom: 24px;
}

/* Заказы */
.order-card {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: background-color 0.3s;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--light);
}

.order-number {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.order-date {
    font-size: 13px;
    color: #64748b;
}

.order-status {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.status-delivered {
    background: #d1fae5;
    color: #065f46;
}

.status-processing {
    background: #fef3c7;
    color: #92400e;
}

.status-shipping {
    background: #dbeafe;
    color: #1e40af;
}

.order-items {
    margin-bottom: 16px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.order-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-red);
    padding-top: 12px;
    border-top: 1px solid var(--light);
}

.track-btn {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 12px;
}

/* Профиль */
.profile-section {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: background-color 0.3s;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-red), var(--deep-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
}

.profile-email {
    color: #64748b;
    margin-top: 4px;
    font-size: 14px;
}

.section-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--graphite);
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--graphite);
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--light);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: border-color 0.3s;
    background-color: var(--white);
    color: var(--graphite);
}

.form-input:disabled {
    background-color: var(--light);
    color: #64748b;
    cursor: not-allowed;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-red);
}

/* Стили для переключателя уведомлений */
.toggle-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--light);
}

.toggle-label {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: var(--graphite);
}

.toggle-switch {
    position: relative;
    width: 51px;
    height: 31px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 27px;
    width: 27px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.toggle-slider {
    background-color: var(--primary-red);
}

input:checked+.toggle-slider:before {
    transform: translateX(20px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.stat-card {
    background: var(--light);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: background-color 0.3s;
}

.stat-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: #64748b;
}

.menu-list {
    list-style: none;
}

.menu-item {
    padding: 16px;
    border-bottom: 1px solid var(--light);
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-item:hover {
    background: var(--light);
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-icon {
    width: 20px;
    height: 20px;
    stroke: #94a3b8;
}

/* FAQ */
.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: background-color 0.3s;
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--light);
}

.faq-icon {
    width: 20px;
    height: 20px;
    stroke: var(--graphite);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 20px 20px;
    color: #64748b;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Policy */
.policy-content {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    line-height: 1.8;
    transition: background-color 0.3s;
}

.policy-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--graphite);
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content p {
    margin-bottom: 16px;
    color: #64748b;
}

.policy-content ul {
    margin: 16px 0;
    padding-left: 24px;
}

.policy-content li {
    margin-bottom: 8px;
    color: #64748b;
}

/* Оформление заказа */
.checkout-section {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: background-color 0.3s;
}

.delivery-options,
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.delivery-option,
.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid var(--light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.delivery-option:hover,
.payment-option:hover {
    border-color: var(--primary-red);
}

.delivery-option.selected,
.payment-option.selected {
    border-color: var(--primary-red);
    background-color: rgba(213, 60, 45, 0.05);
}

.payment-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.option-info {
    flex: 1;
}

.option-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.option-description {
    font-size: 14px;
    color: #64748b;
}

.option-price {
    font-weight: 600;
    color: var(--primary-red);
}

.pickup-info {
    background: var(--light);
    padding: 16px;
    border-radius: 8px;
    margin-top: 12px;
    display: none;
}

.pickup-info.active {
    display: block;
}

.address-fields,
.pickup-point-fields {
    display: none;
}

.address-fields.active,
.pickup-point-fields.active {
    display: block;
}

/* Нижнее меню */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--white);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
    display: none;
    justify-content: space-around;
    align-items: center;
    padding: 0 8px;
    z-index: 1000;
    transition: background-color 0.3s;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 120px;
    position: relative;
}

.nav-item:hover {
    background-color: var(--light);
}

.nav-item.active {
    color: var(--primary-red);
}

.nav-icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.nav-label {
    font-size: 11px;
    font-weight: 600;
}

.badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background-color: var(--primary-red);
    color: var(--white);
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    text-align: center;
}

/* Дополнительные исправления */
.btn-edit {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.btn-edit:hover {
    background-color: rgba(239, 68, 68, 0.1);
}

.checkout-items {
    margin-bottom: 20px;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--light);
}

/* Убедимся, что контент не перекрывается нижней панелью */
.page {
    min-height: calc(100vh - 150px);
}

/* Для страницы корзины и оформления заказа */
#cart-page .container,
#checkout-page .container {
    padding-bottom: 120px;
}

@media (max-width: 1023px) {
    body {
        padding-bottom: 90px;
    }

    .app-shell {
        min-height: calc(100vh - 90px);
    }

    .bottom-nav {
        display: flex;
    }
}

/* Десктоп версия */
@media (min-width: 768px) {
    .container {
        padding: 32px;
    }

    .hero-image {
        height: 400px;
    }

    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .other-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .other-product-card {
        flex-direction: row;
    }

    .other-product-image {
        width: 300px;
        height: auto;
    }

    .section-title {
        font-size: 24px;
        margin: 32px 0 20px;
    }

    .cart-item-image {
        width: 100px;
        height: 100px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-gallery {
        height: 450px;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .hero-buttons .btn {
        width: auto;
    }

    .product-buttons {
        flex-direction: row;
    }

    .other-product-buttons {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    body {
        padding-bottom: 0;
    }

    .products-grid {
        gap: 24px;
    }
}