/* Bila Lučica — interaktivni jelovnik + dostava (2026-11-19).
   Uses the site's existing variables and fonts only (logo and fonts untouched). */
.jl-head { padding-bottom: 4.2rem; }
.jl-delivery-badge { display: inline-block; margin-top: 1.4rem; padding: .45rem 1rem; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; border: 1px solid rgba(201,164,106,.7); color: var(--gold-soft); background: rgba(0,0,0,.35); }
.jl-delivery-badge.on::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #7fbf7a; margin-right: .6rem; vertical-align: middle; box-shadow: 0 0 0 3px rgba(127,191,122,.2); }
.jl-delivery-badge.off { color: #f0c3a0; border-color: rgba(240,195,160,.5); }

.jl-tabs { position: sticky; top: 0; z-index: 90; display: flex; flex-wrap: nowrap; gap: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  background: rgba(13,15,18,.96); border-bottom: 1px solid rgba(201,164,106,.25); padding: 0 1rem; justify-content: safe center; }
.jl-tabs::-webkit-scrollbar { display: none; }
.jl-tabs a { flex: 0 0 auto; padding: .95rem .9rem; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-light); text-decoration: none; white-space: nowrap; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.jl-tabs a:hover, .jl-tabs a:focus { color: var(--gold-soft); border-bottom-color: var(--gold); }

.jl-section { padding-top: 3.5rem; }
.jl-container { max-width: 820px; }
.jl-cat { scroll-margin-top: var(--jl-sticky, 10rem); margin-bottom: 3.6rem; }
.jl-cat-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 4vw, 2.5rem); color: #f3ede2; text-align: center; line-height: 1.15; }
.jl-ornament { width: 54px; height: 1px; background: var(--gold); margin: .9rem auto 1.8rem; opacity: .8; }
.jl-items { list-style: none; }
.jl-item { display: flex; gap: 1rem; align-items: flex-start; justify-content: space-between; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.jl-item-main { flex: 1; min-width: 0; }
.jl-item-name { font-family: var(--serif); font-size: 1.28rem; line-height: 1.3; color: #f3ede2; }
.jl-size { font-family: var(--sans); font-size: .72rem; letter-spacing: .12em; color: var(--text-light); margin-left: .3rem; }
.jl-item-desc { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--text-light); line-height: 1.4; margin-top: .15rem; }
.jl-tag { display: inline-block; margin-top: .45rem; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-light); border: 1px solid var(--line); padding: .12rem .5rem; }
.jl-item-side { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; flex-shrink: 0; }
.jl-price { font-family: var(--serif); font-size: 1.22rem; color: var(--gold-soft); white-space: nowrap; }
.jl-price small { font-size: .8rem; color: var(--text-light); }
.jl-add { font: inherit; font-family: var(--sans); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  background: transparent; color: var(--gold-soft); border: 1px solid rgba(201,164,106,.7); padding: .5rem .85rem; cursor: pointer; transition: background .25s, color .25s; min-height: 36px; }
.jl-add:hover, .jl-add:active { background: var(--gold); color: #0d0f12; }
.jl-noorder .jl-item-name { color: #d9d2c4; }

.jl-sub { font-family: var(--sans); font-weight: 400; font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin: 2rem 0 .3rem; }
.jl-wines-note { text-align: center; font-family: var(--serif); font-style: italic; color: var(--text-light); margin-bottom: .5rem; }
.jl-wine-prices { gap: .15rem; }
.jl-wp { font-family: var(--serif); font-size: 1.08rem; color: var(--gold-soft); white-space: nowrap; }
.jl-wp small { font-family: var(--sans); font-size: .7rem; color: var(--text-light); margin-right: .25rem; }
.jl-wp em { font-size: .9rem; color: var(--text-light); }
.jl-pdf { text-align: center; margin-top: 1rem; }
.jl-pdf a { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-light); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

.jl-note:empty { display: none; }
.jl-note { margin-bottom: 2.4rem; }
.jl-closed { border: 1px solid rgba(240,195,160,.45); background: rgba(240,195,160,.06); padding: 1.3rem 1.4rem; text-align: center; }
.jl-closed strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.4rem; color: #f3d2b8; margin-bottom: .3rem; }
.jl-closed p { color: var(--text); font-size: .98rem; }
.jl-preview-flag { border: 1px dashed #e6c45a; color: #f1dc8f; background: rgba(230,196,90,.08); padding: .7rem 1rem; font-size: .8rem; letter-spacing: .04em; text-align: center; }

/* sticky cart bar */
.jl-cartbar { position: fixed; z-index: 120; left: 50%; transform: translateX(-50%); bottom: calc(14px + env(safe-area-inset-bottom)); width: min(560px, calc(100% - 24px));
  display: flex; align-items: center; gap: .9rem; padding: .95rem 1.2rem; border: 0; cursor: pointer; background: var(--gold); color: #0d0f12;
  font-family: var(--sans); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; box-shadow: 0 18px 40px -12px rgba(0,0,0,.7); }
.jl-cartbar[hidden] { display: none; }
.jl-cartbar-count { min-width: 1.8rem; height: 1.8rem; line-height: 1.8rem; border-radius: 50%; background: #0d0f12; color: var(--gold-soft); text-align: center; letter-spacing: 0; font-size: .8rem; }
.jl-cartbar-label { flex: 1; text-align: left; }
.jl-cartbar-total { letter-spacing: .04em; font-size: .95rem; }
body.jl-has-cart footer { padding-bottom: 6rem; }

/* sheet */
.jl-sheet { position: fixed; inset: 0; z-index: 200; }
.jl-sheet[hidden] { display: none; }
.jl-sheet-backdrop { position: absolute; inset: 0; background: rgba(5,6,8,.72); }
.jl-sheet-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: var(--paper); display: flex; flex-direction: column; box-shadow: -30px 0 60px -30px rgba(0,0,0,.8); }
.jl-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid rgba(201,164,106,.3); }
.jl-sheet-head h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; color: #f3ede2; }
.jl-x { background: none; border: 0; color: var(--gold-soft); font-size: 2rem; line-height: 1; cursor: pointer; padding: .2rem .5rem; }
.jl-sheet-body { overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 1rem 1.25rem calc(2rem + env(safe-area-inset-bottom)); }
body.jl-lock { overflow: hidden; }
.jl-line { display: grid; grid-template-columns: 1fr auto auto; gap: .8rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.jl-line-name { font-family: var(--serif); font-size: 1.12rem; color: #f3ede2; line-height: 1.25; }
.jl-line-name small { display: block; font-family: var(--sans); font-size: .74rem; color: var(--text-light); }
.jl-qty { display: flex; align-items: center; border: 1px solid rgba(201,164,106,.5); }
.jl-qty button { width: 34px; height: 34px; background: none; border: 0; color: var(--gold-soft); font-size: 1.15rem; cursor: pointer; }
.jl-qty span { min-width: 1.6rem; text-align: center; color: #f3ede2; }
.jl-line-total { font-family: var(--serif); font-size: 1.1rem; color: var(--gold-soft); min-width: 4.8rem; text-align: right; }
.jl-sum { padding: .8rem 0 .4rem; }
.jl-sum-row { display: flex; justify-content: space-between; color: var(--text-light); font-size: .95rem; padding: .15rem 0; }
.jl-sum-total { color: #f3ede2; font-family: var(--serif); font-size: 1.5rem; padding-top: .4rem; }
.jl-sum-total span:last-child { color: var(--gold-soft); }
.jl-open-q span:last-child, .jl-open-q-note { color: #f1dc8f; }
.jl-open-q-note { font-size: .8rem; margin-top: .2rem; }
.jl-warn { color: #f0a9a0; font-size: .9rem; }
.jl-empty { color: var(--text-light); font-style: italic; padding: 1rem 0; }
#jl-form { display: flex; flex-direction: column; gap: 1.05rem; margin-top: 1.2rem; }
#jl-form h4 { font-family: var(--sans); font-weight: 400; font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-top: .6rem; }
.jl-loc-btns { display: flex; gap: .6rem; flex-wrap: wrap; }
.jl-btn-line { font: inherit; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; background: transparent; color: var(--gold-soft); border: 1px solid rgba(201,164,106,.6); padding: .65rem .9rem; cursor: pointer; flex: 1; min-height: 42px; }
.jl-btn-line:hover { background: rgba(201,164,106,.12); }
.jl-map { height: 260px; border: 1px solid rgba(201,164,106,.35); background: #1b1e22; }
.jl-map-hint { font-size: .8rem; color: var(--text-light); margin-top: -.6rem; }
.jl-dist { font-size: .92rem; line-height: 1.5; }
.jl-dist:empty { display: none; }
.jl-dist.ok { color: #b9d7a8; border-left: 2px solid #7fbf7a; padding-left: .7rem; }
.jl-dist.far { color: #ffd4cc; background: rgba(214,92,74,.16); border: 1px solid rgba(240,169,160,.6); padding: .8rem .9rem; font-weight: 400; }
.jl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.jl-pay-note { border: 1px solid rgba(201,164,106,.35); padding: .9rem 1rem; background: rgba(201,164,106,.06); }
.jl-pay-note strong { display: block; font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin-bottom: .3rem; }
.jl-pay-note p { font-size: .92rem; line-height: 1.55; color: var(--text); }
.jl-msg { min-height: 1.2em; font-size: .92rem; }
.jl-msg.err { color: #f0a9a0; } .jl-msg.ok { color: #b9d7a8; }
.jl-submit { width: 100%; text-align: center; padding: 1.05rem; }
.jl-submit:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.jl-small { font-size: .78rem; color: var(--text-light); text-align: center; }

.jl-var { display: flex; align-items: flex-end; justify-content: center; }
.jl-var[hidden] { display: none; }
.jl-var-panel { position: relative; width: min(460px, 100%); background: var(--paper); padding: 1.6rem 1.4rem calc(1.4rem + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: .8rem; border-top: 1px solid var(--gold); }
.jl-var-panel h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: #f3ede2; text-align: center; }
.jl-var-opts { display: flex; flex-direction: column; gap: .6rem; }
.jl-var-opts .btn { width: 100%; text-align: center; }

.jl-toast { position: fixed; z-index: 300; left: 50%; transform: translateX(-50%); bottom: calc(84px + env(safe-area-inset-bottom)); background: #0d0f12; color: #f3ede2; border: 1px solid rgba(201,164,106,.5); padding: .6rem 1rem; font-size: .85rem; max-width: calc(100% - 32px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jl-toast[hidden] { display: none; }

.leaflet-container { font-family: var(--sans); }

@media (max-width: 600px) {
  .jl-head { padding: 3.6rem 1.25rem 3rem; }
  .jl-section { padding-top: 2.4rem; }
  .jl-item-name { font-size: 1.16rem; }
  .jl-item-desc { font-size: .95rem; }
  .jl-price { font-size: 1.12rem; }
  .jl-tabs { justify-content: flex-start; }
  .jl-sheet-panel { width: 100%; }
  .jl-line { gap: .55rem; }
  .jl-qty button { width: 32px; }
  .jl-line-total { min-width: 4.2rem; font-size: 1.02rem; }
}

/* ---------- guest status page ---------- */
.st-card { position: relative; max-width: 620px; margin: 0 auto; background: var(--paper); padding: 2.6rem 1.8rem 2.2rem; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.st-card::before { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(201,164,106,.4); pointer-events: none; }
.st-no { text-align: center; font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.st-title { text-align: center; font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 5vw, 2.4rem); line-height: 1.2; color: #f3ede2; margin: .5rem 0 .6rem; }
.st-text { text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--text); max-width: 460px; margin: 0 auto; }
.st-steps { display: flex; justify-content: space-between; margin: 2rem 0 1.6rem; position: relative; }
.st-steps::before { content: ''; position: absolute; left: 8%; right: 8%; top: 9px; height: 1px; background: rgba(201,164,106,.35); }
.st-step { position: relative; flex: 1; text-align: center; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-light); }
.st-step i { display: block; width: 19px; height: 19px; margin: 0 auto .5rem; border-radius: 50%; border: 1px solid rgba(201,164,106,.6); background: var(--paper); }
.st-step.done i { background: var(--gold); border-color: var(--gold); }
.st-step.now i { background: var(--gold); box-shadow: 0 0 0 5px rgba(201,164,106,.25); animation: stPulse 1.6s infinite; }
.st-step.done, .st-step.now { color: var(--gold-soft); }
@keyframes stPulse { 50% { box-shadow: 0 0 0 9px rgba(201,164,106,.05); } }
.st-declined .st-title { color: #f3d2b8; }
.st-lines { margin-top: 1rem; }
.st-pay { display: block; width: 100%; text-align: center; margin: 1.4rem 0 .4rem; }
.st-count { text-align: center; font-size: .82rem; color: var(--text-light); margin-top: .8rem; }

/* 2026-11-19e: lignje portion, desserts not delivered, minimum order */
.jl-portion { color: var(--gold-soft); border: 1px solid rgba(201,164,106,.45); padding: .05rem .4rem; white-space: nowrap; display: inline-block; margin-top: .2rem; }
.jl-kg { display: block; text-align: right; font-family: var(--sans); font-size: .7rem !important; letter-spacing: .04em; color: var(--text-light); }
.jl-cat-note { text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--text-light); margin: -.6rem auto 1rem; max-width: 460px; }
.jl-cartbar-label small { display: block; font-size: .64rem; letter-spacing: .08em; text-transform: none; font-weight: 400; margin-top: .1rem; }
.jl-cartbar-label small:empty { display: none; }
.jl-cartbar.below-min { background: #8f7650; }
.jl-free span:first-child { color: #b9d7a8; }
.jl-min { margin-top: .9rem; border: 1px solid rgba(240,195,160,.55); background: rgba(240,195,160,.07); padding: .8rem .9rem; }
.jl-min p { color: #f3d2b8; font-size: .92rem; line-height: 1.5; }
.jl-min-bar { height: 4px; background: rgba(255,255,255,.1); margin-bottom: .6rem; }
.jl-min-bar i { display: block; height: 100%; background: var(--gold); }
