/* ═══════════════════════════════════════════════════════════════════════════
 *  Screen 22 — addon_selection (Doc slug: /get-started/addons)
 *
 *  Reuses Screen 01/03 shell (mz-wizard-card / mz-s01-* progress / mz-s01-back /
 *  mz-s03-h1 / mz-s03-lede / mz-wizard-lede).
 *
 *  Screen 22 specific blocks:
 *   - Plan chip ("Your plan: Pro • Wyoming" context reminder)
 *   - Addon list — flat checklist card (checkbox pseudo + name + desc + price)
 *   - Empty state (all-bundled, no addons available)
 *   - Sticky bottom bar — live Y1 total + count + Skip + Continue
 *
 *  RTL-safe via logical properties. Palette matches screen-01/03 slate/blue.
 *  Sticky bar padding-bottom on wizard grid so content isn't hidden behind it.
 * ═══════════════════════════════════════════════════════════════════════════ */

/* Screen wrapper gets bottom padding equal to sticky bar height so last
   list item doesn't get hidden behind fixed sticky bar. */
.mz-s22 {
    padding-block-end: 120px;
}

@media (min-width: 720px) {
    .mz-s22 {
        padding-block-end: 96px;
    }
}

/* ─── "Your setup" config card — light violet accent, canlı hero ───────
   Orhan 2026-08-27: "biraz soluk, canlandır" + "light menekşe background".
   Violet palette (violet-50 bg + violet-200 border + violet-700 title) —
   sayfada canlı fokal nokta, plan+config re-affirmation. Subtle inner
   shadow + gradient stripe top for premium finish. */
