/*
Theme Name: Dupazaz kivi
Text Domain: dupazaz-kivi
Version: 1.0.0
*/:root {
	--bg: #EFE8DF;
	--surface: #FFFBF7;
	--field: #FFFFFF;
	--accent: #C9A962;
	--accent-soft: #A8843E;
	--accent-deep: #8F6F32;
	--text: #1C1814;
	--muted: #7A6F64;
	--stroke: rgba(168, 132, 62, .28);
	--heading: 'Roslindale', 'Playfair Display', Georgia, serif;
	--body: 'Inter', system-ui, sans-serif;
	--shell: 1400px;
	--radius: 14px;
	--control-radius: 999px;
	--hero-deep: #F5F0EA;
	--gold: linear-gradient(135deg, #E8D5A3 0%, #C9A962 48%, #A8843E 100%);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--body);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
}
body.city-is-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, summary { font: 500 13px/1.2 var(--body); }
button, summary { color: inherit; }
button { cursor: pointer; }
h1, h2, h3, .profile-related__heading {
	margin: 0;
	font-family: var(--heading);
	font-weight: 400;
	letter-spacing: -.04em;
	line-height: 1.06;
}
h1 { font-size: clamp(40px, 5vw, 72px); }
h2 { font-size: clamp(28px, 3vw, 42px); }
h3, .profile-related__heading { font-size: clamp(22px, 2.2vw, 32px); }
p { margin: 0; }
.shell, .container, .site-container {
	width: min(calc(100% - 48px), var(--shell));
	margin-inline: auto;
}
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

.header {
	position: relative;
	z-index: 80;
	background: var(--field);
	border-bottom: 1px solid var(--stroke);
}
.header--pinned {
	position: fixed;
	inset: 0 0 auto;
	animation: header-in .22s ease-out;
}
@keyframes header-in { from { transform: translateY(-100%); } }
.header__inner {
	display: grid;
	grid-template-columns: minmax(280px, .75fr) minmax(340px, 1.5fr) minmax(150px, .45fr);
	gap: 24px;
	align-items: center;
	min-height: 82px;
	padding-block: 10px;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 13px;
	min-width: 0;
}
.brand__mark {
	width: auto;
	height: auto;
	max-height: 53px;
	max-width: 64px;
	flex: 0 0 auto;
}
.brand__column { display: grid; min-width: 0; }
.brand__name {
	font: 400 clamp(18px, 1.7vw, 25px)/1.05 var(--heading);
	letter-spacing: -.035em;
}
.brand__caption {
	margin-top: 4px;
	color: var(--muted);
	font-size: 12px;
	white-space: nowrap;
}
.header-search {
	display: grid;
	grid-template-columns: 1fr auto;
	min-width: 0;
	border: 1px solid var(--stroke);
	border-radius: var(--control-radius);
	background: var(--bg);
	overflow: hidden;
}
.header-search input {
	min-width: 0;
	padding: 13px 15px;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--text);
}
.header-search button, .city-trigger, .city-drawer__close {
	min-height: 42px;
	padding: 10px 24px;
	border: 1px solid var(--stroke);
	border-radius: var(--control-radius);
	background: var(--accent);
	color: var(--text);
	text-align: center;
}
.header-search button { border-width: 0 0 0 1px; border-radius: 0; }
.city-trigger { display: grid; justify-items: start; background: var(--bg); }
.city-trigger span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.city-trigger strong { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.header__lower {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 42px;
	border-top: 1px solid var(--stroke);
}
.header__slogan {
	color: #FFFFFF;
	font-size: 12px;
	letter-spacing: .16em;
	text-transform: uppercase;
}
.top-nav { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.top-nav a { font-size: 12px; }
.top-nav a:hover, .footer a:hover { color: var(--muted); }

.city-drawer {
	position: fixed;
	z-index: 1000;
	inset: 0;
	display: grid;
	place-items: start end;
	padding: 24px;
	background: rgba(0, 0, 0, .72);
}
.city-drawer__panel {
	width: min(440px, 100%);
	max-height: calc(100vh - 48px);
	overflow: auto;
	padding: 24px;
	background: var(--field);
	border: 1px solid var(--stroke);
	border-radius: var(--radius);
}
.city-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.city-drawer__head h2 { font-size: 30px; }
.city-drawer__close { background: var(--bg); }
.city-drawer__list { display: grid; }
.city-drawer__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	padding: 13px 0;
	border-bottom: 1px solid var(--stroke);
}
.city-drawer__list small { color: var(--muted); }

.main-area { padding-block: 24px 64px; }
.main-area__container { width: 100%; }
.sidebars-column { display: none; }
.breadcrumbs, .rebi-breadcrumbs { margin-bottom: 12px; color: var(--muted); font-size: 12px; }
.breadcrumbs a, .rebi-breadcrumbs a { color: var(--text); }

.rebi-hero {
	position: relative;
	isolation: isolate;
	height: clamp(380px, 42vw, 560px);
	max-height: 640px;
	margin: 0 0 28px;
	overflow: hidden;
	border: 0;
	border-radius: 0;
	background: #000;
	-webkit-mask-image: linear-gradient(180deg, #000 0%, #000 82%, rgba(0,0,0,.5) 94%, transparent 100%);
	mask-image: linear-gradient(180deg, #000 0%, #000 82%, rgba(0,0,0,.5) 94%, transparent 100%);
}
.rebi-hero::before {
	content: "";
	position: absolute;
	z-index: 1;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(4,16,12,.55) 0%, rgba(4,16,12,.18) 22%, transparent 48%),
		linear-gradient(180deg, rgba(4,16,12,.08) 0%, transparent 16%, transparent 78%, rgba(7,20,15,.72) 100%);
}
.rebi-hero::after {
	content: none;
}
.rebi-hero__slides, .rebi-hero__slide { position: absolute; inset: 0; }
.rebi-hero__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 68% 18%;
}
.rebi-hero__copy {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: min(46%, 620px);
	height: 100%;
	padding: 36px clamp(24px, 4vw, 58px) 48px;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .7);
}
.rebi-hero__copy .doduz { margin-top: 16px; max-width: 52ch; color: var(--text); }
.rebi-hero__controls {
	position: absolute;
	z-index: 3;
	right: 18px;
	bottom: 28px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.rebi-hero__arrow, .rebi-hero__dots button {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 50%;
	background: rgba(0, 0, 0, .55);
	color: var(--text);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}
.rebi-hero__dots { display: flex; gap: 7px; }
.rebi-hero__dots button { width: 9px; height: 9px; border: 0; background: var(--muted); }
.rebi-hero__dots button.is-active { background: var(--accent); }

.filter-rail { position: relative; z-index: 20; margin-bottom: 18px; }
.filter-rail__row {
	display: flex;
	width: 100%;
	border: 1px solid var(--stroke);
	border-radius: var(--control-radius);
	background: var(--field);
}
.filter-segment { position: relative; flex: 1 1 0; min-width: 0; border-right: 1px solid var(--stroke); }
.filters-rail__row > .filter-segment { flex: 1 1 0; min-width: 0; }
.filter-segment:last-child { border-right: 0; }
.filter-segment summary {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 8px 10px;
	list-style: none;
	text-align: center;
	cursor: pointer;
}
.filter-segment summary::-webkit-details-marker { display: none; }
.filter-segment[open] summary { background: var(--accent); }
.filter-segment__options {
	position: absolute;
	z-index: 50;
	top: calc(100% + 6px);
	left: 0;
	width: max(100%, 190px);
	max-height: 320px;
	overflow: auto;
	padding: 7px;
	background: var(--field);
	border: 1px solid var(--stroke);
	border-radius: var(--control-radius);
}
.filter-segment__options a { display: block; padding: 9px 10px; border-radius: 7px; }
.filter-segment__options a:hover, .filter-segment__options a.is-active { background: var(--accent); }

.gezom, .nikug {
	width: 100%;
	margin: 24px 0;
	padding: clamp(22px, 3vw, 40px) 0;
	border-block: 1px solid var(--stroke);
}
.gezom h2, .nikug h3 { margin-bottom: 16px; }
.fitofa, .nikug__text { width: 100%; color: var(--muted); }
.fitofa p + p, .nikug__text p + p { margin-top: 14px; }

.main-content__cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
.card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	min-width: 0;
	overflow: hidden;
	background: var(--surface);
	border: 1px solid var(--stroke);
	border-radius: var(--radius);
}
.card__data {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	gap: clamp(10px, 1.6vw, 18px);
	padding: clamp(12px, 1.6vw, 20px);
	min-width: 0;
}
.card__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.card__fact { min-width: 0; }
.card__fact span { display: block; color: var(--muted); font-size: 12px; }
.card__fact strong { display: block; overflow-wrap: anywhere; font-weight: 500; }
.card__price { color: var(--text); font: 400 clamp(26px, 2.5vw, 38px)/1 var(--heading); letter-spacing: -.04em; }
.card__phone { overflow-wrap: anywhere; color: var(--muted); }
.card__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 20px;
	background: var(--accent);
	border: 1px solid var(--stroke);
	border-radius: var(--control-radius);
	text-align: center;
}
.card__photo { position: relative; min-width: 0; aspect-ratio: 2 / 3; overflow: hidden; }
.card__photo-link { position: absolute; inset: 0; }
.card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; }
.card__photo::after {
	content: "";
	position: absolute;
	inset: 55% 0 0;
	background: linear-gradient(transparent, rgba(0,0,0,.9));
	pointer-events: none;
}
.card__badge {
	position: absolute;
	z-index: 3;
	top: 12px; right: 12px;
	padding: 6px 9px;
	background: var(--accent);
	border-radius: 7px;
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.card__identity {
	position: absolute;
	z-index: 3;
	right: 0; bottom: 0; left: 0;
	display: grid;
	gap: 3px;
	padding: 16px;
	pointer-events: none;
}
.card__identity a { width: max-content; max-width: 100%; pointer-events: auto; }
.card__identity strong { font: 400 clamp(22px, 2.4vw, 34px)/1.05 var(--heading); letter-spacing: -.04em; }
.card__area { color: var(--muted); font-size: 12px; }

.paginator { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.paginator .page-numbers {
	display: grid;
	place-items: center;
	min-width: 40px; min-height: 40px;
	padding: 8px 13px;
	border: 1px solid var(--stroke);
	border-radius: 999px;
}
.paginator .current { background: var(--accent); }
.empty-state { padding: 30px 0; color: var(--muted); }

.single-content { width: 100%; }
.profile-identity {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
	padding: 18px 0 24px;
	border-bottom: 1px solid var(--stroke);
}
.profile-identity a { color: var(--muted); }
.profile-flow { display: grid; gap: clamp(28px, 4vw, 56px); padding-top: 24px; }
.profile-flow section { width: 100%; }
.profile-flow h2 { margin-bottom: 18px; }
.profile-gallery__viewer { display: grid; gap: 10px; }
.profile-gallery__main {
	display: block;
	width: min(100%, 720px);
	aspect-ratio: 2 / 3;
	overflow: hidden;
	border: 1px solid var(--stroke);
	border-radius: var(--radius);
}
.profile-gallery__main img { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; }
.profile-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(74px, 110px));
	gap: 8px;
}
.profile-gallery__thumb {
	aspect-ratio: 2 / 3;
	padding: 0;
	overflow: hidden;
	background: var(--bg);
	border: 1px solid var(--stroke);
	border-radius: 8px;
}
.profile-gallery__thumb.is-active { border-color: var(--accent); }
.profile-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; }
.profile-contact { display: flex; align-items: center; justify-content: center; min-height: 72px; border-block: 1px solid var(--stroke); }
.profile-contact__reveal, .profile-contact__phone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 30px;
	background: var(--accent);
	border: 1px solid var(--stroke);
	border-radius: var(--control-radius);
	color: var(--text);
}
.profile-details dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; }
.profile-details dl div { padding: 17px; border-block: 1px solid var(--stroke); }
.profile-details dt { color: var(--muted); font-size: 12px; }
.profile-details dd { margin: 5px 0 0; font: 400 24px/1 var(--heading); }
.profile-services {
	padding: clamp(22px, 3vw, 38px);
	background: var(--field);
	border: 1px solid var(--stroke);
	border-radius: var(--radius);
}
.profile-services__list { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-services__list a { padding: 9px 13px; border: 1px solid var(--stroke); border-radius: 8px; }
.profile-rates__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block: 1px solid var(--stroke); }
.profile-rates__row div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 20px; }
.profile-rates__row div + div { border-left: 1px solid var(--stroke); }
.profile-rates__row span { color: var(--muted); }
.profile-rates__row strong { font: 400 clamp(26px, 3vw, 40px)/1 var(--heading); }
.profile-description__body { width: 100%; color: var(--muted); }
.profile-description__body p:first-child { color: var(--text); font-size: 1.06em; line-height: 1.55; font-family: var(--body); font-weight: 400; }
.profile-description__body p + p { margin-top: 16px; }
.profile-related__heading { margin-bottom: 18px; }
.profile-related__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.profile-related__item { min-width: 0; }

