/* The OZ260 courses on ficek.sk/skolenie-oz (docs/OZ_COURSES.md of the admin) - everything scoped to
   .oz so the rest of ficek.sk is untouched; the layout follows the handed-over prototype in the
   colours of ficek.sk: #112b5d, #18448c, green #18ae41 */

.oz {
    --oz-ink: #112b5d;
    --oz-text: #212529;
    --oz-blue: #18448c;
    --oz-green: #18ae41;
    --oz-green-dark: #118132;
    --oz-muted: #5b6776;
    --oz-line: #dee2e6;
    --oz-field: #c8d3e1;
    --oz-sky: #eef4fb;
    --oz-radius: 8px;
}

/* ---------- shared ---------- */
.oz h2, .oz h3 { color: var(--oz-ink); }
.oz-title { color: var(--oz-ink); font-size: clamp(32px, 4.4vw, 52px); line-height: 1.06; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 18px; }
.oz-title-small { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.12; }
.oz-law { display: inline-block; margin: 0 0 14px; color: var(--oz-blue); font-weight: 700; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; }
.oz-law a { color: inherit; }
.oz-lead { color: var(--oz-muted); font-size: 19px; line-height: 1.55; margin: 0 0 20px; max-width: 720px; }
.oz-soft { color: var(--oz-muted); }
.oz-fine { color: var(--oz-muted); font-size: 14px; margin: 10px 0 0; }
.oz-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 11px 24px; border: 2px solid var(--oz-green); border-radius: 6px; background: var(--oz-green); color: #fff !important; font-size: 17px; font-weight: 700; line-height: 1.2; text-decoration: none !important; cursor: pointer; touch-action: manipulation; transition: background .15s ease, border-color .15s ease; }
.oz-btn:hover, .oz-btn:focus-visible { background: var(--oz-green-dark); border-color: var(--oz-green-dark); }
.oz-btn-outline { background: #fff; border-color: var(--oz-ink); color: var(--oz-ink) !important; }
.oz-btn-outline:hover, .oz-btn-outline:focus-visible { background: var(--oz-sky); border-color: var(--oz-ink); }
.oz-btn-small { min-height: 40px; padding: 7px 16px; font-size: 15px; }
.oz-btn-full { width: 100%; }
.oz-link { color: var(--oz-blue); font-weight: 600; text-decoration: underline; font-size: 17px; }
.oz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 0 0 14px; }
.oz-back { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; margin: 4px 0 14px; color: var(--oz-blue); font-weight: 600; text-decoration: none; }
.oz-back:hover { text-decoration: underline; }
.oz-author { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; }
.oz-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.oz-author strong { display: block; color: var(--oz-ink); }
.oz-author span { color: var(--oz-muted); font-size: 15px; }

/* ---------- landing ---------- */
.oz-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 24px 0 24px; }
.oz-hero-media { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.oz-intro { position: relative; display: block; width: min(100%, 420px); aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; box-shadow: 0 14px 40px rgba(17, 43, 93, .22); background: var(--oz-ink); text-decoration: none; touch-action: manipulation; }
.oz-intro img { display: block; width: 100%; height: 100%; object-fit: cover; }
.oz-intro-content { position: absolute; inset: auto 0 0 0; display: grid; justify-items: start; gap: 2px; padding: 60px 22px 20px; background: linear-gradient(transparent, rgba(17, 43, 93, .92)); color: #fff; }
.oz-intro-content strong { font-size: 20px; }
.oz-intro-play { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 8px; border-radius: 50%; background: var(--oz-green); font-size: 30px; }
.oz-intro:hover .oz-intro-play, .oz-intro:focus-visible .oz-intro-play { background: var(--oz-green-dark); }
.oz-preview-link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--oz-blue); font-weight: 600; }
.oz-facts { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0 0 24px; padding: 16px 0 0; border-top: 1px solid rgba(17, 43, 93, .15); color: var(--oz-ink); }
.oz-facts span { display: inline-flex; align-items: center; gap: 10px; }
.oz-facts i { font-size: 22px; color: var(--oz-blue); }

