/* SEL obchod — jen základ, ať je pokladna použitelná i bez stylů šablony.
   Vzhled (barvy, písmo, tlačítka) patří šabloně webu: třídy sel-shop-*. */

.sel-shop-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.sel-shop-terminy__seznam { list-style: none; margin: 0; padding: 0; }
.sel-shop-termin { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: .75rem 0; border-bottom: 1px solid rgba(0,0,0,.1); }
.sel-shop-termin__info { display: flex; flex-direction: column; gap: .15rem; }
.sel-shop-termin__kurz { font-weight: 600; }
.sel-shop-termin__cena { font-weight: 600; }
.sel-shop-termin__mista { font-size: .875em; color: #b45309; }

.sel-shop-pridat { display: flex; align-items: flex-end; gap: .5rem; }
.sel-shop-pridat__pocet { display: flex; flex-direction: column; font-size: .8em; }
.sel-shop-pridat__pocet input { width: 4.5em; }

.sel-shop-btn { display: inline-block; cursor: pointer; padding: .6em 1.2em; border: 0; border-radius: 4px; background: #222; color: #fff; text-decoration: none; font: inherit; }
.sel-shop-btn:disabled { opacity: .5; cursor: not-allowed; }
.sel-shop-btn--vedlejsi { background: transparent; color: inherit; border: 1px solid currentColor; }
.sel-shop-odkaz { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; font-size: .875em; }

.sel-shop-kosik-ikona { position: relative; text-decoration: none; }
.sel-shop-pocet { display: inline-block; min-width: 1.4em; padding: 0 .35em; border-radius: 1em; background: #b91c1c; color: #fff; font-size: .75em; text-align: center; line-height: 1.4em; }

.sel-shop-oznameni { position: fixed; z-index: 99999; right: 16px; bottom: 16px; left: 16px; max-width: 420px; margin-left: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1rem; background: #fff; color: #222; border-radius: 6px; box-shadow: 0 6px 24px rgba(0,0,0,.18); transition: opacity .5s; }
.sel-shop-oznameni--pryc { opacity: 0; }

.sel-shop-form { display: flex; flex-direction: column; gap: 1.5rem; }
.sel-shop-sekce h2 { margin: 0 0 .75rem; font-size: 1.25em; }
.sel-shop-kosik { list-style: none; margin: 0; padding: 0; }
.sel-shop-kosik__polozka { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: .75rem; padding: .75rem 0; border-bottom: 1px solid rgba(0,0,0,.1); }
.sel-shop-kosik__polozka--problem { background: rgba(185,28,28,.06); }
.sel-shop-kosik__nazev { display: flex; flex-direction: column; }
.sel-shop-kosik__pocet { display: flex; flex-direction: column; font-size: .8em; }
.sel-shop-kosik__pocet input { width: 4.5em; }
.sel-shop-kosik__cena { font-weight: 600; white-space: nowrap; }
@media (max-width: 600px) {
  .sel-shop-kosik__polozka { grid-template-columns: 1fr auto; }
  .sel-shop-kosik__nazev { grid-column: 1 / -1; }
}

.sel-shop-mrizka { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .75rem 1rem; }
.sel-shop-pole { display: flex; flex-direction: column; gap: .25rem; }
.sel-shop-pole input, .sel-shop-pole textarea, .sel-shop-kod input { width: 100%; box-sizing: border-box; padding: .5em; font: inherit; }
.sel-shop-pole--chyba input, .sel-shop-pole--chyba textarea { border-color: #b91c1c; outline: 1px solid #b91c1c; }
.sel-shop-pole--chyba > span, .sel-shop-souhlas.sel-shop-pole--chyba span { color: #b91c1c; }
.sel-shop-zaskrt { display: flex; gap: .5rem; align-items: flex-start; margin: .4rem 0; }
.sel-shop-zaskrt input { margin-top: .25em; }
.sel-shop-clovek { border: 1px solid rgba(0,0,0,.12); border-radius: 6px; padding: .75rem 1rem; margin: 0 0 .75rem; }
.sel-shop-firma { margin-top: .75rem; }
.sel-shop-ares { display: flex; align-items: flex-end; gap: .5rem; }
.sel-shop-kod { display: flex; gap: .5rem; max-width: 420px; }

.sel-shop-souhrn { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; max-width: 420px; margin: 0; }
.sel-shop-souhrn dd { margin: 0; text-align: right; white-space: nowrap; }
.sel-shop-souhrn__celkem { font-weight: 700; font-size: 1.15em; }

.sel-shop-chyba-text, .sel-shop-zprava { color: #b91c1c; }
.sel-shop-upozorneni { padding: .6rem .8rem; border-left: 3px solid #b45309; background: rgba(180,83,9,.07); }
.sel-shop-napoveda, .sel-shop-prodavajici, .sel-shop-brzda { font-size: .875em; opacity: .8; }
.sel-shop-test { display: inline-block; padding: .2em .6em; background: #b45309; color: #fff; font-weight: 700; letter-spacing: .1em; }

.sel-shop-platba { margin: 1rem 0; }
.sel-shop-platba__udaje { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; }
.sel-shop-platba__udaje dd { margin: 0; font-weight: 600; }
.sel-shop-platba__qr { display: block; margin: .75rem 0; }

.sel-shop-partner { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .5rem; }
.sel-shop-partner label { display: flex; flex-direction: column; flex: 1 1 240px; }
.sel-shop-partner input[type=email] { padding: .5em; font: inherit; }
.sel-shop-partner__zprava { flex-basis: 100%; }

.sel-shop-vouchery { display: grid; gap: 1rem; }
.sel-shop-voucher { border: 1px solid rgba(0,0,0,.12); border-radius: 6px; padding: 1rem; }
.sel-shop-voucher__kod strong { font-size: 1.4em; letter-spacing: .08em; }
.sel-shop-voucher__udaje { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; }
.sel-shop-voucher__udaje dd { margin: 0; }
.sel-shop-voucher--redeemed, .sel-shop-voucher--expired, .sel-shop-voucher--void { opacity: .65; }
.sel-shop-voucher__uprava summary { cursor: pointer; }
.sel-shop-voucher-form { display: grid; gap: .75rem; margin-top: .75rem; max-width: 520px; }

/* Dialog po přidání do košíku — písmo dědí z webu */
.sel-shop-dialog { box-sizing: border-box; width: min(calc(100vw - 32px), 480px); max-width: calc(100vw - 32px); margin: auto; padding: 1.5rem; border: 0; border-radius: 6px; background: #fff; color: inherit; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.sel-shop-dialog::backdrop { background: rgba(0,0,0,.45); }
.sel-shop-dialog p { margin: 0 0 .75rem; }
.sel-shop-dialog__nadpis { font-weight: 600; padding-right: 2rem; }
.sel-shop-dialog__zavrit { position: absolute; top: .5rem; right: .5rem; width: 2.5rem; height: 2.5rem; border: 0; background: none; color: inherit; font: inherit; font-size: 1.5em; line-height: 1; cursor: pointer; }
.sel-shop-dialog__akce { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.sel-shop-dialog__akce .sel-shop-btn { flex: 1 1 auto; text-align: center; }
.sel-shop-mrizka--prevzato input { opacity: .75; }
