/* WebOrder – Faqja kryesore (17.11.2026). Versioni i vjetër: "css/index 17.11.2026.css" */

:root {
    --primary: #e8541c;
    --primary-dark: #c9440f;
    --ink: #1f1b18;
    --muted: #6f6761;
    --line: #ece6e1;
    --bg: #faf7f4;
    --surface: #fff;
    --shadow: 0 1px 2px rgba(31, 27, 24, .04), 0 4px 16px rgba(31, 27, 24, .06);
    --shadow-hover: 0 2px 6px rgba(31, 27, 24, .06), 0 18px 40px rgba(31, 27, 24, .13);
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; }
body {
    top: 0 !important;
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ---------- Topbar ---------- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px clamp(16px, 4vw, 48px);
    background: rgba(250, 247, 244, .85);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.brand img { height: 60px; width: auto; display: block; }
.lang { display: flex; align-items: center; gap: 10px; }
.lang-label { font-size: 14px; color: var(--muted); font-weight: 500; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    text-align: center;
    padding: clamp(48px, 9vw, 96px) 20px clamp(40px, 6vw, 64px);
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: -40% -10% auto;
    height: 140%;
    background:
        radial-gradient(40% 50% at 20% 30%, rgba(232, 84, 28, .14), transparent 70%),
        radial-gradient(35% 45% at 80% 20%, rgba(255, 170, 60, .16), transparent 70%);
    z-index: -1;
}
.hero-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--primary);
    background: #fff;
    border: 1px solid #f6d7c9;
    padding: 6px 14px;
    border-radius: 999px;
}
.hero h1 {
    margin: 18px auto 12px;
    max-width: 760px;
    font-size: clamp(30px, 5.2vw, 54px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.03em;
}
.hero h1 span { color: var(--muted); font-weight: 700; }
.hero-sub {
    margin: 0 auto 32px;
    max-width: 520px;
    color: var(--muted);
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.55;
}

/* ---------- Kërkimi ---------- */
.search-bar {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
}
.search-ico {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}
.search-bar input {
    width: 100%;
    height: 58px;
    padding: 0 22px 0 52px;
    font: 500 16px var(--font);
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none;
    appearance: none;
}
.search-bar input::placeholder { color: #a39a93; }
.search-bar input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 5px rgba(232, 84, 28, .12), var(--shadow);
}

/* ---------- Lista e bizneseve ---------- */
.wrap {
    flex: 1;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 48px) 64px;
}
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 8px 4px 20px;
}
.section-head h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.count { color: var(--muted); font-size: 14px; font-weight: 500; }

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

.grid-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.grid-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: #f1d9cd;
}

.card-link { display: block; height: 100%; color: inherit; text-decoration: none; }
.card { display: flex; flex-direction: column; height: 100%; }

.image-c {
    aspect-ratio: 4 / 3;
    background: linear-gradient(180deg, #fbf8f5, #f3ede8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
}
.image-c img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform .4s ease;
}
.grid-item:hover .image-c img { transform: scale(1.06); }

.card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px 20px;
    flex: 1;
}
.emertim {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bussines_desc {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.card-cta {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}
.card-cta span { display: inline-block; transition: transform .2s; }
.grid-item:hover .card-cta span { transform: translateX(4px); }

.no-results {
    text-align: center;
    padding: 56px 20px;
    color: var(--muted);
    font-size: 16px;
    background: #fff;
    border: 1px dashed var(--line);
    border-radius: 20px;
}

/* ---------- Footer ---------- */
.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 24px clamp(16px, 4vw, 48px);
    border-top: 1px solid var(--line);
    background: #fff;
    font-size: 14px;
    color: var(--muted);
}
.info { display: flex; flex-wrap: wrap; gap: 6px; }
.info span {
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.info span:hover { background: var(--bg); color: var(--ink); }

@media (max-width: 600px) {
    .grid-container { grid-template-columns: 1fr 1fr; gap: 12px; }
    .image-c { padding: 14px; }
    .card-body { padding: 12px 14px 14px; }
    .emertim { font-size: 15px; }
    .bussines_desc { font-size: 13px; }
    .card-cta { font-size: 13px; }
    .lang-label { display: none; }
    .footer { justify-content: center; text-align: center; }
}
@media (max-width: 360px) {
    .grid-container { grid-template-columns: 1fr; }
}

/* ---------- Google Translate ---------- */
.notranslated { unicode-bidi: plaintext; }
.skiptranslate > iframe { z-index: -10; visibility: hidden !important; }
.goog-te-gadget { font-size: 0 !important; }
.goog-te-gadget span { display: none !important; }
.goog-te-banner-frame .skiptranslate { display: none !important; }
.goog-te-gadget .goog-te-combo {
    font: 500 14px var(--font);
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    margin: 0 !important;
    cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}

.logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 28px;
    background: linear-gradient(135deg, #ff8a4c, var(--primary));
    color: #fff;
    font-size: 44px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(232, 84, 28, .25);
}

/* iOS / Android */
html { -webkit-tap-highlight-color: transparent; }
a, button, input { touch-action: manipulation; }
.topbar { padding-top: max(10px, env(safe-area-inset-top)); }
.footer { padding-bottom: max(24px, env(safe-area-inset-bottom)); }

/* ---------- Kategoritë ---------- */
.cat-bar {
    display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 14px; margin: 0 0 6px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
}
.cat-bar::-webkit-scrollbar { display: none; }
.cat-chip {
    flex: none; scroll-snap-align: start;
    display: inline-flex; align-items: center; gap: 8px;
    height: 46px; padding: 0 16px 0 14px; border-radius: 999px;
    border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
    font: 700 14.5px var(--font); cursor: pointer; white-space: nowrap;
    box-shadow: 0 1px 2px rgba(31, 27, 24, .04);
    transition: background .15s, border-color .15s, color .15s, transform .1s;
}
.cat-chip:hover { border-color: #dfd5ce; }
.cat-chip:active { transform: scale(.97); }
.cat-chip .fa { font-size: 16px; color: var(--primary); width: 18px; text-align: center; }
.cat-chip em {
    font-style: normal; font-size: 12px; font-weight: 800; min-width: 22px; height: 22px; padding: 0 6px;
    border-radius: 999px; background: #f3efeb; color: var(--muted);
    display: inline-flex; align-items: center; justify-content: center;
}
.cat-chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-chip.active .fa { color: #fff; }
.cat-chip.active em { background: rgba(255, 255, 255, .18); color: #fff; }
.cat-chip:focus-visible { outline: 3px solid #ffb894; outline-offset: 2px; }

@media (max-width: 600px) {
    .cat-bar { margin: 0 -16px 4px; padding: 4px 16px 12px; }
    .cat-chip { height: 42px; padding: 0 14px 0 12px; font-size: 14px; }
}
