/* ==========================================================================
   Ürünsepetim - glass UI (dark + light)
   Hand written on purpose: no build step, works on any shared host.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
    --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --container: 1240px;
    --r: 22px;
    --r-sm: 14px;
    --a1: #86bc42; /* brand green (same as the current site) */
    --a2: #3f9a2f;
    --a3: #1fa39a;
    --a4: #7fd6c2;
    --ok: #2fd08a;
    --warn: #ffb020;
    --grad: linear-gradient(135deg, var(--a1), var(--a2));
    --grad-cool: linear-gradient(135deg, var(--a3), var(--a4));
    --ease: cubic-bezier(.2, .7, .2, 1);
}

[data-theme="dark"] {
    color-scheme: dark;
    --bg: #070915;
    --text: #eef0ff;
    --muted: #a3a9ca;
    --glass: rgba(255, 255, 255, .065);
    --glass-2: rgba(255, 255, 255, .12);
    --line: rgba(255, 255, 255, .14);
    --ring: transparent;
    --hi: rgba(255, 255, 255, .16);
    --shadow: 0 14px 44px rgba(0, 0, 0, .42);
    --input: rgba(255, 255, 255, .08);
    --blob: .5;
    --a1t: #a5db61;
    --img-veil: rgba(7, 9, 21, .35);
}

[data-theme="light"] {
    color-scheme: light;
    --bg: #e8ecfa;
    --text: #131733;
    --muted: #585f83;
    --glass: rgba(255, 255, 255, .6);
    --glass-2: rgba(255, 255, 255, .86);
    --line: rgba(255, 255, 255, .95);
    --ring: rgba(56, 70, 150, .09);
    --hi: rgba(255, 255, 255, 1);
    --shadow: 0 14px 40px rgba(58, 72, 150, .15);
    --input: rgba(255, 255, 255, .85);
    --blob: .42;
    --a1t: #3c7f1d;
    --img-veil: rgba(255, 255, 255, .1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--a4); outline-offset: 2px; border-radius: 6px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 15px; height: 15px; }

/* ---------- Aurora background ---------- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: var(--blob); animation: drift 28s ease-in-out infinite alternate; will-change: transform; }
.aurora i:nth-child(1) { width: 56vmax; height: 56vmax; left: -14vmax; top: -18vmax; background: var(--a3); }
.aurora i:nth-child(2) { width: 46vmax; height: 46vmax; right: -12vmax; top: 6vh; background: var(--a2); animation-delay: -9s; }
.aurora i:nth-child(3) { width: 48vmax; height: 48vmax; left: 24vw; bottom: -26vmax; background: var(--a4); animation-delay: -16s; }
@keyframes drift { to { transform: translate3d(6vw, 5vh, 0) scale(1.12); } }

/* ---------- Glass ---------- */
.glass {
    background: var(--glass);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    backdrop-filter: blur(20px) saturate(170%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow), inset 0 1px 0 var(--hi), 0 0 0 1px var(--ring);
    border-radius: var(--r);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .glass { background: var(--glass-2); }
}

