﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #fff;
    color: #111;
}

/* Страницы */
.page-section {
    display: none;
    min-height: 80vh;
}

    .page-section.active {
        display: block;
    }

/* Хедер */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 1000;
}

    header .logo {
        font-size: 28px;
        font-weight: bold;
        letter-spacing: 2px;
    }

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between; /* важно */
}

.header-icons {
    display: flex;
    gap: 10px; /* расстояние между иконками */
    align-items: center;
}

.icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    cursor: pointer;
    transition: 0.3s;
}

    .icon:hover {
        background: rgba(255,255,255,0.08);
        border-color: rgba(255,255,255,0.25);
    }

.cart-icon {
    padding: 0 12px;
}

.cart-count {
    margin-left: 6px;
    font-size: 12px;
    color: #d6b16a;
}



nav a {
    text-decoration: none;
    color: #111;
    margin-left: 30px;
    font-size: 16px;
    transition: color 0.3s;
    cursor: pointer;
}

    nav a:hover,
    nav a.active {
        color: #bfa16f;
    }

.cart-icon {
    cursor: pointer;
    font-size: 20px;
    position: relative;
}

    .cart-icon .cart-count {
        background-color: #bfa16f;
        color: #fff;
        font-size: 12px;
        padding: 2px 6px;
        border-radius: 50%;
        position: absolute;
        top: -8px;
        right: -10px;
    }

/* Баннер */
.banner {
    position: relative;
    width: 100%;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    z-index: 0;
}

.banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.banner p {
    font-size: 20px;
    margin-bottom: 30px;
}

.banner button {
    background-color: #bfa16f;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .banner button:hover {
        background-color: #a88c5d;
    }

/* Популярные товары на главной */
.featured-products {
    padding: 80px 50px;
}

    .featured-products h2 {
        text-align: center;
        font-size: 36px;
        margin-bottom: 40px;
    }

/* Фильтры */
.filters {
    text-align: center;
    margin: 40px 0;
    padding: 0 20px;
}

    .filters button {
        margin: 0 10px 10px 0;
        padding: 10px 20px;
        border: 1px solid #111;
        background: none;
        cursor: pointer;
        transition: 0.3s;
        border-radius: 3px;
    }

        .filters button.active,
        .filters button:hover {
            background-color: #bfa16f;
            color: #fff;
            border-color: #bfa16f;
        }

/* Подкатегории */
.subcategories {
    background-color: #f9f9f9;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

    .subcategories.hidden {
        display: none;
    }

/* Продукты на главной */
.products {
    padding: 0 50px 80px 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

/* Стили для страницы магазина */
#shop-section {
    padding: 60px 20px;
}

.shop-header {
    text-align: center;
    margin-bottom: 40px;
}

    .shop-header h2 {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .shop-header p {
        font-size: 18px;
        color: #666;
    }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    border: 1px solid #eee;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    background: #fff;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

    .product-card img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        margin-bottom: 15px;
    }

    .product-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
        color: #111;
    }

    .product-card p {
        font-size: 16px;
        margin-bottom: 15px;
        color: #555;
    }

    .product-card button {
        background-color: #111;
        color: #fff;
        border: none;
        padding: 12px 24px;
        cursor: pointer;
        transition: background-color 0.3s;
        width: 100%;
    }

        .product-card button:hover {
            background-color: #bfa16f;
        }

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Страница "О бренде" */
#about-section {
    padding: 100px 20px;
    text-align: center;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

    .about-text p {
        font-size: 18px;
        margin-bottom: 20px;
        color: #555;
    }

/* Страница "Контакты" */
#contacts-section {
    padding: 100px 20px;
    text-align: center;
}

.contacts-content h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.contact-info {
    font-size: 18px;
    line-height: 2;
}

    .contact-info p {
        margin-bottom: 15px;
    }

/* Корзина */
.cart {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    background: #fff;
    border-left: 1px solid #ddd;
    padding: 20px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease-in-out;
    z-index: 10000;
    display: flex;
    flex-direction: column;
}

    .cart.active {
        right: 0;
    }

    .cart h3 {
        margin-bottom: 20px;
        font-size: 24px;
        text-align: center;
    }

.cart-items {
    list-style: none;
    flex-grow: 1;
    overflow-y: auto;
    margin-bottom: 20px;
    padding: 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart-item-info {
    flex-grow: 1;
    text-align: left;
}

.cart-item-name {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 14px;
}

.cart-item-price {
    color: #bfa16f;
    font-size: 14px;
}

.cart-item-remove {
    background: #ff4444;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
    font-size: 12px;
}

    .cart-item-remove:hover {
        background: #cc0000;
    }

.cart-empty {
    text-align: center;
    color: #888;
    padding: 40px 0;
    font-style: italic;
}

.cart-total {
    font-weight: bold;
    font-size: 20px;
    margin: 20px 0;
    text-align: center;
    padding: 15px 0;
    border-top: 2px solid #eee;
}

.checkout-btn {
    background-color: #bfa16f;
    color: #fff;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 16px;
    margin-bottom: 10px;
}

    .checkout-btn:hover {
        background-color: #a88c5d;
    }

.close-cart {
    background-color: #111;
    color: #fff;
    border: none;
    padding: 12px;
    cursor: pointer;
}

/* Затемнение фона */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s;
    z-index: 9000;
}

    .overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* Уведомления */
