/* =============================================================================
   24VETURA — dizajni i aplikacionit (dark) për uebfaqen
   Ngjyrat, madhësitë dhe komponentët janë të njëjtat si te aplikacioni (lib/theme.js)
============================================================================= */
:root {
  --blue: #1E6FFF; --blue-soft: rgba(30,111,255,.16); --blue-text: #6FA3FF; --navy: #0E1A30;
  --bg: #0B1424; --card: #101C30; --card2: #15233B;
  --text: #E8EEF7; --dim: #A7B6CC; --mute: #72829B;
  --border: rgba(255,255,255,.08); --border2: rgba(255,255,255,.16);
  --green: #4CC47A; --green-soft: rgba(76,196,122,.12); --green-border: rgba(76,196,122,.35);
  --wa: #25D366; --danger: #FF6B6B; --danger-soft: rgba(255,107,107,.12);
  --gold: #F0C36B; --gold-soft: rgba(240,195,107,.12);
  --overlay: rgba(0,0,0,.6); --nav-bg: rgba(16,28,48,.92); --nav-border: rgba(255,255,255,.10);
  --skel: #18263E;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 20px; --pill: 999px;
  --gutter: 16px; --tab-space: 112px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color-scheme: dark;
}
@media (max-width: 359px) { :root { --gutter: 12px; } }
@media (min-width: 600px) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
body { font-family: var(--font); font-size: 15px; line-height: 1.4; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; min-height: 100vh; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue-text); outline-offset: 2px; }
.ic { display: inline-block; flex: 0 0 auto; vertical-align: middle; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- Tipografia (si T variants) ---------- */
.h1 { font-size: 26px; font-weight: 800; letter-spacing: -.3px; line-height: 1.2; margin: 0; }
.h2 { font-size: 21px; font-weight: 800; letter-spacing: -.2px; line-height: 1.25; margin: 0; }
.h3 { font-size: 17px; font-weight: 700; line-height: 1.3; margin: 0; }
.small { font-size: 13px; } .tiny { font-size: 11.5px; } .label { font-size: 13.5px; font-weight: 600; }
.dim { color: var(--dim); } .mute { color: var(--mute); } .blue { color: var(--blue); } .bt { color: var(--blue-text); }
.green { color: var(--green); } .danger { color: var(--danger); } .gold { color: var(--gold); }
.w6 { font-weight: 600; } .w7 { font-weight: 700; } .w8 { font-weight: 800; }
.center { text-align: center; } .upper { text-transform: uppercase; letter-spacing: .3px; }
.clamp1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lh { line-height: 1.55; }

/* ---------- Layout ---------- */
.page { padding: 8px var(--gutter) calc(var(--tab-space) + env(safe-area-inset-bottom)); max-width: 1280px; margin: 0 auto; }
.page.stack { padding-bottom: calc(40px + var(--tab-space) + env(safe-area-inset-bottom)); }
.readable { width: 100%; max-width: 760px; margin: 0 auto; }
.narrow { width: 100%; max-width: 560px; margin: 0 auto; }
.row { display: flex; align-items: center; } .row.top { align-items: flex-start; } .row.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; } .grow { flex: 1 1 auto; min-width: 0; }
.g4 { gap: 4px; } .g6 { gap: 6px; } .g8 { gap: 8px; } .g10 { gap: 10px; } .g12 { gap: 12px; } .g14 { gap: 14px; } .g16 { gap: 16px; }
.col { display: flex; flex-direction: column; }
.mt4 { margin-top: 4px; } .mt6 { margin-top: 6px; } .mt8 { margin-top: 8px; } .mt10 { margin-top: 10px; } .mt12 { margin-top: 12px; } .mt14 { margin-top: 14px; } .mt16 { margin-top: 16px; } .mt20 { margin-top: 20px; } .mt22 { margin-top: 22px; } .mt26 { margin-top: 26px; } .mt30 { margin-top: 30px; }
.mb6 { margin-bottom: 6px; } .mb8 { margin-bottom: 8px; } .mb10 { margin-bottom: 10px; } .mb12 { margin-bottom: 12px; } .mb14 { margin-bottom: 14px; } .mb16 { margin-bottom: 16px; } .mb18 { margin-bottom: 18px; } .mb22 { margin-bottom: 22px; }

