/* ============================================
   СугдСеть - Современный дизайн (2024)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    /* Основной цвет - более сдержанный зеленый */
    --primary-green: #10b981;
    --primary-green-dark: #059669;
    --primary-green-light: #34d399;
    --light-green-bg: #ecfdf5;
    --light-green-hover: #d1fae5;

    /* Градиенты - более мягкие */
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-secondary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-dark: linear-gradient(135deg, #1f2937 0%, #111827 100%);

    /* Серая палитра - более нейтральная */
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;

    /* Акцентные цвета */
    --white: #ffffff;
    --black: #000000;
    --red-500: #ef4444;
    --yellow-500: #f59e0b;
    --blue-500: #3b82f6;
    --danger: #dc2626;
    --success: #10b981;

    /* Тени - более мягкие */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
    --shadow-green: 0 10px 15px -3px rgba(16, 185, 129, 0.15), 0 4px 6px -4px rgba(16, 185, 129, 0.1);

    /* Радиусы - чуть больше для современности */
    --radius-sm: 0.5rem;
    --radius: 0.625rem;
    --radius-md: 0.875rem;
    --radius-lg: 1.125rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Анимации */
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.12s cubic-bezier(0.4, 0, 0.2, 1);

    /* Отступы - увеличенные для whitespace */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
}

/* ============================================
   Общие стили
   ============================================ */

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    min-height: 100vh;
    overflow-y: auto;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-900);
    background-color: var(--gray-50);
    line-height: 1.7;
    font-size: 0.9375rem;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75em;
}

h1 {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: 1em;
    line-height: 1.75;
    color: var(--gray-700);
}

main {
    flex: 1 0 auto !important;
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

section {
    margin-bottom: var(--spacing-3xl);
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-green-dark);
}

/* ============================================
   Кнопки - Современный дизайн
   ============================================ */

.btn {
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.025em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    box-shadow: var(--shadow-green);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), 0 0 20px rgba(16, 185, 129, 0.4);
    color: var(--white);
    border: none;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-success {
    background: var(--primary-green);
    border: none;
    color: var(--white);
}

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

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

.btn-outline-primary:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-secondary {
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
    background: transparent;
}

.btn-outline-secondary:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
    color: var(--gray-900);
}

/* ============================================
   Header - Современный дизайн
   ============================================ */

/* Top Header */
.header-contacts {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-phone {
    color: var(--gray-700);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.header-phone:hover {
    color: var(--primary-green);
}

.header-phone i {
    color: var(--primary-green);
}

.header-messenger-links {
    display: flex;
    gap: 0.75rem;
}

.header-messenger-links a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: var(--gray-100);
    color: var(--gray-700);
    transition: var(--transition);
}

.header-messenger-links a:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Main Navbar */
.navbar {
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--gray-900) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i {
    color: var(--primary-green);
    font-size: 1.75rem;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-700) !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green) !important;
    background: var(--light-green-bg);
}

/* Search Form */
.header-search {
    position: relative;
    width: 300px;
}

.header-search input {
    padding: 0.5rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    transition: var(--transition);
    background: var(--white);
}

.header-search input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    outline: none;
}

/* Header Icons */
.header-icons,
.header-icons-mobile {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.header-icons-mobile {
    margin-right: 0.5rem;
}

.header-icons-mobile .header-icon {
    width: 40px;
    height: 40px;
    font-size: 1.125rem;
}

.header-icon {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 1.25rem;
    transition: var(--transition);
}

.header-icon:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.header-icon-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.125rem 0.375rem;
    border-radius: var(--radius-full);
    min-width: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

/* ============================================
   Footer - Современный дизайн с градиентом
   ============================================ */

.footer {
    background: var(--gradient-dark);
    color: var(--gray-300);
    padding: 4rem 0 2rem;
    margin-top: 0;
    position: relative;
    overflow: visible;
    flex-shrink: 0;
    width: 100%;
    min-height: 400px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer h5 {
    color: var(--white);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.footer a {
    color: var(--gray-300);
    display: block;
    margin-bottom: 0.75rem;
    transition: var(--transition-fast);
    padding-left: 0;
}

.footer a:hover {
    color: var(--primary-green-light);
    padding-left: 0.5rem;
}

.footer p {
    color: var(--gray-400);
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1.25rem;
    transition: var(--transition);
    margin-bottom: 0;
    padding-left: 0 !important;
}

.footer-social a:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-4px) scale(1.1);
    box-shadow: var(--shadow-green);
    padding-left: 0 !important;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    padding-bottom: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-400);
    font-size: 0.875rem;
}

/* ============================================
   Custom Form Elements - Без браузерных стилей
   ============================================ */

/* Custom Checkbox */
.filter-checkbox,
.form-check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: var(--transition-fast);
}

.filter-checkbox:hover,
.form-check:hover {
    padding-left: 0.25rem;
}

.filter-checkbox input[type="checkbox"],
.form-check-input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    background: var(--white);
    flex-shrink: 0;
    margin: 0;
}

