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

/* ===== CSS VARIABLES ===== */
:root {
    --primary-beige: #1A2A4A !important;
    --primary-purple: #1A2A4A !important;
    --text-gray: #898989;
    --accent-red: #D4AF37 !important;
    --success-green: #D4AF37 !important;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-gray);
    background-color: var(--light-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===== LAYOUT COMPONENTS ===== */
/* Header */
header {
    background: linear-gradient(135deg, var(--primary-beige) 0%, var(--primary-purple) 100%);
    color: var(--white);
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Navigation */
.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 0;
}

.nav a {
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1.2rem; /* Увеличил с 1.1rem */
}

.nav a:hover {
    background-color: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.nav a.active {
    background-color: rgba(255,255,255,0.25);
    font-weight: 600;
}

/* Auth Navigation */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.user-greeting {
    color: var(--white);
    font-weight: 500;
    font-size: 1.3rem; /* Добавил увеличение */
}

.login-btn, .logout-btn {
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.login-btn:hover, .logout-btn:hover {
    background-color: rgba(255,255,255,0.2);
}

.register-btn {
    background-color: rgba(255,255,255,0.2);
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.register-btn:hover {
    background-color: rgba(255,255,255,0.3);
}

/* Main content */
main {
    flex: 1;
    padding: 0.5rem 0;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-beige) 0%, var(--primary-purple) 100%);
    color: var(--white);
    text-align: center;
    padding: 6rem 0;
    margin-top: auto;
}

footer p {
    font-size: 1.2rem; /* Увеличил шрифт текста */
    font-weight: 500;
    margin: 0;
}

/* ===== HOME PAGE STYLES ===== */
/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-beige) 0%, var(--primary-purple) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
    border-radius: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    opacity: 0.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-beige);
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-beige);
    transform: translateY(-2px);
}

/* Featured Products */
.featured-products {
    padding: 0 20px 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-weight: 300;
}

.section-header p {
    color: var(--text-gray);
    opacity: 0.7;
}

.products-layout {
    max-width: 1200px;
    margin: 0 auto;
}

.category-section {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 1.5rem;
    color: var(--primary-beige);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 400;
    letter-spacing: 1px;
}

/* Asymmetric Grid Layout */
.products-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.featured-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
}

.popular-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* Product Cards */
.product-mini-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border: 1px solid rgba(212, 183, 157, 0.1);
    height: 100%;
}

.product-mini-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

/* Card Sizes */
.card-large {
    grid-column: span 2;
}

.card-medium {
    grid-column: span 1;
}

.card-small {
    grid-column: span 1;
}

/* Product Images */
.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-large .product-image {
    height: 250px;
}

