/* ============================================================
   Pako.al — Homepage 2026
   Implementim i "Pako.al Homepage Redesign" (Claude Design)
   Design system: Modernist, i ri-akorduar me brandin e Pako-s.

   SHËNIME MBI IMPLEMENTIMIN
   1. Design-i i mbante stilet inline (i duhen canvas-it). Këtu janë
      nxjerrë në klasa — 84KB stile inline nuk mbahen dot në PHP.
   2. Klasat e Modernist (.btn, .card, .input, .tag, .nav) përplasen
      me Bootstrap, që faqja e ngarkon ende. Pra janë prefiksuar `dc-`.
   3. Design-i është vetëm i çelët; vlerat për dark mode janë derivuar
      këtu, që butoni i temës të mos prodhojë faqe të prishur.
   ============================================================ */

/* Archivo — fonti i design-it. Vetëm peshat e përdorura: 400/600/800. */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;600;800&display=swap');

:root {
    /* ── Tokenat, sipas mbivendosjes së homepage-it ── */
    --color-bg:            #F6F7F9;
    --color-surface:       #FFFFFF;
    --color-text:          #101114;
    --color-divider:       #E5E7EB;

    --color-neutral-100:   #F8FAFB;
    --color-neutral-200:   #EEF0F4;
    --color-neutral-800:   #2A2D34;
    --color-neutral-900:   #15171C;

    --color-accent:        #1479C4;
    --color-accent-100:    #EDF5FC;
    --color-accent-200:    #D3E7F8;
    --color-accent-600:    #106CAD;
    --color-accent-700:    #0D5A90;
    --color-accent-800:    #0A4872;
    --color-accent-900:    #073452;

    --color-accent-2:      #F5921E;
    --color-accent-2-100:  #FEF3E6;
    --color-accent-2-300:  #FBD3A3;
    --color-accent-2-600:  #DD7A0F;
    --color-accent-2-700:  #C2410C;
    --color-accent-2-800:  #9A3412;
    --color-accent-2-900:  #7C2D12;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-sm: 0 1px 2px rgba(16,17,20,.05);
    --shadow-md: 0 2px 4px rgba(16,17,20,.04), 0 12px 28px -12px rgba(16,17,20,.18);
    --shadow-lg: 0 4px 10px rgba(16,17,20,.05), 0 28px 56px -20px rgba(16,17,20,.22);

    --font-heading: "Archivo", system-ui, -apple-system, sans-serif;
    --font-heading-weight: 800;
    --font-body:    "Archivo", system-ui, -apple-system, sans-serif;

    --space-1: 4px;  --space-2: 8px;  --space-3: 12px;
    --space-4: 16px; --space-6: 24px; --space-8: 32px;

    /* Gjerësia e kontejnerit, nga design-i */
    --dc-max: 1280px;

    /* Sfondi i butonit primar mbahet i ndarë nga --color-accent.
       Në dark mode accent-i çelet për linket (mbi sfond të errët), por
       bardhë-mbi-accent bie në 2.75:1 — pra butoni ruan blunë e thellë. */
    --dc-btn-primary-bg:       var(--color-accent);
    --dc-btn-primary-bg-hover: var(--color-accent-600);

    /* Kufiri i fushave duhet ≥3:1 kundrejt sfondit (WCAG 1.4.11), që fusha
       të identifikohet. --color-divider jep 1.24:1 — mirë për ndarës
       dekorativë, jo për kontrolle. Pra fushat marrin gri më të thellë. */
    --dc-border-input: #6E757D;

    /* Teksti i zbehtë — design-i përdorte color-mix inline në 40+ vende */
    --dc-muted-45: color-mix(in srgb, var(--color-text) 45%, transparent);
    --dc-muted-50: color-mix(in srgb, var(--color-text) 50%, transparent);
    --dc-muted-55: color-mix(in srgb, var(--color-text) 55%, transparent);
    --dc-muted-58: color-mix(in srgb, var(--color-text) 58%, transparent);
    --dc-muted-60: color-mix(in srgb, var(--color-text) 60%, transparent);
    --dc-muted-65: color-mix(in srgb, var(--color-text) 65%, transparent);
    --dc-muted-75: color-mix(in srgb, var(--color-text) 75%, transparent);
}

/* Dark mode — i derivuar, sepse design-i nuk e adreson.
   Sipërfaqet ngrihen me dritë; blu-ja dhe ambra çelen për kontrast. */
:root[data-bs-theme="dark"] {
    --color-bg:          #0E1116;
    --color-surface:     #161A21;
    --color-text:        #F2F4F7;
    --color-divider:     #262C36;

    --color-neutral-100: #1B2028;
    --color-neutral-200: #222834;
    --color-neutral-800: #C7CDD6;
    --color-neutral-900: #E4E8EE;

    --color-accent:      #4FA3E0;
    --color-accent-100:  #16222E;
    --color-accent-200:  #1E3448;
    --color-accent-600:  #6DB5EA;
    --color-accent-700:  #8FC8F1;
    --color-accent-800:  #B4DBF7;
    --color-accent-900:  #D3E7F8;

    --color-accent-2:      #F5A742;
    --color-accent-2-100:  #2A1E10;
    --color-accent-2-300:  #6B4A1E;
    --color-accent-2-600:  #F8B860;
    --color-accent-2-700:  #FAC983;
    --color-accent-2-800:  #FBD9A8;
    --color-accent-2-900:  #FDE8C9;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.5);
    --shadow-md: 0 2px 8px rgba(0,0,0,.55);
    --shadow-lg: 0 12px 32px rgba(0,0,0,.6);

    /* Blu e thellë për butonin, që bardhë-mbi-blu të kalojë edhe në terr */
    --dc-btn-primary-bg:       #1B6FB5;
    --dc-btn-primary-bg-hover: #2280CE;
    --dc-border-input: #6B7480;
}

