/* OCD Live (ocdlive.maa-ya.com) — ogapro.me's look: Nunito text / Poppins titles and buttons, navy #0B2C57, the profile
   blocks (white card, #CFE6F5 border, radius 18, titleCommon head), the 48 px inputs and the oga-datetime calendar.
   Buttons in the OCD logo's orange (measured on ocd-logo.jpeg). Mobile first, no framework. */
:root {
    --ocd-orange: #F06A00; --ocd-orangeD: #C85500; --ocd-black: #111;
    --mo-navy: #0B2C57; --mo-blue: #1F7BC0; --mo-cyan: #2BB3E3; --mo-border: #CFE6F5; --mo-line: #E3EEF6; --mo-muted: #6C8098; --mo-section: #E9F5FC;
    --ocd-wall: #FDFDFE;
}
html { -webkit-text-size-adjust: 100%; }
body.ocd { margin: 0; background: var(--ocd-wall); color: var(--mo-navy); font: 15px/1.55 'Nunito', system-ui, -apple-system, sans-serif; }
.ocd *, .ocd *::before, .ocd *::after { box-sizing: border-box; }
.ocd-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ocd button { font-family: 'Poppins', system-ui, sans-serif; }

/* ---------- header: ogapro.me's bar, the OCD logo + "OCD Live" ---------- */
.ocd-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; }
.ocd-brand img { height: 32px; width: auto; display: block; }
.ocd-brand span { font: 800 19px 'Poppins', system-ui, sans-serif; color: #fff; letter-spacing: 0; }
.ocd-hdr .mo-hdr-in { justify-content: space-between; }
.ocd-hdr-actions { display: flex; align-items: center; gap: 10px; }
.ocd-hdr .mo-reg-btn { display: inline-flex; align-items: center; gap: 6px; height: 42px; color: #fff; border: 0; cursor: pointer; font: 700 15px 'Poppins', system-ui, sans-serif; }
.ocd-ico-chev { width: 14px; height: 14px; }
.ocd-hdr .mo-user-btn { display: inline-flex; align-items: center; justify-content: center; height: 42px; color: #fff; border: 0; cursor: pointer; }
.ocd-hdr .mo-dd-menu a i { font-style: normal; font-weight: 800; }
.ocd-hdr .footer-select-icon { display: none; }
.ocd-hdr .footer-select-group::before { content: ""; width: 18px; height: 18px; flex: none; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Crect x='2' y='6' width='20' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
@media (max-width: 420px) {
    .ocd-brand span { font-size: 16px; }
    .ocd-brand img { height: 26px; }
    .ocd-hdr .mo-reg-btn { padding: 0 10px; font-size: 14px; }
    .ocd-hdr .mo-hdr-cur .footer-select-group { padding: 0 8px; }
}

/* ---------- the column: ogapro.me's 780 px on a desktop (same zoom as the profile pages) ---------- */
.ocd-main { position: relative; padding-bottom: 24px; }
.ocd-col { position: relative; z-index: 2; width: 100%; max-width: calc(780px / var(--mo-zoom, 1)); margin: 0 auto; padding: 0 16px; zoom: var(--mo-zoom, 1); }
.ocd-h1 { margin: 6px 0 14px; text-align: center; font: 800 30px/1.2 'Poppins', system-ui, sans-serif; color: var(--ocd-black); }
.ocd-h1 span { display: block; font-weight: 600; font-size: 17px; color: var(--mo-navy); }
.ocd-h1 b { color: var(--ocd-orange); font-weight: 800; }
.ocd-preview { margin: 12px 0 0; padding: 8px 12px; border-radius: 12px; background: #FFF4E5; color: #8A4B00; font-weight: 700; text-align: center; font-size: 13px; }

/* the map: whole at load; from step 2 a faded background (owner: it only matters on load) */
.ocd-hero { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.ocd-hero img { display: block; width: 100%; height: auto; max-height: 62vh; object-fit: contain; }
body.ocd-s1 .ocd-hero + .ocd-col { margin-top: -18vh; }
@media (min-width: 992px) { body.ocd-s1 .ocd-hero + .ocd-col { margin-top: -22vh; } }
body.ocd-sN .ocd-hero { position: fixed; inset: 64px 0 0; max-width: none; opacity: .18; pointer-events: none; }
body.ocd-sN .ocd-hero img { width: 100%; height: 100%; max-height: none; object-fit: contain; }
body.ocd-sN .ocd-col { margin-top: 16px; }

/* ---------- the block (ogapro.me .card.card-compact + .titleCommon) ---------- */
.ocd-card { display: block; margin: 0; background: #fff; border: 1px solid var(--mo-border); border-radius: 18px; overflow: hidden; }
.ocd-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--mo-line); }
.ocd-card-head h3 { margin: 0; font: 700 18px/1.3 'Poppins', system-ui, sans-serif; color: var(--mo-navy); }
.ocd-stepno { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--mo-section); font: 700 12px 'Poppins', system-ui, sans-serif; color: var(--mo-blue); }
.ocd-progress { height: 4px; background: var(--mo-line); }
.ocd-progress span { display: block; height: 100%; width: 20%; background: var(--ocd-orange); transition: width .2s ease; }
.ocd-step { margin: 0; padding: 18px 20px 6px; border: 0; min-width: 0; }
.ocd-step[hidden] { display: none; }

/* radio cards */
.ocd-choices { display: grid; gap: 10px; }
@media (min-width: 560px) { .ocd-choices.two { grid-template-columns: 1fr 1fr; } }
.ocd-choice { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; min-height: 56px; border: 1.5px solid var(--mo-border); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.ocd-choice input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ocd-orange); }
.ocd-choice-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.ocd-choice-body b { font: 700 16px 'Poppins', system-ui, sans-serif; color: var(--mo-navy); }
.ocd-choice-body small { color: var(--mo-muted); font-size: 14px; }
.ocd-choice-price { margin-left: auto; text-align: right; white-space: nowrap; font: 800 16px 'Poppins', system-ui, sans-serif; color: var(--ocd-black); }
.ocd-choice-price small { display: block; font: 600 12px 'Nunito', system-ui, sans-serif; color: var(--mo-muted); }
.ocd-choice:has(input:checked) { border-color: var(--ocd-orange); background: #FFF8F2; box-shadow: 0 0 0 3px rgba(240,106,0,.14); }
.ocd-choice:focus-within { box-shadow: 0 0 0 3px rgba(240,106,0,.22); }

/* inputs: the site's 48 px fields */
.ocd-field { margin: 0 0 14px; }
.ocd-label { display: block; margin: 0 0 6px; font: 700 14px 'Poppins', system-ui, sans-serif; color: var(--mo-navy); }
.ocd-label small, .ocd-help { font: 600 12.5px 'Nunito', system-ui, sans-serif; color: var(--mo-muted); }
.ocd-input { display: block; width: 100%; min-height: 48px; margin: 0 0 8px; padding: 10px 12px; border: 1.5px solid var(--mo-border); border-radius: 12px; background: #fff; font: 600 16px 'Nunito', system-ui, sans-serif; color: var(--mo-navy); -webkit-appearance: none; appearance: none; }
textarea.ocd-input { min-height: 104px; resize: vertical; }
select.ocd-input { padding-right: 36px; background: #fff no-repeat right 12px center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2C57' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.ocd-input:focus { outline: none; border-color: var(--mo-cyan); box-shadow: 0 0 0 3px rgba(43,179,227,.15); }
.ocd-input.bad { border-color: #E63329; }
.ocd-phone { display: flex; align-items: stretch; gap: 0; }
.ocd-phone span { display: grid; place-items: center; min-width: 64px; margin: 0 0 8px; padding: 0 10px; border: 1.5px solid var(--mo-border); border-right: 0; border-radius: 12px 0 0 12px; background: var(--mo-section); font: 700 15px 'Poppins', system-ui, sans-serif; }
.ocd-phone .ocd-input { border-radius: 0 12px 12px 0; }
.ocd-check { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 0; font-size: 13.5px; color: var(--mo-navy); cursor: pointer; }
.ocd-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ocd-orange); }
.ocd-err { margin: 2px 0 8px; min-height: 0; color: #C4271E; font-weight: 700; font-size: 13.5px; }
.ocd-err:empty { display: none; }
.ocd-note { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: #FFF4E5; color: #7A4300; font-weight: 700; font-size: 14px; }

/* quantity stepper */
.ocd-qty-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 6px; flex-wrap: wrap; }
.ocd-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--mo-border); border-radius: 12px; overflow: hidden; background: #fff; }
.ocd-stepper button { width: 48px; height: 48px; border: 0; background: var(--mo-section); color: var(--mo-navy); font: 800 22px 'Poppins', system-ui, sans-serif; cursor: pointer; }
.ocd-stepper button:disabled { opacity: .4; cursor: default; }
.ocd-stepper input { width: 56px; height: 48px; border: 0; text-align: center; font: 800 17px 'Poppins', system-ui, sans-serif; color: var(--mo-navy); -moz-appearance: textfield; }
.ocd-stepper input::-webkit-outer-spin-button, .ocd-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ocd-stepper.sm button { width: 40px; height: 40px; font-size: 18px; }
.ocd-stepper.sm input { width: 44px; height: 40px; font-size: 16px; }
.ocd-tiers { margin: 4px 0 10px; color: var(--mo-muted); font-size: 13.5px; }
.ocd-tiers b { color: var(--ocd-orange); }

/* summary lines */
.ocd-sum { margin: 10px 0 12px; padding: 12px 14px; border-radius: 14px; background: var(--mo-section); }
.ocd-sum div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.ocd-sum dt { margin: 0; color: var(--mo-navy); font-weight: 600; }
.ocd-sum dd { margin: 0; font-weight: 800; white-space: nowrap; }
.ocd-sum .disc dd { color: #1C8A4B; }
.ocd-sum .tot { margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--mo-border); }
.ocd-sum .tot dt, .ocd-sum .tot dd { font: 800 16px 'Poppins', system-ui, sans-serif; color: var(--ocd-black); }
.ocd-h4 { margin: 18px 0 6px; font: 700 16px 'Poppins', system-ui, sans-serif; }

/* ---------- calendar: calendar left, the day's times right (oga-datetime's look) ---------- */
.ocd-cal { display: grid; gap: 16px; }
@media (min-width: 640px) { .ocd-cal { grid-template-columns: 1.15fr 1fr; } }
.ocd-cal-month { padding: 12px; border: 1px solid var(--mo-border); border-radius: 14px; }
.ogadt-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font: 800 14px 'Poppins', system-ui, sans-serif; }
.ogadt-head .month { margin: 0 auto; text-transform: capitalize; }
.ogadt-nav { width: 36px; height: 36px; flex: none; display: grid; place-items: center; padding: 0; border: 1px solid var(--mo-border); border-radius: 10px; background: #fff; color: var(--mo-navy); font-size: 22px; line-height: 1; cursor: pointer; }
.ogadt-nav:disabled { opacity: .35; cursor: default; }
.ogadt-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.ocd-dow span { text-align: center; font: 700 11.5px 'Poppins', system-ui, sans-serif; color: var(--mo-muted); padding: 4px 0; text-transform: uppercase; }
.ocd-day { aspect-ratio: 1; min-height: 38px; border: 0; border-radius: 10px; background: transparent; color: #A9B6C6; font: 700 14px 'Poppins', system-ui, sans-serif; cursor: default; }
.ocd-day.open { background: var(--mo-section); color: var(--mo-navy); cursor: pointer; }
.ocd-day.open:hover { background: #D7EDFA; }
.ocd-day.today { box-shadow: inset 0 0 0 1.5px var(--mo-cyan); }
.ocd-day.sel { background: var(--ocd-orange) !important; color: #fff !important; }
.ocd-day.out { visibility: hidden; }
.ocd-cal-times .ocd-label { text-transform: capitalize; }
.ocd-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; max-height: 340px; overflow-y: auto; padding: 2px; }
.ocd-time { height: 46px; border: 1.5px solid var(--mo-border); border-radius: 12px; background: #fff; color: var(--mo-navy); font: 700 15px 'Poppins', system-ui, sans-serif; cursor: pointer; }
.ocd-time:hover { border-color: var(--ocd-orange); }
.ocd-time.sel { background: var(--ocd-orange); border-color: var(--ocd-orange); color: #fff; }
.ocd-times .ocd-empty { grid-column: 1 / -1; color: var(--mo-muted); font-weight: 600; font-size: 14px; }
.ocd-tz { margin: 10px 0 6px; color: var(--mo-muted); font-size: 13px; font-weight: 600; }

/* ---------- media ---------- */
.ocd-tabs { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 10px; border-radius: 12px; background: var(--mo-section); }
.ocd-tabs button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; color: var(--mo-navy); font: 700 14px 'Poppins', system-ui, sans-serif; cursor: pointer; }
.ocd-tabs button.on { background: #fff; box-shadow: 0 1px 4px rgba(11,44,87,.12); }
.ocd-drop { display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 12px; border: 1.5px dashed var(--mo-border); border-radius: 14px; background: #fff; color: var(--mo-blue); font: 700 14px 'Poppins', system-ui, sans-serif; text-align: center; cursor: pointer; }
.ocd-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.ocd-thumb { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--mo-section); }
.ocd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ocd-thumb button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(11,44,87,.75); color: #fff; font-size: 15px; line-height: 1; cursor: pointer; }
.ocd-thumb .st { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.6); }
.ocd-thumb .st span { display: block; height: 100%; background: var(--ocd-orange); }
.ocd-upload { margin-top: 10px; }
.ocd-bar { height: 10px; border-radius: 999px; background: var(--mo-line); overflow: hidden; }
.ocd-bar span { display: block; height: 100%; width: 0; background: var(--ocd-orange); transition: width .2s; }
.ocd-upload small { display: block; margin-top: 6px; font-weight: 700; color: var(--mo-muted); }

/* ---------- options (add-ons) ---------- */
.ocd-addon-type { margin: 0 0 6px; font: 700 15px 'Poppins', system-ui, sans-serif; color: var(--mo-blue); }
.ocd-addon { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; margin: 0 0 8px; border: 1.5px solid var(--mo-border); border-radius: 14px; }
.ocd-addon.on { border-color: var(--ocd-orange); background: #FFF8F2; }
.ocd-addon-txt { min-width: 0; }
.ocd-addon-txt b { display: block; font: 700 15px 'Poppins', system-ui, sans-serif; }
.ocd-addon-txt small { color: var(--mo-muted); font-size: 13px; }
.ocd-account { margin: 12px 0; padding: 14px; border: 1.5px solid var(--mo-border); border-radius: 14px; background: #fff; }
.ocd-account p { margin: 0 0 10px; }
.ocd-account small { display: block; color: var(--mo-muted); font-weight: 600; }
.ocd-account-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- buttons (the OCD orange) ---------- */
.ocd-nav { display: flex; gap: 10px; justify-content: space-between; padding: 12px 20px 18px; border-top: 1px solid var(--mo-line); }
.ocd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border: 0; border-radius: 12px; background: var(--ocd-orange); color: #fff; font: 700 17px 'Poppins', system-ui, sans-serif; cursor: pointer; box-shadow: 0 6px 16px rgba(240,106,0,.28); }
.ocd-btn:hover { background: var(--ocd-orangeD); }
.ocd-btn:focus-visible { outline: 3px solid rgba(240,106,0,.35); outline-offset: 2px; }
.ocd-btn:disabled { opacity: .55; cursor: default; box-shadow: none; }
.ocd-btn.busy::after { content: ""; width: 16px; height: 16px; border: 2.5px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: ocdspin .8s linear infinite; }
@keyframes ocdspin { to { transform: rotate(360deg); } }
.ocd-btn[hidden], .ocd-account[hidden], .ocd-note[hidden] { display: none !important; }
.ocd-btn-ghost { background: #fff; color: var(--ocd-orange); border: 1.5px solid var(--ocd-orange); box-shadow: none; }
.ocd-btn-ghost:hover { background: #FFF4E9; color: var(--ocd-orangeD); }
#ocdNext { margin-left: auto; min-width: 140px; }

/* ---------- the total, always visible from step 2 (sticky bottom bar) ---------- */
.ocd-total { position: sticky; z-index: 20; bottom: 0; margin-top: 12px; box-sizing: border-box; border-radius: 16px 16px 0 0; padding: 10px 20px calc(10px + env(safe-area-inset-bottom)); background: var(--mo-navy); color: #fff; box-shadow: 0 -6px 18px rgba(11,44,87,.2); }
.ocd-total[hidden] { display: none; }
.ocd-total-in { display: flex; align-items: center; justify-content: space-between; max-width: none; margin: 0; font: 700 15px 'Poppins', system-ui, sans-serif; }
.ocd-total-in b { font-size: 19px; font-weight: 800; color: #FFB066; }

/* ---------- holding + booking pages ---------- */
.ocd-holding { text-align: center; padding: 8px 16px 40px; }
.ocd-holding p { max-width: 520px; margin: 0 auto 10px; font-size: 16px; }
.ocd-status { display: inline-block; padding: 3px 12px; border-radius: 999px; font: 700 13px 'Poppins', system-ui, sans-serif; background: var(--mo-section); color: var(--mo-blue); }
.ocd-status.paid, .ocd-status.confirmed, .ocd-status.completed { background: #E5F4E4; color: #1C7A40; }
.ocd-status.expired, .ocd-status.cancelled { background: #FBEBEB; color: #B3261E; }

/* the checkout block, inserted at step 5 */
#ocdCheckout .ogacheckout, #ocdCheckout iframe { margin-top: 12px; }
@media (prefers-reduced-motion: reduce) { .ocd * { transition: none !important; animation: none !important; } }
/* the closed drawer's shadow must not show on the left edge of the page */
.mo-drawer:not(.open) { box-shadow: none; visibility: hidden; }
.mo-drawer { transition: transform .22s ease, visibility .22s; }
.ocd-hdr .mo-hdr-burger { margin-right: 4px; }
/* very small phones (280–340 px): the bar keeps the logo + "OCD Live" + the currency on one line */
@media (max-width: 340px) {
    .ocd-hdr .mo-hdr-in { padding-left: 8px !important; padding-right: 8px !important; gap: 6px; }
    .ocd-hdr .mo-hdr-burger { width: 36px; height: 36px; margin-right: 0; }
    .ocd-brand { gap: 5px; min-width: 0; }
    .ocd-brand img { height: 22px; }
    .ocd-brand span { font-size: 14px; }
    .ocd-hdr .mo-hdr-cur .footer-select-group { height: 36px; padding: 0 6px; gap: 3px; }
    .ocd-hdr .mo-hdr-cur select { font-size: 13px; }
    .ocd-hdr .footer-select-group::before { width: 14px; height: 14px; }
    .ocd-col { padding: 0 10px; }
    .ocd-step { padding: 14px 12px 4px; }
    .ocd-card-head { padding: 12px; }
    .ocd-nav { padding: 10px 12px 14px; }
    #ocdNext { min-width: 0; }
    .ocd-btn { padding: 0 16px; font-size: 16px; }
    .ocd-choice { padding: 12px; gap: 10px; }
    .ocd-choice-price { font-size: 14px; }
    .ocd-total-in b { font-size: 16px; }
}
html, body.ocd { overflow-x: hidden; }
/* the calendar never wider than its card (280 px phones) */
.ocd-cal { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .ocd-cal { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.ocd-cal-month { min-width: 0; padding: 10px 8px; }
.ogadt-grid > * { min-width: 0; }
.ocd-day { min-height: 32px; font-size: 13px; padding: 0; }
.ocd-dow span { font-size: 10.5px; overflow: hidden; text-overflow: clip; }
.ocd-cal-times .ocd-label { text-transform: none; }
.ocd-cal-times .ocd-label::first-letter { text-transform: uppercase; }
/* the options: on a narrow phone the quantity goes under the text, never cut */
.ocd-addon { flex-wrap: wrap; }
.ocd-addon-txt { flex: 1 1 160px; }
.ocd-addon .ocd-stepper, .ocd-addon .ocd-check { flex: none; margin-left: auto; }

/* ---------- desktop and tablet (≥ 768 px, owner 2026-11-08): the wizard and its title on the left, the map on the right ----------
   The map stays whole and in place (sticky) at every step; under 768 px the phone layout above is kept. */
@media (min-width: 768px) {
    .ocd-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; max-width: calc(1240px / var(--mo-zoom, 1)); margin: 0 auto; padding: 20px 20px 0; zoom: var(--mo-zoom, 1); }
    .ocd-wrap .ocd-col { grid-column: 1; grid-row: 1; max-width: none; width: 100%; margin: 0 !important; padding: 0; zoom: 1; }
    .ocd-wrap .ocd-hero { grid-column: 2; grid-row: 1; position: sticky !important; top: 90px; inset: auto !important; max-width: none; opacity: 1 !important; pointer-events: none; }
    .ocd-wrap .ocd-hero img { width: 100%; height: auto !important; max-height: calc((100vh - 140px) / var(--mo-zoom, 1)); object-fit: contain; }
    body.ocd-s1 .ocd-wrap .ocd-hero + .ocd-col, body.ocd-sN .ocd-wrap .ocd-col { margin-top: 0 !important; }
    .ocd-wrap .ocd-h1 { text-align: left; margin-top: 4px; }
    .ocd-wrap .ocd-h1 span { display: inline; }
}
/* two equal columns at every width from 768 px (owner) */

/* ===================== layout v3 (owner, 2026-11-08) ===================== */
/* the photo's own background never shows as a box: its four edges fade into the page */
.ocd-hero img {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-composite: intersect;
}
.ocd-title { position: relative; z-index: 2; }

/* ---------- phone (< 768 px): a lower bar; the title, then the map, then the wizard ---------- */
@media (max-width: 767px) {
    :root { --mo-hdr-base: 52px; }
    .ocd-hdr .mo-hdr-in { height: 52px; }
    .ocd-hdr .mo-hdr-burger { width: 38px; height: 38px; }
    .ocd-hdr .mo-hdr-cur .footer-select-group { height: 38px; }
    .ocd-title { padding: 12px 16px 0; }
    .ocd-title .ocd-h1 { margin: 0; font-size: 26px; line-height: 1.2; }
    .ocd-title .ocd-h1 span { font-size: 15px; }
    .ocd-hero img { max-height: none; width: 100%; }
    /* step 1 only: the wizard comes up over the map right under "OCD Live" (never over the logo) */
    body.ocd-s1 .ocd-hero + .ocd-col { margin-top: -41vw; }
    /* from step 2: as before, the map becomes the faded background */
    body.ocd-sN .ocd-hero { inset: 52px 0 0; }
    body.ocd-sN .ocd-title { padding-bottom: 4px; }
}

/* ---------- ≥ 768 px: two equal columns, aligned with the header; on load the map is exactly as tall as the title + step 1 ---------- */
@media (min-width: 768px) {
    .ocd-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "title hero" "col hero"; column-gap: 28px; row-gap: 0;
        max-width: calc(var(--mo-wide, 1300px) / var(--mo-zoom, 1)); padding: 20px calc(20px * var(--mo-hdr-zoom, 1) / var(--mo-zoom, 1)) 0; }
    .ocd-wrap .ocd-title { grid-area: title; }
    .ocd-wrap .ocd-col { grid-column: auto; grid-row: auto; grid-area: col; }
    .ocd-wrap .ocd-hero { grid-column: auto; grid-row: auto; grid-area: hero; }
    body.ocd-s1 .ocd-wrap .ocd-hero { position: relative !important; top: auto; align-self: stretch; min-height: 240px; }
    body.ocd-s1 .ocd-wrap .ocd-hero picture { position: absolute; inset: 0; display: block; }
    body.ocd-s1 .ocd-wrap .ocd-hero img { position: absolute; inset: 0; width: 100%; height: 100% !important; max-height: none; object-fit: contain; }
}

/* an option: its name on the whole width, then its price and its quantity on one line (the quantity multiplies the price) */
.ocd-addon { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; row-gap: 6px; }
.ocd-addon .ocd-addon-txt { display: contents; }
.ocd-addon .ocd-addon-txt b { grid-column: 1 / -1; }
.ocd-addon .ocd-addon-txt small { grid-column: 1; }
.ocd-addon .ocd-stepper, .ocd-addon .ocd-check { grid-column: 2; margin: 0; }
.ocd-addon .ocd-addon-note { grid-column: 1 / -1; margin-top: 6px; }
.ocd-addon .ocd-addon-note[hidden] { display: none; }
.ocd-addon .ocd-addon-note .ocd-input { width: 100%; max-width: none; }
@media (min-width: 768px) { .ocd-wrap .ocd-hero { margin: 0; width: 100%; justify-self: stretch; } }

/* the Total bar is sticky in the wizard's column: 'hidden' made <body> a scroll box (sticky then never sticks); 'clip' still stops the sideways scroll */
html:has(body.ocd), body.ocd { overflow-x: clip; overflow-y: visible; }

/* the time held for the payment, counted down (owner 2026-11-08) */
.ocd-hold { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: #FFF4E5; color: #7A4300; font-weight: 700; font-size: 14px; }
.ocd-hold b { font: 800 16px 'Poppins', system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.ocd-hold.late { background: #FDECEA; color: #B3261E; }
.ocd-hold[hidden] { display: none !important; }

/* the photos / video block inside the option that needs them (Teaser B) */
.ocd-addon .ocd-media-field { grid-column: 1 / -1; width: 100%; margin: 6px 0 0; }
.ocd-media-field[hidden] { display: none !important; }
.ocd-addon .ocd-addon-desc { grid-column: 1 / -1; order: 5; margin: 0; font-size: 13px; line-height: 1.45; color: var(--mo-muted, #5B6B82); }
.ocd-addon .ocd-addon-note, .ocd-addon .ocd-media-field { order: 6; }
.ocd-linkbtn { border: 0; background: none; padding: 0 0 0 6px; color: #E63329; font-weight: 700; font-size: 13px; text-decoration: underline; cursor: pointer; }
.ocd-linkbtn[hidden] { display: none; }

/* Retour / Suivant stay on screen just above the Total bar (owner): the bar is 48 px high (+ the phone's bottom area) */
.ocd-total-in { min-height: 28px; }
.ocd-nav { position: sticky; z-index: 3; bottom: 0; background: #fff; border-radius: 0 0 16px 16px; }
body.ocd-sN .ocd-nav { bottom: calc(48px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 16px -12px rgba(11,44,87,.25); }
.ocd-card { overflow: clip; }   /* 'hidden' made the card a scroll box: its sticky Retour/Suivant never stuck */
#rLives dt { white-space: nowrap; }