.card-small .product-image {
    height: 160px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.no-image {
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-style: italic;
}

/* Product Info */
.product-info {
    padding: 1.5rem;
}

.card-large .product-info {
    padding: 2rem;
}

.product-name {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.3;
}

.card-large .product-name {
    font-size: 1.3rem;
}

.product-price {
    font-size: 1.4rem;
    color: var(--accent-red);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-large .product-price {
    font-size: 1.6rem;
}

.product-stats {
    font-size: 0.9rem;
    color: var(--text-gray);
    opacity: 0.7;
}

/* Badges */
.product-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.product-badge.new {
    background: var(--accent-red);
    color: var(--white);
}

/* ===== CATALOG PAGE STYLES ===== */
/* Filters Section */
.filters-section {
    background: rgba(212, 183, 157, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid rgba(212, 183, 157, 0.2);
}

.filter-group {
    margin-bottom: 1rem;
    display: inline-block;
    margin-right: 1.5rem;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-gray);
}

.filter-control {
    padding: 0.5rem;
    border: 1px solid rgba(212, 183, 157, 0.3);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-gray);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.filter-control:focus {
    outline: none;
    border-color: var(--primary-beige);
    box-shadow: 0 0 0 3px rgba(212, 183, 157, 0.1);
}

.filter-btn {
    background: linear-gradient(135deg, var(--primary-beige) 0%, var(--primary-purple) 100%);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 183, 157, 0.4);
}

.reset-btn {
    background: transparent;
    color: var(--text-gray);
    border: 1px solid rgba(212, 183, 157, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-btn:hover {
    background: rgba(212, 183, 157, 0.1);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-card {
    background: var(--white);
    border: 1px solid rgba(212, 183, 157, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
}

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

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.product-card h3 {
    margin: 0.5rem 0;
    font-size: 1.2rem;
    color: var(--text-gray);
    font-weight: 500;
}

.price {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--accent-red);
    margin: 0.5rem 0;
}

.product-meta {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0.25rem 0;
    opacity: 0.7;
}

/* ===== FORM STYLES ===== */
/* .form-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
} */

.form-container {
    max-width: 500px; /* Уменьшил с 600px */
    margin: 2rem auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    width: 90%; /* Добавил относительную ширину */
}

/* .form-title {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 300;
} */

/* Уменьшаем отступы внутри формы */
.form-title {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 1.5rem; /* Уменьшил с 2rem */
    font-size: 1.8rem; /* Чуть уменьшил */
    font-weight: 300;
}

.form-group {
    margin-bottom: 1.2rem; /* Уменьшил с 1.5rem */
}


/* .form-group {
    margin-bottom: 1.5rem;
} */

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

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(212, 183, 157, 0.3);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-beige);
    box-shadow: 0 0 0 3px rgba(212, 183, 157, 0.1);
}

/* .btn-form {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-beige) 0%, var(--primary-purple) 100%);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
} */

/* Уменьшаем кнопки */
.btn-form {
    display: block;
    width: 100%;
    padding: 0.8rem 2rem; /* Уменьшил с 1rem 2rem */
    background: linear-gradient(135deg, var(--primary-beige) 0%, var(--primary-purple) 100%);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-size: 1rem; /* Уменьшил с 1.1rem */
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.btn-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 183, 157, 0.4);
}

/* Адаптивность для форм */
@media (max-width: 768px) {
    .form-container {
        max-width: 400px;
        padding: 1.5rem;
        margin: 1rem auto;
    }
    
    .form-title {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }
}

@media (max-width: 480px) {
    .form-container {
        max-width: 350px;
        padding: 1.2rem;
    }
    
    .form-title {
        font-size: 1.4rem;
    }
    
    .btn-form {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-beige { color: var(--primary-beige); }
.text-purple { color: var(--primary-purple); }

.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .nav-auth {
        margin-left: 0;
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .featured-grid,
    .popular-grid {
        grid-template-columns: 1fr;
    }
    
    .card-large {
        grid-column: span 1;
    }
    
    .filter-group {
        display: block;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
}



/* ===== PAGINATION STYLES ===== */
.pagination {
    text-align: center;
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination a {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(212, 183, 157, 0.3);
    border-radius: 4px;
    text-decoration: none;
    color: var(--primary-beige);
    transition: all 0.3s;
}

.pagination a:hover {
    background: linear-gradient(135deg, var(--primary-beige) 0%, var(--primary-purple) 100%);
    color: var(--white);
    border-color: transparent;
}

.pagination span {
    padding: 0.5rem 1rem;
    color: var(--text-gray);
}

/* ===== MESSAGE STYLES ===== */
.message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.message-success {
    background: rgba(39, 174, 96, 0.1);
    color: var(--success-green);
    border: 1px solid var(--success-green);
}

.message-error {
    background: rgba(231, 76, 60, 0.1);
    color: var(--accent-red);
    border: 1px solid var(--accent-red);
}

.message-info {
    background: rgba(212, 183, 157, 0.1);
    color: var(--primary-beige);
    border: 1px solid var(--primary-beige);
}

.message-warning {
    background: rgba(243, 156, 18, 0.1);
    color: #f39c12;
    border: 1px solid #f39c12;
}


/* ===== ABOUT PAGE STYLES ===== */
.about-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.about-page h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-weight: 300;
    position: relative;
}

.about-page h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-beige) 0%, var(--primary-purple) 100%);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(212, 183, 157, 0.1);
}

.about-text h3 {
    color: var(--primary-beige);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.3;
}

.about-text h4 {
    color: var(--text-gray);
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
    font-weight: 500;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-purple);
}

.about-text p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    font-size: 1.05rem;
}

.about-text ul {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.about-text li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
    color: var(--text-gray);
}

.about-text li::before {
    content: '•';
    position: absolute;
    left: 1rem;
    top: 0;
    color: var(--primary-beige);
    font-size: 1.5rem;
    font-weight: bold;
}

/* Статистика */
.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-item {
    background: linear-gradient(135deg, var(--primary-beige) 0%, var(--primary-purple) 100%);
    color: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
    line-height: 1.4;
}