.oz-section { padding: 28px 0 36px; }
.oz-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin: 0 0 18px; }
.oz-section-head h2, .oz-how h2 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; letter-spacing: -.01em; margin: 0 0 6px; }
.oz-section-head p { margin: 0; color: var(--oz-muted); font-size: 17px; }
.oz-search { position: relative; display: block; width: min(100%, 340px); margin: 0; }
.oz-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--oz-muted); }
.oz-search input { width: 100%; min-height: 46px; padding: 10px 14px 10px 40px; border: 1px solid var(--oz-field); border-radius: 6px; font-size: 16px; }
.oz-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.oz-filters button { min-height: 40px; padding: 7px 16px; border: 1px solid var(--oz-field); border-radius: 999px; background: #fff; color: var(--oz-ink); font-weight: 600; cursor: pointer; touch-action: manipulation; }
.oz-filters button[aria-pressed="true"] { background: var(--oz-ink); border-color: var(--oz-ink); color: #fff; }

.oz-course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.oz-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--oz-line); border-radius: var(--oz-radius); background: #fff; box-shadow: 0 1px 2px rgba(17, 43, 93, .06); }
.oz-card-body { display: flex; flex: 1 1 auto; flex-direction: column; padding: 16px 20px 20px; }
.oz-card[hidden] { display: none; }
.oz-card-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; margin: 0 0 10px; color: var(--oz-muted); font-size: 14px; }
.oz-card-meta i { color: var(--oz-blue); }
.oz-card h3 { font-size: 20px; font-weight: 700; line-height: 1.3; margin: 0 0 8px; }
.oz-card h3 a { color: var(--oz-ink); text-decoration: none; }
.oz-card h3 a:hover { text-decoration: underline; }
.oz-card p { flex: 1 1 auto; margin: 0 0 16px; color: var(--oz-text); }
.oz-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--oz-line); }
.oz-card-link { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; color: var(--oz-blue); font-weight: 600; }
.oz-card-foot strong { color: var(--oz-ink); font-size: 20px; }
.oz-empty { padding: 28px; border: 1px dashed var(--oz-field); border-radius: var(--oz-radius); text-align: center; color: var(--oz-muted); }

/* a band runs across the whole window although the page content sits in the column of the layout */
.oz-band { position: relative; width: 100vw; margin-left: calc(50% - 50vw); padding: 48px 0; }
.oz-band-tint { background: var(--oz-sky); border-top: 1px solid #d9e5f3; border-bottom: 1px solid #d9e5f3; }
.oz-bundle-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.oz-bundle { position: relative; display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--oz-line); border-radius: var(--oz-radius); background: #fff; }
.oz-bundle-complete { border: 2px solid var(--oz-green); box-shadow: 0 10px 28px rgba(24, 174, 65, .14); }
.oz-bundle-count { color: var(--oz-muted); font-size: 14px; margin: 0 0 8px; }
.oz-bundle h3 { font-size: 20px; font-weight: 700; margin: 0 0 8px; }
.oz-bundle p { flex: 1 1 auto; margin: 0 0 12px; }
.oz details { margin: 0 0 16px; }
.oz details summary { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; color: var(--oz-blue); font-weight: 600; cursor: pointer; list-style: none; }
.oz details summary::-webkit-details-marker { display: none; }
.oz details[open] summary i { transform: rotate(180deg); }
.oz details ul { margin: 6px 0 0; padding-left: 20px; }
.oz details li { margin: 4px 0; }
.oz-bundle-buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--oz-line); }
.oz-bundle-buy strong { color: var(--oz-ink); font-size: 24px; }