/* ---------- Buttons / chips / badges ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 20px; border-radius: 14px; border: 1px solid var(--line);
    background: var(--glass-2); font-weight: 650; font-size: .95rem; line-height: 1.1;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--grad); border-color: transparent; color: #fff; text-shadow: 0 1px 2px rgba(20, 60, 10, .35); box-shadow: 0 10px 26px rgba(134, 188, 66, .35); }
.btn--primary:hover { box-shadow: 0 14px 32px rgba(134, 188, 66, .5); }
.btn--ghost { background: transparent; }
.btn--sm { padding: 9px 14px; font-size: .85rem; border-radius: 12px; }
.btn--lg { padding: 15px 22px; font-size: 1.05rem; border-radius: 16px; }
.btn--block { width: 100%; }

.iconbtn {
    display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 14px;
    background: var(--glass); border: 1px solid var(--line); transition: background .2s, transform .2s var(--ease);
    font-weight: 700;
}
.iconbtn:hover { background: var(--glass-2); transform: translateY(-1px); }

.tagchip {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px;
    background: var(--glass); border: 1px solid var(--line); font-size: .88rem; font-weight: 550;
    transition: background .2s, transform .2s var(--ease), border-color .2s; white-space: nowrap;
}
.tagchip:hover, .tagchip.is-active { background: var(--glass-2); transform: translateY(-1px); border-color: var(--a2); }
.tagchip.is-active { box-shadow: 0 0 0 3px rgba(134, 188, 66, .18); }
.tagchip--lg { padding: 10px 16px; font-size: .95rem; }

.pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
    background: var(--glass); border: 1px solid var(--line); font-size: .85rem; font-weight: 600;
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.pill__time { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--a1t); }
.pill--live { border-color: rgba(134, 188, 66, .45); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--a2); box-shadow: 0 0 0 0 rgba(134, 188, 66, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(134, 188, 66, 0); } 100% { box-shadow: 0 0 0 0 rgba(134, 188, 66, 0); } }

.badge {
    position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 11px; border-radius: 999px; font-size: .78rem; font-weight: 800; color: #fff; background: var(--grad);
    box-shadow: 0 6px 16px rgba(134, 188, 66, .4);
}
.badge--lg { font-size: 1rem; padding: 7px 14px; }
.badge--hot { background: linear-gradient(135deg, #1f5f17, #3f9a2f); box-shadow: 0 6px 16px rgba(31, 95, 23, .45); }
.badge--hot + .badge--discount { left: auto; right: 12px; }
.buybox__price .badge { position: static; }

.chip {
    position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px;
    border-radius: 999px; font-size: .78rem; font-weight: 700; color: #fff;
    background: rgba(8, 10, 24, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .18); font-variant-numeric: tabular-nums;
}
.chip--time { left: 12px; bottom: 12px; }
.chip--time.is-urgent { background: rgba(214, 24, 72, .82); animation: blink 1.4s ease-in-out infinite; }
.chip--time.is-over { background: rgba(70, 70, 90, .8); }
.chip--km { left: 12px; top: 12px; bottom: auto; z-index: 3; }
.stickybuy .chip { position: static; }
@keyframes blink { 50% { opacity: .72; } }

/* ---------- Top bar (phone / e-mail) ---------- */
.topbar { font-size: .82rem; color: var(--muted); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 8px 0; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar a:hover { color: var(--a1t); }
.topbar__tel { margin-left: auto; padding: 4px 12px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); color: var(--text); }
.topbar__tel b { font-weight: 800; font-variant-numeric: tabular-nums; }
.topbar__tel .i { color: var(--a1t); }
.topbar__mail span { white-space: nowrap; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 60; padding-top: 10px; }
.hdr__bar { display: flex; align-items: center; gap: 14px; padding: 9px 12px 9px 14px; border-radius: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 1.25rem; letter-spacing: -.03em; }
.logo b { font-weight: 850; background: linear-gradient(135deg, var(--a1t), var(--a1)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo__mark { display: grid; place-items: center; width: 28px; height: 36px; }
.logo__svg { width: 28px; height: 36px; display: block; filter: drop-shadow(0 4px 8px rgba(134, 188, 66, .35)); }
.nav { display: none; align-items: center; gap: 4px; margin-left: 6px; }
.nav a, .nav__btn {
    display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 12px; border: 0; background: transparent;
    font-weight: 600; font-size: .93rem; transition: background .2s; white-space: nowrap;
}
.nav a:hover, .nav__btn:hover, .nav a.is-active, .nav__btn[aria-expanded="true"] { background: var(--glass-2); }
.hdr__search {
    display: none; align-items: center; gap: 10px; flex: 1; max-width: 380px; margin-left: auto; padding: 10px 14px;
    border-radius: 14px; border: 1px solid var(--line); background: var(--input); color: var(--muted); text-align: left; font-size: .9rem;
}
.hdr__search span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hdr__search kbd { font: 600 .72rem var(--font); padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line); }
.hdr__actions { display: flex; gap: 8px; margin-left: auto; }
.i-sun { display: none; }
[data-theme="dark"] .i-sun { display: block; }
[data-theme="dark"] .i-moon { display: none; }
[data-theme="light"] .i-moon { display: block; }
[data-theme="light"] .i-sun { display: none; }

.hdr__megawrap { position: relative; height: 0; }
.mega { position: absolute; inset-inline: 16px; top: 10px; z-index: 70; max-height: calc(100vh - 100px); overflow: auto; padding: 22px; background: var(--glass-2); }
.mega__links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.mega__links a { padding: 10px 12px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; }
.mega__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px 28px; }
.mega h3 { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.mega h3.mt { margin-top: 18px; }
.mega li a { display: flex; gap: 8px; align-items: center; padding: 5px 8px; margin-inline: -8px; border-radius: 9px; font-size: .92rem; transition: background .15s, transform .15s; }
.mega li a:hover { background: var(--glass); transform: translateX(3px); }
.mega__cols { columns: 1; }

/* Search overlay */
.smodal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: start center; padding: 10vh 14px 0; }
.smodal__backdrop { position: absolute; inset: 0; background: rgba(5, 6, 16, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .2s; }
.smodal__panel { position: relative; width: min(720px, 100%); padding: 20px; background: var(--glass-2); animation: pop .25s var(--ease); }
.smodal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: 1.05rem; }
.smodal__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(-12px) scale(.98); } }

