/* ApartBaku.com — ortaq stil faylı */
:root {
  --bg: #fff;
  --soft: #f4f7f8;
  --ink: #0b1620;
  --muted: #6b7a85;
  --line: #e4eaed;
  --green: #7db82e;
  --green-d: #659a21;
  --green-l: #ebf5da;
  --navy: #0b1620;
  --red: #e5383b;
  --gold: #f5b301;
  --sh: 0 14px 36px rgba(11, 22, 32, 0.14);
  --f: 'Outfit', 'Segoe UI', system-ui, sans-serif;
}
:root[data-theme='dark'] {
  --bg: #0b1620;
  --soft: #122230;
  --ink: #f2f6f8;
  --muted: #98a8b3;
  --line: #223442;
  --green-l: #1d3216;
  --navy: #050c12;
  --sh: 0 14px 36px rgba(0, 0, 0, 0.5);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 var(--f);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
svg.i {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.wrap {
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
}
section {
  padding-top: 56px;
}
.btn {
  border: 0;
  border-radius: 99px;
  padding: 12px 22px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    transform 0.15s,
    background 0.2s;
}
.btn:active {
  transform: scale(0.97);
}
.btn.g {
  background: var(--green);
  color: #fff;
}
.btn.g:hover {
  background: var(--green-d);
}
.btn.o {
  background: var(--bg);
  border: 1px solid var(--line);
}
.btn.o:hover {
  background: var(--soft);
}
.btn.w {
  width: 100%;
  padding: 16px;
}
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.round {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  display: grid;
  place-items: center;
}
.flag {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(#00b5e2 33%, #ef3340 33% 66%, #509e2f 66%);
  border: 0;
}

/* header (Airbnb üslubu) */
header {
  position: relative;
  z-index: 50;
  background: linear-gradient(var(--bg), var(--soft));
  border-bottom: 1px solid var(--line);
}
.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 500 30px var(--f);
  letter-spacing: -0.03em;
}
.logo svg {
  width: 34px;
  height: 34px;
  color: var(--green);
}
.logo small {
  font-size: 13px;
  align-self: flex-end;
  margin-bottom: 6px;
  color: var(--muted);
}
.hd {
  padding-bottom: 26px;
}
.hd-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 96px;
}
.hd-tabs {
  display: flex;
  gap: 36px;
}
.hd-t {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 96px;
  padding-top: 4px;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.hd-t em {
  font-style: normal;
  font-size: 36px;
  line-height: 1;
}
.hd-t:hover {
  color: var(--ink);
}
.hd-t.on {
  color: var(--ink);
  border-color: var(--ink);
}
.hd-r {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
.hd-link {
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 99px;
}
.hd-link:hover {
  background: var(--soft);
}
.hd-ic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--soft);
  display: grid;
  place-items: center;
}
.hd-ic:hover {
  background: var(--line);
}
.hd-ic svg {
  width: 22px;
  height: 22px;
}
.hd-menu {
  position: absolute;
  right: 0;
  top: 62px;
  min-width: 240px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--sh);
  padding: 8px;
  display: none;
  z-index: 70;
}
.hd-menu.open {
  display: block;
}
.hd-menu a,
.hd-menu button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 12px 16px;
  border-radius: 12px;
}
.hd-menu a:hover,
.hd-menu button:hover {
  background: var(--soft);
}
.hd-menu hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 6px 0;
}
.hs {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  height: 78px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 99px;
  box-shadow: 0 4px 20px rgba(11, 22, 32, 0.1);
}
.hs.open {
  background: var(--soft);
}
.hs-f {
  position: relative;
  border: 0;
  background: none;
  text-align: left;
  padding: 0 34px;
  border-radius: 99px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
}
.hs-f + .hs-f::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  border-left: 1px solid var(--line);
}
.hs.open .hs-f + .hs-f::before {
  display: none;
}
.hs-f b {
  font-size: 13px;
  font-weight: 600;
}
.hs-f span {
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hs-f:hover {
  background: var(--line);
}
.hs-f.on,
.hs-f.on:hover {
  background: var(--bg);
  box-shadow: var(--sh);
}
.hs-go {
  margin: 11px;
  min-width: 56px;
  height: 56px;
  border: 0;
  border-radius: 99px;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  font-weight: 700;
  font-size: 17px;
}
.hs-go:hover {
  background: var(--green-d);
}
.hs-go svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.5;
}
.hs-pop {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 12px);
  background: var(--bg);
  border-radius: 32px;
  box-shadow: var(--sh);
  padding: 28px 32px 30px;
  z-index: 60;
  display: none;
  border: 1px solid var(--line);
}
.hs-pop.open {
  display: block;
}
.hs-pop.where {
  right: auto;
  width: min(420px, 100%);
  padding: 14px;
}
.hs-pop.where button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  border: 0;
  background: none;
  padding: 12px 14px;
  border-radius: 14px;
  text-align: left;
  font-weight: 500;
}
.hs-pop.where button:hover {
  background: var(--soft);
}
.hs-pop.where svg {
  width: 40px;
  height: 40px;
  padding: 10px;
  background: var(--soft);
  border-radius: 12px;
}
.sg {
  display: flex;
  width: max-content;
  margin: 0 auto 26px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 4px;
}
.sg button {
  border: 0;
  background: none;
  border-radius: 99px;
  padding: 11px 38px;
  font-weight: 600;
  color: var(--muted);
}
.sg button[aria-pressed='true'] {
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 1px 6px rgba(11, 22, 32, 0.18);
}
.mm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.mt {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  text-align: center;
  margin-bottom: 14px;
}
.mt b {
  font-size: 17px;
}
.pn {
  width: 36px;
  height: 36px;
  border: 0;
  background: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.pn:hover:not(:disabled) {
  background: var(--soft);
}
.pn:disabled {
  opacity: 0.25;
}
.pcal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 4px;
}
.pw {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  padding: 6px 0 10px;
}
.pd {
  height: 50px;
  border: 0;
  background: none;
  font-weight: 600;
  font-size: 15px;
  border-radius: 50%;
  padding: 0;
}
.pd:hover:not(:disabled) {
  box-shadow: inset 0 0 0 2px var(--ink);
}
.pd:disabled {
  color: var(--muted);
  opacity: 0.4;
  cursor: not-allowed;
}
.pd.in {
  background: var(--soft);
  border-radius: 0;
}
.pd.on {
  background: var(--ink);
  color: var(--bg);
}
.pchips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.pchips.c {
  justify-content: center;
}
.pchips button {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 12px 22px;
  border-radius: 99px;
  font-weight: 500;
}
.pchips button:hover {
  border-color: var(--ink);
}
.pchips button[aria-pressed='true'] {
  border: 2px solid var(--ink);
  padding: 11px 21px;
  font-weight: 600;
}
.fh {
  font-size: 18px;
  text-align: center;
  margin: 8px 0 16px;
}
.mo {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 6px;
}
.mo button {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 18px;
  padding: 20px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.mo button small {
  font-weight: 400;
  color: var(--muted);
}
.mo svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.5;
}
.mo button:hover {
  border-color: var(--ink);
}
.mo button[aria-pressed='true'] {
  border: 2px solid var(--ink);
  background: var(--soft);
}

