/* 3qarak.com — responsive production stylesheet v2.0
   Cleaned and consolidated to remove duplicate overrides and horizontal overflow. */

:root {
  --blue: #0c6ea8;
  --blue-dark: #095985;
  --blue-soft: #eaf5fb;
  --orange: #f2a10a;
  --orange-dark: #d88900;
  --ink: #544f4c;
  --text: #292724;
  --muted: #7c7975;
  --line: #e9e7e4;
  --bg: #fbfbfa;
  --white: #fff;
  --success: #168257;
  --danger: #c43d3d;
  --shadow: 0 14px 40px rgba(26, 48, 62, .08);
  --shadow-lg: 0 24px 60px rgba(26, 48, 62, .12);
  --radius: 20px;
  --radius-sm: 13px;
  --container: 1180px;
  --gutter: 16px;
}

/* ===== Reset / overflow safety ===== */
*, *::before, *::after { box-sizing: border-box; }
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--text);
  font-family: "Cairo", Tahoma, Arial, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main, header, footer, section, nav { max-width: 100%; }
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { min-width: 0; max-width: 100%; font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { overflow-wrap: break-word; }

.qarak-container {
  width: 100%;
  max-width: calc(var(--container) + (var(--gutter) * 2));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 8px;
  left: 50%;
  transform: translate(-50%, -180%);
  padding: 8px 14px;
  border-radius: 10px;
  background: #000;
  color: #fff;
  transition: transform .18s ease;
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  width: 100%;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid rgba(233, 231, 228, .85);
  backdrop-filter: blur(16px);
}
.site-header.scrolled {
  border-bottom-color: transparent;
  box-shadow: 0 10px 30px rgba(26, 48, 62, .08);
}
.header-wrap {
  min-width: 0;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header-wrap > * { min-width: 0; }
.brand { display: block; flex: 0 0 auto; }
.brand img { width: 205px; max-width: 22vw; height: auto; }
.desktop-nav {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  white-space: nowrap;
  color: #615d59;
  font-size: 14px;
  font-weight: 700;
}
.desktop-nav > a,
.nav-drop > button {
  position: relative;
  padding: 28px 0;
  border: 0;
  background: none;
  color: inherit;
}
.desktop-nav > a::after,
.nav-drop > button::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 18px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.desktop-nav > a:hover::after,
.desktop-nav > a.active::after,
.nav-drop:hover > button::after { transform: scaleX(1); }
.desktop-nav .fa-location-dot { color: var(--orange); font-size: 12px; }
.nav-chevron { margin-right: 2px; font-size: 10px; }
.nav-drop { position: relative; }
.nav-drop-menu {
  position: absolute;
  top: 65px;
  right: 0;
  width: 190px;
  max-width: calc(100vw - 24px);
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s ease;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav-drop-menu a { display: block; padding: 9px 12px; border-radius: 9px; font-weight: 600; }
.nav-drop-menu a:hover { background: var(--blue-soft); color: var(--blue); }
.header-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.menu-btn span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: #514d49; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav.open { display: block; }
.mobile-nav-inner { padding-top: 12px; padding-bottom: 22px; display: grid; gap: 3px; }
.mobile-nav a { padding: 10px 6px; border-radius: 9px; font-weight: 700; }
.mobile-nav a:hover { background: var(--blue-soft); color: var(--blue); }
.mobile-locations {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 8px;
}
.mobile-locations strong { grid-column: 1 / -1; padding: 4px 6px; color: var(--muted); font-size: 13px; }

/* ===== Buttons / inputs ===== */
.btn {
  position: relative;
  overflow: hidden;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 19px;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn::after {
  content: "";
  position: absolute;
  inset: -2px auto -2px -55%;
  width: 38%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .25), transparent);
  transform: skewX(-18deg);
  transition: left .5s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:hover::after { left: 125%; }
.btn i { font-size: .95em; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(12, 110, 168, .16); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { border: 1px solid var(--line); background: #fff; color: var(--text); }
.btn-outline:hover { border-color: #cbd8df; color: var(--blue); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-whatsapp { background: #20b45a; color: #fff; }
.field { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; color: var(--muted); font-weight: 800; }
.input, .select, .textarea {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #e4e1de;
  border-radius: 11px;
  outline: 0;
  background: #fff;
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: rgba(12, 110, 168, .6);
  box-shadow: 0 0 0 3px rgba(12, 110, 168, .08);
}
.textarea { min-height: 130px; resize: vertical; }

/* ===== Loader ===== */
body.is-loading { overflow: hidden; }
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #f8fcff 0%, #fff 48%, #fff8e9 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity .48s ease, visibility .48s ease;
}
.site-loader::before,
.site-loader::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  animation: loaderFloat 4s ease-in-out infinite alternate;
}
.site-loader::before { width: 320px; height: 320px; top: -110px; right: -100px; background: rgba(12, 110, 168, .08); }
.site-loader::after { width: 220px; height: 220px; bottom: -75px; left: -70px; background: rgba(242, 161, 10, .11); animation-delay: .5s; }
.site-loader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { position: relative; z-index: 2; width: min(330px, 80vw); text-align: center; }
.loader-logo { width: min(240px, 68vw); height: auto; margin: 0 auto 23px; animation: logoIntro .8s cubic-bezier(.2, .75, .25, 1) both; }
.loader-line { position: relative; height: 4px; overflow: hidden; border-radius: 999px; background: #e8edf0; }
.loader-line span { display: block; width: 42%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--orange)); animation: loaderSweep 1.1s ease-in-out infinite; }
.loader-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.loader-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: dotPulse .9s ease-in-out infinite alternate; }
.loader-dots i:nth-child(2) { background: var(--orange); animation-delay: .15s; }
.loader-dots i:nth-child(3) { animation-delay: .3s; }
.loader-inner p { margin: 8px 0 0; color: var(--muted); font-size: 12px; font-weight: 800; }
@keyframes loaderSweep { from { transform: translateX(150%); } to { transform: translateX(-260%); } }
@keyframes logoIntro { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes loaderFloat { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(12px, 16px, 0); } }
@keyframes dotPulse { from { opacity: .25; transform: translateY(0); } to { opacity: 1; transform: translateY(-4px); } }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 66px;
  background: linear-gradient(135deg, #f7fcff 0%, #fff 48%, #fff8e9 100%);
}
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 420px; height: 420px; top: -180px; left: -150px; background: rgba(12, 110, 168, .08); }
.hero::after { width: 250px; height: 250px; right: -90px; bottom: -90px; background: rgba(242, 161, 10, .11); }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  gap: 42px;
  align-items: center;
}
.hero-grid > * { min-width: 0; }
.hero-copy { position: relative; z-index: 3; min-width: 0; max-width: 100%; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}
.eyebrow::before { content: ""; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.hero h1 {
  max-width: 100%;
  margin: 18px 0 16px;
  color: #332f2c;
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1.15;
  letter-spacing: -1.1px;
}
.hero h1 span { color: var(--blue); }
.hero p { max-width: 610px; margin: 0 0 28px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { min-width: 170px; }
.hero-visual { position: relative; min-width: 0; min-height: 390px; display: flex; align-items: center; }
.hero-card {
  position: relative;
  isolation: isolate;
  width: calc(100% - 36px);
  max-width: 100%;
  height: 354px;
  margin: 18px;
  overflow: hidden;
  border: 1px solid rgba(12, 110, 168, .11);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.035);
  transition: opacity .65s ease, visibility .65s ease, transform 5.5s ease;
}
.hero-slide.active { opacity: 1; visibility: visible; transform: scale(1); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .02) 30%, rgba(6, 27, 39, .72) 100%); }
.hero-slide-caption {
  position: absolute;
  z-index: 2;
  right: 24px;
  left: 24px;
  bottom: 23px;
  display: grid;
  gap: 3px;
  padding: 8px 0;
  border-radius: 16px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .28);
}
.hero-slide-caption small { font-size: 11px; opacity: .9; }
.hero-slide-caption strong { font-size: 18px; line-height: 1.45; }
.hero-slide-caption b { color: #ffd57e; font-size: 15px; }
.slider-control, .gallery-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 50%;
  background: rgba(15, 35, 47, .44);
  color: #fff;
  backdrop-filter: blur(8px);
  transform: translateY(-50%);
  transition: .2s ease;
}
.slider-control:hover, .gallery-arrow:hover { border-color: var(--blue); background: var(--blue); }
.slider-next { right: 13px; }
.slider-prev { left: 13px; }
.slider-dots { position: absolute; z-index: 5; bottom: 11px; left: 50%; display: flex; gap: 5px; transform: translateX(-50%); }
.slider-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .55); transition: .25s ease; }
.slider-dots button.active { width: 22px; background: var(--orange); }
.hero-chip {
  position: absolute;
  z-index: 8;
  max-width: calc(100% - 24px);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--blue);
  box-shadow: var(--shadow);
  font-weight: 800;
  animation: chipFloat 3.2s ease-in-out infinite;
}
.hero-chip.one { top: 44px; right: 0; }
.hero-chip.two { bottom: 54px; left: 0; animation-delay: .5s; }
.hero-chip i { margin-left: 6px; }
.hero-chip.one i { color: #23a762; }
.hero-chip.two i { color: #20b45a; }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ===== Search ===== */
.search-panel { position: relative; z-index: 20; margin-top: -22px; }
.search-box {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(0, 1fr)) minmax(110px, .8fr) auto;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(26, 48, 62, .1);
}
.search-box .btn { align-self: end; }
.search-box .field label::before { margin-left: 5px; color: var(--orange); font-family: "Font Awesome 6 Free"; font-size: 10px; font-weight: 900; }
.search-box .field:nth-child(1) label::before { content: "\f3c5"; }
.search-box .field:nth-child(2) label::before,
.search-box .field:nth-child(3) label::before { content: "\f53a"; }
.search-box .field:nth-child(4) label::before { content: "\f236"; }

/* ===== Shared sections ===== */
.section { padding: 72px 0; }
.section-soft { background: var(--bg); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.section-head > * { min-width: 0; }
.section-head h2 { margin: 6px 0 0; font-size: 34px; line-height: 1.25; }
.section-head p { margin: 0; color: var(--muted); }
.section-link { flex: 0 0 auto; color: var(--blue); font-weight: 800; white-space: nowrap; }

.trust-strip { padding: 24px 0 6px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.trust-grid > div { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 14px 15px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.trust-grid > div > i { flex: 0 0 40px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--blue-soft); color: var(--blue); font-size: 16px; }
.trust-grid span { min-width: 0; display: grid; line-height: 1.45; }
.trust-grid strong { font-size: 13px; }
.trust-grid small { margin-top: 3px; color: var(--muted); font-size: 11px; }

.locations-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.location-card {
  min-width: 0;
  min-height: 135px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.location-card:hover { border-color: rgba(12, 110, 168, .3); box-shadow: var(--shadow); transform: translateY(-4px); }
.location-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--blue-soft); color: var(--blue); }
.location-icon i { font-size: 18px; }
.location-card h3 { margin: 18px 0 2px; font-size: 16px; }
.location-card span { color: var(--muted); font-size: 12px; }

.properties-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.property-card {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(26, 48, 62, .02);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.property-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.property-image { position: relative; height: 230px; display: block; overflow: hidden; background: #f5f7f8; }
.property-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.property-card:hover .property-image img { transform: scale(1.025); }
.badge-row { position: absolute; top: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 24px); }
.badge { padding: 5px 9px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--blue); box-shadow: 0 3px 12px rgba(0, 0, 0, .06); font-size: 11px; font-weight: 900; }
.badge-orange { background: var(--orange); color: #fff; }
.badge-status.available { color: #137346; }
.badge-status.reserved { background: #fff4d6; color: #8a6412; }
.badge-status.sold { background: #f0f0f0; color: #686868; }
.property-body { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 17px; }
.property-topline { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.property-price { min-width: 0; color: var(--blue); font-size: 20px; font-weight: 900; }
.property-code { flex: 0 0 auto; padding: 3px 7px; border: 1px solid #eeece9; border-radius: 999px; background: #f7f7f6; color: var(--muted); font-size: 10px; font-weight: 800; white-space: nowrap; }
.property-body h3 { min-height: 51px; margin: 6px 0 8px; font-size: 17px; line-height: 1.5; }
.property-body h3 a { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.property-location { min-width: 0; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.property-location i, .detail-location i { flex: 0 0 auto; color: var(--orange); }
.property-specs { margin: auto 0 14px; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.property-specs span { padding: 6px 9px; border-radius: 9px; background: #f7f7f6; color: #666; font-size: 12px; font-weight: 700; }
.card-actions { display: grid; grid-template-columns: minmax(0, 1fr) 46px; gap: 8px; margin-top: 3px; }
.icon-btn { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid #cfefdc; border-radius: 12px; background: #ecfff4; color: #15934b; }
.icon-btn i { font-size: 22px; }

.request-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 25px;
  padding: 42px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--blue), #0a587f);
  color: #fff;
}
.request-band::after { content: ""; position: absolute; top: -80px; left: -80px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.request-band > * { position: relative; z-index: 1; min-width: 0; }
.request-band h2 { margin: 0 0 8px; font-size: 31px; }
.request-band p { margin: 0; color: #d7edf8; }
.request-band .btn { min-width: 170px; background: var(--orange); color: #fff; }

.why-grid, .steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.why-card, .contact-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.why-card { padding: 24px; }
.why-card:hover, .contact-card:hover { border-color: rgba(12, 110, 168, .24); box-shadow: 0 15px 36px rgba(26, 48, 62, .07); transform: translateY(-5px); }
.why-card .why-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--blue-soft); color: var(--blue); }
.why-card .why-icon i { font-size: 18px; }
.why-card h3 { margin: 14px 0 6px; }
.why-card p { margin: 0; color: var(--muted); font-size: 14px; }
.step-card { position: relative; min-width: 0; min-height: 220px; overflow: hidden; padding: 27px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.step-card > span { position: absolute; top: 12px; left: 18px; color: rgba(12, 110, 168, .07); font-size: 54px; font-weight: 900; line-height: 1; }
.step-card > i { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--blue-soft); color: var(--blue); font-size: 19px; }
.step-card h3 { margin: 20px 0 7px; font-size: 19px; }
.step-card p { margin: 0; color: var(--muted); font-size: 14px; }

.faq-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 45px; align-items: start; }
.faq-layout > * { min-width: 0; }
.faq-intro h2 { margin: 13px 0 10px; font-size: 34px; line-height: 1.3; }
.faq-intro p { margin: 0 0 18px; color: var(--muted); }
.faq-list { display: grid; gap: 10px; }
.faq-item { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 18px; font-weight: 800; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { flex: 0 0 auto; color: var(--blue); font-size: 12px; transition: transform .2s ease; }
.faq-item[open] summary { border-bottom: 1px solid #f0eeee; color: var(--blue); }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 15px 18px 18px; color: var(--muted); font-size: 14px; line-height: 1.9; }

.seo-copy, .location-guide { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 35px; align-items: start; }
.seo-copy > *, .location-guide > * { min-width: 0; }
.seo-copy h2, .location-copy h2 { margin: 12px 0 10px; font-size: 32px; }
.seo-copy > div > p, .location-copy > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 2; }
.seo-copy-points, .location-tips { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.seo-copy-points p, .location-tips p { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 11px; color: #605c58; font-size: 13px; }
.seo-copy-points p i, .location-tips p i { flex: 0 0 auto; margin-top: 6px; color: var(--success); }
.seo-copy-points .btn { width: 100%; margin-top: 8px; }
.location-tips h3 { margin: 0 0 14px; font-size: 18px; }

/* ===== Inner page hero / filters ===== */
.page-hero { padding: 58px 0; border-bottom: 1px solid #f1efed; background: linear-gradient(135deg, #f7fcff, #fff9ef); }
.page-hero h1 { margin: 8px 0 10px; font-size: 42px; line-height: 1.25; }
.page-hero p { max-width: 760px; margin: 0; color: var(--muted); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 13px; }
.breadcrumbs a { color: var(--blue); }
.filters-wrap { margin: 26px 0; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.filters-form { display: grid; grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 1fr)) minmax(85px, .8fr) minmax(120px, .9fr) auto; gap: 10px; align-items: end; }
.filters-form > * { min-width: 0; }
.results-info { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 24px 0 18px; }
.results-info strong { font-size: 22px; }
.empty-state { padding: 55px 20px; border: 1px dashed #d9d5d0; border-radius: 20px; background: #fcfcfb; text-align: center; }
.empty-state h3 { margin: 0 0 8px; }
.empty-state p { margin: 0 0 18px; color: var(--muted); }

/* ===== Property details ===== */
.property-detail { padding: 44px 0 76px; }
.property-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr); gap: 28px; align-items: start; }
.property-layout > * { min-width: 0; }
.gallery-main { position: relative; width: 100%; aspect-ratio: 16 / 10; max-height: 560px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #f4f6f7; }
.gallery-main > img { width: 100%; height: 100%; object-fit: cover; transition: opacity .22s ease, transform .34s ease; }
.gallery-main.is-changing > img { opacity: .2; transform: scale(.985); }
.gallery-next { right: 16px; }
.gallery-prev { left: 16px; }
.gallery-counter { position: absolute; z-index: 5; bottom: 16px; left: 16px; display: flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; background: rgba(15, 35, 47, .65); color: #fff; backdrop-filter: blur(8px); font-size: 12px; font-weight: 800; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; overflow-y: hidden; padding-bottom: 4px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.gallery-thumb-btn { flex: 0 0 112px; appearance: none; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 12px; background: none; scroll-snap-align: start; transition: .2s ease; }
.gallery-thumb-btn img { width: 100%; height: 82px; object-fit: cover; border: 0; border-radius: 9px; transition: transform .25s ease; }
.gallery-thumb-btn:hover img { transform: scale(1.04); }
.gallery-thumb-btn.active { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(12, 110, 168, .08); }
.property-side { position: sticky; top: 104px; }
.detail-card { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 18px 45px rgba(38, 54, 65, .06); }
.detail-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.detail-card-head .status-pill { font-size: 11px; }
.detail-price { color: var(--blue); font-size: 30px; font-weight: 900; }
.detail-code { display: flex; align-items: center; gap: 6px; margin-top: 2px; color: var(--muted); font-size: 12px; }
.detail-code i { color: var(--orange); font-size: 11px; }
.detail-card h1 { margin: 12px 0 8px; font-size: 24px; line-height: 1.5; }
.detail-location { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.detail-actions { display: grid; gap: 9px; margin-top: 18px; }
.spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.spec-item { min-width: 0; padding: 13px; border: 1px solid #efedeb; border-radius: 14px; background: #fafafa; }
.spec-item span { display: block; color: var(--muted); font-size: 11px; font-weight: 700; }
.spec-item strong { display: block; margin-top: 2px; font-size: 15px; overflow-wrap: anywhere; }
.detail-content { margin-top: 28px; }
.content-box { padding: 25px 0; border-top: 1px solid var(--line); }
.content-box:first-child { border-top: 0; }
.content-box h2 { margin: 0 0 12px; font-size: 23px; }
.content-box p { color: #64615e; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.feature-item { min-width: 0; display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 12px; background: #f9fbfc; }
.feature-item::before { content: "✓"; flex: 0 0 24px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #e6f7ee; color: var(--success); font-weight: 900; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.mobile-property-bar { display: none; }
.property-help { padding: 0 0 54px; }
.help-card { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 30px; align-items: center; padding: 28px; border: 1px solid #dcecf4; border-radius: 22px; background: linear-gradient(135deg, #f7fcff, #fff); }
.help-card > * { min-width: 0; }
.help-card h2 { margin: 10px 0 0; font-size: 25px; }
.help-points { display: grid; gap: 10px; }
.help-points span { display: flex; align-items: flex-start; gap: 9px; color: #625e5a; font-size: 13px; }
.help-points i { flex: 0 0 auto; margin-top: 5px; color: var(--success); }

/* ===== Forms / content ===== */
.form-section { padding: 55px 0 80px; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .52fr); gap: 28px; align-items: start; }
.form-layout > * { min-width: 0; }
.form-card { min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 20px 50px rgba(36, 54, 65, .05); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.form-grid .full { grid-column: 1 / -1; }
.form-note { margin-top: 8px; color: var(--muted); font-size: 12px; }
.side-info { position: sticky; top: 110px; min-width: 0; padding: 28px; border-radius: 22px; background: linear-gradient(155deg, var(--blue), #0b5c86); color: #fff; }
.side-info h2 { margin-top: 0; }
.side-info p { color: #d9eef8; }
.side-info .eyebrow-light { margin-bottom: 10px; background: rgba(255, 255, 255, .13); color: #fff; }
.info-line { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.mini-checks { display: grid; gap: 8px; margin: 18px 0; }
.mini-checks span { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .92); font-size: 12px; }
.mini-checks i { color: #aef0c7; }
.success-box, .error-box { margin-bottom: 16px; padding: 12px 14px; border-radius: 13px; }
.success-box { border: 1px solid #cdebd8; background: #effbf4; color: #176d45; }
.error-box { border: 1px solid #efcccc; background: #fff2f2; color: #9f2f2f; }
.prose { max-width: 920px; }
.prose h2 { margin-top: 30px; font-size: 28px; }
.prose > p, .prose p { color: #625e5a; font-size: 16px; line-height: 2; }
.about-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.about-stat { min-width: 0; padding: 18px; border: 1px solid #e9eff2; border-radius: 16px; background: #f8fbfc; }
.about-stat strong { display: block; color: var(--blue); font-size: 22px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.contact-card { padding: 22px; }
.contact-card span { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.contact-card span i { color: var(--orange); }
.contact-card strong { display: block; margin-top: 4px; font-size: 16px; overflow-wrap: anywhere; }

/* ===== Footer ===== */
.site-footer { width: 100%; padding: 50px 0 18px; border-top: 1px solid #e7e3df; background: #f5f4f2; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 34px; }
.footer-grid > * { min-width: 0; }
.footer-brand img { width: 210px; max-width: 100%; }
.footer-brand p { max-width: 330px; margin-inline-end: 0; color: #736f6b; font-size: 14px; }
.site-footer h3 { margin: 4px 0 12px; font-size: 15px; }
.site-footer .footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; }
.site-footer .footer-grid > div > a { padding: 5px 0; color: #68635f; font-size: 13px; overflow-wrap: anywhere; }
.site-footer a[dir="ltr"] { direction: ltr; unicode-bidi: isolate; text-align: right; align-self: flex-start; }
.social-row { display: flex; flex-wrap: wrap; gap: 8px; }
.social-row a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid #e4e0dd; border-radius: 9px; background: #fff; font-size: 12px; }
.social-row a i { color: var(--blue); }
.footer-wa { width: fit-content !important; max-width: 100%; margin-top: 8px !important; padding: 8px 14px !important; color: #fff !important; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 16px; margin-top: 34px; padding-top: 16px; border-top: 1px solid #dfdcd8; color: #8a8681; font-size: 12px; }
.footer-bottom > span { min-width: 0; }
.footer-bottom a { color: var(--blue); font-weight: 800; }
.floating-wa { position: fixed; z-index: 70; bottom: max(18px, env(safe-area-inset-bottom)); left: max(18px, env(safe-area-inset-left)); width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: #20b45a; color: #fff; box-shadow: 0 10px 25px rgba(32, 180, 90, .28); animation: waPulse 2.6s ease-in-out infinite; transition: opacity .22s ease, visibility .22s ease, transform .22s ease, box-shadow .22s ease; }
.floating-wa i { font-size: 27px; }
.floating-wa:hover { transform: translateY(-4px) scale(1.04); }
.floating-wa.footer-hidden { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(14px); }
@keyframes waPulse { 0%, 100% { box-shadow: 0 10px 25px rgba(32, 180, 90, .28); } 50% { box-shadow: 0 10px 25px rgba(32, 180, 90, .28), 0 0 0 10px rgba(32, 180, 90, .08); } }

/* ===== Admin ===== */
.admin-shell { min-height: 100vh; overflow-x: hidden; background: #f5f7f8; }
.admin-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: #fff; }
.admin-header .qarak-container { min-width: 0; height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.admin-logo { min-width: 0; display: flex; align-items: center; gap: 10px; font-weight: 900; }
.admin-logo img { width: 150px; max-width: 100%; }
.admin-nav { min-width: 0; display: flex; align-items: center; gap: 8px; }
.admin-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 9px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.admin-nav a:hover { background: var(--blue-soft); color: var(--blue); }
.admin-nav a i { color: var(--blue); }
.admin-main { padding: 28px 0 60px; }
.admin-title { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 22px; }
.admin-title > * { min-width: 0; }
.admin-title h1 { margin: 0; font-size: 28px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat-card { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.stat-card span { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.stat-card strong { display: block; margin-top: 3px; font-size: 28px; }
.admin-panel { width: 100%; max-width: 100%; margin-top: 18px; padding: 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: 17px; background: #fff; -webkit-overflow-scrolling: touch; }
.admin-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 12px 10px; border-bottom: 1px solid #efedeb; font-size: 13px; text-align: right; vertical-align: middle; }
.admin-table th { color: #7b7773; font-size: 11px; }
.admin-thumb { width: 64px; height: 46px; border-radius: 8px; background: #f1f3f4; object-fit: cover; }
.table-actions { display: flex; gap: 5px; }
.small-btn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 11px; font-weight: 700; white-space: nowrap; }
.small-btn.danger { border-color: #f0cccc; color: var(--danger); }
.status-pill { display: inline-flex; padding: 4px 8px; border-radius: 999px; background: #eef7f2; color: #22714d; font-size: 10px; font-weight: 900; }
.status-pill.sold { background: #f2f2f2; color: #777; }
.status-pill.reserved { background: #fff5df; color: #8b6510; }
.status-pill.hidden { display: inline-flex; background: #ffecec; color: #9e3e3e; }
.admin-form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.admin-form-grid .span2 { grid-column: span 2; }
.admin-form-grid .full { grid-column: 1 / -1; }
.image-admin-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.image-admin-item { min-width: 0; padding: 6px; border: 1px solid var(--line); border-radius: 12px; }
.image-admin-item img { width: 100%; height: 110px; border-radius: 8px; object-fit: cover; }
.image-admin-actions { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: linear-gradient(135deg, #f6fbfe, #fff8ec); }
.login-card { width: min(430px, 100%); padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.login-card img { width: 210px; margin: 0 auto 20px; }
.login-card h1 { font-size: 24px; text-align: center; }
.login-card .field { margin-bottom: 13px; }
.install-wrap { min-height: 100vh; padding: 40px 0; overflow-x: hidden; background: #f6f7f8; }
.install-card { width: min(850px, calc(100% - 32px)); margin: auto; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.install-card img { width: 210px; }
.install-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.install-grid .full { grid-column: 1 / -1; }
.note { padding: 11px 13px; border: 1px solid #f3e0ae; border-radius: 12px; background: #fff8e8; color: #735a16; font-size: 13px; }

/* ===== Utility / animation ===== */
.fa-solid, .fa-regular, .fa-brands { line-height: 1; }
[data-reveal], .reveal-ready { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .25, 1), transform .7s cubic-bezier(.2, .7, .25, 1); }
[data-reveal].is-visible, .reveal-ready.is-visible { opacity: 1; transform: none; }
.properties-grid .property-card.reveal-ready:nth-child(2),
.locations-grid .location-card.reveal-ready:nth-child(2),
.why-grid .why-card.reveal-ready:nth-child(2) { transition-delay: .08s; }
.properties-grid .property-card.reveal-ready:nth-child(3),
.locations-grid .location-card.reveal-ready:nth-child(3),
.why-grid .why-card.reveal-ready:nth-child(3) { transition-delay: .16s; }
.locations-grid .location-card.reveal-ready:nth-child(4) { transition-delay: .22s; }
.locations-grid .location-card.reveal-ready:nth-child(5) { transition-delay: .28s; }
.locations-grid .location-card.reveal-ready:nth-child(6) { transition-delay: .34s; }

/* ===== Responsive ===== */
@media (max-width: 1180px) {
  .header-wrap { gap: 16px; }
  .desktop-nav { gap: 16px; font-size: 13px; }
  .desktop-cta { padding-inline: 14px; }
  .brand img { width: 185px; }
  .hero-grid { gap: 30px; }
}

@media (max-width: 1080px) {
  .desktop-nav, .desktop-cta { display: none; }
  .menu-btn { display: block; }
  .brand img { width: 185px; max-width: 100%; }
  .locations-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .properties-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filters-form .btn { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > div:nth-child(4) { grid-column: 2 / 4; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .image-admin-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .hero { padding: 56px 0 54px; }
  .hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { width: 100%; max-width: 720px; min-height: 350px; margin-inline: auto; }
  .hero-card { width: calc(100% - 32px); height: 330px; margin: 16px; }
  .search-box { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-box .field:first-child, .search-box .btn { grid-column: 1 / -1; }
  .form-layout, .faq-layout, .seo-copy, .location-guide, .help-card { grid-template-columns: 1fr; }
  /* On tablets/phones show the property summary directly after the gallery, before the long description. */
  .property-layout { display: flex; flex-direction: column; }
  .property-layout > div:first-child { display: contents; }
  .gallery-main { order: 1; }
  .gallery-thumbs { order: 2; }
  .property-side { order: 3; position: static; margin-top: 18px; }
  .detail-content { order: 4; margin-top: 8px; }
  .side-info { position: static; margin-top: 18px; }
  .detail-card { box-shadow: none; }
  .help-card { gap: 20px; }
  .steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --gutter: 12px; }
  .header-wrap { height: 70px; }
  .brand img { width: 165px; }
  .mobile-nav-inner { max-height: calc(100dvh - 70px); overflow-y: auto; overscroll-behavior: contain; }
  .hero { padding: 44px 0 46px; }
  .hero h1 { margin-top: 14px; font-size: clamp(32px, 9vw, 42px); letter-spacing: -.6px; }
  .hero p { font-size: 15px; }
  .hero-visual { min-height: 290px; margin-top: 4px; }
  .hero-card { width: calc(100% - 20px); height: 270px; margin: 10px; border-radius: 22px; }
  .hero-chip { padding: 9px 11px; font-size: 12px; }
  .hero-chip.one { top: 26px; right: 2px; }
  .hero-chip.two { bottom: 30px; left: 2px; }
  .hero-slide-caption { right: 18px; left: 18px; bottom: 20px; }
  .hero-slide-caption strong { font-size: 15px; }
  .hero-slide-caption b { font-size: 13px; }
  .slider-control, .gallery-arrow { width: 36px; height: 36px; }
  .search-panel { margin-top: -8px; }
  .search-box { padding: 12px; }
  .section { padding: 50px 0; }
  .section-head { align-items: flex-start; }
  .section-head h2 { font-size: 28px; }
  .section-head p { font-size: 13px; }
  .section-link { white-space: normal; }
  .locations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .properties-grid { grid-template-columns: 1fr; }
  .property-image { height: auto; aspect-ratio: 16 / 10; }
  .request-band { grid-template-columns: 1fr; padding: 28px 22px; }
  .request-band h2 { font-size: 25px; }
  .why-grid, .steps-grid { grid-template-columns: 1fr; }
  .step-card { min-height: 0; }
  .page-hero { padding: 38px 0; }
  .page-hero h1 { font-size: 32px; }
  .filters-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters-form .btn { grid-column: 1 / -1; }
  .results-info strong { font-size: 18px; }
  .gallery-main { aspect-ratio: 4 / 3; max-height: none; border-radius: 18px; }
  .gallery-thumb-btn { flex-basis: 92px; }
  .gallery-thumb-btn img { height: 68px; }
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .mobile-property-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 75;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    padding: 8px max(10px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(10px);
  }
  .mobile-property-bar a { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 4px; border-radius: 10px; background: #f4f5f5; font-size: 12px; font-weight: 900; text-align: center; }
  .mobile-property-bar a:nth-child(2) { background: #20b45a; color: #fff; }
  .site-footer { padding-bottom: 74px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:nth-child(4) { grid-column: auto; }
  .footer-bottom { display: grid; gap: 5px; }
  .floating-wa { display: none; }
  .contact-cards { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .faq-layout { gap: 24px; }
  .faq-intro h2, .seo-copy h2, .location-copy h2 { font-size: 27px; }
  .seo-copy, .location-guide { gap: 20px; }
  .help-card { padding: 22px; }
  .property-help { padding-bottom: 36px; }
  .property-body h3 { min-height: 0; }
  .admin-header .qarak-container { height: auto; min-height: 64px; flex-wrap: wrap; gap: 10px; padding-block: 9px; }
  .admin-logo img { width: 130px; }
  .admin-nav { width: 100%; overflow-x: auto; padding-bottom: 4px; overscroll-behavior-inline: contain; }
  .admin-title { align-items: flex-start; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-form-grid .span2, .admin-form-grid .full { grid-column: auto; }
  .image-admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .install-grid { grid-template-columns: 1fr; }
  .install-grid .full { grid-column: auto; }
}

@media (max-width: 560px) {
  .section-head { display: grid; gap: 12px; }
  .search-box, .filters-form { grid-template-columns: 1fr; }
  .search-box .field:first-child, .search-box .btn, .filters-form .btn { grid-column: auto; }
  .hero-actions .btn { flex: 1 1 100%; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-grid > div:nth-child(4) { grid-column: auto; }
  .footer-brand p { max-width: none; }
  .contact-cards { grid-template-columns: 1fr; }
  .request-band .btn { width: 100%; }
  .property-topline { align-items: flex-start; }
  .detail-price { font-size: 26px; }
  .form-card { padding: 22px 18px; }
}

@media (max-width: 430px) {
  :root { --gutter: 9px; }
  .brand img { width: 150px; }
  .menu-btn { width: 42px; height: 42px; }
  .mobile-locations { grid-template-columns: 1fr; }
  .hero h1 { font-size: 33px; }
  .hero-visual { min-height: 270px; }
  .hero-card { height: 250px; }
  .hero-slide-caption small { font-size: 10px; }
  .hero-slide-caption strong { font-size: 14px; }
  .hero-chip { max-width: calc(100% - 8px); font-size: 11px; }
  .locations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .location-card { min-height: 118px; padding: 16px 12px; }
  .location-card h3 { font-size: 14px; }
  .property-body { padding: 14px; }
  .property-price { font-size: 18px; }
  .card-actions { grid-template-columns: minmax(0, 1fr) 44px; }
  .icon-btn { width: 44px; height: 44px; }
  .gallery-counter { bottom: 10px; left: 10px; }
  .gallery-next { right: 10px; }
  .gallery-prev { left: 10px; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .faq-item summary { font-size: 14px; }
  .help-card h2 { font-size: 22px; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-bottom { font-size: 11px; }
}

@media (max-width: 350px) {
  .brand img { width: 138px; }
  .hero h1 { font-size: 30px; }
  .locations-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .mobile-property-bar a { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .site-loader { display: none !important; }
  [data-reveal], .reveal-ready { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   Branded error pages — v1.8
   ========================================================= */
.error-page {
  min-height: clamp(560px, 72vh, 820px);
  display: grid;
  align-items: center;
  padding: clamp(56px, 8vw, 110px) 0;
  background:
    radial-gradient(circle at 8% 18%, rgba(12,110,168,.10), transparent 28%),
    radial-gradient(circle at 92% 82%, rgba(242,161,10,.12), transparent 28%),
    linear-gradient(135deg, #f9fcfe 0%, #ffffff 48%, #fffaf0 100%);
  overflow: hidden;
}
.error-shell {
  width: min(100%, 1040px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(260px,.82fr) minmax(0,1.18fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid rgba(34,40,49,.08);
  border-radius: clamp(24px, 3vw, 38px);
  background: rgba(255,255,255,.90);
  box-shadow: 0 28px 80px rgba(29,42,55,.10);
  backdrop-filter: blur(14px);
}
.error-visual {
  position: relative;
  min-width: 0;
  aspect-ratio: 1 / .86;
  display: grid;
  place-items: center;
  border-radius: 30px;
  background: linear-gradient(145deg, #eef8fd, #fff6e2);
  overflow: hidden;
  isolation: isolate;
}
.error-visual::before,
.error-visual::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  z-index: -1;
}
.error-visual::before {
  width: 210px;
  height: 210px;
  inset-inline-start: -70px;
  top: -82px;
  background: rgba(12,110,168,.10);
}
.error-visual::after {
  width: 170px;
  height: 170px;
  inset-inline-end: -58px;
  bottom: -66px;
  background: rgba(242,161,10,.13);
}
.error-code {
  font-size: clamp(82px, 10vw, 150px);
  line-height: .9;
  font-weight: 800;
  letter-spacing: -5px;
  color: rgba(12,110,168,.11);
  direction: ltr;
  font-variant-numeric: tabular-nums;
  user-select: none;
}
.error-icon {
  position: absolute;
  display: grid;
  place-items: center;
  width: clamp(72px, 8vw, 98px);
  height: clamp(72px, 8vw, 98px);
  border-radius: 26px;
  color: #fff;
  font-size: clamp(30px, 3.2vw, 42px);
  background: linear-gradient(135deg, var(--blue), #0e80bd);
  box-shadow: 0 18px 38px rgba(12,110,168,.25);
  transform: rotate(-5deg);
}
.error-copy { min-width: 0; }
.error-copy h1 {
  margin: 12px 0 14px;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.25;
  letter-spacing: -.02em;
}
.error-copy > p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 2;
}
.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.error-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid #ece9e5;
}
.error-shortcuts a {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 12px;
  border: 1px solid #ece9e5;
  border-radius: 14px;
  color: var(--text);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.error-shortcuts a:hover {
  transform: translateY(-2px);
  border-color: rgba(12,110,168,.25);
  box-shadow: 0 10px 25px rgba(29,42,55,.07);
}
.error-shortcuts i { color: var(--blue); font-size: 17px; }

@media (max-width: 760px) {
  .error-page { min-height: auto; padding: 34px 0 52px; }
  .error-shell { grid-template-columns: 1fr; gap: 24px; padding: 18px; border-radius: 24px; }
  .error-visual { width: min(100%, 360px); margin-inline: auto; aspect-ratio: 1 / .62; border-radius: 20px; }
  .error-code { font-size: clamp(76px, 25vw, 112px); }
  .error-icon { width: 68px; height: 68px; border-radius: 20px; font-size: 29px; }
  .error-copy { text-align: center; }
  .error-copy > p { margin-inline: auto; line-height: 1.85; }
  .error-actions { justify-content: center; }
  .error-actions .btn { flex: 1 1 180px; }
  .error-shortcuts { grid-template-columns: 1fr; text-align: start; }
}

@media (max-width: 390px) {
  .error-shell { padding: 14px; }
  .error-copy h1 { font-size: 28px; }
  .error-actions { display: grid; grid-template-columns: 1fr; }
  .error-actions .btn { width: 100%; }
}


.server-error-body { min-height: 100vh; display: flex; flex-direction: column; background: #fff; }
.server-error-body main { flex: 1; }
.error-header .header-wrap { min-height: 90px; }
.error-header-link { min-width: 122px; }
.error-footer { padding: 22px 0; border-top: 1px solid #ece9e5; color: var(--muted); text-align: center; background: #fff; }
@media (max-width: 600px) {
  .error-header .header-wrap { min-height: 74px; }
  .error-header .brand img { width: 160px; height: auto; }
  .error-header-link { min-width: 0; padding-inline: 14px; }
}
.admin-not-found { max-width: 650px; margin: 50px auto; padding: 44px 24px; text-align: center; border: 1px solid #ece9e5; border-radius: 24px; background: #fff; box-shadow: 0 18px 50px rgba(29,42,55,.08); }
.admin-not-found-code { color: var(--blue); font-size: 72px; line-height: 1; font-weight: 800; direction: ltr; }
.admin-not-found h1 { margin: 14px 0 8px; font-size: 28px; }
.admin-not-found p { margin: 0 0 20px; color: var(--muted); }


/* =========================================================
   Conversion, filters, gallery & admin upgrade — v2.0
   ========================================================= */
.badge-blue { background: var(--blue-soft); color: var(--blue); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: rgba(12,110,168,.28); color: var(--blue); background: var(--blue-soft); }

.property-card .property-code-row,
.detail-code-row { display:flex; align-items:center; gap:8px; min-width:0; }
.copy-code {
  appearance:none; border:0; background:transparent; padding:0; color:inherit;
  font:inherit; cursor:pointer; max-width:100%; text-align:start;
}
.property-card .copy-code { display:inline-flex; align-items:center; gap:6px; color:var(--muted); font-size:12px; }
.property-card .copy-code:hover, .detail-code.copy-code:hover { color:var(--blue); }
.copy-code.copied { color:var(--success) !important; }

.filters-form-advanced {
  display:grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap:14px;
  align-items:end;
}
.filters-form-advanced .field { min-width:0; }
.filters-form-advanced .field-wide { grid-column: span 2; }
.filter-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.filter-actions .btn { min-height:48px; }
.filter-mobile-trigger, .filters-mobile-head { display:none; }
.live-results-count {
  display:inline-grid; place-items:center; min-width:28px; height:28px; padding:0 8px;
  margin-inline-start:6px; border-radius:999px; background:rgba(255,255,255,.18); font-weight:800;
}
.btn-outline .live-results-count { background:var(--blue-soft); color:var(--blue); }
.filters-wrap.is-loading { opacity:.72; pointer-events:none; }

.property-mini-hero { padding-block:18px; }
.property-mini-hero .breadcrumbs { margin:0; }
.gallery-main { position:relative; }
.gallery-open {
  position:absolute; z-index:5; top:18px; inset-inline-start:18px; width:44px; height:44px;
  display:grid; place-items:center; border:1px solid rgba(255,255,255,.45); border-radius:14px;
  background:rgba(20,28,32,.62); color:#fff; box-shadow:0 8px 24px rgba(0,0,0,.15); backdrop-filter:blur(10px);
}
.gallery-open:hover { background:var(--blue); }
.property-freshness { display:flex; align-items:center; gap:7px; margin-top:9px; color:var(--muted); font-size:13px; }
.availability-note {
  display:flex; align-items:flex-start; gap:9px; margin:14px 0 0; padding:11px 12px;
  border:1px solid #efe3bf; border-radius:12px; background:#fff9e9; color:#6e5a28; font-size:12.5px; line-height:1.7;
}
.availability-note i { color:var(--orange); margin-top:4px; }
.internal-link-note { margin-top:16px; padding-top:14px; border-top:1px solid var(--line); color:var(--muted); font-size:13px; }
.internal-link-note a { color:var(--blue); font-weight:800; }

.gallery-lightbox {
  position:fixed; inset:0; z-index:5000; display:none; place-items:center;
  background:rgba(5,9,12,.94); padding:64px 78px; touch-action:none;
}
.gallery-lightbox.open { display:grid; }
body.lightbox-open { overflow:hidden; }
.gallery-lightbox img { max-width:min(100%,1500px); max-height:calc(100vh - 110px); width:auto; height:auto; object-fit:contain; border-radius:8px; }
.lightbox-close, .lightbox-arrow {
  position:absolute; z-index:2; display:grid; place-items:center; border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.10); color:#fff; backdrop-filter:blur(8px);
}
.lightbox-close { top:20px; inset-inline-start:20px; width:46px; height:46px; border-radius:50%; font-size:20px; }
.lightbox-arrow { top:50%; transform:translateY(-50%); width:52px; height:64px; border-radius:16px; font-size:20px; }
.lightbox-next { inset-inline-end:18px; }
.lightbox-prev { inset-inline-start:18px; }
.lightbox-close:hover, .lightbox-arrow:hover { background:var(--blue); }
.lightbox-counter { position:absolute; bottom:20px; inset-inline:0; width:max-content; margin:auto; padding:7px 13px; border-radius:999px; background:rgba(255,255,255,.12); color:#fff; font-weight:700; direction:ltr; }

.viewing-dialog {
  width:min(94vw,620px); max-height:90vh; overflow:auto; border:0; border-radius:24px; padding:0;
  color:var(--text); box-shadow:0 30px 90px rgba(0,0,0,.24);
}
.viewing-dialog::backdrop { background:rgba(15,22,26,.62); backdrop-filter:blur(4px); }
.viewing-form { position:relative; padding:30px; background:#fff; }
.viewing-form h2 { margin:7px 0 22px; font-size:clamp(23px,3vw,30px); }
.viewing-close { position:absolute; top:18px; inset-inline-start:18px; width:38px; height:38px; display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; background:#fff; color:var(--text); }
.viewing-form > .btn { width:100%; margin-top:15px; }

.mobile-property-bar button {
  border:0; background:transparent; color:inherit; min-width:0; display:flex; align-items:center; justify-content:center;
  gap:6px; font:inherit; font-weight:800; padding:12px 7px;
}

/* Admin v2 */
.admin-filterbar { display:grid; grid-template-columns:minmax(220px,1.6fr) repeat(2,minmax(150px,.7fr)) auto; gap:10px; align-items:end; margin-bottom:18px; }
.admin-filterbar .field { margin:0; }
.admin-filterbar-actions { display:flex; gap:8px; align-items:center; }
.admin-empty { padding:34px 18px; text-align:center; color:var(--muted); }
.admin-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:14px; }
.admin-toolbar-group { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.admin-inline-form { display:flex; gap:6px; align-items:center; flex-wrap:wrap; }
.admin-inline-form .select { min-width:120px; padding:6px 30px 6px 9px; height:36px; font-size:12px; }
.trash-note { padding:12px 14px; border:1px solid #f1d7a5; background:#fff8e8; color:#745825; border-radius:13px; margin-bottom:14px; }
.upgrade-notice { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:18px; padding:13px 15px; border:1px solid #b9def2; border-radius:14px; background:#eef8fd; color:#244c63; }
.analytics-table td strong { color:var(--blue); }
.admin-section-title { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px; }
.admin-section-title h2 { margin:0; font-size:19px; }
.admin-image-tools { display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-bottom:14px; }
.setting-help { margin-top:5px; color:var(--muted); font-size:12px; }

@media (max-width: 980px) {
  .filters-form-advanced { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .filters-form-advanced .field-wide { grid-column:span 2; }
  .admin-filterbar { grid-template-columns:1fr 1fr; }
  .admin-filterbar .field:first-child { grid-column:span 2; }
}

@media (max-width: 760px) {
  .filter-mobile-trigger { display:flex; width:100%; justify-content:center; margin-bottom:14px; }
  .filters-wrap[data-filter-panel] {
    position:fixed; z-index:4200; inset:auto 0 0; max-height:min(88vh,760px); overflow:auto;
    display:block; margin:0; padding:18px var(--gutter) calc(20px + env(safe-area-inset-bottom));
    border-radius:24px 24px 0 0; background:#fff; box-shadow:0 -22px 70px rgba(0,0,0,.18);
    transform:translateY(105%); visibility:hidden; transition:transform .28s ease,visibility .28s step-end;
  }
  .filters-wrap[data-filter-panel]::before { content:''; position:fixed; inset:0; z-index:-1; background:rgba(10,20,26,.38); opacity:0; pointer-events:none; }
  .filters-wrap[data-filter-panel].mobile-open { transform:translateY(0); visibility:visible; transition:transform .28s ease; }
  body.filters-open { overflow:hidden; }
  .filters-mobile-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:14px; }
  .filters-mobile-head strong { font-size:18px; }
  .filters-form-advanced { grid-template-columns:1fr 1fr; gap:10px; }
  .filters-form-advanced .field-wide { grid-column:span 2; }
  .filter-actions { grid-column:span 2; display:grid; grid-template-columns:1fr 1fr; }
  .filter-actions .btn { width:100%; }
  .gallery-open { top:10px; inset-inline-start:10px; width:40px; height:40px; }
  .gallery-lightbox { padding:58px 10px 70px; }
  .lightbox-arrow { width:43px; height:52px; border-radius:13px; }
  .lightbox-next { inset-inline-end:8px; }
  .lightbox-prev { inset-inline-start:8px; }
  .lightbox-close { top:10px; inset-inline-start:10px; }
  .viewing-form { padding:24px 16px 20px; }
  .viewing-close { top:12px; inset-inline-start:12px; }
  .floating-wa.property-page-wa { display:none !important; }
  .admin-filterbar { grid-template-columns:1fr; }
  .admin-filterbar .field:first-child { grid-column:auto; }
  .admin-filterbar-actions { display:grid; grid-template-columns:1fr 1fr; }
  .admin-filterbar-actions .btn { width:100%; }
}

@media (max-width: 430px) {
  .filters-form-advanced { grid-template-columns:1fr; }
  .filters-form-advanced .field-wide, .filter-actions { grid-column:auto; }
  .filter-actions { grid-template-columns:1fr; }
  .viewing-dialog { width:calc(100vw - 20px); border-radius:18px; }
}
@media (max-width: 760px) {
  .mobile-property-bar button { border-radius:10px; background:#fff6df; color:#725111; font-size:12px; }
  .filters-wrap[data-filter-panel].mobile-open { box-shadow:0 -22px 70px rgba(0,0,0,.18), 0 0 0 100vmax rgba(10,20,26,.32); }
}
@media (max-width: 390px) {
  .mobile-property-bar button { font-size:11px; }
}

/* =========================================================
   Admin properties UI refinement — v2.1
   ========================================================= */
.admin-shell .qarak-container {
  width: min(100% - 32px, 1720px);
}

.properties-admin-panel {
  overflow: visible;
  padding: 0;
}

.admin-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-radius: inherit;
  -webkit-overflow-scrolling: touch;
}

.properties-admin-table {
  min-width: 1120px;
  table-layout: auto;
}

.properties-admin-table th,
.properties-admin-table td {
  padding: 15px 12px;
}

.properties-admin-table th {
  white-space: nowrap;
  background: #fbfbfa;
  color: #6d6863;
  font-size: 12px;
  font-weight: 800;
}

.properties-admin-table tbody tr {
  transition: background-color .18s ease;
}

.properties-admin-table tbody tr:hover {
  background: #fcfdfd;
}

.properties-admin-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-image-cell { width: 82px; }
.admin-code-cell { width: 126px; white-space: nowrap; text-align: left !important; }
.admin-code-cell strong { display: inline-block; direction: ltr; unicode-bidi: isolate; font-size: 12px; letter-spacing: .1px; }
.admin-property-cell { min-width: 250px; max-width: 390px; line-height: 1.7; }
.admin-property-title { color: var(--text); font-weight: 800; }
.admin-property-title:hover { color: var(--blue); }
.admin-location-cell { min-width: 115px; line-height: 1.7; }
.admin-price-cell { min-width: 120px; white-space: nowrap; }
.admin-price-cell strong { font-size: 13px; color: #23201d; }
.admin-status-cell { width: 145px; }
.admin-views-cell { width: 86px; text-align: center !important; font-variant-numeric: tabular-nums; }
.admin-actions-cell { width: 250px; }

.admin-thumb {
  width: 72px;
  height: 54px;
  border: 1px solid #ece9e6;
  border-radius: 10px;
}

.table-actions {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
}

.table-actions form { margin: 0; }

.small-btn {
  min-height: 36px;
  padding: 7px 10px;
  border-radius: 9px;
  font-size: 11px;
  cursor: pointer;
}

.small-btn.primary-action {
  border-color: #bfdcec;
  background: #f2f9fd;
  color: var(--blue);
}

.admin-actions-menu {
  position: relative;
}

.admin-actions-menu > summary {
  list-style: none;
  user-select: none;
}

.admin-actions-menu > summary::-webkit-details-marker { display: none; }

.admin-actions-menu[open] > summary {
  border-color: #bfdcec;
  color: var(--blue);
  background: #f7fbfd;
}

.admin-actions-popover {
  position: absolute;
  z-index: 90;
  top: calc(100% + 7px);
  inset-inline-end: 0;
  width: 190px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(24, 35, 44, .14);
}

.menu-action {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-align: right;
  cursor: pointer;
}

.menu-action:hover { background: #f5f7f8; }
.menu-action.danger { color: var(--danger); }
.menu-action.danger:hover { background: #fff2f2; }

.admin-inline-form .select {
  width: 126px;
  min-width: 126px;
}

.admin-filterbar {
  grid-template-columns: minmax(300px, 2fr) minmax(190px, .75fr) minmax(190px, .75fr) auto;
  gap: 12px;
  padding: 20px;
}

.admin-filterbar .input,
.admin-filterbar .select {
  min-height: 46px;
}

.admin-filterbar-actions .btn {
  min-height: 46px;
}

@media (max-width: 1180px) {
  .admin-shell .qarak-container { width: min(100% - 24px, 1720px); }
  .properties-admin-table { min-width: 1020px; }
  .admin-property-cell { min-width: 220px; max-width: 320px; }
  .admin-actions-cell { width: 220px; }
  .admin-filterbar { grid-template-columns: 1fr 1fr; }
  .admin-filterbar .field:first-child { grid-column: 1 / -1; }
  .admin-filterbar-actions { justify-content: flex-start; }
}

@media (max-width: 820px) {
  .admin-shell .qarak-container { width: min(100% - 18px, 1720px); }
  .properties-admin-panel { padding: 0; border: 0; background: transparent; }
  .admin-table-wrap { overflow: visible; }
  .properties-admin-table,
  .properties-admin-table tbody,
  .properties-admin-table tr,
  .properties-admin-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .properties-admin-table { border-collapse: separate; border-spacing: 0; }
  .properties-admin-table thead { display: none; }
  .properties-admin-table tbody { display: grid; gap: 12px; }
  .properties-admin-table tbody tr {
    position: relative;
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    column-gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(25, 34, 40, .045);
  }
  .properties-admin-table tbody tr:hover { background: #fff; }
  .properties-admin-table td {
    grid-column: 2;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1efed;
    text-align: right !important;
  }
  .properties-admin-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
  }
  .properties-admin-table .admin-image-cell {
    grid-column: 1;
    grid-row: 1 / span 3;
    display: block;
    padding: 0;
    border: 0;
  }
  .properties-admin-table .admin-image-cell::before { display: none; }
  .properties-admin-table .admin-thumb {
    width: 82px;
    height: 82px;
    border-radius: 13px;
  }
  .properties-admin-table .admin-code-cell,
  .properties-admin-table .admin-property-cell {
    grid-column: 2;
  }
  .properties-admin-table .admin-property-cell {
    max-width: none;
    display: block;
    padding-top: 3px;
  }
  .properties-admin-table .admin-property-cell::before { display: none; }
  .properties-admin-table .admin-property-title { display: inline; font-size: 14px; }
  .properties-admin-table .admin-code-cell { display: block; padding: 3px 0 8px; color: var(--muted); }
  .properties-admin-table .admin-code-cell::before { display: none; }
  .properties-admin-table .admin-code-cell strong { font-size: 11px; }
  .properties-admin-table .admin-location-cell,
  .properties-admin-table .admin-price-cell,
  .properties-admin-table .admin-status-cell,
  .properties-admin-table .admin-views-cell,
  .properties-admin-table .admin-actions-cell {
    grid-column: 1 / -1;
    width: auto;
  }
  .properties-admin-table .admin-actions-cell { border-bottom: 0; padding-bottom: 0; }
  .properties-admin-table .admin-actions-cell::before { display: none; }
  .properties-admin-table .table-actions { flex-wrap: wrap; }
  .properties-admin-table .table-actions > .small-btn,
  .properties-admin-table .table-actions > form,
  .properties-admin-table .table-actions > .admin-actions-menu { flex: 1 1 auto; }
  .properties-admin-table .table-actions > form .small-btn,
  .properties-admin-table .table-actions > .small-btn,
  .properties-admin-table .admin-actions-menu > summary { width: 100%; justify-content: center; }
  .properties-admin-table .admin-actions-popover {
    position: fixed;
    top: auto;
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 22px 70px rgba(24, 35, 44, .24);
  }
  .properties-admin-table .menu-action { min-height: 44px; font-size: 13px; }
  .properties-admin-table .admin-inline-form .select { width: 100%; min-width: 0; }
  .properties-admin-table .admin-empty-row { display: block; padding: 0; }
  .properties-admin-table .admin-empty-row td { display: block; padding: 0; border: 0; }
  .properties-admin-table .admin-empty-row td::before { display: none; }
  .admin-filterbar { grid-template-columns: 1fr; padding: 15px; }
  .admin-filterbar .field:first-child { grid-column: auto; }
  .admin-filterbar-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
}

@media (max-width: 480px) {
  .admin-shell .qarak-container { width: min(100% - 14px, 1720px); }
  .admin-title { display: grid; gap: 12px; }
  .admin-toolbar-group { width: 100%; }
  .admin-toolbar-group .btn { flex: 1 1 auto; justify-content: center; }
  .properties-admin-table tbody tr { grid-template-columns: 68px minmax(0, 1fr); padding: 12px; column-gap: 10px; }
  .properties-admin-table .admin-image-cell { width: 68px; }
  .properties-admin-table .admin-thumb { width: 68px; height: 68px; }
  .properties-admin-table td { grid-template-columns: 80px minmax(0, 1fr); }
  .properties-admin-table .table-actions > .small-btn,
  .properties-admin-table .table-actions > form,
  .properties-admin-table .table-actions > .admin-actions-menu { flex-basis: calc(50% - 4px); }
  .admin-filterbar-actions { grid-template-columns: 1fr; }
}