/* Адаптивность для страницы О нас */
@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-item {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .about-page {
        padding: 1rem;
    }
    
    .about-page h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .about-text {
        padding: 1.5rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .about-text h4 {
        font-size: 1.2rem;
    }
    
    .stat-item {
        min-width: 150px;
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .about-stats {
        flex-direction: column;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .about-text li {
        padding-left: 1.5rem;
    }
    
    .about-text li::before {
        font-size: 1rem;
    }
}

/* Анимации для появления элементов */
.about-text h3,
.about-text p,
.about-text ul,
.stat-item {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Задержки для анимаций */
.about-text h3 { animation-delay: 0.1s; }
.about-text p:nth-child(2) { animation-delay: 0.2s; }
.about-text h4:nth-child(3) { animation-delay: 0.3s; }
.about-text ul:nth-child(4) { animation-delay: 0.4s; }
.about-text h4:nth-child(5) { animation-delay: 0.5s; }
.about-text p:nth-child(6) { animation-delay: 0.6s; }
.stat-item:nth-child(1) { animation-delay: 0.3s; }
.stat-item:nth-child(2) { animation-delay: 0.4s; }
.stat-item:nth-child(3) { animation-delay: 0.5s; }
.stat-item:nth-child(4) { animation-delay: 0.6s; }



/* ===== CONTACTS PAGE STYLES ===== */
.contacts-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.contacts-page h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-weight: 300;
    position: relative;
}

.contacts-page h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-beige) 0%, var(--primary-purple) 100%);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

/* Контактная информация */
.contact-info {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(212, 183, 157, 0.1);
}

.contact-info h3 {
    color: var(--primary-beige);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 500;
    text-align: center;
    position: relative;
}

.contact-info h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--primary-purple);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.contact-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(212, 183, 157, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--primary-beige);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
    background: rgba(212, 183, 157, 0.08);
}

.contact-item h4 {
    color: var(--text-gray);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item p {
    margin-bottom: 0.5rem;
    color: var(--text-gray);
    line-height: 1.5;
    padding-left: 1.5rem;
}

.contact-item p:last-child {
    margin-bottom: 0;
}

/* Форма обратной связи */
.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(212, 183, 157, 0.1);
}

.contact-form h3 {
    color: var(--primary-beige);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 500;
    text-align: center;
    position: relative;
}

.contact-form h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--primary-purple);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

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

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-gray);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(212, 183, 157, 0.3);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-beige);
    box-shadow: 0 0 0 3px rgba(212, 183, 157, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-beige) 0%, var(--primary-purple) 100%);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.contact-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 183, 157, 0.4);
}

/* Секция с картой */
.map-section {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(212, 183, 157, 0.1);
}

.map-section h3 {
    color: var(--primary-beige);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 500;
    text-align: center;
    position: relative;
}

.map-section h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--primary-purple);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.map-placeholder {
    background: linear-gradient(135deg, rgba(212, 183, 157, 0.1) 0%, rgba(223, 207, 238, 0.1) 100%);
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 12px;
    border: 2px dashed rgba(212, 183, 157, 0.3);
}

.map-placeholder p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.map-placeholder p:first-child {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary-beige);
}