/* hero */
.hero {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 72px 0 96px;
}
.hero h1 {
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 700;
}
.hero h1 span {
  color: var(--green);
  display: block;
}
.hero p {
  color: #a9b7c0;
  margin: 16px 0 36px;
}
.search {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr auto;
  gap: 6px;
  max-width: 760px;
  margin: auto;
  background: #fff;
  color: #0b1620;
  padding: 8px;
  border-radius: 99px;
  text-align: left;
}
.sf {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  border-radius: 99px;
  background: #f1f4f5;
  min-height: 54px;
  color: #5c6b75;
}
.sf:focus-within {
  box-shadow: inset 0 0 0 2px var(--green);
}
.sf select,
.sf input {
  border: 0;
  background: transparent;
  outline: 0;
  width: 100%;
  color: #0b1620;
  min-width: 0;
}
.sf input {
  font-size: 14px;
}
.search .btn {
  padding: 0 32px;
}

/* başlıqlar */
.sh {
  font-size: 30px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.sh::before {
  content: '';
  width: 5px;
  height: 28px;
  border-radius: 3px;
  background: var(--green);
}
.cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cats a {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  background: var(--bg);
  transition: 0.2s;
}
.cats a:hover {
  border-color: var(--green);
  transform: translateY(-3px);
}
.cats svg {
  width: 34px;
  height: 34px;
  color: var(--green);
}

/* kartlar */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  position: relative;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
}
.card.box {
  border: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}