.filter-checkbox input[type="checkbox"]:hover,
.form-check-input[type="checkbox"]:hover {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.filter-checkbox input[type="checkbox"]:checked,
.form-check-input[type="checkbox"]:checked {
    background: var(--gradient-primary);
    border-color: var(--primary-green);
}

.filter-checkbox input[type="checkbox"]:checked::after,
.form-check-input[type="checkbox"]:checked::after {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
}

.filter-checkbox label,
.form-check-label {
    cursor: pointer;
    color: var(--gray-700);
    font-weight: 500;
    user-select: none;
    margin: 0;
}

/* Custom Select */
select.form-control,
select.form-select,
.form-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-color: var(--white) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 16px !important;
    padding: 0.625rem 2.5rem 0.625rem 1rem !important;
    border: 2px solid var(--gray-200) !important;
    border-radius: var(--radius-md) !important;
    font-weight: 500 !important;
    color: var(--gray-700) !important;
    transition: var(--transition) !important;
}

select.form-control:hover,
select.form-select:hover,
.form-select:hover {
    border-color: var(--gray-300) !important;
}

select.form-control:focus,
select.form-select:focus,
.form-select:focus {
    border-color: var(--primary-green) !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
    outline: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2310b981' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") !important;
}

/* Custom Input */
input.form-control,
textarea.form-control,
.form-control:not(select) {
    border: 2px solid var(--gray-200) !important;
    border-radius: var(--radius-md) !important;
    padding: 0.625rem 1rem !important;
    font-weight: 500 !important;
    color: var(--gray-700) !important;
    transition: var(--transition) !important;
}

input.form-control:hover,
textarea.form-control:hover,
.form-control:not(select):hover {
    border-color: var(--gray-300) !important;
}

input.form-control:focus,
textarea.form-control:focus,
.form-control:not(select):focus {
    border-color: var(--primary-green) !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
    outline: none !important;
}

input.form-control::placeholder,
textarea.form-control::placeholder,
.form-control:not(select)::placeholder {
    color: var(--gray-400) !important;
    font-weight: 400 !important;
}

/* Custom Radio */
input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-full);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    background: var(--white);
}

input[type="radio"]:hover {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

input[type="radio"]:checked {
    border-color: var(--primary-green);
    background: var(--white);
}

input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
}

/* ============================================
   Cards - Современный дизайн
   ============================================ */

.card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: var(--white);
    overflow: hidden;
}

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

.card-header {
    background: var(--gray-50);
    border-bottom: 2px solid var(--gray-200);
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background: var(--gray-50);
    border-top: 2px solid var(--gray-200);
    padding: 1.25rem 1.5rem;
}

/* ============================================
   Product Cards - Современный дизайн
   ============================================ */

.product-card {
    position: relative;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: var(--primary-green);
}

.product-card-img {
    position: relative;
    overflow: hidden;
    background: var(--gray-50);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge {
    padding: 0.375rem 0.75rem;
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.025em;
    box-shadow: var(--shadow-md);
}

.badge-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.badge-success {
    background: var(--gradient-primary);
}

.badge-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.product-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-title a {
    color: var(--gray-900);
    transition: var(--transition-fast);
}

.product-card-title a:hover {
    color: var(--primary-green);
}

.product-specs {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-spec-item {
    background: var(--gray-100);
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius);
    font-weight: 500;
}

.product-price {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.product-price-current {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-green);
}

.product-price-old {
    font-size: 1rem;
    color: var(--gray-400);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 1.25rem;
}

/* Product Card Additional Styles */
.product-card-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--gray-50), var(--white));
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

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

.product-card-discount {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: var(--white);
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.875rem;
    box-shadow: 0 8px 16px -4px rgba(239, 68, 68, 0.5);
    letter-spacing: 0.025em;
    animation: pulse 2s ease-in-out infinite;
}

.product-card-favorite {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    color: var(--gray-400);
    font-size: 1.25rem;
}

.product-card-favorite:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: var(--shadow-green);
}

.product-card-favorite.active {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: var(--white);
    box-shadow: 0 8px 16px -4px rgba(239, 68, 68, 0.5);
}

.product-card-favorite.active i::before {
    content: '\F415'; /* bi-heart-fill */
}

.product-card-specs {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0.875rem;
    line-height: 1.6;
    font-weight: 500;
}

.product-card-price {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 2px solid var(--gray-100);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.product-card-actions .btn {
    flex: 1;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.product-card-actions .btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: var(--shadow-green);
}

.product-card-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -5px rgba(16, 185, 129, 0.4);
}

.product-card-actions .btn-outline-secondary {
    border: 2px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-700);
}

.product-card-actions .btn-outline-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
    color: var(--gray-900);
}

/* Stock Status */
.product-card-body .text-success {
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.product-card-body .text-danger {
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.product-card-body .text-muted {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-500) !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   Filters Sidebar - Современный дизайн
   ============================================ */

.filters-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.filter-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray-100);
}

.filter-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-title i {
    color: var(--primary-green);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* ============================================
   Catalog Filters Panel - Обновленный дизайн
   ============================================ */

.filters-panel {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    transition: var(--transition);
}

.filters-panel:hover {
    box-shadow: var(--shadow-xl);
}

.filters-panel h5 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filters-panel h5 i {
    color: var(--primary-green);
    font-size: 1.75rem;
}

.filter-group {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray-100);
    animation: fadeIn 0.5s ease-in-out;
}

.filter-group:last-of-type {
    border-bottom: none;
    margin-bottom: 1.5rem;
}

.filter-group-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    font-size: 0.875rem;
}

.filter-group-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    margin-bottom: 0.5rem;
}

