/* mamafinesse — вътрешни страници: каталог, курс, количка, калкулатор, правни.
   Зарежда се след site.css и ползва същите променливи (--ink, --purple, --blue …). */

.page { padding-bottom: 72px; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 56px; }
.container--narrow { max-width: 900px; }

.breadcrumbs {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    padding: 28px 0 8px; font-size: 13.5px; color: var(--muted-3);
}
.breadcrumbs a { color: var(--muted-2); }
.breadcrumbs a:hover { color: var(--blue); }

.page-head { margin: 8px 0 28px; max-width: 720px; }
.page-head .h2 { margin-bottom: 12px; }
.page-head p { font-size: 16.5px; line-height: 1.65; color: var(--muted); margin: 0; }
.page-head__proof { font-size: 14px; color: var(--muted-2); margin-top: 14px; }

.h3 {
    font-family: var(--font-display); font-size: 26px; line-height: 1.2; letter-spacing: -0.03em; font-weight: 600;
    margin: 0 0 10px;
}
.empty { padding: 48px 0; color: var(--muted); text-align: center; }

.container .notice { margin: 0 auto 28px; }

/* ---------- Табове (филтър) ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; }
.tab {
    padding: 11px 22px; border-radius: 999px; border: 1px solid var(--line-3); background: #fff;
    font-size: 14.5px; font-weight: 600; color: var(--text-2); transition: background .2s, color .2s, border-color .2s;
}
.tab:hover { border-color: var(--purple); color: var(--purple); }
.tab.is-active, .tab.is-active:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

.catalog-section { margin: 0 0 56px; }
.catalog-section__lead { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin: 0 0 32px; }
.catalog-section .plans__grid { padding-top: 16px; }

/* ---------- Карти и секция „Курсове“ ---------- */
.courses { padding: 88px 56px 92px; }
.courses__head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.courses__head .h2 { font-size: 40px; line-height: 1.12; margin-bottom: 16px; }
.courses__head p { font-size: 16.5px; line-height: 1.65; color: var(--muted); margin: 0; }
.courses__grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.courses__more { max-width: 1240px; margin: 40px auto 0; text-align: center; }

.course-card {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden;
    transition: box-shadow .25s, transform .25s;
}
.course-card:hover { box-shadow: 0 30px 60px -36px rgba(16, 23, 58, 0.45); transform: translateY(-3px); }
.course-card__media {
    display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden;
    background: linear-gradient(160deg, var(--purple), var(--blue));
}
.course-card__placeholder {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 64px; font-weight: 700; color: rgba(255, 255, 255, 0.85);
}
.course-card__body { display: flex; flex-direction: column; flex: 1; padding: 28px 28px 30px; }
.course-card__title { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 8px; }
.course-card__title a { color: var(--ink); }
.course-card__title a:hover { color: var(--purple); }
.course-card__sub { font-size: 14.5px; line-height: 1.55; color: var(--muted-2); margin: 0 0 14px; }
.course-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted-3); margin-bottom: 14px; }
.course-card__price { display: flex; align-items: baseline; gap: 10px; margin: auto 0 18px; padding-top: 6px; }
.course-card__amount { font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -0.04em; }
.course-card__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.course-card__soldout { font-size: 14px; font-weight: 600; color: var(--muted-3); }

.btn-add {
    padding: 12px 20px; border: none; border-radius: 999px; cursor: pointer;
    background: var(--blue); color: #fff; font-size: 14px; font-weight: 600; transition: background .2s;
}
.btn-add:hover { background: var(--purple); }
.btn-add:disabled { opacity: 0.7; cursor: progress; }
.btn-add--done, .btn-add--done:hover {
    background: var(--bg-soft); color: var(--purple); border: 1px solid var(--line-2); text-decoration: none;
}