.footer {
	background: var(--field);
	border-top: 1px solid var(--stroke);
}
.footer__rail {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 26px;
	min-height: 88px;
	padding-block: 12px;
}
.brand--footer { margin-right: auto; }
.footer p, .footer > a { color: var(--muted); font-size: 12px; }

.mfp-bg { background: var(--bg); opacity: .96; }
.mfp-wrap, .mfp-container, .mfp-content, .mfp-title, .mfp-counter, .mfp-close, .mfp-arrow { font-family: var(--body); }
.mfp-image-holder .mfp-content { border: 1px solid var(--stroke); }
.mfp-arrow, .mfp-close { color: var(--text) !important; }
.rebi-gallery-thumbs {
	position: fixed;
	z-index: 1100;
	right: 16px; bottom: 16px; left: 16px;
	display: flex;
	justify-content: center;
	gap: 7px;
	pointer-events: none;
}
.rebi-gallery-thumbs__item {
	width: 54px; aspect-ratio: 2 / 3;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--stroke);
	border-radius: 6px;
	background: var(--bg);
	pointer-events: auto;
}
.rebi-gallery-thumbs__item.is-active { border-color: var(--accent); }
.rebi-gallery-thumbs__item img { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; }

.html-sitemap { width: 100%; padding: 24px 0 56px; }
.html-sitemap__page-title { margin-bottom: 22px; }
.html-sitemap__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.html-sitemap__section { padding: 22px; border: 1px solid var(--stroke); border-radius: var(--radius); }
.html-sitemap__heading { margin: 0 0 14px; font: 400 26px/1.1 var(--heading); }
.html-sitemap__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.html-sitemap__empty { color: var(--muted); }

