/* ── Јавна почетна — нов визуелен јазик (02.10.2026) ─────────────────────────
   Префикс ch- ; важи само под .ch-page (PublicLayout, гостин на „/").
   Порталот (.dash-*) и лендингот на клуб (/clubs/{id}, .lp) не се допираат.
   Боја по дејност доаѓа inline преку --c / --ink / --tint (CategoryVisuals). */

.ch-page {
    --ch-ink: #0E1220;
    --ch-muted: #5B6170;
    --ch-soft: #A3A8B4;
    --ch-line: #E3E5E0;
    --ch-card: #FFFFFF;
    --ch-accent: #D4F24A;
    --ch-display: "Unbounded", "Onest", system-ui, sans-serif;
    --ch-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;

    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--ch-body);
    color: var(--ch-ink);
    background:
        radial-gradient(1000px 700px at 6% 0%, color-mix(in srgb, var(--ch-accent) 40%, transparent), transparent 70%),
        radial-gradient(900px 700px at 96% 4%, rgba(155, 123, 255, .22), transparent 70%),
        radial-gradient(1100px 900px at 20% 45%, rgba(61, 139, 255, .12), transparent 70%),
        radial-gradient(1000px 800px at 92% 62%, rgba(255, 122, 69, .14), transparent 70%),
        radial-gradient(1100px 900px at 30% 92%, rgba(46, 196, 160, .15), transparent 70%),
        linear-gradient(180deg, #F4F5F2 0%, #EEF0F6 100%);
}

.ch-page *, .ch-page *::before, .ch-page *::after { box-sizing: border-box; }
.ch-page a { color: inherit; text-decoration: none; }
.ch-page button { font: inherit; }
.ch-page :focus-visible { outline: 3px solid #3D8BFF; outline-offset: 2px; }

.ch-main { flex: 1 0 auto; }
.ch-wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px 24px; }
.ch-accent { color: var(--ch-accent); }
.ch-boot { min-height: 60vh; }

/* ── Заглавие ── */
.ch-top {
    max-width: 1280px; margin: 0 auto; width: 100%;
    padding: 20px 32px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.ch-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ch-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.ch-mark { width: 36px; height: 36px; flex: none; }
.ch-nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.ch-nav a:hover { color: #1D55B8; }
.ch-top-actions { display: flex; gap: 10px; align-items: center; }

/* ── Копчиња ── */
.ch-btn {
    appearance: none; border: 1px solid transparent; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 0 20px; border-radius: 999px;
    font-size: 14px; font-weight: 600; white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.ch-btn:hover { transform: translateY(-1px); }
.ch-btn:disabled { opacity: .65; cursor: wait; transform: none; }
.ch-btn--dark { background: var(--ch-ink); color: #FFFFFF !important; }
.ch-btn--dark:hover { box-shadow: 0 10px 24px -12px rgba(14, 18, 32, .6); }
.ch-btn--accent { background: var(--ch-accent); color: var(--ch-ink) !important; }
.ch-btn--outline { background: rgba(255, 255, 255, .8); border-color: #D5D8D1; color: var(--ch-ink); }
.ch-btn--outline.is-active { border-color: var(--ch-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ch-accent) 60%, transparent); }
.ch-btn--ghost-light { border-color: rgba(255, 255, 255, .28); color: #FFFFFF !important; }
.ch-btn--ghost-light:hover { background: rgba(255, 255, 255, .08); }
.ch-btn--lg { min-height: 52px; padding: 0 26px; font-size: 15px; }
.ch-btn--xl { min-height: 60px; padding: 0 30px; font-size: 16px; font-weight: 700; }

/* ── Hero ── */
.ch-hero {
    background: var(--ch-ink); color: #FFFFFF;
    border-radius: 36px; padding: 56px;
    display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch;
}
.ch-hero-copy { flex: 1 1 520px; display: flex; flex-direction: column; gap: 26px; justify-content: center; min-width: 0; }
.ch-badge {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08);
    font-size: 13px; font-weight: 500;
}
.ch-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ch-accent); }
.ch-h1 {
    margin: 0; font-family: var(--ch-display); font-weight: 600;
    font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -0.035em;
}
.ch-lead { margin: 0; font-size: 18px; line-height: 1.55; color: #C4C8D2; max-width: 540px; }

.ch-search {
    background: #FFFFFF; color: var(--ch-ink); border-radius: 22px; padding: 8px;
    display: flex; flex-wrap: wrap; gap: 4px; align-items: stretch;
}
.ch-field { flex: 1 1 200px; display: flex; flex-direction: column; gap: 2px; padding: 10px 16px; min-width: 0; }
.ch-field--sep { flex: 0 1 190px; border-left: 1px solid var(--ch-line); }
.ch-field > span { font-size: 12px; font-weight: 600; color: var(--ch-muted); }
.ch-field input, .ch-field select {
    border: 0; outline: 0; padding: 0; background: transparent; width: 100%;
    font: 500 15px var(--ch-body); color: var(--ch-ink);
}
.ch-field input::placeholder { color: #7A808C; }
.ch-search-btn {
    appearance: none; border: 0; cursor: pointer;
    border-radius: 16px; background: var(--ch-accent); color: var(--ch-ink);
    padding: 0 26px; min-height: 56px; display: inline-flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 700;
}
.ch-search-btn:hover { filter: brightness(.96); }

.ch-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: -10px; }
.ch-chips-label { font-size: 13px; color: var(--ch-soft); margin-right: 4px; }
.ch-chip {
    appearance: none; cursor: pointer; background: transparent; color: #FFFFFF;
    font-size: 13px; font-weight: 600; padding: 7px 14px; min-height: 34px;
    border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22);
}
.ch-chip:hover { background: rgba(255, 255, 255, .08); }

.ch-parent-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--ch-soft); }