/* ---------- Shiriti i sipërm (si shiriti i Kreut në app) ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(11,20,36,.86); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.topbar.scrolled { border-bottom-color: var(--border); }
.topbar-in { max-width: 1280px; margin: 0 auto; padding: calc(8px + env(safe-area-inset-top)) var(--gutter) 8px; display: flex; align-items: center; gap: 8px; min-height: 58px; }
.brand { display: flex; align-items: center; gap: 8px; flex: 1 1 auto; min-width: 0; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand b { font-size: 21px; font-weight: 800; letter-spacing: -.2px; color: var(--text); }
.brand b span { color: var(--blue); }

/* ---------- Butonat ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; padding: 13px 18px; border-radius: var(--r-md); border: 1.5px solid var(--blue); background: var(--blue); color: #fff; font-weight: 700; font-size: 15.5px; line-height: 1.1; text-align: center; transition: opacity .15s, transform .1s; user-select: none; }
.btn:hover { opacity: .92; } .btn:active { opacity: .85; transform: scale(.995); }
.btn[disabled], .btn.loading { opacity: .55; pointer-events: none; }
.btn.auto { width: auto; }
.btn.sm { min-height: 38px; padding: 8px 14px; font-size: 13.5px; }
.btn.secondary { background: var(--blue-soft); color: var(--blue-text); border-color: transparent; }
.btn.outline { background: transparent; color: var(--text); border-color: var(--border2); }
.btn.danger { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
.btn.wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn.ghost { background: transparent; color: var(--blue-text); border-color: transparent; }
.btn .spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.iconbtn { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--card); border: 1px solid var(--border); position: relative; flex: 0 0 auto; color: var(--text); transition: opacity .15s; }
.iconbtn:active { opacity: .8; }
.iconbtn .badge-dot { position: absolute; top: 3px; right: 3px; min-width: 17px; height: 17px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; padding: 0 3px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; background: var(--blue-soft); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; color: var(--blue-text); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Chip / pill / badge ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: var(--pill); background: var(--card); border: 1px solid var(--border); color: var(--text); font-size: 13px; font-weight: 700; white-space: nowrap; transition: opacity .15s; }
.chip.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip:active { opacity: .85; }
.chip .ic { color: var(--blue-text); } .chip.on .ic { color: #fff; }
.pill { display: inline-flex; align-items: center; gap: 7px; background: var(--blue-soft); color: var(--blue-text); padding: 9px 14px; border-radius: var(--pill); font-size: 13px; font-weight: 700; }
.badge { display: inline-flex; align-self: flex-start; align-items: center; padding: 4px 9px; border-radius: var(--pill); font-size: 11.5px; font-weight: 800; background: var(--blue-soft); color: var(--blue-text); }
.badge.green { background: var(--green-soft); color: var(--green); } .badge.red { background: var(--danger-soft); color: var(--danger); }
.badge.gold { background: var(--gold-soft); color: var(--gold); } .badge.grey { background: var(--card2); color: var(--dim); }
.badge.solidred { background: #C02626; color: #fff; }
.hscroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.hscroll::-webkit-scrollbar { display: none; }
.bleed { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding-left: var(--gutter); }

/* ---------- Karta ---------- */
.card { background: var(--card); border-radius: var(--r-lg); padding: 16px; border: 1px solid var(--border); }
.card.tap { cursor: pointer; transition: opacity .15s; } .card.tap:active { opacity: .9; }
.card.p0 { padding: 0; } .card.py4 { padding-top: 4px; padding-bottom: 4px; } .card.p12 { padding: 12px; }
.divider { height: 1px; background: var(--border2); margin: 12px 0; }
.list-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--border); }
.list-row:first-child { border-top: 0; }
.list-row > .small { white-space: nowrap; flex: 0 0 auto; }