.added-popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #bfa16f;
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 11000;
}

    .added-popup.show {
        opacity: 1;
        transform: translateY(0);
    }

/* Футер */
/* ====== FOOTER ====== */
.footer {
    background: #070707;
    border-top: 1px solid rgba(255,255,255,0.10);
    padding: 60px 40px;
    color: #f5f5f5;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    letter-spacing: 8px;
    margin-bottom: 12px;
    color: #f5f5f5; /* белый */
}


.footer-tagline {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.social-link {
    text-decoration: none;
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    letter-spacing: 1px;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

    .social-link:hover {
        color: #d6b16a;
        border-bottom: 1px solid #d6b16a;
    }

.footer-links {
    display: flex;
    gap: 60px;
}

.links-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 16px;
    opacity: 0.8;
}

.links-list {
    list-style: none;
}

.footer-link {
    display: block;
    text-decoration: none;
    color: rgba(255,255,255,0.75);
    margin-bottom: 10px;
    font-size: 14px;
    transition: 0.3s;
}

    .footer-link:hover {
        color: #d6b16a;
    }

.footer-contact {
    max-width: 280px;
}

.contact-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 16px;
    opacity: 0.8;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-item {
    font-size: 14px;
    opacity: 0.75;
}

.contact-text {
    font-weight: 500;
}

.contact-note {
    font-size: 12px;
    opacity: 0.6;
}

.footer-map {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 40px;
}

.map-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 16px;
    opacity: 0.8;
}

.map-container {
    height: 220px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    width: 90%;
    height: 90%;
    border: 1px dashed rgba(255,255,255,0.25);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.map-point {
    display: flex;
    gap: 12px;
    align-items: center;
}

.map-pin {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #d6b16a;
}

.map-tooltip {
    font-size: 14px;
    opacity: 0.8;
}

.map-grid {
    display: flex;
    gap: 12px;
}

.map-street {
    font-size: 12px;
    opacity: 0.6;
    padding: 6px 10px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 12px;
    opacity: 0.6;
    flex-wrap: wrap;
}

.legal-link {
    text-decoration: none;
    color: rgba(255,255,255,0.6);
}

    .legal-link:hover {
        color: #d6b16a;
    }

.footer-payment {
    display: flex;
    gap: 10px;
    align-items: center;
}

.payment-text {
    font-size: 12px;
    opacity: 0.6;
}


/* Адаптивность */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }

    nav a {
        margin: 0 10px;
    }

    .banner h1 {
        font-size: 32px;
    }

    .banner p {
        font-size: 16px;
    }

    .featured-products,
    .products {
        padding: 0 20px 40px 20px;
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .filters button {
        padding: 8px 15px;
        font-size: 14px;
        margin: 0 5px 5px 0;
    }

    .cart {
        width: 100%;
        right: -100%;
    }
}
/* Баннер контактов */
.contact-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.contact-hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.7);
}

.contact-hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.contact-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(191,161,111,0.3) 100%);
    z-index: 0;
}

.contact-hero__title {
    font-size: 72px;
    margin-bottom: 10px;
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: uppercase;
    font-family: 'Times New Roman', serif;
}

.contact-hero__subtitle {
    font-size: 20px;
    margin-bottom: 20px;
    letter-spacing: 3px;
    font-weight: 300;
    opacity: 0.9;
}

.contact-hero__divider {
    width: 100px;
    height: 1px;
    background: #bfa16f;
    margin: 25px auto;
    opacity: 0.7;
}

.contact-hero__tagline {
    font-size: 16px;
    letter-spacing: 2px;
    font-weight: 300;
    opacity: 0.8;
    font-style: italic;
}

/* Основной контейнер */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* Сетка контактов */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.contact-card {
    background: #fff;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .contact-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 2px;
        background: #bfa16f;
        transition: left 0.3s ease;
    }

    .contact-card:hover::before {
        left: 0;
    }

    .contact-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        border-color: #bfa16f;
    }

.contact-card__icon {
    font-size: 40px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.contact-card__title {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 500;
    letter-spacing: 1px;
}

.contact-card__text {
    color: #666;
    margin-bottom: 8px;
    line-height: 1.6;
}

.contact-card__note {
    font-size: 12px;
    color: #999;
    font-style: italic;
    margin-top: 15px;
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
}

/* Секция услуг */
.services-section {
    margin-bottom: 80px;
}

.services-section__title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #333;
    font-weight: 300;
    letter-spacing: 2px;
    position: relative;
}

    .services-section__title::after {
        content: "";
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 1px;
        background: #bfa16f;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s ease;
}

    .service-item:hover {
        transform: translateY(-5px);
    }