.filter-checkbox:hover {
    background: var(--gray-50);
}

.filter-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    flex-shrink: 0;
    background: var(--white);
}

.filter-checkbox input[type="checkbox"]:hover {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.filter-checkbox input[type="checkbox"]:checked {
    background: var(--gradient-primary);
    border-color: var(--primary-green);
    box-shadow: var(--shadow-green);
}

.filter-checkbox input[type="checkbox"]:checked::after {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
}

.filter-checkbox label {
    cursor: pointer;
    margin: 0;
    font-size: 0.9375rem;
    color: var(--gray-700);
    font-weight: 500;
    user-select: none;
    flex: 1;
    transition: var(--transition-fast);
}

.filter-checkbox:hover label {
    color: var(--gray-900);
}

.filter-checkbox input[type="checkbox"]:checked + label {
    color: var(--primary-green);
    font-weight: 600;
}

/* Price Range Inputs */
.filter-group .form-control {
    border: 2px solid var(--gray-200) !important;
    border-radius: var(--radius-md) !important;
    padding: 0.625rem 0.875rem !important;
    font-size: 0.9375rem !important;
    transition: var(--transition-fast) !important;
    background: var(--white) !important;
}

.filter-group .form-control:focus {
    border-color: var(--primary-green) !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

.filter-group .form-label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* Filter Action Buttons */
.filters-panel .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.filters-panel .btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: var(--shadow-green);
}

.filters-panel .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -5px rgba(16, 185, 129, 0.4);
}

.filters-panel .btn-outline-secondary {
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
    background: var(--white);
}

.filters-panel .btn-outline-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
    color: var(--gray-900);
}

/* ============================================
   Sort Bar - Современный дизайн
   ============================================ */

.sort-bar {
    background: var(--white);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.sort-bar:hover {
    box-shadow: var(--shadow-md);
}

.sort-bar strong {
    color: var(--primary-green);
    font-weight: 700;
}

.sort-bar label {
    font-weight: 600;
    color: var(--gray-700);
    white-space: nowrap;
}

/* Custom Sort Select */
.sort-bar .form-select {
    min-width: 220px;
    max-width: 300px;
    border: 2px solid var(--gray-200) !important;
    border-radius: var(--radius-md) !important;
    padding: 0.625rem 2.5rem 0.625rem 1rem !important;
    font-weight: 500 !important;
    transition: var(--transition-fast) !important;
    background-color: var(--white) !important;
    cursor: pointer !important;
}

.sort-bar .form-select:hover {
    border-color: var(--primary-green) !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

.sort-bar .form-select:focus {
    border-color: var(--primary-green) !important;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15) !important;
    outline: none !important;
}

/* ============================================
   Catalog Page Title
   ============================================ */

.product-index h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.product-index h1::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 60%;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

/* ============================================
   Pagination - Современный дизайн
   ============================================ */

.pagination {
    gap: 0.5rem;
}

.pagination .page-link {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    color: var(--gray-700);
    font-weight: 600;
    padding: 0.625rem 1rem;
    transition: var(--transition-fast);
    margin: 0;
}

.pagination .page-link:hover {
    background: var(--gray-50);
    border-color: var(--primary-green);
    color: var(--primary-green);
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background: var(--gradient-primary);
    border-color: var(--primary-green);
    box-shadow: var(--shadow-green);
}

.pagination .page-item.disabled .page-link {
    background: var(--gray-100);
    border-color: var(--gray-200);
    color: var(--gray-400);
}

/* ============================================
   Responsive Filters
   ============================================ */

@media (max-width: 991px) {
    .filters-panel {
        position: static;
        max-height: none;
        margin-bottom: 2rem;
    }
}

@media (max-width: 767px) {
    .product-index h1 {
        font-size: 2rem;
    }

    .sort-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .sort-bar > div {
        width: 100%;
    }

    .sort-bar .form-select {
        max-width: 100%;
    }
}

/* ============================================
   Breadcrumbs - Современный дизайн
   ============================================ */

.breadcrumb {
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.breadcrumb-item {
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '\203A';
    font-size: 1.25rem;
    color: var(--gray-400);
}

.breadcrumb-item a {
    color: var(--gray-600);
}

.breadcrumb-item.active {
    color: var(--primary-green);
}

/* ============================================
   Alerts - Современный дизайн
   ============================================ */

.alert {
    border: none;
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    border-left: 4px solid;
    box-shadow: var(--shadow);
}

.alert-success {
    background: var(--light-green-bg);
    border-left-color: var(--primary-green);
    color: var(--primary-green-dark);
}

.alert-danger {
    background: #fee2e2;
    border-left-color: var(--red-500);
    color: #991b1b;
}

.alert-warning {
    background: #fef3c7;
    border-left-color: var(--yellow-500);
    color: #92400e;
}

.alert-info {
    background: #dbeafe;
    border-left-color: var(--blue-500);
    color: #1e40af;
}

/* ============================================
   Badges & Labels - Современный дизайн
   ============================================ */

.label {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
}

.label-success {
    background: var(--light-green-bg);
    color: var(--primary-green-dark);
}

.label-danger {
    background: #fee2e2;
    color: #991b1b;
}

.label-warning {
    background: #fef3c7;
    color: #92400e;
}

.label-info {
    background: #dbeafe;
    color: #1e40af;
}

/* ============================================
   Pagination - Современный дизайн
   ============================================ */

.pagination {
    gap: 0.5rem;
}

.page-link {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    color: var(--gray-700);
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    margin: 0;
}

.page-link:hover {
    background: var(--gray-100);
    border-color: var(--gray-300);
    color: var(--gray-900);
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background: var(--gradient-primary);
    border-color: var(--primary-green);
    color: var(--white);
    box-shadow: var(--shadow-green);
}

.page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   Section Headings - Современный дизайн
   ============================================ */

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.section-title.center {
    text-align: center;
}

.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ============================================
   Brand Icons - Современный дизайн
   ============================================ */

.brand-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.brand-card:hover {
    border-color: var(--primary-green);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.brand-logo {
    width: 140px;
    height: 90px;
    object-fit: contain;
    margin: 0 auto 1.25rem;
    filter: grayscale(100%) brightness(1.1);
    opacity: 0.75;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-card:hover .brand-logo {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.08);
}

.brand-name {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--gray-800);
    margin-top: 1rem;
    transition: var(--transition);
}

.brand-card:hover .brand-name {
    color: var(--primary-green);
}

/* ============================================
   Utility Classes - Современный дизайн
   ============================================ */

.bg-gradient-primary {
    background: var(--gradient-primary) !important;
}

.bg-gradient-dark {
    background: var(--gradient-dark) !important;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-hover {
    transition: var(--transition);
}

.shadow-hover:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

/* ============================================
   Swiper Slider Customization
   ============================================ */

.swiper {
    width: 100%;
    padding-bottom: 50px;
}

.swiper-button-next,
.swiper-button-prev {
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    color: var(--primary-green) !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    font-weight: 900;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-green);
    color: var(--white) !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--gray-400);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--gradient-primary);
    width: 24px;
    border-radius: var(--radius-full);
}

