/* Tiraz Court – project page. All rules scoped to .tc-root to avoid clashing with the theme. */

.tc-root {
	--tc-bg: #ecebe8;
	--tc-surface: #f5f4f2;
	--tc-strip: #efeeeb;
	--tc-field: #ffffff;
	--tc-line: #dfddd8;
	--tc-line-2: #d3d0ca;
	--tc-ink: #1e1e1e;
	--tc-ink-2: #3a3936;
	--tc-muted: #75716b;
	--tc-dark: #262626;
	--tc-sel: #5e5a55;
	--tc-panel: #dcdad5;
	--tc-btn-soft: #e7e5e1;
	--tc-av-bg: #dde2d9;  --tc-av-fg: #44503f;
	--tc-rs-bg: #e9dfd3;  --tc-rs-fg: #6c5a45;
	--tc-na-bg: #e7ddd9;  --tc-na-fg: #6e5049;
	--tc-radius: 4px;
	--tc-wrap: 1200px;
	--tc-gutter: clamp(16px, 4vw, 40px);
	--tc-sticky-top: var(--wp-admin--admin-bar--height, 0px);
	--tc-nav-h: 64px;
	--tc-font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;

	background: var(--tc-bg);
	color: var(--tc-ink);
	font-family: var(--tc-font);
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	position: relative;
	isolation: isolate;
}
.tc-root.tc-full {
	max-width: none !important;
	width: auto !important;
	margin-left: calc(50% - 50vw + var(--tc-sb, 0px) / 2) !important;
	margin-right: calc(50% - 50vw + var(--tc-sb, 0px) / 2) !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
.tc-root *, .tc-root *::before, .tc-root *::after { box-sizing: border-box; }
/* Full-width template: themes like Astra wrap content in a flex container. */
.tc-fullwidth-main { display: block; width: 100%; flex: 1 1 100%; min-width: 0; max-width: none; }
.tc-root h1, .tc-root h2, .tc-root h3, .tc-root p, .tc-root ul, .tc-root dl, .tc-root dd, .tc-root figure { margin: 0; padding: 0; }
.tc-root h1, .tc-root h2, .tc-root h3 { font-family: var(--tc-font); color: inherit; letter-spacing: 0; text-transform: none; }
.tc-root ul { list-style: none; }
.tc-root img { max-width: 100%; height: auto; display: block; border: 0; box-shadow: none; }
.tc-root a { color: inherit; text-decoration: none; box-shadow: none; }
.tc-root button, .tc-root input, .tc-root select, .tc-root textarea {
	font: inherit; color: inherit; letter-spacing: 0; text-transform: none; margin: 0;
}
.tc-root button { cursor: pointer; background: none; border: 0; padding: 0; border-radius: 0; box-shadow: none; line-height: inherit; min-height: 0; }
.tc-root button:hover, .tc-root button:focus { background-color: transparent; color: inherit; }
.tc-root :focus-visible { outline: 2px solid var(--tc-ink); outline-offset: 2px; }
.tc-root [hidden] { display: none !important; }
.tc-root .tc-i { width: 22px; height: 22px; flex: none; display: inline-block; vertical-align: middle; }
.tc-root [dir="rtl"] .tc-i-flip, .tc-root[dir="rtl"] .tc-i-flip { transform: scaleX(-1); }

.tc-wrap { max-width: var(--tc-wrap); margin: 0 auto; padding: 0 var(--tc-gutter); }
.tc-section { padding: clamp(56px, 8vw, 96px) 0; scroll-margin-top: calc(var(--tc-sticky-top) + var(--tc-nav-h)); }
.tc-anchor-alias { display: block; scroll-margin-top: calc(var(--tc-sticky-top) + var(--tc-nav-h)); }
.tc-eyebrow { font-size: 13px; color: var(--tc-muted); letter-spacing: .02em; margin-bottom: 10px !important; display: flex; align-items: center; gap: 12px; }
.tc-eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--tc-ink-2); }
.tc-h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 500; line-height: 1.3; }
.tc-lead { font-size: 17px; color: var(--tc-ink-2); margin-top: 20px !important; max-width: 60ch; font-weight: 300; }
.tc-rule { display: block; width: 48px; height: 1px; background: currentColor; opacity: .8; }

