/*
 * DH beauty — Rezervace a Můj účet (widgety dh-booking, dh-account; assets/js/rezervace.js).
 * Načítá se jen na stránkách s těmito widgety. Barvy a rozměry z tokenů v dh.css.
 * Předloha: canvas „DH rezervace – design a UI“, stránka Web (rezervace), kopie v navrhy/rezervace/.
 */

.dh-rez { --rez-card: radial-gradient(70% 50% at 0% 0%, rgb(189 172 148 / .40), transparent 70%), rgb(247 243 237 / .88);
  --rez-card-shadow: var(--dh-shadow-soft), inset 0 0 0 1px rgb(107 25 32 / .12);
  --rez-soft: linear-gradient(90deg, rgb(189 172 148 / .36), rgb(189 172 148 / .12));
  color: var(--dh-wine); font-size: 17px; line-height: 1.62; }
.dh-rez *, .dh-rez *::before, .dh-rez *::after { box-sizing: border-box; }
.dh-rez p { margin: 0; }
.dh-rez button { font-family: var(--dh-font); }
.dh-rez-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dh-eyebrow--gold { color: var(--dh-gold); font-size: 12.5px; }

/* hlavička kroku */
.dh-rez__head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.dh-rez__title { margin: 0; font-size: clamp(32px, 4vw, 44px); line-height: 1.08; font-weight: 400; letter-spacing: -.024em; font-variation-settings: "opsz" 40; color: var(--dh-wine); }
.dh-rez-lead { font-size: 18px; line-height: 1.55; color: var(--dh-text-muted); }
.dh-rez-lead strong { color: var(--dh-wine); font-weight: 600; }
.dh-rez-steps { display: flex; flex-wrap: wrap; gap: 10px 30px; margin: 6px 0 0; padding: 0; list-style: none; }
.dh-rez-steps li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--dh-text-muted); }
.dh-rez-steps li.is-current { font-weight: 600; color: var(--dh-wine); }
.dh-rez-steps button { display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: var(--dh-wine); font: inherit; cursor: pointer; }
.dh-rez-steps__n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; box-shadow: inset 0 0 0 1px var(--dh-line); }
.dh-rez-steps .is-current .dh-rez-steps__n { background: var(--dh-chianti); color: var(--dh-white); box-shadow: none; }
.dh-rez-steps .is-done .dh-rez-steps__n { background: var(--dh-gold); color: var(--dh-chianti); box-shadow: none; font-size: 16px; }

/* rozložení: obsah + boční panel */
.dh-rez__body { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.dh-rez__main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.dh-rez-split { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }

/* karty a boxy */
.dh-rez-card { border-radius: var(--dh-r-xl); background: var(--rez-card); box-shadow: var(--rez-card-shadow); }
.dh-rez-box { flex: 1 1 300px; padding: 24px 26px; border-radius: var(--dh-r-xl); box-shadow: inset 0 0 0 1px var(--dh-line); display: flex; flex-direction: column; gap: 10px; font-size: 15.5px; line-height: 1.55; color: var(--dh-text-muted); }
.dh-rez-box--gold { background: radial-gradient(80% 60% at 100% 100%, rgb(189 138 61 / .40), transparent 70%), linear-gradient(140deg, rgb(247 243 237 / .66), rgb(189 172 148 / .62)); box-shadow: none; color: var(--dh-wine); }
.dh-rez-box strong { font-weight: 600; color: var(--dh-wine); }
.dh-rez-boxes { display: flex; flex-wrap: wrap; gap: 20px; }
.dh-rez-h2 { margin: 0; font-size: 24px; line-height: 1.15; font-weight: 400; letter-spacing: -.015em; font-variation-settings: "opsz" 32; color: var(--dh-wine); }
.dh-rez-h3 { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 600; color: var(--dh-wine); }
.dh-rez-muted { color: var(--dh-text-muted); font-size: 15px; }
.dh-rez-small { font-size: 14.5px; line-height: 1.5; color: var(--dh-text-muted); }
.dh-rez-legend { margin: 0 0 10px; padding: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--dh-text-muted); }
.dh-rez-note { padding: 12px 16px; border-radius: 12px; background: var(--rez-soft); font-size: 14.5px; line-height: 1.5; color: var(--dh-text-muted); }

/* odkazy */
.dh-rez-a, .dh-rez-link { padding: 0; border: 0; background: none; color: var(--dh-wine); font: inherit; font-weight: 600; cursor: pointer;
  text-decoration-line: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--dh-gold); }