/* ---------- Search box ---------- */
.sbox { position: relative; }
.sbox__row { display: flex; flex-wrap: wrap; gap: 8px; }
.sbox__field, .sbox__city {
    display: flex; align-items: center; gap: 10px; padding: 0 14px; min-height: 52px; border-radius: 16px;
    background: var(--input); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s;
}
.sbox__field { flex: 1 1 220px; }
.sbox__city { flex: 0 1 200px; }
.sbox__field:focus-within, .sbox__city:focus-within { border-color: var(--a2); box-shadow: 0 0 0 4px rgba(134, 188, 66, .18); }
.sbox input[type="search"], .sbox select { width: 100%; border: 0; outline: 0; background: transparent; min-height: 48px; }
.sbox select { cursor: pointer; }
.sbox select option { color: #111; }
.sbox input[type="search"]::-webkit-search-cancel-button { display: none; }
.sbox__go { min-height: 52px; padding-inline: 24px; }
.sbox--hero .sbox__row { padding: 8px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: var(--shadow), inset 0 1px 0 var(--hi); }
.sbox--hero .sbox__field, .sbox--hero .sbox__city { background: transparent; border-color: transparent; }
.sbox--hero .sbox__field { font-size: 1.05rem; }
.sbox--modal .sbox__go { display: none; }
.sbox__panel { position: absolute; z-index: 90; left: 0; right: 0; top: calc(100% + 8px); max-height: min(60vh, 520px); overflow: auto; padding: 8px; background: var(--glass-2); border-radius: 18px; }
.sbox--modal .sbox__panel { position: static; margin-top: 10px; box-shadow: none; }
.sug__group { padding: 8px 10px 4px; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.sug__item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; }
.sug__item:hover, .sug__item.is-sel { background: var(--glass-2); }
.sug__item img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; background: var(--glass); }
.sug__emoji { width: 48px; height: 48px; display: grid; place-items: center; flex: none; font-size: 1.4rem; border-radius: 10px; background: var(--glass); }
.sug__text { min-width: 0; flex: 1; }
.sug__text b { display: block; font-size: .92rem; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sug__text small { color: var(--muted); font-size: .78rem; }
.sug__price { font-weight: 800; font-size: .92rem; white-space: nowrap; }
.sug__all { display: block; padding: 12px; text-align: center; font-weight: 700; color: var(--a1t); border-radius: 12px; }
.sug__empty { padding: 16px; color: var(--muted); text-align: center; }

/* ---------- Hero ---------- */
.hero { display: grid; gap: 28px; padding-top: 34px; padding-bottom: 8px; align-items: center; }
.hero__copy h1 { font-size: clamp(2.1rem, 6.2vw, 3.7rem); font-weight: 850; margin: 16px 0 14px; letter-spacing: -.035em; line-height: 1.08; }
.hero__lead { color: var(--muted); font-size: 1.08rem; max-width: 620px; margin-bottom: 22px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.hero__chips > span { color: var(--muted); font-size: .85rem; margin-right: 2px; }
.hero__stats { display: flex; gap: 26px; margin-top: 26px; flex-wrap: wrap; }
.hero__stats li { display: grid; }
.hero__stats b { font-size: 1.6rem; font-weight: 850; letter-spacing: -.03em; }
.hero__stats span { color: var(--muted); font-size: .82rem; }

/* Spotlight */
.spot { overflow: hidden; display: grid; }
.spot__media { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; }
.spot__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.spot:hover .spot__media img { transform: scale(1.05); }
.spot__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--img-veil), transparent 45%); }
.spot__body { padding: 20px 22px 22px; display: grid; gap: 14px; }
.spot__title { font-size: 1.28rem; font-weight: 750; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.spot__label { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--a1t); margin-bottom: 8px; }
.spot__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* Big countdown */
.cd { display: flex; align-items: stretch; gap: 6px; }
.cd__u { display: grid; place-items: center; min-width: 58px; padding: 8px 6px 6px; border-radius: 14px; background: var(--input); border: 1px solid var(--line); text-align: center; }
.cd__u b { font-size: 1.7rem; font-weight: 850; line-height: 1; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cd__u small { font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 4px; }
.cd__sep { align-self: center; font-weight: 800; color: var(--muted); animation: blink 1s steps(2) infinite; }
.cd__u--d { display: none; }
.cd.has-days .cd__u--d { display: grid; }
.cd.is-over { opacity: .55; }
.cd.is-urgent .cd__u b { background: linear-gradient(135deg, #ff4d4d, #d61f4c); -webkit-background-clip: text; background-clip: text; }

/* ---------- Sections ---------- */
.section { padding-block: 34px 6px; }
.section--tight { padding-top: 6px; }
.section__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.section__head h2 { font-size: clamp(1.3rem, 3vw, 1.75rem); font-weight: 800; display: flex; align-items: center; gap: 10px; }
.ico { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--glass-2); border: 1px solid var(--line); font-size: 1.1rem; }
.ico--fire { background: var(--grad); color: #fff; border-color: transparent; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--a1t); }
.link:hover { gap: 10px; }
.notice { padding: 12px 16px; border-radius: 14px; background: rgba(255, 176, 32, .14); border: 1px solid rgba(255, 176, 32, .4); font-size: .92rem; margin-bottom: 16px; }
.notice--ok { background: rgba(47, 208, 138, .14); border-color: rgba(47, 208, 138, .45); }
.notice--warn { background: rgba(255, 176, 32, .14); border-color: rgba(255, 176, 32, .45); }

/* Category tiles */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cat {
    --h: 260; position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; overflow: hidden;
    transition: transform .25s var(--ease), border-color .25s;
}
.cat::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 140% at 0% 0%, hsl(var(--h) 90% 60% / .28), transparent 60%); opacity: .9; transition: opacity .25s; }
.cat:hover { transform: translateY(-4px); border-color: hsl(var(--h) 90% 65% / .7); }
.cat > * { position: relative; }
.cat__emoji { font-size: 1.7rem; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .25)); }
.cat__name { font-weight: 700; font-size: .95rem; line-height: 1.2; }