/* Адаптивность для страницы контактов */
@media (max-width: 968px) {
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .contacts-page {
        padding: 1rem;
    }
    
    .contacts-page h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .contact-info h3,
    .contact-form h3,
    .map-section h3 {
        font-size: 1.5rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .map-placeholder {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-info,
    .contact-form,
    .map-section {
        padding: 1.5rem;
    }
    
    .contact-item h4 {
        font-size: 1.1rem;
    }
    
    .map-placeholder p:first-child {
        font-size: 1.3rem;
    }
}

/* Анимации для появления элементов */
.contact-item,
.form-group,
.map-placeholder {
    animation: fadeInUp 0.6s ease-out;
}

/* Задержки для анимаций */
.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }
.contact-item:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(1) { animation-delay: 0.2s; }
.form-group:nth-child(2) { animation-delay: 0.3s; }
.form-group:nth-child(3) { animation-delay: 0.4s; }
.map-placeholder { animation-delay: 0.5s; }
/* ===== БУРГЕР-МЕНЮ ===== */



@media (max-width: 768px) {

@media (min-width: 769px) {

/* Мобильное меню */










/* Оверлей */


@media (max-width: 768px) {

/* ===== БУРГЕР-МЕНЮ ===== */

/* Показываем бургер только на мобильных */
@media (max-width: 768px) {

/* Мобильное меню */











/* ===== ПЛАВАЮЩАЯ КНОПКА ===== */
.floating-btn {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    z-index: 9999 !important;
}

.main-btn {
    width: 55px !important;
    height: 55px !important;
    background: #D4AF37 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4) !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.main-btn:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6) !important;
}

.main-btn i {
    font-size: 24px !important;
    color: white !important;
}

.social-links {
    position: absolute !important;
    bottom: 70px !important;
    right: 0 !important;
    width: 300px !important;
    background: white !important;
    border-radius: 16px !important;
    padding: 20px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15) !important;
    z-index: 99999 !important;
}

.social-links.show {
    opacity: 1 !important;
    visibility: visible !important;
    bottom: 80px !important;
}

.social-links h4 {
    color: #1A2A4A !important;
    margin-bottom: 15px !important;
    text-align: center !important;
    font-size: 16px !important;
}

.contact-form input,
.contact-form textarea {
    width: 100% !important;
    padding: 10px 14px !important;
    margin-bottom: 10px !important;
    border: 1px solid #ddd !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
}

.contact-form button {
    background: #D4AF37 !important;
    border: none !important;
    padding: 10px !important;
    border-radius: 30px !important;
    color: white !important;
    font-weight: 600 !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.contact-form button:hover {
    background: #1A2A4A !important;
}

.social-icons-row {
    display: flex !important;
    justify-content: center !important;
    gap: 18px !important;
    margin-top: 15px !important;
    padding-top: 10px !important;
    border-top: 1px solid #eee !important;
}

.social-icons-row a {
    color: #555 !important;
    font-size: 24px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.social-icons-row a:hover {
    color: #D4AF37 !important;
    transform: scale(1.1) !important;
}

/* ===== БУРГЕР ===== */


@media (max-width: 768px) {

/* Мобильное меню */








/* ===== СКРЫВАЕМ ОБЫЧНОЕ МЕНЮ НА МОБИЛЬНЫХ ===== */
@media (max-width: 1024px) {

/* ===== ПЛАВАЮЩАЯ КНОПКА ===== */
.floating-btn {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    z-index: 9999 !important;
}

.main-btn {
    width: 55px !important;
    height: 55px !important;
    background: #D4AF37 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4) !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.main-btn:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6) !important;
}

.main-btn i {
    font-size: 24px !important;
    color: white !important;
}

.social-links {
    position: absolute !important;
    bottom: 70px !important;
    right: 0 !important;
    width: 300px !important;
    background: white !important;
    border-radius: 16px !important;
    padding: 20px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15) !important;
    z-index: 99999 !important;
}

.social-links.show {
    opacity: 1 !important;
    visibility: visible !important;
    bottom: 80px !important;
}

.social-links h4 {
    color: #1A2A4A !important;
    margin-bottom: 15px !important;
    text-align: center !important;
    font-size: 16px !important;
}

.contact-form input,
.contact-form textarea {
    width: 100% !important;
    padding: 10px 14px !important;
    margin-bottom: 10px !important;
    border: 1px solid #ddd !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
}

.contact-form button {
    background: #D4AF37 !important;
    border: none !important;
    padding: 10px !important;
    border-radius: 30px !important;
    color: white !important;
    font-weight: 600 !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.contact-form button:hover {
    background: #1A2A4A !important;
}

.social-icons-row {
    display: flex !important;
    justify-content: center !important;
    gap: 18px !important;
    margin-top: 15px !important;
    padding-top: 10px !important;
    border-top: 1px solid #eee !important;
}

.social-icons-row a {
    color: #555 !important;
    font-size: 24px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.social-icons-row a:hover {
    color: #D4AF37 !important;
    transform: scale(1.1) !important;
}

/* ===== БУРГЕР ЧИСТЫЙ ===== */
.burger-btn {
    display: none !important;
    background: #D4AF37 !important;
    border: none !important;
    color: white !important;
    font-size: 24px !important;
    padding: 8px 14px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    position: fixed !important;
    top: 15px !important;
    left: 15px !important;
    z-index: 99999 !important;
}

@media (max-width: 1024px) {
    .burger-btn {
        display: block !important;
    }
    .nav a:not(.burger-btn):not(.nav-auth a) {
        display: none !important;
    }
    .nav-auth {
        margin-left: auto !important;
        margin-right: 15px !important;
    }
}

.top-menu {
    display: none !important;
    position: fixed !important;
    top: 70px !important;
    left: 15px !important;
    background: white !important;
    z-index: 99998 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15) !important;
    padding: 15px 20px !important;
    min-width: 200px !important;
    max-width: 280px !important;
    border: 1px solid #e8e0d5 !important;
}

.top-menu.show {
    display: block !important;
}

.top-menu ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
}

.top-menu ul li {
    margin: 0 !important;
    padding: 0 !important;
}

.top-menu a {
    text-decoration: none !important;
    color: #1A2A4A !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 6px 12px !important;
    display: block !important;
    border-radius: 6px !important;
    text-align: left !important;
}

.top-menu a:hover {
    background: #D4AF37 !important;
    color: white !important;
}

.top-menu .search-inline {
    display: flex !important;
    gap: 8px !important;
    margin-top: 10px !important;
    padding-top: 10px !important;
    border-top: 1px solid #eee !important;
}

.top-menu .search-inline input {
    flex: 1 !important;
    padding: 6px 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 20px !important;
    font-size: 13px !important;
}

.top-menu .search-inline button {
    background: #D4AF37 !important;
    border: none !important;
    border-radius: 50% !important;
    width: 34px !important;
    height: 34px !important;
    cursor: pointer !important;
    color: white !important;
}

.overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0,0,0,0.3) !important;
    z-index: 99997 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: 0.3s !important;
}

.overlay.show {
    opacity: 1 !important;
    visibility: visible !important;
}

/* ===== ПЛАВАЮЩАЯ КНОПКА ===== */
.floating-btn {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    z-index: 9999 !important;
}

.main-btn {
    width: 55px !important;
    height: 55px !important;
    background: #D4AF37 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4) !important;
    border: none !important;
}

.main-btn i {
    font-size: 24px !important;
    color: white !important;
}

.social-links {
    position: absolute !important;
    bottom: 70px !important;
    right: 0 !important;
    width: 290px !important;
    background: white !important;
    border-radius: 16px !important;
    padding: 18px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.12) !important;
    z-index: 99999 !important;
}

.social-links.show {
    opacity: 1 !important;
    visibility: visible !important;
    bottom: 80px !important;
}

.contact-form input,
.contact-form textarea {
    width: 100% !important;
    padding: 8px 12px !important;
    margin-bottom: 8px !important;
    border: 1px solid #ddd !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
}

.contact-form button {
    background: #D4AF37 !important;
    border: none !important;
    padding: 8px !important;
    border-radius: 30px !important;
    color: white !important;
    font-weight: 600 !important;
    width: 100% !important;
    cursor: pointer !important;
}

.contact-form button:hover {
    background: #1A2A4A !important;
}

.social-icons-row {
    display: flex !important;
    justify-content: center !important;
    gap: 18px !important;
    margin-top: 12px !important;
    padding-top: 8px !important;
    border-top: 1px solid #eee !important;
}

.social-icons-row a {
    color: #555 !important;
    font-size: 24px !important;
    text-decoration: none !important;
}

.social-icons-row a:hover {
    color: #D4AF37 !important;
}

/* ===== СКРЫВАЕМ ПРИВЕТСТВИЕ НА МОБИЛЬНЫХ ===== */
@media (max-width: 1200px) {
    .user-greeting {
        display: none !important;
    }
    .logout-btn {
        display: none !important;
    }
}

/* ===== КРАСИВАЯ СЕТКА ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.product-mini-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.product-mini-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-mini-card .product-image {
    height: 200px;
    overflow: hidden;
}

.product-mini-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-mini-card .product-info {
    padding: 1.5rem;
}

.product-mini-card .product-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1A2A4A;
    margin-bottom: 0.5rem;
}

.product-mini-card .product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #D4AF37;
}

/* Разная сетка */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card-large {
    grid-column: span 2;
}

.card-small {
    grid-column: span 1;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    .featured-grid {
        grid-template-columns: 1fr;
    }
    .card-large {
        grid-column: span 1;
    }
}

/* ===== ВОДЯНОЙ ЗНАК ===== */
.watermark {
    position: relative;
    overflow: hidden;
}

.watermark::after {
    content: 'Каватор';
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: rgba(0,0,0,0.08);
    font-size: 14px;
    font-weight: bold;
    pointer-events: none;
    transform: rotate(-15deg);
}