/* „Купи сега“ в картите на плановете е линк към страницата на курса (там е въпросникът). */
.plan__cta { display: block; text-align: center; text-decoration: none; }
a.plan__cta, a.plan__cta:hover { color: #fff; }
.plan--highlight a.plan__cta, .plan--highlight a.plan__cta:hover { color: var(--blue); }
.plan__cta--disabled, .plan__cta--disabled:hover { background: var(--line); color: var(--muted-3) !important; cursor: not-allowed; }
.plan--highlight .plan__cta--disabled { background: rgba(255, 255, 255, 0.25); color: rgba(255, 255, 255, 0.8) !important; }
.plan__name-link, .plan__name-link:hover { color: inherit; text-decoration: none; }
.plan__name-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.plan__badge--accent { background: var(--pink); color: #fff; }
.plan__note { font-size: 13.5px; color: var(--muted-3); }

/* ---------- Страница на курс ---------- */
.course { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 56px; align-items: start; padding: 12px 0 8px; }
.course__main {
    position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 26px;
    background: linear-gradient(160deg, var(--purple), var(--blue));
}
.course__placeholder {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 120px; font-weight: 700; color: rgba(255, 255, 255, 0.85);
}
.course__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.course__thumb {
    width: 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden;
    background: var(--line); cursor: pointer; opacity: 0.75; transition: opacity .2s, border-color .2s;
}
.course__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.course__thumb:hover, .course__thumb.is-active { opacity: 1; border-color: var(--purple); }

.course__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.course__tags .plan__badge { margin-bottom: 0; }
.course__title {
    font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 42px); line-height: 1.1; letter-spacing: -0.035em;
    font-weight: 700; margin: 0 0 12px;
}
.course__sub { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0 0 8px; }
.course__facts {
    display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none;
    font-size: 14.5px; color: var(--text-2);
}
.course__facts strong { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-3); font-weight: 600; }
.course__features { margin: 22px 0 0; }
.course__buy { margin-top: 28px; }
.course__buy .notice { margin: 0 0 16px; max-width: none; text-align: left; }
.course__hint { font-size: 13.5px; line-height: 1.55; color: var(--muted-3); margin: 12px 0 0; }

/* Повторение на 60-дневната гаранция точно до CTA (course/cart/success) — само за индивидуалните
   планове, виж бележката в templates/course/show.html.twig за защо не важи за общите курсове. */
.trust-badge {
    display: inline-flex; align-items: center; gap: 7px;
    margin: 14px 0 0; padding: 9px 16px; border-radius: 999px;
    background: var(--pill); color: var(--purple);
    font-size: 13.5px; font-weight: 600;
}
.trust-badge::before { content: '✓'; }
.course__section { margin-top: 56px; }

.prose-block { font-size: 16.5px; line-height: 1.75; color: var(--muted); max-width: 780px; }
.course__lessons { margin: 0; padding: 0; list-style: none; max-width: 780px; counter-reset: lesson; }
.course__lessons li {
    display: flex; align-items: center; gap: 12px; padding: 14px 18px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 14px;
    counter-increment: lesson; font-size: 15px; color: var(--text-2);
}
.course__lessons li::before {
    content: counter(lesson); flex: none; width: 26px; height: 26px; border-radius: 50%;
    background: var(--pill); color: var(--purple); font-size: 12.5px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.course__lessons li span { flex: 1; }
.course__lessons li em { font-style: normal; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-3); }