/* ============================================================
   BAZA
   ============================================================ */

/* `hidden` duhet të fitojë ndaj `display` të autorit.
   Pa këtë, .dc-loc-menu{display:grid} dhe .dc-mobile-search{display:flex}
   e anulojnë atributin hidden dhe menyt shfaqen gjithmonë të hapura. */
[hidden] { display: none !important; }

/* Ikonat SVG — madhësia vjen nga font-size, si te ikonat e fontit */
.dc-ico {
    width: 1em; height: 1em; display: block; flex: none;
    stroke: currentColor; fill: none;
    stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

body.dc-page {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.55;
    font-weight: 400;
    margin: 0;
}
.dc-page h1, .dc-page h2, .dc-page h3, .dc-page h4, .dc-page h5, .dc-page h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-heading-weight);
    line-height: 1.12;
    letter-spacing: -0.015em;
    margin: 0 0 var(--space-2);
}
.dc-wrap {
    max-width: var(--dc-max);
    margin-inline: auto;
    padding-inline: 20px;
}
.dc-wrap-24 { padding-inline: 24px; }

.dc-hr {
    height: 1px; border: 0;
    background: var(--color-divider);
    margin: clamp(40px, 6vw, 64px) 0 0;
}
.dc-muted { color: var(--dc-muted-65); }

/* Kicker — etiketa e vogël mbi titull */
.dc-kicker {
    display: block;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin: 0 0 6px;
}

.dc-sec-title {
    margin: 0;
    font-size: clamp(24px, 2.7vw, 34px);
    letter-spacing: -.025em;
}

/* Krye seksioni: titull majtas, "shiko të gjitha" djathtas */
.dc-sec-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 16px; margin-bottom: 24px; flex-wrap: wrap;
}
.dc-link-more {
    color: var(--color-accent-700);
    text-decoration: none;
    font-size: 14px; font-weight: 600;
    display: flex; align-items: center; gap: 4px;
}
.dc-link-more:hover { color: var(--color-accent-600); }

@keyframes dcFadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dcPulseDot { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* ============================================================
   KOMPONENTËT (Modernist, prefiksuar dc- kundër Bootstrap)
   ============================================================ */
.dc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    cursor: pointer; text-decoration: none;
    font-family: var(--font-heading); font-weight: var(--font-heading-weight);
    font-size: 14px; line-height: 1.2;
    color: var(--color-text);
    background: transparent;
    border: 1px solid transparent;
    padding: var(--space-2) calc(var(--space-3) * 1.2);
    border-radius: var(--radius-md);
    transition: background-color .15s ease-out, border-color .15s ease-out,
                color .15s ease-out, transform .12s ease-out;
}
.dc-btn svg { display: block; flex: none; }
.dc-btn:disabled { opacity: .45; cursor: not-allowed; }
.dc-btn:active { transform: scale(.97); }

.dc-btn-primary { background: var(--dc-btn-primary-bg); color: #fff; }
.dc-btn-primary:hover { background: var(--dc-btn-primary-bg-hover); color: #fff; }
.dc-btn-primary:active { filter: brightness(.92); }

.dc-btn-secondary { border-color: var(--color-divider); color: var(--color-text); }
.dc-btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); color: var(--color-text); }

.dc-btn-ghost { color: var(--color-accent); padding-inline: var(--space-1); }
.dc-btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }

.dc-btn-icon { width: 36px; height: 36px; padding: 0; }

.dc-input {
    width: 100%; min-height: 36px; padding: 6px 10px;
    font: inherit; font-size: 14px;
    color: var(--color-text);
    caret-color: var(--color-accent);
    background: var(--color-surface);
    border: 1px solid var(--dc-border-input);
    border-radius: var(--radius-md);
    transition: border-color .15s ease-out;
}
.dc-input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.dc-input:focus-visible { border-color: var(--color-accent); outline: none; }
.dc-input::placeholder { color: var(--dc-muted-45); }

.dc-tag {
    display: inline-flex; align-items: center;
    font-size: 11px; letter-spacing: .02em;
    padding: 3px 10px;
    border-radius: calc(var(--radius-md) * .75);
}
.dc-tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent); }

/* Segmented control — zgjedhja e shtetit në hero */
.dc-seg {
    display: inline-flex; overflow: hidden;
    border: 1px solid var(--color-divider);
    border-radius: 999px;
}
.dc-seg-opt {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 18px; font-size: 13px; cursor: pointer;
    color: var(--color-text); text-decoration: none;
    transition: background-color .15s ease-out, color .15s ease-out;
}
.dc-seg-opt + .dc-seg-opt { border-left: 1px solid var(--color-divider); }
.dc-seg-opt.is-active { background: var(--color-accent); color: #fff; }
.dc-seg-opt:not(.is-active):hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }

