/* ==========================================================================
   b-cart.css – košík, pokladna, poděkování (hc-*, ty-*)
   Tokeny a tlačítka viz b-base.css. Ostré hrany, bez stínů, bez kurzívy.
   ========================================================================== */

/* ---------- layout pokladny + mini-header ---------- */
.hc-layout main { padding-top: 0 !important; min-height: 60vh; } /* !important: JS hlavičky nastavuje padding-top na main */

.hc-header { position: sticky; top: 0; z-index: 1030; background: var(--b-blue); color: #fff; }
.hc-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 70px; }
.hc-logo { display: block; width: 118px; color: #fff; line-height: 0; }
.hc-logo svg { display: block; width: 100%; height: auto; fill: #fff; }
.hc-secure { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.hc-secure svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hc-back { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.hc-back:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.hc-back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 767px) {
    .hc-header-inner { height: 56px; }
    .hc-logo { width: 100px; }
    .hc-secure span { display: none; }
}

/* ---------- stránka ---------- */
.hc-page { padding-top: 32px; padding-bottom: 80px; color: var(--b-ink); }
@media (max-width: 767px) { .hc-page { padding-top: 20px; padding-bottom: 64px; } }

.hc-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; margin: 32px 0 24px; }
h1.hc-title { margin: 0; font-size: 32px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.hc-count { font-size: 14px; color: var(--b-alt); }
@media (max-width: 767px) { h1.hc-title { font-size: 24px; } .hc-head { margin: 24px 0 16px; } }

/* ---------- kroky 1–4 ---------- */
.hc-steps-wrap { margin: 0; }
.hc-steps-caption { display: none; margin: 0 0 12px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; }
.hc-steps-name { display: none; }
.hc-steps { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.hc-step { position: relative; display: flex; align-items: center; flex: 1 1 0; min-width: 0; color: var(--b-alt); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.hc-step:last-child { flex: 0 0 auto; }
.hc-step + .hc-step::before { content: ""; order: -1; flex: 1 1 16px; min-width: 16px; height: 1px; margin: 0 14px; background: var(--b-line); }
.hc-step > a, .hc-step > span { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; white-space: nowrap; }
.hc-step-no { position: relative; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--b-field); background: #fff; color: var(--b-alt); font-size: 14px; line-height: 1; }
.hc-step-n { display: block; }
.hc-step-check { display: none; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.hc-step-text { display: flex; flex-direction: column; text-align: left; }
.hc-step-label { line-height: 1.2; }
.hc-step-hint { display: none; }

.hc-step.is-done { color: var(--b-ink); }
.hc-step.is-done .hc-step-no { background: var(--b-ink); border-color: var(--b-ink); color: #fff; }
.hc-step.is-done .hc-step-n { display: none; }
.hc-step.is-done .hc-step-check { display: block; }
.hc-step.is-done + .hc-step::before, .hc-step.is-current::before { background: var(--b-ink); }
.hc-step.is-current { color: var(--b-blue); }
.hc-step.is-current .hc-step-no { background: var(--b-blue); border-color: var(--b-blue); color: #fff; }
.hc-step a:hover .hc-step-label { text-decoration: underline; text-underline-offset: 3px; }

.hc-progress { display: none; } /* JS plní #hc-progress-bar, vizuálně nahrazují kolečka */

@media (max-width: 767px) {
    .hc-steps-caption { display: block; }
    .hc-steps-name { display: inline; }
    .hc-steps { justify-content: space-between; }
    .hc-step, .hc-step:last-child { flex: 0 0 auto; }
    .hc-step + .hc-step { flex: 1 1 0; }
    .hc-step + .hc-step::before { margin: 0 8px; min-width: 8px; }
    .hc-step + .hc-step > a, .hc-step + .hc-step > span { flex: 0 0 auto; }
    .hc-step .hc-step-text { display: none; }
}

/* ---------- mřížka: obsah + souhrn ---------- */
.hc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; }
.hc-aside { position: sticky; top: 94px; display: grid; gap: 16px; }
@media (max-width: 991px) {
    .hc-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .hc-aside { position: static; }
}

/* ---------- karty ---------- */
.hc-card { background: #fff; border: 1px solid var(--b-line); }
.hc-card-pad { padding: 24px; }
@media (max-width: 575px) { .hc-card-pad { padding: 16px; } }
h2.hc-card-title, h3.hc-card-title { margin: 0 0 16px; font-size: 20px; font-weight: 700; line-height: 1.2; letter-spacing: -.005em; }

/* ---------- tlačítka (hc-*) ---------- */
.hc-btn-solid, .btn.hc-btn-solid,
.hc-btn-ghost, .btn.hc-btn-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-width: 190px; height: 50px; padding: 0 20px; border-radius: 0;
    font-family: var(--b-font); font-size: 16px; font-weight: 700; line-height: 1; letter-spacing: .64px;
    text-transform: uppercase; text-decoration: none; text-align: center; cursor: pointer;
    transition: box-shadow .2s ease-in-out;
}
.hc-btn-solid, .btn.hc-btn-solid { border: 3px solid var(--b-ink); background: var(--b-ink); color: #fff; }
.hc-btn-ghost, .btn.hc-btn-ghost { border: 3px solid var(--b-ink); background: #fff; color: var(--b-ink); }
.hc-btn-solid:hover, .btn.hc-btn-solid:hover, .hc-btn-solid:focus-visible,
.hc-btn-ghost:hover, .btn.hc-btn-ghost:hover, .hc-btn-ghost:focus-visible { box-shadow: 6px 6px 0 -3px #fff, 6px 6px 0 0 var(--b-ink); }
.hc-btn-solid:hover, .btn.hc-btn-solid:hover { background: var(--b-ink); color: #fff; }
.hc-btn-ghost:hover, .btn.hc-btn-ghost:hover { background: #fff; color: var(--b-ink); }
.hc-btn-solid[disabled], .hc-btn-solid:disabled { opacity: .4; box-shadow: none; pointer-events: none; }
.hc-btn-solid svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.hc-btn-block { display: flex; width: 100%; min-width: 0; }

/* ==========================================================================
   KOŠÍK
   ========================================================================== */
.hc-items { border-top: 1px solid var(--b-line); }

.hc-item {
    position: relative; display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    grid-template-areas: "img info price" "img qty remove";
    gap: 8px 24px; align-items: start;
    padding: 20px 0; border-bottom: 1px solid var(--b-line);
}
.hc-item.is-slave { margin-left: 24px; }
.hc-item-img { grid-area: img; width: 96px; aspect-ratio: 1 / 1; background: var(--b-tile); }
.hc-item-img a { display: block; width: 100%; height: 100%; }
.hc-item-img img { display: block; width: 100%; height: 100%; padding: 6px; object-fit: contain; mix-blend-mode: multiply; }
.hc-item-info { grid-area: info; min-width: 0; }
.hc-item-name { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; line-height: 20px; letter-spacing: .02em; text-transform: uppercase; color: var(--b-ink); }
a.hc-item-name:hover { text-decoration: underline; text-underline-offset: 3px; color: var(--b-ink); }
.hc-item-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 0 16px; font-size: 14px; line-height: 20px; color: var(--b-alt); }
.hc-item-meta b { font-weight: 500; color: var(--b-ink); }
.hc-item-price { grid-area: price; justify-self: end; font-size: 16px; font-weight: 700; white-space: nowrap; }
.hc-item-qty { grid-area: qty; align-self: end; }
.hc-qty-label { display: block; margin-bottom: 6px; font-size: 12px; line-height: 16px; color: var(--b-alt); }

.hc-qty { display: inline-flex; align-items: stretch; height: 40px; border: 1px solid var(--b-ink); background: #fff; }
.hc-qty .btn.btn-number { display: flex; align-items: center; justify-content: center; width: 40px; min-width: 0; height: auto; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--b-ink); font-size: 12px; box-shadow: none; }
.hc-qty .btn.btn-number:hover:not([disabled]) { background: var(--b-ink); color: #fff; box-shadow: none; }
.hc-qty .btn.btn-number[disabled] { opacity: .3; }
.hc-qty .btn-number i { padding: 0; }
.hc-qty .input-number, .hc-qty .form-control.input-number { width: 48px; height: auto; padding: 0; border: 0; border-left: 1px solid var(--b-line); border-right: 1px solid var(--b-line); border-radius: 0; background: transparent; text-align: center; font-size: 16px; font-weight: 700; box-shadow: none; }
.hc-qty .input-number:focus { box-shadow: none; background: var(--b-panel); }

.hc-item-remove { grid-area: remove; justify-self: end; align-self: end; padding: 0; border: 0; background: none; font-family: var(--b-font); font-size: 14px; color: var(--b-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hc-item-remove:hover { color: var(--b-red); }

@media (max-width: 575px) {
    .hc-item { grid-template-columns: 80px minmax(0, 1fr); grid-template-areas: "img info" "img price" "qty remove"; gap: 8px 16px; }
    .hc-item-img { width: 80px; }
    .hc-item-price { justify-self: start; }
    .hc-item.is-slave { margin-left: 12px; }
}

/* ---------- souhrn ---------- */
.hc-sum { display: grid; gap: 8px; margin: 0 0 16px; }
.hc-sum-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 14px; line-height: 20px; }
.hc-sum-row dt { font-weight: 400; color: var(--b-alt); }
.hc-sum-row dt small { font-size: 12px; }
.hc-sum-row dd { margin: 0; font-weight: 700; text-align: right; }
.hc-sum-row.is-discount dd { color: var(--b-red); }
.hc-sum-row[hidden] { display: none; }

.hc-sum-total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 8px; padding-top: 16px; border-top: 1px solid var(--b-ink); font-size: 16px; font-weight: 700; }
.hc-sum-total strong { font-size: 20px; line-height: 1.2; }
.hc-sum-vat { margin: 0 0 16px; font-size: 12px; line-height: 16px; color: var(--b-alt); }

/* doprava zdarma – pruh v tealu */
.hc-ship { margin: 0 0 16px; padding: 12px 16px; background: var(--b-teal); font-size: 14px; line-height: 20px; }
.hc-ship strong { font-weight: 700; }
.hc-ship-bar { display: block; height: 4px; margin-top: 10px; background: #fff; }
.hc-ship-bar > span { display: block; height: 100%; background: var(--b-ink); transition: width .4s ease; }

.hc-trust { display: grid; gap: 10px; margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid var(--b-line); list-style: none; font-size: 14px; }
.hc-trust li { display: flex; align-items: center; gap: 12px; }
.hc-trust svg { flex: 0 0 auto; width: 20px; height: 20px; fill: none; stroke: var(--b-ink); stroke-width: 1.5; }

/* ---------- voucher ---------- */
.hc-voucher { display: flex; }
.hc-voucher-field { position: relative; flex: 1 1 auto; min-width: 0; }
.hc-voucher input { width: 100%; height: 48px; padding: 0 44px 0 14px; border: 1px solid var(--b-field); border-right: 0; border-radius: 0; background: #fff; color: var(--b-ink); font-family: var(--b-font); font-size: 16px; box-shadow: none; }
.hc-voucher input:focus { outline: 0; border-color: var(--b-blue); box-shadow: 0 0 0 1px var(--b-blue); }
.hc-voucher input.input-validation-error { border-color: var(--b-red); box-shadow: 0 0 0 1px var(--b-red); }
.hc-voucher-field .input-clear.btn { position: absolute; right: 4px; top: 50%; display: flex; align-items: center; justify-content: center; width: 32px; min-width: 0; height: 32px; padding: 0; transform: translateY(-50%); border: 0; background: none; color: var(--b-ink); box-shadow: none; }
.hc-voucher-field .input-clear.btn:hover { background: none; box-shadow: none; color: var(--b-red); }
.hc-voucher > .btn { flex: 0 0 auto; min-width: 0; height: 48px; padding: 0 20px; font-size: 14px; }

.hc-coupons { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.hc-coupon { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; border: 1px solid var(--b-line); background: var(--b-panel); font-size: 14px; }
.hc-coupon b { font-weight: 700; letter-spacing: .04em; }
.hc-coupon .delete-voucher { padding: 4px; cursor: pointer; }
.hc-coupon .delete-voucher:hover { color: var(--b-red); }

/* prázdný košík */
.hc-empty { padding: 64px 24px; text-align: center; border: 1px solid var(--b-line); }
.hc-empty svg { width: 56px; height: 56px; margin-bottom: 16px; fill: none; stroke: var(--b-ink); stroke-width: 1.3; }
.hc-empty p { max-width: 440px; margin: 0 auto 24px; color: var(--b-alt); }

/* ---------- mobilní lišta ---------- */
.hc-mobilebar { display: none; }
@media (max-width: 991px) {
    .hc-mobilebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1020; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--b-line); }
    .hc-mobilebar-total { line-height: 1.2; }
    .hc-mobilebar-total small { display: block; font-size: 12px; color: var(--b-alt); }
    .hc-mobilebar-total strong { font-size: 18px; font-weight: 700; }
    .hc-mobilebar .btn { min-width: 0; height: 46px; padding: 0 22px; font-size: 14px; }
    .hc-page { padding-bottom: 112px; }
}

/* ==========================================================================
   POKLADNA – kroky (akordeon)
   ========================================================================== */
.hc-checkout-steps { display: grid; gap: 16px; }
.checkout-step { position: relative; background: #fff; border: 1px solid var(--b-line); }
.checkout-step.is-active { border-color: var(--b-ink); }
.checkout-step .step-badge { position: absolute; left: 20px; top: 24px; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--b-field); background: #fff; color: var(--b-alt); font-size: 14px; font-weight: 700; line-height: 1; }
.checkout-step.is-active .step-badge { background: var(--b-blue); border-color: var(--b-blue); color: #fff; }
.checkout-step.is-done .step-badge { background: var(--b-ink); border-color: var(--b-ink); color: transparent; font-size: 0; }
.checkout-step.is-done .step-badge::before { content: ""; width: 5px; height: 10px; margin-top: -2px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checkout-step .step-line { display: none; }
.checkout-step .step-content { padding: 0; }
.checkout-step .step-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; padding: 16px 24px 16px 64px; cursor: pointer; }
.checkout-step.is-active .step-header, .checkout-step:not(.is-active):not(.is-done) .step-header { cursor: default; }
.checkout-step .step-heading { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.checkout-step .step-title { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.2; letter-spacing: -.005em; color: var(--b-alt); }
.checkout-step.is-active .step-title, .checkout-step.is-done .step-title { color: var(--b-ink); }
.checkout-step .step-summary { display: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--b-alt); }
.checkout-step.is-done .step-summary:not(:empty) { display: block; }
.checkout-step .step-edit { display: none; flex: 0 0 auto; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.checkout-step.is-done .step-edit { display: inline-block; }
.checkout-step .step-body { display: none; padding: 8px 24px 24px; }
.checkout-step.is-active .step-body { display: block; }
@media (max-width: 575px) {
    .checkout-step .step-badge { left: 14px; top: 20px; }
    .checkout-step .step-header { min-height: 68px; padding: 14px 14px 14px 52px; }
    .checkout-step .step-title { font-size: 18px; }
    .checkout-step .step-summary { white-space: normal; }
    .checkout-step .step-body { padding: 4px 16px 16px; }
}

/* ---------- formuláře ---------- */
.hc-fieldset { margin: 0 0 32px; }
h3.hc-fieldset-title, h4.hc-fieldset-title { margin: 0 0 16px; font-size: 16px; font-weight: 500; font-stretch: 125%; line-height: 1.25; letter-spacing: 0; text-transform: uppercase; }
.hc-required-note { margin: 0 0 16px; font-size: 14px; color: var(--b-alt); }
.hc-fields { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 16px; }
.hc-field { grid-column: span 12; margin-bottom: 16px; }
.hc-field.half { grid-column: span 6; }
@media (max-width: 575px) { .hc-field.half { grid-column: span 12; } }
.hc-field label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 500; }
.hc-field .form-control, .hc-field .form-select { width: 100%; }
.hc-field .field-validation-error { display: block; margin-top: 4px; }

.hc-page .validation-summary-errors { margin: 20px 0; padding: 12px 16px; border: 1px solid var(--b-red); background: #fdecee; color: #8a0b20; font-size: 14px; }
.hc-page .validation-summary-errors ul { margin: 0; padding-left: 18px; }
.hc-page .validation-summary-valid { display: none; }

.hc-check { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 16px; font-weight: 400; cursor: pointer; }
.hc-check span { font-size: 16px; }
.hc-check input[type="checkbox"], .hc-page .form-checbox { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: var(--b-ink); cursor: pointer; }

.hc-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--b-line); }
@media (max-width: 767px) {
    .hc-actions { flex-direction: column-reverse; align-items: stretch; margin-top: 24px; padding-top: 16px; }
    .hc-actions .btn { width: 100%; }
}

/* ---------- souhrn v pokladně ---------- */
.hc-mini-items { display: grid; gap: 16px; max-height: 320px; margin: 0 0 16px; padding: 8px 6px 0 0; overflow-y: auto; list-style: none; }
.hc-mini-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.hc-mini-img { position: relative; display: block; width: 64px; aspect-ratio: 1 / 1; background: var(--b-tile); }
.hc-mini-img img { display: block; width: 100%; height: 100%; padding: 4px; object-fit: contain; mix-blend-mode: multiply; }
.hc-mini-qty { position: absolute; top: -6px; right: -6px; display: flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; background: var(--b-ink); color: #fff; font-size: 12px; font-weight: 700; line-height: 1; }
.hc-mini-name { font-size: 14px; font-weight: 700; line-height: 18px; letter-spacing: .02em; text-transform: uppercase; }
.hc-mini-price { font-size: 14px; white-space: nowrap; }
.hc-edit-cart { display: inline-block; margin: 0 0 16px; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   DOPRAVA A PLATBA – radio karty
   ========================================================================== */
.hc-methods { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
@media (max-width: 991px) { .hc-methods { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.hc-methods h2 { margin: 0 0 16px; font-size: 16px; font-weight: 500; font-stretch: 125%; line-height: 1.25; letter-spacing: 0; text-transform: uppercase; }

ul.hc-radio-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hc-radio { position: relative; background: #fff; border: 1px solid var(--b-line); cursor: pointer; transition: border-color .15s ease; }
.hc-radio:hover:not(.disabled) { border-color: var(--b-ink); }
.hc-radio.active { border-color: var(--b-ink); box-shadow: inset 0 0 0 1px var(--b-ink); }
.hc-radio.disabled { opacity: .4; cursor: not-allowed; }
.hc-radio .checkmark { display: none; }
.hc-radio input[type="radio"] { width: 18px; height: 18px; margin: 0; accent-color: var(--b-ink); cursor: pointer; }
.hc-radio.disabled input[type="radio"] { cursor: not-allowed; }

.hc-radio-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 16px; }
.hc-radio-row.has-logo { grid-template-columns: 24px 56px minmax(0, 1fr) auto; }
.hc-radio-logo { display: flex; align-items: center; justify-content: center; width: 56px; height: 34px; }
.hc-radio-logo img, .hc-radio .shipping-img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hc-radio-logo i { font-size: 22px; color: var(--b-ink); }
.hc-radio-name { font-size: 14px; font-weight: 700; line-height: 20px; }
.hc-radio-desc { margin-top: 2px; font-size: 12px; line-height: 16px; color: var(--b-alt); }
.hc-radio-price { font-size: 14px; font-weight: 700; white-space: nowrap; text-align: right; }
.hc-radio-price .is-free { color: var(--b-ink); text-transform: uppercase; letter-spacing: .04em; font-size: 12px; }
.hc-radio .supply-point-text-container { display: inline-block; margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--b-ink); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 575.98px) {
    .hc-radio-row { grid-template-columns: 20px minmax(0, 1fr); gap: 4px 12px; padding: 14px; }
    .hc-radio-row.has-logo { grid-template-columns: 20px 48px minmax(0, 1fr); }
    .hc-radio-row .hc-radio-price { grid-column: 2; grid-row: 2; text-align: left; white-space: normal; }
    .hc-radio-row.has-logo .hc-radio-price { grid-column: 3; }
    .hc-radio-logo { width: 48px; }
    .hc-radio-name { overflow-wrap: anywhere; }
}

/* ---------- výdejní místa (SupplyPoint) – modal ---------- */
.modal-shipping { padding: 24px; }
.modal-shipping h2 { margin: 0; font-size: 20px; font-weight: 700; }
.modal-shipping .close { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; background: none; color: var(--b-ink); font-size: 28px; line-height: 1; float: right; cursor: pointer; }
.modal-shipping .close:hover { color: var(--b-alt); }
.modal-shipping table { width: 100%; margin: 0; font-size: 14px; }
.modal-shipping table th { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--b-alt); }
.modal-shipping table th.c, .modal-shipping table td.c { text-align: center; }
.modal-shipping table tr[data-supplypoint-id] { cursor: pointer; }
.modal-shipping table tr[data-supplypoint-id]:hover > * { background: var(--b-panel); }
.modal-shipping h2 + p, .modal-shipping p { font-size: 14px; color: var(--b-alt); }
.modal-shipping .alert { margin: 0; }

/* ==========================================================================
   SHRNUTÍ / REKAPITULACE
   ========================================================================== */
.hc-addr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 32px; }
@media (max-width: 767px) { .hc-addr-grid { grid-template-columns: minmax(0, 1fr); } }
.hc-addr { padding: 20px; border: 1px solid var(--b-line); font-size: 14px; line-height: 22px; }
.hc-addr h4 { margin: 0 0 8px; font-size: 16px; font-weight: 500; font-stretch: 125%; line-height: 1.25; letter-spacing: 0; text-transform: uppercase; }
.hc-addr b { font-weight: 500; }

.hc-recap-items { margin: 0 0 24px; padding: 0; list-style: none; border-top: 1px solid var(--b-line); }
.hc-recap-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--b-line); }
.hc-recap-item .hc-mini-img { width: 72px; }
.hc-recap-name { font-size: 14px; font-weight: 700; line-height: 20px; letter-spacing: .02em; text-transform: uppercase; }
.hc-recap-meta { margin-top: 2px; font-size: 14px; color: var(--b-alt); }
.hc-recap-price { font-size: 14px; font-weight: 700; white-space: nowrap; }
.hc-recap-price .fa { font-size: 16px; }
.hc-recap-price .fa:hover { color: var(--b-red); }

.hc-recap-totals { display: grid; gap: 8px; max-width: 380px; margin: 0 0 24px auto; }
@media (max-width: 575px) { .hc-recap-totals { max-width: none; } }

.hc-terms { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 16px; font-size: 14px; line-height: 20px; }
.hc-terms input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--b-ink); }
.hc-terms label { margin: 0; font-size: 14px; font-weight: 400; }
.hc-terms a { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   DÁRKY K OBJEDNÁVCE (OrderGifts / OrderGift)
   ========================================================================== */
.cart-div { margin-top: 16px; }
#btnGiftsOpen { gap: 10px; }
#btnGiftsOpen.btn-success { border: 3px solid var(--b-ink); background: #fff; color: var(--b-ink); }
#orderGiftModal .modal-header { display: flex; align-items: center; justify-content: space-between; }
#orderGiftModal .form-headline { margin: 0; font-size: 20px; }
.gift-container .gift { padding-bottom: 8px; }
.gift h5 { margin: 0 0 16px; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.gift .size-title { margin-bottom: 8px; font-size: 14px; font-weight: 500; font-stretch: 125%; text-transform: uppercase; color: var(--b-alt); }
.gift .color-container { display: inline-block; width: 64px; height: 64px; margin: 0 4px 8px; padding: 0; border: 1px solid var(--b-line); border-radius: 0; background: var(--b-tile); cursor: pointer; }
.gift .color-container img, .gift .product-color-img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gift .color-container.select-active { border: 2px solid var(--b-ink); }
.gift .btn.size-button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; margin: 0 4px 8px; padding: 0 8px; border: 1px solid var(--b-field); border-radius: 0; background: #fff; color: var(--b-ink); font-size: 14px; font-weight: 400; box-shadow: none; }
.gift .btn.size-button:hover { border-color: var(--b-ink); background: #fff; }
.gift .btn.size-button.active { border: 2px solid var(--b-ink); font-weight: 700; }
.gift .btn.size-button.disabled { color: var(--b-alt); background: linear-gradient(to top right, transparent calc(50% - .5px), var(--b-field) 50%, transparent calc(50% + .5px)) #fff; pointer-events: none; opacity: 1; }
.gift hr { margin: 8px 0 0; }
.delete-gift { cursor: pointer; }
#ajax-result-modal .modal-close, .modal-close { cursor: pointer; font-size: 20px; }

/* upozornění v pokladně a košíku */
.hc-page .alert-error { border-color: var(--b-red); background: #fdecee; color: #8a0b20; }
.hc-page .alert-error .btn { min-width: 0; height: 40px; margin-left: 12px; font-size: 14px; }
.hc-page .alert-warning { background: #fff8e0; border-color: #e0b400; }

/* ==========================================================================
   PODĚKOVÁNÍ + stavy platby (ty-*)
   ========================================================================== */
.ty-page { padding-bottom: 64px; }
.ty-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 32px; align-items: center; margin: 0 0 40px; padding: 40px; background: var(--b-blue); color: #fff; }
.ty-mark { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; background: #fff; }
.ty-mark svg { width: 48px; height: 48px; fill: none; stroke: var(--b-blue); stroke-width: 2.4; }
.ty-hero-text { min-width: 0; }
.ty-eyebrow { display: inline-block; margin-bottom: 8px; font-size: 14px; font-weight: 500; font-stretch: 125%; text-transform: uppercase; color: #fff; opacity: .8; }
h1.ty-title { margin: 0 0 12px; font-size: 40px; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; color: #fff; }
.ty-lead { max-width: 640px; margin: 0 0 8px; font-size: 16px; line-height: 24px; color: #fff; overflow-wrap: anywhere; }
.ty-lead strong { font-weight: 700; }
.ty-lead--small { font-size: 14px; opacity: .8; }
.ty-ticket { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 24px; background: #fff; color: var(--b-ink); text-align: center; }
.ty-ticket-label { font-size: 12px; line-height: 16px; color: var(--b-alt); }
.ty-ticket-no { font-size: 28px; font-weight: 700; line-height: 1.1; }
.hc-order-no { font-variant-numeric: tabular-nums; }

.ty-hero--warn { background: var(--b-red); }
.ty-mark--warn svg { stroke: var(--b-red); stroke-width: 3; }

.ty-next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0 0 40px; padding: 0; list-style: none; }
.ty-next li { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 40px; padding-left: 44px; }
.ty-next-no { position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--b-field); color: var(--b-alt); font-size: 14px; font-weight: 700; }
.ty-next-no svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.ty-next li.is-done .ty-next-no { background: var(--b-ink); border-color: var(--b-ink); color: #fff; }
.ty-next strong { font-size: 16px; font-weight: 700; }
.ty-next span:not(.ty-next-no) { font-size: 14px; line-height: 20px; color: var(--b-alt); }

.ty-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.ty-items { margin: 0 0 16px; padding: 0; list-style: none; border-top: 1px solid var(--b-line); }
.ty-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--b-line); }
.ty-item-name { font-size: 14px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.ty-item-meta { grid-column: 1; font-size: 14px; color: var(--b-alt); }
.ty-item-price { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 14px; font-weight: 700; white-space: nowrap; }
.ty-sum { margin: 0 0 16px; }
.ty-sum > div { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; font-size: 14px; }
.ty-sum dt { font-weight: 400; color: var(--b-alt); }
.ty-sum dd { margin: 0; font-weight: 700; text-align: right; }
.ty-address { margin: 0 0 16px; font-size: 14px; line-height: 22px; }
.ty-help { font-size: 14px; color: var(--b-alt); }
.ty-link { display: inline-block; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; border-bottom: 3px solid currentColor; padding-bottom: 2px; }
.ty-link:hover { color: var(--b-ink); border-bottom-color: var(--b-teal); }
.ty-actions { margin: 32px 0 48px; }
.ty-actions--row { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 991px) {
    .ty-hero { grid-template-columns: auto minmax(0, 1fr); padding: 24px; gap: 20px; }
    .ty-mark { width: 72px; height: 72px; }
    .ty-mark svg { width: 36px; height: 36px; }
    .ty-ticket { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; }
    .ty-next { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .ty-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575px) { h1.ty-title { font-size: 28px; } .ty-actions--row .btn { width: 100%; } }

/* legacy zbytky (Kosik/Objednavka) – jen nutné minimum */
.indent-slave { margin-left: 24px; }