/* ---------- Форми (въпросник, калкулатор) ---------- */
.field { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.field__label { display: block; padding: 0; margin: 0 0 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.field__hint { font-weight: 400; color: var(--muted-3); }
.field__error { margin-top: 6px; font-size: 13.5px; color: var(--magenta); }
.field__error[hidden] { display: none; }
.choice-list { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
    display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--line-3); border-radius: 14px;
    background: var(--bg-soft); font-size: 14.5px; color: var(--text-2); cursor: pointer;
}
.choice:has(input:checked) { border-color: var(--purple); background: var(--pill); color: var(--ink); }
.choice input { accent-color: var(--purple); margin: 0; }
.form__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form__submit-wide { display: block; width: 100%; max-width: 420px; border: none; cursor: pointer; text-align: center; }
.form__submit-wide:disabled, .cart-checkout:disabled { opacity: 0.6; cursor: not-allowed; }
.questionnaire { max-width: 780px; margin-top: 24px; padding: 34px; border: 1px solid var(--line); border-radius: 26px; background: #fff; }

/* ---------- Количка ---------- */
.cart-empty { padding: 48px 0; text-align: center; color: var(--muted); }
.cart-empty p { margin: 0 0 22px; font-size: 17px; }
.cart-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; }
.cart-item { display: flex; justify-content: space-between; gap: 24px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.cart-item__type {
    display: inline-block; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px;
    background: var(--pill); color: var(--purple); font-size: 12px; font-weight: 600;
}
.cart-item__name { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.cart-item__name:hover { color: var(--purple); }
.cart-item__warn { margin-top: 8px; font-size: 13.5px; color: var(--magenta); }
.cart-item__answers { margin-top: 10px; font-size: 14px; color: var(--text-2); }
.cart-item__answers summary { cursor: pointer; color: var(--purple); font-weight: 600; }
.cart-item__answers dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 12px 0; }
.cart-item__answers dt { color: var(--muted-3); }
.cart-item__answers dd { margin: 0; white-space: pre-line; }
.cart-item__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; text-align: right; }
.cart-item__price { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.cart-item__remove { padding: 0; border: 0; background: none; cursor: pointer; font-size: 13.5px; color: var(--muted-3); text-decoration: underline; }
.cart-item__remove:hover { color: var(--magenta); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 24px; margin-bottom: 20px; border-radius: 20px; background: var(--bg-soft); font-size: 16px; }
.cart-total strong { font-family: var(--font-display); font-size: 28px; letter-spacing: -0.03em; }
.cart-terms { margin: 20px 0 16px; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, 0.85); }
.cart-terms a { color: #fff; }
.cart-checkout { display: block; width: 100%; border: none; cursor: pointer; text-align: center; }

/* ---------- Чекаут: пътека, две колони, градиентна поръчкова карта ---------- */
.checkout-steps {
    display: flex; flex-wrap: wrap; align-items: center; gap: 7px;
    padding: 28px 0 8px; font-size: 13.5px; color: var(--muted-3);
}
.checkout-steps a { color: var(--muted-2); }
.checkout-steps a:hover { color: var(--blue); }
.checkout-steps__sep { color: var(--line-3); }
.checkout-steps__current { color: var(--ink); font-weight: 600; }
.checkout-steps__done { color: var(--purple); }
.checkout-steps__done::before { content: '✓ '; }

.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.checkout-layout__main { min-width: 0; }
.checkout-layout__aside { min-width: 0; }
@media (min-width: 1101px) {
    .checkout-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); gap: 40px; }
    .checkout-layout__main { order: 1; }
    .checkout-layout__aside { order: 2; }
    .order-summary--sticky { position: sticky; top: calc(var(--header-h) + 16px); }
}

.order-summary {
    color: #fff; padding: 30px 28px; border-radius: 26px;
    background: linear-gradient(140deg, var(--blue), var(--purple) 60%, var(--pink));
    box-shadow: 0 40px 70px -40px rgba(16, 67, 159, 0.7);
}
.order-summary__label { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.8; margin-bottom: 14px; }
.order-summary__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.order-summary__items li { display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; line-height: 1.4; }
.order-summary__items li span { color: rgba(255, 255, 255, 0.88); }
.order-summary__items li strong { font-family: var(--font-display); font-weight: 600; white-space: nowrap; }
.order-summary__total {
    display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
    margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 15px;
}
.order-summary__total strong { font-family: var(--font-display); font-size: 30px; letter-spacing: -0.03em; }
.order-summary__trust, .order-summary__secure { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, 0.85); }
.order-summary__secure { opacity: 0.75; }
.order-summary .btn-white.cart-checkout:disabled { opacity: 0.6; cursor: not-allowed; }

.status-card__items { list-style: none; margin: 0 0 18px; padding: 0; text-align: left; }
.status-card__items li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.status-card__items li strong { display: block; color: var(--ink); }