.dh-rez-a:hover, .dh-rez-link:hover { text-decoration-color: currentColor; color: var(--dh-wine); }
.dh-rez-a--muted { color: var(--dh-text-muted); font-weight: 400; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.dh-rez-link--dark { color: var(--dh-on-dark-muted); font-weight: 400; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.dh-rez-link--dark:hover { color: var(--dh-white); }

/* přepínač (oblast, účet) */
.dh-rez-seg { display: inline-flex; flex-wrap: wrap; gap: 6px; align-self: flex-start; padding: 5px; border-radius: 999px; background: rgb(189 172 148 / .28); }
.dh-rez-seg button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--dh-wine); font: 500 15px/1 var(--dh-font); cursor: pointer; transition: background-color .2s, color .2s; }
.dh-rez-seg button:hover { background: rgb(247 243 237 / .6); }
.dh-rez-seg button[aria-pressed="true"] { background: var(--dh-chianti); color: var(--dh-white); font-weight: 600; }

/* hlášky */
.dh-rez-alert { padding: 14px 18px; border-radius: var(--dh-r-md); font-size: 15px; line-height: 1.5; }
.dh-rez-alert--error { background: rgb(107 25 32 / .08); box-shadow: inset 0 0 0 1px rgb(107 25 32 / .35); color: var(--dh-wine); }
.dh-rez-alert--info { background: var(--rez-soft); color: var(--dh-wine); }
.dh-rez-hint { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: var(--dh-r-md); background: var(--rez-soft); font-size: 15px; line-height: 1.5; color: var(--dh-text-muted); }
.dh-rez-hint .dh-i { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--dh-wine); }
.dh-rez-hint strong { color: var(--dh-wine); font-weight: 600; }
.dh-rez-hint--btn { width: 100%; border: 0; text-align: left; color: var(--dh-wine); font: 500 15px/1.35 var(--dh-font); cursor: pointer; align-items: center; }
.dh-rez-hint--btn:hover { background: rgb(189 172 148 / .45); }