/* ============================================
   Hero Section
   ============================================ */

.hero-banner {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    margin-bottom: 4rem !important;
}

.hero-banner .carousel-item img {
    border-radius: var(--radius-xl);
    min-height: 450px;
    max-height: 600px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-banner .carousel-item:hover img {
    transform: scale(1.02);
}

.hero-banner .carousel-caption {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
    left: 0;
    right: 0;
    bottom: 0;
    padding: 4rem 2rem 3rem;
}

.hero-banner .carousel-caption h3 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    margin-bottom: 1rem;
}

.hero-banner .carousel-caption p {
    font-size: 1.25rem;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 0.95);
}

.hero-section {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 6rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .hero-banner .carousel-item img {
        min-height: 300px;
        max-height: 400px;
    }

    .hero-banner .carousel-caption h3 {
        font-size: 2rem;
    }

    .hero-banner .carousel-caption p {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }
}

/* ============================================
   Category Cards
   ============================================ */

.category-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    height: 100%;
}

.category-card:hover {
    border-color: var(--primary-green);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.category-card-icon {
    width: 90px;
    height: 90px;
    background: var(--light-green-bg);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.75rem;
    font-size: 2.75rem;
    color: var(--primary-green);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.category-card:hover .category-card-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.15) rotate(5deg);
}

.category-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
    transition: var(--transition);
}

.category-card:hover .category-card-title {
    color: var(--primary-green);
}

/* ============================================
   Advantage Cards
   ============================================ */

.advantage-card {
    padding: 2.5rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.advantage-card:hover {
    transform: translateY(-6px);
}

.advantage-icon {
    width: 90px;
    height: 90px;
    background: var(--light-green-bg);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.75rem;
    font-size: 2.75rem;
    color: var(--primary-green);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.advantage-card:hover .advantage-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: rotate(12deg) scale(1.15);
}

.advantage-card h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.advantage-card:hover h5 {
    color: var(--primary-green);
}

.advantage-card p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ============================================
   Section Backgrounds
   ============================================ */

.section {
    padding: 3.5rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--gray-900);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.section-bg-white {
    background: var(--white);
    padding: 3.5rem 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    margin-left: -1.5rem;
    margin-right: -1.5rem;
}

@media (min-width: 768px) {
    .section-bg-white {
        margin-left: 0;
        margin-right: 0;
        padding: 4rem 3rem;
    }

    .section-title {
        font-size: 2.25rem;
        margin-bottom: 2.5rem;
    }
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 991px) {
    .filters-sidebar {
        margin-bottom: 2rem;
    }

    .header-search {
        width: 100%;
        margin-top: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .product-card {
        margin-bottom: 1rem;
    }

    .footer h5 {
        margin-top: 1.5rem;
    }
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* ============================================
   Cart Page - Улучшенный современный дизайн
   ============================================ */

.cart-index {
    padding: 2rem 0 4rem;
    min-height: calc(100vh - 400px);
}

/* Cart Header */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--gray-200);
}

.cart-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin: 0;
}

.cart-header h1 i {
    color: var(--primary-green);
    margin-right: 0.5rem;
}

.cart-badge {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Empty Cart */
.empty-cart-container {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 3rem auto;
    animation: fadeIn 0.5s ease;
}

.empty-cart-icon {
    font-size: 6rem;
    color: var(--gray-300);
    margin-bottom: 1.5rem;
}

.empty-cart-icon i {
    display: block;
}

.empty-cart-container h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
}

.empty-cart-container p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

