/* --- ГЛОБАЛЬНЫЕ СТИЛИ --- */
:root {
    --color-pink: #FF66A1;
    --color-pink-hover: #e0558a;
    --color-pink-light: #FFEFF6;
    --color-text-main: #333333;
    --color-text-light: #777777;
    --color-white: #FFFFFF;
    --color-bg-light: #FBFBFF;
    --color-border: #EEEEEE;
    
    --font-main: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--color-text-main);
    font-size: 14px;
    line-height: 1.5;
    background-color: var(--color-white);
    overflow-x: hidden; /* Чтобы декоративные элементы за краем не создавали скролл */
}

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

ul {
    list-style: none;
}

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: var(--font-main);
    transition: all 0.3s;
}

.input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 13px;
    background-color: var(--color-white);
}

.input:focus {
    outline: none;
    border-color: var(--color-pink);
}

/* --- КОМПОНЕНТЫ --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container--small {
    max-width: 800px;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s, color 0.3s, transform 0.2s;
}

.btn:active {
    transform: translateY(1px);
}

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

.btn--primary:hover {
    background-color: var(--color-pink-hover);
}

.btn--header {
    background-color: var(--color-pink);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: 20px;
}

.btn--secondary {
    background-color: var(--color-white);
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
}

.btn--secondary:hover {
    background-color: #f9f9f9;
}

.btn--small {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
}

.btn--full {
    width: 100%;
}

.arrow-right {
    margin-left: 8px;
}

/* Заголовки */
.section-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
}

.text-center {
    text-center: center;
}

/* Беджи */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge--popular {
    background-color: var(--color-pink-light);
    color: var(--color-pink);
    margin-left: 15px;
}

/* --- HEADER --- */
.header {
    padding: 15px 0;
    border-bottom: 1px solid var(--color-border);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo__img {
    height: 30px;
    margin-right: 10px;
}

.logo__text {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-main);
}

.logo__text span {
    font-weight: 400;
    display: block;
    font-size: 10px;
    color: var(--color-text-light);
}

.menu__list {
    display: flex;
    gap: 25px;
}

.menu__link {
    font-weight: 500;
}