/* ---------- Калкулатор ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 32px; align-items: start; margin-bottom: 64px; }
.calc__form { padding: 34px; border: 1px solid var(--line); border-radius: 26px; background: #fff; }

.choice-list--stack { flex-direction: column; flex-wrap: nowrap; }
.choice--row { display: flex; width: 100%; padding: 13px 18px; gap: 12px; }
.choice__text { display: flex; flex-direction: column; gap: 1px; }
.choice__text strong { font-size: 14.5px; font-weight: 600; }
.choice__text small { font-size: 12.5px; color: var(--muted-3); }
.choice:has(input:checked) .choice__text small { color: var(--purple); }

.calc__empty {
    padding: 34px; border-radius: 26px; border: 1.5px dashed var(--line-3); background: var(--bg-soft);
    color: var(--muted-2); text-align: center;
}
.calc__empty .calc__label { color: var(--muted-3); }
.calc__big--ghost { color: var(--muted-3); }
.calc__empty-hint { margin: 0; font-size: 14px; line-height: 1.55; }

.calc__result {
    position: sticky; top: calc(var(--header-h) + 16px); padding: 34px; border-radius: 26px; color: #fff;
    background: linear-gradient(140deg, var(--blue), var(--purple) 60%, var(--pink));
    box-shadow: 0 40px 70px -40px rgba(16, 67, 159, 0.7);
    animation: calcReveal .45s cubic-bezier(.2, .7, .2, 1) both;
}
.calc__result[hidden] { display: none; }
@keyframes calcReveal { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .calc__result { animation: none; } }
.calc__label { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
.calc__big { font-family: var(--font-display); font-size: clamp(44px, 6vw, 68px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; margin: 8px 0 18px; }
.calc__big small { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; opacity: 0.85; }
.calc__warning { margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; background: rgba(22, 24, 58, 0.35); font-size: 13.5px; line-height: 1.5; }
.calc__warning[hidden] { display: none; }
.calc__stats { display: grid; gap: 10px; margin: 0 0 18px; }
.calc__stats div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.25); font-size: 14.5px; }
.calc__stats dt { opacity: 0.85; }
.calc__stats dd { margin: 0; font-weight: 700; }

.calc__macrobar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; margin-bottom: 14px; background: rgba(255, 255, 255, 0.16); }
.calc__macrobar-seg--protein { background: #fff; }
.calc__macrobar-seg--carbs { background: var(--pink-soft); }
.calc__macrobar-seg--fat { background: rgba(255, 255, 255, 0.4); }
.calc__macros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.calc__macros div { padding: 14px 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.16); text-align: center; font-size: 13px; }
.calc__macros strong { display: block; font-family: var(--font-display); font-size: 24px; letter-spacing: -0.03em; }
.calc__macros span { display: block; margin-top: 2px; opacity: 0.85; }
.calc__dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-bottom: 6px; }
.calc__dot--protein { background: #fff; }
.calc__dot--carbs { background: var(--pink-soft); }
.calc__dot--fat { background: rgba(255, 255, 255, 0.4); }
.calc__note { margin: 0 0 22px; font-size: 12.5px; line-height: 1.5; opacity: 0.8; }
.calc__result .btn-white { padding: 14px 28px; font-size: 15px; }
.btn-white--on-light { background: #fff; color: var(--blue); }

.article { max-width: 780px; }
.article p, .article li { font-size: 16.5px; line-height: 1.75; color: var(--muted); }
.article ul { padding-left: 22px; margin: 0 0 16px; }
.article__h { font-family: var(--font-display); font-size: 18px; letter-spacing: -0.02em; font-weight: 600; margin: 28px 0 8px; color: var(--ink); }
.article__cta { margin-top: 44px; padding: 32px; border-radius: 26px; background: var(--bg-lilac); border: 1px solid var(--line-2); }
.article__cta .article__h { margin-top: 0; }
.article__cta .btn-hero { margin-top: 8px; }

.goal-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0 0 8px; }
.goal-stat { border-top: 2px solid var(--line-2); padding-top: 14px; }
.goal-stat__n { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -0.03em; color: var(--purple); }
.goal-stat__label { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--muted-2); }

/* ---------- Правни страници ---------- */
.legal { padding-top: 12px; }
.legal .h2 { margin-bottom: 8px; }
.legal__updated { font-size: 13.5px; color: var(--muted-3); margin: 0 0 32px; }
.legal__body { max-width: none; }
.legal__body h2 { font-family: var(--font-display); font-size: 20px; letter-spacing: -0.02em; font-weight: 600; color: var(--ink); margin: 36px 0 12px; }
.legal__body ul { padding-left: 22px; }
.legal__body li { margin-bottom: 8px; }
.legal__body table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; font-size: 14.5px; }
.legal__body th, .legal__body td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal__body th { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-3); }
.legal__body code { padding: 2px 6px; border-radius: 6px; background: var(--pill); font-size: 13px; }