/* Radio — filtri i kategorive */
.dc-radio {
    display: inline-flex; align-items: center; gap: 8px;
    cursor: pointer; font-size: 14px;
    justify-content: space-between; width: 100%;
    color: var(--color-text); text-decoration: none;
    padding: 3px 0;
}
.dc-radio-l { display: flex; align-items: center; gap: 8px; min-width: 0; }
.dc-radio .dc-dot {
    width: 16px; height: 16px; flex: none; border-radius: 50%;
    border: 1.5px solid var(--color-divider);
    transition: border-color .15s ease-out, box-shadow .15s ease-out;
}
.dc-radio:hover .dc-dot { border-color: var(--color-accent); }
.dc-radio.is-active .dc-dot {
    border-color: var(--color-accent);
    background: var(--color-accent);
    box-shadow: inset 0 0 0 4px var(--color-surface);
}
.dc-radio-count { font-size: 11px; color: var(--dc-muted-50); flex: none; }

/* ============================================================
   HEADER
   ============================================================ */
.dc-header {
    position: sticky; top: 0; z-index: 40;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-divider);
    box-shadow: var(--shadow-sm);
}
.dc-header-row {
    display: flex; align-items: center; gap: 8px; padding-block: 12px;
}
.dc-brand {
    font-family: var(--font-heading); font-weight: 800;
    font-size: 20px; white-space: nowrap;
    color: var(--color-text); text-decoration: none; flex: none;
    display: inline-flex; align-items: center;
}
.dc-brand span { color: var(--color-accent); }

/* Logoja — PNG me alfë të vërtetë (65% transparente), pra punon mbi
   çdo sfond. Lartësia fikse, gjerësia rrjedh nga raporti 7.23:1. */
.dc-logo {
    height: 34px; width: auto; display: block;
    transition: opacity .15s ease-out;
}
.dc-brand:hover .dc-logo { opacity: .82; }
@media (max-width: 560px) { .dc-logo { height: 28px; } }

/* Në dark mode blu-ja #0878b8 jep 3.65:1 — kalon pragun 3:1 për elemente
   jo-tekst, por duket e shuar. Një ngritje e lehtë e ndriçimit e sjell
   në plan pa i prekur formën. */
:root[data-bs-theme="dark"] .dc-logo {
    filter: brightness(1.18) saturate(1.06);
}

/* Zgjedhësi i vendndodhjes */
.dc-loc { position: relative; flex: none; }
.dc-loc-menu {
    position: absolute; top: calc(100% + 8px); left: 0;
    width: min(460px, calc(100vw - 32px));
    max-height: 70vh; overflow-y: auto;
    background: var(--color-surface);
    border: 1px solid var(--color-divider);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 16px; z-index: 50;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    animation: dcFadeInUp .18s ease-out both;
}
.dc-loc-clear {
    grid-column: 1 / -1; text-align: left;
    background: none; border: 0; padding: 0 0 10px;
    font: inherit; font-size: 12px; font-weight: 600;
    color: var(--color-accent-700); cursor: pointer; text-decoration: none;
    display: block;
}
.dc-loc-clear:hover { text-decoration: underline; color: var(--color-accent-600); }
.dc-loc-grp-h {
    margin: 0 0 8px; font-size: 11px; letter-spacing: .08em;
    text-transform: uppercase; color: var(--dc-muted-60);
}
.dc-loc-city {
    display: block; width: 100%; text-align: left;
    background: none; border: 0; padding: 7px 4px;
    font: inherit; font-size: 14px; cursor: pointer;
    color: var(--color-text); min-height: 32px;
    text-decoration: none; border-radius: 6px;
}
.dc-loc-city:hover {
    color: var(--color-accent-700);
    background: color-mix(in srgb, var(--color-text) 6%, transparent);
}
@media (max-width: 639px) { .dc-loc-menu { grid-template-columns: 1fr; } }

/* Kërkimi i bashkuar në header */
.dc-hsearch { flex: 1; display: flex; min-width: 0; }
.dc-hsearch .dc-input:first-child {
    flex: 1; min-width: 0;
    border-radius: 10px 0 0 10px; border-right: 0;
}
.dc-hsearch select.dc-input {
    width: 190px; flex: none; border-radius: 0; border-right: 0;
}
.dc-hsearch button { border-radius: 0 10px 10px 0; }
.dc-header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.dc-mobile-search { display: flex; gap: 8px; padding-bottom: 12px; }

@media (max-width: 900px) {
    .dc-hsearch { display: none; }
    .dc-hsearch-toggle { display: inline-flex; }
}
@media (min-width: 901px) {
    .dc-hsearch-toggle, .dc-mobile-search { display: none; }
}
@media (max-width: 560px) {
    .dc-header-actions .dc-btn-label { display: none; }
    .dc-loc .dc-btn-label, .dc-loc .dc-chev { display: none; }
}

/* ============================================================
   SHIRITI I KATEGORIVE
   ============================================================ */