.menu__link:hover {
    color: var(--color-pink);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.action-btn {
    font-size: 20px;
    position: relative;
    color: var(--color-text-main);
}

.cart-btn {
    display: flex;
    align-items: center;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--color-pink);
    color: var(--color-white);
    font-size: 10px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- HERO SECTION --- */
.hero {
    background: radial-gradient(circle at 70% 30%, #fff0f6 0%, #ffffff 60%);
    padding: 80px 0;
    position: relative;
}

.hero__container {
    position: relative;
}

.hero__inner {
    display: flex;
    align-items: center;
}

.hero__content {
    flex: 0 0 50%;
    z-index: 2;
}

.hero__title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero__title .highlight {
    color: var(--color-pink);
}

.hero__text {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero__btns {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.icon-play {
    color: var(--color-pink);
    margin-right: 8px;
    font-size: 12px;
}

.hero__advantages {
    display: flex;
    gap: 30px;
}

.adv-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.adv-icon {
    font-size: 24px;
}

.adv-title {
    display: block;
    font-weight: 600;
    font-size: 13px;
}

.adv-desc {
    display: block;
    font-size: 12px;
    color: var(--color-text-light);
}

.hero__image-wrapper {
    flex: 0 0 50%;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.hero__main-img {
    max-width: 100%;
    width: 550px; /* Примерный размер */
    margin-right: -50px;
}

.clients-badge {
    position: absolute;
    bottom: 40px;
    right: 20px;
    background-color: var(--color-white);
    padding: 10px 15px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
}

.clients-avatars {
    display: flex;
}

.clients-avatars img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--color-white);
    margin-left: -10px;
}

.clients-avatars img:first-child {
    margin-left: 0;
}

.clients-text .count {
    display: block;
    font-weight: 700;
    font-size: 13px;
}

.clients-text .desc {
    display: block;
    font-size: 11px;
    color: var(--color-text-light);
}

/* Декор CSS */
.decor-heart-1 {
    position: absolute;
    top: 100px;
    right: -20px;
    width: 20px;
    height: 20px;
    background-image: url('images/decor-heart.png'); /* Или SVG */
    background-size: contain;
}

/* --- FEATURED CATEGORIES --- */
.features {
    padding: 60px 0;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background-color: #F8F8FD; /* Светлый серо-голубой фон */
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 180px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card--round .feature-card__img {
    /* Специфический стиль для второй карты (круглое фото) */
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid var(--color-white);
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    object-fit: cover;
}

.feature-card:not(.feature-card--round) .feature-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card__content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 25px;
    background: linear-gradient(90deg, rgba(248,248,253,1) 30%, rgba(248,248,253,0) 80%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.feature-card--round .feature-card__content {
    /* Сдвигаем текст вправо для второй карты */
    left: auto;
    right: 0;
    width: 60%;
    background: none;
    padding-left: 0;
}

.feature-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.feature-card__text {
    font-size: 12px;
    color: var(--color-text-light);
    margin-bottom: 15px;
    max-width: 150px;
}

.feature-card__link {
    display: inline-flex;
    color: var(--color-pink);
    font-size: 18px;
}

/* --- BESTSELLERS --- */
.bestsellers {
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header__left {
    display: flex;
    align-items: center;
}

.section-header .section-title {
    margin-bottom: 0;
}

.see-all {
    color: var(--color-text-light);
    font-weight: 500;
}

.see-all:hover {
    color: var(--color-pink);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.product-card {
    border: 1px solid var(--color-border);
    border-radius: 15px;
    padding: 15px;
    position: relative;
    transition: box-shadow 0.3s;
}

.product-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
}

.product-card__wishlist {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #CCCCCC;
    font-size: 18px;
    z-index: 2;
}

.product-card__wishlist:hover {
    color: var(--color-pink);
}

.product-card__image-hold {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.product-card__image-hold img {
    max-height: 100%;
}

.product-card__title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.product-card__desc {
    font-size: 12px;
    color: var(--color-text-light);
    margin-bottom: 15px;
}

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

.product-card__price {
    font-size: 16px;
    font-weight: 700;
}

/* --- WHY US --- */
.why-us {
    padding: 60px 0;
    background-color: var(--color-bg-light);
}

.why-us__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    text-align: center;
}

.why-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why-icon-wrap {
    width: 60px;
    height: 60px;
    background-color: var(--color-pink-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.why-icon-wrap img {
    height: 30px;
}

.why-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.why-text {
    font-size: 12px;
    color: var(--color-text-light);
    line-height: 1.4;
}

/* --- REVIEWS --- */
.reviews {
    padding: 80px 0;
}

.reviews__slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.review-card {
    border: 1px solid var(--color-border);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    background-color: var(--color-white);
}

.review-card__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 15px;
    object-fit: cover;
}

.review-card__name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
}

.review-card__stars {
    color: #FFC107; /* Gold color for stars */
    font-size: 14px;
    margin-bottom: 15px;
}

.review-card__text {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.6;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: var(--color-border);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: var(--color-pink);
    width: 25px; /* Овальная точка */
    border-radius: 5px;
}

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

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq__item {
    background-color: var(--color-white);
    border-radius: 10px;
    border: 1px solid var(--color-border);
}

.faq__question {
    width: 100%;
    padding: 20px;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    text-align: left;
    color: var(--color-text-main);
}

.faq__icon {
    font-size: 18px;
    margin-right: 15px;
    color: var(--color-pink);
}

.faq__arrow {
    margin-left: auto;
    font-size: 10px;
    color: var(--color-text-light);
    transition: transform 0.3s;
}

/* При активации (с JS) */
/* .faq__item.active .faq__arrow { transform: rotate(180deg); } */
/* .faq__answer { padding: 0 20px 20px; color: var(--color-text-light); font-size: 13px; display: none; } */

/* --- FOOTER --- */
.footer {
    padding: 70px 0 30px;
    border-top: 1px solid var(--color-border);
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer__col--logo .logo {
    margin-bottom: 20px;
}

.footer__tagline {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.socials {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--color-text-light);
    text-transform: uppercase;
    font-weight: 600;
}

.social-link:hover {
    border-color: var(--color-pink);
    color: var(--color-pink);
    background-color: var(--color-pink-light);
}

.footer__title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer__list li {
    margin-bottom: 12px;
}

.footer__list a {
    color: var(--color-text-light);
    font-size: 13px;
}

.footer__list a:hover {
    color: var(--color-pink);
}

.contacts-list li {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--color-text-light);
}

.contacts-list li a {
    color: var(--color-text-main);
    font-weight: 500;
}

.contacts-list .icon-phone,
.contacts-list .icon-mail,
.contacts-list .icon-clock {
    color: var(--color-pink);
    margin-right: 10px;
    font-size: 16px;
}

.footer__form-text {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 15px;
}

.footer-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
    font-size: 12px;
    color: var(--color-text-light);
}

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

.footer__legal a:hover {
    color: var(--color-pink);
}

@media (max-width: 900px) {
    .header__inner {
        gap: 14px;
    }

    .menu__list {
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header__actions .btn--header {
        display: none;
    }

    .hero__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 36px;
    }

    .hero__content,
    .hero__image-wrapper {
        flex: 0 0 auto;
        width: 100%;
    }

    .hero__image-wrapper {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero__main-img {
        width: min(100%, 520px);
        margin-right: 0;
    }

    .features__grid,
    .products-grid,
    .why-us__grid,
    .reviews__slider,
    .footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }

    .header__inner {
        justify-content: flex-start;
    }

    .menu,
    .header__actions {
        display: none;
    }

    .hero {
        padding: 56px 0;
    }

    .hero__title {
        font-size: clamp(36px, 12vw, 48px);
        line-height: 1.18;
    }

    .hero__text {
        font-size: 15px;
    }

    .hero__btns {
        width: 100%;
        gap: 12px;
        flex-direction: column;
        margin-bottom: 34px;
    }

    .hero__btns .btn {
        width: 100%;
        min-height: 58px;
    }

    .hero__advantages {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .adv-item {
        width: 100%;
    }

    .clients-badge {
        position: static;
        margin-top: 16px;
    }

    .decor-line-1,
    .decor-heart-1 {
        display: none;
    }

    .features__grid,
    .products-grid,
    .why-us__grid,
    .reviews__slider,
    .footer__inner {
        grid-template-columns: 1fr;
    }

    .section-header,
    .footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
}