.mz-s22-config {
    position: relative;
    margin: 18px 0 20px;
    padding: 12px 16px;
    background: linear-gradient(180deg, #f5f3ff 0%, #ede9fe 100%);
    border: 1px solid #ddd6fe;
    border-radius: 14px;
    box-shadow: 0 2px 6px rgba(124, 58, 237, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

/* Top accent stripe — canlı violet gradient (2px). */
.mz-s22-config::before {
    content: '';
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6 0%, #a78bfa 50%, #c4b5fd 100%);
}

.mz-s22-config-title {
    margin: 0 0 8px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    color: #6d28d9;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: start;
}

.mz-s22-config-rows {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mz-s22-config-row {
    display: grid;
    grid-template-columns: 26px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    border-top: 1px dashed #ddd6fe;
}

.mz-s22-config-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.mz-s22-config-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: #7c3aed;
    flex-shrink: 0;
}

.mz-s22-config-label {
    font-size: 13px;
    font-weight: 500;
    color: #6b21a8;
    text-align: start;
}

.mz-s22-config-value {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 14.5px;
    font-weight: 700;
    color: #4c1d95;
    text-align: end;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.mz-s22-config-value-sub {
    display: block;
    margin-top: 2px;
    font-size: 11.5px;
    font-weight: 500;
    color: #7c3aed;
    letter-spacing: 0;
}

/* ─── Addon list heading ──────────────────────────────────────────────── */
.mz-s22-addons-heading {
    margin: 4px 0 12px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: 0.01em;
    text-align: start;
}

/* ─── Addon list — flat vertical checklist ────────────────────────────── */
.mz-s22-addon-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mz-s22-addon-item {
    position: relative;
}

/* Hide native checkbox — visual state via .mz-s22-addon-check pseudo. */
.mz-s22-addon-native {
    position: absolute;
    inset-inline-start: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* Card = full clickable label wrapping checkbox + check pseudo + body + price. */
.mz-s22-addon-card {
    display: grid;
    grid-template-columns: 24px 1fr auto;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}

.mz-s22-addon-card:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

/* Focus-visible via checkbox — label bubble sees it. */
.mz-s22-addon-native:focus-visible + .mz-s22-addon-check {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.22);
}

/* Selected state — canlı violet border + tinted background + lift. */
.mz-s22-addon-item.is-selected .mz-s22-addon-card {
    border-color: #7c3aed;
    background: linear-gradient(180deg, #faf5ff 0%, #f5f3ff 100%);
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.18), 0 1px 2px rgba(124, 58, 237, 0.08);
}

/* Pseudo checkbox — 24x24 square, checkmark svg inside. */
.mz-s22-addon-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    color: #ffffff;
    flex-shrink: 0;
    margin-top: 2px;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.mz-s22-addon-check svg {
    width: 14px;
    height: 14px;
    opacity: 0;
    transition: opacity 0.1s ease;
}

.mz-s22-addon-item.is-selected .mz-s22-addon-check {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    border-color: #7c3aed;
    box-shadow: 0 2px 4px rgba(124, 58, 237, 0.28);
}

.mz-s22-addon-item.is-selected .mz-s22-addon-check svg {
    opacity: 1;
}

/* Body — name + desc + hybrid sub. */
.mz-s22-addon-body {
    min-width: 0;
}

.mz-s22-addon-title {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
    text-align: start;
}

.mz-s22-addon-desc {
    margin-top: 4px;
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.45;
    text-align: start;
}

.mz-s22-addon-price-sub {
    margin-top: 4px;
    font-size: 11.5px;
    color: #94a3b8;
    line-height: 1.4;
    text-align: start;
    font-style: italic;
}

/* Price — right-aligned amount + suffix. */
.mz-s22-addon-price {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    text-align: end;
    padding-top: 2px;
    white-space: nowrap;
}

.mz-s22-addon-price .amt {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.mz-s22-addon-price .unit {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
}

/* ─── Reassurance note ──────────────────────────────────────────────── */
.mz-s22-reassurance {
    margin: 0 0 8px;
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.5;
    text-align: center;
}

/* ─── Empty state — plan bundles everything, no addons ─────────────── */
.mz-s22-empty {
    padding: 32px 20px;
    text-align: center;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
}

.mz-s22-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    background: #ffffff;
    border: 2px solid #16a34a;
    border-radius: 50%;
    color: #16a34a;
}

.mz-s22-empty-title {
    margin: 0 0 6px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #14532d;
    line-height: 1.3;
}

.mz-s22-empty-body {
    margin: 0;
    font-size: 13.5px;
    color: #166534;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════════
 *  Sticky bottom bar — live Y1 total + Skip + Continue
 *  Fixed position at viewport bottom on all viewports. Safe-area-inset
 *  for iOS notch. Higher z-index than page content, below any modal.
 * ═══════════════════════════════════════════════════════════════════ */
.mz-s22-sticky {
    position: fixed;
    inset-inline-start: 0;
    inset-inline-end: 0;
    inset-block-end: 0;
    z-index: 40;
    background: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);
    border-top: 1px solid #ddd6fe;
    box-shadow: 0 -4px 20px rgba(124, 58, 237, 0.10), 0 -1px 2px rgba(15, 23, 42, 0.04);
    padding-block-end: env(safe-area-inset-bottom);
}

.mz-s22-sticky-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 760px;
    margin: 0 auto;
    padding: 12px 16px;
}

/* Sticky info column — clickable full-area button opens detail sheet.
   Orhan 2026-08-27: "tıklanınca açılan modal". */
.mz-s22-sticky-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 4px 6px;
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    text-align: start;
    transition: background-color 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
    font: inherit;
    color: inherit;
}

.mz-s22-sticky-info:hover,
.mz-s22-sticky-info:focus-visible {
    background: #f1f5f9;
    outline: none;
}

.mz-s22-sticky-count {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.2;
    text-align: start;
}

/* Sticky bar dl — Screen 23 sticky-dl format parity (Pay today / Monthly /
   Y1 total / Y2 renews). Visual continuity Screen 22 → 23 arası. Backend
   snapshot SoT — frontend zero compute paint. */
.mz-s22-sticky-dl {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
    padding: 0;
}
.mz-s22-sticky-dl .row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.mz-s22-sticky-dl .row dt {
    font-size: 10.5px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}
.mz-s22-sticky-dl .row dd {
    font-size: 12.5px;
    font-weight: 700;
    color: #334155;
    margin: 0;
    line-height: 1.2;
    text-align: end;
}
/* Row 1 — Pay today: primary emphasis. */
.mz-s22-sticky-dl .row.primary dt {
    font-size: 10.5px;
}
.mz-s22-sticky-dl .row.primary dd {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}
/* Row 2 — Monthly bills: small sub-label. */
.mz-s22-sticky-dl .row.monthly dd small {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: #64748b;
    letter-spacing: normal;
    text-transform: none;
    margin-top: 1px;
}
/* Row 3 — Y1 total: secondary emphasis. */
.mz-s22-sticky-dl .row.y1-total dd {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
}
/* Row 4 — Y2 renewal note: full-width italic muted. */
.mz-s22-sticky-dl .row.renews {
    justify-content: flex-start;
}
.mz-s22-sticky-dl .row.renews .renews-text {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    font-style: italic;
    text-align: start;
}

/* HTML5 [hidden] attribute enforcement — class-level flex kuralları browser
   default `[hidden] { display: none }` selektörünü override eder (Screen 23
   pattern parity). */
.mz-s22-sticky [hidden],
.mz-s22-sticky-dl [hidden],
.mz-s22-sheet-line[hidden],
.mz-s22-sheet-lines [hidden] {
    display: none !important;
}

/* Tap hint — chevron + "Tap for full breakdown" */
.mz-s22-sticky-tap-hint {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    font-size: 10.5px;
    font-weight: 500;
    color: #7c3aed;
    line-height: 1.2;
    text-align: start;
}

.mz-s22-sticky-tap-hint svg {
    width: 10px;
    height: 10px;
    color: currentColor;
    flex-shrink: 0;
}

/* Actions column — stacked vertical, right-aligned. Orhan 2026-08-27:
   "Skip Continue üstüne + sağa daya, sol banda yer aç". Skip subtle link
   (top), Continue primary button (bottom) — visual hierarchy right-aligned. */
.mz-s22-sticky-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.mz-s22-sticky-skip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    color: #7c3aed;
    background: transparent;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.mz-s22-sticky-skip:hover,
.mz-s22-sticky-skip:focus-visible {
    color: #5b21b6;
    background: #f5f3ff;
    outline: none;
}

/* Continue — canlı violet gradient primary CTA (buy invitation). */
.mz-s22-sticky-continue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    letter-spacing: 0.01em;
    box-shadow: 0 3px 8px rgba(124, 58, 237, 0.32), 0 1px 2px rgba(124, 58, 237, 0.14);
    transition: box-shadow 0.15s ease, transform 0.08s ease, filter 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.mz-s22-sticky-continue:hover,
.mz-s22-sticky-continue:focus-visible {
    filter: brightness(1.08);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.38), 0 2px 4px rgba(124, 58, 237, 0.18);
    outline: none;
}

.mz-s22-sticky-continue:focus-visible {
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.28), 0 4px 12px rgba(124, 58, 237, 0.38);
}