/* ---------- Fushat ---------- */
.field { margin-bottom: 14px; }
.field > .label { display: block; color: var(--dim); margin-bottom: 6px; }
.field .req { color: var(--danger); }
.field .err { color: var(--danger); font-size: 13px; margin-top: 5px; }
.field .hint { color: var(--mute); font-size: 13px; margin-top: 5px; }
.input { width: 100%; min-height: 50px; background: var(--card); border: 1.5px solid var(--border); border-radius: var(--r-md); padding: 12px 14px; color: var(--text); font-size: 16px; outline: none; transition: border-color .15s; -webkit-appearance: none; appearance: none; }
.input::placeholder { color: var(--mute); }
.input:focus { border-color: var(--blue); }
.input.bad { border-color: var(--danger); }
textarea.input { min-height: 120px; resize: vertical; line-height: 1.5; }
.input.big { font-size: 20px; font-weight: 800; }
.input.code { font-size: 26px; letter-spacing: 8px; text-align: center; font-weight: 800; }
.select { width: 100%; min-height: 50px; background: var(--card); border: 1.5px solid var(--border); border-radius: var(--r-md); padding: 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; color: var(--mute); }
.select.compact { min-height: 44px; }
.select.has { color: var(--text); font-weight: 600; }
.select.bad { border-color: var(--danger); }
.select[disabled] { opacity: .5; pointer-events: none; }
.select .ic { color: var(--blue-text); }
.grid2 { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
@media (min-width: 400px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.switch { position: relative; width: 51px; height: 31px; flex: 0 0 auto; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; border-radius: 31px; background: var(--border2); transition: background .2s; cursor: pointer; }
.switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 2px 4px rgba(0,0,0,.3); }
.switch input:checked + span { background: var(--green); }
.switch.blue input:checked + span { background: var(--blue); }
.switch input:checked + span::after { transform: translateX(20px); }

/* ---------- Seksione ---------- */
.sec-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.sec-title a, .sec-title button { color: var(--blue-text); font-size: 13px; font-weight: 700; white-space: nowrap; }
.pagehead { display: flex; align-items: center; gap: 6px; padding: 6px 0 12px; }
.pagehead .t { flex: 1 1 auto; min-width: 0; padding: 0 6px; }

/* ---------- Kartat e listimeve (ListingCard) ---------- */
.grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 520px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 800px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lcard { display: block; background: var(--card); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); transition: opacity .15s, transform .15s; min-width: 0; }
.lcard:hover { transform: translateY(-2px); } .lcard:active { opacity: .93; }
.lcard .ph { position: relative; width: 100%; aspect-ratio: 1.5; background: var(--card2); }
.lcard .ph img { width: 100%; height: 100%; object-fit: cover; }
.lcard .ph .noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--mute); }
.lcard .flag { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 6px; font-size: 11px; font-weight: 800; color: #fff; background: #C02626; }
.lcard .flag.feat { background: var(--blue); }
.heart { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.94); display: flex; align-items: center; justify-content: center; color: #55607A; transition: transform .1s; z-index: 2; }
.heart:active { transform: scale(.9); } .heart.on, [data-fav].on { color: #E0245E; }
.lcard .bd { padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.lcard.compact .bd { padding: 11px; }
.lcard .tt { font-size: 17px; font-weight: 700; }
.lcard.compact .tt { font-size: 13.5px; }
.lcard .nd { align-self: flex-start; background: var(--green-soft); color: var(--green); padding: 3px 8px; border-radius: 20px; font-size: 11px; font-weight: 800; }
.lcard .meta { display: flex; flex-wrap: wrap; column-gap: 12px; row-gap: 4px; padding: 8px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: 2px; }
.lcard .meta span { display: inline-flex; align-items: center; gap: 4px; color: var(--dim); font-size: 13px; white-space: nowrap; }
.lcard .ft { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; gap: 8px; }
.lcard .pr { font-size: 19px; font-weight: 800; }
.lcard.compact .pr { font-size: 17px; }
.lcard .go { font-size: 13px; font-weight: 700; color: var(--blue-text); white-space: nowrap; }
.hrow { display: grid; grid-auto-flow: column; grid-auto-columns: min(300px, 74vw); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.hrow::-webkit-scrollbar { display: none; } .hrow > * { scroll-snap-align: start; }
@media (min-width: 600px) { .hrow { grid-auto-columns: 300px; } }

/* ---------- Skeleton / bosh / loader ---------- */
.skel { background: var(--skel); border-radius: var(--r-md); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: .5; } 50% { opacity: 1; } }
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px 16px; gap: 10px; }
.empty .bub { width: 76px; height: 76px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-text); display: flex; align-items: center; justify-content: center; }
.empty p { margin: 0; max-width: 320px; color: var(--dim); font-size: 13px; line-height: 1.45; }
.loader { display: flex; align-items: center; justify-content: center; padding: 40px; }
.loader i { width: 34px; height: 34px; border-radius: 50%; border: 3.5px solid var(--blue); border-right-color: transparent; animation: spin .8s linear infinite; }

/* ---------- Flluska e navigimit (FloatingTabBar) ---------- */
.fnav { position: fixed; left: 0; right: 0; bottom: calc(max(env(safe-area-inset-bottom), 10px) + 6px); display: flex; justify-content: center; z-index: 60; pointer-events: none; transition: transform .22s ease; }
.fnav.hide { transform: translateY(140px); }
.fnav-in { pointer-events: auto; width: min(calc(100vw - 24px), 460px); height: 68px; display: flex; align-items: center; padding: 0 6px; background: var(--nav-bg); border: 1px solid var(--nav-border); border-radius: 30px; -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 10px 30px rgba(0,0,0,.45); }
@media (min-width: 600px) { .fnav-in { width: 480px; } }
.fnav a { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 6px 0; color: var(--mute); position: relative; font-size: 11px; font-weight: 600; }
.fnav a.on { color: var(--blue-text); font-weight: 800; }
.fnav a.on::after { content: ""; position: absolute; bottom: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.fnav .fab-wrap { flex: 1 1 0; display: flex; justify-content: center; }
.fnav .fab { width: 56px; height: 56px; border-radius: 28px; background: #1E6FFF; color: #fff; display: flex; align-items: center; justify-content: center; transition: transform .1s; }
.fnav .fab:active { transform: scale(.93); }
@media (max-width: 349px) { .fnav-in { height: 62px; } .fnav .fab { width: 50px; height: 50px; } .fnav a { font-size: 10px; } }

/* ---------- Fundi (footer i hollë) ---------- */
.foot { border-top: 1px solid var(--border); padding: 28px 0 calc(var(--tab-space) + 10px + env(safe-area-inset-bottom)); margin-top: 10px; }
.foot-in { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); display: flex; flex-direction: column; gap: 18px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-links a { color: var(--dim); font-size: 13.5px; font-weight: 600; }
.foot-links a:hover { color: var(--text); }
.foot-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.foot-contact a.mail { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; font-size: 14px; }
.foot-social { display: flex; gap: 8px; }
.foot-social a { width: 38px; height: 38px; border-radius: 50%; background: var(--card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--dim); }
.foot-copy { color: var(--mute); font-size: 12px; }
body.has-foot .page { padding-bottom: 24px; }

/* ---------- Fleta (bottom sheet) / modal ---------- */
.sheet-ov { position: fixed; inset: 0; z-index: 230; background: var(--overlay); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .2s; }
.sheet-ov.open { opacity: 1; }
.sheet { width: 100%; max-width: 640px; max-height: 78vh; max-height: 78dvh; background: var(--card); border-radius: 22px 22px 0 0; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; transform: translateY(40px); transition: transform .22s ease; }
.sheet-ov.open .sheet { transform: none; }
.sheet .grab { width: 42px; height: 5px; border-radius: 3px; background: var(--border2); margin: 0 auto 10px; flex: 0 0 auto; }
.sheet .sh-head { display: flex; align-items: center; padding: 0 18px 10px; gap: 10px; }
.sheet .sh-search { padding: 0 16px 6px; }
.sheet .sh-list { overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.sheet .opt { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; text-align: left; font-weight: 500; color: var(--text); }
.sheet .opt:hover { background: var(--card2); }
.sheet .opt.on { background: var(--blue-soft); color: var(--blue-text); font-weight: 700; }
.sheet .pad { padding: 0 20px; overflow-y: auto; }
@media (min-width: 700px) { .sheet-ov.center { align-items: center; } .sheet-ov.center .sheet { border-radius: 22px; max-height: 86vh; } }
/* Paneli i filtrave: ekran i plotë në telefon, sirtar anësor në desktop */
.drawer-ov { position: fixed; inset: 0; z-index: 210; background: var(--overlay); opacity: 0; transition: opacity .2s; }
.drawer-ov.open { opacity: 1; }
.drawer { position: fixed; z-index: 211; inset: 0; background: var(--bg); display: flex; flex-direction: column; transform: translateY(100%); transition: transform .25s ease; }
.drawer.open { transform: none; }
@media (min-width: 800px) { .drawer { inset: 0 0 0 auto; width: 460px; transform: translateX(100%); border-left: 1px solid var(--border); } }
.drawer .dh { display: flex; align-items: center; padding: calc(10px + env(safe-area-inset-top)) 16px 10px; border-bottom: 1px solid var(--border); gap: 10px; }
.drawer .db { flex: 1 1 auto; overflow-y: auto; padding: 16px; -webkit-overflow-scrolling: touch; }
.drawer .df { padding: 16px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: var(--card); }
body.lock { overflow: hidden; }

/* ---------- Toast ---------- */
.toast { position: fixed; top: calc(8px + env(safe-area-inset-top)); left: 14px; right: 14px; z-index: 400; display: flex; justify-content: center; pointer-events: none; transform: translateY(-140px); transition: transform .3s cubic-bezier(.2,.9,.3,1.2); }
.toast.show { transform: none; }
.toast div { max-width: 520px; width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); color: #fff; font-weight: 700; background: var(--green); box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.toast.err div { background: var(--danger); } .toast.info div { background: var(--navy); border: 1px solid var(--border2); }

/* ---------- Kreu ---------- */
.hero { background: var(--navy); border-radius: var(--r-xl); padding: 20px; position: relative; overflow: hidden; border: 1px solid var(--border); }
@media (min-width: 600px) { .hero { padding: 28px; } }
.hero .o1 { position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: rgba(30,111,255,.35); }
.hero .o2 { position: absolute; right: 40px; bottom: -60px; width: 140px; height: 140px; border-radius: 50%; background: rgba(30,111,255,.18); }
.hero > * { position: relative; }
.hero h1 { color: #fff; font-size: 26px; font-weight: 800; line-height: 32px; margin: 0; }
@media (min-width: 600px) { .hero h1 { font-size: 32px; line-height: 38px; } }
.hero .search { margin-top: 16px; background: #fff; border-radius: var(--r-md); display: flex; align-items: center; gap: 10px; padding: 0 8px 0 14px; height: 50px; color: #8A94A6; width: 100%; text-align: left; }
.hero .search .go { width: 34px; height: 34px; border-radius: 10px; background: #1E6FFF; color: #fff; display: flex; align-items: center; justify-content: center; margin-left: auto; }
.hero .cats { display: flex; gap: 8px; margin-top: 14px; }
.hero .cats a { flex: 1 1 0; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-md); padding: 12px 0; display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; font-size: 13px; font-weight: 700; transition: background .15s; }
.hero .cats a:hover { background: rgba(255,255,255,.18); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 600px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--card); border-radius: var(--r-lg); padding: 14px; border: 1px solid var(--border); }
.stat .v { font-size: 22px; font-weight: 800; margin-top: 6px; }
.stat .l { font-size: 11.5px; font-weight: 700; color: var(--dim); text-transform: uppercase; letter-spacing: .3px; }
.promo { display: flex; align-items: center; gap: 14px; background: #1E6FFF; border-radius: var(--r-xl); padding: 20px; color: #fff; }
.promo .plus { width: 48px; height: 48px; border-radius: 24px; background: #fff; color: #1E6FFF; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.why { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 600px) { .why { grid-template-columns: 1fr 1fr; } }
.why .card { display: flex; gap: 12px; }
.tile-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-text); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }

/* ---------- Detaji ---------- */
.dgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 16px; align-items: start; }
@media (min-width: 900px) { .dgrid { grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); } .dgrid .side { position: sticky; top: 76px; } }
.carousel { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #0D1526; }
.carousel .track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.carousel .track::-webkit-scrollbar { display: none; }
.carousel .slide { flex: 0 0 100%; aspect-ratio: 4 / 3; max-height: 520px; scroll-snap-align: center; cursor: zoom-in; }
.carousel .slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel .nav { position: absolute; top: 50%; margin-top: -20px; width: 40px; height: 40px; border-radius: 50%; background: rgba(15,22,40,.55); color: #fff; display: flex; align-items: center; justify-content: center; z-index: 2; }
.carousel .nav.prev { left: 10px; } .carousel .nav.next { right: 10px; }
.carousel .cnt { position: absolute; right: 12px; bottom: 12px; background: rgba(15,22,40,.65); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 11px; border-radius: 20px; }
.carousel .fs { position: absolute; left: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(15,22,40,.65); color: #fff; display: flex; align-items: center; justify-content: center; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.dots button { width: 7px; height: 7px; border-radius: 4px; background: var(--border2); transition: width .18s, background .18s; }
.dots button.on { width: 20px; background: var(--blue); }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button { flex: 0 0 84px; height: 60px; border-radius: 9px; overflow: hidden; border: 2px solid transparent; opacity: .55; transition: opacity .15s; }
.thumbs button.on { border-color: var(--blue); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.nobox { aspect-ratio: 4/3; border-radius: var(--r-lg); background: var(--card2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--mute); }
.spec-row { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.spec-row span { flex: 1 1 0; color: var(--dim); } .spec-row b { flex: 1 1 0; text-align: right; font-weight: 700; }
.ndbox { margin-top: 12px; padding: 13px; background: var(--green-soft); border: 1px solid var(--green-border); border-radius: 10px; }
.actlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.actlink .c { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border2); display: flex; align-items: center; justify-content: center; }
.feat-groups { display: grid; grid-template-columns: 1fr; column-gap: 20px; }
@media (min-width: 600px) { .feat-groups { grid-template-columns: 1fr 1fr; } }
.feat-groups li { list-style: none; display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.feat-groups ul { margin: 0 0 12px; padding: 0; }
/* Shikuesi në ekran të plotë */
.viewer { position: fixed; inset: 0; z-index: 300; background: #000; display: flex; flex-direction: column; }
.viewer .vtrack { flex: 1 1 auto; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.viewer .vtrack::-webkit-scrollbar { display: none; }
.viewer .vtrack.locked { overflow: hidden; }
.viewer .vslide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: pan-x; }
.viewer .vslide.zoomed { touch-action: none; }
.viewer .vslide img { max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: center center; user-select: none; -webkit-user-drag: none; will-change: transform; }
.viewer .vtop { position: absolute; top: calc(8px + env(safe-area-inset-top)); left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; z-index: 2; }
.viewer .vcnt { background: rgba(0,0,0,.55); color: #fff; padding: 6px 12px; border-radius: 20px; font-weight: 700; }
.viewer .vclose { width: 42px; height: 42px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: flex; align-items: center; justify-content: center; }
.viewer .vnav { position: absolute; top: 50%; margin-top: -24px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: none; align-items: center; justify-content: center; z-index: 2; }
@media (hover: hover) { .viewer .vnav { display: flex; } }
.viewer .vnav.prev { left: 16px; } .viewer .vnav.next { right: 16px; }
.viewer .vhint { position: absolute; bottom: calc(14px + env(safe-area-inset-bottom)); left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font-size: 11.5px; }

/* ---------- Shit ---------- */
.ssec { background: var(--card); border-radius: var(--r-lg); padding: 16px; margin-bottom: 16px; border: 1px solid var(--border); }
.ssec .num { width: 28px; height: 28px; border-radius: 14px; background: var(--blue); color: #fff; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.typepick { display: flex; gap: 10px; }
.typepick button { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 0; border-radius: var(--r-md); border: 2px solid var(--border); color: var(--dim); font-weight: 800; }
.typepick button b { color: var(--text); }
.typepick button.on { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-text); }
.typepick button.on b { color: var(--blue-text); }
.typepick.bad button { border-color: var(--danger); }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 460px) { .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 700px) { .pgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.ptile { position: relative; aspect-ratio: 1; border-radius: 10px; background: var(--card2); touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; transition: transform .12s, opacity .12s, box-shadow .12s; }
.ptile img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; pointer-events: none; }
.ptile.drag { z-index: 20; transform: scale(1.07); opacity: .92; box-shadow: 0 10px 26px rgba(0,0,0,.5); cursor: grabbing; transition: none; }
.ptile.target::after { content: ""; position: absolute; inset: 0; border: 2.5px solid var(--blue); border-radius: 10px; }
.ptile .cover { position: absolute; top: 6px; left: 6px; background: #1E6FFF; color: #fff; font-size: 10.5px; font-weight: 800; padding: 3px 7px; border-radius: 5px; }
.ptile .tb { position: absolute; top: 5px; width: 26px; height: 26px; border-radius: 13px; display: flex; align-items: center; justify-content: center; color: #fff; }
.ptile .tb.star { left: 5px; background: rgba(15,22,40,.7); } .ptile .tb.del { right: 5px; background: rgba(192,38,38,.92); }
.ptile .no { position: absolute; bottom: 6px; left: 6px; min-width: 22px; height: 22px; border-radius: 11px; background: rgba(15,22,40,.78); color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; padding: 0 5px; }
.padd { aspect-ratio: 1; border-radius: 10px; border: 2px dashed var(--blue); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--blue-text); }
.padd.bad { border-color: var(--danger); }
.padd:hover { background: var(--blue-soft); }
.sellbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--card); border-top: 1px solid var(--border); padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); }
body.selling .fnav { display: none; }
body.selling .page { padding-bottom: 140px; }

/* ---------- Zona / dashboard ---------- */
.qa { display: flex; gap: 10px; }
.qa a { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 4px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--border); color: var(--blue-text); }
.qa a b { font-size: 11.5px; font-weight: 800; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.qa a.pri { background: var(--blue); border-color: var(--blue); color: #fff; } .qa a.pri b { color: #fff; }
.zstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .zstats { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.zstats > * { background: var(--card); border-radius: var(--r-lg); padding: 12px; border: 1px solid var(--border); color: var(--blue-text); display: block; min-width: 0; }
.zstats .v { font-size: 21px; font-weight: 800; margin-top: 4px; color: var(--text); }
.zstats .l { font-size: 11.5px; font-weight: 700; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart { display: flex; align-items: flex-end; height: 150px; gap: 4px; border-bottom: 1px solid var(--border); }
.chart.dense { gap: 2px; }
.chart button { flex: 1 1 0; height: 100%; display: flex; align-items: flex-end; }
.chart button i { display: block; width: 100%; background: var(--blue); border-radius: 4px 4px 0 0; }
.chart button.sel i { background: #fff; }
.chart-x { display: flex; margin-top: 4px; } .chart-x span { flex: 1 1 0; text-align: center; font-size: 9px; color: var(--mute); white-space: nowrap; overflow: visible; }
.mrow { background: var(--card); border-radius: var(--r-lg); padding: 12px; border: 1px solid var(--border); }
.mrow .thumb { width: 96px; height: 76px; border-radius: 10px; overflow: hidden; background: var(--card2); flex: 0 0 auto; }
.mrow .thumb img { width: 100%; height: 100%; object-fit: cover; }
.mrow .acts { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.mrow .acts button { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 9px 10px; border-radius: 10px; background: var(--card2); font-size: 13px; font-weight: 700; }
.mrow .acts button.del { background: var(--danger-soft); color: var(--danger); }
.menu a, .menu button { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--border); width: 100%; text-align: left; font-weight: 600; }
.menu > :first-child { border-top: 0; }
.menu .ic.lead { color: var(--blue-text); }
.menu .ic.chev { color: var(--mute); margin-left: auto; }
.notif { display: flex; gap: 12px; padding: 14px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--border); width: 100%; text-align: left; }
.notif.unread { background: var(--blue-soft); }
.notif .ni { width: 42px; height: 42px; border-radius: 21px; background: var(--card2); display: flex; align-items: center; justify-content: center; color: var(--blue-text); flex: 0 0 auto; }
.notif.unread .ni { background: var(--card); }
.adminbar { display: flex; align-items: center; gap: 10px; background: var(--navy); border: 1px solid var(--border2); border-radius: var(--r-md); padding: 14px; }
.tipbar { display: flex; align-items: center; gap: 10px; background: var(--gold-soft); border-radius: var(--r-md); padding: 12px; }
.progress { height: 8px; border-radius: 4px; background: var(--card2); overflow: hidden; } .progress i { display: block; height: 8px; background: var(--blue); }
.progress i.full { background: var(--green); }

/* ---------- Login ---------- */
.auth-wrap { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: calc(20px + env(safe-area-inset-top)) 20px calc(20px + env(safe-area-inset-bottom)); }
.auth-box { width: 100%; max-width: 420px; }
@media (min-width: 600px) { .auth-box { max-width: 460px; } }
.logo-tile { width: 84px; height: 84px; border-radius: 24px; background: #1E6FFF; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.logo-tile img { width: 56px; height: 56px; filter: brightness(0) invert(1); }

/* ---------- Admin ---------- */
.abtn { display: inline-flex; align-items: center; gap: 5px; padding: 8px 11px; border-radius: 9px; background: var(--card2); font-size: 13px; font-weight: 700; }
.abtn.blue { background: var(--blue-soft); color: var(--blue-text); } .abtn.red { background: var(--danger-soft); color: var(--danger); } .abtn.green { background: var(--green-soft); color: var(--green); }
.only-d { display: none; }
@media (min-width: 900px) { .only-d { display: block; } .only-m { display: none; } }
