/* عقارك بكام — components */
:root {
	--ab-pine: #17382c;
	--ab-leaf: #2e6b4f;
	--ab-leaf-d: #24573f;
	--ab-stone: #eef1ec;
	--ab-paper: #ffffff;
	--ab-brass: #b8862b;
	--ab-brass-l: #f4ead6;
	--ab-ink: #1c2421;
	--ab-muted: #5d6b65;
	--ab-line: #d5ddd7;
	--ab-error: #b3261e;
	--ab-r: 10px;
	--ab-font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
	--ab-display: "Reem Kufi", "IBM Plex Sans Arabic", sans-serif;
}

.ab-wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.ab-narrow { width: min(820px, 100% - 40px); }
.ab-section { padding-block: 64px; font-family: var(--ab-font); color: var(--ab-ink); }
.ab-section + .ab-section { padding-top: 16px; }
.ab-h1 { font-family: var(--ab-display); font-weight: 700; font-size: clamp(30px, 4vw, 44px); line-height: 1.25; margin: 0 0 14px; color: var(--ab-pine); }
.ab-h2 { font-family: var(--ab-display); font-weight: 700; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; margin: 0 0 8px; color: var(--ab-pine); }
.ab-h3 { font-family: var(--ab-font); font-weight: 600; font-size: 19px; margin: 24px 0 12px; color: var(--ab-pine); }
.ab-lead { font-size: 18px; line-height: 1.75; color: var(--ab-muted); margin: 0 0 20px; max-width: 62ch; }
.ab-fine { font-size: 13px; color: var(--ab-muted); line-height: 1.7; }
.ab-link { color: var(--ab-leaf); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ab-link:hover { color: var(--ab-pine); }
.ab-hp, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ab-sechead { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.ab-sechead .ab-lead { margin: 0; }

/* Buttons */
.ab-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 8px; border: 1.5px solid transparent; font: 600 16px/1 var(--ab-font); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap; }
.ab-btn--primary { background: var(--ab-leaf); color: #fff; }
.ab-btn--primary:hover { background: var(--ab-leaf-d); color: #fff; }
.ab-btn--ghost { background: transparent; border-color: var(--ab-line); color: var(--ab-pine); }
.ab-btn--ghost:hover { border-color: var(--ab-pine); }
.ab-btn--light { background: #fff; color: var(--ab-pine); }
.ab-btn--outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.ab-btn--outline-light:hover { border-color: #fff; color: #fff; }
.ab-btn--lg { min-height: 54px; padding: 0 30px; font-size: 17px; }
.ab-btn:disabled { opacity: .6; cursor: progress; }
.ab-btn:focus-visible, .ab-form :focus-visible, .ab-link:focus-visible, .ab-card a:focus-visible { outline: 3px solid var(--ab-brass); outline-offset: 2px; }
.ab-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

/* Forms */
.ab-form { font-family: var(--ab-font); }
.ab-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; flex: 1; min-width: 0; }
.ab-field > span { font-weight: 600; font-size: 14px; color: var(--ab-pine); }
.ab-field small { color: var(--ab-muted); font-size: 12px; }
.ab-form input[type=text], .ab-form input[type=tel], .ab-form input[type=email], .ab-form input[type=number], .ab-form select, .ab-form textarea,
.ab-filters input, .ab-filters select, .ab-quick select, .ab-quick input {
	width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--ab-line); border-radius: 8px; background: #fff; font: 16px/1.4 var(--ab-font); color: var(--ab-ink); box-sizing: border-box;
}
.ab-form select[multiple] { min-height: 150px; padding: 6px; }
.ab-form textarea { min-height: 90px; resize: vertical; }
.ab-form input:focus, .ab-form select:focus, .ab-form textarea:focus { border-color: var(--ab-leaf); outline: none; box-shadow: 0 0 0 3px rgba(46,107,79,.18); }
.ab-form [aria-invalid=true] { border-color: var(--ab-error); }
.ab-form input[type=file] { padding: 10px; border: 1.5px dashed var(--ab-line); border-radius: 8px; background: var(--ab-stone); }
.ab-row { display: flex; gap: 14px; }
.ab-row--3 > * { flex: 1 1 0; }
.ab-check { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 20px; font-size: 14px; line-height: 1.6; }
.ab-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--ab-leaf); }
.ab-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ab-chip { position: relative; cursor: pointer; }
.ab-chip input { position: absolute; opacity: 0; inset: 0; }
.ab-chip span { display: inline-block; padding: 9px 14px; border: 1.5px solid var(--ab-line); border-radius: 999px; font-size: 14px; background: #fff; transition: all .15s; }
.ab-chip input:checked + span { background: var(--ab-pine); border-color: var(--ab-pine); color: #fff; }
.ab-chip input:focus-visible + span { outline: 3px solid var(--ab-brass); outline-offset: 2px; }
.ab-form__msg { color: var(--ab-error); font-weight: 600; margin: 12px 0 0; }
.ab-alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; line-height: 1.7; }
.ab-alert--error { background: #fbeceb; color: var(--ab-error); }
.ab-alert--ok { background: #e6f1eb; color: var(--ab-pine); }
.ab-ok { color: var(--ab-pine); font-weight: 600; line-height: 1.7; }
.ab-card-form { background: #fff; border: 1px solid var(--ab-line); border-radius: var(--ab-r); padding: 24px; }
.ab-card-form .ab-h3 { margin-top: 0; }

/* Hero */
.ab-hero { background: var(--ab-stone); padding-block: 64px 72px; font-family: var(--ab-font); color: var(--ab-ink); }
.ab-hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.ab-hero__place { font-size: 15px; font-weight: 600; color: var(--ab-leaf); margin: 0 0 10px; }
.ab-hero__title { font-family: var(--ab-display); font-weight: 700; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.15; color: var(--ab-pine); margin: 0 0 18px; letter-spacing: -.5px; }
.ab-hero__text { font-size: 18px; line-height: 1.8; color: var(--ab-muted); max-width: 52ch; margin: 0 0 28px; }
.ab-hero__free { font-size: 14px; color: var(--ab-muted); margin: 12px 0 0; }
.ab-quick { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; background: #fff; border: 1px solid var(--ab-line); border-radius: 12px; padding: 14px; }
.ab-quick__f { display: flex; flex-direction: column; gap: 4px; flex: 1 1 150px; }
.ab-quick__f--s { flex: 0 1 110px; }
.ab-quick__f span { font-size: 13px; font-weight: 600; color: var(--ab-muted); }
.ab-quick .ab-btn { flex: 1 1 140px; }

/* The ruler: district price per m² as a surveyor's scale */
.ab-hero__ruler { background: var(--ab-pine); color: #fff; border-radius: 14px; padding: 28px 28px 24px; }
.ab-ruler__cap { font-weight: 600; font-size: 15px; color: #cfdcd4; margin: 0 0 16px; }
.ab-ruler { list-style: none; margin: 0 0 18px; padding: 0; }
.ab-ruler li { position: relative; border-top: 1px solid rgba(255,255,255,.12); }
.ab-ruler li a, .ab-ruler li > span { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; color: #fff; text-decoration: none; z-index: 1; }
.ab-ruler li::before { content: ""; position: absolute; inset-block: 6px; inset-inline-start: 0; width: var(--w, 0); background:
	repeating-linear-gradient(to var(--ab-dir-end, left), rgba(184,134,43,.55) 0 1px, transparent 1px 12px),
	linear-gradient(to var(--ab-dir-end, left), rgba(184,134,43,.28), rgba(184,134,43,.08)); border-radius: 3px; }
[dir=ltr] .ab-ruler li::before { --ab-dir-end: right; }
[dir=rtl] .ab-ruler li::before { --ab-dir-end: left; }
.ab-ruler li a:hover .ab-ruler__n { text-decoration: underline; }
.ab-ruler__n { font-size: 15px; padding-inline-start: 10px; }
.ab-ruler__v { font-weight: 600; font-variant-numeric: tabular-nums; color: #f1d9a5; direction: ltr; }
.ab-ruler--names { display: flex; flex-wrap: wrap; gap: 8px; }
.ab-ruler--names li { border: 1px solid rgba(255,255,255,.2); border-radius: 999px; }
.ab-ruler--names li::before { display: none; }
.ab-ruler--names li > span { padding: 6px 14px; }
.ab-hero__ruler .ab-link { color: #f1d9a5; }

/* Valuation page */
.ab-valuate { background: var(--ab-stone); }
.ab-valuate__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.ab-ticks { list-style: none; padding: 0; margin: 0 0 20px; }
.ab-ticks li { position: relative; padding-inline-start: 28px; margin-bottom: 10px; line-height: 1.7; }
.ab-ticks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .55em; width: 12px; height: 7px; border-inline-start: 2px solid var(--ab-leaf); border-bottom: 2px solid var(--ab-leaf); transform: rotate(-45deg); }
[dir=rtl] .ab-ticks li::before { transform: rotate(45deg) scaleX(-1); }
.ab-wizard { background: #fff; border: 1px solid var(--ab-line); border-radius: 14px; padding: 28px; }
.ab-wizard__nav { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 24px; counter-reset: s; }
.ab-wizard__nav li { flex: 1; font-size: 13px; font-weight: 600; color: var(--ab-muted); padding-top: 10px; border-top: 4px solid var(--ab-line); counter-increment: s; }
.ab-wizard__nav li::before { content: counter(s) ". "; }
.ab-wizard__nav li.is-on { color: var(--ab-pine); border-color: var(--ab-leaf); }
.ab-step { border: 0; padding: 0; margin: 0; display: none; }
.ab-step.is-on { display: block; }
.ab-wizard.is-done { opacity: .55; }
.ab-result-slot:empty { display: none; }
.ab-result-slot { margin-top: 32px; }

/* Result */
.ab-result { background: #fff; border: 1px solid var(--ab-line); border-radius: 14px; padding: 32px; }
.ab-result__status { display: flex; gap: 12px; align-items: center; background: var(--ab-brass-l); padding: 14px 16px; border-radius: 8px; margin: 0 0 20px; line-height: 1.6; }
.ab-spinner { width: 18px; height: 18px; flex: none; border: 2.5px solid var(--ab-brass); border-top-color: transparent; border-radius: 50%; animation: ab-spin .8s linear infinite; }
@keyframes ab-spin { to { transform: rotate(360deg); } }
.ab-result__label { color: var(--ab-muted); margin: 0 0 6px; }
.ab-result__price { font-family: var(--ab-display); font-weight: 700; color: var(--ab-pine); font-size: clamp(40px, 6vw, 60px); line-height: 1.1; margin: 0 0 18px; }
.ab-result__price span { font-variant-numeric: tabular-nums; }
.ab-result__price small { font-size: .4em; font-family: var(--ab-font); color: var(--ab-muted); }
.ab-range { max-width: 520px; margin-bottom: 16px; }
.ab-range__bar { height: 10px; background: var(--ab-stone); border-radius: 999px; position: relative; }
.ab-range__bar i { position: absolute; inset-block: 0; inset-inline: 18%; background: linear-gradient(90deg, var(--ab-leaf), var(--ab-brass), var(--ab-leaf)); border-radius: 999px; }
.ab-range__ends { display: flex; justify-content: space-between; font-size: 14px; color: var(--ab-muted); margin-top: 6px; }
.ab-result__meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 0; color: var(--ab-muted); }
.ab-badge { padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.ab-badge--high { background: #e0efe6; color: var(--ab-pine); }
.ab-badge--medium { background: var(--ab-brass-l); color: #7a5716; }
.ab-badge--low { background: #f1f1ef; color: var(--ab-muted); }
.ab-result__explain { border-inline-start: 3px solid var(--ab-brass); padding-inline-start: 18px; margin: 28px 0; line-height: 1.9; font-size: 16px; }
.ab-ref { border-top: 1px solid var(--ab-line); padding-top: 18px; margin-top: 24px; }
.ab-ref summary { font-weight: 700; font-size: 18px; color: var(--ab-pine); cursor: pointer; margin-bottom: 14px; }
.ab-ref__steps { padding-inline-start: 22px; line-height: 1.9; }
.ab-ref__steps > li { margin-bottom: 10px; }
.ab-ref__adj { list-style: none; padding: 0; margin: 8px 0; max-width: 520px; }
.ab-ref__adj li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--ab-line); padding: 6px 0; }
.ab-ref h4 { margin: 24px 0 10px; color: var(--ab-pine); }
.ab-ref__manual { line-height: 1.9; }
.ab-ref__note { font-size: 13px; color: var(--ab-muted); margin-top: 18px; }
.ab-table-wrap { overflow-x: auto; }
.ab-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ab-table th, .ab-table td { text-align: start; padding: 10px 8px; border-bottom: 1px solid var(--ab-line); vertical-align: top; }
.ab-table th { color: var(--ab-muted); font-weight: 600; }
.ab-table td:nth-child(n+2) { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ab-result__next { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--ab-line); }
.ab-result__empty h3 { color: var(--ab-pine); }

/* Cards */
.ab-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ab-card { background: #fff; border: 1px solid var(--ab-line); border-radius: var(--ab-r); overflow: hidden; display: flex; flex-direction: column; }
.ab-card--featured { border-color: var(--ab-brass); box-shadow: 0 0 0 1px var(--ab-brass); }
.ab-card__img { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--ab-stone); overflow: hidden; }
.ab-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-card__noimg { display: flex; height: 100%; align-items: center; justify-content: center; font-family: var(--ab-display); font-size: 22px; color: var(--ab-leaf); }
.ab-flag { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--ab-brass); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 6px; }
.ab-flag--inline { position: static; display: inline-block; margin-bottom: 10px; }
.ab-card__body { padding: 16px 18px 18px; }
.ab-card__price { font-weight: 700; font-size: 22px; color: var(--ab-pine); margin: 0 0 4px; font-variant-numeric: tabular-nums; }
.ab-card__price small { font-size: 13px; color: var(--ab-muted); font-weight: 500; }
.ab-card__price--sm { font-size: 16px; margin-top: 8px; }
.ab-card__title { font-size: 16px; font-weight: 600; margin: 0 0 10px; line-height: 1.5; }
.ab-card__title a { color: var(--ab-ink); text-decoration: none; }
.ab-card__title a:hover { color: var(--ab-leaf); }
.ab-card__facts { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; font-size: 14px; color: var(--ab-muted); }
.ab-empty { border: 1.5px dashed var(--ab-line); border-radius: var(--ab-r); padding: 36px; text-align: center; }
.ab-empty p { color: var(--ab-muted); margin: 0 0 16px; }

/* How it works */
.ab-how__list { list-style: none; counter-reset: how; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 0; margin: 0 0 32px; }
.ab-how__list li { counter-increment: how; border-top: 2px solid var(--ab-pine); padding-top: 18px; }
.ab-how__list li::before { content: counter(how); font-family: var(--ab-display); font-size: 40px; line-height: 1; color: var(--ab-brass); display: block; margin-bottom: 10px; }
.ab-how__list h3 { font-size: 19px; color: var(--ab-pine); margin: 0 0 8px; }
.ab-how__list p { color: var(--ab-muted); line-height: 1.75; margin: 0; }

/* Districts */
.ab-districts__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.ab-districts__col h3 { font-family: var(--ab-display); font-size: 22px; color: var(--ab-pine); margin: 0 0 8px; }
.ab-districts__col ul { list-style: none; margin: 0; padding: 0; }
.ab-districts__col a { display: flex; justify-content: space-between; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--ab-line); color: var(--ab-ink); text-decoration: none; }
.ab-districts__col a:hover span { color: var(--ab-leaf); text-decoration: underline; }
.ab-districts__col b { font-variant-numeric: tabular-nums; color: var(--ab-pine); direction: ltr; }
.ab-districts__col b small { color: var(--ab-muted); font-weight: 500; }
.ab-districts__col .is-muted { color: var(--ab-line); }

/* Developers */
.ab-devs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ab-dev { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 22px 14px; border: 1px solid var(--ab-line); border-radius: var(--ab-r); background: #fff; text-decoration: none; color: var(--ab-ink); }
.ab-dev.is-partner { border-color: var(--ab-brass); }
.ab-dev img { max-height: 60px; width: auto; object-fit: contain; }
.ab-dev__mono { width: 60px; height: 60px; border-radius: 50%; background: var(--ab-stone); color: var(--ab-pine); display: flex; align-items: center; justify-content: center; font-family: var(--ab-display); font-size: 26px; }
.ab-dev__name { font-weight: 600; }
.ab-dev__meta { font-size: 13px; color: var(--ab-muted); }
.ab-dev-logo { margin-bottom: 16px; }

/* News */
.ab-post__img { display: block; aspect-ratio: 16 / 10; background: var(--ab-stone); border-radius: var(--ab-r); overflow: hidden; margin-bottom: 14px; }
.ab-post__img img { width: 100%; height: 100%; object-fit: cover; }
.ab-post time { font-size: 13px; color: var(--ab-muted); }
.ab-post h3 { font-size: 18px; line-height: 1.5; margin: 6px 0 8px; }
.ab-post h3 a { color: var(--ab-pine); text-decoration: none; }
.ab-post h3 a:hover { text-decoration: underline; }
.ab-post p { color: var(--ab-muted); line-height: 1.75; margin: 0; }

/* Band */
.ab-band { background: var(--ab-pine); color: #fff; padding-block: 56px; font-family: var(--ab-font); }
.ab-band .ab-h2 { color: #fff; }
.ab-band p { color: #cfdcd4; line-height: 1.8; max-width: 60ch; margin: 0; }
.ab-band__grid { display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.ab-band__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Filters, tabs, pager */
.ab-filters { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)) auto; gap: 10px; margin: 8px 0 32px; padding: 14px; background: var(--ab-stone); border-radius: 12px; }
.ab-tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.ab-tabs a { padding: 9px 18px; border: 1.5px solid var(--ab-line); border-radius: 999px; text-decoration: none; color: var(--ab-pine); font-weight: 600; }
.ab-tabs a.is-on { background: var(--ab-pine); color: #fff; border-color: var(--ab-pine); }
.ab-pager { display: flex; gap: 6px; justify-content: center; margin-top: 32px; }
.ab-pager a { min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--ab-line); border-radius: 8px; text-decoration: none; color: var(--ab-ink); }
.ab-pager a.is-on { background: var(--ab-pine); color: #fff; }

/* Single */
.ab-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 200px); gap: 8px; margin-bottom: 32px; border-radius: 14px; overflow: hidden; }
.ab-gallery a:first-child { grid-row: span 2; }
.ab-gallery[data-count="1"] { grid-template-columns: 1fr; grid-template-rows: 420px; }
.ab-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-cover { border-radius: 14px; overflow: hidden; margin-bottom: 32px; max-height: 440px; }
.ab-cover img { width: 100%; height: 100%; object-fit: cover; }
.ab-single__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.ab-single__side { position: sticky; top: 100px; }
.ab-single__price { font-size: 30px; font-weight: 700; color: var(--ab-pine); margin: 0 0 24px; font-variant-numeric: tabular-nums; }
.ab-single__price small { font-size: 15px; color: var(--ab-muted); }
.ab-single__price span { font-size: 15px; font-weight: 500; color: var(--ab-muted); margin-inline-start: 12px; }
.ab-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0; margin: 0 0 24px; border-top: 1px solid var(--ab-line); }
.ab-facts > div { padding: 14px 0; border-bottom: 1px solid var(--ab-line); }
.ab-facts dt { font-size: 13px; color: var(--ab-muted); }
.ab-facts dd { margin: 2px 0 0; font-weight: 600; }
.ab-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 24px; }
.ab-tags li { background: var(--ab-stone); padding: 6px 14px; border-radius: 999px; font-size: 14px; }
.ab-prose { line-height: 1.95; font-size: 17px; max-width: 70ch; }
.ab-prose h2 { font-family: var(--ab-display); color: var(--ab-pine); font-size: 24px; margin: 32px 0 10px; }
.ab-side-link { display: block; margin-top: 16px; color: var(--ab-leaf); font-weight: 600; }
.ab-reveal .ab-btn { margin: 6px 0; }

.ab-district-head { background: var(--ab-stone); padding-block: 48px; font-family: var(--ab-font); }
.ab-district-head__ppm { font-size: 20px; font-weight: 600; color: var(--ab-leaf); margin: 0 0 20px; }

.ab-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.ab-done { text-align: start; margin-bottom: 28px; }
.ab-feature-offer { border: 2px solid var(--ab-brass); border-radius: 14px; padding: 28px; background: #fffdf8; }
.ab-pay { line-height: 2; padding-inline-start: 22px; margin: 16px 0 20px; }

/* Price index */
.ab-index { list-style: none; padding: 0; margin: 0 0 36px; }
.ab-index a { display: grid; grid-template-columns: 220px 1fr 170px; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--ab-line); text-decoration: none; color: var(--ab-ink); }
.ab-index__bar { height: 12px; background: var(--ab-stone); border-radius: 3px; overflow: hidden; }
.ab-index__bar i { display: block; height: 100%; width: var(--w); background: var(--ab-leaf); }
.ab-index a:hover .ab-index__bar i { background: var(--ab-brass); }
.ab-index__v { font-weight: 700; color: var(--ab-pine); font-variant-numeric: tabular-nums; text-align: end; direction: ltr; }
.ab-index__v small { color: var(--ab-muted); font-weight: 500; }

.ab-calc-sec { background: var(--ab-stone); margin-top: 32px; }
.ab-calc__out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ab-calc__out div { background: #fff; border: 1px solid var(--ab-line); border-radius: 10px; padding: 14px 16px; }
.ab-calc__out span { display: block; font-size: 13px; color: var(--ab-muted); }
.ab-calc__out b { font-size: 20px; color: var(--ab-pine); font-variant-numeric: tabular-nums; }

/* Account */
.ab-auth { max-width: 520px; }
.ab-auth__tabs { display: flex; gap: 0; margin-bottom: 20px; border-bottom: 2px solid var(--ab-line); }
.ab-auth__tabs button { flex: 1; background: none; border: 0; padding: 12px; font: 600 16px var(--ab-font); color: var(--ab-muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.ab-auth__tabs button[aria-selected=true] { color: var(--ab-pine); border-color: var(--ab-leaf); }
.ab-mylist { display: grid; gap: 20px; margin-bottom: 24px; }
.ab-mylist__item { background: #fff; border: 1px solid var(--ab-line); border-radius: 14px; padding: 22px; }
.ab-mylist__head { display: flex; gap: 16px; align-items: center; }
.ab-mylist__head .ab-h3 { margin: 0 0 4px; }
.ab-mylist__thumb { flex: none; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--ab-stone); }
.ab-mylist__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ab-mylist__status { margin: 0; font-size: 14px; color: var(--ab-leaf); font-weight: 600; }
.ab-mylist__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0; }
.ab-mylist__stats div { background: var(--ab-stone); border-radius: 10px; padding: 12px; }
.ab-mylist__stats dt { font-size: 12px; color: var(--ab-muted); }
.ab-mylist__stats dd { margin: 4px 0 0; font-size: 24px; font-weight: 700; color: var(--ab-pine); font-variant-numeric: tabular-nums; }
.ab-mylist__contacts { margin: 0 0 14px; }
.ab-mylist__contacts summary { cursor: pointer; font-weight: 600; color: var(--ab-pine); }
.ab-mylist__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; border-top: 1px solid var(--ab-line); padding-top: 16px; }
.ab-inline { display: flex; gap: 8px; align-items: center; margin: 0; }
.ab-inline input { width: 150px; min-height: 48px; padding: 10px 12px; border: 1.5px solid var(--ab-line); border-radius: 8px; font: 16px var(--ab-font); }

/* Responsive */
@media (max-width: 1024px) {
	.ab-filters { grid-template-columns: repeat(3, 1fr); }
	.ab-devs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
	.ab-section { padding-block: 44px; }
	.ab-hero { padding-block: 40px 48px; }
	.ab-hero__grid, .ab-valuate__grid, .ab-single__grid, .ab-split, .ab-districts__cols { grid-template-columns: 1fr; gap: 32px; }
	.ab-grid-3, .ab-how__list { grid-template-columns: 1fr 1fr; }
	.ab-single__side { position: static; }
	.ab-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; }
	.ab-gallery a:first-child { grid-column: span 2; grid-row: auto; }
	.ab-gallery a:nth-child(n+4) { display: none; }
	.ab-index a { grid-template-columns: 1fr auto; }
	.ab-index__bar { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 600px) {
	.ab-grid-3, .ab-how__list, .ab-calc__out { grid-template-columns: 1fr; }
	.ab-row { flex-direction: column; gap: 0; }
	.ab-filters { grid-template-columns: 1fr 1fr; }
	.ab-filters .ab-btn { grid-column: 1 / -1; }
	.ab-devs { grid-template-columns: 1fr 1fr; }
	.ab-wizard, .ab-result, .ab-card-form, .ab-feature-offer { padding: 20px; }
	.ab-quick__f, .ab-quick__f--s, .ab-quick .ab-btn { flex: 1 1 100%; }
	.ab-mylist__stats { grid-template-columns: 1fr 1fr; }
	.ab-inline { width: 100%; }
	.ab-inline input { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.ab-spinner { animation-duration: 2.4s; }
	* { transition: none !important; scroll-behavior: auto !important; }
}