.ch-bento { flex: 1 1 420px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ch-pillar {
    appearance: none; border: 0; cursor: pointer; text-align: left;
    position: relative; overflow: hidden; border-radius: 26px;
    background: var(--c); color: var(--ch-ink);
    padding: 24px; min-height: 200px;
    display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
    transition: transform .2s ease;
}
.ch-pillar:hover { transform: translateY(-3px); }
.ch-pillar-title { font-family: var(--ch-display); font-weight: 600; font-size: 21px; letter-spacing: -0.02em; line-height: 1.15; position: relative; }
.ch-pillar-sub { font-size: 14px; line-height: 1.4; max-width: 170px; position: relative; }
.ch-pillar-go {
    margin-top: auto; position: relative;
    width: 44px; height: 44px; border-radius: 50%; background: var(--ch-ink); color: #FFFFFF;
    display: inline-flex; align-items: center; justify-content: center;
}
.ch-pillar-icon { position: absolute; right: -14px; bottom: -22px; font-size: 128px; line-height: 1; opacity: .2; }

/* ── Секции ── */
.ch-section { padding-top: 88px; scroll-margin-top: 16px; }
.ch-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.ch-h2 { margin: 0; font-family: var(--ch-display); font-weight: 600; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.03em; }
.ch-sub { margin: 10px 0 0; font-size: 16px; color: var(--ch-muted); }
.ch-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ch-muted); }
.ch-eyebrow--ink { color: var(--ch-ink); }
.ch-note { margin: 24px 0 0; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .75); border: 1px solid var(--ch-line); font-size: 14px; color: var(--ch-muted); }
.ch-section-head + .ch-note { margin: -8px 0 20px; }
.ch-note--error { color: #A12121; background: #FFF1F1; border-color: #F5C2C2; }

/* ── Дејности ── */
.ch-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.ch-cat {
    --c: var(--ch-ink); --ink: var(--ch-ink); --tint: #EEF0F3;
    appearance: none; cursor: pointer; text-align: left;
    background: rgba(255, 255, 255, .72); border: 1px solid var(--ch-line); border-radius: 22px;
    padding: 16px; display: flex; gap: 14px; align-items: center; color: var(--ch-ink);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ch-cat:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(14, 18, 32, .35); }
.ch-cat.is-active { border-color: var(--ch-ink); box-shadow: 0 0 0 2px var(--ch-ink); background: #FFFFFF; }
.ch-cat-icon {
    flex: none; width: 52px; height: 52px; border-radius: 16px;
    background: var(--c); color: var(--ch-ink);
    display: inline-flex; align-items: center; justify-content: center; font-size: 22px;
}
.ch-cat--all .ch-cat-icon { background: var(--ch-ink); color: var(--ch-accent); }
.ch-cat-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ch-cat-name { font-weight: 700; font-size: 16px; }
.ch-cat-sub { font-size: 13px; color: var(--ch-muted); }

/* ── Картички на понуди ── */
.ch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.ch-card {
    position: relative; background: var(--ch-card); border: 1px solid var(--ch-line);
    border-radius: 26px; overflow: hidden; display: flex; flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
.ch-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(14, 18, 32, .28); }
.ch-card:focus-within { box-shadow: 0 0 0 3px #3D8BFF; }
.ch-card-cover { position: relative; height: 140px; background: var(--c); overflow: hidden; }
.ch-card-cover-icon { position: absolute; right: -10px; top: -26px; font-size: 170px; line-height: 1; color: var(--ch-ink); opacity: .16; }
.ch-card-tag, .ch-card-dist {
    position: absolute; top: 16px; display: inline-flex; align-items: center; gap: 6px;
    background: #FFFFFF; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
}
.ch-card-tag { left: 16px; color: var(--ink); max-width: calc(100% - 120px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-card-dist { right: 16px; color: var(--ch-ink); }
.ch-card-body { padding: 0 22px 22px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.ch-card-logo {
    position: relative; width: 64px; height: 64px; margin-top: -32px; margin-bottom: 4px;
    border-radius: 18px; background: #FFFFFF; border: 1px solid var(--ch-line);
    object-fit: contain; padding: 4px;
}
.ch-card-logo--initials {
    display: inline-flex; align-items: center; justify-content: center; padding: 0;
    font-family: var(--ch-display); font-weight: 700; font-size: 17px; color: var(--ink);
}
.ch-card-title { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.ch-stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ch-stretch:focus-visible { outline: none; }
.ch-card-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #3A3F4B; }
.ch-card-highlight { font-size: 13px; font-weight: 600; color: var(--ink); }
.ch-card-text { margin: 0; font-size: 14px; line-height: 1.5; color: #3A3F4B; }
.ch-card-foot {
    margin-top: auto; padding-top: 16px; border-top: 1px solid #ECEEE9;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.ch-price { display: flex; flex-direction: column; font-size: 18px; font-weight: 700; }
.ch-price small { font-size: 12px; font-weight: 500; color: var(--ch-muted); }
.ch-price em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--ch-muted); }
.ch-card-cta {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
    border-radius: 999px; background: var(--ch-ink); color: #FFFFFF; font-size: 14px; font-weight: 600; white-space: nowrap;
}

.ch-empty {
    padding: 48px 24px; text-align: center; color: var(--ch-muted);
    background: rgba(255, 255, 255, .7); border: 1px dashed #CBD0C6; border-radius: 26px;
}
.ch-empty i { font-size: 28px; }
.ch-empty p { margin: 10px 0 0; }

/* ── Родители ── */
.ch-parents {
    background: var(--ch-card); border: 1px solid var(--ch-line); border-radius: 36px;
    padding: 56px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center;
}
.ch-parents-copy { flex: 1 1 440px; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.ch-steps { list-style: none; margin: 6px 0 4px; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.ch-steps li { display: flex; gap: 16px; align-items: flex-start; }
.ch-steps strong { display: block; font-size: 17px; }
.ch-steps span:not(.ch-step-num) { display: block; margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--ch-muted); }
.ch-step-num {
    flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--ch-accent);
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--ch-display); font-weight: 700; font-size: 15px;
}

.ch-mock { flex: 1 1 400px; background: #F4F5F2; border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.ch-mock strong { display: block; font-size: 15px; }
.ch-mock span { font-size: 13px; color: var(--ch-muted); }
.ch-mock-head { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.ch-mock-head > div { flex-grow: 1; }
.ch-mock-head strong { font-size: 17px; }
.ch-mock-ava { width: 52px; height: 52px; border-radius: 50%; background: var(--ch-accent); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; color: var(--ch-ink) !important; }
.ch-mock-add { border: 1px solid #D5D8D1; background: #FFFFFF; border-radius: 999px; padding: 8px 14px; font-weight: 600; color: var(--ch-ink) !important; }
.ch-mock-row { background: #FFFFFF; border-radius: 20px; padding: 16px; display: flex; gap: 14px; align-items: center; }
.ch-mock-row > div { flex-grow: 1; }
.ch-mock-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--c); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; color: var(--ch-ink) !important; }
.ch-mock-pill { font-size: 12px !important; font-weight: 700; padding: 6px 10px; border-radius: 999px; }
.ch-mock-pill--ok { background: #DDF6EF; color: #0D7259 !important; }
.ch-mock-pill--wait { background: #FFF1D6; color: #8A5A00 !important; }
.ch-mock-pay { background: var(--ch-ink); border-radius: 20px; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ch-mock-pay span { color: var(--ch-soft); }
.ch-mock-pay strong { color: #FFFFFF; margin-top: 2px; }
.ch-mock-paybtn { background: var(--ch-accent); color: var(--ch-ink) !important; font-weight: 700; padding: 10px 18px; border-radius: 999px; font-size: 14px !important; }

/* ── Организации ── */
.ch-org {
    position: relative; overflow: hidden; border-radius: 36px; padding: 56px;
    background: linear-gradient(110deg, #FF7A45 0%, #FF8FB1 45%, #9B7BFF 100%);
    color: var(--ch-ink);
    display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap;
}
.ch-org-orbit { position: absolute; right: -90px; top: -150px; width: 420px; height: 420px; color: var(--ch-ink); opacity: .22; pointer-events: none; }
.ch-org-copy { position: relative; max-width: 660px; display: flex; flex-direction: column; gap: 14px; }
.ch-org-copy p { margin: 0; font-size: 18px; line-height: 1.5; font-weight: 500; }
.ch-org-title { margin: 0; font-family: var(--ch-display); font-weight: 700; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -0.035em; }
.ch-org-actions { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ch-org-link { font-size: 14px; font-weight: 700; text-decoration: underline !important; text-underline-offset: 4px; }

.ch-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 16px; }
.ch-feature {
    background: rgba(255, 255, 255, .72); border: 1px solid var(--ch-line); border-radius: 24px;
    padding: 24px; display: flex; flex-direction: column; gap: 8px;
}
.ch-feature i { font-size: 24px; }
.ch-feature strong { font-size: 17px; }
.ch-feature span { font-size: 14px; line-height: 1.55; color: var(--ch-muted); }

/* ── Подножје ── */
.ch-footer { margin-top: 96px; background: var(--ch-ink); color: #FFFFFF; border-radius: 40px 40px 0 0; }
.ch-footer-in { max-width: 1280px; margin: 0 auto; padding: 64px 32px 32px; display: flex; flex-direction: column; gap: 48px; }
.ch-footer-top { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.ch-footer-brand { flex: 1 1 280px; max-width: 360px; display: flex; flex-direction: column; gap: 16px; }
.ch-footer-brand p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ch-soft); }
.ch-footer-cols { flex: 2 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; font-size: 14px; }
.ch-footer-col { display: flex; flex-direction: column; gap: 12px; }
.ch-footer-col h3 { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ch-accent); }
.ch-footer-col a { color: #C4C8D2 !important; }
.ch-footer-col a:hover { color: #FFFFFF !important; }
.ch-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 24px;
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ch-soft);
}

/* ── Мобилно ── */
@media (max-width: 900px) {
    .ch-nav { display: none; }
    .ch-hero, .ch-parents, .ch-org { padding: 32px 24px; border-radius: 28px; }
    .ch-section { padding-top: 64px; }
}

@media (max-width: 600px) {
    .ch-wrap, .ch-top, .ch-footer-in { padding-left: 16px; padding-right: 16px; }
    .ch-top-actions .ch-btn--outline { display: none; }
    .ch-field--sep { border-left: 0; border-top: 1px solid var(--ch-line); flex-basis: 100%; }
    .ch-search-btn { flex: 1 1 100%; justify-content: center; }
    .ch-bento { gap: 10px; }
    .ch-pillar { min-height: 150px; padding: 18px; }
    .ch-pillar-title { font-size: 17px; }
    .ch-pillar-sub { display: none; }
    .ch-grid { grid-template-columns: minmax(0, 1fr); }
    .ch-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .ch-cat { flex-direction: column; align-items: flex-start; }
    .ch-footer { margin-top: 64px; border-radius: 28px 28px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
    .ch-page * { transition: none !important; }
}

/* ── Профил на клуб (/clubs/{id}, ClubProfile.razor) ─────────────────────── */
/* Страницата се црта во .dash-guest (заедничкиот гостински layout) — неговата лента и
   рамка се кријат кога внатре е новиот изглед; клубовите со сопствен HTML (.lp) не се допираат. */
.dash-guest:has(.ch-page) { background: none; }
.dash-guest:has(.ch-page) > .dash-guest-top { display: none; }
.dash-guest-main:has(> .ch-page) { max-width: none; padding: 0; margin: 0; }

.ch-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--ch-muted); margin: 4px 0 16px; }
.ch-crumbs a:hover { color: var(--ch-ink); }
.ch-crumbs [aria-current] { color: var(--ch-ink); font-weight: 600; }

.ch-cover {
    position: relative; overflow: hidden; height: 300px; border-radius: 36px;
    background-color: var(--c); background-size: cover; background-position: center;
}
.ch-cover-icon { position: absolute; right: -40px; top: -90px; font-size: 440px; line-height: 1; color: var(--ch-ink); opacity: .14; }
.ch-cover-year {
    position: absolute; left: 40px; bottom: 28px;
    font-family: var(--ch-display); font-weight: 700; font-size: 120px; line-height: .8; letter-spacing: -0.05em;
    color: var(--ch-ink); opacity: .12;
}
.ch-cover.has-image .ch-cover-year { color: #FFFFFF; opacity: .35; }

.ch-profile { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.ch-profile-main { flex: 1 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.ch-profile-head { display: flex; gap: 20px; align-items: flex-end; flex-wrap: wrap; margin-top: -60px; padding-left: 28px; position: relative; }
.ch-profile-logo {
    width: 124px; height: 124px; border-radius: 32px; background: #FFFFFF;
    border: 4px solid #F4F5F2; box-shadow: 0 12px 30px -16px rgba(14, 18, 32, .4);
    object-fit: contain; padding: 8px;
}
.ch-profile-logo--initials {
    display: inline-flex; align-items: center; justify-content: center; padding: 0;
    font-family: var(--ch-display); font-weight: 700; font-size: 34px; color: var(--ink);
}
.ch-profile-chips { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 8px; }
.ch-chip-tint, .ch-chip-ok {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 999px;
}
.ch-chip-tint { background: var(--tint); color: var(--ink); }
.ch-chip-ok { background: #DDF6EF; color: #0D7259; }
.ch-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.ch-profile-title { margin: 0; font-family: var(--ch-display); font-weight: 600; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -0.035em; }
.ch-profile-sub { margin: 10px 0 0; font-size: 16px; color: var(--ch-muted); }
.ch-profile-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 16px; font-size: 15px; color: #3A3F4B; }
.ch-profile-meta span { display: inline-flex; align-items: center; gap: 8px; }

.ch-tabs {
    align-self: flex-start; display: flex; flex-wrap: wrap; gap: 4px; padding: 6px;
    background: #FFFFFF; border: 1px solid var(--ch-line); border-radius: 999px;
}
.ch-tabs a { min-height: 40px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; }
.ch-tabs a:hover { background: #F4F5F2; }
.ch-tabs a.is-primary { background: var(--ch-ink); color: #FFFFFF; }

.ch-quote {
    margin: 0; padding: 28px 32px; background: #FFFFFF; border: 1px solid var(--ch-line); border-radius: 28px;
    font-family: var(--ch-display); font-weight: 500; font-size: 21px; line-height: 1.45; letter-spacing: -0.02em;
}
.ch-perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.ch-perk { background: #FFFFFF; border: 1px solid var(--ch-line); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; }
.ch-perk i { width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }

.ch-block { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 16px; }
.ch-h3 { margin: 0; font-family: var(--ch-display); font-weight: 600; font-size: 24px; letter-spacing: -0.02em; }
.ch-muted { margin: 0; font-size: 15px; color: var(--ch-muted); }
.ch-muted a { text-decoration: underline !important; text-underline-offset: 3px; }

.ch-plans { display: flex; flex-direction: column; gap: 12px; }
.ch-plan {
    background: #FFFFFF; border: 1px solid var(--ch-line); border-radius: 24px; padding: 22px 24px;
    display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.ch-plan.is-featured { border: 2px solid var(--ch-ink); }
.ch-plan-info { flex: 1 1 260px; display: flex; flex-direction: column; gap: 6px; }
.ch-plan-name { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 18px; }
.ch-plan-badge { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--ch-accent); }
.ch-plan-group { font-size: 14px; color: var(--ch-muted); }
.ch-plan ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: #3A3F4B; }
.ch-plan li { display: inline-flex; gap: 6px; align-items: center; }
.ch-plan-price { text-align: right; display: flex; flex-direction: column; }
.ch-plan-price strong { font-size: 24px; }
.ch-plan-price em { font-style: normal; font-size: 14px; color: var(--ch-muted); }
.ch-plan-price small { font-size: 12px; color: var(--ch-muted); }

.ch-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.ch-group {
    --g: var(--c, #D4F24A);
    display: flex; align-items: center; gap: 14px; padding: 14px 16px;
    background: #FFFFFF; border: 1px solid var(--ch-line); border-radius: 22px;
    transition: transform .25s cubic-bezier(.2,.7,.2,1), border-color .2s, box-shadow .25s;
}
.ch-group:hover { transform: translateY(-3px); border-color: #0E1220; box-shadow: 0 14px 30px -18px rgba(14,18,32,.35); }
.ch-group-ic {
    width: 48px; height: 48px; flex: none; border-radius: 15px; display: grid; place-items: center;
    background: var(--g); color: #0E1220; font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 19px;
    box-shadow: inset 0 0 0 1px rgba(14,18,32,.06);
}
.ch-group-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ch-group-txt strong { font-size: 15px; font-weight: 700; line-height: 1.25; }
.ch-group-txt small { color: var(--ch-muted); font-size: 13px; }

.ch-week { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.ch-day { background: #FFFFFF; border: 1px solid var(--ch-line); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.ch-day > strong { font-size: 14px; }
.ch-slot {
    --g: var(--c);
    border-radius: 12px; padding: 8px 10px; font-size: 12px; font-weight: 600; line-height: 1.35;
    background: color-mix(in srgb, var(--g) 16%, #FFFFFF); border-left: 3px solid var(--g);
    display: flex; flex-direction: column;
}
.ch-slot-time { font-weight: 700; }
.ch-slot small { font-weight: 500; color: var(--ch-muted); }

.ch-coaches { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.ch-coach { background: #FFFFFF; border: 1px solid var(--ch-line); border-radius: 22px; padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
.ch-coach strong { display: block; font-size: 16px; }
.ch-coach small { display: block; font-size: 13px; color: var(--ch-muted); margin-top: 2px; }
.ch-coach p { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: #3A3F4B; }
.ch-coach-photo { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--tint); }
.ch-coach-photo--initials { display: inline-flex; align-items: center; justify-content: center; font-family: var(--ch-display); font-weight: 700; color: var(--ink); }

.ch-map {
    min-height: 220px; border-radius: 28px; padding: 28px;
    background-color: #E6E9E2;
    background-image: linear-gradient(#D7DBD2 1px, transparent 1px), linear-gradient(90deg, #D7DBD2 1px, transparent 1px);
    background-size: 40px 40px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center;
}
.ch-map-pin { width: 56px; height: 56px; border-radius: 50%; background: var(--ch-ink); color: var(--ch-accent); display: inline-flex; align-items: center; justify-content: center; font-size: 24px; }
.ch-map-label { background: #FFFFFF; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; }

.ch-enroll {
    flex: 0 1 380px; position: sticky; top: 24px; margin-top: 32px;
    background: var(--ch-ink); color: #FFFFFF; border-radius: 32px; padding: 30px;
    display: flex; flex-direction: column; gap: 18px;
}
.ch-enroll-label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ch-accent); }
.ch-enroll-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ch-enroll-price small { font-size: 15px; color: var(--ch-soft); }
.ch-enroll-price strong { font-family: var(--ch-display); font-weight: 600; font-size: 42px; letter-spacing: -0.03em; }
.ch-enroll-price strong.is-text { font-size: 28px; }
.ch-enroll-price span { font-size: 15px; color: #C4C8D2; }
.ch-btn--block { width: 100%; min-height: 56px; border-radius: 18px; font-size: 16px; font-weight: 700; }
.ch-enroll-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: #C4C8D2; }
.ch-enroll-list li { display: flex; gap: 10px; align-items: flex-start; }
.ch-enroll-list i { color: var(--ch-accent); }
.ch-enroll-contact { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.ch-enroll-contact a { color: #C4C8D2 !important; display: inline-flex; gap: 8px; align-items: center; word-break: break-all; }
.ch-enroll-contact a:hover { color: #FFFFFF !important; }

.ch-register { background: #FFFFFF; border: 1px solid var(--ch-line); border-radius: 36px; padding: 48px; }
.ch-register-head { max-width: 680px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }

/* Слика на категорија (ако е прикачена) во плочката на почетната. */
.ch-cat-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

@media (max-width: 900px) {
    .ch-cover { height: 200px; border-radius: 28px; }
    .ch-cover-year { font-size: 72px; left: 24px; }
    .ch-profile-head { margin-top: -48px; padding-left: 16px; }
    .ch-profile-logo { width: 96px; height: 96px; border-radius: 26px; }
    .ch-enroll { position: static; margin-top: 0; flex-basis: 100%; }
    .ch-register { padding: 28px 20px; border-radius: 28px; }
}

/* Формата за регистрација (RegisterAccountForm) во новиот изглед. */
.ch-register .theme-label { font-size: 13px; font-weight: 600; color: var(--ch-ink); letter-spacing: 0; text-transform: none; }
.ch-register .theme-input {
    min-height: 52px; border-radius: 14px; border: 1px solid #D5D8D1; background: #F7F8F5;
    font: 500 15px var(--ch-body); color: var(--ch-ink); padding: 0 14px;
}
.ch-register .theme-input:focus { outline: none; border-color: var(--ch-ink); background: #FFFFFF; box-shadow: 0 0 0 3px color-mix(in srgb, var(--ch-accent) 70%, transparent); }
.ch-register .theme-hint, .ch-register .portal-checkline { color: var(--ch-muted); font-size: 13px; }
.ch-register .portal-btn {
    min-height: 56px; border-radius: 18px; border: 0; background: var(--ch-ink); color: #FFFFFF;
    font: 700 16px var(--ch-body); box-shadow: none; letter-spacing: 0; text-transform: none;
}
.ch-register .portal-btn:hover { background: #1B2236; color: #FFFFFF; }
