body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: #fff;
    color: #2c2532;
    margin: 0;
    padding: 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 6vw 16px;
    background: #f8f4fa;
}

.logo {
    font-size: 1.6em;
    font-weight: 700;
    color: #9b68c7;
    letter-spacing: 2px;
}

nav a {
    margin-left: 34px;
    color: #463d5f;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s;
}
nav a:hover {
    color: #9b68c7;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #efe7f7 55%, #fff0f7 95%);
    min-height: 380px;
    padding: 40px 6vw 32px;
    position: relative;
}
.hero-content {
    max-width: 95%;
}
.hero h1 {
    color: #9b68c7;
    font-size: 2.2em;
    font-weight: 700;
}
.hero p {
    font-size: 1.2em;
    margin: 16px 0 32px;
}
.main-btn {
    background: #9b68c7;
    color: #fff;
    border: none;
    padding: 14px 36px;
    border-radius: 32px;
    font-size: 1em;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.2s;
}
.main-btn:hover {
    background: #7850a8;
}

.products {
    padding: 64px 8vw 48px;
    background: #faf8fc;
}
.products h2 {
    font-size: 1.7em;
    color: #463d5f;
    text-align: center;
}
.products-desc {
    font-size: 1em;
    color: #5c4d73;
    text-align: center;
    margin-bottom: 42px;
}
.products-list {
    display: flex;
    flex-wrap: wrap;
    gap: 42px;
    justify-content: center;
}
.product-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 6px 24px rgba(155,104,199,0.08);
    padding: 28px 24px;
    width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.carousel {
    position: relative;
    width: 340px;
    height: 410px;
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: 20px;
    background: #ece1fa;
    box-shadow: 0 2px 18px rgba(155,104,199,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-img {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: fade 0.5s;
}
.carousel-img.active {
    display: block;
}
@keyframes fade {
    from { opacity: 0; }
    to { opacity: 1; }
}
.carousel-btn {
    position: absolute;
    top: 50%;
    background: rgba(255,255,255,0.7);
    color: #9b68c7;
    border: none;
    border-radius: 50%;
    padding: 10px 14px;
    font-size: 2em;
    cursor: pointer;
    transform: translateY(-50%);
    z-index: 2;
    transition: background 0.18s;
}
.carousel-btn.prev { left: 14px; }
.carousel-btn.next { right: 14px; }
.carousel-btn:hover { background: #fff; }

.product-info {
    text-align: center;
}
.product-info h3 {
    font-size: 1.2em;
    color: #9b68c7;
    font-weight: 700;
    margin-bottom: 11px;
}
.product-info p {
    color: #463d5f;
    margin-bottom: 17px;
    font-size: 0.95em;
}
.product-btn {
    background: #9b68c7;
    color: #fff;
    border-radius: 20px;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1em;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    display: block;
    margin-top: 20px;
}
.product-btn:hover { background: #7850a8; }

.about, .contacts {
    padding: 60px 10vw 40px;
    background: #fff;
}
.about h2, .contacts h2 {
    color: #463d5f;
    font-size: 1.35em;
    font-weight: 700;
    margin-bottom: 15px;
}
.about p, .contacts p {
    color: #6d577b;
    font-size: 1em;
    margin-bottom: 6px;
}
.social {
    display: flex;
    gap: 24px;
    margin-top: 19px;
}
.social img {
    width: 32px;
    height: 32px;
    filter: grayscale(60%) contrast(110%);
    transition: filter 0.18s;
}
.social a:hover img {
    filter: none;
}

footer {
    background: #f2eaf8;
    text-align: center;
    padding: 22px 0;
    font-size: 0.98em;
    color: #9b68c7;
}

@media (max-width: 900px) {
    .products-list { flex-direction: column; align-items: center; }
    .product-card { width: auto; max-width: 370px; }
    .carousel { width: 95%; max-width: 320px; height: 340px; }
    header { flex-direction: column; gap: 18px; }
}