/* Darčekové poukážky: stránka /darcekovy-poukaz/ a košík /kosik/ (inc/assets.php). */
.gv { padding: 1rem 0 4rem; }
.gv [hidden] { display: none !important; }
.gv-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3.5rem; align-items: start; }
.gv-step { border: 0; padding: 0; margin: 0 0 2.2rem; min-width: 0; }
.gv-step legend { display: flex; align-items: center; gap: 0.7rem; font-family: var(--display); font-size: 1.45rem; padding: 0; margin-bottom: 1.1rem; line-height: 1.25; }
.gv-step legend > span:first-child { flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; background: var(--rose-btn, #a2656f); color: #fff; font-family: var(--sans); font-size: 0.85rem; }
.gv-fields { display: grid; gap: 1.1rem; }
.gv-help { color: var(--muted); font-size: 0.86rem; line-height: 1.45; margin-top: 0.45rem; }
.gv-err { color: #97473a; font-size: 0.88rem; margin-top: 0.35rem; }
.gv input[aria-invalid="true"] { border-color: #97473a; }
.gv-cartlink { display: inline-block; margin-bottom: 1.4rem; color: var(--rose-deep); font-size: 0.92rem; text-decoration: underline; }
.gv-opt { display: flex; align-items: center; gap: 0.75rem; padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 0.55rem; cursor: pointer; background: var(--white); }
.gv-opt:has(input:checked) { border-color: var(--rose); box-shadow: inset 0 0 0 1px var(--rose); }
.gv-opt input { accent-color: var(--rose-deep); width: 17px; height: 17px; flex: none; margin: 0; }
.gv-opt-n { flex: 1; line-height: 1.35; }
.gv-opt-p { font-family: var(--display); font-size: 1.15rem; color: var(--rose-deep); white-space: nowrap; }
.gv-count { margin-top: 1.1rem; }
.gv-count .fl { display: block; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.55rem; }
.gv-count-row { display: flex; gap: 0.5rem; }
.gv-count-row label { cursor: pointer; }
.gv-count-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gv-count-row span { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.gv-count-row input:checked + span { background: var(--rose-btn, #a2656f); border-color: var(--rose-btn, #a2656f); color: #fff; }
.gv-count-row input:focus-visible + span { outline: 2px solid var(--plum); outline-offset: 2px; }
.gv-contra { margin: 1.1rem 0 0; padding: 0.9rem 1.1rem; border-left: 3px solid var(--rose); background: #f0dfdc; font-size: 0.92rem; line-height: 1.5; border-radius: 0 8px 8px 0; }
.gv-warnbox { margin: 1.4rem 0 0; padding: 1.1rem 1.3rem; background: #f0dfdc; border-left: 3px solid var(--rose); border-radius: 0 10px 10px 0; font-size: .95rem; line-height: 1.5; }
.gv-warnbox-h { display: block; font-family: var(--display); font-weight: 400; font-size: 1.2rem; margin-bottom: .5rem; }
.gv-warnbox p { margin: .5rem 0 0; }
.gv-add { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.gv-add-price span { display: block; font-size: 0.8rem; color: var(--muted); }
.gv-add-price b { font-family: var(--display); font-weight: 500; font-size: 2rem; color: var(--rose-deep); }
.gv-preview { position: sticky; top: 124px; } /* pod zbalenou hlavičkou (90 px) ostane medzera, nie zasunutie */
.gv-preview-note { color: var(--muted); font-size: 0.86rem; margin-top: 0.8rem; text-align: center; }

/* Poukážka, rovnaký vzhľad ako PDF (tools/poukazky_build.py, 210 × 148 mm, 1 mm = 0,476cqw) */
.gv-v { container-type: inline-size; display: flex; flex-direction: column; aspect-ratio: 210 / 148; border-radius: 12px; overflow: hidden; background: #f5efe8; color: #2a2320; box-shadow: 0 30px 60px -30px rgba(42,35,32,.6); }
.gv-v-photo { flex: none; position: relative; height: 36.5%; padding: 3.1cqw 4.76cqw 2.9cqw; display: flex; flex-direction: column; justify-content: space-between; color: #f5efe8; background: #2a2320 url('../img/hero-sunset.webp') 40% 62% / cover no-repeat; }
.gv-v-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42,35,32,.3), rgba(42,35,32,.04) 55%, rgba(42,35,32,.26)); }
.gv-v-photo > * { position: relative; z-index: 1; text-shadow: 0 1px 8px rgba(42,35,32,.55); }
.gv-v-logo { display: flex; align-items: center; font-size: 2.2cqw; color: #fff; }
.gv-v-logo svg { width: 3.8cqw; height: 3.8cqw; margin-right: .76cqw; }
.gv-v-logo b { font-weight: 600; }
.gv-v-logo i { font-family: var(--display); font-style: italic; color: #f4dfdc; }
.gv-v-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2cqw; }
.gv-v-title { font-family: var(--display); font-size: 4.88cqw; line-height: 1.03; }
.gv-v-title em { display: block; font-style: italic; color: #f4dfdc; }
.gv-v-slogan { font-family: var(--display); font-style: italic; font-size: 1.77cqw; line-height: 1.32; margin: 0; text-align: right; }
.gv-v-body { flex: 1; min-height: 0; padding: 2.86cqw 4.76cqw 1.7cqw; display: flex; flex-direction: column; }
.gv-v-main { display: grid; grid-template-columns: minmax(0, 1fr) 15.7cqw 13.3cqw; gap: 3.3cqw; }
.gv-v-kicker { display: block; line-height: 1.3; font-size: 1.08cqw; letter-spacing: .18em; text-transform: uppercase; color: #90525d; }
.gv-v-name { font-family: var(--display); font-size: 2.86cqw; line-height: 1.14; margin-top: .38cqw; }
.gv-v-detail { font-size: 1.45cqw; color: #6d645d; margin-top: .14cqw; }
.gv-v-people { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.4cqw; margin-top: 1.52cqw; }
.gv-v-field { border-bottom: 1px solid rgba(42,35,32,.32); padding-bottom: .48cqw; min-width: 0; }
.gv-v-field span, .gv-v-meta span { display: block; font-size: 1cqw; letter-spacing: .14em; text-transform: uppercase; color: #6d645d; }
.gv-v-field b { display: block; font-family: var(--display); font-weight: 400; font-size: 2.19cqw; line-height: 1.25; overflow-wrap: anywhere; }
.gv-v-field b.is-empty { color: #6d645d; } /* kontrast 5,1 : 1 (predtým #a59b92 = 2,4) */
.gv-v-meta div + div { margin-top: 1.05cqw; }
.gv-v-meta b { display: block; font-weight: 600; font-size: 1.52cqw; line-height: 1.3; }
.gv-v-meta b.gv-v-price { font-family: var(--display); font-weight: 500; font-size: 3.2cqw; line-height: 1.1; color: #8c4c58; }
.gv-v-qr { text-align: center; }
.gv-v-qr img { display: block; width: 100%; height: auto; }
.gv-v-qr span { display: block; font-size: .98cqw; letter-spacing: .1em; text-transform: uppercase; color: #90525d; margin-top: .57cqw; }
.gv-v-warn { margin-top: auto; padding: .86cqw 1.2cqw; background: #f0dfdc; border-left: .38cqw solid #bd7682; border-radius: 0 .6cqw .6cqw 0; font-size: 1.29cqw; line-height: 1.38; }
.gv-v-warn b { font-weight: 700; }
.gv-v-fine { margin-top: 1.1cqw; padding-top: 1.24cqw; border-top: 1px solid rgba(42,35,32,.2); display: grid; grid-template-columns: 1fr 1fr; gap: 3.3cqw; font-size: 1.23cqw; line-height: 1.38; }
.gv-v-warn[hidden] + .gv-v-fine { margin-top: auto; }
.gv-v-h { display: block; font-family: var(--display); font-weight: 400; font-size: 1.69cqw; margin-bottom: .38cqw; }
.gv-v-fine ol, .gv-v-fine ul { margin: 0; padding: 0 0 0 1.2em; }
.gv-v-foot { display: flex; justify-content: space-between; gap: 2.4cqw; margin-top: 1.05cqw; font-size: 1.05cqw; color: #6d645d; white-space: nowrap; }
.gv-v-foot b { font-weight: 600; color: #2a2320; }


#kontraindikacie + .storno-list li { display: block; }
#kontraindikacie + .storno-list .st-k { display: block; margin-bottom: .3rem; }
.gv-terms-h { font-size: 1.25rem; font-weight: 400; margin: 1.6rem 0 .3rem; scroll-margin-top: 110px; }
.gv-terms { padding: 1rem 0 4.5rem; }
.gv-terms .storno { margin: 0 auto; max-width: 820px; }

@media (max-width: 960px) {
  .gv-cols { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .gv-preview { position: static; order: -1; }
}
@container (max-width: 520px) {
  .gv-v-photo { padding: 4.5cqw 5cqw; min-height: 44cqw; }
  .gv-v-logo { font-size: 4.2cqw; }
  .gv-v-logo svg { width: 5.6cqw; height: 5.6cqw; margin-right: 1.4cqw; }
  .gv-v-title { font-size: 8.4cqw; }
  .gv-v-slogan { font-size: 2.9cqw; }
  .gv-v-body { padding: 5cqw; }
  .gv-v-main { grid-template-columns: minmax(0, 1fr) 24cqw; gap: 4cqw 3cqw; }
  .gv-v-svc { grid-column: 1 / -1; }
  .gv-v-kicker { font-size: 2.6cqw; }
  .gv-v-name { font-size: 5.6cqw; margin-top: 1cqw; }
  .gv-v-detail { font-size: 3.4cqw; margin-top: .6cqw; }
  .gv-v-people { margin-top: 3cqw; gap: 3cqw; }
  .gv-v-field { padding-bottom: 1cqw; }
  .gv-v-field span, .gv-v-meta span { font-size: 2.4cqw; }
  .gv-v-field b { font-size: 4.4cqw; }
  .gv-v-meta div + div { margin-top: 2cqw; }
  .gv-v-meta b { font-size: 3.2cqw; }
  .gv-v-meta b.gv-v-price { font-size: 6.4cqw; }
  .gv-v-qr span { font-size: 1.9cqw; margin-top: 1cqw; }
  .gv-v-fine, .gv-v-foot { display: none; }
  .gv-v-warn { margin-top: 4cqw; padding: 2.6cqw 3cqw; border-left-width: 1cqw; border-radius: 0 2cqw 2cqw 0; font-size: 3.6cqw; line-height: 1.42; }
}
@media (max-width: 560px) {
  .gv-v { aspect-ratio: auto; }
  .gv-v-photo { height: auto; }
  .gv-add .btn { width: 100%; text-align: center; }
  .gv-add-price { width: 100%; }
}

/* ===================== Pridané do košíka (okno na stránke poukážok) ===================== */
.gv-added { position: fixed; inset: 0; margin: auto; height: fit-content; max-height: calc(100vh - 2rem); overflow: auto; width: min(520px, calc(100vw - 2rem)); border: 0; border-radius: 18px; padding: 1.6rem; background: var(--white); color: var(--plum); box-shadow: 0 30px 80px -20px rgba(42,35,32,.5); }
.gv-added::backdrop { background: rgba(42,35,32,.45); }
.gv-added-h { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-size: 1.35rem; margin: 0 0 1rem; color: var(--plum); }
.gv-added-h svg { color: #4f8a64; flex: none; }
.gv-added-item { list-style: none; margin: 0 0 1.3rem; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gv-added-btns { display: flex; gap: .7rem; flex-wrap: wrap; }
.gv-added-btns .btn { flex: 1 1 200px; justify-content: center; text-align: center; }
.gv-cartlink { font-weight: 600; }

/* ===================== Košík /kosik/ (ako v e-shope, Lukáš 2026-11-09) ===================== */
.cart { padding: 8.5rem 0 5rem; min-height: 70vh; background: #faf7f3; }
.cart [hidden] { display: none !important; }
.cart :focus:not(:focus-visible) { outline: none; }
.cart-steps { list-style: none; display: flex; justify-content: center; gap: .4rem; margin: 0 auto 2.4rem; padding: 0; max-width: 620px; counter-reset: s; }
.cart-steps li { flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem; padding-bottom: .8rem; border-bottom: 3px solid var(--line); color: var(--muted); font-size: .84rem; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.cart-steps li span { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--paper-2); color: var(--muted); font-size: .78rem; }
.cart-steps li.is-on { color: var(--plum); border-color: var(--rose-deep); }
.cart-steps li.is-on span { background: var(--rose-deep); color: #fff; }
.cart-steps li.is-done { color: var(--plum); border-color: var(--rose); }
.cart-steps li.is-done span { background: var(--rose); color: #fff; }

.cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; align-items: start; max-width: 1080px; margin: 0 auto; }
.cart-main { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1.8rem 2rem 2rem; }
.cart-h { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 400; margin: 0 0 1.2rem; }
.cart-count { color: var(--muted); font-family: var(--sans); font-size: 1rem; vertical-align: middle; }
.cart-items { list-style: none; margin: 0; padding: 0; }
.cart-item { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; grid-template-areas: "t i p" "t i r"; gap: .3rem 1.1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-items > .cart-item:first-child { border-top: 1px solid var(--line); }
.cart-thumb { grid-area: t; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 210 / 148; padding: .45rem .55rem; border-radius: 8px; background: linear-gradient(135deg, #3b302c 0%, #7b4752 60%, #bd7682 100%); color: #f5efe8; font-family: var(--display); font-size: .72rem; line-height: 1.05; }
.cart-thumb i { color: #f4dfdc; }
.cart-info { grid-area: i; min-width: 0; }
.cart-kicker { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-deep); font-weight: 600; }
.cart-info strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.15rem; line-height: 1.25; margin: .15rem 0 .1rem; }
.cart-info small { display: block; color: var(--muted); font-size: .88rem; overflow-wrap: anywhere; }
.cart-info .cart-who { color: var(--plum); margin-top: .25rem; }
.cart-price { grid-area: p; font-family: var(--display); font-weight: 500; font-size: 1.25rem; color: var(--plum); white-space: nowrap; text-align: right; }
.cart-rm { grid-area: r; justify-self: end; align-self: end; display: inline-flex; align-items: center; gap: .3rem; background: none; border: 0; padding: .35rem 0; color: var(--muted); font: inherit; font-size: .84rem; cursor: pointer; }
.cart-rm:hover { color: #97473a; }
.cart-more { display: inline-block; margin-top: 1.1rem; color: var(--rose-deep); font-weight: 600; font-size: .95rem; }
.cart-more:hover { text-decoration: underline; }

.cart-sum { position: sticky; top: 110px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1.6rem; }
.cart-sum h2 { font-size: 1.25rem; font-weight: 400; margin: 0 0 1rem; }
.cart-sum-row { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; font-size: .92rem; color: var(--muted); }
.cart-sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: .7rem; padding-top: 1rem; border-top: 1px solid var(--line); font-weight: 600; }
.cart-sum-total b { font-family: var(--display); font-weight: 500; font-size: 1.9rem; color: var(--rose-deep); white-space: nowrap; }
.cart-next { width: 100%; justify-content: center; margin-top: 1.3rem; }
.cart-pay { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: .9rem 0 0; color: var(--muted); font-size: .8rem; text-align: center; }
.cart-continue { display: block; margin-top: 1rem; text-align: center; color: var(--rose-deep); font-size: .9rem; text-decoration: underline; }

.cart-back { background: none; border: 0; padding: 0; margin: 0 0 1rem; color: var(--rose-deep); font: inherit; font-size: .92rem; cursor: pointer; }
.cart-back:hover { text-decoration: underline; }
.cart-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-bottom: 1.4rem; }
.cart-fields .field:first-child { grid-column: 1 / -1; }
.cart-form .gv-warnbox { margin: 0 0 1rem; }
.cart-form .consent { margin-bottom: 1rem; }
.cart-send { width: 100%; justify-content: center; margin-top: .4rem; }
.cart-form .form-note { margin-top: .9rem; }

.cart-empty, .cart-done { max-width: 560px; margin: 1rem auto 0; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 2.6rem 2rem; }
.cart-empty svg { color: var(--rose); }
.cart-empty h1, .cart-done h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 400; margin: .8rem 0 .6rem; }
.cart-empty p { color: var(--muted); margin: 0 auto 1.6rem; max-width: 26rem; }
.cart-done-ic { color: #4f8a64; }
.cart-done .cart-items { text-align: left; margin: 1.4rem 0 1.6rem; }
.cart-items-done .cart-item { grid-template-areas: "t i p"; }

@media (max-width: 900px) {
  .cart { padding-top: 6.5rem; }
  .cart-grid { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .cart-sum { position: static; }
}
@media (max-width: 560px) {
  .cart-main { padding: 1.2rem 1.1rem 1.4rem; border-radius: 14px; }
  .cart-steps { gap: .25rem; margin-bottom: 1.6rem; }
  .cart-steps li { font-size: .74rem; flex-direction: column; gap: .3rem; }
  .cart-item { grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "t i" "t p" "t r"; gap: .2rem .9rem; }
  .cart-thumb { font-size: .58rem; padding: .3rem .4rem; }
  .cart-price { text-align: left; }
  .cart-rm { justify-self: start; }
  .cart-fields { grid-template-columns: minmax(0, 1fr); }
  .cart-empty, .cart-done { padding: 2rem 1.2rem; }
}

/* Tlačidlá v okne „Poukážka je v košíku“ a v košíku: menšie a menej oblé, ako v e-shope (Lukáš 2026-11-09) */
.gv-added .btn, .cart .btn { padding: 0.8rem 1.3rem; border-radius: 10px; font-size: 0.92rem; font-weight: 600; letter-spacing: 0.01em; text-transform: none; line-height: 1.25; white-space: nowrap; }
.gv-added .btn-outline, .cart .btn-outline { background: var(--white); }
.gv-added .btn:focus-visible, .cart .btn:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 2px; }
.gv-added-btns .btn { flex: 1 1 auto; }
@media (max-width: 420px) { .gv-added .btn, .cart .btn { white-space: normal; } }