.service-item__icon {
    font-size: 32px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.service-item__title {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 500;
    letter-spacing: 1px;
}

.service-item__description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Форма обратной связи */
.contact-form-section {
    background: #fafafa;
    padding: 60px 40px;
    border: 1px solid #f0f0f0;
}

.contact-form__header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-form__title {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 300;
    letter-spacing: 2px;
}

.contact-form__description {
    color: #666;
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-field {
    position: relative;
    margin-bottom: 30px;
}

.form-field__input {
    width: 100%;
    padding: 15px 0 10px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    background: transparent;
    font-size: 16px;
    transition: all 0.3s ease;
    color: #333;
    resize: vertical;
}

.form-field__textarea {
    min-height: 100px;
}

.form-field__label {
    position: absolute;
    top: 15px;
    left: 0;
    font-size: 16px;
    color: #999;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-field__input:focus {
    outline: none;
    border-bottom-color: #bfa16f;
}

    .form-field__input:focus + .form-field__label,
    .form-field__input:valid + .form-field__label {
        top: -10px;
        font-size: 12px;
        color: #bfa16f;
    }

.contact-form__submit {
    background: #111;
    color: #fff;
    border: none;
    padding: 18px 40px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 0 auto;
    text-transform: uppercase;
}
.map-box {
    height: 360px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.03);
    overflow: hidden;
}

.map {
    width: 100%;
    height: 100%;
}


    .contact-form__submit:hover {
        background: #bfa16f;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(191,161,111,0.3);
    }

.contact-form__submit-arrow {
    transition: transform 0.3s ease;
}

.contact-form__submit:hover .contact-form__submit-arrow {
    transform: translateX(5px);
}

.contact-form__submit-text {
    display: inline-block;
}



/* Адаптивность */
@media (max-width: 768px) {
    .contact-hero {
        height: 50vh;
    }

    .contact-hero__title {
        font-size: 48px;
        letter-spacing: 4px;
    }

    .contact-hero__subtitle {
        font-size: 16px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form__row {
        grid-template-columns: 1fr;
    }

    .contact-form-section {
        padding: 40px 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        height: 40vh;
    }

    .contact-hero__title {
        font-size: 36px;
        letter-spacing: 2px;
    }

    .contact-container {
        padding: 40px 15px;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .contact-form__submit {
        padding: 15px 30px;
        font-size: 12px;
    }
}

/* Баннер о бренде */
.about-hero {
    position: relative;
    width: 100%;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.about-hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.about-hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.about-hero__title {
    font-size: 84px;
    margin-bottom: 10px;
    font-weight: 300;
    letter-spacing: 10px;
    text-transform: uppercase;
    font-family: 'Times New Roman', serif;
}

.about-hero__subtitle {
    font-size: 22px;
    margin-bottom: 20px;
    letter-spacing: 4px;
    font-weight: 300;
    opacity: 0.9;
}

.about-hero__divider {
    width: 120px;
    height: 1px;
    background: #bfa16f;
    margin: 30px auto;
    opacity: 0.8;
}

.about-hero__tagline {
    font-size: 16px;
    letter-spacing: 3px;
    font-weight: 300;
    opacity: 0.8;
    font-style: italic;
}

/* Основной контейнер */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

/* Введение */
.about-intro {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-intro__title {
    font-size: 36px;
    margin-bottom: 30px;
    color: #333;
    font-weight: 300;
    letter-spacing: 3px;
    position: relative;
}

    .about-intro__title::after {
        content: "";
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 1px;
        background: #bfa16f;
    }

.about-intro__text {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    text-align: center;
}

/* Сетка контента */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: start;
}

/* История бренда */
.about-story__title {
    font-size: 24px;
    margin-bottom: 25px;
    color: #333;
    font-weight: 400;
    letter-spacing: 2px;
}

.about-story__text {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 40px;
}

.about-milestones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.milestone {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-left: 2px solid #bfa16f;
    transition: all 0.3s ease;
}

    .milestone:hover {
        background: #fafafa;
        transform: translateX(5px);
    }

.milestone__year {
    font-size: 18px;
    font-weight: 600;
    color: #bfa16f;
    margin-bottom: 5px;
}

.milestone__text {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Ценности */
.about-values__title {
    font-size: 24px;
    margin-bottom: 25px;
    color: #333;
    font-weight: 400;
    letter-spacing: 2px;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

    .value-item:hover {
        background: #fafafa;
        transform: translateY(-2px);
    }

.value-item__icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 5px;
}

.value-item__content {
    flex: 1;
}

.value-item__title {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    letter-spacing: 1px;
}

.value-item__description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Цитата основателя */
.founder-quote {
    background: #fafafa;
    padding: 60px 40px;
    margin: 80px 0;
    text-align: center;
    border: 1px solid #f0f0f0;
}

.founder-quote__text {
    font-size: 24px;
    line-height: 1.6;
    color: #333;
    font-style: italic;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

    .founder-quote__text::before,
    .founder-quote__text::after {
        content: '"';
        font-size: 48px;
        color: #bfa16f;
        position: absolute;
        opacity: 0.3;
    }

    .founder-quote__text::before {
        top: -20px;
        left: -40px;
    }

    .founder-quote__text::after {
        bottom: -40px;
        right: -40px;
    }

.founder-quote__author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.founder-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    letter-spacing: 1px;
}

.founder-position {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Галерея */
.about-gallery {
    margin-top: 80px;
}

.about-gallery__title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    font-weight: 300;
    letter-spacing: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item__image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item__image {
    transform: scale(1.05);
}

.gallery-item__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 15px;
    text-align: center;
    font-size: 14px;
    letter-spacing: 1px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item__caption {
    transform: translateY(0);
}

/* Адаптивность */
@media (max-width: 768px) {
    .about-hero {
        height: 60vh;
    }

    .about-hero__title {
        font-size: 48px;
        letter-spacing: 6px;
    }

    .about-hero__subtitle {
        font-size: 18px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-milestones {
        grid-template-columns: 1fr;
    }

    .founder-quote {
        padding: 40px 20px;
    }

    .founder-quote__text {
        font-size: 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about-hero {
        height: 50vh;
    }

    .about-hero__title {
        font-size: 36px;
        letter-spacing: 4px;
    }

    .about-container {
        padding: 60px 15px;
    }

    .value-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* Стили для карусели популярных товаров */
.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 50px;
}

.scroll-indicator {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .scroll-indicator span {
        animation: pulse 2s infinite;
    }

@keyframes pulse {
    0%, 100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

.products-carousel {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 60px;
    margin-bottom: 30px;
}

.products-scroll {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 10px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

    .products-scroll::-webkit-scrollbar {
        display: none; /* Chrome/Safari/Opera */
    }

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

    .carousel-btn:hover {
        background: #bfa16f;
        color: white;
        border-color: #bfa16f;
        transform: translateY(-50%) scale(1.1);
    }

.carousel-btn-prev {
    left: 10px;
}

.carousel-btn-next {
    right: 10px;
}

/* Стили для карточек товаров в карусели */
.featured-products .product-card {
    flex: 0 0 auto;
    width: 280px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
    animation-delay: calc(var(--card-index, 0) * 0.1s);
}

/* Индикаторы (точки) */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .dot.active {
        background: #bfa16f;
    }

    .dot:hover {
        background: #a88c5d;
    }

/* Адаптивность для карусели */
@media (max-width: 768px) {
    .featured-header {
        padding: 0 20px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .products-carousel {
        padding: 0 50px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .carousel-btn-prev {
        left: 5px;
    }

    .carousel-btn-next {
        right: 5px;
    }

    .featured-products .product-card {
        width: 250px;
    }

    .products-scroll {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .products-carousel {
        padding: 0 40px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
        display: none; /* На мобильных можно скрыть кнопки */
    }

    .featured-products .product-card {
        width: 220px;
    }

    .scroll-indicator {
        font-size: 12px;
    }
}
/* Стили для карусели популярных товаров */
.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 50px;
}

.scroll-indicator {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .scroll-indicator span {
        animation: pulse 2s infinite;
    }

@keyframes pulse {
    0%, 100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

.products-carousel {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 60px;
    margin-bottom: 30px;
}

.products-scroll {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 10px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

    .products-scroll::-webkit-scrollbar {
        display: none; /* Chrome/Safari/Opera */
    }

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

    .carousel-btn:hover {
        background: #bfa16f;
        color: white;
        border-color: #bfa16f;
        transform: translateY(-50%) scale(1.1);
    }

.carousel-btn-prev {
    left: 10px;
}

.carousel-btn-next {
    right: 10px;
}

/* Стили для карточек товаров в карусели */
.featured-products .product-card {
    flex: 0 0 auto;
    width: 280px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
    animation-delay: calc(var(--card-index, 0) * 0.1s);
}

/* Индикаторы (точки) */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .dot.active {
        background: #bfa16f;
    }

    .dot:hover {
        background: #a88c5d;
    }

/* Адаптивность для карусели */
@media (max-width: 768px) {
    .featured-header {
        padding: 0 20px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .products-carousel {
        padding: 0 50px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .carousel-btn-prev {
        left: 5px;
    }

    .carousel-btn-next {
        right: 5px;
    }

    .featured-products .product-card {
        width: 250px;
    }

    .products-scroll {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .products-carousel {
        padding: 0 40px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
        display: none; /* На мобильных можно скрыть кнопки */
    }

    .featured-products .product-card {
        width: 220px;
    }

    .scroll-indicator {
        font-size: 12px;
    }
}

/* Стили для карусели популярных товаров */
.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 50px;
}

.scroll-indicator {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .scroll-indicator span {
        animation: pulse 2s infinite;
    }

@keyframes pulse {
    0%, 100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

.products-carousel {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 60px;
    margin-bottom: 30px;
}

.products-scroll {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 10px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

    .products-scroll::-webkit-scrollbar {
        display: none; /* Chrome/Safari/Opera */
    }

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

    .carousel-btn:hover {
        background: #bfa16f;
        color: white;
        border-color: #bfa16f;
        transform: translateY(-50%) scale(1.1);
    }

.carousel-btn-prev {
    left: 10px;
}

.carousel-btn-next {
    right: 10px;
}

/* Стили для карточек товаров в карусели */
.featured-products .product-card {
    flex: 0 0 auto;
    width: 280px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
    animation-delay: calc(var(--card-index, 0) * 0.1s);
}

/* Индикаторы (точки) */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .dot.active {
        background: #bfa16f;
    }

    .dot:hover {
        background: #a88c5d;
    }

/* Адаптивность для карусели */
@media (max-width: 768px) {
    .featured-header {
        padding: 0 20px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .products-carousel {
        padding: 0 50px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .carousel-btn-prev {
        left: 5px;
    }

    .carousel-btn-next {
        right: 5px;
    }

    .featured-products .product-card {
        width: 250px;
    }

    .products-scroll {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .products-carousel {
        padding: 0 40px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
        display: none; /* На мобильных можно скрыть кнопки */
    }

    .featured-products .product-card {
        width: 220px;
    }

    .scroll-indicator {
        font-size: 12px;
    }
}

/* Пагинация и загрузка */
.load-more-btn {
    display: block;
    margin: 40px auto;
    padding: 15px 40px;
    background-color: #bfa16f;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

    .load-more-btn:hover {
        background-color: #a88c5d;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(191, 161, 111, 0.3);
    }

/* Адаптивная сетка товаров */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Для лучшего отображения на больших экранах */
@media (min-width: 1400px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* Футер */
.footer {
    background: #111;
    color: #fff;
    padding: 80px 0 30px;
    margin-top: 100px;
    border-top: 1px solid #bfa16f;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Основная часть футера */
.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 4px;
    font-family: 'Times New Roman', serif;
    color: #bfa16f;
    margin-bottom: 10px;
}

.footer-tagline {
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

    .social-link:hover {
        background: #bfa16f;
        transform: translateY(-3px);
    }

.social-icon {
    font-size: 18px;
}

/* Колонки ссылок */
.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.links-column {
    display: flex;
    flex-direction: column;
}

.links-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
    color: #fff;
    letter-spacing: 1px;
}

.links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .links-list li {
        margin-bottom: 12px;
    }

.footer-link {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

    .footer-link:hover {
        color: #bfa16f;
        transform: translateX(5px);
    }

/* Контактная информация */
.footer-contact {
    display: flex;
    flex-direction: column;
}

.contact-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
    color: #fff;
    letter-spacing: 1px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    font-size: 18px;
    margin-top: 2px;
    opacity: 0.8;
}

.contact-text {
    font-size: 14px;
    color: #fff;
    margin-bottom: 3px;
}

.contact-note {
    font-size: 12px;
    color: #888;
}

/* Карта */
.footer-map {
    margin-bottom: 50px;
}

.map-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
    color: #fff;
    letter-spacing: 1px;
    text-align: center;
}

.map-container {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid #333;
}

.map-placeholder {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #222 0%, #1a1a1a 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-point {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.map-pin {
    font-size: 48px;
    animation: pulse 2s infinite;
    filter: drop-shadow(0 0 10px rgba(191, 161, 111, 0.3));
}

.map-tooltip {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #bfa16f;
    color: #111;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
    animation-delay: 1s;
}

    .map-tooltip::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid #bfa16f;
    }

.map-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, #333 1px, transparent 1px), linear-gradient(to bottom, #333 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.2;
}

.map-street {
    position: absolute;
    color: #666;
    font-size: 12px;
    font-style: italic;
}

    .map-street:nth-child(1) {
        top: 30%;
        left: 20%;
    }

    .map-street:nth-child(2) {
        top: 60%;
        left: 60%;
    }

    .map-street:nth-child(3) {
        top: 20%;
        right: 20%;
    }

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Нижняя часть футера */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: #888;
    font-size: 14px;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-link {
    color: #aaa;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

    .legal-link:hover {
        color: #bfa16f;
    }

.legal-separator {
    color: #666;
    font-size: 10px;
}

.footer-payment {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-icon {
    font-size: 20px;
    opacity: 0.8;
}

.payment-text {
    color: #888;
    font-size: 12px;
    margin-left: 5px;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .map-container {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 20px;
    }

    .footer-main {
        gap: 30px;
        margin-bottom: 40px;
        padding-bottom: 30px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-legal {
        order: 2;
    }

    .footer-payment {
        order: 3;
    }

    .map-container {
        padding: 20px;
    }

    .map-placeholder {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 15px;
    }

    .footer-logo {
        font-size: 28px !important;
        font-weight: bold !important;
        letter-spacing: 2px !important;
        font-family: inherit !important;
        color: inherit !important;
        margin-bottom: 10px;
    }

    .map-placeholder {
        height: 200px;
    }

    .map-pin {
        font-size: 36px;
    }
}

/* Галерея "Атмосфера RICHERRY" */
.about-gallery {
    margin-top: 80px;
}

.about-gallery__title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    font-weight: 300;
    letter-spacing: 2px;
    position: relative;
}

    .about-gallery__title::after {
        content: "";
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 1px;
        background: #bfa16f;
    }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.4s ease;
    aspect-ratio: 1/1; /* Квадратные фото */
    background: #f5f5f5;
}

    .gallery-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    }

.gallery-item__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-item__image {
    transform: scale(1.05);
}

.gallery-item__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    letter-spacing: 1px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-item__caption {
    transform: translateY(0);
}

/* Индикатор клика */
.gallery-item::after {
    content: "🔍";
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Модальное окно галереи - НОВЫЙ СТИЛЬ */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

    .gallery-modal.active {
        display: flex;
        opacity: 1;
    }

.modal-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: modalAppear 0.5s ease;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

    .modal-close:hover {
        background: #bfa16f;
        border-color: #bfa16f;
        transform: rotate(90deg);
    }

.modal-image-container {
    position: relative;
    width: 100%;
    height: 70vh;
    max-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    pointer-events: none;
}

.modal-prev,
.modal-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

    .modal-prev:hover,
    .modal-next:hover {
        background: #bfa16f;
        border-color: #bfa16f;
        transform: scale(1.1);
    }

.modal-info {
    padding: 30px 40px;
    background: rgba(17, 17, 17, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 300;
    letter-spacing: 1px;
}

.modal-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 800px;
}

.modal-counter {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.modal-counter-dots {
    display: flex;
    gap: 8px;
}

.modal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

    .modal-dot.active {
        background: #bfa16f;
        transform: scale(1.2);
    }

/* Эффект загрузки */
.modal-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #bfa16f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Адаптивность для галереи */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .modal-content {
        max-width: 95%;
    }

    .modal-image-container {
        height: 60vh;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        gap: 15px;
    }

    .about-gallery__title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .modal-content {
        max-width: 100%;
        margin: 10px;
        border-radius: 15px;
    }

    .modal-image-container {
        height: 50vh;
    }

    .modal-image {
        max-width: 95%;
    }

    .modal-nav {
        padding: 0 15px;
    }

    .modal-prev,
    .modal-next {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }

    .modal-info {
        padding: 20px 25px;
    }

    .modal-title {
        font-size: 20px;
    }

    .modal-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .about-gallery {
        margin-top: 60px;
    }

    .gallery-grid {
        padding: 0 10px;
    }

    .gallery-item {
        aspect-ratio: 4/3; /* Более широкие фото на мобильных */
    }

    .modal-image-container {
        height: 40vh;
    }

    .modal-nav {
        padding: 0 10px;
    }

    .modal-prev,
    .modal-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .modal-close {
        width: 40px;
        height: 40px;
        font-size: 24px;
        top: 15px;
        right: 15px;
    }

    .modal-info {
        padding: 15px 20px;
    }
}
/* Иконки в хедере */
.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-icon, .cart-icon {
    cursor: pointer;
    font-size: 20px;
    position: relative;
    padding: 5px;
    transition: all 0.3s ease;
}

    .user-icon:hover, .cart-icon:hover {
        transform: scale(1.1);
    }

    .cart-icon .cart-count {
        background-color: #bfa16f;
        color: #fff;
        font-size: 12px;
        padding: 2px 6px;
        border-radius: 50%;
        position: absolute;
        top: -8px;
        right: -10px;
    }

/* Общие стили для модальных окон */
.auth-modal,
.account-modal,
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: none;
}

    .auth-modal.active,
    .account-modal.active,
    .admin-modal.active,
    .modal-overlay.active {
        display: flex;
    }

.auth-content,
.account-content,
.admin-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

.admin-content {
    max-width: 800px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-close,
.account-close,
.admin-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 1;
}

/* Стили форм авторизации */
.auth-form {
    padding: 40px;
    display: none;
}

    .auth-form.active {
        display: block;
    }

    .auth-form h2 {
        text-align: center;
        margin-bottom: 30px;
        color: #111;
    }

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.auth-tab {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .auth-tab.active {
        border-bottom-color: #bfa16f;
        color: #bfa16f;
    }

.form-group {
    margin-bottom: 20px;
}

    .form-group input {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 14px;
    }

        .form-group input:focus {
            outline: none;
            border-color: #bfa16f;
        }

.auth-btn {
    width: 100%;
    padding: 15px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .auth-btn:hover {
        background: #bfa16f;
    }

.auth-btn-admin {
    background: #bfa16f;
}

    .auth-btn-admin:hover {
        background: #a88c5d;
    }

/* Личный кабинет */
.account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px 0;
    margin-bottom: 30px;
}

    .account-header h2 {
        margin: 0;
    }

.logout-btn {
    padding: 8px 20px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
}

.account-info {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 40px;
    margin-bottom: 30px;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.user-details h3 {
    margin: 0 0 5px;
}

.user-details p {
    margin: 0 0 5px;
    color: #666;
    font-size: 14px;
}

.account-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 0 40px;
}

.account-tab {
    padding: 15px 25px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .account-tab.active {
        border-bottom-color: #bfa16f;
        color: #bfa16f;
    }

.account-tab-content {
    padding: 30px 40px;
}

.tab-pane {
    display: none;
}

    .tab-pane.active {
        display: block;
    }

.favorites-list {
    display: grid;
    gap: 20px;
}

.favorite-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
}

    .favorite-item img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 6px;
    }

.favorite-info h4 {
    margin: 0 0 5px;
}

.remove-favorite {
    margin-left: auto;
    padding: 5px 10px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.save-btn {
    padding: 12px 30px;
    background: #111;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* Админ-панель */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px 0;
    margin-bottom: 30px;
}

.admin-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 0 40px;
}

.admin-tab {
    padding: 15px 25px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
}

    .admin-tab.active {
        border-bottom-color: #bfa16f;
        color: #bfa16f;
    }

.admin-tab-content {
    padding: 30px 40px;
}

.admin-pane {
    display: none;
}

    .admin-pane.active {
        display: block;
    }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.admin-btn {
    padding: 15px 40px;
    background: #bfa16f;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

/* Список товаров в админке */
.products-admin-list {
    display: grid;
    gap: 15px;
}

.admin-product-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
}

    .admin-product-item img {
        width: 60px;
        height: 60px;
        object-fit: cover;
        border-radius: 4px;
    }

.admin-product-actions {
    margin-left: auto;
    display: flex;
    gap: 10px;
}

.edit-btn,
.delete-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.edit-btn {
    background: #bfa16f;
    color: white;
}

.delete-btn {
    background: #ff4444;
    color: white;
}

/* Адаптивность */
@media (max-width: 768px) {
    .auth-content,
    .account-content {
        max-width: 95%;
    }

    .admin-content {
        max-width: 95%;
        max-height: 95vh;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .account-tabs,
    .admin-tabs {
        overflow-x: auto;
        white-space: nowrap;
        padding: 0 20px;
    }

    .account-header,
    .admin-header {
        padding: 20px 20px 0;
    }

    .account-tab-content,
    .admin-tab-content {
        padding: 20px;
    }
}
/* ===== МОДАЛЬНОЕ ОКНО ТОВАРА ===== */
.product-modal {
    position: fixed;
    inset: 0;
    z-index: 15000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    .product-modal.active {
        display: flex;
    }

.product-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
}

.product-modal__content {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 960px;
    max-height: 92vh;
    overflow-y: auto;
    z-index: 1;
    animation: pmSlideIn 0.4s ease;
}

@keyframes pmSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    background: none;
    border: 1px solid #ddd;
    font-size: 22px;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: #333;
}

    .product-modal__close:hover {
        background: #111;
        color: #fff;
        border-color: #111;
    }

.product-modal__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.product-modal__gallery {
    overflow: hidden;
    max-height: 600px;
}

.product-modal__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
    display: block;
    transition: transform 0.5s ease;
}

    .product-modal__image:hover {
        transform: scale(1.03);
    }

.product-modal__info {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-left: 1px solid #f0f0f0;
}

.pm-collection {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #bfa16f;
    margin: 0;
}

.pm-name {
    font-size: 28px;
    font-weight: 400;
    color: #111;
    line-height: 1.2;
    margin: 0;
    letter-spacing: 1px;
}

.pm-sku {
    font-size: 11px;
    color: #aaa;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.pm-price {
    font-size: 24px;
    color: #111;
    font-weight: 300;
    letter-spacing: 1px;
    margin: 0;
}

.pm-divider {
    width: 40px;
    height: 1px;
    background: #bfa16f;
    margin: 4px 0;
}

.pm-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.pm-characteristics {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    padding: 16px 0;
}

.pm-char-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

    .pm-char-item span:first-child {
        color: #999;
    }

    .pm-char-item span:last-child {
        color: #111;
        font-weight: 500;
    }

.pm-sizes {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pm-size-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: none;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 1px;
}

    .pm-size-btn:hover,
    .pm-size-btn.active {
        border-color: #111;
        background: #111;
        color: #fff;
    }

.pm-actions {
    display: flex;
    gap: 10px;
}

.pm-btn-cart {
    flex: 1;
    padding: 15px;
    background: #111;
    color: #fff;
    border: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}

    .pm-btn-cart:hover {
        background: #bfa16f;
    }

.pm-btn-fav {
    width: 52px;
    height: 52px;
    border: 1px solid #ddd;
    background: none;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

    .pm-btn-fav:hover,
    .pm-btn-fav.active {
        border-color: #c0392b;
        color: #c0392b;
    }

.pm-fullpage-link {
    font-size: 12px;
    color: #999;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.2s;
    display: inline-block;
}

    .pm-fullpage-link:hover {
        color: #bfa16f;
    }

@media (max-width: 768px) {
    .product-modal__body {
        grid-template-columns: 1fr;
    }

    .product-modal__image {
        min-height: 300px;
    }

    .product-modal__info {
        padding: 30px 20px;
    }
}
/* ===== ИЗБРАННОЕ ===== */
.fav-count {
    background: #c0392b;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 50%;
    margin-left: 2px;
}

.favorites-panel {
    position: fixed;
    top: 0;
    right: -420px;
    width: 380px;
    height: 100vh;
    background: #fff;
    border-left: 1px solid #eee;
    box-shadow: -5px 0 20px rgba(0,0,0,0.08);
    z-index: 10001;
    transition: right 0.35s ease;
    display: flex;
    flex-direction: column;
}

    .favorites-panel.active {
        right: 0;
    }

.favorites-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 24px 20px;
    border-bottom: 1px solid #f0f0f0;
}

    .favorites-panel__header h3 {
        font-size: 20px;
        font-weight: 400;
        letter-spacing: 3px;
        text-transform: uppercase;
    }

.close-favorites {
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
    line-height: 1;
}

    .close-favorites:hover {
        color: #111;
    }

.favorites-panel__list {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.favorites-empty {
    text-align: center;
    color: #aaa;
    padding: 60px 20px;
    font-style: italic;
    font-size: 14px;
    letter-spacing: 1px;
}

.fav-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border: 1px solid #f0f0f0;
    transition: box-shadow 0.2s;
}

    .fav-item:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.07);
    }

    .fav-item img {
        width: 80px;
        height: 80px;
        object-fit: cover;
    }

.fav-item__info {
    flex: 1;
}

.fav-item__name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.fav-item__price {
    font-size: 14px;
    color: #bfa16f;
}

.fav-item__remove {
    background: none;
    border: none;
    font-size: 20px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
    padding: 4px;
}

    .fav-item__remove:hover {
        color: #c0392b;
    }
/* ===== ПОИСК ===== */
.search-bar {
    position: relative;
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border: 1px solid #eee;
    border-radius: 2px;
    padding: 0 8px 0 16px;
    transition: all 0.3s;
    width: 260px;
}

    .search-bar:focus-within {
        border-color: #bfa16f;
        background: #fff;
        box-shadow: 0 0 0 3px rgba(191,161,111,0.1);
    }

#search-input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: #333;
    width: 200px;
    padding: 10px 0;
    letter-spacing: 0.5px;
}

    #search-input::placeholder {
        color: #bbb;
    }

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 8px;
    color: #999;
    transition: color 0.2s;
}

    .search-btn:hover {
        color: #bfa16f;
    }

.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 2000;
    display: none;
    max-height: 360px;
    overflow-y: auto;
}

    .search-results.active {
        display: block;
    }

.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid #f5f5f5;
}

    .search-result-item:hover {
        background: #fafafa;
    }

    .search-result-item img {
        width: 52px;
        height: 52px;
        object-fit: cover;
    }

.search-result-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 3px;
    letter-spacing: 0.5px;
}

.search-result-price {
    font-size: 13px;
    color: #bfa16f;
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: #aaa;
    font-size: 14px;
    font-style: italic;
}
.auth-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}
.auth-modal.active {
    display: flex;
}
.auth-content {
    background: #fff;
    padding: 40px;
    width: 420px;
    max-width: 90vw;
    position: relative;
    box-sizing: border-box;
}
.auth-content h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 300;
    font-size: 28px;
    letter-spacing: 0.15em;
    color: #111;
    margin-bottom: 24px;
    text-align: center;
}
.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 28px;
    border-bottom: 1px solid #e5e2db;
}
.auth-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 10px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #aaa;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.3s, border-color 0.3s;
}
.auth-tab.active {
    color: #111;
    border-bottom-color: #bfa16f;
}
.auth-form { display: none; }
.auth-form.active { display: block; }
.auth-form .form-group {
    margin-bottom: 16px;
}
.auth-form .form-group input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #e5e2db;
    padding: 10px 0;
    font-size: 13px;
    color: #111;
    background: transparent;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s;
}
.auth-form .form-group input:focus {
    border-bottom-color: #bfa16f;
}
.auth-btn {
    width: 100%;
    background: #111;
    color: #fff;
    border: none;
    padding: 14px;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.3s;
}
.auth-btn:hover { background: #bfa16f; }
.auth-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #aaa;
    line-height: 1;
}
.auth-close:hover { color: #111; }
#modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
}
#modal-overlay.active { display: block; }