/* =============== Глобальные переменные =============== */
:root {
    --primary: #FF6B9D;
    --primary-light: #FF8FB1;
    --primary-dark: #E8527F;
    --secondary: #FFC75F;
    --secondary-dark: #FFB347;
    --accent: #6BCB77;
    --accent-light: #8FD99A;
    --success: #6BCB77;
    --success-light: rgba(107, 203, 119, 0.1);
    --warning: #FFC75F;
    --warning-light: rgba(255, 199, 95, 0.1);
    --danger: #FF6B6B;
    --danger-light: rgba(255, 107, 107, 0.1);
    --beige: #FFF9F0;
    --beige-dark: #FFF0E0;
    --pink-light: #FFF0F5;
    --blue-light: #F0F8FF;
    --gray-50: #f9fafb;
    --gray-100: #f8fafc;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
    --border-radius: 20px;
    --shadow-sm: 0 2px 8px rgba(255, 107, 157, 0.08);
    --shadow: 0 4px 12px rgba(255, 107, 157, 0.1);
    --shadow-md: 0 8px 20px rgba(255, 107, 157, 0.15);
    --shadow-lg: 0 12px 30px rgba(255, 107, 157, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    height: 100%;
}
body {
    font-family: 'Nunito', -apple-system, sans-serif;
    background: linear-gradient(180deg, #FFF9F0 0%, #FFF0F5 50%, #F0F8FF 100%);
    background-attachment: fixed;
    color: var(--gray-900);
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 107, 157, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 199, 95, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(107, 203, 119, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =============== Шапка =============== */
.client-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Главная страница — без логотипа в header */
.client-header-main .container {
    justify-content: center;
}

.client-header-main .nav-links {
    margin-right: auto;
    margin-left: auto;
}

.client-header-main .auth-actions {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.client-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
}

.logo {
    font-weight: 800;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #FF6B9D 0%, #FF8FB1 50%, #FFC75F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    position: relative;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05) rotate(-2deg);
}

.logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
    transition: var(--transition);
}

.logo:hover img {
    transform: rotate(10deg) scale(1.1);
}

.logo svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

/* Скрываем мобильные элементы на десктопе */
.nav-links .mobile-user-panel,
.nav-links .mobile-login-btn {
    display: none !important;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Rubik', sans-serif;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.auth-actions {
    display: flex;
    gap: 1rem;
}

.user-panel {
    display: none;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.user-panel .user-avatar-small {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #FF6B9D, #FF8FB1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
}

.user-panel .user-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-panel .user-avatar-small span {
    line-height: 1;
}

.user-panel strong {
    color: var(--primary);
}

/* Мобильное меню (гамбургер) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background: var(--primary);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background: var(--primary);
}

.btn {
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Rubik', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B9D 0%, #FF8FB1 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FF8FB1 0%, #FFB3C6 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
}

.btn-outline:hover {
    background: var(--gray-100);
    border-color: var(--primary);
}

/* =============== Hero Banner =============== */
.hero-banner {
    background: linear-gradient(135deg, #FFE8ED 0%, #FFF5EE 50%, #E8F4FD 100%);
    padding: 4rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 199, 95, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Группа: иконка слева + "Добро пожаловать" справа */
.hero-welcome-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.hero-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(255, 107, 157, 0.2);
    flex-shrink: 0;
}

/* Мягкое "Добро пожаловать" */
.hero-welcome {
    font-family: 'Nunito', sans-serif;
    font-size: 2.4rem;
    margin: 0;
    font-weight: 700;
    background: linear-gradient(135deg, #FF7B9D 0%, #FF9B6A 50%, #FFC75F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
    letter-spacing: 0.3px;
}

.hero-welcome span {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 0.2rem;
}

/* Крупное "Аист" снизу */
.hero-brand-name {
    font-family: 'Poppins', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FF7B9D 0%, #FF9B6A 60%, #FFC75F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    margin: 1.5rem 0 1.25rem;
}

/* Подзаголовок */
.hero-content p {
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto 2rem;
    color: #8a8a9a;
    font-weight: 500;
    line-height: 1.6;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.3);
    font-family: 'Rubik', sans-serif;
    transition: all 0.3s ease;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
}

/* =============== About Section =============== */
.about-section {
    padding: 5rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.about-text p {
    color: var(--gray-700);
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.stat-card {
    background: var(--beige);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 2px solid var(--beige-dark);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.stat-card .number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-card .label {
    color: var(--gray-700);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

/* =============== Assortment Section =============== */
.assortment-section {
    padding: 4rem 0;
    background: var(--beige);
}

.assortment-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    font-family: 'Poppins', sans-serif;
}

.assortment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

/* Новая карточка ассортимента - стиль aistsales.ru */
.assortment-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background: white;
    border: 2px solid #FFE5EC;
}

.assortment-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 60px;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.assortment-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, #FFF0F5, #FFE5EC);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    z-index: 2;
    transition: var(--transition);
}

.assortment-card h3 {
    color: #FF6B9D;
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Rubik', sans-serif;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Эффекты при наведении */
.assortment-card:hover {
    transform: translateY(-6px) rotate(-1deg);
    box-shadow: var(--shadow-md);
    border-color: #FF6B9D;
}

.assortment-card:hover .assortment-card-bg {
    transform: scale(1.08);
}

.assortment-card:hover .assortment-card-content {
    background: linear-gradient(135deg, #FFE5EC, #FFD6E7);
}

/* =============== Collections & Products =============== */
.collections-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #fff 0%, var(--beige) 100%);
}

.collections-section h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gray-900);
    font-family: 'Poppins', sans-serif;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Улучшенная карточка товара */
.product-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF6B9D, #FFC75F, #6BCB77);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 3;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: var(--shadow-lg);
    border-color: #FF6B9D;
}

.product-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    transition: transform 0.4s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
    position: relative;
}

.product-info h3 {
    font-size: 1.15rem;
    margin: 0 0 0.75rem 0;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.4;
    font-family: 'Rubik', sans-serif;
    min-height: 3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-info .price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.4rem;
    display: block;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Poppins', sans-serif;
}

.product-actions {
    display: flex;
    gap: 0.75rem;
}

.product-actions .btn {
    flex: 1;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.product-actions .btn-outline {
    background: linear-gradient(135deg, #FFF0F5, #FFE5EC);
    border: 2px solid #FFB3C6;
    color: #FF6B9D;
}

.product-actions .btn-outline:hover {
    background: linear-gradient(135deg, #FF6B9D, #FF8FB1);
    border-color: #FF6B9D;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.35);
}

.product-actions .btn-primary {
    background: linear-gradient(135deg, #FF6B9D, #FF8FB1);
    border: none;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.product-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 157, 0.45);
}

/* =============== Категории =============== */
.categories-section {
    padding: 4rem 0;
}

.categories-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.08);
}

.category-img {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--beige-dark);
    border-radius: 50%;
    color: var(--primary);
    font-size: 2rem;
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.category-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* =============== Быстрый просмотр =============== */
.overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.modal-card {
    background: white;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    padding: 2.5rem;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    font-size: 1.8rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--gray-500);
    transition: var(--transition);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--gray-700);
    background: var(--gray-100);
    transform: rotate(90deg);
}

.modal-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 1.6rem;
    margin: 0 0 1rem 0;
    font-weight: 700;
    color: var(--gray-900);
    font-family: 'Poppins', sans-serif;
}

.modal-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.modal-desc {
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.modal-stock {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--beige-dark);
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.modal-details {
    margin-bottom: 1.5rem;
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.6;
}

.modal-details p {
    margin: 0.5rem 0;
}

.modal-details strong {
    color: var(--gray-900);
}

.modal-actions {
    display: flex;
    gap: 1rem;
}

/* =============== Кнопки выбора размеров =============== */
.size-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.size-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--gray-300);
    border-radius: 10px;
    background: white;
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Rubik', sans-serif;
}

.size-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--pink-light);
}

