body {
    background-color: white;
}

/* ===== VARIABLES ===== */
:root {
    --bg-body: #FDF5E6;
    --bg-card: #FFFFFF;
    --bg-secondary: #D4C0A0;
    --text-primary: #4E342E;
    --text-muted: #8B7355;
    --accent: #C17A5A;
    --button-bg: #4E342E;
    --white: #FFFFFF;
    --shadow: rgba(47, 37, 32, 0.1);
    --shadow-hover: rgba(47, 37, 32, 0.2);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Comfortaa', sans-serif;
    color: var(--text-primary);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--bg-body);
    background-image: url('images/background.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

h1, h2, h3, h4 {
    font-family: 'Comfortaa', sans-serif;
    font-weight: 700;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

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

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px 0;
    background: var(--button-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--accent);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Comfortaa', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
}

.nav-menu {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-menu a {
    font-family: 'Comfortaa', sans-serif; /* Явное наследование шрифта */
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
    color: var(--white);
}

.nav-menu a:hover {
    opacity: 1;
    color: var(--accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    display: flex;
    gap: 6px;
    background: var(--bg-secondary);
    padding: 4px;
    border-radius: 20px;
}

.lang-btn {
    padding: 6px 14px;
    border-radius: 18px;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.6;
    transition: 0.3s ease;
    color: var(--text-primary);
    font-family: 'Comfortaa', sans-serif;
}

.lang-btn.active {
    background: var(--white);
    opacity: 1;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.mobile-toggle span {
    width: 24px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
}

/* ===== HERO (теперь только фон) ===== */
.hero {
    min-height: 60vh; /* Уменьшили, так как контента нет */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0 20px;
    /* Можно оставить для визуала, но без картинки */
}

.hero-content {
    text-align: center;
}

/* ===== ABOUT (с перенесённым контентом) ===== */
.about {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    margin: 40px 24px;
    padding: 60px 40px !important;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 40px var(--shadow);
    border: 4px solid var(--white);
}

.about-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.about-text h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.about-text p {
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--accent);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--white);
}

.hero-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: 8px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tag {
    padding: 8px 16px;
    background: var(--bg-secondary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.gallery-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.gallery-links a {
    display: inline-block;
    padding: 8px 20px;
    background: var(--bg-secondary);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: 0.3s ease;
}

.gallery-links a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== GALLERY SLIDER ===== */
#galleryContainer {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    cursor: grab;
}

#galleryContainer:active {
    cursor: grabbing;
}

#galleryTrack {
    display: flex;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 10px;
    will-change: transform;
}

.gallery-slide {
    flex: 0 0 auto;
    width: 300px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: #1a1a1a;
    cursor: pointer !important; /* весь слайд кликабельный */
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.gallery-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.slide-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Название категории внизу, красиво */
.slide-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    padding: 8px 18px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    pointer-events: none; /* клик проходит сквозь на слайд */
    text-align: center;
    z-index: 2;
    white-space: nowrap;
    transition: background 0.3s ease, transform 0.3s ease;
}

.gallery-slide:hover .slide-label {
    background: rgba(0, 0, 0, 0.8);
    transform: translateX(-50%) scale(1.05);
}

/* Убираем overlay, кнопки, категории — они больше не нужны */
.slide-overlay, .slide-btn, .slide-category {
    display: none !important;
}

/* Удаляем курсор grab у контейнера (он не нужен) */
#galleryContainer {
    cursor: default;
}
#galleryContainer:active {
    cursor: default;
}


.gallery-slide:hover .slide-title {
    opacity: 1;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.gallery-nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav-btn.hidden {
    display: none;
}

#galleryPrev { left: 10px; }
#galleryNext { right: 10px; }

/* ===== PRICING & PRODUCT SHOWCASE ===== */
.pricing {
    background: rgba(255, 255, 255, 0.35); /* полупрозрачный белый */
    backdrop-filter: blur(5px);          /* блюрим фон за карточкой */
    -webkit-backdrop-filter: blur(14px);
    border-radius: var(--radius-lg);
    max-width: 1100px;
    width: 100%;
    margin: 40px auto;                    /* отступы по вертикали, по горизонтали авто */
    padding: 30px 24px !important;        /* уменьшили верхний отступ с 60px до 30px, боковые с 40px до 24px */
    border: 1px solid rgba(255, 255, 255, 0.3); /* лёгкая рамка для красоты */
    box-sizing: border-box;
}

.pricing-category {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px var(--shadow);
}

.pricing-notice-wrapper {
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 30px;
    padding: 16px 32px;
    margin: 0 auto 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.pricing-notice {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
    font-weight: 500;
}

.pricing-notice.nsfw {
    color: var(--accent);
    font-weight: 600;
    margin-top: 4px;
}

.category-title {
    font-size: 1.7rem;
    margin-bottom: 24px;
    color: var(--text-primary);
    padding-bottom: 16px;
    border-bottom: 2px dashed var(--accent);
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--accent);
}

.product-showcase {
    display: flex;
    gap: 30px;
    align-items: stretch;
    margin-bottom: 20px;
}

.showcase-slider {
    flex: 1;
    min-width: 0;
    position: relative;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 3px solid var(--white);
    display: flex;
    align-items: center;
}

.slider-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

.slide-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    cursor: pointer;
}

