/* Fluxul comun de cumpărare (docs/obiecte/FLUX_CUMPARARE.md): mobil întâi, pe tokenii kitului GA1 (temă deschisă / întunecată). */
.ga1-buy-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1040px; margin: 0 auto; padding: 16px 16px 0; }
.ga1-buy-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ga1-text); font-weight: 800; font-family: Urbanist, var(--ga1-font, sans-serif); font-size: 26px; line-height: 1; letter-spacing: -.01em; }
.ga1-buy-brand:hover { text-decoration: none; }
.ga1-buy-brand .ga1-logo { height: 30px; width: auto; }
.ga1-buy-login { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.ga1-buy.ga1-main { padding: 16px 16px 48px; }
.ga1-buy-steps { list-style: none; display: flex; gap: 4px; padding: 0; margin: 8px 0 20px; counter-reset: none; }
.ga1-buy-steps li { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; color: var(--ga1-text-muted); text-align: center; min-width: 0; }
.ga1-buy-steps li::before { content: ""; display: block; height: 4px; width: 100%; border-radius: 4px; background: var(--ga1-border); }
.ga1-buy-steps li.is-done::before, .ga1-buy-steps li.is-current::before { background: var(--ga1-accent); }
.ga1-buy-steps li.is-current { color: var(--ga1-text); font-weight: 600; }
.ga1-buy-step-number { display: none; }
.ga1-buy-head { margin-bottom: 20px; }
.ga1-buy-head h1 { font-size: 26px; }
.ga1-buy-layout { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.ga1-buy-main { min-width: 0; }
.ga1-buy-aside { display: flex; flex-direction: column; gap: 12px; }
.ga1-buy fieldset { border: 0; padding: 0; margin-inline: 0; min-width: 0; }
.ga1-buy-main > fieldset:first-child { margin-top: 0; }
.ga1-buy fieldset.ga1-card { padding: var(--ga1-space-6, 24px); border: 1px solid var(--ga1-border); }
.ga1-buy legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
/* Legenda în card: pe primul rând al cardului, nu pe chenar. */
.ga1-buy fieldset.ga1-card > legend { float: left; width: 100%; }
.ga1-buy fieldset.ga1-card > legend + * { clear: both; }
.ga1-buy-period { display: flex; flex-wrap: wrap; gap: 8px; }
.ga1-buy-period legend { width: 100%; }
.ga1-buy-toggle { flex: 1 1 140px; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--ga1-border); border-radius: var(--ga1-radius-sm, 8px); background: var(--ga1-bg); cursor: pointer; }
.ga1-buy-toggle:has(input:checked), .ga1-buy-plan:has(input:checked) { border-color: var(--ga1-accent); box-shadow: 0 0 0 1px var(--ga1-accent); }
.ga1-buy-plans, .ga1-buy-orgs, .ga1-buy-methods { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.ga1-buy-plan { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--ga1-border); border-radius: var(--ga1-radius, 12px); background: var(--ga1-bg); color: var(--ga1-text); cursor: pointer; min-width: 0; }
.ga1-buy-plan:hover { border-color: var(--ga1-accent); text-decoration: none; }
.ga1-buy-plan-custom { border-style: dashed; }
.ga1-buy-price { font-size: 22px; font-weight: 700; }
.ga1-buy-facts { margin: 4px 0 0; padding-left: 18px; color: var(--ga1-text-muted); font-size: 14px; }
.ga1-buy-link { font-weight: 600; display: inline-flex; min-height: 44px; align-items: center; }
.ga1-buy-number { max-width: 8rem; }
.ga1-buy-summary h2 { margin-bottom: 8px; }
.ga1-buy-lines { margin: 0; display: grid; gap: 8px; }
.ga1-buy-lines > div { display: flex; justify-content: space-between; gap: 12px; }
.ga1-buy-lines dt { color: var(--ga1-text-muted); flex: 0 1 auto; min-width: 4.5em; overflow-wrap: anywhere; }
.ga1-buy-lines dd { margin: 0; font-weight: 600; text-align: right; white-space: nowrap; flex: 0 0 auto; }
/* Datele firmei (QA 26.11.2026): numele / emailul lung se rup pe rânduri la 390 px, nu ies din card. */
.ga1-buy-lines--wrap dd { white-space: normal; overflow-wrap: anywhere; flex: 1 1 auto; min-width: 0; }
.ga1-buy-total { border-top: 1px solid var(--ga1-border); padding-top: 8px; }
.ga1-buy-total dt { color: var(--ga1-text); font-weight: 600; }
.ga1-buy-total dd { font-size: 20px; }
.ga1-buy-note { font-size: 13px; margin: 0; }
.ga1-buy-choices { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); align-content: start; }
.ga1-buy-choice h2 { margin-bottom: 6px; }
.ga1-buy-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ga1-buy-features li { padding: 4px 0; border-top: 1px solid var(--ga1-border); display: flex; flex-direction: column; gap: 2px; }
.ga1-buy-features li:first-child { border-top: 0; }
.ga1-buy-features .ga1-check { display: flex; align-items: flex-start; gap: 8px; min-height: 44px; }
.ga1-buy-features .ga1-check input { margin-top: 4px; }
.ga1-buy-feature-name { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.ga1-buy-feature-price { white-space: nowrap; color: var(--ga1-text-muted); font-size: 14px; }
.ga1-buy-features li.is-locked .ga1-buy-feature-name { color: var(--ga1-text-muted); }
.ga1-buy-features li.is-connection .ga1-buy-feature-name { font-weight: 600; }
.ga1-buy-added { color: var(--ga1-accent); }
.ga1-buy-feature-text { padding-left: 26px; font-size: 13px; }
.ga1-buy-onboarding { margin: 0; padding-left: 20px; display: grid; gap: 12px; }
.ga1-buy-onboarding li { display: flex; flex-direction: column; gap: 2px; }
.ga1-buy-onboarding a { min-height: 32px; display: inline-flex; align-items: center; }
.ga1-buy-open { min-height: 48px; font-size: 17px; }
.ga1-buy .ga1-btn { min-height: 44px; }
.ga1-buy textarea, .ga1-buy input[type="tel"] { width: 100%; }
/* Pagina Custom: grupurile de funcții restrânse (<details>), primul deschis. */
.ga1-buy-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ga1-buy details.ga1-buy-group { padding: 0; border: 1px solid var(--ga1-border); }
.ga1-buy-group > fieldset { padding: 0 16px 12px; }
.ga1-buy-group-summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 16px; cursor: pointer; border-radius: inherit; }
.ga1-buy-group-summary::-webkit-details-marker { display: none; }
.ga1-buy-group-summary::after { content: ""; flex: 0 0 auto; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: -4px 4px 0 0; transition: transform .15s ease; color: var(--ga1-text-muted); }
.ga1-buy-group[open] > .ga1-buy-group-summary::after { transform: rotate(-135deg); margin-top: 4px; }
.ga1-buy-group-summary:focus-visible { outline: 2px solid var(--ga1-accent); outline-offset: 2px; }
.ga1-buy-group-title { font-weight: 600; flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.ga1-buy-group-count { color: var(--ga1-text-muted); font-size: 13px; white-space: nowrap; }
.ga1-buy-group[open] > .ga1-buy-group-summary { border-bottom: 1px solid var(--ga1-border); border-bottom-left-radius: 0; border-bottom-right-radius: 0; margin-bottom: 4px; }
/* Bara fixă de jos pe telefon: totalul lunar + „Continuă”; pe ecranele mari rezumatul din dreapta o înlocuiește. */
.ga1-buy-stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--ga1-surface, var(--ga1-bg)); border-top: 1px solid var(--ga1-border); box-shadow: 0 -6px 18px rgba(0, 0, 0, .08); }
.ga1-buy-stickybar-total { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.ga1-buy-stickybar-label { font-size: 12px; color: var(--ga1-text-muted); }
.ga1-buy-stickybar-total strong { font-size: 20px; }
.ga1-buy-stickybar .ga1-btn { flex: 0 0 auto; min-width: 8.5rem; }
.ga1-buy-stickybar.is-hidden { transform: translateY(110%); }
.ga1-buy-stickybar { transition: transform .2s ease; }
.ga1-buy-page:has(.ga1-buy-stickybar) .ga1-buy.ga1-main { padding-bottom: 104px; }

/* Fără JavaScript: butonul „Actualizează prețul”; cu JavaScript prețul se actualizează singur. */
.js .ga1-buy-recalc-button { display: none; }

@media (min-width: 720px) {
    .ga1-buy-step-number { display: inline; }
    .ga1-buy-steps li { flex-direction: row; flex-wrap: wrap; justify-content: center; font-size: 13px; }
    .ga1-buy-steps li::before { flex-basis: 100%; }
    .ga1-buy-step-number::after { content: "."; }
    .ga1-buy-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ga1-buy-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ga1-buy-head h1 { font-size: 30px; }
}

@media (min-width: 1024px) {
    .ga1-buy-stickybar { display: none; }
    .ga1-buy-page:has(.ga1-buy-stickybar) .ga1-buy.ga1-main { padding-bottom: 48px; }
    .ga1-buy-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
    .ga1-buy-aside { position: sticky; top: 16px; }
    .ga1-buy-plans { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
}

/* Ghidul planului personalizat (25.11.2026): pașii 1 canalele · 2 nevoile · 3 verificarea; opțiunile ca dale bifabile. */
.ga1-buy-guide { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 14px 0 0; }
.ga1-buy-guide li { display: flex; }
.ga1-buy-guide li > a, .ga1-buy-guide li > span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px 6px 8px; border: 1px solid var(--ga1-border); border-radius: 999px; color: var(--ga1-text-muted); font-size: 14px; background: var(--ga1-bg); }
.ga1-buy-guide li.is-current > span { border-color: var(--ga1-accent); color: var(--ga1-text); font-weight: 600; box-shadow: 0 0 0 1px var(--ga1-accent); }
.ga1-buy-guide li.is-done > a { color: var(--ga1-text); }
.ga1-buy-guide li.is-done > a:hover { border-color: var(--ga1-accent); text-decoration: none; }
.ga1-buy-guide-number { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ga1-border); color: var(--ga1-text); font-weight: 700; font-size: 13px; }
.ga1-buy-guide li.is-current .ga1-buy-guide-number, .ga1-buy-guide li.is-done .ga1-buy-guide-number { background: var(--ga1-accent); color: var(--ga1-accent-contrast, #fff); }
.ga1-buy-guide-title { display: block; font-size: 20px; font-weight: 700; margin: 0 0 4px; }
.ga1-buy-options { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.ga1-buy-option { display: flex; align-items: flex-start; gap: 12px; min-height: 56px; padding: 14px 16px; border: 1px solid var(--ga1-border); border-radius: var(--ga1-radius-sm, 8px); background: var(--ga1-bg); cursor: pointer; }
.ga1-buy-option:hover { border-color: var(--ga1-accent); }
.ga1-buy-option:has(input:checked) { border-color: var(--ga1-accent); box-shadow: 0 0 0 1px var(--ga1-accent); }
.ga1-buy-option input { margin-top: 3px; width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--ga1-accent); }
.ga1-buy-option-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.ga1-buy-option-text small { font-size: 13px; }
.ga1-buy-guide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.ga1-buy-guide-actions .ga1-btn { min-width: 10rem; }
.ga1-buy-review p { margin: 0 0 8px; }
.ga1-buy-review-sub { font-weight: 600; }
.ga1-buy-review-list { margin: 0 0 10px; padding-left: 20px; display: grid; gap: 4px; }
@media (min-width: 720px) {
    .ga1-buy-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* „Setări cookie” (fereastra de acord, public/js/ga1-consent.js; docs/obiecte/MASURARE.md). */
.ga1-buy-cookies { margin: 32px 0 0; text-align: center; font-size: 14px; color: var(--ga1-text-muted); }
.ga1-buy-cookies .ga1-cookie-settings { min-height: 44px; text-decoration: underline; text-underline-offset: 2px; }