.mz-s22-sticky-continue:active {
    transform: translateY(1px);
    filter: brightness(0.96);
}

.mz-s22-sticky-continue svg {
    width: 14px;
    height: 14px;
    color: currentColor;
    flex-shrink: 0;
}

/* RTL — arrow mirror in continue button. */
[dir="rtl"] .mz-s22-sticky-continue svg {
    transform: scaleX(-1);
}

/* ═══════════════════════════════════════════════════════════════════════
 *  Detail sheet (modal) — "Your setup breakdown"
 *  Sticky bar info tıklama → aç. Backdrop + centered card (desktop) OR
 *  bottom sheet (mobile ≤640px). RTL-safe via logical properties.
 * ═══════════════════════════════════════════════════════════════════ */
.mz-s22-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(15, 23, 42, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.mz-s22-sheet-backdrop[data-mz-sheet-open="1"] {
    opacity: 1;
    pointer-events: auto;
}

.mz-s22-sheet {
    position: fixed;
    z-index: 100;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.mz-s22-sheet[data-mz-sheet-open="1"] {
    opacity: 1;
    pointer-events: auto;
}

/* Desktop — centered card. */
@media (min-width: 641px) {
    .mz-s22-sheet {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -48%) scale(0.98);
        width: min(560px, calc(100vw - 32px));
        max-height: min(720px, calc(100vh - 64px));
        border-radius: 14px;
    }

    .mz-s22-sheet[data-mz-sheet-open="1"] {
        transform: translate(-50%, -50%) scale(1);
    }

    .mz-s22-sheet-grab {
        display: none;
    }
}

/* Mobile ≤640px — bottom sheet slide-up. */
@media (max-width: 640px) {
    .mz-s22-sheet {
        inset-inline-start: 0;
        inset-inline-end: 0;
        inset-block-end: 0;
        transform: translateY(100%);
        max-height: 88vh;
        border-radius: 14px 14px 0 0;
    }

    .mz-s22-sheet[data-mz-sheet-open="1"] {
        transform: translateY(0);
    }

    .mz-s22-sheet-grab {
        display: block;
        width: 40px;
        height: 4px;
        margin: 8px auto 0;
        background: #cbd5e1;
        border-radius: 999px;
        flex-shrink: 0;
    }
}

/* Header — title + close. */
.mz-s22-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px 12px;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.mz-s22-sheet-title {
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.mz-s22-sheet-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    color: #64748b;
    transition: background-color 0.15s ease, color 0.15s ease;
    flex-shrink: 0;
}

.mz-s22-sheet-close:hover,
.mz-s22-sheet-close:focus-visible {
    background: #f1f5f9;
    color: #0f172a;
    outline: none;
}

/* Body — scrollable content. */
.mz-s22-sheet-body {
    padding: 16px 20px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Config card inside sheet — reset outer margin (partial has 18px 0 20px),
   sheet body already applies gap. Compact spacing (padding + title +
   rows + row-padding) base .mz-s22-config'e taşındı — hem sayfa hem
   modal aynı compact görünür (Orhan 2026-08-27 spec). */
.mz-s22-sheet-body .mz-s22-config {
    margin: 0;
}

/* Body children — no shrink. Config kart addon listesi büyüdükçe shrink
   olup görsel olarak "kayboluyordu"; her section content-height sabit,
   body overflow-y:auto natural scroll handle eder. */
.mz-s22-sheet-body > * {
    flex-shrink: 0;
}

.mz-s22-sheet-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mz-s22-sheet-section-title {
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #4c1d95;
    opacity: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: start;
}

/* Config summary dl. */
.mz-s22-sheet-dl {
    margin: 0;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mz-s22-sheet-dl .row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0;
    border-top: 1px dashed #e2e8f0;
}

.mz-s22-sheet-dl .row:first-child {
    border-top: 0;
    padding-top: 0;
}

.mz-s22-sheet-dl dt {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    margin: 0;
    text-align: start;
}

.mz-s22-sheet-dl dd {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    text-align: end;
    letter-spacing: -0.01em;
}

.mz-s22-sheet-note {
    margin: 0;
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.5;
    font-style: italic;
    text-align: start;
}

/* Plan line. */
.mz-s22-sheet-plan-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
}

.mz-s22-sheet-plan-line .name {
    font-size: 14.5px;
    font-weight: 700;
    color: #1e40af;
    letter-spacing: -0.01em;
}

.mz-s22-sheet-plan-line .price {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    text-align: end;
}

/* "Your Order" line items list — wizard snapshot() mirror. */
.mz-s22-sheet-lines {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mz-s22-sheet-line {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

/* Plan + State line — subtle violet tint (pkg/state kind). */
.mz-s22-sheet-line[data-line-kind="pkg"],
.mz-s22-sheet-line[data-line-kind="state"] {
    background: #faf5ff;
    border-color: #e9d5ff;
}

.mz-s22-sheet-line-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.mz-s22-sheet-line-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
    text-align: start;
    letter-spacing: -0.005em;
}

.mz-s22-sheet-line-sub {
    font-size: 11.5px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.35;
    text-align: start;
}

/* Price column — 2-line stack right-aligned (Orhan 2026-08-27):
   amount (13.5px, sağa) üstte + unit (9px, sağa) altında. */
.mz-s22-sheet-line-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
    text-align: end;
    white-space: nowrap;
    flex-shrink: 0;
    padding-top: 1px;
    line-height: 1.15;
}

.mz-s22-sheet-line-price .amt {
    font-size: 13.5px;
    font-weight: 700;
    color: #4c1d95;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.mz-s22-sheet-line-price .unit {
    font-size: 10px;
    font-weight: 500;
    color: #7c3aed;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
    opacity: 0.85;
}

.mz-s22-sheet-addons-empty {
    margin: 0;
    padding: 12px;
    font-size: 13px;
    color: #64748b;
    text-align: center;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    font-style: italic;
}

/* Pricing section — grand totals emphasis. */
.mz-s22-sheet-pricing .mz-s22-sheet-price-dl {
    background: #f0f9ff;
    border-color: #bae6fd;
}

.mz-s22-sheet-pricing .row.grand dt {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.mz-s22-sheet-pricing .row.grand dd {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
}

/* Monthly bills row — wizard sb-row-monthly parity (rate + sub-line). */
.mz-s22-sheet-pricing .row.monthly {
    align-items: flex-start;
}

.mz-s22-sheet-pricing .row.monthly dt {
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    padding-top: 2px;
}

.mz-s22-sheet-pricing .row.monthly dd {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    text-align: end;
}

.mz-s22-sheet-pricing .row.monthly dd span[data-mz-sheet-monthly-amt] {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.mz-s22-sheet-pricing .row.monthly dd .sub {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    font-style: italic;
    line-height: 1.35;
    text-align: end;
}

/* Y1 total emphasis. */
.mz-s22-sheet-pricing .row.y1-total {
    padding-top: 6px;
    margin-top: 4px;
    border-top: 1px solid #bae6fd;
}

/* Y2 renewal row — full-width note, no dt/dd split. */
.mz-s22-sheet-pricing .row.renews {
    padding-top: 8px;
    margin-top: 4px;
    border-top: 1px solid #bae6fd;
    display: block;
}

.mz-s22-sheet-pricing .row.renews .renews-text {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    line-height: 1.4;
    text-align: start;
    font-style: italic;
    margin: 0;
}

/* Monthly row empty state — HTML5 [hidden] attribute browser default
   `display:none` .row.monthly `display:flex` specificity ile override oluyor.
   Explicit guard: monthly YOK ise satır gizli (Screen 22 sheet in addons +
   payment context'te ortak). */
.mz-s22-sheet-dl .row[hidden],
.mz-s22-sticky-dl .row[hidden] {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   "What's included in your plan" + "Your add-ons" sections (sheet payment
   context). Caller planFeatures + addonDetails pass ederse render — /addons
   page inherit scope, /payment explicit pass. Screen 23 plan_details_sheet
   visual mirror.
   ═══════════════════════════════════════════════════════════════════════════ */

.mz-s22-sheet-feats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mz-s22-sheet-feat {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.mz-s22-sheet-feat-check {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    margin-block-start: 2px;
}

.mz-s22-sheet-feat-body {
    flex: 1;
    min-width: 0;
}

.mz-s22-sheet-feat-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
}

.mz-s22-sheet-feat-desc {
    margin-block-start: 2px;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.mz-s22-sheet-addons {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mz-s22-sheet-addon {
    padding-inline: 14px;
    padding-block: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fafafa;
}

.mz-s22-sheet-addon-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.mz-s22-sheet-addon-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.mz-s22-sheet-addon-price {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: end;
    white-space: nowrap;
}

.mz-s22-sheet-addon-price .unit {
    font-size: 12px;
    font-weight: 500;
    color: #666;
    margin-inline-start: 2px;
}

.mz-s22-sheet-addon-sub {
    margin-block-start: 4px;
    font-size: 12px;
    color: #888;
}

.mz-s22-sheet-addon-desc {
    margin-block-start: 6px;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

/* Footer — Close + Continue. */
.mz-s22-sheet-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
    background: #ffffff;
}

.mz-s22-sheet-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    color: #64748b;
    background: transparent;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.mz-s22-sheet-btn-secondary:hover,
.mz-s22-sheet-btn-secondary:focus-visible {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
    outline: none;
}

/* Modal primary CTA — sticky bar Continue ile aynı violet gradient. */
.mz-s22-sheet-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    letter-spacing: 0.01em;
    box-shadow: 0 3px 8px rgba(124, 58, 237, 0.32), 0 1px 2px rgba(124, 58, 237, 0.14);
    transition: box-shadow 0.15s ease, transform 0.08s ease, filter 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
}

.mz-s22-sheet-btn-primary:hover,
.mz-s22-sheet-btn-primary:focus-visible {
    filter: brightness(1.08);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.38), 0 2px 4px rgba(124, 58, 237, 0.18);
    outline: none;
}

.mz-s22-sheet-btn-primary:focus-visible {
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.28), 0 4px 12px rgba(124, 58, 237, 0.38);
}

.mz-s22-sheet-btn-primary:active {
    transform: translateY(1px);
    filter: brightness(0.96);
}

[dir="rtl"] .mz-s22-sheet-btn-primary svg {
    transform: scaleX(-1);
}

/* ─── Mobile-first responsive tweaks ─────────────────────────────────── */
@media (max-width: 480px) {
    .mz-s22-addon-card {
        grid-template-columns: 22px 1fr auto;
        gap: 10px;
        padding: 12px 12px;
    }

    .mz-s22-addon-title {
        font-size: 14px;
    }

    .mz-s22-addon-desc {
        font-size: 12px;
    }

    .mz-s22-addon-price .amt {
        font-size: 14px;
    }

    .mz-s22-sticky-inner {
        padding: 10px 12px;
        gap: 8px;
    }

    .mz-s22-sticky-count {
        font-size: 11.5px;
    }

    /* Mobile — Pay today primary amt (Screen 23 mirror sizing). */
    .mz-s22-sticky-dl .row.primary dd {
        font-size: 16px;
    }
    .mz-s22-sticky-dl .row.y1-total dd {
        font-size: 12px;
    }

    .mz-s22-sticky-skip {
        padding: 3px 6px;
        font-size: 12px;
    }

    .mz-s22-sticky-continue {
        padding: 11px 18px;
        font-size: 14px;
    }
}

/* Rich price cents — MzPlatformBasketService::fmtRich() output
   ($1,489<sup class="mz-cents">.50</sup>). Wizard sidebar mirror
   (public/assets/mz/v2/wizard/wizard.css L2151). Screen 22/23/27/28
   pricing breakdown + Your order promo line item render. */
.mz-cents {
    font-size: 0.55em;
    font-weight: 600;
    vertical-align: super;
    line-height: 1;
    margin-left: 1px;
    letter-spacing: 0;
}