.oz-how { padding-top: 44px; }
.oz-how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 18px; }
.oz-how-grid i { font-size: 28px; color: var(--oz-blue); }
.oz-how-grid h3 { font-size: 19px; font-weight: 700; margin: 10px 0 6px; }
.oz-how-grid p { margin: 0; color: var(--oz-muted); }
.oz-library-note { margin: 28px 0 0; padding: 16px 20px; border-radius: var(--oz-radius); background: var(--oz-sky); color: var(--oz-ink); }
.oz-library-note a { font-weight: 700; color: var(--oz-blue); white-space: nowrap; }

.oz-dialog { width: min(960px, 94vw); max-width: none; padding: 0; border: 0; border-radius: 10px; background: #000; color: #fff; }
.oz-dialog::backdrop { background: rgba(17, 43, 93, .78); }
.oz-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 18px; background: var(--oz-ink); }
.oz-dialog-head h2 { margin: 0; font-size: 18px; color: #fff; }
.oz-dialog video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.oz-icon-button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 6px; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; touch-action: manipulation; }

/* ---------- topic ---------- */
.oz-commerce { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: 36px; align-items: start; padding: 0 0 28px; }
.oz-detail-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; }
.oz-detail-links a { display: inline-flex; align-items: center; min-height: 36px; color: var(--oz-blue); font-weight: 600; }
.oz-order-card { padding: 24px; border: 1px solid var(--oz-line); border-radius: 10px; background: #fff; box-shadow: 0 10px 30px rgba(17, 43, 93, .12); }
.oz-order-price { margin: 4px 0 16px; color: var(--oz-ink); font-size: 40px; font-weight: 800; line-height: 1.1; }
.oz-order-benefits { display: grid; gap: 6px; margin: 16px 0 12px; color: var(--oz-muted); }
.oz-order-benefits i { color: var(--oz-blue); margin-right: 6px; }
.oz-small-link { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; color: var(--oz-blue); font-weight: 600; font-size: 15px; }
.oz-syllabus-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin: 0 0 12px; }
.oz-syllabus-head h2 { margin: 0; font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; }
.oz-syllabus-head span { color: var(--oz-muted); }
.oz-syllabus { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--oz-line); }
.oz-syllabus li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--oz-line); }
.oz-lesson-number, .oz-outline-number { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--oz-sky); color: var(--oz-ink); font-weight: 700; }
.oz-lesson-title { color: var(--oz-text); font-size: 17px; }
.oz-lesson-title small { display: block; color: var(--oz-muted); font-size: 14px; }
.oz-locked { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; color: var(--oz-muted); }