.dc-strip-sec { padding-block: 20px 4px; background: var(--color-surface); }
.dc-strip-row { display: flex; align-items: center; gap: 10px; }
.dc-strip {
    display: flex; gap: 8px; overflow-x: auto;
    padding: 6px 2px 12px;
    scrollbar-width: none; scroll-behavior: smooth;
}
.dc-strip::-webkit-scrollbar { display: none; }
.dc-strip-nav {
    flex: none; width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--color-divider);
    background: var(--color-surface);
    border-radius: 999px; box-shadow: var(--shadow-sm);
    cursor: pointer; color: var(--color-text);
    transition: box-shadow .18s ease-out, border-color .18s ease-out;
}
.dc-strip-nav:hover { border-color: var(--color-accent-200); box-shadow: var(--shadow-md); }
.dc-chip {
    flex: none; display: inline-flex; align-items: center; gap: 9px;
    padding: 9px 15px 9px 11px;
    border: 1px solid var(--color-divider);
    background: var(--color-surface);
    border-radius: 999px; text-decoration: none;
    color: var(--color-text); white-space: nowrap;
    font-size: 13.5px; font-weight: 600;
    transition: transform .18s cubic-bezier(.2,.7,.2,1),
                box-shadow .18s ease-out, border-color .18s ease-out;
}
.dc-chip:hover {
    border-color: var(--color-accent-200);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--color-text);
}
.dc-chip.is-active { border-color: var(--color-accent); color: var(--color-accent-700); }
.dc-chip-ico {
    display: flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 999px;
    background: var(--color-accent-100); color: var(--color-accent-700);
    flex: none;
}
.dc-chip-n { font-size: 11px; font-weight: 600; color: var(--dc-muted-45); }
@media (max-width: 767px) { .dc-strip-nav { display: none; } }

/* Mega-menyja e kategorive — mbahet nga faqja e vjetër, e ri-veshur */
.dc-mega-wrap { position: relative; flex: none; }
.dc-mega-btn { cursor: pointer; font-family: var(--font-body); }
.dc-mega-wrap .pako-mega-menu {
    position: absolute; top: calc(100% + 8px); left: 0;
    width: min(920px, calc(100vw - 40px));
    background: var(--color-surface);
    border: 1px solid var(--color-divider);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 50; padding: 18px;
    max-height: 72vh; overflow-y: auto;
    display: none;
}
.dc-mega-wrap .pako-mega-menu.is-open,
.dc-mega-wrap .pako-mega-menu[aria-hidden="false"] { display: block; }
.dc-mega-wrap .pako-mega-inner {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px;
}
.dc-mega-wrap .pako-mega-parent-link {
    display: block; font-weight: 700; font-size: 14px;
    color: var(--color-text); text-decoration: none; margin-bottom: 6px;
}
.dc-mega-wrap .pako-mega-parent-link:hover { color: var(--color-accent-700); }
.dc-mega-wrap .pako-mega-children { list-style: none; margin: 0; padding: 0; }
.dc-mega-wrap .pako-mega-children a {
    display: block; font-size: 13px; padding: 3px 0;
    color: var(--dc-muted-75); text-decoration: none;
}
.dc-mega-wrap .pako-mega-children a:hover { color: var(--color-accent-700); }
.dc-mega-wrap .pako-mega-footer {
    margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--color-divider);
}
.dc-mega-wrap .pako-mega-footer a {
    font-size: 14px; font-weight: 700; color: var(--color-accent-700); text-decoration: none;
}
@media (max-width: 767px) { .dc-mega-wrap { display: none; } }

/* Butoni i mesazheve mban badge-in e palexuarave */
.dc-msg-btn { position: relative; }
@media (max-width: 1100px) { .dc-want-btn { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.dc-hero {
    padding-block: clamp(44px, 6vw, 80px) clamp(48px, 6vw, 84px);
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-divider);
}
.dc-hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}
.dc-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--color-bg);
    border: 1px solid var(--color-accent-200);
    color: var(--color-accent-700);
    font-size: 12px; font-weight: 700;
    padding: 6px 14px; border-radius: 999px;
    margin-bottom: 18px;
    animation: dcFadeInUp .6s ease-out both;
}
.dc-hero-badge i {
    width: 7px; height: 7px; background: var(--color-accent-2);
    border-radius: 50%; display: inline-block;
}
.dc-hero-h1 {
    font-family: var(--font-heading); font-weight: 800;
    font-size: clamp(38px, 5.2vw, 62px);
    line-height: 1.02; letter-spacing: -.035em;
    max-width: 12ch; margin: 0;
    animation: dcFadeInUp .6s ease-out .05s both;
}
.dc-hero-h1 em { font-style: normal; color: var(--color-accent-2); }
.dc-hero-p {
    font-size: 17.5px; line-height: 1.6; max-width: 46ch;
    color: var(--dc-muted-65); margin: 20px 0 32px;
    animation: dcFadeInUp .6s ease-out .1s both;
}
.dc-hero-card {
    background: var(--color-surface);
    border: 1px solid var(--color-divider);
    padding: 20px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: dcFadeInUp .6s ease-out .16s both;
}
.dc-hero-form {
    display: flex; align-items: center; gap: 8px; margin-top: 16px;
    border: 1px solid var(--color-divider); border-radius: 999px;
    padding: 5px 6px 5px 16px;
    background: var(--color-surface); box-shadow: var(--shadow-sm);
}
.dc-hero-form .dc-input {
    flex: 1; min-width: 0; border: 0; background: transparent;
    padding: 8px 2px; min-height: 42px; font-size: 15px;
}
.dc-hero-form .dc-input:hover { border-color: transparent; }
.dc-hero-form button {
    border-radius: 999px; padding: 11px 24px; min-height: 44px; flex: none;
}
.dc-pop { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; align-items: center; }
.dc-pop-lbl { font-size: 12px; color: var(--dc-muted-55); margin-right: 2px; }
.dc-pop a {
    border: 1px solid var(--color-divider); background: transparent;
    padding: 6px 12px; font-size: 13px; cursor: pointer;
    color: var(--color-text); min-height: 36px;
    display: inline-flex; align-items: center;
    border-radius: 999px; text-decoration: none;
    transition: border-color .15s ease-out, color .15s ease-out;
}
.dc-pop a:hover { border-color: var(--color-accent); color: var(--color-accent-700); }