/* Buttons */
.tc-root .tc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	height: 46px; padding: 0 22px; border-radius: 3px; font-size: 15px; font-weight: 500;
	transition: background-color .15s, color .15s, border-color .15s; white-space: nowrap; border: 1px solid transparent;
}
.tc-root .tc-btn .tc-i { width: 20px; height: 20px; }
.tc-root .tc-btn-dark { background: var(--tc-dark); color: #fff; }
.tc-root .tc-btn-dark:hover, .tc-root .tc-btn-dark:focus { background: #000; color: #fff; }
.tc-root .tc-btn-light { background: rgba(255,255,255,.92); color: var(--tc-ink); }
.tc-root .tc-btn-light:hover { background: #fff; }
.tc-root .tc-btn-ghost { border-color: var(--tc-line-2); color: var(--tc-ink); background: transparent; }
.tc-root .tc-btn-ghost:hover, .tc-root .tc-btn-ghost:focus { background: var(--tc-surface); }
.tc-root .tc-btn-wa { background: #6e6a65; color: #fff; }
.tc-root .tc-btn-wa:hover, .tc-root .tc-btn-wa:focus { background: #56524e; color: #fff; }
.tc-root .tc-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--tc-ink-2); text-decoration: underline; text-underline-offset: 3px; }
.tc-root .tc-link .tc-i { width: 18px; height: 18px; }

/* ---------- Sub navigation ---------- */
.tc-subnav {
	position: sticky; top: var(--tc-sticky-top); z-index: 50;
	height: var(--tc-nav-h); margin-bottom: calc(var(--tc-nav-h) * -1);
	transition: background-color .2s, box-shadow .2s;
	background: rgba(245, 244, 242, .72);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.tc-subnav.is-stuck { background: rgba(245, 244, 242, .97); box-shadow: 0 1px 0 var(--tc-line); }
.tc-subnav-inner { max-width: var(--tc-wrap); margin: 0 auto; padding: 0 var(--tc-gutter); height: 100%; display: flex; align-items: center; gap: 28px; }
.tc-subnav-brand { font-weight: 600; font-size: 16px; white-space: nowrap; }
.tc-subnav-links { display: flex; gap: clamp(16px, 2.4vw, 34px); margin-inline-start: auto !important; }
.tc-subnav-links a { font-size: 14px; color: var(--tc-ink-2); padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .15s; white-space: nowrap; }
.tc-subnav-links a:hover, .tc-subnav-links a.is-active { color: var(--tc-ink); border-bottom-color: var(--tc-ink); }
.tc-subnav-lang { font-size: 14px; font-weight: 500; padding: 4px 10px; border: 1px solid var(--tc-line-2); border-radius: 3px; }
.tc-root .tc-subnav-toggle { display: none; margin-inline-start: auto; width: 40px; height: 40px; align-items: center; justify-content: center; }

/* ---------- Hero ---------- */
.tc-hero { position: relative; min-height: clamp(480px, 74vh, 720px); display: flex; align-items: center; overflow: hidden; background: #cbc6be; color: #fff; }
.tc-hero-noimg { background: #bdb7ae; }
.tc-hero-img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.tc-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,28,25,.55) 0%, rgba(30,28,25,.18) 45%, rgba(30,28,25,0) 70%); pointer-events: none; }
.tc-hero-inner {
	position: relative; z-index: 1; width: 100%; max-width: var(--tc-wrap); margin: 0 auto; padding: calc(var(--tc-nav-h) + 40px) var(--tc-gutter) 56px;
	display: flex; justify-content: space-between; align-items: flex-start; direction: ltr;
}
.tc-hero-text { max-width: 460px; text-shadow: 0 1px 12px rgba(0,0,0,.18); }
.tc-hero-text h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 500; line-height: 1.25; color: #fff; }
.tc-hero-text .tc-rule { margin: 22px 0; width: 64px; }
.tc-hero-text p { font-size: clamp(16px, 1.6vw, 19px); font-weight: 300; margin-bottom: 28px !important; opacity: .95; }
.tc-hero-tag { font-size: 13px; letter-spacing: .14em; line-height: 1.65; color: var(--tc-ink); font-weight: 500; text-align: left; padding-top: 12px; }
.tc-hero-tag .tc-rule { margin-top: 12px; width: 44px; }

/* ---------- About ---------- */
.tc-about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.tc-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0; margin-top: 40px !important; border-top: 1px solid var(--tc-line-2); }
.tc-facts > div { padding: 20px 0 0; }
.tc-facts dt { font-size: 26px; font-weight: 500; line-height: 1.2; }
.tc-facts dd { font-size: 13px; color: var(--tc-muted); margin-top: 4px; }
.tc-about-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--tc-radius); }