/* ---------- sample player ---------- */
.oz-player-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); gap: 28px; align-items: start; padding: 8px 0 36px; }
.oz-player { padding: 14px; border-radius: 10px; background: var(--oz-ink); }
.oz-player-options { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; }
.oz-mode { display: inline-flex; padding: 3px; border-radius: 8px; background: rgba(255, 255, 255, .12); }
.oz-mode button { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 14px; border: 0; border-radius: 6px; background: transparent; color: #fff; font-weight: 600; cursor: pointer; touch-action: manipulation; }
.oz-mode button[aria-pressed="true"] { background: #fff; color: var(--oz-ink); }
.oz-speed { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: #fff; font-size: 15px; }
.oz-speed select { min-height: 38px; padding: 4px 8px; border: 0; border-radius: 6px; font-size: 15px; }
.oz-player video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 6px; background: #000; }
.oz-player video[hidden] { display: none; }
.oz-audio { display: grid; justify-items: center; gap: 12px; padding: 36px 16px; border-radius: 6px; background: linear-gradient(135deg, var(--oz-blue), var(--oz-ink)); color: #fff; text-align: center; }
.oz-audio[hidden] { display: none; }
.oz-audio > i { font-size: 44px; }
.oz-audio audio { width: 100%; max-width: 520px; }
.oz-error { min-height: 0; margin: 8px 0 0; color: #ffb4b4; }
.oz-error:empty { display: none; }
.oz-media-empty { display: grid; justify-items: center; gap: 6px; padding: 48px 16px; border-radius: 10px; background: var(--oz-sky); text-align: center; }
.oz-media-empty i { font-size: 40px; color: var(--oz-blue); }
.oz-media-empty h2 { margin: 0; font-size: 22px; }
.oz-player-actions { margin: 16px 0 0; }
.oz-outline { border: 1px solid var(--oz-line); border-radius: 10px; background: #fff; }
.oz-outline-head { padding: 16px 18px 6px; }
.oz-outline-head h2 { margin: 0; font-size: 20px; font-weight: 700; }
.oz-outline-head p { margin: 2px 0 0; color: var(--oz-muted); }
.oz-outline ol { list-style: none; margin: 0; padding: 6px 8px 10px; }
.oz-outline-item { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 48px; padding: 6px 10px; border-radius: 8px; color: var(--oz-text); }
.oz-outline-item.is-active { background: var(--oz-sky); font-weight: 600; }
.oz-outline-item .bi-lock { color: var(--oz-muted); }

/* ---------- order ---------- */
.oz-checkout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: 32px; align-items: start; padding: 8px 0 40px; }
.oz-panel { padding: 28px; border: 1px solid var(--oz-line); border-radius: 10px; background: #fff; }
.oz-form fieldset { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.oz-form legend { float: none; width: auto; margin: 0 0 12px; padding: 0; color: var(--oz-ink); font-size: 21px; font-weight: 700; }
.oz-form .oz-company-address legend { font-size: 17px; }
.oz-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 16px; }
.oz-field { margin: 0 0 14px; }
.oz-field label { display: block; margin: 0 0 6px; color: var(--oz-ink); font-weight: 600; }
.oz-field input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--oz-field); border-radius: 6px; font-size: 16px; background: #fff; }
.oz-field input:focus { outline: 2px solid var(--oz-blue); outline-offset: 1px; border-color: var(--oz-blue); }
.oz-req { color: #c0392b; }
.oz-hint { display: block; margin: -4px 0 14px; color: var(--oz-muted); font-size: 14px; }
.oz-check { display: flex; align-items: flex-start; gap: 10px; min-height: 36px; margin: 6px 0 14px; cursor: pointer; }
.oz-check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--oz-green); }
.oz-check a { color: var(--oz-blue); font-weight: 600; }
.oz-company { margin: 4px 0 0; padding: 18px 18px 4px; border-radius: 8px; background: var(--oz-sky); }
.oz-company[hidden] { display: none; }
/* the order in three steps (courses.js adds .is-wizard; without it the steps stand one under another) */
.oz-steps { display: none; margin: 0 0 24px; padding: 0; list-style: none; counter-reset: none; }
.is-wizard .oz-steps { display: flex; gap: 8px; }
.oz-steps li { flex: 1 1 0; min-width: 0; }
.oz-steps button { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 6px 4px 10px; border: 0; border-bottom: 3px solid var(--oz-line); background: none; color: var(--oz-muted); font-weight: 600; font-size: 15px; text-align: left; cursor: pointer; touch-action: manipulation; }
.oz-steps button:disabled { cursor: default; }
.oz-step-num { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--oz-line); color: var(--oz-ink); font-weight: 700; }
.oz-step-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oz-steps .is-active button { border-bottom-color: var(--oz-blue); color: var(--oz-ink); }
.oz-steps .is-active .oz-step-num { background: var(--oz-blue); color: #fff; }
.oz-steps .is-done button { border-bottom-color: var(--oz-green); color: var(--oz-ink); }
.oz-steps .is-done .oz-step-num { background: var(--oz-green); color: #fff; }
.is-wizard .oz-step:not(.is-active) { display: none; }
.oz-step-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 8px; }
.oz-step-nav [data-oz-next], .oz-step-nav [data-oz-prev] { display: none; }
.is-wizard .oz-step-nav [data-oz-next], .is-wizard .oz-step-nav [data-oz-prev] { display: inline-flex; }
.oz-step-nav [data-oz-next], .oz-step-nav [type="submit"] { margin-left: auto; }
.oz-step-error { margin: 0 0 12px; color: #a93226; font-weight: 600; }
.oz-step-error[hidden] { display: none; }
.oz-field input[aria-invalid="true"] { border-color: #c0392b; box-shadow: 0 0 0 1px #c0392b; }
.oz-check input[aria-invalid="true"] { outline: 2px solid #c0392b; outline-offset: 2px; }
.oz-methods { display: grid; gap: 10px; margin: 0 0 18px; }
.oz-method { display: grid; grid-template-columns: auto 88px minmax(0, 1fr); align-items: center; gap: 14px; margin: 0; padding: 12px 16px; border: 2px solid var(--oz-line); border-radius: 8px; background: #fff; cursor: pointer; touch-action: manipulation; }
.oz-method:hover { border-color: var(--oz-field); }
.oz-method:has(input:checked) { border-color: var(--oz-green); background: #f3fbf5; }
.oz-method input { width: 20px; height: 20px; margin: 0; accent-color: var(--oz-green); }
.oz-method-logo { display: flex; align-items: center; justify-content: center; height: 40px; }
.oz-method-logo img { max-width: 100%; height: auto; }
.oz-method-mark { display: inline-flex; align-items: center; gap: 6px; color: var(--oz-ink); font-size: 18px; font-weight: 800; }
.oz-method-text strong { display: block; color: var(--oz-ink); }
.oz-method-text span { display: block; color: var(--oz-muted); font-size: 14px; }
/* the terms of sale (Course/terms.latte) */
.oz-terms { max-width: 820px; padding: 8px 0 48px; font-size: 16px; line-height: 1.6; }
.oz-terms section { margin: 0 0 28px; }
.oz-terms h2 { margin: 0 0 10px; font-size: 21px; font-weight: 700; }
.oz-terms ol, .oz-terms ul { margin: 0; padding-left: 22px; }
.oz-terms li { margin: 0 0 8px; }
.oz-terms a { color: var(--oz-blue); font-weight: 600; overflow-wrap: anywhere; }
.oz-terms-form { padding: 20px; border: 1px dashed var(--oz-field); border-radius: var(--oz-radius); background: #fff; }

/* the payment details of a bank transfer (Course/transfer.latte) */
.oz-transfer h2 { margin: 0 0 8px; font-size: 22px; font-weight: 700; }
.oz-transfer-done { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 22px; padding: 16px; border-radius: 8px; background: #f3fbf5; }
.oz-transfer-done h2 { font-size: 19px; margin: 0 0 4px; }
.oz-transfer-done p { margin: 0; }
.oz-result-icon.is-small { flex: none; width: 40px; height: 40px; margin: 0; font-size: 22px; }
.oz-transfer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: start; margin: 18px 0 8px; }
.oz-paydetails { margin: 0; }
.oz-paydetails-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--oz-line); }
.oz-paydetails-row dt { color: var(--oz-muted); font-weight: 600; }
.oz-paydetails-row dd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin: 0; color: var(--oz-ink); }
/* the value takes the free room and the copy button keeps to the right in every row: the IBAN wraps between
   its groups of four rather than pushing the button under it; only a very narrow column wraps the button
   itself, still right-aligned */
.oz-paydetails-row.is-main dd > span:first-child { flex: 1 1 7.5em; font-size: 19px; font-weight: 700; }
.oz-iban { text-align: left; -webkit-hyphens: none; hyphens: none; overflow-wrap: normal; }
.oz-copy { flex: none; margin-left: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 12px; border: 1px solid var(--oz-field); border-radius: 6px; background: #fff; color: var(--oz-blue); font-size: 14px; font-weight: 600; cursor: pointer; touch-action: manipulation; }
.oz-copy:hover, .oz-copy:focus-visible { border-color: var(--oz-blue); }
.oz-copy.is-copied { border-color: var(--oz-green); color: var(--oz-green-dark); }
.oz-qr { margin: 0; text-align: center; }
.oz-qr img { display: block; width: 200px; height: 200px; padding: 8px; border: 1px solid var(--oz-line); border-radius: 8px; background: #fff; }
.oz-qr figcaption { max-width: 200px; margin: 8px auto 0; color: var(--oz-muted); font-size: 13px; }
.oz-transfer-actions { margin: 18px 0 0; }
.oz-transfer-alt { margin: 16px 0 0; color: var(--oz-muted); text-align: left; -webkit-hyphens: none; hyphens: none; }
.oz-transfer-alt a { color: var(--oz-blue); font-weight: 600; white-space: nowrap; }
.oz-step-total { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 14px; padding-top: 14px; border-top: 1px solid var(--oz-line); color: var(--oz-ink); }
.oz-step-total strong { font-size: 24px; }
.oz-consents { margin: 0 0 18px; }
.oz-consents .oz-check { margin: 0 0 10px; font-size: 15px; }
.oz-errors { margin: 0 0 20px; padding: 14px 18px 14px 34px; border-left: 4px solid #c0392b; background: #fdecea; color: #7a1f16; }
.oz-summary { position: sticky; top: 110px; }
.oz-summary h2 { margin: 0 0 12px; font-size: 21px; font-weight: 700; }
.oz-summary-series { margin: 0 0 4px; color: var(--oz-blue); font-size: 14px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; text-align: left; }
.oz-summary-item { margin: 0 0 4px; color: var(--oz-ink); font-size: 18px; font-weight: 700; }
.oz-summary-total { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--oz-line); }
.oz-summary-total strong { color: var(--oz-ink); font-size: 30px; }

/* ---------- payment return ---------- */
.oz-result { max-width: 720px; margin: 0 auto; padding: 28px 0 48px; text-align: center; }
.oz-result h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; margin: 0 0 12px; }
.oz-result p { font-size: 17px; }
.oz-result .oz-actions { justify-content: center; margin-top: 22px; }
.oz-result-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: 0 0 16px; border-radius: 50%; background: var(--oz-green); color: #fff; font-size: 34px; font-weight: 800; }
.oz-result-icon.is-waiting { background: #e0a106; }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
    .oz-bundle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
    .oz-hero { grid-template-columns: 1fr; gap: 24px; }
    .oz-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .oz-commerce, .oz-checkout, .oz-player-grid { grid-template-columns: 1fr; gap: 24px; }
    .oz-summary { position: static; }
    .oz-how-grid { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 575px) {
    .oz-course-grid, .oz-bundle-grid { grid-template-columns: 1fr; }
    .oz-lead { font-size: 17px; }
    .oz-actions .oz-btn { width: 100%; }
    .oz-search { width: 100%; }
    .oz-panel, .oz-order-card { padding: 20px 16px; }
    .oz-company { padding: 14px 12px 2px; }
    .oz-step-label { display: none; }
    .oz-steps .is-active .oz-step-label { display: inline; }
    .oz-method { grid-template-columns: auto 64px minmax(0, 1fr); gap: 10px; padding: 12px; }
    .oz-step-nav .oz-btn { flex: 1 1 100%; margin-left: 0; }
    .oz-transfer-grid { grid-template-columns: 1fr; }
    .oz-qr img { margin: 0 auto; }
    .oz-paydetails-row { grid-template-columns: 1fr; }
    .oz-iban { font-size: 16px !important; }
    .oz-syllabus li { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; }
    .oz-player { padding: 10px; }
    .oz-library-note a { white-space: normal; }
}

@media (pointer: coarse) {
    .oz input, .oz select { font-size: 16px; }
}

/* ---------- covers, stars, savings (catalogue) ---------- */
/* a cover drawn by CSS - the number of the topic and its area, in the colour of the area */
.oz-card-cover { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; min-height: 92px; padding: 14px 18px; overflow: hidden; color: #fff !important; text-decoration: none !important; background: linear-gradient(135deg, var(--oz-ink), var(--oz-blue)); }
.oz-card-cover::after { content: ""; position: absolute; right: -36px; top: -46px; width: 150px; height: 150px; border-radius: 50%; border: 22px solid rgba(255, 255, 255, .08); pointer-events: none; }
.oz-cover-zaklady { background: linear-gradient(135deg, #112b5d 0%, #18448c 100%); }
.oz-cover-majetok { background: linear-gradient(135deg, #18448c 0%, #2f66b3 100%); }
.oz-cover-zavazky { background: linear-gradient(135deg, #0b5e23 0%, #13873a 100%); }
.oz-cover-number { position: relative; z-index: 1; font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.oz-cover-group { position: relative; z-index: 1; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-align: right; opacity: .92; }

.oz-stars { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; color: var(--oz-ink); font-size: 14px; }
.oz-stars-icons { display: inline-flex; gap: 1px; color: #f5a623; }
.oz-stars-count { color: var(--oz-muted); }
.oz-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: -6px 0 22px; color: var(--oz-ink); font-size: 15px; }
.oz-trust-stars { display: inline-flex; gap: 1px; color: #f5a623; }
.oz-trust a { color: var(--oz-blue); }

.oz-saving { margin: 4px 0 0; color: var(--oz-muted); font-size: 14px; line-height: 1.35; }
.oz .oz-saving strong { color: var(--oz-green-dark); font-size: 14px; }
.oz-bundle-badge { position: absolute; top: -12px; left: 20px; padding: 3px 10px; border-radius: 999px; background: var(--oz-green); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- topic page ---------- */
.oz-topic-head { max-width: 880px; padding: 0 0 22px; }
.oz-topic-description { max-width: 720px; margin: -8px 0 20px; color: var(--oz-text); }
.oz-topic-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin: 0 0 10px; }
.oz-topic-meta .oz-author { margin: 0; }
.oz-topic-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 36px; align-items: start; padding: 8px 0 40px; }
.oz-topic-aside { grid-column: 2; grid-row: 1; align-self: stretch; }
.oz-topic-main { grid-column: 1; grid-row: 1; min-width: 0; }
.oz-order-sticky { position: sticky; top: 110px; }
.oz-order-vat { display: block; margin: -10px 0 14px; }
.oz-includes-title { margin: 20px 0 8px; font-size: 17px; font-weight: 700; }
.oz-includes { display: grid; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; color: var(--oz-text); font-size: 15px; }
.oz-includes i { margin-right: 8px; color: var(--oz-blue); }
.oz-learn { padding-top: 0; }
.oz-learn h2, .oz-audience h2, .oz-reviews h2 { margin: 0 0 12px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; }
.oz-checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.oz-checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 17px; }
.oz-checklist i { flex: none; color: var(--oz-green); font-size: 20px; line-height: 1.2; }
.oz-audience p { max-width: 760px; margin: 0; font-size: 17px; }
.oz-upgrade { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin: 8px 0 24px; padding: 22px 24px; border: 2px solid var(--oz-green); border-radius: 10px; background: #f3fbf5; }
.oz-upgrade > div { flex: 1 1 360px; min-width: 0; }
.oz-upgrade h2 { margin: 0 0 6px; font-size: 22px; font-weight: 700; }
.oz-upgrade p { margin: 0 0 8px; }
.oz-upgrade .oz-law { margin-bottom: 6px; }
.oz-upgrade details { margin: 0; }
.oz-upgrade-complete { border-color: #d9e5f3; background: var(--oz-sky); }
.oz-reviews .oz-syllabus-head { align-items: center; }
.oz-review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 14px; }
.oz-review { padding: 18px; border: 1px solid var(--oz-line); border-radius: var(--oz-radius); background: #fff; }
.oz-review p { margin: 8px 0; }
.oz-review footer { color: var(--oz-muted); font-size: 14px; }
.oz-review .oz-stars strong, .oz-review .oz-stars-count { display: none; }
.oz-course-grid-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- author, firms, FAQ ---------- */
.oz-author-block { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 28px; align-items: center; margin: 28px 0; padding: 28px; border-radius: 12px; background: var(--oz-sky); }
.oz-author-block img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; box-shadow: 0 8px 24px rgba(17, 43, 93, .18); }
.oz-author-block h2 { margin: 0 0 12px; font-size: 26px; font-weight: 700; }
.oz-author-block .oz-law { margin-bottom: 6px; }
.oz-author-facts { display: grid; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.oz-author-facts i { margin-right: 8px; color: var(--oz-blue); }
.oz-author-facts .bi-star-fill { color: #f5a623; }
.oz-author-facts a { color: var(--oz-blue); }
.oz-team { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: 28px 0; padding: 24px; border: 1px solid var(--oz-line); border-radius: 12px; background: #fff; }
.oz-team > i { color: var(--oz-blue); font-size: 36px; }
.oz-team > div { flex: 1 1 320px; min-width: 0; }
.oz-team h2 { margin: 0 0 6px; font-size: 22px; font-weight: 700; }
.oz-team p { margin: 0; color: var(--oz-muted); }
.oz-faq { margin: 28px 0; }
.oz-faq h2 { margin: 0 0 12px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; }
.oz .oz-faq-item { margin: 0; border-bottom: 1px solid var(--oz-line); }
.oz .oz-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 12px 0; color: var(--oz-ink); font-size: 17px; }
.oz-faq-item p { max-width: 820px; margin: 0 0 14px; color: var(--oz-text); }

/* ---------- order: the bundle for what it costs more ---------- */
.oz-upsell { margin: 18px 0 0; padding: 16px; border: 1px dashed var(--oz-green); border-radius: 8px; background: #f3fbf5; }
.oz-upsell p { margin: 0 0 8px; }

/* ---------- the buy bar of a phone ---------- */
.oz-buybar { display: none; }

@media (max-width: 991px) {
    .oz-topic-layout { grid-template-columns: 1fr; gap: 0; }
    .oz-topic-aside, .oz-topic-main { grid-column: 1; grid-row: auto; }
    .oz-order-sticky { position: static; margin: 0 0 8px; }
    .oz-checklist, .oz-review-grid { grid-template-columns: 1fr; }
    .oz-buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--oz-line); background: #fff; box-shadow: 0 -6px 20px rgba(17, 43, 93, .12); transition: transform .2s ease; }
    .oz-buybar.is-hidden { transform: translateY(110%); }
    .oz-buybar-price strong { display: block; color: var(--oz-ink); font-size: 22px; line-height: 1.1; }
    .oz-buybar-price span { color: var(--oz-muted); font-size: 13px; }
    /* the bar never covers the end of the page */
    body:has(.oz-buybar) { padding-bottom: 76px; }
}

@media (max-width: 575px) {
    .oz-author-block { grid-template-columns: 1fr; justify-items: start; gap: 16px; padding: 20px 16px; }
    .oz-author-block img { width: 96px; height: 96px; }
    .oz-course-grid-related { grid-template-columns: 1fr; }
    .oz-upgrade { padding: 18px 16px; }
    .oz-upgrade .oz-btn, .oz-team .oz-btn { width: 100%; }
    .oz-team { padding: 20px 16px; }
    .oz-cover-number { font-size: 38px; }
}

/* the full-width band uses 100vw - no horizontal scroll from the width of the scrollbar */
body.presenter-course { overflow-x: clip; }
