/* TALAVISTA — ana səhifənin MOBİL görünüşü (yalnız <link media="(max-width: 760px)">). WEB görünüşünə təsir etmir.
   Eyni DOM və eyni məlumat: hero (Admin → Ana səhifə / hero), kateqoriyalar (Admin → Xidmətlər), dillər (Admin → Dillər),
   kampaniyalar (Admin → Promosiyalar) — Admin dəyişiklikləri mobildə avtomatik görünür. Açıq (ağ / bənövşəyi) premium üslub. */

/* :host — eyni dəyişənlər <tv-search> komponentinin içində (Shadow DOM) də işləsin */
:root,
:host {
    --m-ink: #1d1440;
    --m-soft: #6b6385;
    --m-line: #ebe6f6;
    --m-bg: #f6f4fb;
    --m-violet: #4c1d95;
    --m-violet-2: #6d28d9;
    --m-chip: #f3effc;
}

body {
    color: var(--m-ink);
    background: var(--m-bg);
}

.preview-flag { position: relative; font-size: 11px; padding: 6px 12px; }

/* ---------- Başlıq: loqo + dil + menyu ---------- */
.top { position: relative; padding: 12px 0; background: linear-gradient(135deg, #2e1065 0%, #4c1d95 100%); box-shadow: 0 6px 18px rgba(46, 16, 101, .28); }
.top .wrap { width: calc(100% - 32px); }
.top-in { gap: 10px; }
.brand { min-width: 0; gap: 9px; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .14); box-shadow: none; }
.brand-text { min-width: 0; }
.brand-text b { font-size: 20px; letter-spacing: .06em; color: #fff; }
.brand-text small { font-size: 7.5px; letter-spacing: .12em; color: #d9ccff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-tools { gap: 6px; flex: none; }
.top-tools .round, .top-tools .login { display: none !important; }
.top-tools .tvcur button, .top-tools .tvcur > * { padding-left: 8px; padding-right: 8px; }
.lang { padding: 8px 10px; border-radius: 12px; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.lang-panel { top: 76px; }

/* ---------- Hero: şəkil fonunda başlıq (Admin-in hero slaydları) ---------- */
.hero { padding: 0 0 4px; overflow: visible; }
.hero-stage { position: relative; height: 330px; aspect-ratio: auto; overflow: hidden; }
.hero-slide { bottom: 0 !important; height: 100% !important; background-size: cover !important; background-position: center !important; }
.hero-shade { bottom: 0 !important; height: 100% !important;
    background: linear-gradient(180deg, rgba(30, 12, 70, .72) 0%, rgba(30, 12, 70, .35) 48%, rgba(30, 12, 70, .1) 72%, rgba(30, 12, 70, .35) 100%) !important; }
.hero-stage .hero-in { position: absolute !important; inset: 0 0 auto 0; transform: none !important; width: auto; padding: 26px 20px 0 !important; justify-content: flex-start; }
.hero-title { font-size: 34px !important; line-height: 1.08 !important; color: #fff; text-shadow: 0 2px 18px rgba(20, 8, 50, .45); }
.hero-title .ht-line { display: block; }
.hero-title .grad { background: linear-gradient(90deg, #c4b5fd, #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 12px !important; max-width: 300px; font-size: 14px !important; line-height: 1.5 !important; color: #fff !important; text-shadow: 0 1px 10px rgba(20, 8, 50, .5); }
.hero-sub br { display: none; }
.hero-cta { margin-top: 14px; }
.hero-dots { top: auto !important; bottom: 74px !important; right: 18px !important; }

/* ---------- Axtarış kartı (hero üzərinə çıxır) ---------- */
.search-wrap { width: calc(100% - 24px); margin: -64px auto 0 !important; }
.search-box { padding: 12px !important; border-radius: 22px !important; background: #fff !important; border: 1px solid var(--m-line) !important;
    backdrop-filter: none !important; -webkit-backdrop-filter: none !important; box-shadow: 0 18px 40px rgba(46, 16, 101, .16) !important; }
.search-box .search-tabs { display: flex !important; gap: 8px !important; margin: 0 0 12px !important; padding: 0 0 2px !important; border-radius: 0 !important;
    background: transparent !important; overflow-x: auto; scroll-snap-type: x proximity; }
.search-box .search-tabs button { flex: none; scroll-snap-align: start; padding: 10px 14px !important; border: 1px solid var(--m-line) !important; border-radius: 13px !important;
    background: var(--m-chip) !important; color: #3b2a6b !important; font-size: 13px !important; box-shadow: none !important; }
.search-box .search-tabs button svg { color: var(--m-violet-2); opacity: 1 !important; }
.search-box .search-tabs button.on { color: #fff !important; background: linear-gradient(135deg, #5b21b6, #4c1d95) !important; border-color: transparent !important;
    box-shadow: 0 8px 16px rgba(76, 29, 149, .3) !important; }
.search-box .search-tabs button.on svg { color: #fff; }

.search-box .search { display: flex !important; flex-wrap: wrap; gap: 8px !important; padding: 0 !important; background: transparent !important; }
.search-box .field { flex: 1 1 calc(50% - 4px) !important; gap: 10px !important; padding: 10px 12px !important; border: 1px solid var(--m-line) !important; border-radius: 15px !important; background: #fff; }
.search-box .field.where { flex: 1 1 100% !important; }
.search-box .field + .field::before { display: none !important; }
.search-box .field:hover, .search-box .field:focus-within { background: #faf8ff; border-color: #d9ccf7 !important; }
.search-box .f-ico { width: 34px !important; height: 34px !important; border-radius: 11px !important; background: var(--m-chip); }
.search-box .f-ico svg { width: 18px; height: 18px; }
.search-box .f-txt label, .search-box .f-label { font-size: 10px; letter-spacing: .04em; text-transform: none; color: var(--m-soft); font-weight: 700; }
.search-box .field input, .search-box .guest-btn, .search-box select { font-size: 13.5px !important; }
.search-box .field input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0; width: 0; }
.search-box .go { flex: 1 1 calc(50% - 4px) !important; min-height: 58px !important; padding: 0 12px !important; justify-content: center; border-radius: 15px !important;
    background: linear-gradient(135deg, #5b21b6, #4c1d95) !important; box-shadow: 0 10px 22px rgba(76, 29, 149, .32) !important; font-size: 16px !important; }
.search-box [data-mode="rent_car"] .field.where, .search-box [data-mode="hostel"] .field.where, .search-box [data-mode="tour"] .field.where { flex: 1 1 100% !important; }
.search-error { color: #b42318; }
.near-panel .near-row { display: grid; gap: 8px; }
.near-panel .near-note { color: var(--m-soft); }

/* ---------- Kateqoriya kartları: üfüqi sətir ---------- */
main.wrap { width: calc(100% - 24px); }
.services { display: flex !important; gap: 10px !important; margin: 18px -12px 0 !important; padding: 2px 12px 6px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.services::-webkit-scrollbar { display: none; }
.svc { flex: 0 0 96px; scroll-snap-align: start; gap: 6px !important; padding: 14px 8px 12px !important; border-radius: 18px !important; color: var(--m-ink) !important;
    background: #f1edfb !important; border: 1px solid #e6dff8 !important; box-shadow: none !important; }
.svc:hover { transform: none; }
.svc .svc-ico { width: 54px !important; height: 54px !important; margin: 0 auto 2px !important; border-radius: 50% !important; background: #fff !important; box-shadow: 0 6px 14px rgba(76, 29, 149, .12) !important; color: var(--m-violet-2); }
.svc .svc-ico::before, .svc .svc-ico::after { display: none !important; }
.svc .svc-ico svg { width: 32px !important; height: 32px !important; color: var(--m-violet-2) !important; filter: none !important; }
.svc b { font-size: 12.5px !important; font-weight: 700; color: var(--m-ink); }
.svc small { display: none !important; }
.svc i { position: static !important; width: auto !important; height: auto !important; border: 0 !important; color: var(--m-violet-2); }
.svc .svc-soon { top: 6px; right: 6px; font-size: 9px; padding: 2px 6px; }

/* ---------- Bölmə başlıqları (mobil əlavə: "Günün kampaniyası  Hamısına bax") ---------- */
.m-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 22px 2px 12px; }
.m-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 19px; font-weight: 800; color: var(--m-ink); }
.m-head h2 svg { width: 20px; height: 20px; color: #ef4444; }
.m-head a { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--m-violet-2); }
.m-head a svg { width: 14px; height: 14px; }

/* ---------- Günün kampaniyası: üfüqi kartlar (sürüşdürmə) ---------- */
.promo { display: block !important; margin-top: 0 !important; padding-bottom: 8px !important; }
.campaign-slider .track { display: flex; gap: 12px; min-height: 0 !important; height: auto !important; margin: 0 -12px; padding: 0 12px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.campaign-slider .track::-webkit-scrollbar { display: none; }
.campaign-slider .slide { position: relative !important; inset: auto !important; flex: 0 0 86%; height: 230px; opacity: 1 !important; visibility: visible !important;
    scroll-snap-align: start; border-radius: 20px !important; box-shadow: 0 12px 26px rgba(46, 16, 101, .18) !important; }
.campaign-photo::after { background: linear-gradient(0deg, rgba(20, 10, 45, .88) 0%, rgba(20, 10, 45, .35) 55%, rgba(20, 10, 45, .05) 100%) !important; }
.campaign .deal { top: 14px !important; left: 14px !important; right: auto !important; width: auto !important; height: auto !important; padding: 6px 11px; border-radius: 12px !important;
    background: #4c1d95 !important; box-shadow: none !important; }
.campaign .deal b { font-size: 17px !important; }
.campaign .deal small { display: none; }
.campaign-text { position: absolute !important; inset: auto 0 0 0; max-width: none !important; padding: 16px !important; }
.campaign-text .pill { display: none; }
.campaign h2 { margin: 0 0 4px !important; font-family: "DM Sans", system-ui, sans-serif !important; font-size: 19px !important; font-weight: 800 !important; color: #fff; }

.campaign p { font-size: 12.5px !important; color: #ece6ff !important; padding-right: 110px; }
.campaign .btn { position: absolute; right: 14px; bottom: 14px; padding: 10px 14px !important; border-radius: 14px !important; font-size: 12.5px !important;
    color: var(--m-violet) !important; background: #fff !important; box-shadow: 0 8px 18px rgba(0, 0, 0, .18) !important; }
.campaign-slider .dots { position: static !important; margin-top: 10px; }
.campaign-slider .dots button { background: #d9d1f5 !important; }
.campaign-slider .dots button[aria-selected="true"] { background: var(--m-violet) !important; }
.campaign-slider .nav-dot { display: none !important; }

.featured-slider { margin-top: 22px; }
.featured-slider .track { min-height: 340px !important; }
.featured-slider .slide { border-radius: 20px; overflow: hidden; box-shadow: 0 12px 26px rgba(46, 16, 101, .14); }
.featured-slider .dots button { background: #d9d1f5 !important; }
.featured-slider .dots button[aria-selected="true"] { background: var(--m-violet) !important; }

/* ---------- Digər bölmələr: açıq fon üzərində tünd başlıqlar ---------- */
.block { margin-top: 30px !important; }
.block-head h2 { font-size: 21px !important; color: var(--m-ink); }
.block-head h2 small, .block-head > a { color: var(--m-violet-2) !important; }
.head-tools .mini { color: var(--m-ink); border-color: var(--m-line); background: #fff; }
.pgrid .pcard { box-shadow: 0 10px 22px rgba(46, 16, 101, .1); }
.tiles, .why { color: #fff; }

/* Alt naviqasiya üçün yer (tv-mobile.css) */
body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }

/* ---------- Düzəliş: dar telefonlar — başlıq üst-üstə düşməsin, hero mobil ölçüdə ---------- */
.top-in { display: flex; flex-wrap: nowrap; justify-content: space-between; }
.brand { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-mark svg { width: 18px; height: 18px; }
.brand-text b { font-size: 17px; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-tools { flex: 0 0 auto; gap: 5px; margin-left: 0; }
.top-tools .tvcur > button { padding: 7px 8px !important; gap: 4px !important; min-height: 38px; }
.top-tools .tvcur > button > svg:last-child, .top-tools .lang > svg { display: none !important; }
.lang { padding: 7px 9px; gap: 6px; min-height: 38px; }
.tvm-burger { width: 38px !important; height: 38px !important; }

.hero-stage { height: 250px; }
.hero-stage .hero-in { padding: 18px 18px 0 !important; }
.hero-title { font-size: 27px !important; line-height: 1.1 !important; }
.hero-sub { margin-top: 8px !important; max-width: 280px; font-size: 13px !important; line-height: 1.45 !important; }
.hero-dots { bottom: 60px !important; }
.search-wrap { margin-top: -48px !important; }

@media (max-width: 400px) {
    .brand-text small { display: none; }
    .hero-stage { height: 230px; }
    .hero-title { font-size: 24px !important; }
    .hero-sub { font-size: 12.5px !important; }
    .search-box .field input, .search-box .guest-btn { font-size: 12.5px !important; }
    .search-box .f-ico { width: 30px !important; height: 30px !important; }
    .search-box .field { gap: 8px !important; padding: 9px 10px !important; }
}

/* ---------- Düzəliş: axtarış kartı — məkan / tarixlər (2 sütun) / qonaqlar / Axtar: qonaq mətni kəsilmir, düymə tam sətir ---------- */
.search-box .search-tabs { margin: 0 -12px 12px !important; padding: 0 12px 2px !important; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); }
.search-box .search-tabs::-webkit-scrollbar { display: none; }
.search-box .search-tabs button { padding: 9px 13px !important; }
.search-box .f-txt { min-width: 0; }
.search-box .field.guests { flex: 1 1 100% !important; }
.search-box .guest-btn { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-align: left; }
.search-box .guest-pop { left: 0; right: 0; width: auto; }
.search-box .go { flex: 1 1 100% !important; min-height: 52px !important; margin-top: 2px; }
.search-box .search[hidden] { display: none !important; }
.near-panel { gap: 8px; padding: 0; }
.near-panel .near-note { margin: 2px 4px 0; }
.near-panel .near-row { grid-template-columns: 1fr 1fr; }
.near-panel .near-row > .field:first-child, .near-panel .near-go { grid-column: 1 / -1; }
.near-panel .near-city { display: grid; gap: 8px; }
.near-panel .near-city[hidden] { display: none; }
/* ---------- Düzəliş: hero şəkilləri tam görünür (2400×720 = 10:3 — sağ və sol kəsilmir), başlıq şəklin altında;
   alt mətn ("Otel, hostel, bağ evi…") mobildə göstərilmir ---------- */
.hero-stage { height: auto !important; padding-bottom: 60px; background: linear-gradient(180deg, #2e1065 0%, #4c1d95 100%); }
.hero-slide { top: 0 !important; bottom: auto !important; height: 30vw !important; background-size: 100% 100% !important; background-position: center !important; }
.hero-shade { top: 0 !important; bottom: auto !important; height: 30vw !important;
    background: linear-gradient(180deg, rgba(30, 12, 70, 0) 55%, rgba(46, 16, 101, .65) 100%) !important; }
.hero-stage .hero-in { position: relative !important; inset: auto !important; padding: calc(30vw + 14px) 18px 0 !important; }
.hero-title { text-shadow: none; }
.hero-sub { display: none !important; }
.hero-dots { top: calc(30vw - 22px) !important; bottom: auto !important; right: 14px !important; }
/* Çox dar telefonlar (≤ 340px): axtarış sahələri tam sətir — tarixlər kəsilmir */
@media (max-width: 340px) {
    .search-box .field { flex: 1 1 100% !important; }
}
/* ---------- Düzəliş: başlıq ("Azərbaycanı kəşf et TALAVISTA ilə") şəklin üzərində — kiçik, səliqəli; şəkil yenə tam görünür (10:3).
   Axtarış kartı şəklin altından başlayır (başlığı örtmür) ---------- */
.hero-stage { padding: 30vw 0 0 !important; }
.hero-stage .hero-in { position: absolute !important; inset: 0 0 auto 0 !important; height: 30vw; padding: 0 16px 10px !important;
    display: flex; flex-direction: column; justify-content: flex-end; }
.hero-shade { background: linear-gradient(180deg, rgba(30, 12, 70, 0) 30%, rgba(30, 12, 70, .78) 100%) !important; }
.hero-title { font-size: clamp(16px, 5vw, 22px) !important; line-height: 1.12 !important; letter-spacing: 0 !important; text-shadow: 0 2px 10px rgba(20, 8, 50, .65) !important; }
.hero-dots { top: 10px !important; bottom: auto !important; right: 12px !important; }
.search-wrap { margin-top: 12px !important; }
/* Kartlar: gizli (ekran oxuyucusu üçün) mətn kartdan kənara çıxıb səhifəni genişləndirməsin; xüsusiyyətlər dar kartda sətrə keçsin */
.pgrid .pcard { position: relative; }
.grid6 .pc-facts { flex-wrap: wrap; row-gap: 6px; }
/* TALAVISTA loqosu (qartal + ad, şəffaf fon) — ad və ikonun yerində */
.top .brand .tv-wordmark { height: 34px; }
@media (max-width: 360px) { .top .brand .tv-wordmark { height: 28px; } }

/* Tünd fonda loqonun tünd bənövşəyi hərfləri (VISTA) seçilsin: nazik işıqlı kontur; ölçü */
.top .brand .tv-wordmark { height: 40px; }
@media (max-width: 360px) { .top .brand .tv-wordmark { height: 34px; } }

/* Yeni loqo (ağ quş + TALAVISTA + öz şüarı, şəffaf fon): kontur lazım deyil; yanındakı köhnə şüar təkrarlanmır */
img.tv-wordmark { filter: none !important; }


/* ---------- "Niyə TALAVISTA?" (mobil) — fon tam en, kəsilmir; sol tərəf şüşə; ikonlar kiçik; premium kart ---------- */
.why { margin: 30px 12px 0 !important; padding: 14px 0 !important; border-radius: 24px; isolation: isolate;
    box-shadow: 0 18px 40px rgba(30, 18, 70, .28), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.why-photo { inset: 0 !important; width: 100% !important; opacity: 1 !important; background-position: center !important; }
.why-photo::after { background: linear-gradient(90deg, rgba(255, 255, 255, .10) 0%, rgba(30, 18, 70, .55) 45%, rgba(30, 18, 70, .88) 100%) !important; }
.why-in { gap: 12px !important; padding: 0 12px; }
.why-main { position: relative; padding: 20px 14px 18px; border-radius: 20px; overflow: hidden;
    background: linear-gradient(115deg, rgba(255, 255, 255, .20) 0%, rgba(255, 255, 255, .07) 45%, rgba(255, 255, 255, .03) 100%);
    border: 1px solid rgba(255, 255, 255, .22);
    -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 10px 30px rgba(14, 9, 34, .35); }
.why-main::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 42%; pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0)); }
.why h2 { font-size: 25px !important; }
.why-main > p { margin: 4px 0 16px !important; font-size: 12.5px !important; }
.why ul { gap: 14px 10px !important; }
.why li { gap: 3px !important; }
.why li svg { width: 40px !important; height: 40px !important; padding: 10px !important; margin-bottom: 4px !important; }
.why li b { font-size: 13px !important; }
.why li small { font-size: 11px !important; }
.why li small::before { width: 14px; margin: 1px auto 4px; }
.why-card { padding: 16px 18px !important; border-radius: 18px !important; }
.why-card b { font-size: 18px !important; padding-right: 44px; }
.why-card .plane { width: 30px !important; height: 30px !important; top: -6px !important; }
.why-card i { width: 32px !important; height: 32px !important; bottom: 16px !important; }