/* Karta e statistikave */
.dc-stats {
    background: var(--color-surface);
    border: 1px solid var(--color-divider);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    animation: dcFadeInUp .6s ease-out .2s both;
    width: 100%;
}
.dc-stats-live { display: flex; align-items: center; gap: 6px; }
.dc-stats-live i {
    width: 8px; height: 8px; background: var(--color-accent-2);
    border-radius: 50%; display: inline-block;
    animation: dcPulseDot 1.6s ease-in-out infinite;
}
.dc-stats-live span {
    font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
    color: var(--dc-muted-60);
}
.dc-stats-big {
    font-family: var(--font-heading); font-weight: 800;
    font-size: clamp(34px, 3.6vw, 44px);
    color: var(--color-accent-2); margin: 2px 0 0; line-height: 1;
}
.dc-stats-sub { font-size: 13px; color: var(--dc-muted-65); margin: 2px 0 18px; }
.dc-stats-rows { display: flex; flex-direction: column; border-top: 1px solid var(--color-divider); }
.dc-stats-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 0; border-bottom: 1px solid var(--color-divider); font-size: 13px;
}
.dc-stats-row b { font-weight: 800; color: var(--color-accent-700); }
.dc-stats-foot { display: flex; gap: 24px; margin-top: 18px; }
.dc-stats-foot p:first-child {
    font-family: var(--font-heading); font-weight: 800;
    font-size: 20px; color: var(--color-accent); margin: 0;
}
.dc-stats-foot p:last-child { font-size: 11px; color: var(--dc-muted-60); margin: 2px 0 0; }
.dc-hero-hr { height: 1px; border: 0; background: var(--color-divider); margin: clamp(40px, 6vw, 72px) 0 0; }

/* ============================================================
   KARTAT E NJOFTIMEVE
   ============================================================ */
.dc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
}
/* auto-FILL, jo auto-fit: me auto-fit shtratet bosh mblidhen, pra një
   kartë e vetme premium shtrihej në krejt gjerësinë (~830px) dhe dukej
   gjigante. auto-fill i mban shtratet, kështu karta ruan ~240px. */
.dc-grid-premium { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.dc-card {
    position: relative;   /* spirancë për .dc-card-link::after — pa këtë klikimi shtrihet mbi faqen */
    display: flex; flex-direction: column;
    background: var(--color-surface);
    border: 1px solid var(--color-divider);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-decoration: none; color: inherit;
    /* Hover i shpejtë: 180ms. Hyrja trajtohet nga .dc-reveal (scroll-triggered),
       jo nga animation-delay i verbër që luante edhe nën fold. */
    transition: box-shadow .18s ease-out, border-color .18s ease-out,
                transform .18s cubic-bezier(.2,.7,.2,1);
}
.dc-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent-200);
    transform: translateY(-3px);
    color: inherit;
}
.dc-card-premium { border-color: var(--color-accent-2-300); }

.dc-card-img {
    position: relative; aspect-ratio: 4/3;
    overflow: hidden; background: var(--color-neutral-200);
}
/* Zoom-i i fotos: 400ms, jo 550ms. Hover-i i kartës është ndërveprim i
   shpeshtë — në një grid me 12 karta useri e prek dhjetëra herë. Motion
   i ngadalshëm në ndërveprime të shpeshta lodh; i shpejtë kalon pa u vënë re. */
.dc-card-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .4s cubic-bezier(.2,.7,.2,1), opacity .35s ease-out;
}
.dc-card:hover .dc-card-img img { transform: scale(1.04); }

/* HEQUR: fade-i i fotove me .is-loaded.
   Rregulli i fshihte fotot derisa JS-i të shtonte klasën. Ai JS ndodhet në
   header.php, pra ekzekutohej para se index.php të nxirrte kartat — fotot
   nuk zbuloheshin kurrë dhe kartat dilnin bosh.
   Nuk u rregullua sërish, u hoq: fotot janë përmbajtja kryesore e një tregu
   dhe nuk duhet të varen nga JS-i për t'u parë. Një fade 350ms nuk e vlen. */
.dc-noimg {
    width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px; color: color-mix(in srgb, var(--color-text) 42%, transparent);
}
.dc-noimg span { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }

.dc-card-badges {
    position: absolute; left: 8px; right: 8px; bottom: 8px;
    display: flex; justify-content: space-between; gap: 6px;
    pointer-events: none;
}
.dc-pill-dark {
    display: inline-flex; align-items: center; gap: 4px;
    background: color-mix(in srgb, var(--color-neutral-900) 78%, transparent);
    color: #fff; font-size: 11px; padding: 5px 10px;
    line-height: 1; border-radius: 999px;
    backdrop-filter: saturate(140%);
}
:root[data-bs-theme="dark"] .dc-pill-dark { background: rgba(0,0,0,.72); }

