/* Custom sections — extra types (split_hero, proof_pair, store_visit, steps_box, price_list).
   Colours come from the active theme: --primary, --accent, --surface, --border, --text, --text-muted.
   Phone first: every block is one column until there is room for two. */

.cs-section.cs-split_hero, .cs-section.cs-proof_pair, .cs-section.cs-store_visit, .cs-section.cs-steps_box, .cs-section.cs-price_list, .cs-section.cs-follow_row,
.cs-section .csx-hero, .cs-section .csx-proof, .cs-section .csx-visit, .cs-section .csx-steps, .cs-section .csx-prices, .cs-section .csx-band, .cs-section .csx-follow {
    --csx-a: var(--csx-accent, var(--primary, #8B1A2B));
    --csx-a-soft: #f6e9eb;
    --csx-a-deep: #6d1120;
    --csx-card: var(--surface, #fff);
    --csx-line: var(--border, #e7e2dc);
    --csx-muted: var(--text-muted, #7a7370);
    --csx-ink: var(--heading, var(--text, #1c1a1a));
    --csx-r: 20px;
}
@supports (color: color-mix(in srgb, red 50%, white)) {
    .cs-section.cs-split_hero, .cs-section.cs-proof_pair, .cs-section.cs-store_visit, .cs-section.cs-steps_box, .cs-section.cs-price_list, .cs-section.cs-follow_row,
    .cs-section .csx-hero, .cs-section .csx-proof, .cs-section .csx-visit, .cs-section .csx-steps, .cs-section .csx-prices, .cs-section .csx-band, .cs-section .csx-follow {
        --csx-a-soft: color-mix(in srgb, var(--csx-a) 9%, var(--csx-card));
        --csx-a-deep: color-mix(in srgb, var(--csx-a) 80%, #000);
    }
}

/* shared bits */
.csx-head { margin: 0 auto 26px; max-width: 720px; }
.csx-head--center { text-align: center; }
.csx-head--start { text-align: start; margin-inline: 0; }
.csx-eyebrow { color: var(--csx-a); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.csx-title { font-size: clamp(24px, 5.4vw, 38px); font-weight: 800; line-height: 1.25; color: var(--csx-ink); margin: 0; }
.csx-sub { color: var(--csx-muted); margin-top: 8px; font-size: 15px; line-height: 1.7; }
.csx-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.csx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 1.5px solid transparent; text-decoration: none; transition: transform .2s, background-color .2s, border-color .2s, color .2s; text-align: center; }
.csx-btn:hover { transform: translateY(-2px); }
.csx-btn--solid { background: var(--csx-a); color: #fff; }
.csx-btn--solid:hover { background: var(--csx-a-deep); color: #fff; }
.csx-btn--ghost { background: transparent; border-color: var(--csx-line); color: var(--csx-ink); }
.csx-btn--ghost:hover { border-color: var(--csx-a); color: var(--csx-a); }
.csx-btn--white { background: #fff; color: var(--csx-a); }
.csx-btn--white:hover { background: #f3e6c8; color: var(--csx-a-deep); }
.csx-btn--outline { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.csx-btn--outline:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.csx-btn--static { cursor: default; }
.csx-btn--static:hover { transform: none; border-color: var(--csx-line); color: var(--csx-ink); }
.csx-ic { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 22px; line-height: 1; }
.csx-link { display: inline-flex; gap: 6px; margin-top: 14px; color: var(--csx-a); font-weight: 800; font-size: 14px; text-decoration: none; }
.csx-link:hover { text-decoration: underline; }

/* ── split_hero ─────────────────────────────────────── */
.cs-section.cs-split_hero .cs-inner { padding-top: 28px; padding-bottom: 36px; }
.csx-hero { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; }
.csx-hero__text { min-width: 0; }
.csx-pill { display: inline-block; background: var(--csx-a-soft); color: var(--csx-a); padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; margin-bottom: 16px; }
.csx-hero__title { font-size: clamp(30px, 8.4vw, 56px); line-height: 1.18; font-weight: 800; color: var(--csx-ink); margin: 0 0 14px; overflow-wrap: anywhere; }
.csx-hero__title2 { display: block; color: var(--csx-a); }
.csx-hero__sub { color: var(--csx-muted); font-size: clamp(15px, 3.8vw, 17px); line-height: 1.8; margin: 0 0 24px; max-width: 520px; }
.csx-hero__media { position: relative; border-radius: 24px; overflow: hidden; background: var(--csx-card); border: 1px solid var(--csx-line); box-shadow: 0 20px 50px rgba(0,0,0,.08); aspect-ratio: 4 / 3.4; }
.csx-hero__media picture, .csx-hero__media img { display: block; width: 100%; height: 100%; }
.csx-hero__media img { object-fit: cover; object-position: center 35%; }
@media (max-width: 480px) {
    .csx-btns .csx-btn { flex: 1 1 100%; }
}
@media (min-width: 860px) {
    .cs-section.cs-split_hero .cs-inner { padding-top: 56px; padding-bottom: 60px; }
    .csx-hero { grid-template-columns: 1.08fr .92fr; gap: 48px; }
    .csx-hero--photo-start .csx-hero__media { order: -1; }
    .csx-hero__media { aspect-ratio: 4 / 5; max-height: 640px; }
    .csx-hero--nophoto { grid-template-columns: 1fr; }
}

/* ── split_hero, band layout ─────────────────────────── */
.cs-section.cs-split_hero:has(.csx-band) .cs-inner { max-width: none; padding: 0; }
.csx-band { position: relative; overflow: hidden; color: #fff; padding: 44px 0 48px;
    background: radial-gradient(120% 90% at 15% 10%, color-mix(in srgb, var(--csx-a) 82%, #fff) 0%, var(--csx-a) 45%, var(--csx-a-deep) 100%); }
.csx-band::before { content: ''; position: absolute; inset: auto -8% -30% auto; width: min(760px, 90vw); aspect-ratio: 2 / 1; opacity: .09; pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 260'%3E%3Cg fill='none' stroke='%23fff' stroke-width='10' stroke-linecap='round'%3E%3Ccircle cx='142' cy='130' r='96'/%3E%3Ccircle cx='370' cy='130' r='96'/%3E%3Cpath d='M238 116 Q256 104 274 116'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
[dir="rtl"] .csx-band::before { inset: auto auto -30% -8%; }
.csx-band__in { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.csx-band__text { min-width: 0; }
.csx-band__pill { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #f3e6c8; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; margin-bottom: 18px; }
.csx-band__title { font-size: clamp(32px, 8.6vw, 56px); line-height: 1.2; font-weight: 900; margin: 0 0 18px; color: #fff; text-wrap: balance; overflow-wrap: anywhere; }
.csx-band__title2 { display: inline-block; color: #e9d9a8; position: relative; padding-bottom: 14px; }
.csx-band__title2::after { content: ''; position: absolute; left: 50%; bottom: 0; width: min(160px, 45%); height: 16px; transform: translateX(-50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 16'%3E%3Cpath d='M6 4 Q60 22 114 4' fill='none' stroke='%23e9d9a8' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.csx-band__sub { color: rgba(255,255,255,.84); font-size: clamp(15px, 3.8vw, 18px); max-width: 520px; margin: 0 0 26px; line-height: 1.7; }
.csx-band__stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; max-width: 520px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; backdrop-filter: blur(6px); }
.csx-band__stats div { padding: 12px 4px; text-align: center; min-width: 0; }
.csx-band__stats div + div { border-inline-start: 1px solid rgba(255,255,255,.16); }
.csx-band__stats b { display: block; font-size: clamp(20px, 5.6vw, 30px); font-weight: 800; line-height: 1.1; color: #e9d9a8; }
.csx-band__stats span { display: block; font-size: 12px; color: rgba(255,255,255,.8); margin-top: 4px; }
/* phones: the fan is a swipeable row; text first so the offer is above the fold */
.csx-band__fan { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 4px 20px 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.csx-band__fan::-webkit-scrollbar { display: none; }
.csx-band__fan a { position: relative; flex: 0 0 62%; max-width: 240px; scroll-snap-align: start; background: #fff; color: var(--text, #1c1a1a); border-radius: 20px; overflow: hidden; box-shadow: 0 12px 30px rgba(40,0,10,.3); text-decoration: none; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.csx-band__fan img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: #efebe6; }
.csx-band__hb { padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.csx-band__hb b { font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.csx-band__hb i { font-style: normal; font-weight: 800; color: var(--csx-a); font-size: 14px; white-space: nowrap; }
.csx-band__tag { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 1; background: var(--csx-a); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
@media (max-width: 480px) { .csx-band .csx-btns .csx-btn { flex: 1 1 100%; } }
@media (min-width: 900px) {
    .csx-band { padding: 72px 0 80px; }
    .csx-band__in { grid-template-columns: 1fr 1fr; gap: 48px; padding: 0 24px; }
    .csx-band__stats { margin-top: 36px; } .csx-band__stats div { padding: 16px 10px; } .csx-band__stats span { font-size: 13px; }
    .csx-band__fan { position: relative; height: 460px; display: block; overflow: visible; margin: 0; padding: 0; }
    .csx-band__fan a { position: absolute; top: 50%; left: 50%; width: 250px; max-width: none; flex: none; box-shadow: 0 24px 60px rgba(40,0,10,.35); }
    .csx-band__fan a:nth-child(1) { transform: translate(-50%, -50%) translate(-150px, 18px) rotate(-9deg); z-index: 1; }
    .csx-band__fan a:nth-child(2) { transform: translate(-50%, -50%) translate(150px, 18px) rotate(9deg); z-index: 1; }
    .csx-band__fan a:nth-child(3) { transform: translate(-50%, -50%) translateY(-10px); z-index: 2; }
    .csx-band__fan a:nth-child(1):hover { transform: translate(-50%, -50%) translate(-160px, 0) rotate(-6deg); z-index: 3; }
    .csx-band__fan a:nth-child(2):hover { transform: translate(-50%, -50%) translate(160px, 0) rotate(6deg); z-index: 3; }
    .csx-band__fan a:nth-child(3):hover { transform: translate(-50%, -50%) translateY(-22px); }
}

/* ── follow_row ─────────────────────────────────────── */
.csx-follow { text-align: center; }
.csx-follow--boxed { background: var(--csx-card); border: 1px solid var(--csx-line); border-radius: var(--csx-r); padding: 26px 18px; }
.csx-follow .csx-head { margin-bottom: 20px; }
.csx-follow__row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.csx-follow--chips .csx-chip { cursor: default; font-size: 14px; font-weight: 800; padding: 8px 18px; background: var(--bg, #f5f3f0); }
.csx-follow--chips .csx-chip:last-child { border-style: dashed; color: var(--csx-a); }

/* ── proof_pair ─────────────────────────────────────── */
.csx-proof { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: stretch; }
.csx-proof__dark { background: var(--csx-a); color: #fff; border-radius: var(--csx-r); padding: 28px 22px; display: flex; flex-direction: column; justify-content: center; }
.csx-proof__big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; line-height: 1; justify-content: flex-start; }
.csx-proof__big span { font-size: clamp(40px, 11vw, 56px); font-weight: 800; letter-spacing: -.02em; }
.csx-proof__big small { font-size: 18px; font-weight: 700; opacity: .92; }
.csx-proof__dark p { opacity: .92; margin: 12px 0 0; line-height: 1.8; }
.csx-proof__ticks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.csx-proof__ticks li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.csx-proof__rate { background: var(--csx-card); border: 1px solid var(--csx-line); border-radius: var(--csx-r); padding: 26px 22px; display: flex; flex-direction: column; justify-content: center; color: var(--text, #1c1a1a); }
.csx-proof__score { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.csx-proof__score b { font-size: clamp(38px, 10vw, 48px); font-weight: 800; color: var(--csx-a); line-height: 1; }
.csx-stars { position: relative; display: inline-block; font-size: 20px; letter-spacing: 2px; color: #d9d4ce; line-height: 1; }
.csx-stars::before { content: '★★★★★'; position: absolute; inset-inline-start: 0; top: 0; width: var(--csx-fill, 100%); overflow: hidden; color: #e8a800; white-space: nowrap; }
.csx-stars span { visibility: visible; }
.csx-proof__rsub { color: var(--csx-muted); font-size: 13px; margin-top: 4px; }
.csx-proof__rate p { color: var(--csx-muted); font-size: 15px; margin: 12px 0 0; line-height: 1.8; }
.csx-proof__rtitle { font-size: 22px; font-weight: 800; margin: 0; color: var(--csx-ink); }
.csx-proof__rtitle + p { margin-top: 8px; }
.csx-proof__ask { font-size: 14px !important; margin-top: 18px !important; }
@media (max-width: 360px) { .csx-proof__ticks { grid-template-columns: 1fr; } }
@media (min-width: 860px) {
    .csx-proof { grid-template-columns: 1fr 1fr; gap: 26px; }
    .csx-proof--single { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; }
    .csx-proof__dark, .csx-proof__rate { padding: 36px; }
}

/* ── store_visit ────────────────────────────────────── */
.csx-visit { position: relative; overflow: hidden; background: var(--csx-a); color: #fff; border-radius: 24px; padding: 30px 20px; display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; scroll-margin-top: 90px; }
.csx-visit::before { content: ''; position: absolute; top: -50px; inset-inline-end: -50px; width: 200px; height: 200px; border: 2px solid rgba(255,255,255,.12); border-radius: 50%; pointer-events: none; }
.csx-visit__lead, .csx-visit__card { position: relative; min-width: 0; }
.csx-visit__title { font-size: clamp(26px, 6.4vw, 36px); font-weight: 800; margin: 0 0 12px; color: inherit; }
.csx-visit__sub { opacity: .92; margin: 0 0 22px; line-height: 1.8; }
.csx-visit__card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 16px; padding: 20px 18px; }
.csx-visit__ctitle { display: block; font-size: 16px; margin-bottom: 12px; }
.csx-visit__row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.6; margin-bottom: 10px; opacity: .96; overflow-wrap: anywhere; }
.csx-visit__row:last-child { margin-bottom: 0; }
.csx-visit__row a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 480px) { .csx-visit .csx-btn { flex: 1 1 100%; } }
@media (min-width: 860px) {
    .csx-visit { grid-template-columns: 1.15fr 1fr; gap: 40px; padding: 48px; }
    .csx-visit__card { padding: 26px; }
}

/* ── steps_box ──────────────────────────────────────── */
.csx-steps { background: var(--csx-card); border: 1px solid var(--csx-line); border-radius: var(--csx-r); padding: 26px 20px; display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; }
.csx-steps .csx-head { margin-bottom: 18px; }
.csx-steps__list { list-style: none; counter-reset: csx-step; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.csx-steps__list li { counter-increment: csx-step; display: flex; gap: 10px; align-items: baseline; font-size: 15px; line-height: 1.6; color: var(--text, #1c1a1a); }
.csx-steps__list li::before { content: counter(csx-step) '.'; color: var(--csx-a); font-weight: 800; min-width: 1.4em; }
[dir="rtl"] .csx-steps__list li::before { content: counter(csx-step, arabic-indic) '.'; }
.csx-steps__txt small { display: block; color: var(--csx-muted); font-size: 13px; }
.csx-steps__box { border: 2px dashed var(--csx-line); border-radius: 16px; padding: 26px 18px; text-align: center; background: var(--bg, #f5f3f0); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.csx-steps__icon { font-size: 38px; line-height: 1; margin-bottom: 6px; }
.csx-steps__box b { font-size: 16px; color: var(--csx-ink); }
.csx-steps__box span { color: var(--csx-muted); font-size: 13px; margin-bottom: 10px; }
@media (max-width: 480px) { .csx-steps__lead > .csx-btn { width: 100%; } }
@media (min-width: 860px) {
    .csx-steps { grid-template-columns: 1.2fr 1fr; gap: 40px; padding: 44px; }
    .csx-steps--nobox { grid-template-columns: 1fr; }
}

/* ── price_list ─────────────────────────────────────── */
.csx-prices { max-width: 960px; margin: 0 auto; }
.csx-chips { display: flex; gap: 8px; margin: 0 0 20px; padding-bottom: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.csx-chips::-webkit-scrollbar { display: none; }
@media (min-width: 860px) { .csx-chips { flex-wrap: wrap; justify-content: center; overflow: visible; } }
.csx-chip { flex: 0 0 auto; background: var(--csx-card); border: 1.5px solid var(--csx-line); border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 700; cursor: pointer; color: var(--text, #1c1a1a); font-family: inherit; white-space: nowrap; transition: .2s; }
.csx-chip:hover { border-color: var(--csx-a); }
.csx-chip.is-on { background: var(--csx-a); border-color: var(--csx-a); color: #fff; }
.csx-pgroup { background: var(--csx-card); border: 1px solid var(--csx-line); border-radius: 16px; margin-bottom: 14px; overflow: hidden; }
.csx-pgroup[hidden] { display: none; }
.csx-pgroup summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 16px 16px; cursor: pointer; background: linear-gradient(90deg, var(--csx-a-soft), transparent); }
[dir="rtl"] .csx-pgroup summary { background: linear-gradient(270deg, var(--csx-a-soft), transparent); }
.csx-pgroup summary::-webkit-details-marker { display: none; }
.csx-pgroup__name { flex: 1 1 auto; min-width: 0; font-size: 17px; font-weight: 800; color: var(--csx-ink); }
.csx-pgroup__name small { display: block; font-size: 12px; color: var(--csx-muted); font-weight: 600; margin-top: 2px; }
.csx-pgroup__from { font-size: 13px; color: var(--csx-a); font-weight: 800; white-space: nowrap; }
.csx-pgroup__chev { transition: transform .2s; color: var(--csx-muted); }
.csx-pgroup[open] .csx-pgroup__chev { transform: rotate(180deg); }
.csx-ptable { width: 100%; border-collapse: collapse; table-layout: auto; }
.csx-ptable th { text-align: start; font-size: 12px; color: var(--csx-muted); font-weight: 700; padding: 10px 14px; border-bottom: 1px solid var(--csx-line); background: var(--bg, #f5f3f0); }
.csx-ptable td { padding: 12px 14px; border-bottom: 1px solid var(--csx-line); font-size: 14px; color: var(--text, #1c1a1a); vertical-align: middle; }
.csx-ptable tbody tr:last-child td { border-bottom: none; }
.csx-ptable tbody tr:hover td { background: var(--csx-a-soft); }
.csx-ptable__n { font-weight: 700; overflow-wrap: anywhere; }
.csx-ptable__o { color: var(--csx-muted) !important; font-size: 13px !important; }
.csx-ptable__p { text-align: end !important; font-weight: 800; color: var(--csx-a) !important; white-space: nowrap; }
@media (max-width: 420px) {
    .csx-pgroup summary { flex-wrap: wrap; row-gap: 2px; }
    .csx-pgroup__name { flex-basis: calc(100% - 30px); }
    .csx-pgroup__from { order: 3; flex-basis: 100%; }
    .csx-pgroup__chev { order: 2; }
    .csx-ptable th, .csx-ptable td { padding-inline: 10px; }
}
@media (min-width: 860px) { .csx-pgroup summary { padding: 18px 22px; } .csx-ptable th, .csx-ptable td { padding-inline: 22px; } }