/* krok 1: služby a varianty */
.dh-rez-svcs { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dh-rez-svc { display: flex; align-items: center; gap: 16px; padding: 8px 18px 8px 8px; border-radius: var(--dh-r-md); background: var(--rez-soft); cursor: pointer; transition: background-color .2s; }
.dh-rez-svc:hover { background: rgb(189 172 148 / .42); }
.dh-rez-svc__img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; background: var(--dh-latte); }
.dh-rez-svc__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dh-rez-svc__name { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; line-height: 1.3; }
.dh-rez-svc__meta { font-size: 15px; color: var(--dh-text-muted); }
.dh-rez-svc input, .dh-rez-var input, .dh-rez-check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--dh-chianti); }
.dh-rez-badge { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; background: var(--dh-chianti); color: var(--dh-white); font-size: 12.5px; font-weight: 600; }
.dh-rez-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dh-gold); }
.dh-rez-svcbox { border-radius: var(--dh-r-xl); background: rgb(247 243 237 / .9); box-shadow: var(--dh-shadow-soft), inset 0 0 0 1px rgb(107 25 32 / .26); overflow: hidden; }
.dh-rez-svcbox .dh-rez-svc { background: none; }
.dh-rez-svcbox__in { padding: 6px 22px 24px 80px; display: flex; flex-direction: column; gap: 14px; }
.dh-rez-svcbox__in:empty { display: none; }
.dh-rez-vars { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dh-rez-var { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 4px 18px; padding: 14px 18px; border-radius: var(--dh-r-md); box-shadow: inset 0 0 0 1px var(--dh-line); cursor: pointer; transition: box-shadow .2s, background-color .2s; }
.dh-rez-var:hover { background: rgb(255 255 255 / .6); }
.dh-rez-var.is-on { background: #fff; box-shadow: inset 0 0 0 1.5px var(--dh-chianti), var(--dh-shadow-tiny); }
.dh-rez-var__name { display: flex; flex-direction: column; font-size: 16.5px; font-weight: 600; line-height: 1.35; }
.dh-rez-var__name small { font-size: 14.5px; font-weight: 400; line-height: 1.45; color: var(--dh-text-muted); }
.dh-rez-var__dur { font-size: 15px; color: var(--dh-text-muted); white-space: nowrap; }
.dh-rez-var__price { font-size: 18px; font-weight: 500; white-space: nowrap; }
.is-attn { animation: dh-rez-attn .6s; }
@keyframes dh-rez-attn { 0%, 100% { transform: none; } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* boční panel (tmavý) */
.dh-rez-aside { flex: 1 1 340px; max-width: 420px; padding: 18px 18px 26px; border-radius: var(--dh-r-xl);
  background: radial-gradient(80% 60% at 100% 0%, rgb(189 138 61 / .16), transparent 65%), linear-gradient(270deg, rgb(68 17 21 / .96), rgb(68 17 21 / .9));
  box-shadow: var(--dh-shadow-soft); color: var(--dh-on-dark-muted); display: flex; flex-direction: column; gap: 18px; position: sticky; top: calc(var(--dh-header-h) + 20px); }
.dh-rez-aside > .dh-eyebrow, .dh-rez-aside > p { padding: 8px 8px 0; }
.dh-rez-aside__photo { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: 12px; display: block; }
.dh-rez-aside__body { padding: 0 8px; display: flex; flex-direction: column; gap: 16px; }
.dh-rez-aside__title { margin: 0; font-size: 24px; line-height: 1.15; font-weight: 400; letter-spacing: -.015em; color: var(--dh-white); }
.dh-rez-aside__body > div > p { margin-top: 4px; font-size: 16px; }
.dh-rez-aside__line { height: 1px; background: var(--dh-line-on-dark); }
.dh-rez-aside__btn.dh-btn { justify-content: space-between; min-height: 58px; white-space: normal; text-align: left; line-height: 1.2; }
.dh-rez-aside__btn[disabled] { opacity: .6; cursor: progress; }
.dh-rez-aside__note { font-size: 14px; line-height: 1.5; }
.dh-rez-dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 15.5px; }
.dh-rez-dl dd { margin: 0; text-align: right; color: var(--dh-white); font-weight: 500; }
.dh-rez-dl .dh-rez-dl__total { padding-top: 12px; border-top: 1px solid var(--dh-line-on-dark); color: var(--dh-white); font-weight: 600; }
.dh-rez-dl .dh-rez-dl__big { font-size: 24px; line-height: 1.1; font-weight: 400; }

/* krok 2: kalendář a časy */
.dh-rez-cal { flex: 1 1 380px; padding: 26px 26px 22px; }
.dh-rez-cal__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.dh-rez-cal__title { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.005em; color: var(--dh-wine); }
.dh-rez-round { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--dh-hover); color: var(--dh-wine); display: grid; place-items: center; cursor: pointer; font-size: 18px; }
.dh-rez-round[disabled] { background: transparent; color: var(--dh-text-muted); opacity: .35; cursor: default; }
.dh-rez-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.dh-rez-cal__dow { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dh-text-muted); padding-bottom: 6px; }
.dh-rez-day { position: relative; height: 48px; border: 0; border-radius: 12px; background: none; font: 500 16px/1 var(--dh-font); color: rgb(103 59 58 / .38); }
.dh-rez-day.is-volno { background: #fff; box-shadow: 0 10px 24px -16px rgb(68 17 21 / .35); font-weight: 600; color: var(--dh-wine); cursor: pointer; }
.dh-rez-day.is-volno::after { content: ""; position: absolute; left: 50%; bottom: 7px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--dh-gold); }
.dh-rez-day.is-volno:hover { background: var(--dh-hover); }
.dh-rez-day[aria-pressed="true"] { background: var(--dh-chianti); color: var(--dh-white); box-shadow: 0 10px 24px -14px rgb(68 17 21 / .5); }
.dh-rez-day[aria-pressed="true"]:hover { background: var(--dh-chianti); }
.dh-rez-day.is-obsazeno { text-decoration: line-through; }
.dh-rez-day.is-dovolena { background: repeating-linear-gradient(135deg, rgb(189 172 148 / .22) 0 6px, transparent 6px 12px); color: rgb(103 59 58 / .45); }
.dh-rez-day.is-today { box-shadow: inset 0 0 0 1px var(--dh-line); }
.dh-rez-day.is-nacitani { color: rgb(103 59 58 / .2); }
.dh-rez-cal__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--dh-line); font-size: 13.5px; color: var(--dh-text-muted); }
.dh-rez-cal__legend span { display: inline-flex; align-items: center; gap: 8px; }
.dh-rez-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dh-gold); }
.dh-rez-hatch { width: 16px; height: 12px; border-radius: 3px; background: repeating-linear-gradient(135deg, rgb(189 172 148 / .5) 0 3px, transparent 3px 6px); }
.dh-rez-times { flex: 1 1 300px; display: flex; flex-direction: column; gap: 18px; }
.dh-rez-times .dh-rez-h2 + .dh-rez-muted { margin-top: 4px; }
.dh-rez-slots { margin: 0; padding: 0; border: 0; min-width: 0; }
.dh-rez-slots > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.dh-rez-slot { min-height: 46px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--dh-line); font: 600 15.5px/1 var(--dh-font); color: var(--dh-wine); font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color .2s, color .2s; }
.dh-rez-slot:hover { background: var(--dh-hover); }
.dh-rez-slot[aria-pressed="true"] { background: var(--dh-chianti); color: var(--dh-white); box-shadow: 0 10px 24px -14px rgb(68 17 21 / .5); }

