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

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background-color: #fce4ec;
    color: #4a2a3a;
    line-height: 1.4;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== ШАПКА / НАВИГАЦИЯ ========== */
.header {
    padding: 24px 0 16px;
    border-bottom: 1px solid #f0b6c4;
    background: #fce4ec;
}

.header__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #d45a7a;
    display: inline-block;
    margin-bottom: 10px;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    list-style: none;
    font-weight: 500;
    padding: 10px 20px;
    background-color: #fce4ec;
    border-radius: 28px;
    box-shadow: 0 2px 10px rgba(210, 90, 122, 0.1);
}

.nav__item {
    cursor: pointer;
    padding: 6px 0;
}

.nav__item::after {
    content: ' |';
}

.nav__item:last-child::after {
    content: '';
}

.nav__link {
    color: #5c3a4a;
    text-decoration: none;
    transition: color 0.2s ease;
    border-bottom: 2px solid transparent;
}

.nav__link:hover {
    color: #d45a7a;
    border-bottom-color: #d45a7a;
}

.nav__link_active {
    font-weight: bold;
}

/* ========== БАННЕР (карусель) ========== */
.banner {
    margin: 32px 0 48px;
}

.carousel {
    position: relative;
    background: #f8b0c4;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(210, 90, 122, 0.2);
}

.carousel__slides {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    will-change: transform;
}

.carousel__slide {
    flex: 0 0 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 32px 40px;
    gap: 24px;
}

.carousel__info {
    flex: 1 1 50%;
    order: 2;
}

.carousel__image {
    flex: 0 0 200px;
    text-align: center;
    order: 1;
}

.carousel__image img {
    width: 100%;
    max-width: 200px;
    border-radius: 24px;
    box-shadow: 0 12px 20px -12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.carousel__title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.carousel__description {
    font-size: 1rem;
    color: #ffffff;
    max-width: 90%;
    margin-bottom: 24px;
    line-height: 1.5;
}

.carousel__button {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    display: inline-block;
    padding: 10px 24px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #d45a7a;
    text-decoration: none;
    transition: all 0.2s;
}

.carousel__button:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 232, 244, 0.9);
    backdrop-filter: blur(8px);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    font-weight: bold;
    color: #d45a7a;
    transition: all 0.2s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel__btn:hover {
    background: #fff;
    color: #b84a6a;
    transform: translateY(-50%) scale(1.05);
}

.carousel__btn_prev {
    left: 16px;
}

.carousel__btn_next {
    right: 16px;
}

.carousel__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.carousel__dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 232, 244, 0.6);
    border-radius: 10px;
    transition: 0.2s;
    cursor: pointer;
}

.carousel__dot_active {
    width: 28px;
    background: #ffffff;
}

/* ========== What on reels? ========== */
.reels {
    margin: 56px 0 48px;
}

.reels__title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #5c3a4a;
    letter-spacing: -0.3px;
}

.reels__subtitle {
    color: #d45a7a;
    margin-bottom: 28px;
    font-size: 1rem;
}

