/* ───────── споделено: иконки, модали, тостови, приемник, клиентски тек ───────── */
.ic { width: 1.2em; height: 1.2em; flex: none; }
.iconbtn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(241,232,218,.2); background: none; }
.iconbtn:hover { border-color: var(--amber); color: var(--amber-hot); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--amber-hot); text-decoration: underline; text-underline-offset: 3px; font-size: .82rem; }
.linkbtn:disabled { opacity: .35; text-decoration: none; cursor: default; }
.btn.btn--fill { background: var(--amber); color: var(--coal-950); border-color: var(--amber); cursor: pointer; }
.btn.btn--fill:hover { background: var(--amber-hot); }
.btn--sm { padding: .65rem 1.2rem; font-size: .72rem; cursor: pointer; background: none; }

/* влез за сопственици */
.nav__owner { pointer-events: auto; position: absolute; right: var(--gutter); top: 54px; background: none; border: 0; padding: 0; color: #fff; opacity: .55; font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; }
.nav__owner:hover { opacity: 1; }
.nav__owner--foot { position: static; color: var(--cream); font-size: .74rem; letter-spacing: .14em; opacity: .75; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 720px) { .nav__owner { top: 50px; left: var(--gutter); right: auto; } }

.qr__cta { margin-top: 1.8rem; display: grid; gap: .7rem; justify-items: start; }
.qr__cta span { font-size: .82rem; opacity: .6; }

/* модал */
body.has-modal { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(6,5,4,.72); opacity: 0; transition: opacity .25s var(--ease-soft); overflow-y: auto; }
.modal.is-in { opacity: 1; } .modal.is-out { opacity: 0; }
.modal__panel { width: min(100%, 520px); max-height: calc(100svh - 32px); overflow-y: auto; background: #17120e; color: var(--cream); border: 1px solid rgba(217,153,63,.28); border-radius: 22px; padding: 22px; box-shadow: 0 40px 100px rgba(0,0,0,.7); outline: none; transform: translateY(14px) scale(.985); transition: transform .35s var(--ease); }
.modal.is-in .modal__panel { transform: none; }
.modal__panel--rc { width: min(100%, 420px); background: transparent; border: 0; box-shadow: none; padding: 0; display: grid; gap: 14px; justify-items: center; }
.modal__panel--cust { width: min(100%, 460px); padding: 0; display: flex; flex-direction: column; height: min(720px, calc(100svh - 32px)); }
.toast { position: fixed; left: 50%; top: 74px; translate: -50% -20px; z-index: 300; background: var(--cream); color: var(--coal-950); padding: 12px 18px; border-radius: 999px; font-size: .86rem; opacity: 0; pointer-events: none; transition: all .4s var(--ease); max-width: calc(100vw - 32px); text-align: center; }
.toast.on { opacity: 1; translate: -50% 0; }

/* клиентски мени-лист */
.cu__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 12px; }
.cu__head b { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; display: block; }
.cu__head small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-hot); }
.cu__chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 20px 12px; scrollbar-width: none; }
.cu__chips::-webkit-scrollbar { display: none; }
.cu__body { flex: 1; overflow-y: auto; padding: 0 20px; }
.cu__item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(241,232,218,.09); }
.cu__item b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; }
.cu__item small { display: block; opacity: .5; font-size: .78rem; }
.cu__item .pr { color: var(--amber-hot); font-size: .98rem; }
.qty { display: inline-flex; align-items: center; gap: 4px; }
.qty button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(241,232,218,.28); background: none; font-size: 17px; line-height: 1; }
.qty button:hover { background: var(--amber); border-color: var(--amber); color: var(--coal-950); }
.qty em { min-width: 24px; text-align: center; font-style: normal; }
.cu__foot { padding: 12px 20px 20px; display: grid; gap: 10px; border-top: 1px solid rgba(241,232,218,.1); }
.cu__foot textarea, .sheet input, .fld { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(241,232,218,.2); background: rgba(255,255,255,.04); color: var(--cream); font: inherit; resize: none; }
.cu__foot textarea:focus, .sheet input:focus, .fld:focus { outline: 2px solid var(--amber); outline-offset: 1px; }
.cu__done { padding: 46px 26px; text-align: center; display: grid; gap: 14px; justify-items: center; margin: auto; }
.cu__done .ok { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(217,153,63,.15); color: var(--amber-hot); border: 1px solid var(--amber); }
.cu__done .ok .ic { width: 30px; height: 30px; }
.cu__done h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; }
.cu__done p { opacity: .75; max-width: 30ch; }