/* krok 3: formuláře */
.dh-rez-form { padding: 34px 36px 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
.dh-rez-form__wide, .dh-rez-field--wide { grid-column: 1 / -1; }
.dh-rez-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dh-rez-field__label { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--dh-text-muted); }
.dh-rez-req { color: var(--dh-gold); }
.dh-rez-field__hint { font-size: 14px; color: var(--dh-text-muted); }
.dh-rez-field__err { font-size: 14px; font-weight: 600; color: var(--dh-wine); }
.dh-rez-input, .dh-rez .dh-rez-input { width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid var(--dh-line); border-radius: 12px; background: rgb(255 255 255 / .72); font: 400 16px/1.5 var(--dh-font); color: var(--dh-wine); }
textarea.dh-rez-input { min-height: 104px; resize: vertical; }
.dh-rez-input:focus, .dh-rez-input--group:focus-within { outline: none; border-color: var(--dh-wine); background: #fff; box-shadow: 0 0 0 3px rgb(107 25 32 / .14); }
.dh-rez-input[readonly] { background: transparent; color: var(--dh-text-muted); }
.dh-rez .dh-rez-input--group { display: flex; align-items: center; padding: 0; overflow: hidden; }
.dh-rez-input--group input { flex: 1; min-width: 0; min-height: 50px; padding: 13px 16px; border: 0; background: transparent; font: inherit; color: inherit; outline: none; }
.dh-rez-prefix { align-self: stretch; display: grid; place-items: center; padding: 0 14px; border-right: 1px solid var(--dh-line); font-size: 16px; color: var(--dh-text-muted); }
.dh-rez-iconbtn { width: 44px; height: 44px; flex: none; margin-right: 4px; border: 0; border-radius: 50%; background: transparent; color: var(--dh-text-muted); display: grid; place-items: center; font-size: 20px; cursor: pointer; }
.dh-rez-iconbtn:hover { background: var(--dh-hover); color: var(--dh-wine); }
.dh-rez-iconbtn.is-done { background: var(--dh-gold); color: var(--dh-chianti); }
.dh-rez-ts:empty { display: none; }
.dh-rez-check { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; line-height: 1.5; color: var(--dh-text-muted); cursor: pointer; }
.dh-rez-check input { margin-top: 2px; }

/* krok 4: shrnutí */
.dh-rez-sum { padding: 10px 28px; }
.dh-rez-sum__row { display: grid; grid-template-columns: 150px 1fr auto; gap: 6px 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--dh-line); font-size: 17px; }
.dh-rez-sum__row:last-child { border-bottom: 0; }
.dh-rez-sum__row .dh-rez-legend { margin: 0; }
.dh-rez-sum__row strong { font-weight: 600; }
.dh-rez-sum__row small { display: block; font-size: 15px; color: var(--dh-text-muted); }
.dh-rez-sum__row .dh-rez-a { font-size: 15px; }

