:root {
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  --bg: #0c0d0e;
  --bg-2: #111214;
  --surface: #16171a;
  --surface-2: #1d1f23;
  --surface-3: #25272c;
  --line: #292b31;
  --text: #f2f0ec;
  --muted: #9a9ba3;
  --faint: #65676f;
  --red: #D80032;
  --red-hover: #f0123f;
  --red-text: #ff4d6a;
  --red-soft: rgba(216, 0, 50, .13);
  --green: #3ddc97;
  --on-red: #fff;
  --inv-bg: #f2f0ec;
  --inv-fg: #0c0d0e;
  --header-bg: rgba(12, 13, 14, .9);
  --shadow: 0 18px 50px rgba(0, 0, 0, .4);
  --display: 'Sora', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 20px; --r-sm: 12px;
  --hh: 72px;
}
:root[data-theme="light"] {
  --bg: #f4f2ee; --bg-2: #ebe8e2; --surface: #ffffff; --surface-2: #f3f1ed; --surface-3: #e7e4de;
  --line: #ddd9d1; --text: #15161a; --muted: #5f6068; --faint: #8b8c94;
  --red-text: #c4002b; --red-soft: rgba(216, 0, 50, .08); --green: #0e9f68;
  --inv-bg: #15161a; --inv-fg: #f4f2ee; --header-bg: rgba(244, 242, 238, .92);
  --shadow: 0 18px 50px rgba(30, 28, 24, .12);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 90px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--bg); z-index: 60; }
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); margin: 0 0 .5em; font-weight: 700; letter-spacing: -.03em; line-height: 1.08; }
h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.12rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid rgba(255, 77, 106, .65); outline-offset: 3px; }
.wrap { width: min(100% - 40px, 1240px); margin-inline: auto; }
.muted { color: var(--muted); }
.ic { width: 1.1em; height: 1.1em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hp { position: absolute; left: -9999px; }

/* Butona */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 24px; border: 1px solid transparent; border-radius: var(--r-sm); font-weight: 600; font-size: .95rem; line-height: 1.2; background: none; transition: background-color .15s, border-color .15s, transform .12s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-red { background: var(--red); color: var(--on-red); }
.btn-red:hover { background: var(--red-hover); }
.btn-line { border-color: var(--line); background: var(--surface); }
.btn-line:hover { border-color: var(--faint); }
.btn-inv { background: var(--inv-bg); color: var(--inv-fg); }
.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: var(--text); }
.btn-danger { border-color: rgba(255, 77, 106, .4); color: var(--red-text); }
.btn-sm { padding: 8px 14px; font-size: .84rem; }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; white-space: normal; text-align: center; }
.tlink { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--faint); }
.tlink:hover { text-decoration-color: var(--red); }