.size-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3);
}

/* =============== Обновлённые кнопки в карточках =============== */
.product-actions {
    display: flex;
    gap: 0.5rem;
}

.product-actions .btn {
    flex: 1;
    padding: 0.65rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.product-actions .btn i {
    font-size: 0.85rem;
}

.product-actions .btn-outline {
    background: linear-gradient(135deg, #FFF0F5, #FFE5EC);
    border: 2px solid #FFB3C6;
    color: #FF6B9D;
}

.product-actions .btn-outline:hover {
    background: linear-gradient(135deg, #FF6B9D, #FF8FB1);
    border-color: #FF6B9D;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.35);
}

.product-actions .btn-primary {
    background: linear-gradient(135deg, #FF6B9D, #FF8FB1);
    border: none;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.product-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 157, 0.45);
}

/* =============== Корзина =============== */
.cart-main {
    padding: 3rem 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.cart-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-header h1 i {
    color: var(--primary);
}

.cart-count {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'Rubik', sans-serif;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2.5rem;
}

.cart-items {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-item-card {
    display: grid;
    grid-template-columns: 100px 1fr auto auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    background: var(--gray-100);
    border-radius: 16px;
    transition: var(--transition);
}

.cart-item-card:hover {
    background: var(--gray-200);
}

.item-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.item-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
    font-family: 'Rubik', sans-serif;
}

.item-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.item-size {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: var(--pink-light);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    margin: 0.25rem 0;
}

.item-size strong {
    color: var(--primary-dark);
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.25rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.btn-quantity {
    width: 40px;
    height: 40px;
    border: none;
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(67, 97, 238, 0.3);
}

.btn-quantity:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.4);
}

.btn-quantity:active {
    transform: scale(0.95);
}

.quantity-value {
    min-width: 2.5rem;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gray-900);
    background: var(--gray-100);
    padding: 0.5rem;
    border-radius: 8px;
}

.btn-remove-item {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: var(--danger);
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
}

.btn-remove-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
}

.btn-remove-item:active {
    transform: scale(0.95);
}

.btn-remove-item i {
    transition: var(--transition);
}

.btn-remove-item:hover i {
    transform: scale(1.2);
}

.item-total {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.total-price {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--gray-900);
    font-family: 'Poppins', sans-serif;
}

/* Пустая корзина */
.empty-cart-state {
    text-align: center;
    padding: 4rem 2rem;
}

/* Discount badge */
.discount-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.empty-cart-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: var(--beige-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-cart-icon i {
    font-size: 3rem;
    color: var(--primary);
}

.empty-cart-state h3 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.empty-cart-state p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.empty-cart-state .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.empty-cart-state .btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.cart-summary {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.summary-card {
    margin-bottom: 1.5rem;
}

.summary-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    font-family: 'Rubik', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-card h3 i {
    color: var(--primary);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: 1rem;
}

.summary-line {
    height: 1px;
    background: var(--gray-200);
    margin: 0.75rem 0;
}

.summary-row.total {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--gray-900);
    font-family: 'Poppins', sans-serif;
}

.summary-row.discount {
    color: var(--success);
}

.discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    text-transform: uppercase;
}

/* Кнопка оформления */
.btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Rubik', sans-serif;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.2);
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.3);
}