/* krok 5: hotovo */
.dh-rez-done { display: flex; flex-direction: column; gap: 32px; }
.dh-rez-done__head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.dh-rez-done__body { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.dh-rez-pay { flex: 999 1 560px; min-width: 0; padding: 30px; display: flex; flex-wrap: wrap; gap: 30px; align-items: flex-start; }
.dh-rez-pay__qr { flex: none; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 13.5px; color: var(--dh-text-muted); }
.dh-rez-pay__code { width: 212px; padding: 16px; border-radius: var(--dh-r-md); background: #fff; box-shadow: var(--dh-shadow-tiny); }
.dh-rez-pay__code svg { display: block; width: 100%; height: auto; }
.dh-rez-pay__info { flex: 1 1 280px; display: flex; flex-direction: column; gap: 14px; }
.dh-rez-pay__dl { margin: 0; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 16px; align-items: center; font-size: 16px; }
.dh-rez-pay__dl dt { color: var(--dh-text-muted); }
.dh-rez-pay__dl dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.dh-rez-pay__dl > span { width: 44px; height: 44px; }
.dh-rez-ticket { position: static; flex: 1 1 340px; max-width: 460px; padding: 26px; gap: 16px; }
.dh-rez-ticket__top { display: flex; align-items: center; gap: 16px; }
.dh-rez-ticket__top p { margin-top: 2px; font-size: 15.5px; }
.dh-rez-ticket__where { display: flex; gap: 10px; font-size: 15px; }
.dh-rez-ticket__where .dh-i { width: 18px; height: 18px; margin-top: 3px; color: var(--dh-gold); }
.dh-rez-tile { flex: none; width: 72px; padding: 10px 0; border-radius: var(--dh-r-md); background: rgb(247 243 237 / .08); box-shadow: inset 0 0 0 1px var(--dh-line-on-dark); text-align: center; line-height: 1.1; }
.dh-rez-tile span { display: block; }
.dh-rez-tile span:nth-child(1) { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--dh-gold); }
.dh-rez-tile span:nth-child(2) { font-size: 30px; color: var(--dh-white); }
.dh-rez-tile span:nth-child(3) { font-size: 13px; }
.dh-rez-pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; background: rgb(247 243 237 / .10); font-size: 13.5px; font-weight: 600; color: var(--dh-white); }
.dh-rez-pill span { width: 7px; height: 7px; border-radius: 50%; background: var(--dh-gold); }
.dh-rez-actions { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.dh-rez-actions .dh-btn .dh-i { font-size: 18px; }

/* světlé varianty (účet, zrušení) */
.dh-rez-ticket--light { position: static; max-width: none; padding: 20px 22px; color: var(--dh-text-muted); }
.dh-rez-ticket--light .dh-rez-tile, .dh-rez-bk .dh-rez-tile { background: var(--dh-chianti); box-shadow: none; color: var(--dh-on-dark-muted); }
.dh-rez-btn-ghost.dh-btn { background: transparent; color: var(--dh-wine); box-shadow: inset 0 0 0 1px var(--dh-line); }
.dh-rez-btn-ghost.dh-btn:hover { background: var(--dh-hover); color: var(--dh-wine); }
.dh-rez-btn-ghost .dh-i { font-size: 17px; }

/* Můj účet */
.dh-rez-narrow { max-width: 680px; display: flex; flex-direction: column; gap: 22px; }
.dh-rez-narrow .dh-rez-form { grid-template-columns: 1fr; }
/* Ve sloupcovém flexu by flex-basis karet (ticket, pay) fungoval jako výška. */
.dh-rez-narrow > *, .dh-rez__main > * { flex: none; }
.dh-rez-acc__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.dh-rez-acc__head > div { display: flex; flex-direction: column; gap: 16px; }
.dh-rez-tabs { display: flex; flex-wrap: wrap; gap: 4px 26px; margin-bottom: 30px; border-bottom: 1px solid var(--dh-line); }
.dh-rez-tabs button { padding: 0 0 12px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; font: 500 16px/1.2 var(--dh-font); color: var(--dh-text-muted); cursor: pointer; }
.dh-rez-tabs button[aria-current="page"] { color: var(--dh-wine); font-weight: 600; border-bottom-color: var(--dh-gold); }
.dh-rez-acc__list { display: flex; flex-direction: column; gap: 14px; }
.dh-rez-acc__list .dh-rez-h2:not(:first-child) { margin-top: 22px; }
.dh-rez-acc__side { flex: 1 1 320px; max-width: 420px; display: flex; flex-direction: column; gap: 20px; }
.dh-rez-acc__side > * { flex: none; }
.dh-rez-acc__side .dh-rez-aside { position: static; max-width: none; padding: 26px; gap: 14px; }
.dh-rez-bk { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; padding: 16px 20px; border-radius: var(--dh-r-xl); background: var(--rez-card); box-shadow: var(--rez-card-shadow); }
.dh-rez-bk__text { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dh-rez-bk__act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.dh-rez-bk__confirm, .dh-rez-bk__pay { flex: 1 1 100%; display: flex; flex-direction: column; gap: 12px; }
.dh-rez-bk__pay .dh-rez-pay { flex: none; padding: 20px 0 6px; background: none; box-shadow: none; border-top: 1px solid var(--dh-line); border-radius: 0; }
.dh-rez-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 14px; font-weight: 600; }
.dh-rez-status span { width: 7px; height: 7px; border-radius: 50%; background: var(--dh-gold); }
.dh-rez-status.is-platba span, .dh-rez-status.is-schvaleni span { background: var(--dh-wine); }
.dh-rez-hist { margin: 0; padding: 0; list-style: none; }
.dh-rez-hist li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid var(--dh-line); font-size: 15.5px; }
.dh-rez-hist li > span:last-child { color: var(--dh-text-muted); font-size: 14.5px; }
.dh-rez-pkg__bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.dh-rez-pkg__bar span { height: 8px; border-radius: 99px; background: var(--dh-line-on-dark); }
.dh-rez-pkg__bar .is-done { background: var(--dh-gold); }
.dh-rez-pkg__bar .is-planned { background: color-mix(in oklab, var(--dh-gold) 45%, transparent); }