/* Targa: motivi i faqes */
.plate { display: inline-flex; align-items: stretch; background: #f1f0ea; color: #111; border-radius: 6px; font-family: var(--display); font-weight: 700; font-size: .78rem; letter-spacing: .06em; line-height: 1; overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); border: 1px solid #c9c7bf; }
.plate i { width: 12px; background: var(--red); flex: none; }
.plate span { padding: 6px 10px; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--header-bg); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: var(--hh); }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo img { display: block; height: 52px; width: auto; }
.logo .logo-lt { display: none; }
:root[data-theme="light"] .logo .logo-dk { display: none; }
:root[data-theme="light"] .logo .logo-lt { display: block; }
.logo small { font-family: var(--body); font-size: .85rem; color: var(--muted); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 2px; height: 100%; }
.nav a { position: relative; display: flex; align-items: center; height: 100%; padding: 0 16px; font-weight: 600; font-size: .93rem; color: var(--muted); white-space: nowrap; }
.nav a:hover { color: var(--text); }
.nav a.on { color: var(--text); }
.nav a.on::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 3px; background: var(--red); }
.hactions { display: flex; align-items: center; gap: 10px; flex: none; white-space: nowrap; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); place-items: center; }
.menu-btn .ic { width: 24px; height: 24px; }
.scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 54; opacity: 0; pointer-events: none; transition: opacity .2s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); background: var(--surface); border-left: 1px solid var(--line); z-index: 55; transform: translateX(100%); transition: transform .25s; padding: calc(env(safe-area-inset-top, 0px) + 18px) 22px 28px; display: flex; flex-direction: column; overflow-y: auto; visibility: hidden; }
.drawer.open { transform: none; visibility: visible; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer a.dl { display: block; padding: 16px 0 16px 16px; font-family: var(--display); font-size: 1.15rem; font-weight: 600; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; margin-left: -3px; }
.drawer a.dl.on { border-left-color: var(--red); color: var(--red-text); }
.drawer .btn { margin-top: auto; }
.drawer .dgap { flex: 1; min-height: 24px; }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: clamp(40px, 7vw, 84px) 0 clamp(28px, 4vw, 44px); }
.hero h1 { margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); }
.hero h1 span { display: block; }
.hero h1 em { font-style: normal; color: var(--muted); display: block; }
.hero h1 em.k { color: var(--red-text); }
.hero .sub { color: var(--muted); font-size: 1.15rem; max-width: 44ch; margin-bottom: 28px; }
.hero-links { display: flex; gap: 12px; flex-wrap: wrap; }
.road { position: relative; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%); aspect-ratio: 5 / 4; overflow: hidden; display: grid; align-items: end; }
.road svg { width: 100%; height: auto; }
.road .car { animation: roll 1.1s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes roll { from { transform: translateX(-60px); opacity: 0; } to { transform: none; opacity: 1; } }
.road-tag { position: absolute; left: 22px; top: 20px; display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: .85rem; font-weight: 500; }
.finder { padding: 0 0 clamp(36px, 5vw, 60px); }
.bar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
.bar-row { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 12px; align-items: end; }
.bar-row.extra { grid-template-columns: repeat(4, 1fr); margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld > label { font-size: .78rem; color: var(--muted); font-weight: 600; }
select, input, textarea { width: 100%; min-width: 0; background: var(--bg-2); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 13px 14px; font: 500 .98rem var(--body); }
select { appearance: none; padding-right: 38px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
select:disabled { opacity: .5; }
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--faint); }
.bar-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.bar-foot .l { display: flex; gap: 6px; align-items: center; }
.note { color: var(--muted); font-size: .88rem; margin: 0; }

/* Seksione */
.section { padding: clamp(40px, 6vw, 72px) 0; }
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.shead h2 { margin: 0 0 6px; } .shead p { margin: 0; }
.ptitle { padding: clamp(34px, 5vw, 56px) 0 22px; }
.ptitle h1 { font-size: clamp(2rem, 5vw, 3.3rem); margin-bottom: 10px; }
.ptitle p { color: var(--muted); font-size: 1.08rem; margin: 0; max-width: 60ch; }
.alert { padding: 14px 18px; border-radius: var(--r-sm); font-weight: 600; margin-bottom: 18px; border: 1px solid; }
.alert.ok { background: rgba(61, 220, 151, .1); border-color: rgba(61, 220, 151, .4); color: var(--green); }
.alert.err { background: var(--red-soft); border-color: rgba(255, 77, 106, .4); color: var(--red-text); }
.empty { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r); padding: clamp(28px, 5vw, 56px); text-align: center; }
.empty p { color: var(--muted); max-width: 52ch; margin-inline: auto; }