/* ---------- Grid & cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 16px; margin-inline: -4px; scrollbar-width: thin; }
.rail__item { flex: 0 0 min(290px, 80%); scroll-snap-align: start; display: flex; }
.rail__item > .card { width: 100%; }

.card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
.card:hover { transform: translateY(-5px); border-color: rgba(134, 188, 66, .55); box-shadow: 0 22px 50px rgba(0, 0, 0, .25), inset 0 1px 0 var(--hi); }
.card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--glass-2); }
.card__media--wide { aspect-ratio: 16 / 9; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 16px; flex: 1; }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .78rem; color: var(--muted); }
.card__meta span, .card__meta a { display: inline-flex; align-items: center; gap: 4px; }
.card__meta--lg { font-size: .9rem; margin: 8px 0 18px; }
.card__provider { padding: 1px 9px; border-radius: 999px; background: var(--glass-2); border: 1px solid var(--line); }
.card__title { font-size: 1rem; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a:hover { color: var(--a1t); }
.card__foot { margin-top: auto; padding-top: 6px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.price { display: grid; line-height: 1.15; }
.price s { color: var(--muted); font-size: .82rem; }
.price strong { font-size: 1.28rem; font-weight: 850; letter-spacing: -.02em; }
.price--lg strong { font-size: 1.8rem; }
.price--xl strong { font-size: 2.2rem; }
.post__excerpt { color: var(--muted); font-size: .92rem; margin: 0; }

/* Banners */
.banners { display: grid; gap: 14px; }
.banner {
    position: relative; display: flex; align-items: flex-end; justify-content: space-between; min-height: 150px; padding: 20px; overflow: hidden;
    background-image: linear-gradient(to top, rgba(6, 8, 22, .82), rgba(6, 8, 22, .1) 65%), var(--img, none); background-size: cover; background-position: center;
    color: #fff; transition: transform .3s var(--ease);
}
.banner:hover { transform: translateY(-4px); }
.banner__text b { display: block; font-size: 1.2rem; font-weight: 800; }
.banner__text small { opacity: .85; }
.banner__go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); }