.reels__carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.reels__track {
    flex: 1;
    overflow-x: hidden;
    overflow-y: visible;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.reels__track::-webkit-scrollbar {
    display: none;
}

.reels__container {
    display: flex;
    gap: 24px;
    padding: 35px 0;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.reels__card {
    flex: 0 0 280px;
    width: 280px;
    background: #fff5f8;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(210, 90, 122, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Места карточек рилсов (позиции относительно центра) */
.reels__card_place_center {
    transform: scale(1.1);
    box-shadow: 0 10px 20px -10px rgba(210, 90, 122, 0.3);
    z-index: 2;
}

.reels__card_place_left {
    transform: scale(0.9);
    opacity: 0.85;
    margin-left: -35px;
}

.reels__card_place_right {
    transform: scale(0.9);
    opacity: 0.85;
    margin-right: -35px;
}

.reels__card_place_far-left {
    transform: scale(0.8);
    opacity: 0.7;
}

.reels__card_place_far-right {
    transform: scale(0.8);
    opacity: 0.7;
}

.reels__video {
    background: #f3c4d4;
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: radial-gradient(circle at 30% 20%, rgba(255, 200, 220, 0.5) 2%, transparent 2.5%);
    background-size: cover;
}

.reels__play {
    background: rgba(210, 90, 122, 0.8);
    border-radius: 60px;
    padding: 12px 20px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

.reels__caption {
    padding: 16px;
    background: white;
}

.reels__product {
    font-weight: 600;
    color: #d45a7a;
    margin-bottom: 6px;
}

.reels__desc {
    font-size: 0.85rem;
    color: #8a6a7a;
}

.reels__btn {
    background: rgba(210, 90, 122, 0.9);
    backdrop-filter: blur(8px);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    font-weight: bold;
    color: white;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    flex-shrink: 0;
}

.reels__btn:hover {
    background: #b84a6a;
    transform: scale(1.05);
}

/* ========== КАТЕГОРИИ ========== */
.categories {
    margin: 48px 0;
}

.categories__title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 28px;
    border-left: 5px solid #d45a7a;
    padding-left: 18px;
    color: #5c3a4a;
}

.categories__grid {
    display: grid;
    grid-template-areas: 
        "face lips hair"
        "face hands hands";
    gap: 20px;
    justify-content: start;
}

.categories__card {
    background: #fff5f8;
    border-radius: 28px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid #f5d0dc;
    position: relative;
    overflow: hidden;
}

.categories__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(210, 90, 122, 0.15);
    border-color: #d45a7a;
}

.categories__card_type_face {
    height: 580px;
    grid-area: face;
}

.categories__card_type_lips {
    width: 440px;
    height: 225px;
    grid-area: lips;
}

.categories__card_type_hair {
    width: 315px;
    height: 225px;
    grid-area: hair;
}

.categories__card_type_hands {
    width: 785px;
    height: 330px;
    grid-area: hands;
}

.categories__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.categories__name {
    font-size: 1.7rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
}

/* ========== Уходовая косметика ========== */
.products {
    margin: 48px 0;
}

.products__title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 28px;
    border-left: 5px solid #d45a7a;
    padding-left: 18px;
    color: #5c3a4a;
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin: 28px 0 20px;
}

.products__item {
    background: #fff5f8;
    border-radius: 40px;
    padding: 14px 20px;
    text-align: center;
    font-size: 1rem;
    border: 1px solid #f5d0dc;
    transition: 0.2s;
    cursor: pointer;
    font-weight: 500;
    color: #5c3a4a;
}

.products__item:hover {
    background: #fce4ec;
    border-color: #d45a7a;
    transform: translateY(-2px);
    color: #d45a7a;
}

/* ========== ПОДВАЛ ========== */
.footer {
    margin-top: 70px;
    background: #f5d0dc;
    border-radius: 32px 32px 0 0;
    padding: 32px 0 28px;
}

.footer__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    color: #7a4a5a;
}

.footer__text {
    font-size: 1rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.footer__copyright {
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.footer__disclaimer {
    font-size: 0.75rem;
    opacity: 0.7;
}

button {
    background: none;
    border: none;
}

/* ========== АДАПТИВ ========== */
@media (max-width: 1200px) {
    .categories__grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .categories__card_type_face,
    .categories__card_type_lips,
    .categories__card_type_hair,
    .categories__card_type_hands {
        width: 100%;
        max-width: 500px;
        height: auto;
    }
    
    .categories__card_type_face {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .header__container {
        flex-direction: column;
        gap: 20px;
    }

    .nav {
        justify-content: center;
    }
    
    .carousel__description {
        max-width: 100%;
    }
    
    .carousel__image {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .reels__card {
        flex: 0 0 260px;
    }
    
    .reels__video {
        height: 350px;
    }
    
    .reels__card_place_center {
        transform: scale(1.05);
    }
    
    .reels__card_place_left,
    .reels__card_place_right {
        transform: scale(0.85);
    }
    
    .reels__card_place_far-left,
    .reels__card_place_far-right {
        transform: scale(0.75);
    }
    
    .reels__btn {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }
}

/* Адаптив для рилсов */
@media (max-width: 1300px) {
    .reels__card {
        flex: 0 0 240px;
        width: 240px;
    }
    
    .reels__video {
        height: 340px;
    }
}

@media (max-width: 1000px) {
    .reels__card {
        flex: 0 0 220px;
        width: 220px;
    }
    
    .reels__video {
        height: 310px;
    }
}

@media (max-width: 900px) {
    .reels__card_place_center {
        transform: scale(1.05);
    }
    
    .reels__card_place_left,
    .reels__card_place_right {
        transform: scale(0.85);
    }
    
    .reels__card_place_far-left,
    .reels__card_place_far-right {
        transform: scale(0.75);
    }
}

@media (max-width: 800px) {
    .reels__card {
        flex: 0 0 200px;
        width: 200px;
    }
    
    .reels__video {
        height: 280px;
    }
    
    .reels__btn {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }
}