.dc-tag-premium {
    position: absolute; top: 8px; left: 8px; z-index: 1;
    background: var(--color-bg);
    border-color: var(--color-accent-2);
    color: var(--color-accent-2-800);
}
.dc-fav {
    position: absolute; top: 10px; right: 10px;
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    background: var(--color-surface); border: 1px solid transparent;
    border-radius: 999px; box-shadow: var(--shadow-md);
    cursor: pointer; color: var(--color-text);
    transition: color .15s ease-out, transform .15s ease-out, border-color .15s ease-out;
    z-index: 2;
}
.dc-fav:hover { border-color: var(--color-accent); }
.dc-fav.is-fav { color: var(--color-accent-2-700); }
.dc-fav.is-fav svg { fill: currentColor; }

/* Linku i kartës: titulli është linku i vërtetë (mirë për a11y dhe SEO),
   dhe ::after e shtrin klikimin mbi krejt kartën. Kështu karta klikohet
   e gjitha, pa futur buton brenda linku — që do të ishte HTML i pavlefshëm. */
.dc-card-link { color: inherit; text-decoration: none; }
.dc-card-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.dc-card-link:hover { color: var(--color-accent-700); }

/* Favoriti qëndron mbi linkun e shtrirë, pra klikohet veçmas */
.dc-fav-form { position: absolute; top: 10px; right: 10px; z-index: 3; margin: 0; }
.dc-fav-form .dc-fav { position: static; }

.dc-card-body { padding: 11px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.dc-card-title {
    font-family: var(--font-heading); font-weight: 800;
    font-size: 15px; line-height: 1.35; letter-spacing: -.01em; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.dc-card-price {
    font-family: var(--font-heading); font-weight: 800;
    font-size: 23px; color: var(--color-accent-2-800);
    line-height: 1.05; letter-spacing: -.015em;
    font-variant-numeric: tabular-nums;
}
.dc-card-price small {
    font-size: 11px; font-weight: 400;
    color: var(--dc-muted-55); margin-left: 5px;
}
.dc-card-meta {
    display: flex; align-items: center; gap: 5px;
    font-size: 12px; color: var(--dc-muted-58); margin-top: auto;
}
.dc-card-seller {
    display: flex; align-items: center; gap: 7px; font-size: 12px;
    padding-top: 8px; border-top: 1px solid var(--color-divider);
}
.dc-avatar {
    width: 22px; height: 22px; flex: none;
    background: var(--color-neutral-800); color: var(--color-surface);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800;
}

/* ============================================================
   LISTIMET + FILTRAT
   ============================================================ */
.dc-listings { padding-block: clamp(56px, 9vw, 96px); }
.dc-listings-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 20px; flex-wrap: wrap;
}
.dc-listings-tools { display: flex; align-items: center; gap: 10px; }
.dc-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
@media (max-width: 1023px) { .dc-layout { grid-template-columns: 1fr; } }

.dc-rail { position: sticky; top: 80px; display: flex; flex-direction: column; }
@media (max-width: 1023px) { .dc-rail { display: none; } }
.dc-rail-head {
    display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px;
}
.dc-rail-head h3 { margin: 0; font-size: 15px; }
.dc-rail-clear {
    background: none; border: 0; padding: 0; font: inherit; font-size: 12px;
    color: var(--color-accent-700); cursor: pointer; text-decoration: none;
}
.dc-rail-clear:hover { text-decoration: underline; color: var(--color-accent-600); }
.dc-rail-grp {
    padding-bottom: 18px; border-bottom: 1px solid var(--color-divider); margin-bottom: 18px;
}
.dc-rail-grp h6 {
    margin: 0 0 10px; font-size: 11px; letter-spacing: .08em;
    text-transform: uppercase; color: var(--dc-muted-60);
}
.dc-rail-cats { display: flex; flex-direction: column; gap: 2px; max-height: 280px; overflow-y: auto; }
.dc-price-row { display: flex; gap: 8px; align-items: center; }
.dc-price-row .dc-input { width: 0; flex: 1; }
.dc-check {
    display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
    font-size: 14px; min-height: 44px; color: var(--color-text); text-decoration: none;
}
.dc-check-box {
    width: 18px; height: 18px; flex: none;
    display: flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--color-divider); color: transparent;
    border-radius: 4px; transition: border-color .15s ease-out;
}
.dc-check:hover .dc-check-box { border-color: var(--color-accent); }
.dc-check.is-active .dc-check-box {
    border-color: var(--color-accent); background: var(--color-accent); color: #fff;
}

.dc-sort { position: relative; }
.dc-sort-menu {
    position: absolute; top: calc(100% + 6px); right: 0; min-width: 210px;
    background: var(--color-surface); border: 1px solid var(--color-divider);
    border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
    z-index: 30; padding: 6px;
    animation: dcFadeInUp .16s ease-out both;
}
.dc-sort-item {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    width: 100%; text-align: left; background: none; border: 0;
    padding: 9px 10px; font: inherit; font-size: 14px; cursor: pointer;
    color: var(--color-text); text-decoration: none; border-radius: 8px;
}
.dc-sort-item:hover { background: color-mix(in srgb, var(--color-text) 6%, transparent); }
.dc-sort-item.is-active { color: var(--color-accent-700); font-weight: 700; }

