/* /certificates/ — 1:1 з макетом «A · Вітрина» та «A · Оформлення» (https://claude.ai/artifact/EMrXiYG4eYkGJF6oHSN1sE).
   Шапка й підвал — сайту; між ними — розмітка макета. Префікс ct-. */

.ct { background: #F0F0EF; color: #111; font-family: 'DM Sans', system-ui, sans-serif; font-size: 16px; line-height: 1.55; }
.ct *, .ct *::before, .ct *::after { box-sizing: border-box; }
.ct a { color: #1B5A9E; }
.ct a:hover { color: #2670BF; }
.ct [hidden] { display: none !important; }
.ct-wrap { padding-left: 48px; padding-right: 48px; } /* як на решті сайту: на всю ширину, поля 48px */

/* ── Типографіка й кнопки ── */
.ct-eyebrow { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #1B5A9E; }
.ct-eyebrow::before { content: ''; width: 28px; height: 2px; background: #1B5A9E; }
.ct-h1 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(40px, 5vw, 64px); line-height: 1.05; font-weight: 700; letter-spacing: -.01em; }
.ct-h1 i, .ct-buy-h1 i { color: #1B5A9E; }
.ct-lead { margin: 0; max-width: 520px; font-size: 18px; color: #4A4A4A; }
.ct-kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #1B5A9E; margin-bottom: 10px; }
.ct-h2 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: 40px; line-height: 1.1; font-weight: 700; }
.ct-h2--mb { margin-bottom: 32px; }
.ct-h2--faq { margin-bottom: 16px; }
.ct h2, .ct h3 { color: #111; }
.ct-h3 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: 30px; font-weight: 700; }
.ct-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 6px; font: 600 15px/1 'DM Sans', sans-serif; text-decoration: none; border: 1px solid #111; color: #111 !important; background: transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.ct-btn:hover { background: #111; color: #fff !important; }
.ct-btn--pri { background: #1B5A9E; border-color: #1B5A9E; color: #fff !important; }
.ct-btn--pri:hover { background: #2670BF; border-color: #2670BF; }
.ct-btn--sm { min-height: 44px; padding: 0 16px; }
.ct-box { background: #fff; border: 1px solid #E8E8E8; border-radius: 6px; }

/* ── Листівка ── */
.ct-card { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; background: var(--g-bg, #1B5A9E); color: var(--g-fg, #fff); transition: background .25s, color .25s; }
.ct-ring { position: absolute; border-radius: 50%; border: 1px solid var(--g-line, rgba(255,255,255,.22)); pointer-events: none; }
.ct-ring--a { right: -60px; top: -60px; width: 220px; height: 220px; }
.ct-ring--b { right: -10px; top: -10px; width: 120px; height: 120px; }
.ct-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ct-card-top b { font-family: 'Playfair Display', Georgia, serif; font-size: 24px; font-weight: 700; }
.ct-card-top span { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.ct-card-kick { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.ct-card-to { font-size: 13px; min-height: 1.4em; }
.ct-card-face { font-family: 'Playfair Display', Georgia, serif; font-size: 46px; font-weight: 700; line-height: 1.1; overflow-wrap: anywhere; }
.ct-card-face.is-set { font-size: 24px; }
.ct-card-code { font-family: ui-monospace, Menlo, monospace; font-size: 13px; letter-spacing: .08em; opacity: .9; }

/* ── Вітрина: герой ── */
.ct-hero { padding-top: 72px; padding-bottom: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 56px; align-items: center; }
.ct-hero-text { display: flex; flex-direction: column; gap: 22px; }
.ct-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ct-hero-cards { position: relative; height: 380px; }
.ct-hc { position: absolute; border-radius: 14px; }
.ct-hc--1 { left: 6%; top: 40px; width: 340px; height: 214px; background: #10233D; transform: rotate(-9deg); box-shadow: 0 20px 50px rgba(17,17,17,.18); }
.ct-hc--2 { right: 4%; top: 10px; width: 340px; height: 214px; background: #F2D7C9; transform: rotate(7deg); box-shadow: 0 20px 50px rgba(17,17,17,.14); }
.ct-hc--3 { left: 50%; top: 120px; margin-left: -190px; width: 380px; height: 240px; border-radius: 16px; padding: 26px; box-shadow: 0 30px 60px rgba(17,17,17,.25); }

/* ── Переваги ── */
.ct-perks { background: #fff; border-top: 1px solid #E8E8E8; border-bottom: 1px solid #E8E8E8; }
.ct-perks-in { padding-top: 28px; padding-bottom: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.ct-perk { display: flex; gap: 14px; align-items: flex-start; }
.ct-perk svg { width: 26px; height: 26px; flex: none; fill: none; stroke: #1B5A9E; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ct-perk b { display: block; }
.ct-perk span { font-size: 14px; color: #6E6E6E; }

/* ── Секції каталогу ── */
.ct-sec { padding-top: 80px; padding-bottom: 24px; }
.ct-sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.ct-sec-head p { margin: 0; max-width: 440px; color: #4A4A4A; }
.ct-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.ct-tile { display: flex; flex-direction: column; gap: 6px; padding: 24px 22px; min-height: 156px; background: #fff; border: 1px solid #E8E8E8; border-radius: 6px; text-decoration: none; color: #111 !important; transition: border-color .15s; }
.ct-tile:hover { border-color: #1B5A9E; }
.ct-tile--own { border-style: dashed; }
.ct-tile-hint { font-size: 13px; color: #6E6E6E; }
.ct-tile-val { margin-top: auto; font-family: 'Playfair Display', Georgia, serif; font-size: 34px; font-weight: 700; line-height: 1.15; }
.ct-tile-val--sm { font-size: 30px; }
.ct-tile-go { font-size: 14px; font-weight: 600; color: #1B5A9E; }
.ct-sets { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.ct-set { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #E8E8E8; border-radius: 6px; }
.ct-set:hover { border-color: #1B5A9E; }
.ct-set-bar { height: 10px; }
.ct-set-in { padding: 24px 22px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.ct-set-tag { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: #E8F0FA; color: #1B5A9E; }
.ct-set h3 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: 24px; line-height: 1.2; }
.ct-set ul { margin: 0; padding: 0 0 0 18px; color: #4A4A4A; font-size: 15px; display: flex; flex-direction: column; gap: 4px; }
.ct-set-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid #E8E8E8; }
.ct-set-foot b { font-size: 20px; }
.ct-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.ct-steps .ct-box { padding: 28px 24px; }
.ct-step-n { font-family: 'Playfair Display', Georgia, serif; font-size: 44px; color: #1B5A9E; line-height: 1; }
.ct-steps h3 { margin: 14px 0 6px; font: 700 19px/1.3 'DM Sans', sans-serif; letter-spacing: 0; }
.ct-steps p, .ct-ways p { margin: 0; color: #4A4A4A; font-size: 15px; }
.ct-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px; }
.ct-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ct-ways .ct-box { padding: 20px; }
.ct-ways p { margin-top: 6px; font-size: 14px; color: #6E6E6E; }
.ct-balance { padding: 32px; align-self: start; display: flex; flex-direction: column; gap: 16px; }
.ct-balance p { margin: 0; color: #4A4A4A; font-size: 15px; }
.ct-balance-form { display: flex; flex-direction: column; gap: 6px; }
.ct-balance-form label { font-size: 13px; font-weight: 600; color: #6E6E6E; }
.ct-balance-row { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-balance-row input { flex: 1 1 220px; min-height: 48px; padding: 0 14px; border: 1px solid #D6D6D6; border-radius: 6px; font: 500 16px ui-monospace, Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; }
.ct-balance-res { margin: 0; padding: 14px 16px; border-radius: 6px; font-size: 14px; }
.ct-balance-res.is-ok { background: #E3F3EA; color: #1E7B45; }
.ct-balance-res.is-warn { background: #FBF0DC; color: #8A5100; }
.ct-balance-res.is-bad { background: #FBE6E4; color: #B4302A; }
.ct-faq-wrap { padding: 80px 48px 96px; }
.ct-faq-wrap > * { max-width: 900px; }
.ct-faq { border-bottom: 1px solid #D6D6D6; }
.ct-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 17px; }
.ct-faq summary::-webkit-details-marker { display: none; }
.ct-faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: #1B5A9E; }
.ct-faq[open] summary::after { content: '–'; }
.ct-faq p { margin: 0 0 20px; color: #4A4A4A; }

/* ── Оформлення ── */
.ct-buy { padding-top: 40px; padding-bottom: 80px; }
.ct-back { display: inline-block; margin-bottom: 18px; font-size: 15px; font-weight: 600; text-decoration: none; }
.ct-buy-h1 { margin: 0 0 28px; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(32px, 4vw, 46px); line-height: 1.1; font-weight: 700; }
.ct-form { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.ct-steps-col { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ct-sec-box { background: #fff; border: 1px solid #E8E8E8; border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.ct-step-h { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 700; font-family: 'DM Sans', sans-serif; }
.ct-step-h span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #1B5A9E; color: #fff; font-size: 13px; }
.ct-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-opt { min-height: 48px; padding: 0 18px; border-radius: 6px; border: 1px solid #D6D6D6; background: #fff; color: #111; font: 600 14px 'DM Sans', sans-serif; cursor: pointer; transition: background .12s, color .12s, border-color .12s; }
.ct-opt:hover { border-color: #1B5A9E; }
.ct-opt[aria-pressed="true"] { background: #1B5A9E; border-color: #1B5A9E; color: #fff; }
.ct-opt--amt { font-size: 16px; }
.ct-opt--line { border-color: #111; flex: none; }
.ct-kind { display: flex; flex-direction: column; gap: 14px; }
.ct-amounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; }
.ct-own { max-width: 300px; }
.ct-lbl { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: #5A5A5A; }
.ct-lbl-n { font-weight: 400; }
.ct-in { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #D6D6D6; border-radius: 6px; background: #fff; font: 400 16px 'DM Sans', sans-serif; color: #111; }
.ct-in:focus { outline: 2px solid #1B5A9E; outline-offset: 1px; }
textarea.ct-in { resize: vertical; }
.ct-setpick { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 6px; border: 1px solid #E0E0E0; background: #fff; text-align: left; cursor: pointer; font: inherit; color: #111; }
.ct-setpick small { display: block; font-size: 14px; color: #5A5A5A; }
.ct-setpick[aria-pressed="true"] { border-color: #1B5A9E; background: #E8F0FA; }
.ct-setpick > b { flex: none; }
.ct-designs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.ct-design { padding: 8px; border-radius: 10px; border: 2px solid #E8E8E8; background: #fff; cursor: pointer; font: inherit; color: #111; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.ct-design[aria-pressed="true"] { border-color: #1B5A9E; }
.ct-design-sw { display: block; height: 78px; border-radius: 7px; background: var(--g-bg); position: relative; overflow: hidden; }
.ct-design-sw b { position: absolute; left: 10px; bottom: 8px; font-family: 'Playfair Display', Georgia, serif; font-size: 13px; color: var(--g-fg); }
.ct-ring--s { right: -20px; top: -20px; width: 70px; height: 70px; }
.ct-design-name { font-size: 14px; font-weight: 600; }
.ct-gift { display: flex; flex-direction: column; gap: 16px; }
.ct-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.ct-grid--3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ct-grid--date { grid-template-columns: repeat(auto-fit, minmax(180px, 220px)); }
.ct-info { margin: 0; padding: 12px 14px; border-radius: 6px; background: #E8F0FA; color: #1B5A9E; font-size: 14px; }
.ct-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.ct-check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: #1B5A9E; }
.ct-sub { margin: -8px 0 0; font-size: 14px; color: #5A5A5A; }
.ct-hp { position: absolute; left: -9999px; }
.ct-note { padding: 20px; }

.ct-aside { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 96px; }
.ct-card--live { aspect-ratio: 1.586; border-radius: 16px; padding: 24px; box-shadow: 0 24px 50px rgba(17,17,17,.18); }
.ct-card--live .ct-card-top b { font-size: 22px; }
.ct-card--live .ct-card-face { font-size: 40px; }
.ct-card--live .ct-card-face.is-set { font-size: 24px; }
.ct-card--live .ct-card-code { font-size: 12px; }
.ct-sum { background: #fff; border: 1px solid #E8E8E8; border-radius: 6px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.ct-sum dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 15px; }
.ct-sum dt { color: #5A5A5A; }
.ct-sum dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.ct-sum dd[data-sum="item"] { font-weight: 600; }
.ct-coupon { display: flex; gap: 8px; }
.ct-coupon .ct-in { flex: 1; }
.ct-coupon-msg { margin: -6px 0 0; font-size: 13px; color: #1E7B45; }
.ct-coupon-msg.is-bad { color: #B4302A; }
.ct-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid #E8E8E8; }
.ct-total span { font-weight: 600; }
.ct-total b { font-family: 'Playfair Display', Georgia, serif; font-size: 30px; }
.ct-sum > .ct-lbl { margin: 0; }
.ct-gws { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ct-gw { min-height: 56px; border-radius: 6px; border: 2px solid #E8E8E8; background: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 6px; }
.ct-gw:has(input:checked) { border-color: #1B5A9E; background: #E8F0FA; }
.ct-gw input { position: absolute; opacity: 0; pointer-events: none; }
.ct-gw:focus-within { outline: 2px solid #1B5A9E; outline-offset: 2px; }
.ct-gw img { height: 18px; width: auto; margin: 4px 0 2px; }
.ct-gw span { font-size: 12px; color: #5A5A5A; }
.ct-agree { font-size: 14px; color: #3A3A3A; }
.ct-err { margin: 0; padding: 10px 12px; border-radius: 6px; background: #FBE6E4; color: #B4302A; font-size: 14px; }
.ct-pay { width: 100%; }
.ct-pay.is-busy { opacity: .7; pointer-events: none; }
.ct-fine { margin: 0; font-size: 13px; color: #5A5A5A; text-align: center; }

@media (max-width: 900px) {
  .ct-wrap, .ct-faq-wrap { padding-left: 16px; padding-right: 16px; }
  .ct-hero { padding-top: 40px; gap: 24px; }
  .ct-hero-cards { height: 300px; }
  .ct-hc--1, .ct-hc--2 { width: 230px; height: 145px; }
  .ct-hc--3 { width: 300px; height: 190px; margin-left: -150px; top: 90px; padding: 20px; }
  .ct-hc--3 .ct-card-face { font-size: 36px; }
  .ct-sec { padding-top: 56px; }
  .ct-h2 { font-size: 32px; }
  .ct-ways { grid-template-columns: 1fr; }
  .ct-balance, .ct-sec-box { padding: 20px 16px; }
  .ct-aside { position: static; }
  .ct-faq-wrap { padding-top: 56px; padding-bottom: 64px; }
}

/* Поля — як у макеті: білі (тема фарбує email/tel/number у сірий), отримувач — 2×2 */
.ct .ct-in, .ct .ct-balance-row input { background: #fff !important; box-shadow: none; }
.ct-gift > .ct-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) { .ct-gift > .ct-grid, .ct-grid--3 { grid-template-columns: 1fr; } }

/* Кнопки сайту (btn-primary / btn-outline з main.css) усередині сторінки */
.ct .btn-primary, .ct .btn-outline { text-decoration: none; }
.ct .btn-outline { color: #111; }
.ct-btn--sm { padding: 12px 20px; }
.ct-coupon-btn { padding: 12px 18px; flex: none; }
.ct-balance-row .btn-primary { padding: 13px 26px; }
.ct-set-foot .btn-primary { padding: 12px 22px; }
@media (max-width: 900px) {
  .ct-wrap { padding-left: 20px; padding-right: 20px; }
  .ct-faq-wrap { padding: 56px 20px 64px; }
  .ct-actions { flex-direction: column; align-items: stretch; }
  .ct-actions .btn-primary, .ct-actions .btn-outline, .ct-balance-row .btn-primary, .ct-set-foot .btn-primary { width: 100%; }
  .ct-set-foot { flex-direction: column; align-items: stretch; }
  .ct-balance-row input { flex-basis: 100%; }
}
.ct a.btn-primary, .ct a.btn-primary:hover, .ct .btn-primary { color: #fff; }
.ct a.btn-outline:hover { color: #1B5A9E; }
.ct-tile-val { font-size: clamp(26px, 2.3vw, 34px); white-space: nowrap; }
.ct-tile-val.ct-tile-val--sm { white-space: normal; overflow-wrap: break-word; } /* «Своя сума» / «Your own amount» — у два рядки, а не за межі плитки */
.ct-sets { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.ct-gw { gap: 6px; padding: 10px; min-height: 72px; }
.ct-gw .gw-logo { height: 18px; width: auto; }
.gw-cards { display: flex; gap: 8px; align-items: center; justify-content: center; }
.gw-cards img { height: 14px; width: auto; filter: brightness(0); opacity: .55; }
.gw-test { font-size: 11px; color: #8A5100; }
/* «Як вручити» і «Перевірити сертифікат» — на одному рівні й однакової висоти */
.ct-split { align-items: stretch; }
.ct-split > div:first-child, .ct-ways { height: 100%; }
.ct-ways { grid-auto-rows: 1fr; }
.ct-balance { align-self: stretch; justify-content: center; }

/* Тема фарбує текст кнопок при наведенні в білий — фіксуємо кольори варіантів */
.ct .ct-setpick, .ct .ct-setpick:hover, .ct .ct-setpick:focus, .ct .ct-design, .ct .ct-design:hover, .ct .ct-design:focus { color: #111; }
.ct .ct-setpick:hover { background: #fff; border-color: #1B5A9E; }
.ct .ct-setpick[aria-pressed="true"], .ct .ct-setpick[aria-pressed="true"]:hover { background: #E8F0FA; border-color: #1B5A9E; color: #111; }
.ct .ct-design:hover { background: #fff; border-color: #1B5A9E; }
.ct .ct-opt:hover, .ct .ct-opt:focus { background: #fff; color: #111; }
.ct .ct-opt[aria-pressed="true"], .ct .ct-opt[aria-pressed="true"]:hover, .ct .ct-opt[aria-pressed="true"]:focus { background: #1B5A9E; border-color: #1B5A9E; color: #fff; }

/* ══════════════ Вітрина: посилання на сторінку набору ══════════════ */
.ct-set h3 a { color: #111; text-decoration: none; }
.ct-set h3 a:hover { color: #1B5A9E; }
.ct-set-more { font-size: 14px; font-weight: 700; text-decoration: none; }

/* ══════════════ Сторінка товару-сертифіката (макет A3) ══════════════ */
.cp-crumbs { padding-top: 24px; }
.cp-crumbs .ph-breadcrumb { margin-bottom: 0; }
.cp-main { padding-top: 20px; padding-bottom: 24px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.cp-col { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.cp-head { display: flex; flex-direction: column; gap: 12px; }
.cp-h1 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; font-weight: 700; color: #111; overflow-wrap: break-word; }
.cp-h1 i { color: #1B5A9E; }
.cp-lead { margin: 0; max-width: 700px; font-size: 17px; color: #4A4A4A; }
.cp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.cp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; background: #fff; border: 1px solid #E8E8E8; font-size: 13px; font-weight: 600; }
.cp-chip .da-ico { color: #1B5A9E; vertical-align: 0; }
.cp-stars { color: #B07800; letter-spacing: 1px; }

.cp-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; align-items: stretch; }
.cp-card { border-radius: 16px; padding: 26px; min-height: 300px; box-shadow: 0 20px 44px rgba(17,17,17,.14); }
.cp-card .ct-card-face.is-set { font-size: 26px; line-height: 1.2; }
.cp-inc { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.cp-h3 { margin: 0 0 4px; font: 700 17px 'DM Sans', sans-serif; }
.cp-line { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; padding-bottom: 9px; border-bottom: 1px dashed #E0E0E0; }
.cp-line a { color: #111; text-decoration-color: #C8C8C8; text-underline-offset: 3px; }
.cp-line a:hover { color: #1B5A9E; }
.cp-line-p { color: #5E5E5E; white-space: nowrap; }
.cp-line-inc { color: #1E7B45; font-weight: 600; white-space: nowrap; }
.cp-save { margin-top: auto; padding-top: 6px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: #5E5E5E; }
.cp-save b { color: #1E7B45; background: #E3F3EA; padding: 4px 10px; border-radius: 99px; }
.cp-body { padding: 24px 26px; font-size: 16px; line-height: 1.7; color: #2E2E2E; }
.cp-body p { margin: 0 0 12px; }
.cp-body p:last-child { margin-bottom: 0; }

.cp-buy { flex: 1 1 360px; min-width: 0; position: sticky; top: 100px; padding: 26px; display: flex; flex-direction: column; gap: 16px; border-radius: 10px; box-shadow: 0 8px 28px rgba(17,17,17,.06); }
.cp-price { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cp-price b { font-family: 'Playfair Display', Georgia, serif; font-size: 38px; line-height: 1; }
.cp-price s { font-size: 15px; color: #5E5E5E; }
.cp-buy-lbl { font-size: 16px; }
.cp-amts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ct .cp-amt { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 6px; font-size: 16px; font-weight: 700; color: #111; text-decoration: none; }
.ct .cp-amt[aria-current="true"] { border-color: #1B5A9E; box-shadow: inset 0 0 0 1px #1B5A9E; color: #1B5A9E; }
.ct .cp-amt:hover { border-color: #1B5A9E; color: #1B5A9E; }
.cp-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14px; color: #3A3A3A; }
.cp-ticks li { display: flex; gap: 10px; }
.cp-ticks li::before { content: '✓'; color: #1B5A9E; font-weight: 700; }
.ct .cp-btn { width: 100%; }
.ct .cp-btn.btn-primary, .ct .cp-btn.btn-primary:hover { color: #fff; }
.ct .cp-btn.btn-outline { color: #111; }
.ct .cp-btn.btn-outline:hover { color: #1B5A9E; }
.cp-pay, .cp-fine { margin: 0; font-size: 12px; color: #5E5E5E; text-align: center; }
.cp-fine { text-align: left; font-size: 13px; margin-top: -6px; }

.cp-for { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.cp-for .ct-box { padding: 22px; }
.cp-for b { display: block; margin-bottom: 6px; }
.cp-for p { margin: 0; color: #4A4A4A; font-size: 15px; }
.ct-h2 i { color: #1B5A9E; }

.cp-others { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; padding-bottom: 72px; }
.ct .cp-other { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-top: 3px solid #1B5A9E; color: #111; text-decoration: none; }
.ct .cp-other:hover { border-color: #1B5A9E; color: #111; }
.cp-other span { font-size: 14px; color: #5E5E5E; }
.cp-other-p { margin-top: 8px; }
.ct .cp-other--amt { border: 1px dashed #C8C8C8; }
.cp-other--amt .cp-other-p { color: #1B5A9E; }

.cp-sticky { display: none; }

@media (max-width: 900px) {
  .cp-crumbs { padding-top: 16px; }
  .cp-main { gap: 20px; }
  .cp-buy { position: static; }
  .cp-card { min-height: 220px; padding: 20px; }
  /* на телефоні — своя нижня панель «Купити» замість загальної «Записатись» */
  .single-product .sticky-mobile { display: none !important; }
  .cp-sticky { display: flex; position: sticky; bottom: 0; z-index: 50; gap: 12px; align-items: center; padding: 12px 20px; background: #fff; border-top: 1px solid #E8E8E8; box-shadow: 0 -8px 24px rgba(17,17,17,.08); }
  .cp-sticky b { display: block; font-size: 18px; }
  .cp-sticky span { font-size: 11px; color: #5E5E5E; }
  .ct .cp-sticky .btn-primary { flex: 1; color: #fff; padding: 14px 16px; }
  .cp-others { padding-bottom: 32px; }
}
.ct .ph-breadcrumb a { color: #767676; }
.ct .ph-breadcrumb a:hover { color: #1B5A9E; }
