/* Түрээслэе (tureesley.com) — улбар шар / цагаан өнгө */
:root {
  --orange: #FF5B14;
  --orange-d: #E84C08;
  --ember: #24110A;
  --peach: #FFC4A3;
  --cream: #FFF5EF;
  --white: #FFFFFF;
  --line: #F1E3DA;
  --muted: #7B655B;
  --soft: #A8948A;
  --green: #1F8A5B;
  --head: "Outfit", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --r: 14px;
  --shadow: 0 10px 30px rgba(36, 17, 10, .10);
  --hdr: 64px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--white); color: var(--ember); font: 400 15px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); letter-spacing: -0.03em; line-height: 1.08; margin: 0; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }

/* Buttons */
.btn-pri { background: var(--orange); color: #fff; border: 0; border-radius: 10px; padding: 12px 20px; font-weight: 700; transition: background .15s; }
.btn-pri:hover { background: var(--orange-d); }
.btn-pri.sm { padding: 8px 14px; font-size: 14px; }
.btn-ghost { background: none; border: 1px solid var(--line); border-radius: 10px; padding: 7px 14px; font-size: 14px; font-weight: 600; }
.btn-ghost:hover { border-color: var(--ember); }
.btn-white { background: #fff; color: var(--orange); border: 0; border-radius: 10px; padding: 13px 22px; font-weight: 800; }
.btn-line { background: #fff; border: 1.5px solid var(--ember); border-radius: 10px; padding: 12px 18px; font-weight: 700; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 1000; height: var(--hdr); display: flex; align-items: center; gap: 28px; padding: 0 24px; background: #fff; border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.logo .mark { width: 30px; height: 30px; }
.logo .word { font-family: "Outfit", sans-serif; font-weight: 700; font-size: 25px; letter-spacing: -0.04em; line-height: 1; }
.logo .word i { font-style: normal; color: var(--orange); }
.logo.rev .word { color: #fff; }
.nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.nav::-webkit-scrollbar { display: none; }
.nav a { white-space: nowrap; padding: 8px 12px; border-radius: 8px; font-weight: 700; font-size: 15.5px; }
.nav a:hover { background: var(--cream); }
.nav a.on { color: var(--orange); }
.nav a.sale { margin-left: 6px; background: var(--cream); color: var(--orange); }
.nav a.sale.on { background: var(--orange); color: #fff; }
.hdr-r { display: flex; gap: 8px; flex-shrink: 0; align-items: center; }
#authArea { position: relative; }
.avatar { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--line); padding: 0; overflow: hidden; background: var(--orange); color: #fff; font-weight: 800; display: grid; place-items: center; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.umenu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 12px; min-width: 220px; z-index: 1100; }
.umenu[hidden] { display: none; }
.umenu b { display: block; font-size: 14px; }
.umenu small { display: block; color: var(--muted); font-size: 12.5px; margin-bottom: 8px; word-break: break-all; }
.umenu button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 8px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.umenu button:hover { background: var(--cream); }
.mbox.login { text-align: center; max-width: 380px; }
.mbox.login .mark { width: 52px; height: 52px; margin-bottom: 12px; }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px; border: 1.5px solid #DADCE0; border-radius: 10px; background: #fff; font-weight: 700; font-size: 15px; }
.btn-google:hover { background: #F8F9FA; }
.btn-google:disabled { opacity: .6; }
.btn-ghost.wide { width: 100%; margin-top: 8px; padding: 10px; }

.view { display: none; }
.view.on { display: block; }

/* Hero */
.hero { position: relative; background-color: var(--orange); color: #fff; overflow: hidden;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='66' height='66' viewBox='0 0 66 66'%3E%3Cg transform='translate(22 22) scale(.13)'%3E%3Cpath fill='%23fff' fill-opacity='.16' d='M23 77 158 22 80 99Z'/%3E%3Cpath fill='%23fff' fill-opacity='.09' d='M80 99 158 22 102 156Z'/%3E%3C/g%3E%3C/svg%3E"); }
.hero-in { max-width: 1120px; margin: 0 auto; padding: 72px 24px 120px; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; opacity: .9; margin: 0 0 18px; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 700; }
.hero h1 span { color: var(--ember); }
.lead { font-size: 18px; max-width: 520px; margin: 18px 0 28px; opacity: .95; }
.hero-search { position: relative; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 8px 8px 8px 18px; max-width: 620px; box-shadow: 0 18px 40px rgba(36,17,10,.18); }
.hero-search svg { width: 22px; height: 22px; fill: none; stroke: var(--soft); stroke-width: 2; flex-shrink: 0; }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 16px; color: var(--ember); background: none; padding: 8px 0; }

.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; display: none; z-index: 50; color: var(--ember); }
.suggest.on { display: block; }
.suggest button { display: flex; justify-content: space-between; width: 100%; text-align: left; border: 0; background: none; padding: 11px 16px; font-size: 14.5px; }
.suggest button:hover, .suggest button.act { background: var(--cream); }
.suggest small { color: var(--soft); font-family: var(--mono); font-size: 11px; }

/* Category bar */
.catbar-wrap { max-width: 1120px; margin: -64px auto 0; padding: 0 24px; position: relative; z-index: 2; }
.catbar { display: grid; grid-template-columns: repeat(6, 1fr); background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 14px; }
.catbar a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px; border-radius: 12px; font-weight: 700; font-size: 15.5px; text-align: center; transition: background .15s, transform .15s; }
.catbar a:hover { background: var(--cream); transform: translateY(-2px); }
.catbar svg { width: 40px; height: 40px; }
.catbar small { display: block; font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--soft); margin-top: -6px; }

/* Sections */
.sec { max-width: 1120px; margin: 0 auto; padding: 64px 24px 0; }
.sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 22px; }
.sec h2 { font-size: 28px; font-weight: 500; }
.sec h2 b { font-weight: 700; }
.more { color: var(--orange); font-weight: 700; font-size: 14px; white-space: nowrap; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fcard { cursor: pointer; }
.fcard .ph { position: relative; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; background: var(--cream); }
.fcard .ph svg { width: 100%; height: 100%; display: block; transition: transform .3s; }
.fcard:hover .ph svg { transform: scale(1.04); }
.fcard .price { font-family: var(--head); font-weight: 700; font-size: 19px; margin-top: 12px; letter-spacing: -.02em; }
.fcard .spec { font-size: 13.5px; color: var(--muted); }
.fcard .loc { font-size: 13px; color: var(--soft); }
.districts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.districts button { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 18px 14px; text-align: left; transition: border-color .15s, background .15s; }
.districts button:hover { border-color: var(--orange); background: var(--cream); }
.districts b { display: block; font-family: var(--head); font-size: 17px; }
.districts span { font-family: var(--mono); font-size: 12px; color: var(--orange); }
.promo { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: var(--ember); color: #fff; border-radius: 18px; padding: 36px 40px; }
.promo h2 { font-size: 28px; }
.promo p { margin: 8px 0 0; opacity: .75; }
.ftr { background: var(--ember); color: rgba(255,255,255,.6); margin-top: 72px; }
.ftr-in { max-width: 1120px; margin: 0 auto; padding: 32px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Tags */
.tags { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 6px; }
.tag { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .04em; padding: 2px 7px; border-radius: 5px; background: var(--cream); color: var(--orange); }
.tag.ok { background: #E8F5EE; color: var(--green); }
.tag.dark { background: var(--ember); color: #fff; }
.ph .tags { position: absolute; left: 8px; top: 8px; }
.ph .tag { background: #fff; }

/* Map view */
.subtabs { height: 48px; display: flex; gap: 26px; padding: 0 24px; border-bottom: 1px solid var(--line); background: #fff; }
.subtabs button { white-space: nowrap; border: 0; background: none; font-weight: 700; color: var(--soft); border-bottom: 2.5px solid transparent; padding: 0 2px; font-size: 15px; }
.subtabs button.on { color: var(--ember); border-bottom-color: var(--ember); }
.subtabs button span { color: var(--orange); font-family: var(--mono); font-size: 12px; }
.mapwrap { position: relative; height: calc(100vh - var(--hdr) - 48px); height: calc(100dvh - var(--hdr) - 48px); display: grid; grid-template-columns: 1fr 420px; }
#map { width: 100%; height: 100%; background: #EEE9E4; z-index: 0; }
.mapbox { position: absolute; left: 20px; top: 20px; z-index: 500; width: 360px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 10px; }
.msearch { position: relative; display: flex; border: 1.5px solid var(--orange); border-radius: 8px; overflow: visible; }
.msearch input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 9px 12px; font-size: 14.5px; background: none; }
.msearch > button { width: 42px; border: 0; background: var(--orange); border-radius: 0 6px 6px 0; display: grid; place-items: center; }
.msearch > button svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.4; }
.filters { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.fbtn { position: relative; }
.fbtn > button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 6px 10px; font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.fbtn > button::after { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translate(-2px, -1px); margin-left: 3px; }
.fbtn.set > button { border-color: var(--orange); color: var(--orange); background: var(--cream); }
.fpop { position: absolute; top: calc(100% + 6px); left: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 8px; min-width: 180px; display: none; z-index: 60; }
.fbtn.open .fpop { display: block; }
.fpop button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 6px; font-size: 14px; }
.fpop button:hover { background: var(--cream); }
.fpop button.on { color: var(--orange); font-weight: 700; }
.fpop label { display: flex; align-items: center; gap: 8px; padding: 8px 10px; font-size: 14px; cursor: pointer; white-space: nowrap; }
.fpop input { accent-color: var(--orange); width: 16px; height: 16px; }

.zoomctl { position: absolute; left: 20px; bottom: 28px; z-index: 500; display: flex; flex-direction: column; background: #fff; border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.zoomctl button { width: 40px; height: 40px; border: 0; background: #fff; font-size: 22px; line-height: 1; border-bottom: 1px solid var(--line); display: grid; place-items: center; }
.zoomctl button:last-child { border-bottom: 0; }
.zoomctl button:hover { background: var(--cream); }
.zoomctl svg { width: 20px; height: 20px; fill: none; stroke: var(--ember); stroke-width: 2; }

/* Markers */
.rc-mk { font-family: var(--body); background: none !important; border: 0 !important; }
.clu { position: absolute; transform: translate(-50%, -50%); width: var(--s); height: var(--s); border-radius: 50%; background: rgba(255, 91, 20, .94); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 7px rgba(255, 91, 20, .2), 0 4px 12px rgba(36,17,10,.2); transition: transform .15s; }
.clu:hover { transform: translate(-50%, -50%) scale(1.08); }
.clu b { font-family: var(--head); font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.clu span { position: absolute; top: calc(100% + 9px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: #fff; color: var(--ember); font-size: 11.5px; font-weight: 700; padding: 2px 7px; border-radius: 6px; box-shadow: 0 2px 6px rgba(36,17,10,.15); }
.pin { position: absolute; transform: translate(-50%, calc(-100% - 7px)); background: var(--orange); color: #fff; font: 600 12px/1 var(--mono); padding: 7px 9px; border-radius: 8px; white-space: nowrap; cursor: pointer; box-shadow: 0 3px 10px rgba(36,17,10,.25); transition: background .12s, transform .12s; }
.pin::after { content: ""; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); border: 6px solid transparent; border-top-color: inherit; border-bottom: 0; border-top-color: var(--orange); }
.pin.ver::before { content: "✓ "; }
.pin.hl, .pin:hover { background: var(--ember); transform: translate(-50%, calc(-100% - 7px)) scale(1.12); z-index: 9; }
.pin.hl::after, .pin:hover::after { border-top-color: var(--ember); }
.pin.seen { background: #fff; color: var(--orange); outline: 1.5px solid var(--orange); }
.pin.seen::after { border-top-color: var(--orange); }
.me-dot { position: absolute; width: 16px; height: 16px; transform: translate(-50%,-50%); border-radius: 50%; background: #2F7BF6; border: 3px solid #fff; box-shadow: 0 0 0 8px rgba(47,123,246,.2); }
.maplibregl-map { font-family: var(--body); }
.leaflet-container { font-family: var(--body); }
.rc-tiles { filter: saturate(.55) brightness(1.04); }
.leaflet-control-attribution { font-size: 10px; }

/* Panel / list */
.panel { position: relative; background: #fff; border-left: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; overflow: hidden; z-index: 600; }
.panel-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.panel-title { font-weight: 800; font-size: 15px; }
.panel-title em { font-style: normal; color: var(--orange); }
.panel-h select { border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px; font-size: 13px; background: #fff; }
.grab { display: none; }
.list { overflow-y: auto; flex: 1; }
.card { display: flex; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .12s; }
.card:hover, .card.hl { background: var(--cream); }
.card .body { flex: 1; min-width: 0; }
.card .price { font-family: var(--head); font-weight: 700; font-size: 20px; letter-spacing: -.02em; line-height: 1.2; }
.card .sub { font-weight: 700; font-size: 13px; }
.card .spec { font-size: 13.5px; color: var(--ember); margin-top: 2px; }
.card .loc { font-size: 13px; color: var(--soft); }
.card .ttl { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .ph { position: relative; width: 112px; height: 104px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--cream); }
.card .ph svg { width: 100%; height: 100%; display: block; }
.fav { position: absolute; right: 6px; top: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; }
.fav svg { width: 16px; height: 16px; fill: none; stroke: var(--ember); stroke-width: 2; }
.fav.on svg { fill: var(--orange); stroke: var(--orange); }
.empty { padding: 48px 28px; text-align: center; color: var(--muted); }
.empty b { display: block; font-family: var(--head); font-size: 19px; color: var(--ember); margin-bottom: 6px; }

/* Detail */
.detail { position: absolute; inset: 0; background: #fff; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; z-index: 5; }
.detail.on { transform: none; }
.d-top { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: #fff; border-bottom: 1px solid var(--line); }
.d-top button { border: 0; background: none; font-weight: 700; display: flex; align-items: center; gap: 6px; padding: 6px; }
.d-top .fav { position: static; background: var(--cream); width: 34px; height: 34px; }
.d-ph { aspect-ratio: 16/10; position: relative; background: var(--cream); }
.d-ph svg { width: 100%; height: 100%; display: block; }
.d-ph .count { position: absolute; right: 12px; bottom: 12px; background: rgba(36,17,10,.75); color: #fff; font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 6px; }
.d-in { padding: 20px; }
.d-in h2 { font-size: 28px; margin: 4px 0 6px; }
.d-in .ttl { font-weight: 700; font-size: 16px; }
.d-in .loc { color: var(--muted); font-size: 14px; margin-top: 2px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 12px; margin: 18px 0; overflow: hidden; }
.facts div { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.facts div:nth-last-child(-n+2) { border-bottom: 0; }
.facts small { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: var(--soft); text-transform: uppercase; }
.facts b { font-size: 14.5px; }
.d-in h3 { font-size: 17px; margin: 22px 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600; }
.d-in p { margin: 0; color: #4A3A33; }
.agent { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--cream); border-radius: 12px; margin-top: 22px; }
.agent .av { width: 42px; height: 42px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 700; }
.agent small { display: block; color: var(--muted); font-size: 12.5px; }
.d-cta { position: sticky; bottom: 0; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 12px 20px 16px; background: linear-gradient(transparent, #fff 30%); }
.idcode { font-family: var(--mono); font-size: 11px; color: var(--soft); letter-spacing: .06em; margin-top: 18px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 3000; background: rgba(36,17,10,.45); display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.mbox { background: #fff; border-radius: 18px; width: min(480px, 100%); max-height: 92vh; overflow-y: auto; padding: 26px; box-shadow: 0 30px 70px rgba(36,17,10,.3); }
.mbox h2 { font-size: 26px; margin-bottom: 4px; }
.mbox > p { color: var(--muted); margin: 0 0 18px; font-size: 14px; }
.mbox label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 12px; }
.mbox input, .mbox select { display: block; width: 100%; margin-top: 5px; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; font-weight: 500; font-size: 15px; background: #fff; outline: 0; }
.mbox input:focus, .mbox select:focus { border-color: var(--orange); }
.mbox .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mbox .acts { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ember); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 4000; max-width: calc(100% - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.sheet-toggle { display: none; }

/* Responsive */
@media (max-width: 1100px) {
  .hdr { gap: 14px; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .districts { grid-template-columns: repeat(3, 1fr); }
  .mapwrap { grid-template-columns: 1fr 360px; }
}
@media (max-width: 820px) {
  :root { --hdr: 104px; }
  .hdr { flex-wrap: wrap; height: auto; min-height: var(--hdr); padding: 10px 16px 0; gap: 6px 12px; }
  .hdr .logo { flex: 1; }
  .nav { order: 3; flex-basis: 100%; margin: 0 -16px; padding: 0 10px 6px; }
  .nav a { font-size: 14.5px; padding: 8px 10px; }
  .hero-in { padding: 48px 16px 100px; }
  .lead { font-size: 16px; }
  .hero-search { padding-left: 14px; }
  .hero-search .btn-pri { padding: 11px 14px; }
  .catbar-wrap { padding: 0 16px; }
  .catbar { grid-template-columns: repeat(3, 1fr); padding: 8px; }
  .catbar a { padding: 12px 4px; font-size: 14px; }
  .sec { padding: 48px 16px 0; }
  .sec h2 { font-size: 23px; }
  .sec-h { flex-direction: column; gap: 6px; }
  .grid4 { gap: 14px; }
  .districts { grid-template-columns: repeat(2, 1fr); }
  .promo { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .ftr-in { padding: 28px 16px; }
  .subtabs { padding: 0 16px; gap: 20px; }
  .mapwrap { display: block; }
  .mapbox { left: 12px; right: 12px; top: 12px; width: auto; }
  .zoomctl { left: auto; right: 12px; bottom: 108px; }
  .subtabs { overflow-x: auto; scrollbar-width: none; }
  .sheet-toggle { display: block; position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); z-index: 550; background: var(--ember); color: #fff; border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 700; box-shadow: var(--shadow); }
  .sheet-toggle b { color: var(--peach); margin-left: 4px; }
  .panel { position: absolute; left: 0; right: 0; bottom: 0; height: 78%; border-left: 0; border-radius: 18px 18px 0 0; box-shadow: 0 -10px 30px rgba(36,17,10,.18); transform: translateY(100%); transition: transform .28s ease; z-index: 700; }
  .panel.open { transform: none; }
  .grab { display: block; position: absolute; left: 50%; top: 6px; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--line); }
  .panel-h { padding: 18px 16px 12px; cursor: pointer; }
  .card { padding: 16px; }
}
@media (max-width: 420px) {
  .grid4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fcard .price { font-size: 16px; }
  .hdr-r .btn-pri { padding: 7px 10px; font-size: 13px; }
  .sm-hide { display: none; }
  .hdr-r .btn-ghost { padding: 7px 10px; font-size: 13px; }
  .logo .word { font-size: 22px; }
}

/* Бодит зургууд */
.ph img, .d-ph img { width: 100%; height: 100%; display: block; object-fit: cover; }
.strip { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; }
.strip > * { flex: 0 0 100%; scroll-snap-align: start; }
.d-cta .src { grid-column: 1 / -1; text-align: center; }