/* Kartelat */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--faint); transform: translateY(-3px); }
.media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-3); }
.media svg.photo { width: 100%; height: 100%; }
.tab { position: absolute; left: 0; top: 16px; padding: 6px 14px 6px 12px; background: var(--red); color: #fff; font-size: .8rem; font-weight: 700; border-radius: 0 8px 8px 0; }
.tab.stock { background: var(--inv-bg); color: var(--inv-fg); }
.cnt { position: absolute; right: 12px; top: 14px; display: inline-flex; gap: 6px; align-items: center; background: rgba(12, 13, 14, .7); color: #fff; padding: 5px 10px; border-radius: 8px; font-size: .78rem; font-weight: 600; backdrop-filter: blur(6px); }
.media .plate { position: absolute; left: 14px; bottom: 14px; }
.cbody { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.ctitle { font-size: 1.2rem; margin: 0; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts div { padding: 0 12px; border-left: 1px solid var(--line); }
.facts div:first-child { padding-left: 0; border-left: 0; }
.facts small { display: block; color: var(--faint); font-size: .72rem; font-weight: 600; }
.facts b { display: block; font-size: .95rem; font-weight: 600; white-space: nowrap; }
.cfoot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.cfoot small { display: block; color: var(--faint); font-size: .74rem; font-weight: 600; }
.cfoot strong { display: block; font-family: var(--display); font-size: 1.45rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.cfoot em { display: block; font-style: normal; font-size: .76rem; color: var(--muted); }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.pager span { color: var(--muted); font-weight: 600; }

/* Dy mënyrat + banner */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.way { padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 10px; }
.way + .way { border-left: 1px dashed var(--line); }
.way h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0; }
.way p { color: var(--muted); margin: 0 0 8px; max-width: 42ch; }
.way .btn { align-self: flex-start; margin-top: auto; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.steps li { counter-increment: s; padding: 26px 28px; }
.steps li + li { border-left: 1px dashed var(--line); }
.steps li::before { content: "0" counter(s); display: block; font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: var(--red-text); margin-bottom: 10px; }
.steps strong { display: block; font-family: var(--display); margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: .94rem; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-radius: var(--r); padding: clamp(26px, 4vw, 44px); background: var(--red); color: #fff; }
.cta h2 { margin: 0 0 6px; } .cta p { margin: 0; opacity: .88; }
.cta .acts { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn-inv { background: #fff; color: #111; }
.cta .btn-line { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }

/* Detaje */
.crumb { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 22px 0 14px; color: var(--muted); font-size: .9rem; }
.crumb a { text-decoration: underline; text-underline-offset: 3px; }
.dhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 24px; }
.dhead h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin: 0 0 12px; }
.dhead .plate { font-size: .95rem; }
.dtools { display: flex; gap: 8px; }
.dgrid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 28px; align-items: start; }
.dgrid > div, .gal, .gthumbs { min-width: 0; }
.gal { display: grid; grid-template-columns: 96px 1fr; gap: 12px; }
.gmain { grid-column: 2; grid-row: 1; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-3); border: 1px solid var(--line); }
.gmain svg.photo { width: 100%; height: 100%; }
.gcount { position: absolute; right: 14px; bottom: 14px; display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 8px; background: rgba(12, 13, 14, .75); color: #fff; font-weight: 600; font-size: .85rem; }
.gthumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; height: 0; min-height: 100%; }
.gt { flex: none; aspect-ratio: 4 / 3; width: 100%; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--surface-3); opacity: .7; }
.gt.on { border-color: var(--red); opacity: 1; }
.gt svg.photo { width: 100%; height: 100%; }
.buy { position: sticky; top: calc(var(--hh) + 20px); background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--r); padding: 26px; }
.buy .lab { color: var(--muted); font-weight: 600; font-size: .86rem; margin-bottom: 4px; }
.buy .big { font-family: var(--display); font-size: clamp(2rem, 4.6vw, 2.8rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; margin: 0 0 6px; }
.buy .nt { color: var(--muted); font-size: .88rem; margin-bottom: 20px; }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 20px; overflow: hidden; }
.quick div { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.quick div:nth-child(odd) { border-right: 1px solid var(--line); }
.quick div:nth-last-child(-n+2) { border-bottom: 0; }
.quick small { display: block; color: var(--faint); font-size: .72rem; font-weight: 600; }
.quick b { font-weight: 600; }
.buy .col { display: grid; gap: 10px; }
.sec { margin-top: 36px; }
.sec h2 { font-size: 1.5rem; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; font-size: .98rem; }
.spec th { color: var(--muted); font-weight: 500; width: 46%; }
.spec td { font-weight: 600; }
.tagsec { margin-top: 22px; }
.tagsec h3 { color: var(--muted); font-family: var(--body); font-size: .86rem; font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .9rem; }
.tags .ic { color: var(--green); width: 16px; height: 16px; stroke-width: 2.4; }


/* Kalkulatori i doganës */
.calc { margin-top: 56px; padding-top: 40px; border-top: 1px dashed var(--line); }
.calc h2 { margin-bottom: 6px; }
.calc-lead { margin-bottom: 22px; }
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.calc .box h3 { margin-bottom: 16px; }
.ctab { width: 100%; border-collapse: collapse; }
.ctab th, .ctab td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .96rem; }
.ctab th { font-weight: 500; color: var(--muted); padding-right: 14px; }
.ctab th small { display: block; font-size: .78rem; color: var(--faint); font-weight: 500; margin-top: 2px; }
.ctab td { text-align: right; font-weight: 600; white-space: nowrap; }
.ctab .sum-row th, .ctab .sum-row td { color: var(--text); font-weight: 700; border-bottom-color: var(--faint); }
.ctab .all-row td { font-family: var(--display); font-size: 1.5rem; color: var(--red-text); letter-spacing: -.02em; }
.ctab .all-row th { color: var(--text); font-weight: 600; }
.ctab.small th, .ctab.small td { font-size: .9rem; padding: 9px 0; }
.calc-how { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.calc-how h3 { grid-column: 1 / -1; margin-bottom: 0; }
.how { counter-reset: h; display: grid; gap: 12px; }
.how li { counter-increment: h; display: flex; gap: 14px; color: var(--muted); }
.how li::before { content: counter(h); flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 700; font-size: .85rem; color: var(--text); }
.how b { color: var(--text); }
.example { background: var(--bg-2); border: 1px dashed var(--line); border-radius: var(--r-sm); padding: 18px; }
.example h4 { margin: 0 0 4px; font-family: var(--display); }
.calc-note { margin-top: 18px; max-width: 80ch; }
@media (max-width: 1000px) { .calc-grid, .calc-how { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .ctab td { white-space: normal; } .ctab .all-row td { font-size: 1.25rem; } }

/* Forma */
.fwrap { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.frow3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); }
.form .fld { margin-bottom: 16px; }
.field-err input, .field-err select, .field-err textarea { border-color: var(--red); }
.sum li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sum li span { color: var(--muted); }
.hist { border-top: 4px solid var(--red); }
.hist h2 { margin-bottom: 20px; }
.hist p { color: var(--muted); font-size: 1.05rem; max-width: 80ch; }
.hist .hist-end { color: var(--text); font-weight: 700; margin: 0; }
.hist + .prose { max-width: none; }
.hist + .prose p, .hist + .prose h2 { max-width: 80ch; }
.prose { max-width: 70ch; } .prose h2 { font-size: 1.35rem; margin-top: 1.4em; } .prose h2:first-child { margin-top: 0; }

/* Footer */
.foot { margin-top: 24px; border-top: 1px solid var(--line); background: var(--bg-2); padding: 52px 0 26px; }
.fgrid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 36px; }
.fgrid h4 { margin: 0 0 14px; font-family: var(--display); font-size: 1rem; }
.fgrid li { margin-bottom: 8px; color: var(--muted); }
.fgrid a:hover { color: var(--text); }
.fbot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px dashed var(--line); margin-top: 32px; padding-top: 20px; color: var(--muted); font-size: .88rem; }
.linkbtn { background: none; border: 0; color: var(--muted); text-decoration: underline; padding: 0; }

/* Demo + toast */
body.no-scroll .demo { display: none; }
.demo { position: fixed; left: 14px; bottom: calc(env(safe-area-inset-bottom, 0px) + 14px); z-index: 70; }
.demo-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--inv-bg); color: var(--inv-fg); border: 0; font-weight: 700; font-size: .82rem; box-shadow: var(--shadow); }
.demo-panel { position: absolute; left: 0; bottom: 52px; width: 270px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); display: none; }
.demo-panel.open { display: block; }
.demo-panel label { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-weight: 600; font-size: .9rem; cursor: pointer; }
.demo-panel input { width: 18px; height: 18px; padding: 0; accent-color: var(--red); }
.demo-panel small { display: block; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 74px); transform: translateX(-50%); background: var(--inv-bg); color: var(--inv-fg); padding: 12px 20px; border-radius: 999px; font-weight: 700; z-index: 80; box-shadow: var(--shadow); }