.dc-filter-badge {
    position: absolute; top: -6px; right: -6px;
    background: var(--color-accent); color: #fff;
    font-size: 10px; font-weight: 800;
    width: 18px; height: 18px; border-radius: 999px;
    display: flex; align-items: center; justify-content: center;
}
.dc-empty {
    border: 1px dashed var(--color-divider);
    padding: 60px 20px; text-align: center; color: var(--dc-muted-55);
    border-radius: var(--radius-md);
}

/* Faqosja */
.dc-pager {
    display: flex; align-items: center; justify-content: center;
    gap: 6px; margin-top: 40px; flex-wrap: wrap;
}
.dc-pager a, .dc-pager span {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; color: var(--color-text);
    border: 1px solid var(--color-divider);
    border-radius: var(--radius-sm);
    transition: border-color .15s ease-out, color .15s ease-out;
}
.dc-pager a:hover { border-color: var(--color-accent); color: var(--color-accent-700); }
.dc-pager .is-current {
    background: var(--color-accent); color: #fff;
    font-weight: 800; border-color: var(--color-accent);
}
.dc-pager .is-gap, .dc-pager .is-disabled { border-color: transparent; color: var(--dc-muted-45); }
.dc-pager-note { text-align: center; font-size: 12px; color: var(--dc-muted-50); margin-top: 10px; }

/* ============================================================
   DUA TË BLEJ
   ============================================================ */
.dc-want-sec { padding-block: clamp(40px, 6vw, 64px); }
.dc-want-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
}
.dc-want {
    display: flex; gap: 14px;
    background: var(--color-surface); border: 1px solid var(--color-divider);
    padding: 16px; border-radius: var(--radius-md);
    text-decoration: none; color: inherit;
    transition: border-color .18s ease-out, box-shadow .18s ease-out;
}
.dc-want:hover { border-color: var(--color-accent-200); box-shadow: var(--shadow-md); color: inherit; }
.dc-want-ico {
    flex: none; width: 38px; height: 38px;
    background: var(--color-accent-100); color: var(--color-accent-700);
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm);
}
.dc-want h3 { font-family: var(--font-heading); font-weight: 800; font-size: 15px; margin: 0 0 8px; }
.dc-want-budget { font-weight: 800; color: var(--color-accent-2-800); font-size: 14px; }
.dc-want-meta {
    font-size: 12px; color: var(--dc-muted-58); margin-top: 8px;
    display: flex; gap: 10px; flex-wrap: wrap;
}

/* ============================================================
   SI FUNKSIONON
   ============================================================ */
.dc-how { padding-block: clamp(56px, 9vw, 96px); }
.dc-how-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px;
}
.dc-how-n {
    font-family: var(--font-heading); font-weight: 800; font-size: 13px;
    margin: 0 0 14px; display: flex; align-items: center; gap: 8px;
}
.dc-how-n i { width: 10px; height: 10px; background: var(--color-accent); display: inline-block; }
.dc-how h3 { font-family: var(--font-heading); font-weight: 800; font-size: 19px; margin: 0 0 8px; }
.dc-how h3 span { font-weight: 400; font-size: 14px; color: var(--dc-muted-55); }
.dc-how p { font-size: 14px; line-height: 1.55; color: var(--dc-muted-75); margin: 0; }

/* ============================================================
   BANERI I APP-IT
   ============================================================ */
.dc-app-sec { padding-block: clamp(24px, 4vw, 40px); }
/* Design-i kërkonte tekst të bardhë mbi portokallinë #F5921E — vetëm 2.33:1,
   nën pragun 4.5:1 dhe i vështirë për t'u lexuar. Portokallia e brandit
   mbetet e paprekur; ndryshon vetëm ngjyra e tekstit → 7.98:1. */
