:root {
    --primary-color: #000;
    --secondary-color: #fff;
    --accent-color: #5ba45b;
    --text-color: #333;
    --bg-color: #fff;
    --section-bg: #f9f9f9;
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header__container {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo__img {
    height: 50px;
    width: auto;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav__link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
}

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

.header__socials {
    display: flex;
    gap: 15px;
}

.social-link img {
    width: 24px;
    height: 24px;
    transition: var(--transition);
}

.social-link:hover img {
    transform: translateY(-3px);
}

/* Hero */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero__title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero__subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
}

.btn-tiktok {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-tiktok:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 0, 80, 0.2);
}

.btn-tiktok__icon {
    width: 20px;
    filter: invert(1);
}

.main-photo {
    border-radius: 20px;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}

/* About */
.about {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.about__container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 80px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 30px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.about__text {
    font-size: 18px;
    color: #555;
    max-width: 600px;
}

/* Catalog */
.catalog {
    padding: 100px 0;
    background-color: var(--section-bg);
}

.catalog__title {
    margin-bottom: 60px;
    text-align: center;
}

.catalog__title::after {
    left: 50%;
    transform: translateX(-50%);
}

.catalog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--secondary-color);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.product-card__image {
    height: 350px;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-card__info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 350px); /* Adjust based on image height */
}

.product-card__name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--primary-color);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.2;
}

.product-card__size {
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
}

.product-card__size span {
    color: var(--text-color);
    font-weight: 500;
}

.product-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-card__price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-order {
    text-decoration: none;
    background-color: var(--accent-color);
    color: #fff;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-order:hover {
    filter: brightness(0.9);
    transform: translateY(-2px);
}

/* FAQ */
.faq {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.faq__title {
    text-align: center;
    margin-bottom: 60px;
}

.faq__title::after {
    left: 50%;
    transform: translateX(-50%);
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 10px;
}

.faq__header {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq__header:hover .faq__question {
    color: var(--accent-color);
}

.faq__question {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq__icon {
    width: 20px;
    height: 20px;
    position: relative;
    transition: var(--transition);
}

.faq__icon::before,
.faq__icon::after {
    content: '';
    position: absolute;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Horizontal line */
.faq__icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

/* Vertical line */
.faq__icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.faq__item._active .faq__icon {
    transform: rotate(45deg);
}

.faq__item._active .faq__icon::before,
.faq__item._active .faq__icon::after {
    background-color: var(--accent-color);
}

.faq__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq__item._active .faq__content {
    max-height: 1000px;
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

.faq__content p {
    padding-bottom: 20px;
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

/* Contacts */
.contacts {
    padding: 100px 0;
    background-color: var(--section-bg);
}

.contacts__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contacts__descr {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.contacts__list {
    list-style: none;
    margin-bottom: 40px;
}

.contacts__item {
    margin-bottom: 20px;
    font-size: 18px;
}

.contacts__item strong {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 5px;
}

.contacts__item a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.contacts__item a:hover {
    color: var(--accent-color);
}

.contacts__socials p {
    font-size: 14px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 15px;
}

/* Form */
.contacts__form-wrapper {
    background-color: var(--secondary-color);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.form-title {
    font-size: 24px;
    margin-bottom: 5px;
}

.form-subtitle {
    color: #888;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    filter: brightness(0.9);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background-color: var(--primary-color);
    color: #fff;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer .logo__img {
    filter: brightness(0) invert(1);
}

.footer .nav__link {
    color: rgba(255,255,255,0.7);
}

.footer .nav__link:hover {
    color: #fff;
}

.footer__bottom {
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.footer__links {
    display: flex;
    gap: 20px;
}

.footer__links a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.footer__links a:hover {
    color: #fff;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal._active {
    display: flex;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}

.modal__content {
    position: relative;
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    transform: translateY(20px);
    transition: var(--transition);
}

.modal._active .modal__content {
    transform: translateY(0);
}

.modal__close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #999;
    transition: var(--transition);
}

.modal__close:hover {
    color: var(--primary-color);
}

.modal__title {
    font-size: 24px;
    margin-bottom: 10px;
}

.modal__text {
    color: #666;
    margin-bottom: 30px;
}

.modal__buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-messenger {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    color: #fff;
    transition: var(--transition);
}

.btn-messenger img {
    width: 40px;
    height: 40px;
}

.btn-messenger.viber {
    background-color: #7360f2;
}

.btn-messenger.viber:hover {
    background-color: #5e4bd9;
    transform: translateY(-5px);
}

.btn-messenger.telegram {
    background-color: #0088cc;
}

.btn-messenger.telegram:hover {
    background-color: #0077b5;
    transform: translateY(-5px);
}

/* Legal Modals */
.modal--legal .modal__content {
    max-width: 800px;
    text-align: left;
}

.modal__legal-text {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 15px;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

.modal__legal-text h4 {
    margin: 20px 0 10px;
    color: var(--primary-color);
}

.modal__legal-text p {
    margin-bottom: 15px;
}

.modal__legal-text ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

/* Scrollbar for legal text */
.modal__legal-text::-webkit-scrollbar {
    width: 6px;
}

.modal__legal-text::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.modal__legal-text::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.modal__legal-text::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Burger Menu (Hidden for now) */
@media (max-width: 768px) {
    .contacts__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer__top {
        flex-direction: column;
        gap: 30px;
    }
    .footer__bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
@media (max-width: 992px) {
    .hero__title {
        font-size: 48px;
    }

    .hero__container,
    .about__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__content {
        order: 1;
    }

    .hero__image {
        order: 2;
    }

    .about__image {
        order: 2;
    }

    .about__content {
        order: 1;
    }

    .about__text {
        margin: 0 auto;
    }

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

    .nav {
        display: none;
    }
}

body._lock {
    overflow: hidden;
}
