/* Zomin Resort — premium tog‘ turizmi katalogi */
:root {
  --forest: #153F36;
  --forest-2: #1d5246;
  --cream: #F8F5EE;
  --paper: #FFFEFA;
  --ink: #182F29;
  --muted: #55665D;
  --line: #D9DED4;
  --mist: #EEF2EB;
  --clay: #A85035;
  --clay-2: #934329;
  --focus: #36715F;
  --danger: #A63A2B;
  --ok: #2F6B4F;
  --warn-bg: #FBF1E4;
  --radius-card: 18px;
  --radius-hero: 22px;
  --shadow-sm: 0 1px 2px rgba(24, 47, 41, .06);
  --shadow-md: 0 10px 30px -12px rgba(24, 47, 41, .25);
  --gutter: 64px;
  --max: 1512px;
  --header-h: 78px;
  --font: "DM Sans", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }

.ic { width: 20px; height: 20px; flex: none; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  border: 1px solid transparent; font-weight: 650; font-size: 15px; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color .18s, border-color .18s, color .18s, transform .12s, box-shadow .18s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .65; cursor: progress; transform: none; }
.btn-forest { background: var(--forest); color: #fff; }
.btn-forest:hover { background: var(--forest-2); }
.btn-clay { background: var(--clay); color: #fff; }
.btn-clay:hover { background: var(--clay-2); }
.btn-ghost { background: var(--paper); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--mist); border-color: #c8d0c4; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn-danger { background: var(--paper); border-color: #e3c2bb; color: var(--danger); }
.btn-danger:hover { background: #fbefec; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  transition: background-color .18s;
}
.icon-btn:hover { background: var(--mist); }
.link-btn { background: none; border: 0; padding: 10px 0; min-height: 44px; display: inline-flex; align-items: center; color: inherit; text-decoration: none; font-weight: 500; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--clay); color: #fff; font-size: 12px; font-weight: 700; }

/* ---------- Header ---------- */
.site-header { background: var(--cream); position: relative; z-index: 5; }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; min-height: 44px; }
.logo-mark { width: 40px; height: 20px; }
.top-nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-link { background: var(--paper); border: 1px solid var(--line); padding: 0 18px; min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; font-size: 14px; color: var(--ink); text-decoration: none; border-radius: 999px; white-space: nowrap; transition: background-color .18s, border-color .18s; }
.nav-link:hover { background: var(--mist); }
.nav-link[aria-current="page"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.btn-nav { margin-left: 12px; }
.lang { position: relative; display: inline-flex; align-items: center; height: 44px; }
.lang select {
  appearance: none; -webkit-appearance: none; border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  font-weight: 600; font-size: 14px; padding: 0 36px 0 18px; height: 44px; border-radius: 999px; cursor: pointer; transition: background-color .18s;
}
.lang select:hover { background: var(--mist); }
.lang-chev { position: absolute; right: 14px; width: 16px; height: 16px; pointer-events: none; }

/* ---------- Hero ---------- */
.hero-wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; position: relative; }
.hero {
  position: relative; overflow: hidden; border-radius: var(--radius-hero);
  min-height: clamp(220px, 18vw, 270px);
  background: #23463c url("/assets/hero.jpg") center 46% / cover no-repeat;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding: 30px 48px 58px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14, 40, 33, .78) 0%, rgba(14, 40, 33, .5) 36%, rgba(14, 40, 33, 0) 62%);
}
.hero > * { position: relative; }
.hero-copy { color: #fff; max-width: 620px; align-self: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.eyebrow .ic { width: 16px; height: 16px; }
.hero h1 { font-size: clamp(36px, 3.6vw, 54px); line-height: 1.02; letter-spacing: -0.035em; }
.hero-text { margin-top: 14px; font-size: 16px; font-weight: 500; opacity: .96; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600; font-size: 14px;
  background: rgba(21, 63, 54, .62); border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); align-self: flex-end; margin-bottom: -8px;
}
.hero-cta:hover { background: rgba(21, 63, 54, .82); }
.hero-cta .ic { width: 18px; height: 18px; }

/* ---------- Search ---------- */
.search {
  position: relative; z-index: 2; margin: -32px auto 0; width: calc(100% - 2 * (var(--gutter) - 16px));
  display: flex; align-items: center; gap: 0; padding: 7px 7px 7px 12px;
  background: var(--paper); border-radius: 999px; box-shadow: var(--shadow-md); border: 1px solid rgba(217, 222, 212, .7);
}
.search-field {
  flex: 1 1 0; min-width: 0; position: relative; display: flex; align-items: center; gap: 14px;
  padding: 8px 20px; min-height: 56px; border-radius: 999px; cursor: pointer;
}
.search-field + .search-field::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
.search-field:hover { background: var(--mist); }
.search-field:hover::before, .search-field:hover + .search-field::before { opacity: 0; }
.search-field:focus-within { box-shadow: inset 0 0 0 2px var(--focus); }
.search-ic { color: var(--ink); }
.search-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.search-label { font-size: 12px; color: var(--muted); font-weight: 500; }
.search-field select {
  appearance: none; -webkit-appearance: none; border: 0; background: transparent; padding: 0; margin: 0;
  font-weight: 700; font-size: 15px; color: var(--ink); width: 100%; cursor: pointer; text-overflow: ellipsis;
}
/* Butun maydon bosiladi: select maydonni to‘liq qoplaydi */
.search-field select { position: absolute; inset: 0; padding: 26px 48px 8px 58px; border-radius: 999px; }
.search-field select:focus-visible { outline: none; }
.search-label { padding-bottom: 20px; }
.search-chev { width: 18px; height: 18px; pointer-events: none; color: var(--muted); }
.search-btn { min-height: 56px; padding: 0 30px; flex: none; margin-left: 6px; }

/* ---------- Catalog ---------- */
.catalog { padding-top: 36px; padding-bottom: 24px; }
.catalog-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.catalog-head h2 { font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -0.03em; }
.count { color: var(--muted); font-size: 14px; white-space: nowrap; }
.catalog-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); font-weight: 600; font-size: 14px; color: var(--ink); transition: background-color .18s, border-color .18s;
}
.chip:hover { background: var(--mist); }
.chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.filters-btn { min-height: 44px; }
.sample-notice { background: var(--mist); border: 1px solid var(--line); color: var(--muted); border-radius: 14px; padding: 12px 16px; font-size: 14px; margin-bottom: 18px; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #cbd3c6; }
.card:focus-within { box-shadow: 0 0 0 2px var(--focus); }
.card-media { position: relative; aspect-ratio: 1.78; background: var(--mist); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.sample-img { width: 100%; height: 100%; background-image: url("/assets/stays.jpg"); background-size: 200% auto; background-repeat: no-repeat; }
.sample-img[data-q="hovli"] { background-position: 0% 12%; }
.sample-img[data-q="sori"] { background-position: 100% 12%; }
.sample-img[data-q="dom"] { background-position: 0% 88%; }
.sample-img[data-q="camp"] { background-position: 100% 88%; }
.tag { position: absolute; top: 12px; left: 12px; background: rgba(255, 254, 250, .95); color: var(--ink); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.tag-sample { left: auto; right: 12px; background: rgba(21, 63, 54, .86); color: #fff; }
.card-go { position: absolute; right: 12px; bottom: 12px; width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; background: rgba(255, 254, 250, .95); color: var(--ink); }
.card-go .ic { width: 16px; height: 16px; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.card-title { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; overflow-wrap: anywhere; }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; }
.card-link:focus-visible { outline: none; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--muted); font-size: 13px; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta .ic { width: 15px; height: 15px; }

.state { text-align: center; padding: 48px 20px; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius-card); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.state h3 { font-size: 20px; }
.state p { color: var(--muted); max-width: 420px; }
.state .btn { margin-top: 8px; }
.skeleton { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; }
.skeleton .sk-media { aspect-ratio: 1.78; background: linear-gradient(90deg, var(--mist) 0%, #f6f8f3 50%, var(--mist) 100%); background-size: 200% 100%; animation: sk 1.3s linear infinite; }
.skeleton .sk-line { height: 14px; margin: 16px 18px 0; border-radius: 6px; background: var(--mist); }
.skeleton .sk-line:last-child { width: 60%; margin-bottom: 18px; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- Pass band ---------- */
.pass-band { padding-top: 8px; padding-bottom: 28px; }
.pass-inner {
  display: flex; align-items: center; gap: 18px; background: var(--forest); color: #fff;
  border-radius: var(--radius-card); padding: 12px 14px 12px 22px;
}
.pass-key { width: 30px; height: 30px; color: #E7B49E; flex: none; padding-right: 0; }
.pass-copy { flex: 1; display: flex; align-items: baseline; gap: 4px 20px; flex-wrap: wrap; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .2); }
.pass-copy h2 { font-size: 18px; font-weight: 700; }
.pass-price { font-size: 15px; font-weight: 500; opacity: .92; }
.pass-btn { min-width: 0; min-height: 44px; padding: 0 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: #E6EEE9; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 32px; padding-top: 20px; padding-bottom: 16px; }
.logo-light { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 8px 20px; flex-wrap: wrap; }
.footer-brand p { opacity: .85; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 24px; align-items: center; justify-content: flex-end; }
.footer-copy { grid-column: 1 / -1; font-size: 12px; opacity: .7; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 10px; }

/* ---------- Bottom nav (phone) ---------- */
.bottom-nav { display: none; }

/* ---------- Pages ---------- */
.page { padding-top: 24px; padding-bottom: 64px; min-height: 60vh; }
.back-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; }
.back-link:hover { color: var(--ink); }
.back-link .ic { width: 18px; height: 18px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 12px 0 24px; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; }
.page-head p { margin-top: 6px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.stat b { display: block; font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-size: 14px; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tab { background: none; border: 0; border-bottom: 2px solid transparent; padding: 0 14px; min-height: 48px; font-weight: 650; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; margin-bottom: -1px; }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--forest); }
.field.inline-field { display: inline-flex; flex-direction: row; align-items: center; gap: 10px; margin-bottom: 16px; }
.inline-field select { width: auto; min-width: 200px; }
.rows { display: flex; flex-direction: column; gap: 12px; }
.row {
  display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 18px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 12px;
}
.row-media { width: 132px; aspect-ratio: 1.4; border-radius: 12px; overflow: hidden; background: var(--mist); }
.row-media img { width: 100%; height: 100%; object-fit: cover; }
.row-media .ic { margin: auto; color: var(--muted); }
.row-media.empty { display: grid; place-items: center; }
.row-main { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.row-title { font-weight: 700; font-size: 17px; overflow-wrap: anywhere; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.row-note { font-size: 14px; background: var(--warn-bg); border-radius: 10px; padding: 8px 10px; color: var(--ink); overflow-wrap: anywhere; }
.row-note b { font-weight: 650; }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.row-report { grid-template-columns: minmax(0, 1fr) auto; padding: 16px 18px; }
.status { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--mist); color: var(--forest); white-space: nowrap; }
.status-pending, .status-open { background: #FBEBD9; color: #8A4B12; }
.status-published, .status-resolved { background: #E1EFE6; color: #1E5A3E; }
.status-hidden { background: #ECEDEA; color: #4F5752; }
.status-rejected { background: #F6E0DB; color: #8E2F20; }
.status-archived { background: #E6E8EE; color: #3F4760; }
.empty-line { padding: 32px; text-align: center; color: var(--muted); background: var(--paper); border: 1px dashed var(--line); border-radius: 16px; }

/* ---------- Modals ---------- */
.modal {
  padding: 0; border: 0; background: transparent; color: var(--ink);
  width: min(560px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto;
}
.modal-wide { width: min(1040px, calc(100% - 32px)); }
.modal::backdrop { background: rgba(12, 30, 25, .55); backdrop-filter: blur(2px); }
.modal[open] { animation: pop .2s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.99); } }
.modal-box { display: flex; flex-direction: column; max-height: calc(100dvh - 48px); background: var(--paper); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .4); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px 14px 24px; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 22px; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.modal-body { padding: 20px 24px 24px; overflow-y: auto; overscroll-behavior: contain; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; padding: 14px 24px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
.modal-foot .btn { flex: 0 1 auto; }

.opt-group { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.opt-group legend { font-weight: 700; font-size: 15px; margin-bottom: 10px; padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts-col { flex-direction: column; }
.opt { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-weight: 550; font-size: 14px; transition: background-color .15s, border-color .15s; }
.opts-col .opt { border-radius: 14px; }
.opt:hover { background: var(--mist); }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt:has(input:checked) { background: var(--forest); border-color: var(--forest); color: #fff; }
.opt:has(input:focus-visible) { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--focus); }
.opt .ic { width: 18px; height: 18px; }

/* Place detail */
.place-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; padding-top: 20px; }
.gallery { position: relative; border-radius: 18px; overflow: hidden; background: var(--mist); aspect-ratio: 1.5; }
.gallery-track {
  display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain; touch-action: pan-x pan-y; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.gallery-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery .nav-btn { position: absolute; top: 50%; translate: 0 -50%; background: rgba(255, 254, 250, .92); border: 0; }
.gallery .nav-btn.prev { left: 12px; }
.gallery .nav-btn.next { right: 12px; }
.gallery .counter-pill { position: absolute; right: 12px; bottom: 12px; background: rgba(12, 30, 25, .7); color: #fff; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.place-info { margin-top: 20px; display: flex; flex-direction: column; gap: 18px; }
.place-info h3 { font-size: 16px; margin-bottom: 8px; letter-spacing: -0.01em; }
.place-desc { white-space: pre-line; overflow-wrap: anywhere; color: var(--ink); }
.amen-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.amen-list li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--mist); font-size: 14px; font-weight: 550; }
.amen-list .ic { width: 18px; height: 18px; color: var(--forest); }
.map-link { align-self: flex-start; }
.contact-card { position: sticky; top: 0; align-self: start; background: var(--forest); color: #fff; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.contact-card h3 { font-size: 18px; }
.contact-card p { font-size: 14px; opacity: .9; }
.contact-card .note { font-size: 13px; opacity: .8; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 12px; }
.contact-card .btn { width: 100%; }
.contact-card .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.contact-card .btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.phone-big { font-size: 24px; font-weight: 800; letter-spacing: .01em; }
.contact-warn { background: rgba(255, 255, 255, .1); border-radius: 12px; padding: 10px 12px; font-size: 13px; }

/* Pass dialog */
.pass-hero { background: var(--forest); color: #fff; border-radius: 16px; padding: 20px; display: flex; gap: 16px; align-items: center; }
.pass-hero svg { width: 40px; height: 40px; color: #E7B49E; flex: none; }
.pass-hero b { display: block; font-size: 24px; font-weight: 800; }
.pass-hero span { opacity: .85; font-size: 14px; }
.checklist { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-direction: column; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .ic { color: var(--ok); margin-top: 2px; }
.warn { background: var(--warn-bg); border: 1px solid #EBD3B4; border-radius: 14px; padding: 12px 14px; font-size: 14px; color: #6B3D12; }
.pass-state { margin: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); }
.pass-actions { display: flex; flex-direction: column; gap: 10px; }
.pass-actions .btn { width: 100%; }

/* Forms */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.span-2 { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-weight: 650; font-size: 14px; }
.field small, .hint { color: var(--muted); font-size: 13px; }
.hint-warn { color: #8A4B12; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; font-size: 16px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.45; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%23182F29' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #bcc6b7; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(54, 113, 95, .2); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-err { color: var(--danger); font-size: 13px; font-style: normal; font-weight: 550; }
.field-err:empty { display: none; }
.form-error { background: #FBEDEA; border: 1px solid #EBC5BD; color: #7D2B1D; border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 16px; font-weight: 550; }
.form-ok { background: #E7F2EB; border-color: #BFD9C8; color: #1E5A3E; }
.counter { white-space: nowrap; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14px; padding: 12px 14px; border-radius: 14px; background: var(--mist); }
.check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--forest); }
.photo-previews { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.photo-previews:empty { display: none; }
.photo-previews figure { margin: 0; aspect-ratio: 1.28; border-radius: 12px; overflow: hidden; background: var(--mist); position: relative; }
.photo-previews img { width: 100%; height: 100%; object-fit: cover; }
.photo-previews figcaption { position: absolute; left: 6px; bottom: 6px; font-size: 11px; background: rgba(12, 30, 25, .7); color: #fff; padding: 2px 7px; border-radius: 999px; }
.file-btn { position: relative; align-self: flex-start; cursor: pointer; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-btn:has(input:focus-visible) { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--focus); }
.admin-fields { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; padding: 14px; border-radius: 14px; border: 1px dashed var(--line); }
.modal-narrow { width: min(440px, calc(100% - 32px)); }
.login-step { display: flex; flex-direction: column; gap: 16px; }
.btn-block { width: 100%; }
.code-input { font-size: 24px !important; letter-spacing: .4em; text-align: center; font-weight: 700; }
.login-links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.login-links .link-btn { color: var(--forest); font-weight: 650; }
.login-links .link-btn:disabled { color: var(--muted); cursor: default; text-decoration: none; }
.steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 0; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow-md); font-weight: 550; font-size: 14px; max-width: calc(100% - 32px); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  :root { --gutter: 40px; }
  .search-field { padding: 8px 14px; }
  .search-field select { padding-left: 50px; }
}
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-link { padding: 0 12px; }
  .btn-nav { margin-left: 4px; padding: 0 16px; }
  .top-nav .nav-link[data-nav="catalog"] { display: none; }
  .search { width: calc(100% - 32px); }
  .search-btn { padding: 0 20px; }
  .place-body { grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; }
  .pass-copy { flex-direction: column; gap: 2px; }
}
@media (max-width: 900px) and (min-width: 761px) {
  .search-field .search-ic { display: none; }
  .search-field select { padding-left: 20px; }
  .search-field { gap: 8px; }
  .top-nav .nav-link[data-nav="catalog"] { display: none; }
}
@media (max-width: 760px) {
  :root { --gutter: 18px; --header-h: 63px; --radius-card: 13px; }
  .top-nav, .hero-wrap { display: none; }
  .header-inner { justify-content: space-between; }
  .logo { font-size: 17px; }
  .logo-mark { width: 34px; height: 17px; }
  .lang { border-left: 0; padding-left: 0; }
  .site-header { border-bottom: 1px solid var(--line); }
  .catalog { padding-top: 22px; }
  .catalog-head { margin-bottom: 14px; }
  .catalog-head h2 { font-size: 26px; }
  .catalog-tools { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 16px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chips { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); padding-right: 40px; }
  .chip { flex: none; padding: 0 13px; }
  .filters-btn { width: 100%; border-radius: 14px; }
  .grid { gap: 12px; }
  .card-media { aspect-ratio: 1.28; }
  .tag { top: 8px; left: 8px; font-size: 11px; padding: 3px 8px; }
  .tag-sample { left: auto; right: 8px; }
  .card-go { right: 8px; bottom: 8px; width: 28px; height: 28px; }
  .card-body { padding: 10px 10px 12px; gap: 6px; }
  .card-title { font-size: 16px; }
  .meta { flex-direction: column; gap: 4px; font-size: 12px; }
  .meta .ic { width: 13px; height: 13px; }
  .sample-notice { font-size: 13px; padding: 10px 12px; margin-bottom: 14px; }
  .chips { gap: 6px; }
  .chip { min-height: 44px; }
  .skeleton .sk-media { aspect-ratio: 1.28; }
  .pass-band { padding-bottom: 20px; }
  .pass-inner { flex-wrap: wrap; padding: 14px; gap: 12px; }
  .pass-key { width: 26px; height: 26px; }
  .pass-copy { padding-left: 12px; }
  .pass-copy h2 { font-size: 16px; }
  .pass-price { font-size: 15px; font-weight: 700; }
  .pass-btn { width: 100%; min-width: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 8px; padding-top: 16px; padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .footer-links { justify-content: flex-start; gap: 0 18px; }

  .bottom-nav {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    background: rgba(255, 254, 250, .97); border-top: 1px solid var(--line);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .bn-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; background: none; border: 0; color: var(--ink); text-decoration: none; font-size: 12px; font-weight: 600; border-radius: 12px; padding: 4px 2px; text-align: center; line-height: 1.15; }
  .bn-item .ic { width: 22px; height: 22px; }
  .bn-item[aria-current="page"] { color: var(--clay); }
  .bn-item:active { background: var(--mist); }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }

  .page { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .stat { padding: 12px; }
  .stat b { font-size: 24px; }
  .stat span { font-size: 12px; }
  .row { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; }
  .row-media { width: 88px; }
  .row-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .row-report { grid-template-columns: 1fr; }
  .field.inline-field { display: flex; }
  .inline-field select { flex: 1; min-width: 0; }

  .modal, .modal-wide, .modal-narrow { width: 100%; max-height: 100dvh; margin: auto 0 0; }
  .modal-box { max-height: calc(100dvh - 24px); border-radius: 22px 22px 0 0; }
  .modal-head { padding: 14px 14px 12px 18px; }
  .modal-head h2 { font-size: 19px; }
  .modal-body { padding: 16px 18px 20px; }
  .modal-foot { padding-left: 18px; padding-right: 18px; }
  .modal-foot .btn { flex: 1 1 0; padding: 0 14px; }
  .place-body { grid-template-columns: 1fr; gap: 18px; }
  .contact-card { position: static; }
  .gallery { aspect-ratio: 1.28; border-radius: 14px; }
  .form-grid { grid-template-columns: 1fr; }
  .admin-fields { grid-template-columns: 1fr; }
  .photo-previews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 360px) {
  .grid { gap: 10px; }
  .card-title { font-size: 15px; }
  .bn-item { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Logo: “Tog‘li Z” belgisi + ZOMIN / RESORT ---------- */
.logo { gap: 10px; }
.logo-mark { width: 42px; height: 42px; flex: none; color: var(--forest); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-size: 23px; font-weight: 800; letter-spacing: .05em; color: var(--forest); }
.logo-text small { margin-top: 5px; font-size: 10.5px; font-weight: 600; letter-spacing: .5em; color: var(--clay); }
.logo-light .logo-mark, .logo-light .logo-text b { color: #fff; }
.logo-light .logo-text small { color: #E9A58A; }
.tg-welcome .tg-welcome-badge svg { width: 48px; height: 48px; }
@media (max-width: 760px) {
  .logo-mark { width: 36px; height: 36px; }
  .logo-text b { font-size: 20px; }
  .logo-text small { font-size: 9.5px; margin-top: 4px; }
}

/* ---------- Admin panel: faqat kerakli narsalar, ixcham ---------- */
.view-admin .top-nav,
.view-admin .bottom-nav,
.view-admin #viewAdmin .back-link,
.view-admin #viewAdmin [data-add-listing],
.view-admin .footer-links [data-open],
.view-admin #footerMine,
.view-admin .footer-brand p { display: none !important; }
.view-admin .lang { margin-left: auto; }
.view-admin #viewAdmin { padding-top: 24px; }
.view-admin .page-head { margin: 0 0 16px; }
.view-admin .page-head h1 { font-size: 26px; }
.view-admin .stats { gap: 12px; margin-bottom: 18px; }
.view-admin .stat { padding: 12px 16px; border-radius: 14px; }
.view-admin .stat b { font-size: 22px; }
.view-admin .stat span { font-size: 13px; }
.view-admin .footer-inner { padding-top: 14px; padding-bottom: 12px; gap: 6px 24px; }
.view-admin .footer-copy { padding-top: 8px; }
@media (max-width: 760px) {
  .view-admin .page-head h1 { font-size: 22px; }
  .view-admin .stats { gap: 8px; }
  .view-admin .stat { padding: 10px 12px; }
  .view-admin .stat b { font-size: 19px; }
  .view-admin .stat span { font-size: 12px; }
  .view-admin .footer-inner { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
}
.view-admin.app-ui #viewAdmin { padding-bottom: 28px; }
.view-admin .footer-inner { grid-template-columns: 1fr auto auto; }
.view-admin .footer-copy { grid-column: auto; border-top: 0; padding-top: 0; }
html.app-ui.view-admin .site-header { display: block !important; }

/* Footer doim ekran pastida: sahifa qisqa bo‘lsa ham o‘rtada qolmaydi */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }

/* ---------- Premium hotellar ---------- */
.hotels { padding-top: 40px; }
.hotels-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; margin-bottom: 16px; }
.hotels-head h2 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.03em; }
.hotels-sub { color: var(--muted); font-size: 14px; }
.hotels-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 2px 0 6px;
}
.hotels-row::-webkit-scrollbar { display: none; }
.hotel-card {
  position: relative; scroll-snap-align: start; aspect-ratio: 1.15; border-radius: var(--radius-card); overflow: hidden;
  background: var(--forest); box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s;
}
.hotel-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.hotel-card:focus-within { box-shadow: 0 0 0 2px var(--focus); }
.hotel-media { position: absolute; inset: 0; }
.hotel-media img { width: 100%; height: 100%; object-fit: cover; }
.hotel-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 40, 34, 0) 42%, rgba(16, 40, 34, .9) 100%); pointer-events: none; }
/* Namuna hotel rasmlari (kartada ham, ma’lumot oynasida ham) */
html .sample-img[data-q="h2"], html .sample-img[data-q="h4"] { background-image: url("/assets/stays.jpg"); background-size: 200% auto; }
html .sample-img[data-q="h1"] { background-image: url("/assets/hero.jpg"); background-size: cover; background-position: 30% 50%; }
html .sample-img[data-q="h2"] { background-position: 0% 88%; }
html .sample-img[data-q="h3"] { background-image: url("/assets/hero.jpg"); background-size: cover; background-position: 85% 40%; }
html .sample-img[data-q="h4"] { background-position: 100% 12%; }
.hotel-card { display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.hotel-media { z-index: -1; }
.hotel-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; pointer-events: none; }
.hotel-title { font-size: 18px; font-weight: 700; line-height: 1.2; color: #fff; letter-spacing: -0.01em; }
.hotel-title .card-link { pointer-events: auto; }
.hotel-card .meta { color: rgba(255, 255, 255, .85); font-size: 12.5px; }
.hotel-card .meta .ic { width: 14px; height: 14px; }
.hotel-card .tag { z-index: 2; pointer-events: none; }
@media (max-width: 1024px) {
  .hotels-row { grid-auto-columns: calc((100% - 2 * 18px) / 2.6); }
}
@media (max-width: 760px) {
  .hotels { padding-top: 22px; }
  .hotels-row { grid-auto-columns: 72%; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scroll-padding-left: var(--gutter); }
  .hotel-title { font-size: 16px; }
}

/* Premium hotellar: kartalar 2 barobar kichikroq */
.hotels-row { grid-auto-columns: calc((100% - 7 * 14px) / 8); gap: 14px; }
.hotel-card { border-radius: 14px; }
.hotel-body { padding: 8px 10px; gap: 2px; }
.hotel-title { font-size: 14px; }
.hotel-card .meta { font-size: 11px; }
.hotel-card .meta .ic { width: 12px; height: 12px; }
.hotel-card .tag { top: 7px; left: 7px; font-size: 10.5px; padding: 2px 7px; }
.hotel-card .tag-sample { left: auto; right: 7px; }
@media (max-width: 1024px) {
  .hotels-row { grid-auto-columns: calc((100% - 4 * 14px) / 5.2); }
}
@media (max-width: 760px) {
  .hotels-row { grid-auto-columns: 40%; gap: 10px; }
}

/* Dam olish joylari kartalari 1.5 barobar kichikroq */
.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card-body { padding: 11px 13px 13px; gap: 6px; }
.card-title { font-size: 16px; }
.card .meta { font-size: 12px; gap: 3px 12px; }
.card .meta .ic { width: 13px; height: 13px; }
.card .tag { top: 9px; left: 9px; font-size: 11px; padding: 3px 8px; }
.card .tag-sample { left: auto; right: 9px; }
.card-go { right: 9px; bottom: 9px; width: 26px; height: 26px; }
.card-go .ic { width: 13px; height: 13px; }
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Belgilar (tur + namuna) bir qatorda, chap yuqorida ---------- */
.tags { position: absolute; top: 9px; left: 9px; right: 52px; display: flex; flex-wrap: wrap; gap: 5px; z-index: 2; pointer-events: none; }
.tags .tag { position: static; }

/* ---------- Sevimlilar: yurakcha tugmasi ---------- */
.fav-btn {
  position: absolute; top: 6px; right: 6px; z-index: 3; width: 38px; height: 38px; border-radius: 999px; border: 0;
  display: grid; place-items: center; background: rgba(255, 254, 250, .92); color: var(--ink); cursor: pointer;
  box-shadow: 0 2px 8px -2px rgba(16, 40, 34, .35); transition: transform .15s;
}
.fav-btn .ic { width: 20px; height: 20px; }
.fav-btn[aria-pressed="true"] { --heart-fill: #E0453A; color: #E0453A; }
.fav-btn:hover { transform: scale(1.06); }
.fav-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.fav-btn.pop .ic { animation: fav-pop .32s ease-out; }
@keyframes fav-pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.fav-head { position: static; margin-left: auto; box-shadow: none; background: var(--mist); flex: none; }
.modal-head .fav-head + .icon-btn { margin-left: 6px; }
.hotel-card .fav-btn { top: 5px; right: 5px; width: 36px; height: 36px; }
.hotel-card .fav-btn .ic { width: 18px; height: 18px; }
.hotel-card .tags { top: 7px; left: 7px; right: 46px; gap: 4px; }

/* ---------- Profil: Mening paketim qatori ---------- */
.profile-pass {
  width: 100%; display: flex; align-items: center; gap: 14px; margin: 0 0 18px; padding: 14px 16px; text-align: left;
  background: var(--forest); color: #fff; border: 0; border-radius: 16px; cursor: pointer;
}
.profile-pass > .ic { width: 24px; height: 24px; color: #E7B49E; flex: none; }
.profile-pass-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.profile-pass-text b { font-size: 16px; }
.profile-pass-text small { font-size: 13px; opacity: .85; }
.profile-pass-go { width: 20px; height: 20px; flex: none; opacity: .8; }
#favEmpty p { color: var(--muted); }
@media (max-width: 1180px) and (min-width: 761px) {
  .top-nav .nav-link[data-nav="catalog"] { display: none; }
}
@media (max-width: 1024px) and (min-width: 761px) {
  .top-nav .nav-link[data-nav="favorites"] { display: none; }
}

/* ---------- E’lon turi: Dam olish joyi / Premium hotel ---------- */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; background: var(--mist); border-radius: 999px; border: 1px solid var(--line); }
.seg-opt { position: relative; display: block; cursor: pointer; }
.seg-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg-opt span { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 12px; border-radius: 999px; font-weight: 650; font-size: 14px; color: var(--ink); text-align: center; transition: background-color .15s, color .15s; }
.seg-opt input:checked + span { background: var(--forest); color: #fff; box-shadow: var(--shadow-sm); }
.seg-opt input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.cat-badge { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--mist); color: var(--forest); border: 1px solid var(--line); }
.cat-badge.cat-hotel { background: rgba(168, 80, 53, .12); color: var(--clay); border-color: rgba(168, 80, 53, .3); }

/* ---------- Galereya: ixcham strelkalar va nuqtalar ---------- */
.gal-arrow {
  position: absolute; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border-radius: 999px; border: 0; padding: 0;
  display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: var(--ink); cursor: pointer;
  box-shadow: 0 2px 8px -2px rgba(16, 40, 34, .35); transition: background-color .15s, transform .15s;
}
.gal-arrow:hover { background: #fff; transform: scale(1.06); }
.gal-arrow .ic { width: 15px; height: 15px; }
.gal-arrow.prev { left: 10px; }
.gal-arrow.next { right: 10px; }
.gallery-dots { display: flex; justify-content: center; gap: 2px; margin-top: 8px; }
.gal-dot { width: 18px; height: 18px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.gal-dot::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: #CBD3C6; transition: background-color .15s, width .15s; }
.gal-dot[aria-current="true"]::before { background: var(--forest); width: 14px; }
.gal-dot:focus-visible { outline: 2px solid var(--focus); outline-offset: 0; border-radius: 999px; }

/* Pullik rejim o‘chiq: paket banneri yashirin (html.paid-mode bo‘lganda qaytadi). Default yashirin — miltillamaydi. */
html:not(.paid-mode) .pass-band { display: none; }
.toast:not([hidden]) { animation: toast-in .2s ease-out; }
.toast.toast-out { opacity: 0; transition: opacity .2s ease-in; }
@keyframes toast-in { from { opacity: 0; translate: -50% 8px; } to { opacity: 1; translate: -50% 0; } }
@media (prefers-reduced-motion: reduce) { .toast:not([hidden]) { animation: none; } .toast.toast-out { transition: none; } }
.phone-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* E’lon formasi: bir nechta telefon va joylashuv */
.phones-field > label, .loc-field > label { font-weight: 650; font-size: 14px; }
.phone-extra { display: flex; flex-direction: column; gap: 8px; }
.phone-extra:empty { display: none; }
.phone-row { display: flex; gap: 8px; align-items: center; }
.phone-row input { flex: 1; min-width: 0; }
.phone-row .phone-remove { flex: none; }
.phones-field .link-btn { align-self: flex-start; gap: 6px; padding: 4px 0; min-height: 36px; font-size: 14px; font-weight: 650; color: var(--clay, #a65a3c); }
.phones-field .link-btn[hidden] { display: none; }
.loc-field .geo-btn { align-self: flex-start; gap: 8px; margin-top: 2px; }
.loc-field .geo-btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.phone-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-card .phone-big { font-size: 22px; opacity: 1; font-variant-numeric: tabular-nums; }
.phone-list.multi .phone-big { font-size: 18px; margin-bottom: 6px; }
.phone-list.multi .phone-actions { display: grid; grid-template-columns: 1fr 1fr; }
.phone-list.multi .btn { min-height: 40px; padding: 8px 12px; font-size: 14px; }

/* Suratlar: hisoblagich, olib tashlash, 10 taga yetganda tugma o‘chadi */
.photos-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-weight: 650; font-size: 14px; }
.photo-count { font-weight: 600; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.photo-previews .photo-remove { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border-radius: 999px; border: 0; display: grid; place-items: center; background: rgba(12, 30, 25, .72); color: #fff; cursor: pointer; }
.photo-previews .photo-remove .ic { width: 16px; height: 16px; }
.photo-previews .photo-remove:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.file-btn.is-disabled { opacity: .5; cursor: not-allowed; }
.file-btn.is-disabled input { cursor: not-allowed; }
@media (max-width: 420px) { .opt { padding: 0 12px; gap: 6px; font-size: 14px; } }

/* Suratlar tartibi: surib tartiblash, muqova belgisi */
.photo-previews .photo-item { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; transition: opacity .15s; }
.photo-previews img { -webkit-user-drag: none; pointer-events: none; }
.photo-previews .photo-cover { position: absolute; top: 6px; left: 6px; font-size: 11px; font-weight: 700; letter-spacing: .02em; background: var(--clay); color: #fff; padding: 3px 8px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.photo-previews .photo-move { position: absolute; right: 6px; bottom: 6px; display: flex; gap: 4px; opacity: 0; transition: opacity .15s; }
.photo-previews .photo-item:hover .photo-move, .photo-previews .photo-item:focus-within .photo-move { opacity: 1; }
@media (hover: none) { .photo-previews .photo-move { opacity: 1; } }
.photo-previews .photo-move button { width: 30px; height: 30px; border-radius: 999px; border: 0; display: grid; place-items: center; background: rgba(12, 30, 25, .72); color: #fff; font: 700 15px/1 var(--font); cursor: pointer; }
.photo-previews .photo-move button:disabled { visibility: hidden; }
.photo-previews .photo-move button:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.photo-previews.is-sorting .photo-item { cursor: grabbing; }
.photo-previews .photo-item.is-placeholder { opacity: .35; outline: 2px dashed var(--forest); outline-offset: -2px; }
.photo-previews .photo-item.is-placeholder > :not(img) { visibility: hidden; }
.sort-ghost { position: fixed; top: 0; left: 0; z-index: 1000; margin: 0; border-radius: 12px; overflow: hidden; pointer-events: none; background: var(--mist); box-shadow: 0 18px 40px -10px rgba(12, 30, 25, .55); cursor: grabbing; }
.sort-ghost img { width: 100%; height: 100%; object-fit: cover; }
.sort-ghost .photo-cover, .sort-ghost figcaption, .sort-ghost .photo-remove, .sort-ghost .photo-move { display: none; }
body.sort-dragging { user-select: none; -webkit-user-select: none; cursor: grabbing; }
.photo-reorder-hint { margin-top: 2px; }
@media (prefers-reduced-motion: reduce) { .photo-previews .photo-item, .photo-previews .photo-move { transition: none; } }

/* Admin: e'lonlar tartibi (Premium hotellar va Dam olish joylari) */
.reorder-bar { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.reorder-bar[hidden], .reorder-actions[hidden] { display: none; }
.reorder-actions { display: flex; gap: 8px; }
.reorder-btn { min-height: 38px; padding: 0 14px; font-size: 13.5px; gap: 6px; }
.reorder-btn .ic { width: 18px; height: 18px; }
.hotels-head, .catalog-head { align-items: center; }
.reorder-hint { margin: -6px 0 14px; padding: 10px 14px; border-radius: 12px; background: var(--warn-bg); color: var(--ink); font-size: 13.5px; line-height: 1.45; }
.reorder-hint[hidden] { display: none; }
body.reorder-mode .chip:disabled, body.reorder-mode .filters-btn:disabled, body.reorder-mode #searchForm :disabled, body.reorder-mode #tgSearch:disabled { opacity: .45; cursor: not-allowed; }

.is-reorder .is-sortable { cursor: grab; outline: 2px dashed rgba(21, 63, 54, .45); outline-offset: -2px; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.is-reorder .is-sortable img, .is-reorder .is-sortable a { -webkit-user-drag: none; }
.is-reorder .is-sortable:hover { transform: none; }
.is-reorder .is-sortable .fav-btn, .is-reorder .is-sortable .card-go { visibility: hidden; }
.is-reorder .is-sortable .card-link { cursor: grab; }
#grid.is-reorder .is-sortable { touch-action: pan-y; }
#hotelsRow.is-reorder { scroll-snap-type: none; }
#hotelsRow.is-reorder .is-sortable { touch-action: pan-x; }
.is-reorder.is-sorting .is-sortable { cursor: grabbing; }
.is-sortable.is-placeholder { opacity: .35; outline-color: var(--forest); }
.is-sortable.is-placeholder .sort-handle, .is-sortable.is-placeholder .sort-move { visibility: hidden; }
.sort-handle { position: absolute; z-index: 3; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 254, 250, .95); color: var(--ink); box-shadow: var(--shadow-sm); pointer-events: none; }
.sort-handle .ic { width: 20px; height: 20px; }
.sort-move { position: absolute; z-index: 3; right: 10px; bottom: 10px; display: flex; gap: 6px; }
.sort-move button { width: 36px; height: 36px; border-radius: 999px; border: 0; display: grid; place-items: center; background: rgba(12, 30, 25, .78); color: #fff; font: 700 16px/1 var(--font); cursor: pointer; }
.sort-move button:disabled { visibility: hidden; }
.sort-move button:focus-visible { outline: 2px solid #fff; outline-offset: 1px; box-shadow: 0 0 0 4px var(--focus); }
html:not(.app-ui) .card.is-sortable .card-body { padding-right: 104px; }
.hotel-card.is-sortable .sort-move { bottom: auto; right: auto; top: 8px; left: 8px; }
.hotel-card.is-sortable .sort-move button { width: 32px; height: 32px; font-size: 14px; }
.hotel-card.is-sortable .sort-handle { top: 8px; right: 8px; width: 32px; height: 32px; }
.is-reorder .hotel-card.is-sortable .tag { display: none; }
.sort-ghost.card, .sort-ghost.hotel-card { position: fixed; top: 0; left: 0; z-index: 1000; margin: 0; pointer-events: none; outline: none; box-shadow: 0 22px 48px -12px rgba(12, 30, 25, .55); }
.sort-ghost .sort-move, .sort-ghost .fav-btn { display: none; }
body.sort-dragging, body.sort-dragging * { cursor: grabbing !important; }

.app-ui .reorder-btn { min-height: 32px; padding: 0 11px; font-size: 12.5px; }
.app-ui .reorder-btn .ic { width: 16px; height: 16px; }
.app-ui .reorder-hint { margin: 0 0 10px; font-size: 12.5px; padding: 8px 12px; }
.app-ui .sort-handle { top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 8px; }
.app-ui .sort-handle .ic { width: 17px; height: 17px; }
.app-ui .sort-move { right: 6px; bottom: 6px; gap: 4px; }
.app-ui .sort-move button { width: 30px; height: 30px; font-size: 14px; }
.app-ui .hotel-card.is-sortable .sort-move { top: 6px; left: 6px; }
.app-ui .is-reorder .card.is-sortable .sort-move { bottom: auto; right: auto; top: 6px; left: 6px; }
.app-ui .is-reorder .card.is-sortable .tag { display: none; }
@media (max-width: 560px) {
  .reorder-bar { margin-left: 0; }
}
body.reorder-mode .tg-search { opacity: .55; }