/* Cart Items */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item-card {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 1.5rem;
    align-items: center;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.cart-item-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Cart Item Image */
.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.cart-item-image a:hover img {
    transform: scale(1.1);
}

.cart-item-image .no-image {
    font-size: 3rem;
    color: var(--gray-300);
}

/* Cart Item Details */
.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cart-item-title a {
    color: var(--gray-900);
    text-decoration: none;
}

.cart-item-title a:hover {
    color: var(--primary-green);
}

.cart-item-sku {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.cart-item-specs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.spec-badge {
    background: var(--light-green-bg);
    color: var(--primary-green-dark);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.spec-badge i {
    font-size: 0.875rem;
}

/* Quantity Controls */
.cart-item-quantity {
    display: flex;
    align-items: center;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--white);
    color: var(--gray-700);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--primary-green);
    color: var(--white);
}

.qty-input {
    width: 50px;
    height: 36px;
    border: none;
    border-left: 1px solid var(--gray-300);
    border-right: 1px solid var(--gray-300);
    text-align: center;
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.95rem;
}

.qty-input:focus {
    outline: none;
}

/* Cart Item Price */
.cart-item-total {
    text-align: right;
    min-width: 120px;
}

.cart-item-total .item-price {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.cart-item-total .item-total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.cart-item-price-mobile {
    display: none;
}

/* Remove Button */
.cart-item-remove {
    display: flex;
    align-items: center;
}

.btn-remove {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: var(--gray-100);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    text-decoration: none;
    font-size: 1.125rem;
}

.btn-remove:hover {
    background: var(--red-500);
    color: var(--white);
    transform: scale(1.1);
}

/* Cart Summary */
.cart-summary {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

.summary-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    color: var(--gray-700);
    font-size: 1rem;
}

.summary-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 1rem 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0 2rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.total-price {
    font-size: 1.75rem;
    color: var(--primary-green);
}

.summary-actions {
    margin-bottom: 1.5rem;
}

/* Cart Benefits */
.cart-benefits {
    border-top: 1px solid var(--gray-200);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.benefit-item i {
    color: var(--primary-green);
    font-size: 1.25rem;
}

.cart-clear-wrapper {
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 991px) {
    .cart-summary {
        position: static;
        margin-top: 2rem;
    }

    .cart-item-card {
        grid-template-columns: 80px 1fr auto;
        gap: 1rem;
        padding: 1rem;
    }

    .cart-item-image {
        width: 80px;
        height: 80px;
    }

    .cart-item-total,
    .cart-item-quantity {
        display: none;
    }

    .cart-item-price-mobile {
        display: block;
        text-align: right;
        font-size: 1.125rem;
        font-weight: 700;
        color: var(--gray-900);
    }

    .cart-item-remove {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
}

@media (max-width: 768px) {
    .cart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .cart-header h1 {
        font-size: 1.75rem;
    }

    .cart-badge {
        font-size: 0.875rem;
        padding: 0.4rem 0.8rem;
    }

    .empty-cart-icon {
        font-size: 4rem;
    }

    .empty-cart-container h3 {
        font-size: 1.5rem;
    }

    .cart-item-card {
        grid-template-columns: 70px 1fr;
    }

    .cart-item-image {
        width: 70px;
        height: 70px;
    }

    .cart-item-title {
        font-size: 1rem;
    }

    .cart-item-details {
        padding-right: 2.5rem;
    }
}

/* ============================================
   Checkout / Order Page - Оформление заказа
   ============================================ */

.order-checkout {
    padding: 2rem 0 4rem;
    min-height: calc(100vh - 400px);
}

/* Checkout Header */
.checkout-header {
    margin-bottom: 3rem;
}

.checkout-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 2rem;
}

.checkout-header h1 i {
    color: var(--primary-green);
    margin-right: 0.75rem;
}

/* Progress Steps */
.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    transition: var(--transition);
}

.step span {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

.step.active .step-number {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-green);
}

.step.active span {
    color: var(--primary-green);
    font-weight: 700;
}

.step.completed .step-number {
    background: var(--primary-green);
    color: var(--white);
}

.step.completed span {
    color: var(--gray-700);
}

.step-divider {
    width: 60px;
    height: 2px;
    background: var(--gray-300);
}

/* Checkout Card */
.checkout-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.checkout-card-header {
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkout-card-header i {
    font-size: 1.5rem;
    color: var(--primary-green);
}

.checkout-card-header h5 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.checkout-card-body {
    padding: 2rem;
}

/* Form Styling */
.order-checkout .form-group {
    margin-bottom: 1.5rem;
}

.order-checkout label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    display: block;
}

.order-checkout .form-control,
.order-checkout select {
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.order-checkout .form-control:focus,
.order-checkout select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    outline: none;
}

.order-checkout .btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-green);
    transition: var(--transition);
}

.order-checkout .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -5px rgba(16, 185, 129, 0.4);
}

/* Order Summary Sticky */
.checkout-summary-sticky {
    position: sticky;
    top: 100px;
}

/* Order Items List */
.order-items-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
    padding-right: 0.5rem;
}

.order-items-list::-webkit-scrollbar {
    width: 6px;
}

.order-items-list::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.order-items-list::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 10px;
}