.btn-checkout:active {
    transform: translateY(0);
}

.continue-shopping {
    margin-top: 1rem;
    text-align: center;
}

.continue-shopping a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.continue-shopping a:hover {
    color: var(--primary);
}

/* Промокод */
.promo-card {
    margin-top: 1.5rem;
}

.promo-form {
    display: flex;
    gap: 0.5rem;
    background: var(--gray-100);
    padding: 0.5rem;
    border-radius: 12px;
}

.promo-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.75rem;
    font-size: 0.95rem;
    outline: none;
}

.btn-apply {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--primary);
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-apply:hover {
    background: var(--primary-light);
    transform: scale(1.05);
}

.promo-message {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    min-height: 20px;
}

.promo-message.success {
    color: var(--success);
}

.promo-message.error {
    color: var(--danger);
}

.promo-message.info {
    color: #1e40af;
    background: #eff6ff;
}

/* Применённый промокод (checkout + cart) */
.applied-coupon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-radius: 8px;
    border: 1px solid #10b981;
    font-size: 0.85rem;
    color: #065f46;
}

.applied-coupon strong {
    color: #059669;
}

.btn-remove-coupon {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 4px 8px;
    font-size: 1rem;
    transition: all 0.2s;
    border-radius: 4px;
}

.btn-remove-coupon:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* Секция промокода на checkout */
.coupon-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.coupon-input-group {
    display: flex;
    gap: 8px;
}

.coupon-input-group input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.coupon-input-group input:focus {
    border-color: var(--primary);
}

.coupon-input-group .btn-apply {
    width: auto;
    height: auto;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
}

.coupon-input-group .btn-apply:hover {
    background: var(--primary-light);
    transform: none;
}

.btn-apply:disabled {
    background: var(--gray-400);
    cursor: not-allowed;
}