/* ---------- Блог ---------- */
.blog-card__date { font-size: 13px; color: var(--muted-3); margin-bottom: 10px; }
.blog-card__more { margin-top: auto; font-size: 14.5px; font-weight: 600; color: var(--blue); }
.blog-card__more:hover { color: var(--purple); }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 48px 0 0; }
.pagination__page, .pagination__step {
    min-width: 42px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-3); background: #fff;
    font-size: 14.5px; font-weight: 600; color: var(--text-2); text-align: center; transition: color .2s, border-color .2s;
}
.pagination a:hover { border-color: var(--purple); color: var(--purple); }
.pagination__page.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }

.blog-post { padding-top: 12px; }
.blog-post__head { margin: 8px 0 32px; }
.blog-post__head .kicker { display: block; }
.blog-post__head .h2 { margin-bottom: 14px; }
.blog-post__lead { font-size: 18px; line-height: 1.6; color: var(--muted); margin: 0; }
.blog-post__cover { aspect-ratio: 16 / 10; height: auto; border-radius: 26px; margin: 0 0 40px; }
.blog-post__body { max-width: none; }
.blog-post__body h2 { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.02em; font-weight: 600; color: var(--ink); margin: 40px 0 12px; }
.blog-post__body ul, .blog-post__body ol { padding-left: 22px; }
.blog-post__body li { margin-bottom: 8px; }
.blog-post__body blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--purple); color: var(--ink); font-style: italic; }
.blog-post__body a { color: var(--blue); text-decoration: underline; }
.blog-post__back { display: inline-block; margin-top: 48px; }

/* ---------- Footer (разширен) ---------- */
.site-footer { flex-wrap: wrap; row-gap: 16px; }
.site-footer__legal { font-size: 13px; }
.site-footer__legal a { color: var(--muted-3); }

/* ---------- Банер за бисквитки (vanilla-cookieconsent) в цветовете на сайта ---------- */
#cc-main {
    --cc-font-family: var(--font-body);
    --cc-btn-primary-bg: var(--blue);
    --cc-btn-primary-border-color: var(--blue);
    --cc-btn-primary-hover-bg: var(--purple);
    --cc-btn-primary-hover-border-color: var(--purple);
    --cc-btn-secondary-bg: var(--pill);
    --cc-btn-secondary-color: var(--ink);
    --cc-btn-secondary-hover-bg: var(--line-2);
    --cc-btn-secondary-border-color: var(--pill);
    --cc-btn-secondary-hover-border-color: var(--line-2);
    --cc-link-color: var(--purple);
    --cc-modal-border-radius: 20px;
    --cc-btn-border-radius: 999px;
    --cc-toggle-on-bg: var(--purple);
}

/* ---------- Адаптивност ---------- */
@media (max-width: 1100px) {
    .container { padding: 0 28px; }
    .courses { padding: 64px 28px 72px; }
    .courses__grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; }
    .course { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .calc { grid-template-columns: minmax(0, 1fr); }
    .calc__result, .calc__empty { position: static; }
    .goal-stats { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

@media (max-width: 640px) {
    .container { padding: 0 20px; }
    .courses { padding: 52px 20px 56px; }
    .courses__head .h2 { font-size: 28px; }
    .h3 { font-size: 24px; }
    .questionnaire, .calc__form { padding: 22px 18px; border-radius: 22px; }
    .form__row--3 { grid-template-columns: minmax(0, 1fr); }
    .form__submit-wide, .cart-checkout { max-width: none; }
    .cart-item { flex-direction: column; gap: 14px; padding: 18px; }
    .cart-item__side { flex-direction: row; align-items: center; text-align: left; }
    .cart-item__answers dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .cart-item__answers dt { margin-top: 8px; }
    .calc__result, .calc__empty { padding: 24px 20px; }
    .course__thumb { width: 64px; height: 64px; }
    .legal__body h2 { font-size: 18px; }
    .blog-post__body h2 { font-size: 19px; }
    .blog-post__lead { font-size: 16.5px; }
    .blog-post__cover { border-radius: 20px; margin-bottom: 28px; }
}