.order-item {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-image {
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-image .no-image {
    font-size: 1.5rem;
    color: var(--gray-300);
}

.order-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.order-item-name {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.9rem;
    line-height: 1.4;
}

.order-item-quantity {
    font-size: 0.8rem;
    color: var(--gray-600);
}

.order-item-price {
    font-weight: 700;
    color: var(--gray-900);
    font-size: 1rem;
}

/* Order Summary */
.order-summary-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 1rem 0;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    color: var(--gray-700);
    font-size: 1rem;
}

.order-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0 1.5rem;
    font-weight: 700;
    font-size: 1.125rem;
}

.total-amount {
    font-size: 1.75rem;
    color: var(--primary-green);
}

/* Order Benefits */
.order-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.benefit-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.benefit-badge i {
    color: var(--primary-green);
    font-size: 1.125rem;
}

/* Responsive */
@media (max-width: 991px) {
    .checkout-summary-sticky {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .checkout-header h1 {
        font-size: 1.75rem;
    }

    .checkout-steps {
        padding: 1.5rem 1rem;
    }

    .step {
        font-size: 0.75rem;
    }

    .step-number {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .step span {
        display: none;
    }

    .step-divider {
        width: 30px;
    }

    .checkout-card-body {
        padding: 1.5rem;
    }

    .order-items-list {
        max-height: 250px;
    }
}

/* ============================================
   Content Pages - Статические страницы
   ============================================ */

.content-page {
    padding: 2rem 0 4rem;
    min-height: calc(100vh - 400px);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: var(--shadow-green);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.page-header::after {
    content: "";
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.page-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.page-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Page Content */
.page-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.page-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow);
    line-height: 1.8;
}

.page-content h2 {
    color: var(--gray-900);
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--light-green-bg);
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content h3 {
    color: var(--gray-800);
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-content p {
    color: var(--gray-700);
    font-size: 1.063rem;
    margin-bottom: 1.25rem;
}

.page-content ul,
.page-content ol {
    color: var(--gray-700);
    font-size: 1.063rem;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.page-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.page-content ul li {
    list-style: none;
    position: relative;
    padding-left: 1.5rem;
}

.page-content ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 700;
}

.page-content strong {
    color: var(--gray-900);
    font-weight: 600;
}

.page-content a {
    color: var(--primary-green);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-green);
    transition: var(--transition-fast);
}

.page-content a:hover {
    color: var(--primary-green-dark);
    border-bottom-color: var(--primary-green-dark);
}

/* Info boxes for content pages */
.info-box {
    background: var(--light-green-bg);
    border-left: 4px solid var(--primary-green);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 2rem 0;
}

.info-box h4 {
    color: var(--primary-green-dark);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.info-box p {
    margin-bottom: 0;
}

/* Contact info styling */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-item {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-top: 0.25rem;
}

.contact-item-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.contact-item-content p {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        padding: 2rem 1.5rem;
    }

    .page-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .page-icon i {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 1.875rem;
    }

    .page-content {
        padding: 2rem 1.5rem;
    }

    .page-content h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }

    .page-content h3 {
        font-size: 1.25rem;
    }

    .page-content p,
    .page-content ul,
    .page-content ol {
        font-size: 1rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Login Page - Страница входа
   ============================================ */

.site-login {
    padding: 3rem 0;
    min-height: calc(100vh - 400px);
}

.login-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-lg);
    margin-top: 2rem;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--gray-600);
    font-size: 1rem;
    margin: 0;
}

.site-login .form-group {
    margin-bottom: 1.5rem;
}

.site-login label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.site-login .form-control {
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.site-login .form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.site-login .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--gray-300);
    margin-top: 0.15rem;
}

.site-login .form-check-input:checked {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.site-login .form-check-label {
    margin-left: 0.5rem;
    font-weight: 500;
}

.site-login .btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 0.875rem 2rem;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: var(--radius);
    margin-top: 1rem;
    box-shadow: var(--shadow-green);
    transition: var(--transition);
}

.site-login .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -5px rgba(16, 185, 129, 0.4);
}

.site-login .btn-primary i {
    margin-right: 0.5rem;
}

.login-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.login-footer p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.login-footer a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.login-footer a:hover {
    color: var(--primary-green-dark);
    text-decoration: underline;
}

.site-login .invalid-feedback {
    color: var(--red-500);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.site-login .is-invalid {
    border-color: var(--red-500);
}

/* Responsive */
@media (max-width: 768px) {
    .login-card {
        padding: 2rem 1.5rem;
    }

    .login-header h1 {
        font-size: 1.75rem;
    }

    .site-login .btn-primary {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
}

/* Signup page */
.site-signup {
    padding: 3rem 0;
    min-height: calc(100vh - 400px);
}

.site-signup .login-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-lg);
    margin-top: 2rem;
}

/* Password reset pages */
.site-request-password-reset,
.site-reset-password,
.site-resend-verification-email {
    padding: 3rem 0;
    min-height: calc(100vh - 400px);
}

.site-request-password-reset .login-card,
.site-reset-password .login-card,
.site-resend-verification-email .login-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-lg);
    margin-top: 2rem;
}

/* All auth forms common styles */
.site-signup .form-group,
.site-request-password-reset .form-group,
.site-reset-password .form-group,
.site-resend-verification-email .form-group {
    margin-bottom: 1.5rem;
}