/* Бейджи доверия */
.trust-badges {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.badge i {
    color: var(--primary);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* Модальное окно удаления */
.delete-modal {
    text-align: center;
    max-width: 420px;
}

.delete-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: #fef3c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-icon i {
    font-size: 2.5rem;
    color: var(--secondary);
}

.delete-modal h3 {
    font-size: 1.4rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.delete-modal p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.delete-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.delete-actions button {
    padding: 0.8rem 1.8rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

/* =============== Футер =============== */
.client-footer {
    background: var(--gray-900);
    color: white;
    padding: 3rem 0;
    margin-top: auto;
    flex-shrink: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: white;
    padding-left: 4px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    font-size: 0.9rem;
}

/* =============== Мобильная версия =============== */
@media (max-width: 768px) {
    .client-header .container {
        padding: 0.75rem 1rem;
    }

    /* Главная страница — бургер слева */
    .client-header-main .container {
        justify-content: space-between;
    }

    .client-header-main .auth-actions {
        position: static;
        transform: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Скрываем панель пользователя в header на мобильных */
    .auth-actions .user-panel {
        display: none !important;
    }

    /* Скрываем кнопку "Войти" в header на мобильных - она будет в бургере */
    .auth-actions #btnLogin {
        display: none !important;
    }

    /* Скрываем auth-actions на мобильных */
    .auth-actions {
        display: none !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 80vw;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 5rem 1.5rem 1.5rem;
        gap: 0.5rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        padding: 1rem;
        border-radius: var(--border-radius);
        transition: var(--transition);
        font-family: 'Rubik', sans-serif;
        font-weight: 600;
    }

    .nav-links a:hover {
        background: var(--gray-100);
    }

    .nav-links a::after {
        display: none;
    }

    /* Показываем мобильные элементы внутри бургер-меню */
    .nav-links .mobile-user-panel {
        display: none !important;
    }

    .nav-links .mobile-user-panel.show {
        display: flex !important;
    }

    .nav-links .mobile-login-btn {
        display: none !important;
    }

    .nav-links .mobile-login-btn.show {
        display: block !important;
    }

    /* Панель пользователя внутри мобильного меню */
    .nav-links .mobile-user-panel {
        margin-top: auto;
        padding: 1rem;
        background: linear-gradient(135deg, #FFF0F5, #FFE5EC);
        border-radius: 16px;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .nav-links .mobile-user-panel .mobile-user-info {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
    }

    .nav-links .mobile-user-panel .mobile-user-avatar {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 50%;
        overflow: hidden;
        background: linear-gradient(135deg, #FF6B9D, #FF8FB1);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.2rem;
        font-weight: 700;
        box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3);
    }

    .nav-links .mobile-user-panel .mobile-user-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .nav-links .mobile-user-panel .mobile-user-avatar span {
        line-height: 1;
    }

    .nav-links .mobile-user-panel .user-greeting {
        font-size: 0.95rem;
        color: var(--gray-700);
        flex: 1;
    }

    .nav-links .mobile-user-panel .user-greeting strong {
        color: #FF6B9D;
    }

    .nav-links .mobile-user-panel .btn-logout-mobile {
        width: 100%;
        padding: 0.75rem 1.25rem;
        background: linear-gradient(135deg, #FF6B9D, #FF8FB1);
        color: white;
        border: none;
        border-radius: 12px;
        font-weight: 600;
        font-size: 0.95rem;
        cursor: pointer;
        transition: var(--transition);
    }

    .nav-links .mobile-user-panel .btn-logout-mobile:hover {
        background: linear-gradient(135deg, #FF8FB1, #FFB3C6);
        transform: translateY(-2px);
    }

    /* Блокировка прокрутки body при открытом меню */
    body.menu-open {
        overflow: hidden;
    }

    .hero-banner {
        padding: 3rem 0 3.5rem;
    }

    .hero-welcome-group {
        gap: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .hero-logo {
        width: 45px;
        height: 45px;
    }

    .hero-welcome {
        font-size: 1.2rem;
    }

    .hero-welcome span {
        font-size: 0.95rem;
    }

    .hero-brand-name {
        font-size: 2.2rem;
        margin: 0.5rem 0 0.75rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        max-width: 100%;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card .number {
        font-size: 1.8rem;
    }

    .assortment-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1rem;
    }

    .assortment-card {
        aspect-ratio: 1;
    }

    .assortment-card-bg {
        bottom: 50px;
    }

    .assortment-card-content {
        height: 50px;
        padding: 0 0.75rem;
    }

    .assortment-card h3 {
        font-size: 0.8rem;
    }

    .categories-grid,
    .products-grid,
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .products-grid {
        gap: 1.5rem;
    }

    .product-img {
        height: 220px;
    }

    .cart-summary {
        margin-top: 2rem;
        position: static;
    }

    .cart-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-header h1 {
        font-size: 1.6rem;
    }

    .cart-count {
        align-self: flex-start;
    }

    .cart-items {
        padding: 1.5rem;
    }

    .cart-item-card {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .item-image {
        width: 80px;
        height: 80px;
    }

    .item-quantity {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .item-total {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .modal-card {
        width: 95%;
        padding: 2rem;
    }

    .modal-img {
        height: 260px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h3::after,
    .about-text h2::after,
    .client-footer h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* =============== Footer =============== */
.client-footer {
    background: var(--gray-900);
    color: white;
    padding: 3rem 0;
    margin-top: auto;
    flex-shrink: 0;
}

.client-footer .container {
    text-align: center;
}

.client-footer p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.client-footer h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    position: relative;
    display: inline-block;
}

.client-footer h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: white;
    padding-left: 4px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    font-size: 0.9rem;
}

/* =============== Checkout Styles =============== */

.form-section {
    margin-bottom: 2.5rem;
}

.section-header {
    margin-bottom: 1.5rem;
}

.section-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    font-family: 'Rubik', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
}

.input-group {
    margin-bottom: 1.25rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.95rem;
    font-family: 'Rubik', sans-serif;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    transition: var(--transition);
    background: var(--gray-50);
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.input-group input.error,
.input-group select.error {
    border-color: var(--danger);
    background: #fef2f2;
}

.error-message {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.delivery-options,
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.delivery-option,
.payment-option {
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 1rem;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.delivery-option.selected,
.payment-option.selected {
    border-color: var(--primary);
    background: rgba(67, 97, 238, 0.05);
}

.delivery-option input,
.payment-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.delivery-option label,
.payment-option label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    margin: 0;
}

.delivery-icon,
.payment-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    color: var(--primary);
    font-size: 1.2rem;
}

.delivery-option.selected .delivery-icon,
.payment-option.selected .payment-icon {
    background: var(--primary);
    color: white;
}

.delivery-info h4,
.payment-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
}

.delivery-info p,
.payment-info p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.terms-agreement {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--gray-100);
    border-radius: 12px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--gray-700);
    position: relative;
}

.checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid var(--gray-400);
    border-radius: 6px;
    position: relative;
    flex-shrink: 0;
    transition: var(--transition);
    background: white;
}

.checkbox-container input:checked ~ .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-container input:checked ~ .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.75rem;
}

.agreement-text {
    line-height: 1.5;
}

.agreement-text a {
    color: var(--primary);
    text-decoration: none;
}

.agreement-text a:hover {
    text-decoration: underline;
}

.security-note {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
    color: var(--gray-600);
    font-size: 0.9rem;
}

.summary-card {
    background: white;
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.summary-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.summary-items {
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.item-details h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-900);
}

.item-details p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.85rem;
}

.item-total {
    margin-left: auto;
    font-weight: 600;
    color: var(--gray-900);
}

.summary-totals {
    border-top: 1px solid var(--gray-200);
    padding-top: 1.25rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    font-size: 0.95rem;
}

.summary-row.discount {
    color: var(--success);
}

.summary-line {
    height: 1px;
    background: var(--gray-200);
    margin: 0.75rem 0;
}

.summary-row.total {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--gray-900);
    padding-top: 0.75rem;
}

.secure-payment {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.payment-icons i {
    font-size: 1.5rem;
    color: var(--gray-400);
}

.payment-icons i.fas {
    color: var(--primary);
}

.secure-payment p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.empty-cart {
    text-align: center;
    color: var(--gray-500);
    padding: 2rem 0;
    font-style: italic;
}

.page-wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

html, body {
    height: 100%;
    margin: 0;
}

/* =============== Страница "О нас" =============== */
.about-main {
    flex: 1;
    padding: 2rem 0;
}

/* Блок преимуществ */
.about-features {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary);
}

.feature-item span {
    font-weight: 500;
    color: var(--gray-700);
    font-size: 0.95rem;
}

/* Блок названия */
.about-brand {
    background: var(--beige);
    padding: 3rem 0;
    text-align: center;
}

.brand-title {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    color: var(--primary);
    margin: 0;
}

/* Блок История */
.about-history {
    background: white;
    padding: 3rem 0;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    text-align: center;
}

.history-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.history-content p {
    margin-bottom: 1rem;
    color: var(--gray-700);
}

.history-content strong {
    color: var(--primary);
}

/* Блок О компании */
.about-company {
    background: var(--beige);
    padding: 3rem 0;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-block {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-600);
    font-size: 1rem;
}

/* Блок Отзывы */
.about-reviews {
    background: white;
    padding: 3rem 0;
    text-align: center;
}

.reviews-text {
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Скриншоты отзывов с горизонтальной прокруткой */
.reviews-screenshots-wrapper {
    margin: 2rem 0;
    overflow: hidden;
}

.reviews-screenshots {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--gray-200);
}

.reviews-screenshots::-webkit-scrollbar {
    height: 8px;
}

.reviews-screenshots::-webkit-scrollbar-track {
    background: var(--gray-200);
    border-radius: 4px;
}

.reviews-screenshots::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.review-card {
    flex: 0 0 auto;
    width: auto;
    max-width: 400px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.review-card img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
    background: #f5f5f5;
}

.review-caption {
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

/* Блок Контакты */
.about-contacts {
    background: var(--beige);
    padding: 3rem 0;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-block {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-block h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-block h3 i {
    font-size: 1.2rem;
}

.contact-block p {
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-link:hover {
    color: var(--primary-dark);
}

.requisites {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.requisites h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.requisites p {
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Footer */
.client-footer {
    background: var(--gray-900);
    color: white;
    padding: 2rem 0 1rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.footer-section i {
    color: var(--secondary);
    margin-right: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 1rem;
    text-align: center;
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* Адаптивность для страницы "О нас" */
@media (max-width: 992px) {
    .features-grid,
    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .company-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .brand-title {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .features-grid,
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item i {
        font-size: 2rem;
    }
    
    .brand-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .checkout-form {
        padding: 1.5rem;
    }
    
    .checkout-title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .input-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .delivery-options,
    .payment-options {
        gap: 0.5rem;
    }
    
    .delivery-option,
    .payment-option {
        padding: 0.8rem;
    }
    
    .delivery-icon,
    .payment-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .summary-card {
        padding: 1.2rem;
    }
    
    .summary-item {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .item-total {
        margin-top: 0.5rem;
    }
    
    .btn-checkout {
        padding: 1rem 1.2rem;
        font-size: 1rem;
    }
    
    .section-header h3 {
        font-size: 1.1rem;
    }
    
    .form-section {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .checkout-main {
        padding: 1rem 0 3rem;
    }
    
    .checkout-form {
        padding: 1rem;
    }
    
    .checkout-title {
        font-size: 1.4rem;
    }

    .input-group input,
    .input-group select {
        padding: 0.7rem 1rem;
    }
    
    .delivery-option label,
    .payment-option label {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .delivery-icon,
    .payment-icon {
        align-self: center;
    }
    
    .summary-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .item-total {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .btn-checkout {
        padding: 0.9rem 1rem;
    }
}

/* =============== Страница "Поддержка" =============== */
.support-main {
    flex: 1;
    padding: 0;
}

/* Hero секция */
.support-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.support-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.support-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* CTA секция */
.support-cta {
    background: var(--beige);
    padding: 3rem 0;
}

.cta-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    max-width: 600px;
    margin: 0 auto;
}

.cta-icon-wrapper {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #0088cc 0%, #0066aa 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.cta-icon-wrapper i {
    font-size: 3rem;
    color: white;
}

.cta-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: var(--gray-900);
    margin: 0 0 1rem 0;
}

.cta-card p {
    color: var(--gray-600);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.cta-card .btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.cta-card .btn-large i {
    position: relative;
    z-index: 2;
}

/* Секция контактов */
.support-contacts {
    background: white;
    padding: 3rem 0;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background: var(--gray-50);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.8rem;
    color: white;
}

/* Цвета для разных типов иконок */
.contact-icon.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #0066aa 100%);
}

.contact-icon.instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.contact-icon.phone {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.contact-icon.address {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.contact-icon.clock {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.contact-icon.requisites {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.contact-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: var(--gray-900);
    margin: 0 0 1rem 0;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    color: var(--gray-600);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.contact-list a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-list a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-list .phone-link {
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-list .work-hours {
    color: var(--success);
    font-weight: 600;
}

.contact-list.requisites-list {
    text-align: center;
    line-height: 1.8;
}

.contact-list.requisites-list strong {
    color: var(--gray-900);
    font-weight: 600;
}

/* Адаптивность для страницы поддержки */
@media (max-width: 992px) {
    .contacts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .support-title {
        font-size: 2rem;
    }
    
    .support-subtitle {
        font-size: 1rem;
    }
    
    .cta-card {
        padding: 2rem 1.5rem;
    }
    
    .cta-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .cta-icon-wrapper i {
        font-size: 2.2rem;
    }
    
    .cta-card h2 {
        font-size: 1.5rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-icon i {
        font-size: 1.5rem;
    }
    
    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .support-hero {
        padding: 3rem 0;
    }
    
    .support-title {
        font-size: 1.75rem;
    }
    
    .cta-card {
        padding: 1.5rem 1rem;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
    }
}

/* =============== Прогресс-бар доставки =============== */
.delivery-progress-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #bae6fd;
}

.progress-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.progress-header i {
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.progress-info {
    flex: 1;
}

.progress-text {
    display: block;
    font-size: 0.95rem;
    color: var(--gray-700);
    margin-bottom: 0.25rem;
}

.progress-text strong {
    color: var(--primary);
}

.progress-subtext {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.progress-bar-container {
    background: white;
    border-radius: 10px;
    height: 12px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    display: block;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, #6366f1 100%);
    border-radius: 10px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    width: 0%;
    display: block;
    min-width: 0%;
    animation: pulse 3s ease-in-out infinite;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.progress-milestones {
    display: flex;
    justify-content: space-between;
    padding-top: 0.5rem;
}

.milestone {
    font-size: 0.8rem;
    color: var(--gray-400);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.milestone::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--gray-300);
    border-radius: 50%;
}

.milestone.active {
    color: var(--primary);
    font-weight: 600;
}

.milestone.active::before {
    background: var(--primary);
    width: 8px;
    height: 8px;
}

.milestone.free-shipping {
    color: var(--success);
    font-weight: 700;
}

.milestone.free-shipping::before {
    background: var(--success);
    width: 10px;
    height: 10px;
    box-shadow: 0 0 10px var(--success);
}

/* Состояние "бесплатная доставка получена" */
.delivery-progress-card.success {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #86efac;
}

.delivery-progress-card.success .progress-header i {
    color: var(--success);
}

.delivery-progress-card.success .progress-text {
    color: var(--gray-700);
}

.delivery-progress-card.success .progress-fill {
    background: linear-gradient(90deg, var(--success) 0%, #10b981 100%);
}

/* Состояние "скидка 50%" */
.delivery-progress-card.discount {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #fcd34d;
}

.delivery-progress-card.discount .progress-header i {
    color: var(--warning) !important;
}

.delivery-progress-card.discount .progress-fill {
    background: linear-gradient(90deg, var(--warning) 0%, #f59e0b 100%) !important;
}

.milestone.discount {
    color: var(--warning);
    font-weight: 700;
}

.milestone.discount::before {
    background: var(--warning);
    width: 10px;
    height: 10px;
    box-shadow: 0 0 10px var(--warning);
}

.milestone small {
    display: block;
    font-size: 0.7rem;
    color: var(--gray-500);
    font-weight: 400;
    margin-top: 0.25rem;
}

.milestone.discount small {
    color: var(--warning);
    font-weight: 600;
}

.milestone.free-shipping small {
    color: var(--success);
    font-weight: 600;
}

/* =============== Слайдер товаров =============== */
.products-slider-section {
    padding: 4rem 0;
    background: white;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.slider-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: var(--gray-900);
    margin: 0;
}

.slider-controls {
    display: flex;
    gap: 0.75rem;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--gray-700);
    font-size: 1rem;
    padding: 0;
}

.slider-btn i {
    display: block;
    line-height: 1;
}

.slider-btn:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.slider-btn:disabled:hover {
    border-color: var(--gray-200);
    background: white;
    color: var(--gray-700);
    transform: none;
}

.slider-container {
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-card {
    min-width: calc(25% - 1.125rem);
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.slider-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.slider-card-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: var(--gray-100);
}

.slider-card-body {
    padding: 1.25rem;
}

.slider-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 0.75rem 0;
    font-family: 'Rubik', sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.slider-card-price {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.slider-card-stock {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.slider-card-stock.in-stock {
    background: var(--success-light);
    color: var(--success);
}

.slider-card-stock.low-stock {
    background: var(--warning-light);
    color: var(--warning);
}

.slider-card-stock.out-of-stock {
    background: var(--danger-light);
    color: var(--danger);
}

.slider-card-actions {
    display: flex;
    gap: 0.5rem;
}

.slider-card-actions .btn {
    flex: 1;
    justify-content: center;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

/* Адаптивность слайдера */
@media (max-width: 1200px) {
    .slider-card {
        min-width: calc(33.33% - 1rem);
    }
}

@media (max-width: 900px) {
    .slider-card {
        min-width: calc(50% - 0.75rem);
    }
    
    .slider-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .slider-card {
        min-width: 100%;
    }
    
    .slider-header h2 {
        font-size: 1.5rem;
    }
}

/* =============== Страница "Личный кабинет" =============== */
.profile-main {
    padding: 3rem 0 5rem;
    min-height: calc(100vh - 400px);
}

.profile-main > .container > h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    color: var(--gray-900);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.profile-main > .container > h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* Profile Grid */
.profile-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

/* Profile Card */
.profile-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(67, 97, 238, 0.1);
    text-align: center;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.profile-avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.3);
    overflow: hidden;
}

.profile-avatar svg {
    width: 60px;
    height: 60px;
    fill: white;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-upload-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.4);
}

.avatar-upload-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(67, 97, 238, 0.5);
}

.avatar-upload-btn i {
    color: white;
    font-size: 0.9rem;
}

.profile-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.profile-card .email {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.stat-item {
    background: var(--beige);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
}

.stat-item .value {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-item .label {
    color: var(--gray-600);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.profile-details {
    margin-top: 1.5rem;
    text-align: left;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .label {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.detail-row .value {
    color: var(--gray-900);
    font-weight: 500;
    font-size: 0.95rem;
}

.role-badge {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Orders Section */
.orders-section {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(67, 97, 238, 0.1);
}

.orders-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.orders-section h3 svg {
    width: 24px;
    height: 24px;
    fill: var(--primary);
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.order-item {
    background: linear-gradient(135deg, var(--gray-100), white);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.order-item:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.12);
    transform: translateX(5px);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.order-id {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
}

.order-date {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.status {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status.delivered, .status.выполнен {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.status.pending, .status.ожидает_оплаты {
    background: linear-gradient(135deg, var(--secondary), #d97706);
    color: white;
}

.status.processing, .status.в_обработке {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

.status.cancelled {
    background: linear-gradient(135deg, var(--danger), #dc2626);
    color: white;
}

.order-details {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
}

.order-items {
    color: var(--gray-700);
    font-size: 0.95rem;
}

.order-items span {
    display: block;
    color: var(--gray-600);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.order-total {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.order-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.75rem;
}

.btn-order {
    padding: 0.6rem 1.25rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-order svg {
    width: 16px;
    height: 16px;
}

.btn-reorder {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.2);
}

.btn-reorder:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.3);
}

.btn-details {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
}

.btn-details:hover {
    background: var(--gray-200);
    transform: translateY(-2px);
}

/* Empty State */
.empty-orders {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-orders svg {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    fill: var(--gray-200);
}

.empty-orders h4 {
    font-size: 1.3rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.empty-orders p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.btn-browse {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-browse:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.3);
}

/* Responsive Profile */
@media (max-width: 900px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-card {
        position: static;
    }

    .order-details {
        grid-template-columns: 1fr;
    }
}

/* =============== Уведомления (Toast/Snackbar) =============== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    font-size: 0.9rem;
    font-weight: 500;
    animation: slideInRight 0.3s ease forwards;
    min-width: 280px;
    max-width: 400px;
}

.toast.hide {
    animation: slideOutRight 0.3s ease forwards;
}

.toast-success {
    border-left: 4px solid #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, white 100%);
    color: #065f46;
}

.toast-error {
    border-left: 4px solid #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, white 100%);
    color: #991b1b;
}

.toast-warning {
    border-left: 4px solid #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, white 100%);
    color: #92400e;
}

.toast-info {
    border-left: 4px solid #4361ee;
    background: linear-gradient(135deg, #eff6ff 0%, white 100%);
    color: #1e40af;
}

.toast-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.toast-success .toast-icon {
    color: #10b981;
}

.toast-error .toast-icon {
    color: #ef4444;
}

.toast-warning .toast-icon {
    color: #f59e0b;
}

.toast-info .toast-icon {
    color: #4361ee;
}

.toast-message {
    flex: 1;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: inherit;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.toast-close:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Мобильная адаптация уведомлений */
@media (max-width: 480px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .toast {
        min-width: auto;
        max-width: none;
    }
}

/* =============== Панель фильтров и поиска =============== */
.filter-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    align-items: center;
}

.filter-group {
    flex: 1;
    min-width: 150px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 1rem;
    color: var(--gray-400);
    font-size: 1rem;
    pointer-events: none;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.filter-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    background: white;
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.filter-group select:hover {
    border-color: var(--gray-300);
}

#resetFilters {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

#resetFilters:hover {
    background: var(--gray-100);
}

.no-products-message {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.no-products-message i {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: 1rem;
}

.no-products-message p {
    font-size: 1.25rem;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

/* Адаптация фильтров */
@media (max-width: 768px) {
    .filter-panel {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
        min-width: 100%;
    }

    #resetFilters {
        width: 100%;
    }
}

/* Дополнительная мобильная адаптация */
@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .product-card {
        border-radius: 12px;
    }

    .product-img {
        height: 200px;
    }

    .product-info h3 {
        font-size: 1rem;
        min-height: 2.5rem;
    }

    .product-info .price {
        font-size: 1.2rem;
    }

    .product-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .product-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }

    /* Адаптация фильтров на маленьких экранах */
    .filter-panel {
        padding: 1rem;
        gap: 0.75rem;
    }

    .search-box input,
    .filter-group select {
        padding: 0.65rem 0.9rem;
        font-size: 0.9rem;
    }

    .search-box i {
        font-size: 0.9rem;
        left: 0.75rem;
    }

    .search-box input {
        padding-left: 2.25rem;
    }

    /* Адаптация слайдера */
    .slider-card-actions .btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }

    .slider-card-actions .btn span {
        display: none;
    }

    .slider-card-actions .btn i {
        margin-right: 0;
    }

    /* Адаптация ассортимента */
    .assortment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .assortment-card h3 {
        font-size: 0.75rem;
        padding: 0.5rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-card .number {
        font-size: 1.8rem;
    }

    .stat-card .label {
        font-size: 0.85rem;
    }
}

/* ========================================
   NEW ABOUT SECTION STYLES
   ======================================== */
.about-section-new {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #fdf7f0 100%);
}

.about-content-new {
    max-width: 1000px;
    margin: 0 auto;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 2px;
}

.about-text-new {
    margin-bottom: 3rem;
}

.about-text-new p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 1.25rem;
}

.about-text-new p strong {
    color: var(--primary);
    font-weight: 600;
}

.about-stats-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-stats-new .stat-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(67, 97, 238, 0.08);
    border: 1px solid rgba(67, 97, 238, 0.1);
}

.about-stats-new .stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(67, 97, 238, 0.15);
    border-color: var(--primary);
}

.about-stats-new .stat-card .number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    display: block;
    line-height: 1.2;
}

.about-stats-new .stat-card .label {
    font-size: 0.95rem;
    color: var(--gray-600);
    display: block;
    font-weight: 500;
}

@media (max-width: 768px) {
    .about-section-new {
        padding: 3rem 0;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-stats-new {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .about-stats-new .stat-card .number {
        font-size: 2.5rem;
    }
    
    .about-stats-new .stat-card {
        padding: 1.5rem 1rem;
    }
}

/* === Мобильные устройства 320px+ === */
@media (max-width: 375px) {
    .container {
        padding: 0 12px;
    }

    .client-header .container {
        flex-wrap: wrap;
        gap: 8px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }

    .nav-links a {
        font-size: 0.8rem;
        padding: 6px 8px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .product-card .product-info h3 {
        font-size: 0.85rem;
    }

    .product-card .price {
        font-size: 0.9rem;
    }

    .product-actions {
        flex-direction: column;
        gap: 4px;
    }

    .product-actions .btn {
        font-size: 0.75rem;
        padding: 6px 8px;
    }

    .cart-item-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .cart-item-card .item-quantity {
        width: 100%;
        justify-content: flex-start;
    }

    .summary-card {
        padding: 1rem;
    }

    .summary-card h3 {
        font-size: 1rem;
    }

    .btn-checkout {
        font-size: 0.9rem;
        padding: 10px 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .modal-card {
        margin: 10px;
        max-width: calc(100% - 20px);
    }

    .toast-container {
        left: 10px;
        right: 10px;
    }
}