.slide-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-primary);
    transition: all 0.2s;
    box-shadow: 0 2px 10px var(--shadow);
}

.slider-nav:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.hidden {
    display: none;
}

.slider-nav.prev { left: 10px; }
.slider-nav.next { right: 10px; }

.showcase-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.showcase-info h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.showcase-info p {
    color: var(--text-muted);
    font-size: 1.35rem;
    line-height: 1.6;
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--button-bg);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--white);
}

.price-row span:first-child {
    font-weight: 500;
}

.price-amount {
    font-family: 'Comfortaa', sans-serif;
    font-weight: 600;
    color: var(--white);
}

.pricing-image-banner {
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 20px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-image-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px var(--shadow-hover);
}

.pricing-image-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.pricing-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.pricing-list.compact {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.price-item {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    transition: 0.3s ease;
}

.price-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px var(--shadow);
}

.price-img {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    border: 3px solid var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px var(--shadow);
}

.price-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.price-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    font-size: 0.65rem;
    font-weight: 600;
    text-align: center;
    padding: 4px;
    color: var(--text-primary);
}

.price-value {
    flex-grow: 1;
    text-align: right;
}

.price-item .price-amount {
    color: var(--text-primary);
}

.price-item-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    transition: 0.3s ease;
}

.price-item-compact:hover {
    background: var(--bg-card);
}

.price-name {
    font-weight: 500;
}

.price-item-compact .price-amount {
    font-size: 1.2rem;
}

.bg-option {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed var(--accent);
    font-size: 1.35rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    font-weight: 500;
}

.bg-option span {
    padding: 4px 0;
}

/* Payment Info */
.payment-info {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    margin-top: 40px;
}

.payment-info h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.payment-info p {
    margin-bottom: 10px;
}

.payment-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
}

.payment-link:hover {
    color: var(--text-primary);
}

/* ===== CONTACT ===== */
.contact {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    margin: 40px 24px;
    padding: 50px 40px !important;
}

.contact-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.contact-content h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.contact-email {
    font-family: 'Comfortaa', sans-serif;
    font-size: 1.3rem;
    color: var(--text-primary);
    margin: 20px 0;
    display: block;
}

.contact-email:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 24px 0;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-secondary);
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: 0.3s ease;
    color: var(--text-primary);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.social-link:hover {
    background: var(--button-bg);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===== FOOTER ===== */
.footer {
    padding: 30px 0;
    text-align: center;
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== КНОПКА НАВЕРХ ===== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 900;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--button-bg);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.scroll-to-top svg {
    width: 28px;
    height: 28px;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.96);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 95%;
    max-height: 90vh;
    border-radius: var(--radius-md);
    transition: transform 0.1s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: var(--white);
    cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-card);
        flex-direction: column;
        padding: 30px 24px;
        gap: 20px;
        transform: translateY(-150%);
        transition: transform 0.4s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .mobile-toggle {
        display: flex;
    }

    .about-content,
    .product-showcase {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .showcase-slider {
        order: 1;
        height: 250px;
    }
    
    .showcase-info {
        order: 2;
    }

    .about, .pricing, .contact {
        margin: 20px 16px;
        padding: 40px 24px !important;
    }

    .hero {
        min-height: 20vh;
        padding: 80px 0 10px;
    }

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

    .pricing-list {
        grid-template-columns: 1fr;
    }

    .price-item {
        flex-direction: column;
        text-align: center;
    }

    .price-value {
        text-align: center;
    }

    .bg-option {
        flex-direction: column;
        gap: 10px;
    }

    .pricing-image-banner {
        height: auto;
        min-height: 150px;
    }

    .social-link {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .social-link svg {
        width: 16px;
        height: 16px;
    }
    
    .gallery-slide {
        width: 260px;
        height: 340px;
    }
    .gallery-nav-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
    
    .scroll-to-top svg {
        width: 24px;
        height: 24px;
    }
}