/* ---------- Location ---------- */
.tc-location { background: var(--tc-surface); }
.tc-loc-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.tc-points { margin: 28px 0 24px !important; border-top: 1px solid var(--tc-line); }
.tc-points li { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--tc-line); }
.tc-points strong { min-width: 96px; font-weight: 500; }
.tc-points span { color: var(--tc-ink-2); }
.tc-map { border-radius: var(--tc-radius); overflow: hidden; background: var(--tc-panel); aspect-ratio: 4 / 3; }
.tc-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) contrast(.95); }

/* ---------- Plans ---------- */
.tc-plans-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin: 32px 0 !important; }
.tc-plans-grid figure { background: var(--tc-surface); border: 1px solid var(--tc-line); border-radius: var(--tc-radius); padding: 16px; }
.tc-plans-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }
.tc-plans-grid figcaption { font-size: 14px; margin-top: 12px; color: var(--tc-ink-2); }

/* ---------- Units ---------- */
.tc-units-section { padding-top: 0; }
.tc-filters { background: var(--tc-strip); border-bottom: 1px solid var(--tc-line); padding: 26px 0 16px; margin-bottom: clamp(32px, 4vw, 48px); }
.tc-filters-inner, .tc-filters-foot { max-width: var(--tc-wrap); margin: 0 auto; padding: 0 var(--tc-gutter); }
.tc-filters-inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; }
.tc-filters-inner > .tc-f { flex: 1 1 150px; min-width: 0; }
.tc-filters-inner > .tc-f-range { flex: 1.2 1 220px; }
.tc-filters-inner > .tc-btn { flex: 0 0 auto; }
.tc-f { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.tc-f-label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--tc-ink-2); }
.tc-f-label .tc-i { width: 24px; height: 24px; }
.tc-select { position: relative; display: block; }
.tc-root .tc-select select, .tc-root .tc-range input {
	-webkit-appearance: none; appearance: none; width: 100%; height: 46px; background: var(--tc-field); border: 1px solid var(--tc-line); border-radius: 3px;
	padding: 0 14px; padding-inline-end: 38px; font-size: 14px; color: var(--tc-ink); box-shadow: none; line-height: 44px;
}
.tc-root .tc-range input { padding-inline-end: 14px; text-align: center; -moz-appearance: textfield; }
.tc-root .tc-range input::-webkit-outer-spin-button, .tc-root .tc-range input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tc-select .tc-i { position: absolute; inset-inline-end: 12px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); pointer-events: none; color: var(--tc-muted); }
.tc-range { display: grid; grid-template-columns: 1fr 1fr; }
.tc-root .tc-range input:first-child { border-start-end-radius: 0; border-end-end-radius: 0; }
.tc-root .tc-range input:last-child { border-start-start-radius: 0; border-end-start-radius: 0; border-inline-start: 0; }
.tc-filters .tc-btn-dark { min-width: 170px; }
.tc-filters-foot { display: flex; align-items: center; gap: 24px; margin-top: 14px; }
.tc-root .tc-filters-foot .tc-link { font-size: 12px; }
.tc-check { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--tc-ink-2); cursor: pointer; }
.tc-check input { accent-color: var(--tc-dark); width: 15px; height: 15px; }