@media (max-width: 1100px) {
	.main-content__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.header__inner { grid-template-columns: 1fr auto; }
	.header-search { grid-column: 1 / -1; grid-row: 2; }
	.header__lower { align-items: flex-start; flex-direction: column; padding-block: 10px; }
	.top-nav { width: 100%; justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
	.main-content__cards, .profile-related__list { grid-template-columns: 1fr; }
	.profile-details dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
	body { font-size: 13px; }
	.shell, .container { width: calc(100% - 32px); }
	.header__inner { gap: 10px; min-height: 72px; }
	.brand__mark { max-height: 44px; max-width: 48px; }
	.brand__name { font-size: 17px; }
	.brand__caption { max-width: 170px; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
	.city-trigger { padding-inline: 12px; }
	.header__slogan { line-height: 1.5; }
	.rebi-hero { height: min(58vh, 480px); max-height: none; }
	.rebi-hero__slide img { object-position: 70% 16%; }
	.rebi-hero__copy {
		width: 86%;
		justify-content: flex-end;
		padding: 88px 16px 36px;
	}
	.rebi-hero__copy h1 { font-size: clamp(32px, 10vw, 48px); }
	.rebi-hero__controls { right: 12px; bottom: 20px; }
	.rebi-hero__dots { display: none; }
	.card { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
	.card__data { gap: 11px; padding: 13px; }
	.card__facts { gap: 6px; }
	.card__fact span { font-size: 12px; }
	.card__fact strong { font-size: 12px; }
	.card__price { font-size: 25px; }
	.card__phone { font-size: 12px; }
	.card__cta { min-height: 38px; padding: 8px 10px; }
	.card__identity { padding: 11px; }
	.card__identity strong { font-size: 22px; }
	.profile-identity { align-items: flex-start; flex-direction: column; gap: 8px; }
	.profile-rates__row { grid-template-columns: 1fr; }
	.profile-rates__row div + div { border-left: 0; border-top: 1px solid var(--stroke); }
	.footer__rail { align-items: flex-start; flex-direction: column; padding-block: 20px; }
	.html-sitemap__grid { grid-template-columns: 1fr; }
}


/* === Luwte Light + Gold (full site + profiles) === */
body { background: var(--bg); color: var(--text); }

.header {
	background: #FFFFFF;
	border-bottom: 1px solid var(--stroke);
	color: var(--text);
}
.header, .header a, .brand__name { color: var(--text); }
.brand__caption, .top-nav a, .header__slogan { color: var(--accent-soft); }
.header__slogan {
	font-family: var(--heading);
	letter-spacing: .18em;
	font-size: 13px;
}
.top-nav a:hover { color: var(--accent-deep); }
.header__lower { border-top-color: var(--stroke); }

.header-search {
	border: 1px solid var(--stroke);
	background: var(--bg);
}
.header-search input { color: var(--text); }
.header-search input::placeholder { color: rgba(28, 24, 20, .45); }
.header-search button {
	background: var(--gold) !important;
	color: #1C1814 !important;
	border: 0 !important;
	font-weight: 600;
	letter-spacing: .04em;
}
.city-trigger {
	background: var(--bg);
	border-color: var(--stroke);
	color: var(--text);
}
.city-trigger span { color: var(--muted); }
.city-drawer__panel {
	background: var(--field);
	border-color: var(--stroke);
	color: var(--text);
}
.city-drawer__close {
	background: var(--gold) !important;
	color: #1C1814 !important;
	border: 0 !important;
}
.city-drawer__list a { border-bottom-color: var(--stroke); }
.city-drawer__list a:hover { color: var(--accent-deep); }

/* Hero: full-bleed L/R, no frame, soft fade into light bg */
html, body { overflow-x: hidden; }
.main-area,
.main-area__container,
.main-content {
	overflow-x: visible !important;
	overflow-y: visible !important;
}
.rebi-hero {
	position: relative !important;
	isolation: isolate !important;
	width: 100vw !important;
	max-width: 100vw !important;
	margin: 0 0 12px !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	left: 0 !important;
	right: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	background: var(--bg) !important;
	height: clamp(420px, 46vw, 620px) !important;
	max-height: none !important;
	overflow: hidden !important;
	/* Soft edge only at the very rim — keep photo rich, not washed */
	-webkit-mask-image: linear-gradient(180deg, #000 0%, #000 82%, rgba(0,0,0,.65) 93%, transparent 100%) !important;
	mask-image: linear-gradient(180deg, #000 0%, #000 82%, rgba(0,0,0,.65) 93%, transparent 100%) !important;
	-webkit-mask-composite: unset !important;
	mask-composite: unset !important;
}
.rebi-hero::before {
	content: "" !important;
	position: absolute !important;
	z-index: 2 !important;
	inset: 0 !important;
	pointer-events: none !important;
	background:
		linear-gradient(90deg, var(--bg) 0%, rgba(239,232,223,.55) 2%, transparent 8%),
		linear-gradient(270deg, var(--bg) 0%, rgba(239,232,223,.4) 1.5%, transparent 6%),
		linear-gradient(180deg, transparent 78%, rgba(239,232,223,.35) 92%, var(--bg) 100%) !important;
}
.rebi-hero::after { content: none !important; }
.rebi-hero__slides, .rebi-hero__slide { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.rebi-hero__slide img {
	object-fit: cover !important;
	object-position: center 28% !important;
	opacity: 1 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}
.rebi-hero__copy {
	position: relative !important;
	z-index: 3 !important;
	color: #1C1814 !important;
	justify-content: flex-end !important;
	padding-bottom: 56px !important;
	text-shadow: none !important;
}
/* Light veil under copy only — above photo, below text */
.rebi-hero__slides { z-index: 0 !important; }
.rebi-hero__copy::before {
	content: "" !important;
	position: absolute !important;
	z-index: 0 !important;
	left: -10% !important;
	right: -20% !important;
	top: 18% !important;
	bottom: 4% !important;
	pointer-events: none !important;
	background:
		linear-gradient(90deg,
			rgba(239,232,223,.97) 0%,
			rgba(239,232,223,.92) 42%,
			rgba(239,232,223,.55) 68%,
			rgba(239,232,223,.12) 88%,
			transparent 100%) !important;
}
.rebi-hero__copy h1, .rebi-hero__title {
	position: relative !important;
	z-index: 1 !important;
	color: #1C1814 !important;
	text-shadow: none !important;
}
.rebi-hero__copy .doduz, .rebi-hero__copy .doduz p {
	position: relative !important;
	z-index: 1 !important;
	color: rgba(28,24,20,.9) !important;
	text-shadow: none !important;
}
.rebi-hero__controls { bottom: 36px !important; }
.rebi-hero__arrow, .rebi-hero__dots button {
	border-color: rgba(168,132,62,.4) !important;
	background: rgba(255,255,255,.72) !important;
	color: #1C1814 !important;
	backdrop-filter: blur(6px);
}
.rebi-hero__dots button.is-active { background: var(--accent) !important; }

.main-area { background: var(--bg); padding-top: 18px; }
.breadcrumbs, .rebi-breadcrumbs { color: var(--muted); }
.breadcrumbs a, .rebi-breadcrumbs a { color: var(--accent-soft); }
.main-content__title, .text-content h2, .gezom h2, .nikug h3 { color: var(--text); }
.main-content > h2, .main-content .catalog-listing-title { color: var(--text); }

.filter-rail { margin-top: 8px; margin-bottom: 22px; }
.filter-rail__row {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: stretch !important;
	width: 100% !important;
	background: var(--field) !important;
	border: 1px solid var(--stroke) !important;
	border-radius: 12px !important;
	box-shadow: none;
	overflow: hidden;
}
.filter-segment {
	border-right-color: var(--stroke) !important;
	flex: 1 1 0 !important;
	min-width: 0 !important;
}
.filter-segment summary {
	color: var(--text) !important;
	font-size: 13px !important;
	line-height: 1.25 !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	justify-content: space-between !important;
	gap: 8px !important;
	padding: 10px 12px !important;
	min-height: 48px !important;
}
.filter-segment summary::after {
	content: "" !important;
	width: 0.45em !important;
	height: 0.45em !important;
	flex: 0 0 auto !important;
	border-right: 1.5px solid currentColor !important;
	border-bottom: 1.5px solid currentColor !important;
	transform: rotate(45deg) !important;
	opacity: .55 !important;
	margin-top: -0.15em !important;
}
.filter-segment[open] summary {
	background: rgba(201,169,98,.18) !important;
	color: var(--text) !important;
}
.filter-segment[open] summary::after {
	transform: rotate(-135deg) !important;
	margin-top: 0.15em !important;
}
.filter-segment__options {
	background: var(--field) !important;
	border-color: var(--stroke) !important;
	border-radius: 12px !important;
	color: var(--text);
}
@media (max-width: 1100px) {
	.filter-rail__row { flex-wrap: wrap !important; overflow: visible !important; }
	.filter-segment { flex: 1 1 32% !important; border-bottom: 1px solid var(--stroke); }
	.filter-segment:nth-child(3n) { border-right: 0 !important; }
}
@media (max-width: 700px) {
	.filter-segment { flex: 1 1 48% !important; }
	.filter-segment:nth-child(3n) { border-right: 1px solid var(--stroke) !important; }
	.filter-segment:nth-child(2n) { border-right: 0 !important; }
}
.filter-segment__options a:hover,
.filter-segment__options a.is-active {
	background: rgba(201,169,98,.16) !important;
	color: var(--text) !important;
}

.main-content__cards {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 18px !important;
}
.card {
	display: flex !important;
	flex-direction: column !important;
	grid-template-columns: none !important;
	background: var(--surface) !important;
	border: 1px solid var(--stroke) !important;
	border-radius: 16px !important;
	overflow: hidden !important;
	box-shadow: 0 10px 28px rgba(28,24,20,.06);
}
.card__photo {
	order: -1 !important;
	position: relative !important;
	aspect-ratio: 2 / 3 !important;
	width: 100% !important;
}
.card__photo img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center top !important;
}
.card__photo::after {
	background: linear-gradient(transparent 40%, rgba(28,24,20,.78)) !important;
}
.card__data {
	gap: 12px !important;
	padding: 14px 14px 16px !important;
	background: var(--surface);
}
.card__facts { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
.card__fact span { color: var(--muted) !important; font-size: 11px !important; }
.card__fact strong { color: var(--text) !important; font-size: 13px !important; }
.card__price { color: var(--accent-deep) !important; font-size: clamp(22px, 2vw, 28px) !important; }
.card__phone { color: var(--muted) !important; }
.card__cta {
	background: var(--gold) !important;
	color: #1C1814 !important;
	border: 0 !important;
	border-radius: var(--control-radius) !important;
	min-height: 44px !important;
	font-weight: 600;
}
.card__identity {
	background: linear-gradient(180deg, transparent, rgba(28,24,20,.82)) !important;
	color: #fff !important;
}
.card__identity strong, .card__area { color: #F7F1E6 !important; }
.card__badge {
	left: 12px !important;
	right: auto !important;
	background: var(--gold) !important;
	color: #1C1814 !important;
	border-radius: 999px !important;
	font-weight: 600;
}

.paginator .page-numbers {
	border-color: var(--stroke);
	color: var(--text);
	background: var(--field);
}
.paginator .current,
.paginator a.page-numbers:hover {
	background: var(--gold) !important;
	color: #1C1814 !important;
	border-color: transparent !important;
}

.gezom, .nikug { border-block-color: var(--stroke); }
.fitofa, .nikug__text, .empty-state { color: var(--muted); }

.single-content { color: var(--text); }
.profile-identity { border-bottom-color: var(--stroke); }
.profile-identity h1 { color: var(--text); }
.profile-identity a { color: var(--accent-soft); }
.profile-flow h2 { color: var(--accent-deep); }
.profile-gallery__main {
	border: 1px solid var(--stroke) !important;
	border-radius: 16px !important;
	background: var(--surface);
	box-shadow: 0 12px 36px rgba(28,24,20,.08);
}
.profile-gallery__thumb {
	border-color: var(--stroke) !important;
	background: var(--surface) !important;
}
.profile-gallery__thumb.is-active { border-color: var(--accent) !important; }
.profile-contact { border-block-color: var(--stroke); }
.profile-contact__reveal, .profile-contact__phone {
	background: var(--gold) !important;
	color: #1C1814 !important;
	border: 0 !important;
	font-weight: 600;
}
.profile-details dl div {
	background: var(--surface);
	border: 1px solid var(--stroke);
	border-radius: 12px;
}
.profile-details dt { color: var(--muted); }
.profile-details dd { color: var(--accent-deep); }
.profile-services {
	background: var(--surface) !important;
	border-color: var(--stroke) !important;
}
.profile-services__list a {
	border-color: var(--stroke) !important;
	color: var(--text);
	background: rgba(201,169,98,.08);
}
.profile-rates__row { border-block-color: var(--stroke); background: var(--surface); border-radius: 12px; overflow: hidden; }
.profile-rates__row div + div { border-left-color: var(--stroke); }
.profile-rates__row span { color: var(--muted); }
.profile-rates__row strong { color: var(--accent-deep); }
.profile-description__body { color: var(--muted); }
.profile-description__body p:first-child { color: var(--text); }
.profile-related__heading { color: var(--text); }

.footer {
	background: #EFE8E0;
	border-top: 1px solid var(--stroke);
}
.footer, .footer a, .footer p { color: var(--muted); }
.footer .brand__name { color: var(--text); }
.footer .brand__caption { color: var(--accent-soft); }

.mfp-bg { background: #F5F0EA; opacity: .96; }
.mfp-arrow, .mfp-close { color: var(--text) !important; }
.html-sitemap__section { background: var(--surface); border-color: var(--stroke); }
.html-sitemap__heading { color: var(--accent-deep); }

@media (max-width: 1100px) {
	.main-content__cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 900px) {
	.main-content__cards { grid-template-columns: 1fr !important; }
}
@media (max-width: 560px) {
	.card { grid-template-columns: none !important; }
	.rebi-hero__slide img { object-position: 50% 22% !important; }
	.rebi-hero {
		-webkit-mask-image:
			linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%),
			linear-gradient(180deg, #000 0%, #000 70%, transparent 100%) !important;
		mask-image:
			linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%),
			linear-gradient(180deg, #000 0%, #000 70%, transparent 100%) !important;
	}
}


/* === THEME-PROFILE-DESCRIPTION-BODY-SIZE-REPAIR === */
.profile-description__body,
.profile-description__body p,
.profile-bio,
.profile-bio p,
.profile__description,
.profile__description p,
.single-profile__description,
.single-profile__description p {
  font-size: inherit !important;
  font-family: var(--body, inherit) !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  letter-spacing: normal !important;
}
.profile-description__body p:first-child,
.profile-bio p:first-child,
.profile__description p:first-child,
.single-profile__description p:first-child {
  font-size: 1.06em !important;
  font-family: var(--body, inherit) !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
}
.filter-segment__options,
.filter-facet__panel,
.filter-dropdown__panel,
.filter-segment .filter-segment__options {
  border-radius: 12px !important;
}
/* === /THEME-PROFILE-DESCRIPTION-BODY-SIZE-REPAIR === */
/* === THEME-PROFILE-HEADING-SIZE-PARITY-REPAIR === */
/* Home hero H1 + profile H1 share ONE font-size token */
.profile-identity h1,
.rebi-hero__title,
.mibo-hero__title,
.catalog-hero__title,
.buka-hero__title,
.main-content__title,
.rebi-hero__copy h1,
.mibo-hero__copy h1 {
  font-family: var(--heading) !important;
  font-size: clamp(40px, 5vw, 72px) !important;
  font-weight: 400 !important;
  letter-spacing: -.04em !important;
  line-height: 1.06 !important;
}
.profile-flow h2,
.profile-gallery > h2,
.profile-details > h2,
.profile-services > h2,
.profile-rates > h2,
.profile-description > h2,
.profile-contact > h2,
.profile-related > h2,
.profile-related__heading,
.gezom h2,
.text-content h2,
.main-content > h2 {
  font-family: var(--heading) !important;
  font-size: clamp(28px, 3vw, 42px) !important;
  font-weight: 400 !important;
  letter-spacing: -.04em !important;
  line-height: 1.06 !important;
}
/* === /THEME-PROFILE-HEADING-SIZE-PARITY-REPAIR === */