.ph {
  display: block;
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 24px;
  overflow: hidden;
}
.box .ph {
  border-radius: 0;
}
.ph svg.sc {
  width: 100%;
  height: 100%;
  display: block;
}
.rt {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(11, 22, 32, 0.75);
  color: #fff;
  border-radius: 99px;
  padding: 3px 10px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  gap: 5px;
  align-items: center;
}
.rt svg {
  width: 13px;
  height: 13px;
  fill: var(--green);
  stroke: none;
}
.bd {
  position: absolute;
  left: 12px;
  bottom: 12px;
  border-radius: 99px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--red);
}
.bd.p {
  background: rgba(11, 22, 32, 0.8);
  color: var(--gold);
}
.fav {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  color: #0b1620;
  display: grid;
  place-items: center;
}
.fav[aria-pressed='true'] svg {
  fill: var(--red);
  stroke: var(--red);
}
.cb {
  padding: 14px 6px 4px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.box .cb {
  padding: 14px 16px 16px;
  flex: 1;
}
.cb h3 {
  font-size: 17px;
  font-weight: 600;
}
.pr {
  font-size: 21px;
  font-weight: 700;
}
.pr small {
  font-weight: 400;
  color: var(--muted);
  font-size: 14px;
}
.m {
  color: var(--muted);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cb .rw {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}
.rw s {
  color: var(--muted);
  font-size: 13px;
  margin-right: 4px;
}
.rw .btn {
  padding: 8px 18px;
  font-size: 14px;
  border-radius: 12px;
}
.tab {
  background: var(--green);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 5px 16px;
  border-radius: 0 12px 0 0;
  align-self: flex-start;
  margin-top: -4px;
}
.grid.one {
  grid-template-columns: 1fr;
  max-width: 480px;
}
.grid.list {
  grid-template-columns: 1fr;
}
.grid.list .card {
  flex-direction: row;
  gap: 18px;
}
.grid.list .ph {
  width: 340px;
  flex: none;
}
.empty {
  grid-column: 1/-1;
  text-align: center;
  color: var(--muted);
  padding: 48px 0;
}

/* banner */
.host {
  background: var(--navy);
  color: #fff;
  border-radius: 26px;
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.host small {
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.host h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  margin: 8px 0 22px;
}
.host ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.host li {
  border: 1px solid #28404f;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
}
.host li svg {
  background: #1b3a2a;
  color: var(--green);
  border-radius: 50%;
  padding: 3px;
  width: 24px;
  height: 24px;
}

/* siyahı başlığı */
.top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 48px;
}
.top h1 {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
}
.top p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 18px;
}
.tools {
  display: flex;
  gap: 10px;
  position: relative;
  align-items: center;
}
.tools .btn {
  border-radius: 16px;
  padding: 13px 18px;
}
.seg {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.seg button {
  border: 0;
  background: var(--bg);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
}
.seg button[aria-pressed='true'] {
  background: var(--green);
  color: #fff;
}
.pill {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.pill button {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 11px 24px;
  border-radius: 99px;
  font-weight: 500;
}
.pill button:hover {
  border-color: var(--green);
}
.pill button[aria-pressed='true'] {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.pop {
  position: absolute;
  right: 0;
  top: 58px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--sh);
  padding: 8px;
  width: 280px;
  z-index: 20;
  display: none;
}
.pop.open {
  display: block;
}
.pop h4 {
  margin: 0;
  padding: 12px 14px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.pop button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  border: 0;
  background: none;
  padding: 12px 14px;
  border-radius: 12px;
  text-align: left;
}
.pop button:hover {
  background: var(--soft);
}
.pop button[aria-checked='true'] {
  background: var(--green-l);
  font-weight: 600;
}

/* modal */
dialog {
  border: 0;
  border-radius: 28px;
  padding: 0;
  width: min(600px, calc(100% - 24px));
  max-height: 92vh;
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
}
dialog[open] {
  display: flex;
  flex-direction: column;
}
.grab {
  width: 60px;
  height: 5px;
  border-radius: 3px;
  background: var(--line);
  margin: 10px auto 0;
}
.mh {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px 8px;
}
.mh h2 {
  font-size: 26px;
}
.mb {
  padding: 8px 28px 20px;
  overflow: auto;
  flex: 1;
}
.mf {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 28px;
  border-top: 1px solid var(--line);
}
.mf .btn.g {
  flex: 1;
  padding: 16px;
}
.lk {
  background: none;
  border: 0;
  text-decoration: underline;
  font-weight: 600;
  color: var(--muted);
}
.fs {
  margin: 22px 0;
}
.fs h3 {
  font-size: 17px;
  margin-bottom: 12px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.in {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 18px;
  display: block;
}
.in small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.in input {
  border: 0;
  background: none;
  outline: 0;
  width: 100%;
  font-size: 20px;
  font-weight: 600;
  padding: 0;
}
input[type='range'] {
  width: 100%;
  accent-color: var(--green);
  margin-top: 18px;
}
.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.chips button {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 10px 18px;
  border-radius: 99px;
  font-weight: 500;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.chips button[aria-pressed='true'] {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.st {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}
.st h3 {
  margin: 0;
}
.st div {
  display: flex;
  gap: 18px;
  align-items: center;
  font-weight: 600;
}
.st button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 20px;
}

/* detal */
.cr {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 26px 0 14px;
  color: var(--muted);
  font-size: 14px;
}
.cr a:hover {
  color: var(--green);
}
.tt {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.tt h1 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.vf {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1d8fe1;
  color: #fff;
  display: grid;
  place-items: center;
}
.vf svg {
  width: 16px;
  height: 16px;
  stroke-width: 3;
}
.rb {
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 8px 16px;
  font-weight: 600;
  display: flex;
  gap: 8px;
  align-items: center;
}
.rb svg {
  fill: var(--green);
  stroke: none;
}
.dt {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
.mn {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.mn svg.sc {
  width: 100%;
  height: 100%;
  display: block;
}
.mn .badges {
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  gap: 6px;
  justify-items: start;
}
.bg {
  background: var(--green);
  color: #fff;
  font: 600 20px var(--f);
  padding: 8px 20px;
  border-radius: 99px;
}
.play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 0;
  background: rgba(11, 22, 32, 0.6);
  color: #fff;
  display: grid;
  place-items: center;
}
.ar {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  color: #0b1620;
  display: grid;
  place-items: center;
}
.cn,
.all {
  position: absolute;
  bottom: 16px;
  background: rgba(11, 22, 32, 0.7);
  color: #fff;
  border-radius: 99px;
  padding: 6px 16px;
  font-size: 14px;
  border: 0;
}
.cn {
  left: 16px;
}
.all {
  right: 16px;
}
.th {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow: auto;
  padding-bottom: 4px;
}
.th button {
  flex: none;
  width: 100px;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  border: 3px solid transparent;
  padding: 0;
  position: relative;
  background: var(--soft);
}
.th button[aria-pressed='true'] {
  border-color: var(--green);
}
.th svg.sc {
  width: 100%;
  height: 100%;
  display: block;
}
.blk {
  margin-top: 44px;
}
.blk h2 {
  font-size: 26px;
}
.blk > p {
  color: var(--muted);
  font-size: 14px;
  margin: 4px 0 18px;
}
.ft {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 20px;
}
.ft div {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--muted);
}
.ft svg {
  color: var(--muted);
}
.more {
  background: none;
  border: 0;
  text-decoration: underline;
  font-weight: 600;
  margin-top: 16px;
  padding: 0;
}
.tm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.tile {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  background: var(--soft);
}
.tile svg {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  padding: 10px;
  margin-bottom: 6px;
}
.tile small {
  display: block;
  color: var(--muted);
}
.tile b {
  font-size: 28px;
}
.rl {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
}
.rl svg {
  background: var(--soft);
  padding: 8px;
  border-radius: 12px;
  width: 36px;
  height: 36px;
}
.rl.ok svg {
  background: var(--green-l);
  color: var(--green);
}
.rl small {
  display: block;
  color: var(--green);
}
.map {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.map svg {
  display: block;
  width: 100%;
  height: 280px;
}
.map div {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}
.bx {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  background: var(--bg);
}
.bx .p {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.bx .p s {
  color: var(--muted);
  font-size: 20px;
}
.bx .p b {
  font-size: 44px;
  line-height: 1;
}
.bx .p small {
  color: var(--muted);
}
.sts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 18px 0 10px;
  color: var(--muted);
  font-size: 14px;
}
.sts b {
  display: block;
  color: var(--ink);
  font-size: 17px;
}
.host2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 18px;
}
.host2 b {
  font-size: 20px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.av {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--green);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 22px;
}
.bx .lt {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  color: var(--green);
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
}
.bx .sm {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.q {
  background: var(--soft);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 14px;
  font-size: 15px;
}
.q div {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}
.q .dc {
  color: var(--green);
}
.q .t {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 10px;
  font-weight: 700;
  font-size: 18px;
}

/* təqvim */
.dd {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.dd div {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 20px;
}
.dd div.on {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.dd small {
  display: block;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 12px;
  opacity: 0.75;
}
.dd b {
  font-size: 22px;
}
.ns {
  background: var(--soft);
  border-radius: 18px;
  padding: 16px 20px;
  margin: 16px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-weight: 600;
}
.ns .dc {
  color: var(--green);
  width: 100%;
  text-align: right;
  font-size: 15px;
}
.ch {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0 16px;
}
.ch b {
  font-size: 20px;
}
.ch button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  display: grid;
  place-items: center;
}
.cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.cal .w {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  padding: 6px 0 10px;
}
.d {
  height: 66px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  line-height: 1.2;
  padding: 0;
}
.d small {
  font-weight: 400;
  font-size: 12px;
}
.d:hover:not(:disabled) {
  border-color: var(--green);
}
.d:disabled {
  border-color: transparent;
  color: var(--muted);
  opacity: 0.45;
  cursor: not-allowed;
}
.d.in,
.d.on {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.d.on {
  box-shadow: 0 0 0 3px var(--green-l);
}
.e {
  visibility: hidden;
}

/* footer və s. */
footer {
  margin-top: 72px;
  background: var(--navy);
  color: #a9b7c0;
  padding: 56px 0 24px;
}
.fg {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 32px;
}
footer h4 {
  color: #fff;
  margin: 0 0 14px;
  font-size: 14px;
  letter-spacing: 0.08em;
}
footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
footer a:hover {
  color: #fff;
}
footer .logo {
  color: #fff;
}
.soc {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.soc a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #16293a;
  display: grid;
  place-items: center;
}
.store {
  display: block;
  border: 1px solid #5a6b76;
  background: #000;
  color: #fff;
  border-radius: 10px;
  padding: 8px 16px;
  font-weight: 600;
  margin-bottom: 10px;
  width: max-content;
}
.cp {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #1c3040;
  font-size: 14px;
}
.wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--sh);
  z-index: 40;
}
.wa svg {
  width: 30px;
  height: 30px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 30px);
  background: var(--ink);
  color: var(--bg);
  padding: 12px 24px;
  border-radius: 99px;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 99;
}
.toast.on {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1100px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .dt {
    grid-template-columns: 1fr;
  }
  .side {
    position: static;
  }
  .fg {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (max-width: 860px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .cats,
  .host {
    grid-template-columns: 1fr;
  }
  .search {
    grid-template-columns: 1fr;
    border-radius: 28px;
  }
  .ft {
    grid-template-columns: 1fr 1fr;
  }
  .grid.list .card {
    flex-direction: column;
  }
  .grid.list .ph {
    width: 100%;
  }
}
@media (max-width: 540px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .fg,
  .host ul,
  .tm {
    grid-template-columns: 1fr;
  }
  .two {
    grid-template-columns: 1fr;
  }
  .d {
    height: 54px;
  }
  .mb,
  .mh,
  .mf {
    padding-inline: 16px;
  }
}
@media (max-width: 1000px) {
  .hd-row {
    grid-template-columns: 1fr auto;
    height: auto;
    padding-top: 14px;
  }
  .hd-tabs {
    grid-column: 1/-1;
    order: 3;
    overflow-x: auto;
    gap: 26px;
    margin-top: 6px;
  }
  .hd-t {
    height: 64px;
  }
  .hd-link {
    display: none;
  }
  .mm {
    gap: 28px;
  }
  .mo {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 760px) {
  .hs {
    grid-template-columns: 1fr;
    height: auto;
    border-radius: 28px;
  }
  .hs-f {
    padding: 14px 26px;
    min-height: 68px;
  }
  .hs-f + .hs-f::before {
    display: none;
  }
  .hs-go {
    margin: 8px 12px 12px;
  }
  .hs-pop {
    padding: 18px 14px;
    border-radius: 26px;
  }
  .mm {
    grid-template-columns: 1fr;
  }
  .mm > div + div {
    display: none;
  }
  .sg button {
    padding: 10px 26px;
  }
}

/* kateqoriyalar bölməsi: dəniz mənzərəsi fonu (yalnız ana səhifə) */
.sea {
  position: relative;
  overflow: hidden;
  margin-top: 56px;
  padding: 76px 0 84px;
  color: #fff;
  background-image: url('https://fcdn.villaway.com/content/abee28cc-7580-4c49-9bd0-14ab7802e3a9/p2560.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.sea-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.sea::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 20, 30, 0.6),
    rgba(6, 20, 30, 0.3) 55%,
    rgba(6, 20, 30, 0.62)
  );
}
.sea .wrap {
  position: relative;
  z-index: 1;
}
.sea .sh {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}
.sea .cats a {
  background: rgba(8, 24, 36, 0.52);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}
.sea .cats a:hover {
  background: rgba(8, 24, 36, 0.68);
  border-color: #b9e87a;
}
.sea .cats svg {
  color: #b9e87a;
}
