/* ================= Shtesat: arka (POS), inventari, raportet, reklamat ================= */
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #fff; border-color: #fff; color: var(--primary); }
.btn.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
h4.sub { font-size: 13px; text-transform: uppercase; letter-spacing: 2px; color: var(--gold-dark); margin: 6px 0 10px; border-bottom: 1px solid var(--rule); padding-bottom: 4px; }
.login-logo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--gold); display: inline-block; }
.admin-side .logo { display: flex; gap: 10px; align-items: center; }
.admin-side .logo img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--ink), 0 0 0 3px var(--gold); }
.admin-side .masthead { font-size: 19px; line-height: 1.1; display: block; }
.live { font-size: 12px; margin-top: 6px; font-style: italic; }
.live.on { color: #8fd6a4; }
.live.off { color: #e6b36b; }
.stat small { display: block; margin-top: 2px; }
@keyframes flash { from { background: #fff4c9; } to { background: transparent; } }
tr.flash td, .pos-item.flash { animation: flash 1.6s ease; }
.big-stock { font-size: 20px; }
.adj { display: flex; gap: 6px; }
.adj input { padding: 6px 8px; font-size: 14px; }
.suggest { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; background: #fff; box-shadow: var(--shadow-lg); border-radius: var(--radius); max-height: 260px; overflow: auto; }
.suggest a { display: block; padding: 8px 12px; cursor: pointer; border-bottom: 1px solid var(--rule); font-size: 15px; }
.suggest a:hover { background: var(--soft); }
.suggest a.dis { opacity: .5; }
.timeline { list-style: none; padding: 0 0 0 14px; margin: 6px 0 0; border-left: 2px solid var(--rule); max-height: 200px; overflow: auto; }
.timeline li { position: relative; padding: 0 0 10px 6px; font-size: 15px; }
.timeline li::before { content: ""; position: absolute; left: -21px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.tabs .sep { width: 1px; background: var(--rule); margin: 0 6px; }
.steps { padding-left: 20px; }
.steps li { margin-bottom: 6px; }
.steps a { color: var(--primary); text-decoration: underline; }
.errlist { color: var(--danger); font-size: 14px; max-height: 140px; overflow: auto; }
.downloads { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.dl { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border: 1px solid var(--rule); border-radius: var(--radius); transition: .15s; }
.dl:hover { border-color: var(--primary); background: var(--soft); }
.dl span { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--gold-dark); text-transform: uppercase; }
.hbar { height: 8px; background: var(--soft); border-radius: 4px; overflow: hidden; }
.hbar i { display: block; height: 100%; background: var(--primary); }
.bars.two .b i.c { background: var(--gold); border-radius: 0; }
.legend { display: flex; gap: 18px; font-size: 14px; margin-top: 8px; }
.legend i { display: inline-block; width: 12px; height: 12px; background: var(--primary); vertical-align: middle; margin-right: 4px; }
.legend i.c { background: var(--gold); }
iframe.map { width: 100%; height: 320px; border: 0; border-radius: var(--radius); margin-top: 10px; }
.st-kthyer { background: #eef3f3; color: #2c6a6a; }

/* ---------- Arka (POS) ---------- */
.pos-mode .admin-main { padding: 14px; }
.pos { display: grid; grid-template-columns: 1fr 400px; gap: 14px; height: calc(100vh - 28px); }
.pos-left { display: flex; flex-direction: column; min-height: 0; }
.pos-top { display: flex; gap: 10px; margin-bottom: 10px; }
.pos-top input { font-size: 20px; padding: 14px 16px; }
.pos-cats { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.pos-cats a { padding: 7px 14px; background: #fff; border-radius: 20px; box-shadow: var(--shadow); cursor: pointer; font-weight: 700; font-size: 14px; }
.pos-cats a.on { background: var(--primary); color: #fff; }
.pos-grid { flex: 1; overflow: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; align-content: start; padding: 2px; }
.pos-item { background: #fff; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; text-align: left; cursor: pointer; font-family: var(--font); display: flex; flex-direction: column; gap: 4px; transition: .12s; color: var(--text); }
.pos-item:hover { box-shadow: 0 0 0 2px var(--primary); }
.pos-item:active { transform: scale(.97); }
.pos-item.out { opacity: .45; }
.pos-item .thumb { width: 100%; height: 90px; }
.pos-item b { font-size: 15px; line-height: 1.2; }
.pos-item .price { font-size: 17px; margin: 0; }
.pos-item small { color: var(--muted); }
.pos-right { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; min-height: 0; }
.pos-cart { flex: 1; overflow: auto; padding: 12px 14px; }
.pos-line { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid var(--rule); align-items: center; }
.pos-line .n small { display: block; }
.pos-line .qty input { width: 46px; }
.pos-line .v { text-align: right; }
.pos-bottom { padding: 14px; border-top: 2px solid var(--primary); background: var(--soft); }
.pos-bottom .field { margin-bottom: 10px; }
.pos-total { display: flex; justify-content: space-between; align-items: baseline; margin: 4px 0 10px; }
.pos-total b { font-size: 34px; color: var(--primary); }
.pos-pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.pos-pay button, .pos-quick button { font-family: var(--font); font-weight: 700; padding: 10px 6px; border: 1px solid var(--rule); background: #fff; border-radius: var(--radius); cursor: pointer; font-size: 15px; color: var(--text); }
.pos-pay button.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.pos-quick { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.pos-quick button { padding: 6px 10px; font-size: 14px; }
.pos-change { font-size: 22px; font-weight: 700; padding: 6px 0; color: var(--success); }
.pos-done { font-size: 18px; padding: 15px; }

/* ---------- Dyqani: banner rrëshqitës, popup, gjurmimi ---------- */
.slides { position: relative; margin-bottom: 18px; }
.slide { display: none; }
.slide.on { display: block; animation: fade .5s ease; }
@keyframes fade { from { opacity: 0; } }
.slide .banner { margin-bottom: 0; }
.banner.img { background-size: cover; background-position: center; }
.banner.img .banner-text { background: linear-gradient(90deg, rgba(43, 26, 48, .82), rgba(43, 26, 48, .2)); }
.dots { position: absolute; bottom: 22px; left: 56px; display: flex; gap: 8px; z-index: 2; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .45); cursor: pointer; padding: 0; }
.dots button.on { background: var(--gold); }
.tile.img { background-size: cover; background-position: center; color: #fff; }
.tile.img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43, 26, 48, .78), rgba(43, 26, 48, .15)); }
.tile.img > * { position: relative; }
.tile.img h3 { color: #fff; }
.offer-pop .modal { max-width: 560px; border-top: 0; overflow: hidden; }
.offer-pop .modal-head { display: none; }
.offer-pop .modal-body { padding: 0; }
.op-img { height: 220px; background-size: cover; background-position: center; }
.op-body { padding: 26px 30px 30px; text-align: center; position: relative; }
.op-body h2 { font-size: 32px; margin-bottom: 8px; }
.op-body p { font-style: italic; color: var(--muted); margin-top: 0; }
.op-close { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-family: var(--font); cursor: pointer; text-decoration: underline; color: var(--muted); }
.op-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; text-align: left; }
.op-products a { font-size: 14px; }
.op-products .thumb { width: 100%; height: 90px; margin-bottom: 4px; }
.track { max-width: 780px; margin: 0 auto; }
.steps-bar { display: grid; grid-template-columns: repeat(4, 1fr); margin: 22px 0; }
.steps-bar div { text-align: center; font-size: 14px; color: var(--muted); position: relative; padding-top: 28px; }
.steps-bar div::before { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: var(--rule); z-index: 1; }
.steps-bar div::after { content: ""; position: absolute; top: 13px; left: -50%; width: 100%; height: 2px; background: var(--rule); }
.steps-bar div:first-child::after { display: none; }
.steps-bar div.done { color: var(--primary); font-weight: 700; }
.steps-bar div.done::before { background: var(--primary); box-shadow: 0 0 0 3px var(--blush); }
.steps-bar div.done::after { background: var(--primary); }
.brands-strip { display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-bottom: 44px; }
.brands-strip a { font-size: 22px; font-style: italic; color: var(--muted); letter-spacing: 1px; }
.brands-strip a:hover { color: var(--primary); }
.closed-bar { background: var(--gold); color: var(--ink); text-align: center; padding: 10px 16px; font-weight: 700; }
.brand-mark.img { background-size: cover; background-position: center; color: transparent; }

@media (max-width: 1024px) {
  .pos { grid-template-columns: 1fr; height: auto; }
  .pos-grid { max-height: 50vh; }
}
@media (max-width: 860px) {
  .row3 { grid-template-columns: 1fr 1fr; }
  .op-products { grid-template-columns: 1fr 1fr; }
  .dots { left: 30px; }
}
@media (max-width: 560px) {
  .row3 { grid-template-columns: 1fr; }
  .adj { flex-wrap: wrap; }
  .steps-bar div { font-size: 12px; }
}
@media print {
  .admin-side, .modal-foot, .modal-head .x, #toasts { display: none !important; }
  .modal-bg { position: static; background: none; }
  .modal { box-shadow: none; max-height: none; }
}
.arch-logo { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--gold); margin-bottom: 18px; }