.site-signup label,
.site-request-password-reset label,
.site-reset-password label,
.site-resend-verification-email label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.site-signup .form-control,
.site-request-password-reset .form-control,
.site-reset-password .form-control,
.site-resend-verification-email .form-control {
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.site-signup .form-control:focus,
.site-request-password-reset .form-control:focus,
.site-reset-password .form-control:focus,
.site-resend-verification-email .form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.site-signup .btn-primary,
.site-request-password-reset .btn-primary,
.site-reset-password .btn-primary,
.site-resend-verification-email .btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 0.875rem 2rem;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: var(--radius);
    margin-top: 1rem;
    box-shadow: var(--shadow-green);
    transition: var(--transition);
}

.site-signup .btn-primary:hover,
.site-request-password-reset .btn-primary:hover,
.site-reset-password .btn-primary:hover,
.site-resend-verification-email .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -5px rgba(16, 185, 129, 0.4);
}

.site-signup .btn-primary i,
.site-request-password-reset .btn-primary i,
.site-reset-password .btn-primary i,
.site-resend-verification-email .btn-primary i {
    margin-right: 0.5rem;
}

.site-signup .login-footer,
.site-request-password-reset .login-footer,
.site-reset-password .login-footer,
.site-resend-verification-email .login-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.site-signup .login-footer p,
.site-request-password-reset .login-footer p,
.site-reset-password .login-footer p,
.site-resend-verification-email .login-footer p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.site-signup .login-footer a,
.site-request-password-reset .login-footer a,
.site-reset-password .login-footer a,
.site-resend-verification-email .login-footer a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.site-signup .login-footer a:hover,
.site-request-password-reset .login-footer a:hover,
.site-reset-password .login-footer a:hover,
.site-resend-verification-email .login-footer a:hover {
    color: var(--primary-green-dark);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .site-signup .login-card,
    .site-request-password-reset .login-card,
    .site-reset-password .login-card,
    .site-resend-verification-email .login-card {
        padding: 2rem 1.5rem;
    }

    .site-signup .login-header h1,
    .site-request-password-reset .login-header h1,
    .site-reset-password .login-header h1,
    .site-resend-verification-email .login-header h1 {
        font-size: 1.75rem;
    }

    .site-signup .btn-primary,
    .site-request-password-reset .btn-primary,
    .site-reset-password .btn-primary,
    .site-resend-verification-email .btn-primary {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
}

/* ============================================
   Product Detail Page - Phase 2 Improvements
   ============================================ */

.product-view {
    margin-top: 2rem;
}

.product-view h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.product-view #productCarousel {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--gray-50);
}

.product-view #productCarousel .carousel-item img {
    padding: 2rem;
    background: var(--gray-50);
    transition: transform 0.4s ease;
}

.product-view #productCarousel:hover .carousel-item.active img {
    transform: scale(1.03);
}

.product-view .card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.product-view .card-header {
    border-bottom: 1px solid var(--gray-200);
    padding: 1.25rem 1.5rem;
}

.product-view .card-header h4,
.product-view .card-header h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
}

.product-view .card-body {
    padding: 1.5rem;
}

.product-view .btn-lg {
    padding: 1rem 2rem;
    font-size: 1.0625rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-view .btn-primary {
    box-shadow: var(--shadow-green);
}

.product-view .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.product-view .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.product-view .btn-outline-secondary:hover {
    background: var(--gray-100);
    border-color: var(--gray-300);
}

.product-view .alert {
    border: none;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    font-weight: 500;
}

.product-view .alert-success {
    background: var(--light-green-bg);
    color: var(--primary-green-dark);
}

.product-view .alert-warning {
    background: #fef3c7;
    color: #92400e;
}

.product-view .table-striped tbody tr {
    border-bottom: 1px solid var(--gray-200);
}

.product-view .table-striped tbody tr:last-child {
    border-bottom: none;
}

.product-view .table-striped td {
    padding: 1rem 0.75rem;
    color: var(--gray-700);
}

.product-view .table-striped td:first-child {
    font-weight: 600;
    color: var(--gray-900);
    width: 40%;
}

/* Улучшения для мобильной версии */
@media (max-width: 991px) {
    .product-view {
        margin-top: 1rem;
    }

    .product-view h1 {
        font-size: 1.5rem;
    }

    .product-view #productCarousel .carousel-item img {
        max-height: 350px !important;
        padding: 1.5rem;
    }

    .product-view .btn-lg {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}

/* Related Products Section */
.product-view .related-products {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--gray-200);
}

.product-view .related-products h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--gray-900);
}

/* ============================================
   Smooth Animations & Transitions - Phase 2
   ============================================ */

/* Fade in animation for elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Apply fade-in to main sections */
.section {
    animation: fadeInUp 0.6s ease-out;
}

