@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
:root {
    --bg:#100a25;
    --panel:#20143e;
    --white:#f9f5ff;
    --muted:#aaa1c4;
    --pink:#fa4bbb;
    --violet:#8b65ff;
}

* {
    box-sizing:border-box;
}

html {
    scroll-behavior:smooth;
}

body {
    margin:0;
    background:var(--bg);
    color:var(--white);
    font-family:Manrope,Arial,sans-serif;
    -webkit-font-smoothing:antialiased;
}

button,a {
    -webkit-tap-highlight-color:transparent;
}

button {
    font:inherit;
}

a {
    color:inherit;
    text-decoration:none;
}

.shell {
    max-width:1180px;
    margin:auto;
    padding-left:24px;
    padding-right:24px;
}

.page-glow {
    position:absolute;
    z-index:-1;
    inset:0 0 auto;
    height:700px;
    background:radial-gradient(ellipse 60% 48% at 52% 15%,#4a215e8c,transparent 75%),radial-gradient(ellipse 45% 55% at 95% 50%,#42256a70,transparent 75%);
    pointer-events:none;
}

.header {
    height:88px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.wordmark {
    font-size:22px;
    font-weight:800;
    letter-spacing:-1px;
    white-space:nowrap;
}

.wordmark-icon {
    color:#ffbb4c;
    margin-right:5px;
}

.wordmark-dot {
    color:var(--pink);
}

.nav {
    display:flex;
    gap:30px;
    color:#ddd3ee;
    font-size:13px;
    font-weight:600;
}

.nav a:hover {
    color:white;
}

.cart-trigger {
    display:flex;
    align-items:center;
    gap:10px;
    border:1px solid #ffffff30;
    background:#ffffff0c;
    color:white;
    border-radius:14px;
    padding:12px 15px;
    cursor:pointer;
    font-weight:700;
    font-size:13px;
}

.cart-count {
    min-width:22px;
    height:22px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:var(--pink);
    font-size:11px;
}

.hero {
    position:relative;
    text-align:center;
    padding-top:76px;
    padding-bottom:100px;
}

.hero-kicker {
    display:inline-flex;
    gap:9px;
    align-items:center;
    border:1px solid #d48dfb42;
    background:#c981fa12;
    border-radius:100px;
    padding:9px 15px;
    color:#e9b8ff;
    font-size:12px;
    font-weight:700;
}

.kicker-dot {
    width:7px;
    height:7px;
    background:#f2b3ff;
    border-radius:50%;
    box-shadow:0 0 12px #f2b3ff;
}

.hero h1 {
    font-size:clamp(36px,5.5vw,68px);
    line-height:1.13;
    letter-spacing:-2.7px;
    font-weight:800;
    margin:26px auto 18px;
    max-width:940px;
}

.hero h1 em {
    font-style:normal;
    background:linear-gradient(90deg,#fff 5%,#ff9be1 58%,#a899ff);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}

.hero-sub {
    max-width:530px;
    margin:0 auto;
    color:#c1b7d5;
    font-size:15px;
    line-height:1.8;
}

.hero-cta {
    margin-top:27px;
    display:inline-flex;
    align-items:center;
    gap:30px;
    background:linear-gradient(100deg,#ff4db9,#ba5eff);
    padding:15px 21px;
    border-radius:13px;
    font-weight:800;
    font-size:14px;
    box-shadow:0 12px 34px #e24bbc3b;
}

.hero-cta:hover {
    filter:brightness(1.1);
}

.hero-snow {
    position:absolute;
    color:#a18cd0;
    opacity:.35;
    font-size:38px;
}

.snow-one {
    left:9%;
    top:23%;
}

.snow-two {
    right:11%;
    top:43%;
    font-size:25px;
}

.catalog {
    padding-top:12px;
    padding-bottom:75px;
    scroll-margin-top:22px;
}

.section-heading {
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:30px;
}

.eyebrow {
    font-size:11px;
    letter-spacing:2px;
    color:#d393ff;
    font-weight:800;
    margin:0 0 11px;
}

.section-heading h2,.advantages h2,.how h2 {
    font-size:clamp(26px,3vw,36px);
    letter-spacing:-1.3px;
    margin:0;
    font-weight:800;
}

.section-heading h2 span {
    color:#e6a0ff;
}

.section-note {
    color:var(--muted);
    font-size:13px;
}

.product-grid {
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:14px;
}

.product-card {
    position:relative;
    min-width:0;
    background:linear-gradient(155deg,#291946,#1a1134);
    border:1px solid #ffffff16;
    border-radius:22px;
    overflow:hidden;
    transition:transform .2s,border-color .2s;
}

.product-card:hover {
    transform:translateY(-4px);
    border-color:#b886f85e;
}

.product-card.featured {
    border-color:#df75d68c;
    box-shadow:0 0 0 1px #b356a628,0 18px 45px #05010c35;
}

.ribbon {
    position:absolute;
    z-index:1;
    top:12px;
    left:12px;
    background:linear-gradient(100deg,#fa55b9,#a864ff);
    padding:7px 10px;
    border-radius:9px;
    font-size:10px;
    font-weight:800;
}

.product-art {
    aspect-ratio:1/1;
    display:grid;
    place-items:center;
    background:radial-gradient(circle at 50% 45%,#593280,#28163f 70%);
    overflow:hidden;
}

.product-art img {
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
}

.art-fallback {
    font-size:88px;
    font-weight:800;
    line-height:1;
    color:#f1a1fc;
    text-shadow:4px 8px #722b8c;
}

.product-info {
    padding:17px 15px 16px;
}

.product-meta {
    font-size:8px;
    letter-spacing:1.1px;
    color:#a89abb;
    font-weight:800;
    white-space:nowrap;
}

.product-meta span {
    margin:0 3px;
}

.product-info h3 {
    font-size:20px;
    letter-spacing:-.5px;
    margin:9px 0 13px;
}

.price-row {
    display:flex;
    gap:8px;
    align-items:baseline;
    flex-wrap:wrap;
    min-height:31px;
}

.price {
    font-size:19px;
    letter-spacing:-.5px;
    white-space:nowrap;
}

.old-price {
    font-size:11px;
    color:#9e91b4;
    white-space:nowrap;
}

.add-button {
    margin-top:12px;
    width:100%;
    min-height:43px;
    border:1px solid #aa73fa70;
    border-radius:11px;
    background:#7d4ddb;
    color:white;
    font-size:12px;
    font-weight:800;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
}

.featured .add-button {
    background:linear-gradient(100deg,#ff4db9,#b957f4);
    border:0;
}

.add-button:hover:not(:disabled) {
    filter:brightness(1.13);
}

.add-button:disabled {
    opacity:.48;
    cursor:not-allowed;
}

.catalog-footnote {
    text-align:center;
    color:#9588ae;
    font-size:12px;
    margin-top:26px;
}

.advantages {
    padding-top:45px;
    padding-bottom:75px;
    scroll-margin-top:30px;
}

.benefit-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
    margin-top:26px;
}

.benefit {
    border:1px solid #ffffff14;
    background:#ffffff08;
    border-radius:20px;
    padding:26px;
}

.benefit-icon {
    display:grid;
    place-items:center;
    width:45px;
    height:45px;
    border-radius:13px;
    background:#a85bf128;
    color:#e8b5ff;
    font-size:24px;
}

.benefit h3 {
    font-size:17px;
    margin:17px 0 8px;
}

.benefit p {
    font-size:13px;
    line-height:1.7;
    color:var(--muted);
    margin:0;
}

.how {
    padding-bottom:85px;
    scroll-margin-top:30px;
}

.how-panel {
    border:1px solid #d79aff3b;
    background:linear-gradient(120deg,#3a205b,#241539);
    border-radius:25px;
    padding:38px;
}

.steps {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
    margin-top:27px;
}

.steps>div {
    display:flex;
    align-items:flex-start;
    gap:13px;
    font-size:13px;
    line-height:1.6;
    color:#e5dbee;
}

.steps b {
    font-size:19px;
    color:#ff8ed9;
}

.footer {
    border-top:1px solid #ffffff1c;
    padding-top:30px;
    padding-bottom:32px;
    display:flex;
    align-items:start;
    justify-content:space-between;
    gap:24px;
    flex-wrap:wrap;
}

.footer strong {
    font-size:19px;
}

.footer p,.footer span,.footer small {
    font-size:12px;
    color:#a79dbb;
}

.footer small {
    width:100%;
    margin-top:10px;
}

.empty-catalog {
    grid-column:1/-1;
    padding:35px;
    text-align:center;
    background:#ffffff0a;
    border-radius:18px;
    color:var(--muted);
}

.cart-overlay {
    position:fixed;
    inset:0;
    background:#05020bcc;
    z-index:10;
}

.cart-overlay[hidden] {
    display:none;
}

.cart-drawer {
    position:fixed;
    right:0;
    top:0;
    bottom:0;
    width:min(100%,430px);
    z-index:11;
    background:#1b1233;
    box-shadow:-12px 0 45px #0008;
    display:flex;
    flex-direction:column;
    padding:24px;
    transform:translateX(102%);
    transition:transform .25s;
}

.cart-drawer.open {
    transform:translateX(0);
}

.cart-head {
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-bottom:1px solid #ffffff24;
    padding-bottom:15px;
}

.cart-head h2 {
    font-size:22px;
}

.close-cart {
    border:0;
    background:#ffffff13;
    color:white;
    border-radius:9px;
    width:38px;
    height:38px;
    cursor:pointer;
}

.cart-items {
    overflow:auto;
    flex:1;
    padding:12px 0;
}

.cart-item {
    display:flex;
    gap:12px;
    align-items:center;
    padding:15px 0;
    border-bottom:1px solid #ffffff18;
}

.cart-item-main {
    flex:1;
}

.cart-item-name {
    font-size:14px;
    font-weight:800;
}

.cart-item-price {
    color:#d7b4fb;
    font-size:13px;
    margin-top:4px;
}

.qty-controls {
    display:flex;
    align-items:center;
    gap:12px;
}

.qty-controls button {
    border:1px solid #ffffff30;
    color:white;
    background:#ffffff10;
    width:28px;
    height:28px;
    border-radius:8px;
    cursor:pointer;
}

.cart-bottom {
    border-top:1px solid #ffffff25;
    padding-top:20px;
}

.cart-total {
    display:flex;
    justify-content:space-between;
    font-size:18px;
    margin-bottom:17px;
}

.checkout-button {
    width:100%;
    padding:16px;
    border:0;
    border-radius:12px;
    background:#8b718e;
    color:white;
    cursor:not-allowed;
    font-weight:800;
}

.cart-bottom p {
    color:var(--muted);
    font-size:11px;
    line-height:1.5;
    text-align:center;
}

.cart-empty {
    text-align:center;
    color:var(--muted);
    padding-top:55px;
    font-size:14px;
}

body.cart-open {
    overflow:hidden;
}

@media(max-width:1050px) {
    .product-grid {
        grid-template-columns:repeat(3,minmax(0,1fr));
    }

    .product-info h3 {
        font-size:21px;
    }

    .product-meta {
        font-size:9px;
    }

}

@media(max-width:650px) {
    .shell {
        padding-left:16px;
        padding-right:16px;
    }

    .header {
        height:70px;
    }

    .wordmark {
        font-size:20px;
    }

    .nav {
        display:none;
    }

    .cart-trigger {
        padding:10px;
        gap:7px;
    }

    .cart-label {
        display:none;
    }

    .hero {
        padding-top:53px;
        padding-bottom:70px;
    }

    .hero h1 {
        font-size:clamp(32px,8.7vw,47px);
        line-height:1.15;
        letter-spacing:-1.8px;
        margin-top:23px;
    }

    .hero h1 br {
        display:none;
    }

    .hero-sub {
        font-size:13px;
        line-height:1.75;
        max-width:350px;
    }

    .hero-cta {
        font-size:13px;
    }

    .hero-snow {
        display:none;
    }

    .section-heading {
        margin-bottom:19px;
        align-items:start;
    }

    .section-note {
        display:none;
    }

    .product-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:11px;
    }

    .product-card {
        border-radius:17px;
    }

    .product-info {
        padding:12px 11px 13px;
    }

    .product-info h3 {
        font-size:18px;
        margin:8px 0 9px;
    }

    .product-meta {
        font-size:7px;
        letter-spacing:.45px;
    }

    .price {
        font-size:17px;
    }

    .old-price {
        font-size:10px;
    }

    .price-row {
        min-height:25px;
    }

    .add-button {
        margin-top:10px;
        min-height:42px;
        font-size:11px;
    }

    .ribbon {
        font-size:9px;
        top:8px;
        left:8px;
        padding:6px 8px;
    }

    .catalog {
        padding-bottom:48px;
    }

    .catalog-footnote {
        line-height:1.6;
    }

    .advantages {
        padding-top:28px;
        padding-bottom:50px;
    }

    .benefit-grid {
        grid-template-columns:1fr;
        gap:10px;
        margin-top:20px;
    }

    .benefit {
        padding:20px;
    }

    .benefit h3 {
        margin:12px 0 5px;
    }

    .how {
        padding-bottom:55px;
    }

    .how-panel {
        padding:25px 20px;
    }

    .steps {
        grid-template-columns:1fr;
        gap:18px;
    }

    .footer {
        gap:12px;
    }

    .footer>div {
        width:100%;
    }

    .cart-drawer {
        padding:19px;
    }

}

@media(max-width:360px) {
    .product-meta {
        font-size:6px;
    }

    .product-info h3 {
        font-size:16px;
    }

    .price {
        font-size:15px;
    }

    .add-button {
        font-size:10px;
    }

    .ribbon {
        font-size:8px;
    }

}

/* Design refinement: highlighted headline, per-month price, compact footer */
.header {
    justify-content:flex-end;
}

.nav {
    margin-right:auto;
}

.hero h1 em {
    display:inline-block;
    font-style:italic;
    font-weight:850;
    background:linear-gradient(95deg,#ff54be 5%,#f784da 44%,#a88cff 96%);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    color:#f784da;
}

.monthly-price {
    font-size:12px;
    line-height:1.5;
    color:#d5c6e8;
    margin-top:5px;
    font-weight:650;
    white-space:nowrap;
}

.footer {
    align-items:center;
    padding-top:22px;
    padding-bottom:25px;
}

.footer p {
    margin:0;
}

.footer small {
    width:auto;
    margin:0;
}

@media(max-width:650px) {
    .header {
        justify-content:flex-end;
    }

    .hero h1 em {
        display:inline;
    }

    .monthly-price {
        font-size:11px;
        white-space:normal;
    }

    .footer {
        display:block;
        text-align:center;
    }

    .footer small {
        display:block;
        margin-top:9px;
    }

}

@media(max-width:360px) {
    .monthly-price {
        font-size:10px;
    }

}

/* ===== Финальные настройки карточек ===== */
.product-info,
.product-info h3,
.product-meta,
.monthly-price {
    text-align: center;
}

.price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    text-align: center;
}

.product-card.featured {
    border: 2px solid #ff61d6;
    box-shadow: 0 0 0 1px rgba(255, 97, 214, .35),
                0 0 17px rgba(255, 65, 198, .45),
                0 0 38px rgba(169, 73, 255, .24);
}

/* ===== Заголовок: устраняем обрезание курсивной «х» =====
   У наклонного шрифта правая часть глифа выходит за типографскую
   границу. Отдельная строка и внутренний запас справа дают ей место. */
.hero h1 {
    max-width: 1180px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0.12em;
    box-sizing: border-box;
    overflow: visible;
    font-size: clamp(32px, 5vw, 64px);
    letter-spacing: -0.035em;
}

.hero h1 em {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.06em 0.18em 0.12em 0.08em;
    font-style: italic;
    font-weight: 800;
    line-height: 1.25;
    white-space: normal;
    overflow: visible;
    background: linear-gradient(95deg, #ff54be 5%, #f784da 44%, #a88cff 96%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

@media (max-width: 650px) {
    .hero h1 {
        font-size: clamp(30px, 8.3vw, 45px);
        letter-spacing: -0.035em;
        padding: 0 0.08em;
    }
    .hero h1 em {
        display: block;
        padding-right: 0.2em;
        padding-left: 0.08em;
        line-height: 1.2;
    }
}

/* Корзина под каталогом — desktop / mobile */
.cart-section{margin-top:30px;scroll-margin-top:24px}
.cart-panel{border:1px solid #dc64f4;border-radius:26px;padding:24px;background:linear-gradient(120deg,rgba(75,30,105,.72),rgba(31,18,57,.96));box-shadow:0 0 26px #bd39f12c,inset 0 0 25px #ad5bf00d}
.cart-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.cart-heading-title{display:flex;align-items:center;gap:12px;min-width:0}
.cart-heading h2{font-size:23px;letter-spacing:-.7px;margin:0}
.cart-symbol{font-size:26px;line-height:1}
.cart-bubble{display:grid;place-items:center;min-width:28px;height:28px;padding:0 7px;border-radius:99px;background:linear-gradient(120deg,#ff4db9,#9b39f1);font-size:13px;font-weight:800}
.cart-heading p{font-size:12px;color:#cbb7dc;margin:0;text-align:right}
.cart-content{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:24px}
.cart-items-inline{min-width:0}
.cart-empty-inline{padding:35px 10px;text-align:center;color:#cbb7dc;border:1px dashed #b67bd65c;border-radius:15px}
.cart-line{display:grid;grid-template-columns:52px minmax(0,1fr) auto auto;align-items:center;gap:13px;padding:12px 0;border-bottom:1px solid #ffffff20}
.cart-line:first-child{padding-top:0}
.cart-thumb{width:52px;height:52px;border:1px solid #a15ecb69;border-radius:11px;background:linear-gradient(130deg,#5d1c7b,#281044);display:grid;place-items:center;overflow:hidden}
.cart-thumb img{width:100%;height:100%;object-fit:cover}
.cart-thumb span{font-weight:800;color:#ff9adf;font-size:22px}
.cart-line-title{font-size:13px;font-weight:800;line-height:1.4}
.cart-line-unit{font-size:11px;color:#c5b3d7;margin-top:3px}
.cart-qty{display:flex;align-items:center;gap:8px}
.cart-qty button,.cart-remove{border:1px solid #c88be65c;background:#ffffff0b;color:white;border-radius:9px;cursor:pointer;display:grid;place-items:center}
.cart-qty button{width:32px;height:32px;font-size:18px}
.cart-qty button:disabled{opacity:.35;cursor:not-allowed}
.cart-qty output{font-size:13px;font-weight:800;min-width:17px;text-align:center}
.cart-line-end{display:flex;align-items:center;gap:8px;justify-content:flex-end}
.cart-line-total{font-size:13px;font-weight:800;white-space:nowrap}
.cart-remove{width:30px;height:30px;font-size:17px;color:#f4b6d9}
.cart-checkout{border-left:1px solid #ffffff2a;padding-left:24px;display:flex;flex-direction:column;justify-content:center;gap:10px}
.cart-total-label{font-size:13px;color:#eec2fb;font-weight:700}
.cart-checkout strong{font-size:31px;line-height:1.2;white-space:nowrap}
.cart-checkout .checkout-button{background:linear-gradient(100deg,#fb53a9,#a722f2);color:white;min-height:54px;font-size:13px;border-radius:13px;margin-top:4px}
.cart-checkout .checkout-button:disabled{opacity:.65;cursor:not-allowed}
.cart-checkout p{font-size:11px;line-height:1.5;color:#c3b2d6;margin:0}
.product-info,.product-info h3,.product-meta,.monthly-price{text-align:center}
.price-row{justify-content:center;text-align:center}
.product-card.featured{border:2px solid #ff65d8;box-shadow:0 0 12px #ff50d78c,0 0 32px #a73cf263}
@media(max-width:850px){.cart-content{grid-template-columns:1fr}.cart-checkout{border-left:0;border-top:1px solid #ffffff25;padding-left:0;padding-top:18px}.cart-checkout strong{font-size:27px}}
@media(max-width:650px){.cart-section{margin-top:22px}.cart-panel{padding:15px;border-radius:20px}.cart-heading{align-items:flex-start;flex-wrap:wrap;gap:8px}.cart-heading h2{font-size:19px}.cart-heading p{width:100%;text-align:left}.cart-line{grid-template-columns:42px minmax(0,1fr) auto;gap:8px}.cart-thumb{width:42px;height:42px}.cart-line-title{font-size:12px}.cart-line-unit{font-size:10px}.cart-qty{grid-column:2;justify-self:start}.cart-line-end{grid-column:3;grid-row:2}.cart-line-total{font-size:12px}.cart-qty button{width:34px;height:34px}.cart-checkout .checkout-button{min-height:52px}.cart-checkout strong{font-size:27px}}
@media(max-width:360px){.cart-line{grid-template-columns:40px minmax(0,1fr) auto}.cart-line-end{gap:4px}.cart-line-total{font-size:11px}.cart-remove{width:26px;height:26px}}

/* Enlarged multi-subscription highlight in the hero */
.multi-subscription {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    width: fit-content;
    max-width: 100%;
    min-height: 100px;
    padding: 19px 38px;
    margin: 29px auto 0;
    border: 3px solid #e45be9;
    border-radius: 999px;
    background: linear-gradient(105deg, rgba(83, 30, 105, .46), rgba(58, 24, 89, .42));
    box-shadow: 0 0 24px rgba(221, 69, 239, .18), inset 0 0 20px rgba(225, 73, 220, .07);
    color: #fff;
}
.multi-subscription-icon {
    flex: 0 0 auto;
    width: 76px;
    height: 58px;
}
.multi-subscription-divider {
    align-self: stretch;
    width: 2px;
    min-height: 45px;
    background: rgba(255, 255, 255, .66);
}
.multi-subscription-text {
    font-size: clamp(19px, 2.55vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.6px;
    text-align: left;
}
.multi-subscription-text strong {
    color: #e789fa;
    background: linear-gradient(90deg, #bb91ff, #ff68d0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero .hero-cta { margin-top: 31px; }
@media (max-width: 650px) {
    .multi-subscription {
        width: 100%;
        min-height: 86px;
        gap: 13px;
        padding: 16px 17px;
        margin-top: 25px;
        border-width: 2px;
        border-radius: 25px;
    }
    .multi-subscription-icon { width: 47px; height: 44px; }
    .multi-subscription-divider { width: 1px; min-height: 42px; }
    .multi-subscription-text { font-size: clamp(16px, 4.3vw, 22px); letter-spacing: -.25px; }
}
@media (max-width: 360px) {
    .multi-subscription { gap: 9px; padding: 13px 11px; }
    .multi-subscription-icon { width: 38px; height: 37px; }
    .multi-subscription-text { font-size: 15px; }
}

/* Equal geometry for all product cards, including the featured card. */
.product-grid > .product-card {
    border-width: 2px;
    border-style: solid;
    border-color: transparent;
    align-self: stretch;
}
.product-grid > .product-card.featured {
    border-color: #ff65d8;
}