.tc-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.tc-toolbar-main { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.tc-toolbar .tc-h2 { font-size: clamp(24px, 2.6vw, 30px); margin-inline-end: 12px; }
.tc-root .tc-sort select { height: 38px; line-height: 36px; min-width: 150px; font-size: 13px; background: var(--tc-field); }
.tc-views { display: flex; gap: 6px; }
.tc-root .tc-views button { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--tc-line); background: var(--tc-field); border-radius: 3px; color: var(--tc-ink); }
.tc-root .tc-views button .tc-i { width: 18px; height: 18px; }
.tc-root .tc-views button.is-active { background: var(--tc-dark); color: #fff; border-color: var(--tc-dark); }
.tc-count { display: grid; grid-template-columns: auto; justify-items: start; position: relative; padding-inline-start: 0; }
.tc-count strong { font-size: 24px; font-weight: 500; line-height: 1.1; }
.tc-count span { font-size: 14px; color: var(--tc-ink-2); display: flex; align-items: center; gap: 14px; }
.tc-count span::after { content: ""; width: clamp(40px, 8vw, 96px); height: 1px; background: var(--tc-ink-2); }

.tc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tc-card {
	background: var(--tc-surface); border: 1px solid var(--tc-line); border-radius: var(--tc-radius); padding: 16px;
	display: flex; flex-direction: column; gap: 14px; transition: background-color .2s, color .2s, box-shadow .2s;
}
.tc-card:hover { box-shadow: 0 6px 24px rgba(40, 36, 30, .07); }
.tc-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tc-card-code { font-size: 18px; font-weight: 600; direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.tc-badge { display: inline-block; font-size: 12px; line-height: 1; padding: 7px 12px; border-radius: 999px; background: var(--tc-av-bg); color: var(--tc-av-fg); font-weight: 500; white-space: nowrap; }
.tc-badge-reserved { background: var(--tc-rs-bg); color: var(--tc-rs-fg); }
.tc-badge-sold, .tc-badge-unavailable { background: var(--tc-na-bg); color: var(--tc-na-fg); }
.tc-feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(40px, 1fr)); gap: 4px; text-align: center; }
.tc-card .tc-feat { font-size: 11px; line-height: 1.35; }
.tc-card-mid { display: flex; flex-direction: column; gap: 12px; min-height: 58px; justify-content: center; flex: 1; }
.tc-grid.is-list .tc-card-mid { flex: none; }
.tc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tc-chip { font-size: 12px; line-height: 1; padding: 7px 10px; border: 1px solid var(--tc-line-2); border-radius: 3px; color: var(--tc-ink-2); background: transparent; white-space: nowrap; }
.tc-card.is-selected .tc-chip { border-color: rgba(255,255,255,.35); color: rgba(255,255,255,.9); }
.tc-panel .tc-chips { padding-bottom: 14px; border-bottom: 1px solid var(--tc-line-2); }
.tc-files { display: flex; flex-wrap: wrap; gap: 12px; }
.tc-feat { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--tc-ink-2); }
.tc-feat .tc-i { width: 26px; height: 26px; color: var(--tc-ink); }
.tc-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tc-kv > div { display: flex; flex-direction: column; }
.tc-kv > div:last-child { align-items: flex-end; text-align: end; }
.tc-kv span { font-size: 12px; color: var(--tc-muted); }
.tc-kv strong { font-size: 16px; font-weight: 600; white-space: nowrap; }
.tc-meta { display: grid; grid-template-columns: 1fr 2fr 1fr; border: 1px solid var(--tc-line); border-radius: 3px; background: var(--tc-field); font-size: 13px; text-align: center; }
.tc-meta span { padding: 8px 6px; }
.tc-meta span + span { border-inline-start: 1px solid var(--tc-line); }
.tc-root .tc-details { display: flex; align-items: center; justify-content: center; position: relative; height: 38px; background: var(--tc-btn-soft); border-radius: 3px; font-size: 13px; color: var(--tc-ink); width: 100%; }
.tc-root .tc-details .tc-i { position: absolute; inset-inline-end: 12px; width: 16px; height: 16px; }
.tc-root[dir="rtl"] .tc-details .tc-i, .tc-root[dir="rtl"] .tc-loc-title .tc-i { transform: scaleX(-1); }
.tc-root .tc-details:hover { background: #dedcd7; }

.tc-card.is-selected { background: var(--tc-sel); color: #fff; border-color: var(--tc-sel); }
.tc-card.is-selected .tc-feat, .tc-card.is-selected .tc-feat .tc-i, .tc-card.is-selected .tc-kv span { color: rgba(255,255,255,.85); }
.tc-card.is-selected .tc-meta { background: transparent; border-color: rgba(255,255,255,.35); }
.tc-card.is-selected .tc-meta span + span { border-color: rgba(255,255,255,.35); }
.tc-root .tc-card.is-selected .tc-details { background: rgba(255,255,255,.14); color: #fff; }
.tc-card-unavail { opacity: .92; }

/* Multi-select */
.tc-multi { position: relative; }
.tc-root .tc-multi-btn { width: 100%; height: 46px; background: var(--tc-field); border: 1px solid var(--tc-line); border-radius: 3px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--tc-ink); text-align: start; }
.tc-root .tc-multi-btn:hover, .tc-root .tc-multi-btn:focus { background: var(--tc-field); }
.tc-multi-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-multi-btn .tc-i { width: 16px; height: 16px; color: var(--tc-muted); }
.tc-multi.has-value .tc-multi-btn { border-color: var(--tc-ink-2); }
.tc-multi-pop { position: absolute; z-index: 30; top: calc(100% + 4px); inset-inline-start: 0; width: max(100%, 280px); background: var(--tc-field); border: 1px solid var(--tc-line); border-radius: 3px; box-shadow: 0 10px 30px rgba(40,36,30,.12); padding: 6px; max-height: 300px; overflow: auto; }
.tc-multi-pop .tc-check { display: flex; width: 100%; padding: 8px; font-size: 14px; border-radius: 3px; gap: 8px; }
.tc-multi-pop .tc-check:hover { background: var(--tc-surface); }
.tc-multi-pop .tc-check small { margin-inline-start: auto; color: var(--tc-muted); font-size: 12px; }
.tc-root .tc-multi-pop .tc-link { margin: 6px 8px 4px; font-size: 12px; }

/* Panel extras */
.tc-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.tc-areas > div:last-child { text-align: end; }
.tc-areas dt { font-size: 12px; color: var(--tc-muted); }
.tc-areas dd { font-size: 15px; font-weight: 500; }
.tc-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
.tc-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.tc-plan-img img.tc-photo { max-height: 300px; width: 100%; object-fit: cover; mix-blend-mode: normal; }
.tc-root[dir="rtl"] .tc-form input[dir="ltr"] { text-align: right; }

/* List view */
.tc-grid.is-list { grid-template-columns: 1fr; gap: 10px; }
.tc-grid.is-list .tc-card { display: grid; grid-template-columns: 170px 1.6fr 1.3fr 1.4fr 160px; align-items: center; gap: 20px; padding: 12px 16px; }
.tc-grid.is-list .tc-card-head { flex-direction: column; align-items: flex-start; gap: 6px; }
.tc-grid.is-list .tc-kv strong { font-size: 15px; }

/* Detail panel */
.tc-panel {
	grid-column: 1 / -1; background: var(--tc-panel); border-radius: var(--tc-radius); padding: clamp(18px, 2.4vw, 28px);
	display: grid; grid-template-columns: 1.15fr 1fr 1.25fr; grid-template-areas: "plan info loc"; gap: 0; outline: none;
	animation: tc-in .25s ease-out;
}
.tc-root[dir="rtl"] .tc-panel { grid-template-areas: "loc info plan"; grid-template-columns: 1.25fr 1fr 1.15fr; }
@keyframes tc-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.tc-panel-col { padding: 0 clamp(16px, 2vw, 28px); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tc-panel-plan { grid-area: plan; }
.tc-panel-info { grid-area: info; border-inline: 1px solid var(--tc-line-2); }
.tc-panel-loc { grid-area: loc; }
.tc-root .tc-panel-close { align-self: flex-end; text-decoration: none; font-size: 14px; color: var(--tc-ink); }
.tc-root[dir="rtl"] .tc-panel-close { align-self: flex-start; }
.tc-plan-img { background: #f7f6f4; border-radius: 3px; min-height: 180px; display: flex; align-items: center; justify-content: center; padding: 8px; }
.tc-plan-img img { max-height: 280px; width: auto; mix-blend-mode: multiply; }
.tc-plan-img .tc-ph { font-size: 13px; color: var(--tc-muted); }
.tc-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tc-panel-head h3 { font-size: 30px; font-weight: 500; direction: ltr; unicode-bidi: isolate; }
.tc-panel .tc-feats { padding: 6px 0 12px; border-bottom: 1px solid var(--tc-line-2); }
.tc-panel .tc-kv strong { font-size: 22px; font-weight: 500; }
.tc-note { font-size: 12px; color: var(--tc-ink-2); margin-top: auto !important; }
.tc-loc-title { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.tc-loc-title .tc-i { width: 16px; height: 16px; }
.tc-loc-body { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; flex: 1; }
.tc-dl { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.tc-dl dt { font-size: 12px; color: var(--tc-muted); }
.tc-dl dd { font-size: 16px; font-weight: 500; }
.tc-keyplan img { width: 100%; max-height: 180px; object-fit: contain; mix-blend-mode: multiply; }
.tc-panel .tc-btn-wa { width: 100%; }

.tc-empty { text-align: center; padding: 48px 0; color: var(--tc-muted); }
.tc-more { text-align: center; margin-top: 28px; }

/* ---------- Amenities ---------- */
.tc-amenities { background: var(--tc-surface); }
.tc-amen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 40px; margin-top: 32px !important; }
.tc-amen-grid li { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--tc-line); font-size: 16px; }
.tc-amen-grid .tc-i { width: 20px; height: 20px; color: var(--tc-muted); }

/* ---------- Contact ---------- */
.tc-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.tc-contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tc-form { background: var(--tc-surface); border: 1px solid var(--tc-line); border-radius: var(--tc-radius); padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; }
.tc-form label { display: grid; gap: 6px; font-size: 13px; color: var(--tc-ink-2); margin: 0; }
.tc-root .tc-form input, .tc-root .tc-form textarea { width: 100%; background: var(--tc-field); border: 1px solid var(--tc-line); border-radius: 3px; padding: 11px 14px; font-size: 15px; box-shadow: none; min-height: 0; }
.tc-root .tc-form input:focus, .tc-root .tc-form textarea:focus { border-color: var(--tc-ink-2); outline: none; }
.tc-root .tc-form .tc-btn { justify-self: start; min-width: 160px; }
.tc-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.tc-alert { padding: 12px 14px; border-radius: 3px; font-size: 14px; }
.tc-alert-ok { background: var(--tc-av-bg); color: var(--tc-av-fg); }
.tc-alert-err { background: var(--tc-na-bg); color: var(--tc-na-fg); }

/* ---------- Application modal ---------- */
.tc-root.tc-portal { position: relative; z-index: 2147483000; isolation: auto; height: 0; background: none; }
.tc-modal { position: fixed; inset: 0; z-index: 100001; background: rgba(25, 23, 20, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.tc-modal-box { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto; overflow-x: hidden; background: var(--tc-bg); border-radius: var(--tc-radius); padding: 28px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.tc-modal-title { font-size: 22px; font-weight: 500; margin-bottom: 16px !important; }
.tc-root .tc-modal-x { position: absolute; top: 14px; inset-inline-end: 14px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; }
.tc-modal .tc-form { background: transparent; border: 0; padding: 0; }
.tc-unit-summary { background: var(--tc-surface); border: 1px solid var(--tc-line); border-radius: 3px; padding: 12px 14px; font-size: 14px; line-height: 1.7; }
.tc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tc-form .tc-select select { height: 44px; }
.tc-root .tc-btn-apply { width: 100%; }
html.tc-modal-open { overflow: hidden; }
@media (max-width: 600px) { .tc-form-row { grid-template-columns: 1fr; } .tc-modal-box { padding: 22px 18px; } }

/* ---------- Footer strip ---------- */
.tc-foot { border-top: 1px solid var(--tc-line); padding: 26px 0; background: var(--tc-bg); }
.tc-foot-inner { display: flex; align-items: center; gap: 24px; }
.tc-foot-brand { display: flex; flex-direction: column; line-height: 1.2; color: var(--tc-muted); }
.tc-foot-brand span { font-size: 18px; }
.tc-foot-brand small { font-size: 11px; letter-spacing: .12em; }
.tc-foot-line { flex: 1; height: 1px; background: var(--tc-line-2); max-width: 120px; }
.tc-foot p { font-size: 14px; color: var(--tc-ink-2); flex: 2; text-align: center; }
.tc-foot-en { font-size: 11px; letter-spacing: .14em; color: var(--tc-muted); line-height: 1.6; }

/* ---------- Lightbox ---------- */
.tc-lightbox { position: fixed; inset: 0; z-index: 100000; background: rgba(20,20,20,.88); display: flex; align-items: center; justify-content: center; padding: 40px; }
.tc-lightbox img { max-width: 100%; max-height: 100%; background: #fff; }
.tc-root .tc-lightbox button { position: absolute; top: 16px; inset-inline-end: 16px; color: #fff; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.tc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tc-grid.is-list .tc-card { grid-template-columns: 140px 1.4fr 1.2fr 1.3fr 140px; gap: 14px; }
}
@media (max-width: 960px) {
	.tc-root .tc-subnav-toggle { display: inline-flex; }
	.tc-subnav-links {
		display: none; position: absolute; top: 100%; inset-inline: 0; flex-direction: column; gap: 0;
		background: var(--tc-surface); border-bottom: 1px solid var(--tc-line); padding: 8px var(--tc-gutter) 16px;
	}
	.tc-subnav-links.is-open { display: flex; }
	.tc-subnav-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--tc-line); }
	.tc-subnav-lang { order: 3; }
	.tc-subnav { background: rgba(245, 244, 242, .92); }
	.tc-filters-inner > .tc-f { flex-basis: calc(50% - 10px); }
	.tc-filters-inner > .tc-f-range, .tc-filters .tc-btn-dark { flex-basis: 100%; }
	.tc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tc-panel, .tc-root[dir="rtl"] .tc-panel { grid-template-columns: 1fr; grid-template-areas: "info" "plan" "loc"; gap: 20px; }
	.tc-panel-col { padding: 0; }
	.tc-panel-info { border: 0; border-bottom: 1px solid var(--tc-line-2); padding-bottom: 20px; }
	.tc-root .tc-panel-close { position: absolute; top: 14px; inset-inline-end: 16px; }
	.tc-panel { position: relative; padding-top: 48px; }
	.tc-grid.is-list .tc-card { grid-template-columns: 1fr 1fr; }
	.tc-grid.is-list .tc-card > .tc-details { grid-column: 1 / -1; }
	.tc-about-grid, .tc-loc-grid, .tc-contact-grid { grid-template-columns: 1fr; }
	.tc-about-img img { aspect-ratio: 16 / 10; }
	.tc-foot-inner { flex-wrap: wrap; justify-content: center; text-align: center; }
	.tc-foot-line { display: none; }
	.tc-foot p { flex-basis: 100%; order: -1; }
}
@media (max-width: 600px) {
	.tc-root { font-size: 14px; }
	.tc-hero { min-height: 520px; align-items: flex-end; }
	.tc-hero::after { background: linear-gradient(0deg, rgba(30,28,25,.6) 0%, rgba(30,28,25,.2) 55%, rgba(30,28,25,0) 80%); }
	.tc-hero-inner { flex-direction: column-reverse; gap: 24px; }
	.tc-hero-tag { display: none; }
	.tc-grid { grid-template-columns: 1fr; gap: 14px; }
	.tc-filters-inner { gap: 14px; }
	.tc-filters-inner > .tc-f { flex-basis: calc(50% - 7px); }
	.tc-toolbar { align-items: flex-end; }
	.tc-toolbar-main { gap: 12px; }
	.tc-toolbar .tc-h2 { flex-basis: 100%; }
	.tc-count span::after { display: none; }
	.tc-loc-body { grid-template-columns: 1fr 1.4fr; }
	.tc-grid.is-list .tc-card { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.tc-root *, .tc-root *::before, .tc-root *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