/* телефон / сметка: дополнувања */
.ri { grid-template-columns: 1fr auto auto; }
.ri small { display: block; font-size: .72rem; opacity: .5; }
.ri .q { font-style: normal; opacity: .7; min-width: 28px; text-align: center; }
.ri--empty { display: block; text-align: center; padding: 34px 6px; opacity: 1 !important; transform: none !important; border: 0; }
.ri--empty p { opacity: .6; margin-bottom: 10px; }
.phone__row { display: flex; justify-content: space-between; gap: 10px; padding-top: 12px; position: relative; }
.tips__custom { display: flex; align-items: center; gap: 8px; font-size: .8rem; padding: 6px 0 2px; position: relative; }
.tips__custom[hidden] { display: none; }
.tips__custom input { width: 92px; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(241,232,218,.25); background: rgba(255,255,255,.05); color: var(--cream); font: inherit; }
.tips { flex-wrap: wrap; }
.tips span { flex-basis: 100%; }
.pay:disabled { filter: grayscale(.7) brightness(.7); cursor: default; }
.pay--sm { padding: 14px; }
.sheet__amt { font-size: .86rem; opacity: .8; } .sheet__amt b { color: var(--amber-hot); font-weight: 600; }
.sheet__lbl { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .65; }
.spin { width: 38px; height: 38px; border-radius: 50%; border: 3px solid rgba(241,232,218,.15); border-top-color: var(--amber-hot); animation: spin 1s linear infinite; justify-self: center; }
@keyframes spin { to { rotate: 360deg; } }
.sheet__panel { text-align: left; }

/* дигитален приемник */
.rc { width: 100%; background: #f5ecdc; color: #17120e; padding: 26px 24px 18px; position: relative; box-shadow: 0 30px 80px rgba(0,0,0,.6); font-size: .88rem;
 }
.rc::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 8px; background: radial-gradient(circle at 7px -1px, transparent 6px, #f5ecdc 6.6px) 0 0 / 14px 8px repeat-x; }
.rc__head { text-align: center; padding-bottom: 14px; border-bottom: 1px dashed rgba(23,18,14,.3); }
.rc__head h3 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; letter-spacing: .02em; }
.rc__head small { font-size: .62rem; letter-spacing: .3em; color: #8a4a26; }
.rc__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; padding: 14px 0; border-bottom: 1px dashed rgba(23,18,14,.3); }
.rc__meta dt { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; opacity: .55; }
.rc__meta dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.rc__list { padding: 10px 0; border-bottom: 1px dashed rgba(23,18,14,.3); }
.rc__row { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; padding: 6px 0; align-items: baseline; }
.rc__n em { display: block; font-style: normal; font-size: .72rem; opacity: .55; }
.rc__q { opacity: .6; }
.rc .pr small { opacity: .55; }
.rc__sum { padding: 10px 0; display: grid; gap: 6px; }
.rc__sum > div { display: flex; justify-content: space-between; }
.rc__total { font-family: var(--font-display); font-size: 1.5rem; padding-top: 8px; border-top: 1px solid rgba(23,18,14,.7); }
.rc__pay { font-size: .78rem; opacity: .8; margin: 4px 0 10px; }
.rc__mail { background: rgba(23,18,14,.06); border-left: 3px solid #b5532a; padding: 10px 12px; display: grid; gap: 2px; margin-bottom: 10px; }
.rc__mail b { font-size: .72rem; letter-spacing: .12em; }
.rc__mail span { font-size: .74rem; opacity: .7; }
.rc__foot { text-align: center; font-size: .66rem; opacity: .5; padding-top: 6px; }
.cu__item .pr small, .ri .pr small, .oc .pr small { display: inline; }

.rc__mail strong { font-size: .7rem; letter-spacing: .06em; color: #8a4a26; }