.product-card,
.category-card,
.brand-card {
    animation: scaleIn 0.4s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Enhanced focus styles for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(16, 185, 129, 0.3);
    outline-offset: 2px;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Improved list styles */
ul.list-unstyled li {
    padding: 0.5rem 0;
}

/* Enhanced table styles */
.table {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.table thead th {
    background: var(--gray-100);
    color: var(--gray-900);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    padding: 1rem;
    border: none;
}

.table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-color: var(--gray-200);
}

.table tbody tr:hover {
    background: var(--gray-50);
}

/* Enhanced carousel controls */
.carousel-control-prev,
.carousel-control-next {
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: var(--radius-full);
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev {
    left: 1rem;
}

.carousel-control-next {
    right: 1rem;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(16, 185, 129, 0.9);
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    border: none;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background: var(--primary-green);
    width: 32px;
}

/* Enhanced form inputs */
.form-control,
.form-select {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    background: var(--white);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

/* Enhanced modal */
.modal-content {
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
}

.modal-header {
    border-bottom: 1px solid var(--gray-200);
    padding: 1.5rem 2rem;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: 1px solid var(--gray-200);
    padding: 1.5rem 2rem;
}

/* Enhanced badges */
.badge {
    padding: 0.5rem 0.875rem;
    font-weight: 600;
    font-size: 0.8125rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.025em;
}

.badge-primary {
    background: var(--gradient-primary);
}

.badge-success {
    background: var(--primary-green);
}

.badge-danger {
    background: var(--red-500);
}

.badge-warning {
    background: var(--yellow-500);
    color: var(--gray-900);
}

/* Enhanced pagination */
.pagination {
    gap: 0.5rem;
}

.page-link {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    color: var(--gray-700);
    font-weight: 600;
    padding: 0.625rem 1rem;
    transition: all 0.2s ease;
}

.page-link:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background: var(--gradient-primary);
    border-color: var(--primary-green);
    box-shadow: var(--shadow-green);
}

/* Performance optimization */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   Mobile Design Improvements - Homepage
   ============================================ */

@media (max-width: 767px) {
    /* Container padding */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Hero section */
    .site-index .hero-banner {
        margin-bottom: 2rem !important;
        border-radius: var(--radius-lg);
    }

    .site-index .hero-banner .carousel-item img {
        min-height: 250px;
        max-height: 350px;
    }

    .site-index .hero-banner .carousel-caption {
        padding: 2rem 1rem 1.5rem;
    }

    .site-index .hero-banner .carousel-caption h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .site-index .hero-banner .carousel-caption p {
        font-size: 0.875rem;
    }

    .site-index .hero-section {
        padding: 3rem 1.5rem;
        margin-bottom: 2rem !important;
    }

    /* Section spacing */
    .site-index .section {
        padding: 2rem 0;
        margin-bottom: 2rem;
    }

    .site-index .section-bg-white {
        padding: 2rem 1.5rem;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 2.5rem;
        border-radius: var(--radius-lg);
    }

    .site-index .section.mb-5 {
        margin-bottom: 2.5rem !important;
    }

    /* Добавим отступы для всех секций */
    .site-index > .section,
    .site-index .section {
        padding-left: 0;
        padding-right: 0;
    }

    /* Row внутри секций */
    .site-index .section .row {
        margin-left: 0;
        margin-right: 0;
    }

    /* Колонки внутри секций */
    .site-index .section .row > [class*="col-"] {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    /* Section titles */
    .site-index .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        padding-bottom: 0.75rem;
    }

    .site-index .section-title::after {
        width: 50px;
        height: 3px;
    }

    /* Category cards */
    .site-index .category-card {
        padding: 1.5rem 1rem;
    }

    .site-index .category-card-icon {
        width: 70px;
        height: 70px;
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }

    .site-index .category-card-title {
        font-size: 0.9375rem;
    }

    /* Brand cards */
    .site-index .brand-card {
        padding: 1.5rem 1rem;
    }

    .site-index .brand-logo {
        width: 100px;
        height: 70px;
    }

    .site-index .brand-name {
        font-size: 0.9375rem;
    }

    /* Advantage cards */
    .site-index .advantage-card {
        padding: 1.5rem 1rem;
    }

    .site-index .advantage-icon {
        width: 70px;
        height: 70px;
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }

    .site-index .advantage-card h5 {
        font-size: 1rem;
    }

    .site-index .advantage-card p {
        font-size: 0.875rem;
    }

    /* Product cards in sliders */
    .site-index .product-card-img {
        padding: 1.25rem;
    }

    .site-index .product-card-body {
        padding: 1rem;
    }

    .site-index .product-card-title {
        font-size: 0.9375rem;
        margin-bottom: 0.5rem;
    }

    .site-index .product-price-current {
        font-size: 1.25rem;
    }

    .site-index .product-spec-item {
        font-size: 0.8125rem;
        padding: 0.2rem 0.5rem;
    }

    /* Swiper adjustments */
    .site-index .swiper {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .site-index .swiper-slide {
        padding: 0.5rem;
    }

    /* Action buttons */
    .site-index .d-flex.justify-content-between {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .site-index .d-flex.justify-content-between .section-title {
        margin-bottom: 0;
    }

    .site-index .d-flex.justify-content-between .btn {
        width: 100%;
        font-size: 0.9375rem;
        padding: 0.625rem 1rem;
    }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 991px) {
    .site-index .hero-banner .carousel-item img {
        min-height: 350px;
        max-height: 450px;
    }

    .site-index .hero-banner .carousel-caption h3 {
        font-size: 2rem;
    }

    .site-index .category-card-icon,
    .site-index .advantage-icon {
        width: 80px;
        height: 80px;
    }

    .site-index .section {
        padding: 2.5rem 0;
    }
}

/* Extra small devices */
@media (max-width: 575px) {
    .site-index .hero-title {
        font-size: 2rem;
    }

    .site-index .hero-subtitle {
        font-size: 1rem;
    }

    .site-index .section {
        padding: 1.5rem 0;
    }

    .site-index .section-title {
        font-size: 1.375rem;
    }
}