/* smazání účtu */
.dh-rez-delete { margin-top: 18px; padding: 18px 22px; }
.dh-rez-delete summary { cursor: pointer; font-weight: 600; color: var(--dh-text-muted); }
.dh-rez-delete form { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.dh-rez-delete .dh-btn[disabled] { opacity: .5; cursor: not-allowed; }

/* spodní lišta na mobilu */
.dh-rez-mbar { display: none; }

/* tablet a mobil */
@media (max-width: 1024px) {
  .dh-rez-aside { position: static; max-width: none; }
}
@media (max-width: 767px) {
  .dh-rez { font-size: 16px; }
  .dh-rez__head { margin-bottom: 26px; gap: 14px; }
  .dh-rez-steps { gap: 8px 16px; }
  .dh-rez-steps li { font-size: 0; gap: 0; }
  .dh-rez-steps li.is-current { font-size: 14px; gap: 8px; }
  .dh-rez__body { gap: 22px; }
  .dh-rez__main { flex-basis: 100%; }
  .dh-rez-svcbox__in { padding: 4px 14px 18px; }
  .dh-rez-var { grid-template-columns: auto 1fr auto; padding: 12px 14px; gap: 2px 12px; }
  .dh-rez-var__dur { grid-column: 2; grid-row: 2; }
  .dh-rez-var__price { grid-column: 3; grid-row: 1 / span 2; font-size: 16px; }
  .dh-rez-cal { padding: 18px 14px 16px; }
  .dh-rez-day { height: 42px; font-size: 15px; }
  .dh-rez-slots > div { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dh-rez-form { padding: 22px 18px; grid-template-columns: 1fr; }
  .dh-rez-sum { padding: 4px 18px; }
  .dh-rez-sum__row { grid-template-columns: 1fr auto; }
  .dh-rez-sum__row > span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .dh-rez-pay { padding: 20px; gap: 20px; }
  .dh-rez-pay__qr { width: 100%; }
  .dh-rez-bk__act { width: 100%; }
  .dh-rez--step1, .dh-rez--step2, .dh-rez--step3, .dh-rez--step4 { padding-bottom: 96px; }
  .dh-rez--step1 .dh-rez-aside, .dh-rez--step2 .dh-rez-aside, .dh-rez--step3 .dh-rez-aside { display: none; }
  .dh-rez--step4 .dh-rez-aside__btn { display: none; }
  .dh-rez-mbar { position: fixed; z-index: 50; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px; border-radius: 18px;
    background: var(--dh-glass-dark); backdrop-filter: blur(10px); box-shadow: var(--dh-shadow-soft); color: var(--dh-on-dark-muted); }
  .dh-rez-mbar__text { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13.5px; line-height: 1.35; }
  .dh-rez-mbar__text strong { color: var(--dh-white); font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dh-rez-mbar__text span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dh-rez-mbar .dh-btn { flex: none; }
  .dh-rez--step4 .dh-rez-mbar .dh-btn { flex: 0 1 auto; max-width: 58%; white-space: normal; text-align: center; line-height: 1.25; }
}