.citychips { display: flex; flex-wrap: wrap; gap: 10px; }

/* Steps */
.steps { display: grid; gap: 22px; padding: 26px; }
.step__n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 10px; }
.step h3 { font-size: 1.1rem; margin-bottom: 4px; }
.step p { color: var(--muted); margin: 0; font-size: .93rem; }

/* ---------- Page head / filters / states ---------- */
.pagehead { padding-top: 28px; }
.pagehead h1 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); font-weight: 850; margin-bottom: 6px; }
.pagehead__emoji { margin-right: 4px; }
.pagehead__row { display: flex; gap: 16px; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; margin-bottom: 18px; }
.pagehead__count { display: grid; place-items: center; padding: 10px 22px; border-radius: 18px; }
.pagehead__count b { font-size: 1.6rem; font-weight: 850; line-height: 1; }
.pagehead__count span { font-size: .75rem; color: var(--muted); }
.pagehead .sbox { margin: 16px 0 14px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--a1t); }
.filters { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; margin-bottom: 14px; }
.filters label { display: flex; align-items: center; gap: 8px; flex: 1; max-width: 320px; }
.filters select { flex: 1; border: 0; background: transparent; outline: 0; min-height: 36px; cursor: pointer; }
.filters select option { color: #111; }
.chiprow { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; }
.chiprow::-webkit-scrollbar { display: none; }
.chiprow--wrap { flex-wrap: wrap; overflow: visible; }
.chiprow--center { justify-content: center; flex-wrap: wrap; }
.resultbar { margin-bottom: 18px; }
.empty { padding: 44px 24px; text-align: center; }
.empty__icon { font-size: 2.6rem; margin-bottom: 10px; }
.empty h1, .empty h3 { margin-bottom: 8px; }
.empty .sbox { max-width: 640px; margin: 18px auto; text-align: left; }
.notfound { min-height: 55vh; display: grid; align-content: center; }

.pager { display: flex; justify-content: center; gap: 8px; margin: 34px 0 10px; flex-wrap: wrap; }
.pager__item { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 13px; background: var(--glass); border: 1px solid var(--line); font-weight: 650; transition: background .2s, transform .2s; }
a.pager__item:hover { background: var(--glass-2); transform: translateY(-2px); }
.pager__item.is-current { background: var(--grad); color: #fff; border-color: transparent; }
.pager__item.is-disabled { opacity: .4; }

/* ---------- Turlar hub + photo headers ---------- */
.nav a.nav__tours { background: var(--grad); color: #fff; box-shadow: 0 6px 16px rgba(134, 188, 66, .35); text-shadow: 0 1px 2px rgba(20, 60, 10, .35); }
.nav a.nav__tours:hover, .nav a.nav__tours.is-active { background: var(--grad); filter: brightness(1.06); }

.tourhero-wrap { padding-top: 18px; }
.tourhero {
    position: relative; display: grid; gap: 26px; padding: 28px 22px; border-radius: 28px; overflow: hidden; color: #fff;
    background-color: #123d1a;
    background-image: linear-gradient(105deg, rgba(6, 20, 8, .88) 0%, rgba(6, 20, 8, .62) 55%, rgba(6, 20, 8, .35) 100%), var(--img, none);
    background-size: cover; background-position: center; box-shadow: var(--shadow);
}
.tourhero h1 { font-size: clamp(2.4rem, 7vw, 4rem); font-weight: 850; margin: 12px 0 8px; letter-spacing: -.035em; line-height: 1.05; }
.tourhero__lead { color: rgba(255, 255, 255, .86); max-width: 560px; margin-bottom: 18px; }
.tourhero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tourhero .sbox--hero .sbox__row { background: rgba(255, 255, 255, .92); }
.tourhero .sbox input, .tourhero .sbox select { color: #131733; }
.tourhero .sbox input::placeholder { color: #5b6280; }
.tourhero .sbox .i { color: #3c7f1d; }
.tourhero__spot { align-self: center; }
.pill--onimg { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .3); }
.tagchip--onimg { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .3); }
.tagchip--onimg:hover { background: rgba(255, 255, 255, .28); }
.crumbs--light { color: rgba(255, 255, 255, .78); }
.crumbs--light a:hover { color: #fff; }

.pagehero__credit {
    position: absolute; right: 12px; bottom: 8px; z-index: 3; font-size: .68rem; color: rgba(255, 255, 255, .8);
    background: rgba(0, 0, 0, .35); padding: 2px 9px; border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.pagehero__credit:hover { color: #fff; }
.pagehero {
    --h: 150; position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    min-height: 230px; padding: 26px 24px 30px; margin-bottom: 18px; border-radius: 26px; overflow: hidden; color: #fff; box-shadow: var(--shadow);
}
.pagehero.has-img {
    background-image: linear-gradient(to top, rgba(5, 14, 6, .85) 0%, rgba(5, 14, 6, .35) 55%, rgba(5, 14, 6, .15) 100%), var(--img);
    background-size: cover; background-position: center;
}
.pagehero.no-img { background: linear-gradient(135deg, hsl(var(--h) 45% 30%), hsl(calc(var(--h) + 30) 50% 16%)); }
.pagehero.no-img::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 90% 0%, hsl(var(--h) 80% 60% / .35), transparent 60%); }
.pagehero__inner { position: relative; z-index: 2; max-width: 680px; }
.pagehero h1 { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 850; margin: 6px 0; letter-spacing: -.03em; text-shadow: 0 2px 14px rgba(0, 0, 0, .4); }
.pagehero p { margin: 0; color: rgba(255, 255, 255, .88); max-width: 560px; }
.pagehero__count { position: relative; z-index: 2; display: grid; place-items: center; padding: 10px 22px; border-radius: 18px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.pagehero__count b { font-size: 1.6rem; font-weight: 850; line-height: 1; }
.pagehero__count span { font-size: .75rem; opacity: .85; }

.dests { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.dest {
    position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 3; padding: 14px 16px; border-radius: 20px; overflow: hidden; color: #fff;
    background-color: #1c5a25;
    background-image: linear-gradient(to top, rgba(5, 14, 6, .8), rgba(5, 14, 6, .05) 62%), var(--img, linear-gradient(135deg, #3f9a2f, #1f5f17));
    background-size: cover; background-position: center; border: 1px solid var(--line);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease); box-shadow: var(--shadow);
}
.dest:hover { transform: translateY(-5px) scale(1.01); box-shadow: 0 22px 46px rgba(0, 0, 0, .3); }
.dest__emoji { position: absolute; top: 14px; right: 16px; font-size: 2.2rem; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); }
.dest__name { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.dest__count { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; opacity: .92; }
.more { display: flex; justify-content: center; margin: 22px 0 0; }
@media (min-width: 640px) { .dests { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) {
    .dests { grid-template-columns: repeat(4, 1fr); }
    .dests--cities { grid-template-columns: repeat(4, 1fr); }
    .tourhero { grid-template-columns: 1.1fr .9fr; padding: 44px 40px; gap: 40px; }
}

/* ---------- Deal page ---------- */
.dealpage { padding-top: 24px; }
.dealpage__grid { display: grid; gap: 18px; align-items: start; grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "side" "rest"; }
.dealpage__intro { grid-area: intro; min-width: 0; }
.dealpage__side { grid-area: side; min-width: 0; }
.dealpage__rest { grid-area: rest; min-width: 0; }
.dealpage__title { font-size: clamp(1.4rem, 3.6vw, 2.1rem); font-weight: 850; margin-top: 4px; }
.gallery { padding: 10px; overflow: hidden; margin-bottom: 18px; }
.gallery__main { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--glass-2); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.gallery__thumbs button { flex: none; width: 74px; height: 74px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: none; opacity: .7; transition: opacity .2s, border-color .2s; }
.gallery__thumbs button.is-active, .gallery__thumbs button:hover { opacity: 1; border-color: var(--a2); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.prose { padding: 22px 24px; margin-bottom: 18px; overflow-wrap: anywhere; }
.prose h2 { font-size: 1.3rem; margin-bottom: 12px; }
.prose h3 { font-size: 1.1rem; margin: 18px 0 8px; }
.prose p { color: color-mix(in srgb, var(--text) 88%, transparent); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; list-style: revert; }
.prose img { border-radius: 14px; margin-block: 12px; }
.prose a { color: var(--a1t); text-decoration: underline; }

.buybox { padding: 22px; display: grid; gap: 16px; min-width: 0; }
.option__title { min-width: 0; overflow-wrap: anywhere; }
.buybox__price { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.buybox__timer .cd { justify-content: space-between; }
.buybox__timer .cd__u { flex: 1; min-width: 0; }
.options { display: grid; gap: 8px; max-height: 340px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 2px; margin: -2px; }
.options h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.option { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; border-radius: 14px; background: var(--input); border: 1px solid var(--line); font-size: .88rem; transition: border-color .2s, background .2s, box-shadow .2s; }
.option:hover { border-color: var(--a2); background: var(--glass-2); box-shadow: 0 0 0 3px rgba(134, 188, 66, .14); }
.option__price { display: grid; text-align: right; white-space: nowrap; }
.option__price s { color: var(--muted); font-size: .75rem; }
.option__price b { font-size: 1rem; }
.trust { display: grid; gap: 6px; font-size: .83rem; color: var(--muted); }
.trust li { display: flex; gap: 8px; align-items: center; }
.trust .i { color: var(--ok); }
.share { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); }
.share span { margin-right: auto; }
.stickybuy { display: none; }

/* ---------- Article / forms ---------- */
.article { padding-top: 26px; max-width: 860px; }
.article__head h1 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); font-weight: 850; margin-bottom: 6px; }
.article__cover { width: 100%; height: auto; max-height: 420px; object-fit: cover; margin-bottom: 18px; padding: 8px; }
.formcard { max-width: 720px; padding: 26px; }
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field span { font-size: .85rem; font-weight: 650; color: var(--muted); }
.field input, .field textarea, .field select {
    width: 100%; padding: 12px 14px; border-radius: 14px; background: var(--input); border: 1px solid var(--line); outline: 0; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--a2); box-shadow: 0 0 0 4px rgba(134, 188, 66, .18); }
.field select option { color: #111; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.errors { padding: 12px 16px; border-radius: 14px; background: rgba(220, 53, 69, .12); border: 1px solid rgba(220, 53, 69, .4); color: var(--text); list-style: disc inside; }

/* ---------- Footer ---------- */
.ftr { margin-top: 56px; padding-bottom: 30px; }
.ftr__box { padding: 28px; }
.ftr__grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.ftr__brand { grid-column: 1 / -1; max-width: 460px; }
.ftr__brand p { color: var(--muted); margin: 12px 0; font-size: .92rem; }
.ftr h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.ftr li { margin-bottom: 7px; font-size: .92rem; }
.ftr li a:hover, .ftr__bottom a:hover { color: var(--a1t); }
.ftr__note { display: flex; gap: 10px; align-items: flex-start; margin: 26px 0 16px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.ftr__note .i { margin-top: 3px; color: var(--ok); }
.ftr__contact { display: grid; gap: 8px; margin: 14px 0; font-size: .9rem; }
.ftr__contact li { display: flex; gap: 9px; align-items: flex-start; margin: 0; }
.ftr__contact .i { margin-top: 3px; color: var(--a1t); }
.ftr__contact a:hover { color: var(--a1t); }
.contactinfo { display: grid; gap: 14px; padding: 18px 22px; max-width: 720px; margin-bottom: 18px; }
.contactinfo > * { display: flex; align-items: center; gap: 14px; }
.contactinfo a:hover { color: var(--a1t); }
.contactinfo .i { width: 24px; height: 24px; color: var(--a1t); }
.contactinfo small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contactinfo span { font-weight: 650; }
@media (min-width: 720px) { .contactinfo { grid-template-columns: 1fr 1fr; } .contactinfo > :last-child { grid-column: 1 / -1; } }
@media (max-width: 559px) { .topbar__mail span { display: none; } .topbar__in { justify-content: flex-end; } }
.ftr__credits { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 14px 0 16px; margin-bottom: 4px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.ftr__source { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 600; }
.ftr__source img { height: 34px; width: auto; }
.ftr__dev { margin: 0; color: var(--muted); }
.ftr__dev a { color: var(--a1t); font-weight: 700; }
.ftr__dev a:hover, .ftr__source:hover { text-decoration: underline; }
.ftr__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: 26px; z-index: 300; transform: translate(-50%, 30px); opacity: 0; padding: 11px 18px; border-radius: 14px; background: var(--text); color: var(--bg); font-weight: 650; font-size: .9rem; pointer-events: none; transition: .3s var(--ease); }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Responsive ---------- */
@media (min-width: 560px) {
    .cats { grid-template-columns: repeat(3, 1fr); }
    .banners { grid-template-columns: repeat(3, 1fr); }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .form__row { grid-template-columns: 1fr 1fr; }
    .mega__cols { columns: 2; }
}
@media (min-width: 900px) {
    .ftr__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
    .ftr__brand { grid-column: auto; }
    .cats { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 980px) {
    .hdr__search + .hdr__actions { margin-left: 0; }
    .nav { display: flex; }
    .burger, .hdr__searchicon { display: none; }
    .hdr__search { display: flex; }
    .mega__links { display: none; }
    .hero { grid-template-columns: 1.15fr .85fr; gap: 44px; padding-top: 54px; }
    .dealpage__grid { grid-template-columns: minmax(0, 1fr) 390px; grid-template-areas: "intro side" "rest side"; column-gap: 30px; row-gap: 0; }
    .dealpage__side { position: sticky; top: 92px; }
    .cats { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 979px) {
    .hdr__actions { margin-left: auto; }
    .mega { padding: 16px; }
    .has-sticky-cta { padding-bottom: 84px; }
    .stickybuy { display: flex; position: fixed; z-index: 55; left: 12px; right: 12px; bottom: 12px; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 10px 16px; border-radius: 20px; background: var(--glass-2); }
    .stickybuy .price { grid-auto-flow: column; align-items: baseline; gap: 8px; }
    .dealpage__side .buybox .btn--block { display: none; }
}
@media (max-width: 559px) {
    .hero__chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 8px; scrollbar-width: none; }
    .hero__chips > span { display: none; }
    .sbox__city { flex: 1 1 100%; }
    .sbox__go { flex: 1 1 100%; }
    .sbox--hero .sbox__row { padding: 6px; }
    .cd__u { min-width: 52px; }
    .cd__u b { font-size: 1.45rem; }
    .spot__foot .btn { width: 100%; }
    .section { padding-block: 26px 2px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Admin
   ========================================================================== */
.adm { display: grid; gap: 18px; padding-block: 24px 10px; }
.adm__nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px; align-items: center; }
.adm__nav a, .adm__nav button { padding: 9px 14px; border-radius: 12px; font-weight: 600; font-size: .9rem; background: transparent; border: 0; }
.adm__nav a:hover, .adm__nav a.is-active { background: var(--glass-2); }
.adm__nav .sp { flex: 1; }
.adm__stats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.stat { padding: 18px 20px; }
.stat b { display: block; font-size: 2rem; font-weight: 850; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .85rem; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 140px; padding: 10px 4px 0; }
.bars div { flex: 1; display: grid; align-items: end; height: 100%; text-align: center; font-size: .65rem; color: var(--muted); }
.bars i { display: block; background: var(--grad); border-radius: 6px 6px 2px 2px; min-height: 3px; }
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th, .tbl td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.tbl tr:last-child td { border-bottom: 0; }
.tblwrap { overflow-x: auto; padding: 4px; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--glass-2); border: 1px solid var(--line); }
.tag--ok { color: var(--ok); }
.tag--off { color: var(--muted); }
.adm .formcard { max-width: 880px; }
.check { display: flex; align-items: center; gap: 8px; }
.check input { width: 18px; height: 18px; accent-color: var(--a2); }
.loginbox { max-width: 420px; margin: 12vh auto 0; padding: 28px; }
.rowbtns { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.btn--danger { color: #ff6b6b; }
