/* Doplňky designu: pokladna (Zásilkovna), účet zákazníka, detail objednávky, živý chat. */

/* ---------- Pokladna ---------- */
#pickup-section { margin-bottom: 34px; }
.pickup-box { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); background: #f0e8e5; margin-bottom: 12px; }
.pickup-box .icon { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--wine); }
.pickup-box strong { display: block; font-weight: 600; line-height: 1.4; }
.pickup-box small { display: block; color: var(--muted); font-size: 15px; line-height: 1.5; }
.radio-options label.is-disabled { opacity: .55; cursor: not-allowed; }
.radio-options label.is-disabled input { cursor: not-allowed; }

/* ---------- Účet ---------- */
.auth-card { max-width: 460px; margin: 0 auto 90px; background: var(--paper); border: 1px solid var(--line); padding: 30px; }
.auth-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.auth-tabs button { flex: 1; padding: 12px 8px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.auth-tabs button.current { color: var(--wine); border-color: var(--wine); }
.auth-card form { display: grid; gap: 16px; margin-bottom: 18px; }
.auth-card form[hidden] { display: none; }
.acct-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.acct-title, .acct-label { font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.2; margin: 0 0 20px; }
.acct-label { font-size: 26px; margin-top: 38px; }
.acct-orders { display: grid; gap: 14px; margin-bottom: 90px; }
.acct-order { display: flex; justify-content: space-between; gap: 24px; padding: 22px 24px; background: var(--paper); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.acct-order:hover { border-color: var(--wine); box-shadow: 0 8px 22px #5c1d3812; }
.acct-order strong { display: block; font-weight: 600; }
.acct-order small { display: block; color: var(--muted); font-size: 14px; }
.acct-order span { color: var(--muted); font-size: 15px; display: block; margin-top: 6px; }
.acct-order-side { display: flex; align-items: center; gap: 16px; flex: none; }
.acct-order-side .icon { width: 18px; height: 18px; color: var(--wine); }
.status-pill { display: inline-block; padding: 2px 12px; border-radius: 99px; font-size: 14px; font-weight: 600; background: #eee6df; color: #6a514b; margin: 0 !important; white-space: nowrap; }
.status-pill.st-nova { background: #e4ecf4; color: #2f5a85; }
.status-pill.st-vyrizuje { background: #f6ead7; color: #8a5a14; }
.status-pill.st-odeslano { background: #ebe4f2; color: #5c3f85; }
.status-pill.st-doruceno { background: #e1ece4; color: #2f6b44; }
.status-pill.st-storno { background: #f3dede; color: #9a2f2f; }

.acct-detail { padding-bottom: 90px; }
.acct-detail .back { margin-top: 26px; font-size: 15px; }
.acct-status { background: var(--paper); border: 1px solid var(--line); padding: 28px 30px; }
.acct-status h2 { font-family: var(--serif); font-weight: 500; font-size: 30px; margin: 0 0 4px; }
.acct-status > p { margin: 0 0 20px; color: var(--muted); }
.acct-steps { display: flex; margin: 0 0 30px; padding: 0; list-style: none; }
.acct-steps li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; font-size: 15px; color: var(--muted); text-align: center; line-height: 1.3; }
.acct-steps li + li::before { content: ""; position: absolute; top: 13px; right: 50%; width: 100%; height: 2px; background: var(--line); }
.acct-steps li.done::before { background: var(--wine); }
.acct-steps li span { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; background: #e9dfdc; color: #fff; display: flex; align-items: center; justify-content: center; }
.acct-steps li.done { color: var(--ink); font-weight: 600; }
.acct-steps li.done span { background: var(--wine); }
.acct-steps li.bad span, .acct-steps li.bad::before { background: #9a2f2f !important; }
.acct-steps .icon { width: 15px; height: 15px; }
.acct-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.acct-actions .button { min-height: 46px; padding: 10px 20px; font-size: 15px; gap: 10px; }
.acct-invoice { margin-left: 6px; font-size: 15px; color: var(--wine); font-weight: 600; }
.acct-history { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.acct-history summary { cursor: pointer; font-weight: 600; color: var(--wine); list-style: none; display: flex; align-items: center; gap: 10px; }
.acct-history summary::-webkit-details-marker { display: none; }
.acct-history summary .icon { width: 15px; height: 15px; }
.acct-history ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; }
.acct-history li strong { display: block; font-weight: 600; }
.acct-history li small { color: var(--muted); font-size: 14px; }
.acct-lines { display: grid; gap: 10px; }
.acct-line { display: grid; grid-template-columns: 56px 1fr auto 56px 100px; gap: 16px; align-items: center; padding: 14px 18px; background: var(--paper); border: 1px solid var(--line); }
.acct-line b { text-align: right; font-weight: 600; white-space: nowrap; }
.acct-line b.neg { color: var(--green); }
.acct-line-name strong { display: block; font-weight: 500; line-height: 1.4; }
.acct-line-name small, .acct-line-qty { color: var(--muted); font-size: 15px; }
.acct-line-state { font-size: 14px; font-weight: 600; color: var(--green); }
.acct-thumb { width: 56px; height: 56px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.acct-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.acct-thumb .icon { width: 24px; height: 24px; color: var(--wine); }
.acct-meta { display: grid; gap: 10px; margin-top: 10px; }
.acct-meta > div { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); }
.acct-meta .icon { width: 22px; height: 22px; color: var(--wine); flex: none; }
.acct-totals { display: grid; gap: 6px; max-width: 360px; margin: 26px 0 0 auto; }
.acct-totals > div { display: flex; justify-content: space-between; gap: 24px; color: var(--muted); }
.acct-totals .neg { color: var(--green); }
.acct-totals .grand { color: var(--wine-dark); font-size: 22px; margin-top: 6px; }
.acct-totals .grand strong { font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1.1; }
.acct-totals small { text-align: right; color: var(--muted); font-size: 14px; }
.acct-address { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; background: var(--paper); border: 1px solid var(--line); }
.acct-address .icon { width: 28px; height: 28px; color: var(--wine); flex: none; margin-top: 4px; }
.acct-address p { margin: 0; line-height: 1.6; }

@media (max-width: 680px) {
  .acct-order { flex-direction: column; gap: 14px; }
  .acct-order-side { justify-content: space-between; }
  .acct-status { padding: 22px 18px; }
  .acct-line { grid-template-columns: 48px 1fr auto; gap: 12px; }
  .acct-line-state, .acct-line-qty { display: none; }
  .acct-thumb { width: 48px; height: 48px; }
  .acct-totals { max-width: none; }
}

/* ---------- Živý chat ---------- */
#chat-widget { position: fixed; right: 22px; bottom: 22px; z-index: 60; font-family: var(--sans); }
body.has-mobile-purchase #chat-widget { bottom: 98px; }
.chat-launcher { position: relative; width: 58px; height: 58px; border-radius: 50%; background: var(--wine); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px -8px #5c1d3899; transition: transform .2s, background .2s; }
.chat-launcher:hover { background: var(--wine-dark); transform: translateY(-2px); }
.chat-launcher svg, .chat-panel svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.chat-badge { position: absolute; top: -3px; right: -3px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 99px; background: #e0a43a; color: #2a1d05; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px var(--cream); }
.chat-badge[hidden], .chat-panel[hidden], .chat-precontact[hidden], .chat-send[hidden] { display: none; }
.chat-panel { position: absolute; bottom: 74px; right: 0; width: 370px; max-width: calc(100vw - 28px); max-height: min(580px, calc(100vh - 120px)); background: var(--paper); border: 1px solid var(--line); box-shadow: 0 24px 60px -16px #41062355; display: flex; flex-direction: column; overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--wine); color: #fff; flex: none; }
.chat-head .chat-ava { width: 40px; height: 40px; border-radius: 50%; background: #ffffff24; display: flex; align-items: center; justify-content: center; flex: none; }
.chat-head .chat-ava svg { width: 20px; height: 20px; }
.chat-head > div { flex: 1; min-width: 0; }
.chat-title { font-family: var(--serif); font-size: 24px; line-height: 1.1; font-weight: 500; }
.chat-status { font-size: 13px; opacity: .85; line-height: 1.3; }
.chat-close { width: 32px; height: 32px; border-radius: 50%; color: #fff; background: #ffffff1f; display: flex; align-items: center; justify-content: center; flex: none; }
.chat-close:hover { background: #ffffff3d; }
.chat-close svg { width: 18px; height: 18px; }
.chat-messages { flex: 1; min-height: 170px; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: #f7f1ee; }
.chat-bubble { max-width: 86%; padding: 10px 14px; font-size: 15px; line-height: 1.5; border-radius: 4px; }
.chat-bubble.from-obchod { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); }
.chat-bubble.from-zakaznik { align-self: flex-end; background: var(--wine); color: #fff; }
.chat-time { font-size: 11px; opacity: .65; margin-top: 3px; line-height: 1.2; }
.chat-precontact { flex: none; padding: 14px 18px 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.chat-precontact p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.chat-row { display: flex; gap: 8px; }
.chat-row > * { flex: 1; min-width: 0; }
.chat-precontact input, .chat-send input { width: 100%; padding: 11px 13px; border: 1px solid #cfc3c0; background: #fff; font-size: 15px; border-radius: 3px; }
.chat-precontact input:focus, .chat-send input:focus { outline: 2px solid var(--wine); outline-offset: 0; }
.chat-precontact .button { min-height: 46px; padding: 10px 18px; font-size: 15px; }
.chat-send { flex: none; display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-send input { flex: 1; }
.chat-send button { width: 44px; height: 44px; border-radius: 50%; background: var(--wine); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.chat-send button:hover { background: var(--wine-dark); }
.chat-send button svg { width: 18px; height: 18px; }
@media (max-width: 480px) {
  #chat-widget { right: 14px; bottom: 14px; }
  .chat-panel { right: -2px; width: calc(100vw - 24px); }
}

.acct-id { display: block; font-family: var(--sans); font-style: normal; font-size: 20px; font-weight: 600; letter-spacing: .03em; color: var(--wine); margin-top: 8px; word-break: break-all; }

/* === Široké, celoplošné rozložení (styl LYSS): obsah až 1760 px, sekce přes celou šířku === */
:root{--gutter:clamp(18px,4vw,64px);--wide:1760px}
.wrap{width:calc(100% - 2 * var(--gutter));max-width:var(--wide)}
.announcement{padding-inline:var(--gutter)}
.hero{min-height:clamp(560px,78vh,860px)}
.hero-content{min-height:clamp(560px,78vh,860px)}
.hero-number{left:max(var(--gutter),calc((100vw - var(--wide))/2))}
.hero h1{font-size:clamp(52px,6.2vw,112px)}
.hero-copy{width:min(55%,820px)}
.trust-strip.wrap,.editorial.wrap{width:100%;max-width:none;box-sizing:border-box}
.trust-strip.wrap{padding-inline:max(var(--gutter),calc((100vw - var(--wide))/2));background:#fffaf2;border-block:1px solid var(--line)}
.editorial.wrap{margin-block:0;padding-block:clamp(56px,7vw,110px);padding-inline:max(var(--gutter),calc((100vw - var(--wide))/2));gap:clamp(40px,6vw,120px)}
@media(min-width:1500px){.product-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.footer-main{gap:80px}}
@media(max-width:720px){.editorial.wrap{padding-inline:var(--gutter)}}

/* Horní informační banner (nastavuje se v administraci) */
.top-banner{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;justify-content:center;padding:11px var(--gutter,18px);font-size:15px;line-height:1.4;text-align:center}
.top-banner-code{display:inline-flex;align-items:center;gap:8px;padding:4px 12px;border:1px dashed currentColor;border-radius:999px;background:transparent;color:inherit;font:inherit;font-weight:600;cursor:pointer}
.top-banner-code:hover{background:rgba(255,255,255,.16)}
.top-banner-code svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.top-banner-link{color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:3px}
@media(max-width:680px){.top-banner{font-size:13px;padding-block:9px}}

/* Souhlas s cookies */
#consent-bar{position:fixed;left:16px;right:16px;bottom:16px;z-index:60;max-width:760px;margin-inline:auto;display:flex;flex-wrap:wrap;gap:12px 18px;align-items:center;justify-content:space-between;padding:16px 18px;background:#fff;border:1px solid var(--line,#ebe4e6);border-radius:10px;box-shadow:0 12px 40px #23111826;font-size:14px;line-height:1.5}
#consent-bar p{margin:0;flex:1 1 320px}
#consent-bar div{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
#consent-bar .button{min-height:40px;padding:8px 14px;font-size:13px}
.consent-link{background:none;border:0;color:var(--wine,#5c1d38);text-decoration:underline;text-underline-offset:3px;font:inherit;font-size:13px;cursor:pointer}
body.has-mobile-purchase #consent-bar{bottom:92px}
/* Odstoupení od smlouvy */
.wd-lead{max-width:640px;color:var(--muted,#68585f)}
.wd-card{max-width:640px;margin:24px 0;padding:22px 24px;background:#fff;border:1px solid var(--line,#ebe4e6);border-radius:8px;display:grid;gap:14px}
.wd-card label{display:grid;gap:6px;font-size:14px;color:var(--muted,#68585f)}
.wd-card input,.wd-card textarea{width:100%;padding:12px 14px;border:1px solid #ded4d8;border-radius:6px;font:inherit;background:#fff}
.wd-card h2{margin:0;font-size:22px}.wd-items{margin:0;padding-left:20px}
.wd-deadline{margin:0;padding:10px 14px;background:#f4eef1;border-radius:6px}.wd-deadline.bad{background:#fbdada;color:#8a1d17}
.wd-hint{margin:0;font-size:13px;color:var(--muted,#68585f)}.wd-error{margin:0;min-height:1em;color:#b3261e;font-size:14px}
.wd-ok{border-color:#9bcfb0;background:#f1faf4}
.acct-deadline{margin:8px 0 0;font-size:14px;color:var(--muted,#68585f)}.acct-deadline.bad{color:#b3261e}

/* Produkt už je v košíku: značka a ovládání počtu */
.card-actions{display:flex;justify-content:flex-end}
.card-stepper{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--wine,#5c1d38);border-radius:999px;padding:3px;background:#fff}
.card-stepper button{width:32px;height:32px;border-radius:50%;background:var(--wine,#5c1d38);color:#fff;display:inline-grid;place-items:center;cursor:pointer;border:0}
.card-stepper button:disabled{opacity:.35;cursor:not-allowed}
.card-stepper button svg{width:15px;height:15px}
.card-stepper-qty{font-size:13px;padding:0 8px;white-space:nowrap;color:var(--wine,#5c1d38)}
.card-stepper-qty b{font-weight:700}
.product-image{position:relative}
.in-cart-badge{display:none;position:absolute;left:10px;bottom:10px;align-items:center;gap:5px;padding:4px 10px;border-radius:999px;background:var(--wine,#5c1d38);color:#fff;font-size:12px;font-weight:600;z-index:2}
.in-cart-badge svg{width:13px;height:13px}
.product-card.in-cart .in-cart-badge{display:inline-flex}
.in-cart-note{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:center;margin:14px 0;padding:12px 14px;background:#f1faf4;border:1px solid #bfe0cb;border-radius:8px}
.in-cart-note:empty{display:none}
.in-cart-tick{display:inline-flex;gap:6px;align-items:center;color:#1d6b3a}
.in-cart-tick svg{width:16px;height:16px}

.editorial-moon{display:inline-flex}.editorial-moon svg{width:.8em;height:.8em}

/* Mobil: hlavička se musí vejít (logo + menu + hledání + účet + košík) na šířky od 320 px */
@media(max-width:700px){
  .header-main{gap:6px}
  .header-main>.brand{width:clamp(106px,calc(100vw - 224px),230px)}
}
@media(max-width:360px){.header-actions{gap:2px}.cart-link{padding-inline:4px}}

/* Sledování objednávky */
.track-page{max-width:720px;padding-bottom:70px}
.track-eyebrow{margin:26px 0 8px;font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--wine,#5c1d38)}
.track-page h1{margin:0 0 14px}
.track-lead{max-width:560px;color:var(--muted,#68585f);margin:0 0 24px}
.track-form{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px;align-items:end;margin-bottom:8px}
.track-form label{display:grid;gap:6px;font-size:14px;color:var(--muted,#68585f)}
.track-form input{width:100%;padding:14px 16px;border:1px solid #ded4d8;border-radius:10px;font:inherit;background:#fff}
.track-form input:focus{outline:2px solid var(--wine,#5c1d38);outline-offset:1px}
.track-form .button{grid-column:1/-1;min-height:50px;border-radius:10px}
.track-form .wd-error{grid-column:1/-1}
.track-card{margin-top:26px;padding:24px 26px;background:#fff;border:1px solid var(--line,#ebe4e6);border-radius:16px;box-shadow:0 14px 40px #5c1d3810}
.track-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.track-head span{display:block;font-size:13px;color:var(--muted,#68585f)}
.track-head strong{font-size:22px;font-weight:600;letter-spacing:-.02em}
.track-head .r{text-align:right}.track-head .r strong{font-size:16px}
.track-steps{list-style:none;margin:26px 0 8px;padding:0;display:grid;grid-template-columns:repeat(4,1fr);position:relative}
.track-steps li{position:relative;display:grid;justify-items:center;gap:6px;text-align:center;font-size:13px;color:var(--muted,#68585f)}
.track-steps li::before{content:"";position:absolute;top:21px;right:50%;width:100%;height:2px;background:#eadde2;z-index:0}
.track-steps li:first-child::before{display:none}
.track-steps li.done::before{background:var(--wine,#5c1d38)}
.track-steps li span{position:relative;z-index:1;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#fff;border:2px solid #eadde2;color:#b9a2ac}
.track-steps li.done span{background:var(--wine,#5c1d38);border-color:var(--wine,#5c1d38);color:#fff}
.track-steps li.current span{box-shadow:0 0 0 6px #5c1d3820}
.track-steps li span svg{width:20px;height:20px}
.track-steps li b{font-weight:600;color:var(--ink,#32252a)}.track-steps li:not(.done) b{color:var(--muted,#68585f);font-weight:500}
.track-steps li small{font-size:12px;color:var(--muted,#68585f)}
.track-note{margin:14px 0;padding:12px 14px;border-radius:10px;background:#f4eef1;font-size:15px}
.track-note.bad{background:#fbdada;color:#8a1d17}
.track-note a{color:var(--wine,#5c1d38);text-decoration:underline;text-underline-offset:3px}
.track-carrier{margin:4px 0 14px}
.track-items{border-top:1px solid var(--line,#ebe4e6);margin-top:8px}
.track-item{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line,#ebe4e6)}
.track-thumb{width:48px;height:48px;border-radius:8px;background:#f4eef1;overflow:hidden;display:grid;place-items:center}
.track-thumb img{width:100%;height:100%;object-fit:contain}.track-thumb svg{width:22px;height:22px;color:#b9a2ac}
.track-item strong{font-weight:500;display:block}.track-item small{display:block;color:var(--muted,#68585f);font-size:13px}
.track-totals{display:grid;gap:6px;margin-top:14px;font-size:15px}
.track-totals div{display:flex;justify-content:space-between;color:var(--muted,#68585f)}
.track-totals .grand{color:var(--ink,#32252a);font-size:18px;font-weight:600;padding-top:10px;border-top:1px solid var(--line,#ebe4e6);margin-top:4px}
@media(max-width:560px){.track-form{grid-template-columns:1fr}.track-card{padding:18px 16px}.track-steps li span{width:38px;height:38px}.track-steps li::before{top:18px}.track-steps li{font-size:12px}}

/* zákaznický profil: nabídka vlevo, obsah vpravo */
.acc-wrap { padding-bottom: 64px; }
.acc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 8px 0 28px; }
.acc-head h1 { margin: 0; }
.acc-head p { margin: 4px 0 0; color: var(--muted); }
.acc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; }
.acc-nav { display: grid; gap: 4px; position: sticky; top: 96px; }
.acc-nav a { display: flex; align-items: center; gap: 12px; padding: 13px 16px; color: var(--ink); text-decoration: none; border-left: 3px solid transparent; font-weight: 500; }
.acc-nav a:hover { background: var(--rose); }
.acc-nav a.current { border-left-color: var(--wine); background: var(--paper); color: var(--wine); font-weight: 600; }
.acc-nav .icon { width: 20px; height: 20px; flex: none; }
.acc-nav b { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 11px; background: var(--wine); color: #fff; font-size: 12px; }
.acc-title { margin: 0 0 8px; font-size: 28px; }
.acc-lead { margin: 0 0 22px; color: var(--muted); }
.acc-loading { color: var(--muted); padding: 24px 0; }
.acc-label { margin: 28px 0 12px; font-size: 16px; }
.acc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; align-items: start; }
.acc-card { background: var(--paper); border: 1px solid var(--line); padding: 24px; }
.acc-card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 18px; }
.acc-card h3 .icon { width: 20px; height: 20px; color: var(--wine); }
.acc-card form { display: grid; gap: 14px; }
.acc-two { display: grid; grid-template-columns: 1fr 140px; gap: 14px; }
.acc-card .form-field input[readonly] { background: var(--cream); color: var(--muted); }
.rw-balance strong { display: block; font-size: 44px; line-height: 1.1; color: var(--wine); font-weight: 600; }
.rw-balance strong small { font-size: 16px; color: var(--muted); font-weight: 400; }
.rw-balance span { color: var(--muted); font-size: 14px; }
.rw-bar { height: 8px; background: var(--rose); margin: 16px 0 10px; overflow: hidden; }
.rw-bar i { display: block; height: 100%; background: var(--wine); }
.rw-tiers, .rw-codes { display: grid; gap: 10px; }
.rw-tier, .rw-code { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; background: var(--paper); border: 1px solid var(--line); }
.rw-tier small, .rw-code small { display: block; color: var(--muted); }
.rw-code { flex-wrap: wrap; }
.rw-code code { font-weight: 700; letter-spacing: .06em; color: var(--wine); }
.rw-code.used { opacity: .55; }
.rv-list { display: grid; gap: 14px; }
.rv-item { background: var(--paper); border: 1px solid var(--line); padding: 18px 20px; }
.rv-head { display: flex; align-items: center; gap: 14px; }
.rv-head > div { flex: 1; min-width: 0; }
.rv-head strong { display: block; }
.rv-body { margin: 12px 0 0; color: var(--ink); white-space: pre-line; }
.rv-status { font-size: 12px; padding: 3px 9px; border-radius: 10px; background: var(--rose); color: var(--wine); margin-left: 6px; }
.rv-status.ok { background: #e3eee6; color: var(--green); }
.rv-status.bad { background: #f3dcdc; color: #8b2b2b; }
.rv-form { display: grid; gap: 12px; margin-top: 14px; }
.rv-form[hidden] { display: none; }
.rv-pick { display: flex; gap: 2px; }
.rv-pick label { cursor: pointer; font-size: 30px; line-height: 1; color: var(--line); }
.rv-pick input { position: absolute; opacity: 0; pointer-events: none; }
.rv-pick label:has(input:checked), .rv-pick label:has(~ label input:checked) { color: #c9962b; }
.rv-pick label:has(input:focus-visible) { outline: 2px solid var(--wine); }
.stars { display: inline-flex; gap: 1px; color: var(--line); font-size: 15px; vertical-align: middle; }
.stars i { font-style: normal; }
.stars i.on { color: #c9962b; }
.stars.big { font-size: 20px; }
.prod-reviews { margin: 56px 0 24px; padding-top: 32px; border-top: 1px solid var(--line); }
.prod-reviews h2 { margin: 0 0 14px; }
.rv-summary { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; }
.rv-public { display: grid; gap: 18px; }
.rv-public article { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.rv-public article div { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.rv-public small { color: var(--muted); }
.rv-public p { margin: 8px 0 0; white-space: pre-line; }
@media (max-width: 820px) {
  .acc-layout { grid-template-columns: 1fr; gap: 20px; }
  .acc-nav { position: static; display: flex; overflow-x: auto; gap: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .acc-nav a { flex: none; border-left: 0; border-bottom: 3px solid transparent; padding: 12px 14px; white-space: nowrap; }
  .acc-nav a.current { border-bottom-color: var(--wine); background: transparent; }
  .acc-head { flex-direction: column; align-items: flex-start; }
  .acc-two { grid-template-columns: 1fr 110px; }
}

/* odstoupení od smlouvy: výběr zboží, poučení, vzorový formulář */
.wd-items { display: grid; gap: 10px; margin: 8px 0 18px; }
.wd-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); background: var(--paper); }
.wd-pick { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; cursor: pointer; }
.wd-pick input { width: 20px; height: 20px; flex: none; accent-color: var(--wine); }
.wd-pick small { display: block; color: var(--muted); }
.wd-qty { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; flex: none; }
.wd-qty select { padding: 8px 10px; border: 1px solid var(--line); background: #fff; }
.wd-pick-title { margin: 18px 0 4px; font-weight: 600; }
.wd-hint { margin: 16px 0; padding: 14px 16px; background: var(--cream); border-left: 3px solid var(--wine); font-size: 15px; }
.wd-hint p { margin: 0 0 8px; }
.wd-hint p:last-child { margin: 0; }
.wd-notice { margin: 16px 0; padding: 14px 16px; background: #fbf1e3; border-left: 3px solid #c9962b; font-size: 15px; }
.wd-steps { padding-left: 20px; display: grid; gap: 12px; }
.wd-model { margin-top: 28px; border: 1px solid var(--line); padding: 14px 18px; background: var(--paper); }
.wd-model summary { cursor: pointer; font-weight: 600; }
.wd-model-text { margin: 12px 0; padding: 14px 16px; background: #fff; border: 1px dashed var(--line); }
.wd-model-text p { margin: 0 0 8px; }
@media print { .wd-model-text { border: 0; } }

.wd-card .wd-item .wd-pick { display: flex; flex-direction: row; align-items: center; gap: 12px; margin: 0; }
.wd-card .wd-item .wd-qty { display: flex; flex-direction: row; align-items: center; gap: 8px; margin: 0; }
.wd-card .wd-item .wd-pick input { width: 20px; height: 20px; padding: 0; margin: 0; }
.wd-card .wd-item select { width: auto; }


/* přihlášený zákazník: e-mail vedle ikony účtu */
.account-link.signed-in { width: auto; max-width: 240px; gap: 8px; padding-inline: 10px; }
.account-email { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--ink); max-width: 190px; }
@media (max-width: 1100px) { .account-email { display: none; } .account-link.signed-in { width: auto; padding-inline: 8px; } }