.dc-app {
    background: var(--color-accent-2);
    color: #16130D;
    border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; padding: clamp(28px, 4vw, 44px); flex-wrap: wrap;
}
.dc-app h2 { color: #16130D; margin: 0 0 6px; }
.dc-app p { margin: 0; color: #16130D; opacity: .78; }
.dc-app .dc-btn {
    color: #16130D; border-color: rgba(22,19,13,.45); background: transparent;
}
.dc-app .dc-btn:hover { background: rgba(22,19,13,.12); color: #16130D; }

/* ============================================================
   FOOTER
   ============================================================ */
/* Footer-i duhet i vetë-mjaftueshëm.
   style.css ka `footer { background: var(--secondary); color: rgba(255,255,255,.8) }`
   — ambra me tekst të bardhë. Tekstet e dizajnit janë të errëta, pra pa
   mbivendosje eksplicite del tekst i errët mbi ambra (ose mbi çfarëdo
   sfondi që trashëgon), i palexueshëm. Këtu vendosim të dyja. */
.dc-footer {
    padding-block: 48px 28px;
    background: var(--color-bg);
    color: var(--color-text);
    border-top: 1px solid var(--color-divider);
    margin-top: 0;
}
.dc-footer a { color: var(--color-text); }
.dc-footer a:hover { color: var(--color-accent-700); }
.dc-footer .dc-brand { color: var(--color-text); }
.dc-footer .dc-brand span { color: var(--color-accent); }
.dc-footer-top { margin-bottom: 32px; }
.dc-footer-legal {
    font-size: 12.5px; line-height: 1.6; color: var(--dc-muted-65);
    max-width: 70ch; margin-top: 12px;
}
.dc-footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 699px) { .dc-footer-grid { grid-template-columns: 1fr; } }
.dc-footer-grid h6 {
    font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
    margin: 0 0 12px; color: var(--dc-muted-60);
}
.dc-footer-grid a {
    display: block; color: var(--color-text); text-decoration: none;
    font-size: 14px; padding: 5px 0;
}
.dc-footer-grid a:hover { color: var(--color-accent-700); }
.dc-footer-bot {
    margin-top: 32px; padding-top: 20px;
    border-top: 1px solid var(--color-divider);
    font-size: 12px; color: var(--dc-muted-55);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ============================================================
   FLETË FILTRASH NË MOBILE
   ============================================================ */
.dc-sheet-bg {
    position: fixed; inset: 0;
    background: color-mix(in srgb, var(--color-neutral-900) 55%, transparent);
    z-index: 60; opacity: 0; pointer-events: none;
    transition: opacity .22s ease-out;
}
.dc-sheet {
    position: fixed; left: 0; right: 0; bottom: 0;
    max-height: 85vh; background: var(--color-surface);
    border-top: 1px solid var(--color-divider);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    z-index: 61; display: flex; flex-direction: column;
    transition: transform .22s ease-out;
    transform: translateY(100%);
}
.dc-sheet-open .dc-sheet { transform: translateY(0); }
.dc-sheet-open .dc-sheet-bg { opacity: 1; pointer-events: auto; }
.dc-sheet-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; border-bottom: 1px solid var(--color-divider);
}
.dc-sheet-head h3 { margin: 0; font-size: 16px; }
.dc-sheet-body {
    padding: 16px 20px; overflow-y: auto;
    display: flex; flex-direction: column; gap: 20px; flex: 1;
}
.dc-sheet-foot {
    display: flex; gap: 10px; padding: 14px 20px;
    border-top: 1px solid var(--color-divider);
}
.dc-sheet-foot .dc-btn { flex: 1; }
.dc-filters-toggle { position: relative; }
@media (min-width: 1024px) { .dc-filters-toggle { display: none; } }

/* ============================================================
   MOTION
   ------------------------------------------------------------
   Konteksti është treg — pra polish i qetë, jo spektakël.
   Vendimet sipas sa shpesh e nis useri ndërveprimin:
     - hover kartash (qindra/ditë) → shumë i shpejtë, ~150-250ms
     - hyrja në faqe / scroll (herë pas here) → 300-400ms
     - nisur nga tastiera → pa animacion
   Rregulli: animacioni më i mirë është ai që nuk vihet re.
   ============================================================ */

/* ── Zbulimi me scroll ──
   Kartat më parë kishin animation-delay të verbër: luanin edhe kur ishin
   nën fold, ku nuk i shihte kush, dhe mbërrinin "të mbaruara".
   Tani hyjnë kur vërtet duken.

   Gjendja e fshehur vendoset VETËM nëse JS-i punon (.js-reveal shtohet nga
   skripti në <head>). Pa JS ose pa IntersectionObserver, përmbajtja është
   e dukshme normalisht — pa faqe bosh. */
.js-reveal .dc-reveal {
    opacity: 0;
    transform: translateY(14px);
}
.js-reveal .dc-reveal.is-in {
    opacity: 1;
    transform: none;
    transition: opacity .38s var(--dc-ease, cubic-bezier(.2,.7,.2,1)),
                transform .38s var(--dc-ease, cubic-bezier(.2,.7,.2,1));
    transition-delay: var(--dc-delay, 0ms);
}

/* Kartat kur ngarkohen me ajax: pa shtysë hyrjeje, sepse useri ka klikuar
   dhe pret rezultatin — animacioni vetëm e vonon. */
.dc-grid.is-swapping .dc-card { animation: none; }

/* ── Header-i ngrihet kur faqja rrëshqet ──
   Sinjal i qetë se përmbajtja lëviz nën të. */
.dc-header {
    transition: box-shadow .25s ease-out, border-color .25s ease-out;
}
.dc-header.is-scrolled {
    box-shadow: var(--shadow-md);
    border-bottom-color: transparent;
}

/* ── Favoriti ──
   Ndërveprim i rrallë dhe me peshë emocionale, pra i lejohet një shkelje
   e vogël syri. Spring i shkurtër, jo kërcim. */
@keyframes dcFavPop {
    0%   { transform: scale(1); }
    45%  { transform: scale(1.22); }
    100% { transform: scale(1); }
}
.dc-fav.is-fav svg { animation: dcFavPop .34s cubic-bezier(.34,1.4,.64,1); }
.dc-fav:active { transform: scale(.92); }

/* ── Kalimet mes faqeve ──
   Në një treg useri kalon shumë faqe (faqosje, filtra). View Transitions
   e zbut kalimin pa scroll-jacking. Shfletuesat pa mbështetje e injorojnë. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation-duration: .18s; }
::view-transition-new(root) { animation-duration: .22s; }

/* ── Aksesueshmëria: e detyrueshme, pa përjashtime ──
   Hiqet çdo lëvizje, POR përmbajtja mbetet e dukshme — nëse thjesht
   fikeshin animacionet, elementet me .dc-reveal do ngecnin në opacity:0. */
@media (prefers-reduced-motion: reduce) {
    .dc-page *, .dc-page *::before, .dc-page *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .js-reveal .dc-reveal { opacity: 1 !important; transform: none !important; }
    .dc-stats-live i { animation: none !important; }
    @view-transition { navigation: none; }
}