/* Admin */
.admin-bar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; }
.admin-in { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 12px 0; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; flex: 1; }
.tabs button { padding: 9px 14px; border-radius: var(--r-sm); border: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: .9rem; }
.tabs button.on { background: var(--inv-bg); color: var(--inv-fg); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.stat strong { display: block; font-family: var(--display); font-size: 2rem; }
.stat span { color: var(--muted); font-size: .9rem; }
.arow { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; margin-bottom: 12px; }
.athumb { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--surface-3); }
.athumb svg { width: 100%; height: 100%; }
.arow h3 { margin: 0 0 4px; }
.aact { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.badge { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: var(--surface-3); }
.badge.published, .badge.contacted { background: rgba(61, 220, 151, .15); color: var(--green); }
.badge.new { background: var(--red-soft); color: var(--red-text); }
.req { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; margin-bottom: 12px; }
.req header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.req h3 { margin: 0; }
.req dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px 20px; margin: 0 0 12px; }
.req dt { color: var(--muted); font-size: .78rem; } .req dd { margin: 0; font-weight: 600; word-break: break-word; }
.login { width: min(100% - 32px, 420px); margin: 10vh auto; }

/* Responsive */
@media (max-width: 1310px) {
  .nav, .hactions .btn { display: none; }
  .menu-btn { display: grid; }
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .road { aspect-ratio: 16 / 9; max-width: 560px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .bar-row, .bar-row.extra { grid-template-columns: repeat(2, 1fr); }
  .bar-row .btn-red { grid-column: 1 / -1; }
  .dgrid, .fwrap { grid-template-columns: minmax(0, 1fr); }
  .buy { position: static; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .ways, .steps { grid-template-columns: 1fr; }
  .way + .way, .steps li + li { border-left: 0; border-top: 1px dashed var(--line); }
}
@media (max-width: 640px) {
  :root { --hh: 64px; }
  .wrap { width: min(100% - 32px, 1240px); }
  .grid, .frow, .frow3 { grid-template-columns: 1fr; }
  .bar-row, .bar-row.extra { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .gal { grid-template-columns: minmax(0, 1fr); }
  .gmain { grid-column: 1; }
  .gthumbs { grid-column: 1; grid-row: 2; flex-direction: row; overflow-x: auto; overflow-y: hidden; height: auto; min-height: 0; }
  .gt { width: 92px; }
  .arow { grid-template-columns: 80px 1fr; } .aact { grid-column: 1 / -1; justify-content: flex-start; }
  .cta .acts .btn { width: 100%; }
  .logo img { height: 42px; }
  .buy { padding: 20px; }
  .btn-lg { padding: 15px 18px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ===== Shtesa për versionin PHP ===== */
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gmain img { width: 100%; height: 100%; object-fit: cover; }
.gt img { width: 100%; height: 100%; object-fit: cover; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--inv-bg); color: var(--inv-fg); padding: 10px 18px; border-radius: 999px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.bar-row.extra[hidden] { display: none; }
.badge.draft { background: var(--surface-3); }
.badge.sold, .badge.closed { background: var(--surface-3); color: var(--muted); }
.admin-main { padding: 28px 0 90px; }
.admin-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 20px; }
.admin-nav { display: flex; gap: 4px; flex-wrap: wrap; flex: 1; }
.admin-nav a { padding: 9px 14px; border-radius: var(--r-sm); color: var(--muted); font-weight: 600; font-size: .9rem; }
.admin-nav a.on, .admin-nav a:hover { background: var(--inv-bg); color: var(--inv-fg); }
.admin-in form { margin: 0; }
.inline-form { display: inline-flex; gap: 8px; align-items: center; margin: 0; }
.inline-form select, .inline-form input { width: auto; padding: 8px 12px; font-size: .9rem; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-top: 16px; }
.photo-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.photo-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-actions { display: flex; gap: 8px; padding: 10px; flex-wrap: wrap; align-items: center; }
.code-block { background: #0a0a0c; color: #e5e7eb; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px; overflow: auto; max-height: 420px; font-size: .8rem; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.data-table th, .data-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { color: var(--muted); font-weight: 600; }
.ok-text { color: var(--green); font-weight: 700; } .bad-text { color: var(--red-text); font-weight: 700; }
.media-empty { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 120px; color: var(--faint); font-weight: 600; font-size: .9rem; background: var(--surface-3); text-align: center; padding: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
