/* =====================================================================
   IMMO 2026 — Modern design system v2
   Photo hero banners + clean light content = perfect readability
   ===================================================================== */
:root {
	--primary: #6366f1;
	--primary-dark: #4f46e5;
	--accent: #8b5cf6;
	--grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
	--dark: #0f172a;
	--text: #334155;
	--gray: #64748b;
	--light: #f6f7fb;
	--white: #ffffff;
	--border: #e7e9f2;
	--shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
	--shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
	--shadow-lg: 0 24px 55px rgba(15, 23, 42, 0.16);
	--radius: 18px;
	--radius-sm: 12px;

	/* Aliases so account/checkout/booking components can reuse this site's real
	   palette above under the token names that widget was originally written against. */
	--card: var(--white);
	--surface: var(--light);
	--line: var(--border);
	--ink-500: var(--gray);
	--ink-700: var(--text);
	--ink-900: var(--dark);
	--navy-400: var(--primary);
	--navy-500: var(--primary);
	--navy-600: var(--primary);
	--navy-700: var(--primary-dark);
	--orange-400: var(--accent);
	--orange-500: var(--accent);
	--success: #059669;
	--danger: #dc2626;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: var(--text);
	background:
		radial-gradient(900px 400px at 85% -50px, rgba(139, 92, 246, 0.07), transparent),
		radial-gradient(700px 380px at 0% 120px, rgba(99, 102, 241, 0.06), transparent),
		var(--light);
	min-height: 100vh;
}

img { max-width: 100%; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

/* ---------- Cards ---------- */
.glass-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	padding: 1.9rem;
	margin-bottom: 1.5rem;
}

/* ---------- Navbar ---------- */
.navbar {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
	transition: box-shadow .3s, background .3s;
}
.navbar.scrolled { box-shadow: var(--shadow); background: rgba(255, 255, 255, 0.96); }

.nav-container {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0.65rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.nav-logo a { display: flex; align-items: center; gap: 0.8rem; }
.nav-logo img { height: 44px; width: auto; }
.logo-text .logo-name {
	font-size: 1.3rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	line-height: 1.2;
}
.logo-text p { font-size: 0.7rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.14em; }

.nav-menu { display: flex; list-style: none; gap: 0.3rem; }
.nav-menu a {
	display: block;
	padding: 0.5rem 0.85rem;
	border-radius: var(--radius-sm);
	text-align: center;
	transition: background .2s, transform .2s;
}
.nav-menu a .nav-title { display: block; font-size: 0.8rem; font-weight: 700; color: var(--dark); letter-spacing: 0.04em; }
.nav-menu a .nav-subtitle { display: block; font-size: 0.67rem; color: var(--gray); }
.nav-menu a:hover { background: rgba(99, 102, 241, 0.08); transform: translateY(-1px); }
.nav-menu a.active { background: var(--grad); box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35); }
.nav-menu a.active .nav-title, .nav-menu a.active .nav-subtitle { color: #fff; }

/* ---------- Notification bell (nav) ---------- */
.nav-bell-item { display: flex; align-items: center; }
.nav-bell {
	position: relative; display: flex !important; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 50%; font-size: 1.05rem; color: var(--dark);
	transition: background .2s, transform .2s;
}
.nav-bell:hover { background: rgba(245, 166, 35, 0.14); transform: translateY(-1px); color: #d97706; }
.nav-bell.active { background: rgba(245, 166, 35, 0.18); color: #d97706; }
.nav-bell-badge {
	position: absolute; top: 2px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px;
	border-radius: 999px; background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #4a2e00;
	font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 0 0 2px var(--white); animation: bellPulse 1.8s ease-in-out infinite;
}
@keyframes bellPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }

/* ---------- Language switcher ---------- */
.lang-switch { position: relative; margin-left: 0.4rem; }
.lang-current {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.45rem 0.75rem;
	font: inherit;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--dark);
	background: rgba(99, 102, 241, 0.07);
	border: 1px solid var(--border);
	border-radius: 999px;
	cursor: pointer;
	transition: background .2s, box-shadow .2s;
}
.lang-current:hover { background: rgba(99, 102, 241, 0.14); }
.lang-current img { width: 20px; height: auto; border-radius: 3px; box-shadow: 0 1px 3px rgba(15,23,42,.25); }
.lang-current i { font-size: 0.6rem; color: var(--gray); transition: transform .2s; }
.lang-switch.open .lang-current i { transform: rotate(180deg); }
.lang-menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 160px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 14px;
	box-shadow: var(--shadow-lg);
	padding: 0.4rem;
	display: none;
	z-index: 1200;
}
.lang-switch.open .lang-menu { display: block; animation: langDrop .18s ease; }
@keyframes langDrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.lang-menu a {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.5rem 0.7rem;
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--text);
	border-radius: 9px;
	transition: background .15s;
}
.lang-menu a img { width: 20px; height: auto; border-radius: 3px; box-shadow: 0 1px 3px rgba(15,23,42,.25); }
.lang-menu a:hover { background: rgba(99, 102, 241, 0.08); color: var(--primary); }
.lang-menu a.active { background: var(--grad); color: #fff; font-weight: 600; }

/* Hide every Google Translate artifact (engine runs invisibly) */
#google_translate_element, .goog-te-banner-frame, .goog-te-balloon-frame, #goog-gt-tt { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
.goog-te-gadget { height: 0; overflow: hidden; }
iframe.skiptranslate { display: none !important; }
font[style] { background: none !important; box-shadow: none !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--dark); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Layout ---------- */
.main-content { min-height: 62vh; padding: 1.5rem 0 3rem; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Hero banner (home) ---------- */
.hero-banner {
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	background-color: var(--dark);
	background-size: cover;
	background-position: center;
	box-shadow: var(--shadow);
	margin-bottom: 2.2rem;
}
.hero-banner::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(10, 12, 34, 0.88) 0%, rgba(30, 27, 75, 0.72) 45%, rgba(30, 27, 75, 0.38) 100%);
}
.hero-inner { position: relative; padding: 4.2rem 3rem; max-width: 860px; }
.hero-title {
	font-size: clamp(2rem, 4.6vw, 3.4rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #fff;
	line-height: 1.12;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.grad-text {
	background: linear-gradient(135deg, #a5b4fc 0%, #c4b5fd 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.hero-subtitle { margin-top: 0.7rem; font-size: 1.08rem; color: rgba(255, 255, 255, 0.85); }

/* ---------- Page banner (interior pages) ---------- */
.page-banner {
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	background-color: var(--dark);
	background-size: cover;
	background-position: center;
	box-shadow: var(--shadow);
	margin-bottom: 1.8rem;
}
.page-banner::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(10, 12, 34, 0.88) 0%, rgba(30, 27, 75, 0.66) 55%, rgba(30, 27, 75, 0.4) 100%);
}
.page-banner .hero-inner { padding: 2.6rem 3rem; }
.banner-title {
	font-size: clamp(1.6rem, 3.4vw, 2.4rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fff;
	line-height: 1.2;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}
.banner-subtitle { margin-top: 0.45rem; font-size: 0.98rem; color: rgba(255, 255, 255, 0.85); }
.banner-subtitle i { margin-right: 0.35rem; }

/* ---------- Alerts ---------- */
.alert {
	position: fixed;
	top: 84px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1100;
	display: flex;
	align-items: center;
	gap: 0.7rem;
	max-width: min(620px, 92vw);
	padding: 0.9rem 1.2rem;
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-lg);
	font-weight: 500;
	animation: slideDown .35s ease;
}
@keyframes slideDown { from { opacity: 0; transform: translate(-50%, -16px); } to { opacity: 1; transform: translate(-50%, 0); } }
.alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.alert-close { margin-left: auto; background: none; border: 0; color: inherit; cursor: pointer; opacity: .6; }
.alert-close:hover { opacity: 1; }
.alert a { color: inherit; text-decoration: underline; }

/* ---------- Search ---------- */
.search-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.1rem;
	margin-top: 2.2rem;
}
.search-container.page-top { margin: 0 0 1.5rem; }
.search-box {
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: var(--radius);
	padding: 1.2rem 1.3rem;
}
.search-box h3 { font-size: 0.9rem; font-weight: 600; color: #fff; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
.search-box h3 i:first-child { color: #c4b5fd; }
.search-container.page-top .search-box { background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.search-container.page-top .search-box h3 { color: var(--dark); }
.search-container.page-top .search-box h3 i:first-child { color: var(--primary); }

.search-row { display: flex; gap: 0.6rem; }
.search-input {
	flex: 1;
	min-width: 0;
	padding: 0.75rem 1rem;
	font: inherit;
	font-size: 0.95rem;
	border: 1.5px solid transparent;
	border-radius: var(--radius-sm);
	background: #fff;
	box-shadow: var(--shadow-sm);
	transition: border-color .2s, box-shadow .2s;
}
.search-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18); }
.search-btn {
	padding: 0.75rem 1.5rem;
	font: inherit;
	font-size: 0.83rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #fff;
	background: var(--grad);
	border: 0;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: transform .15s, box-shadow .2s;
	white-space: nowrap;
}
.search-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(99, 102, 241, 0.45); }
.help-icon { color: rgba(255,255,255,0.7); cursor: help; margin-left: auto; }
.search-container.page-top .help-icon, .tracking-form .help-icon { color: var(--gray); }

.page-search {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	padding: 0.9rem 1.2rem;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	margin-bottom: 1.5rem;
}
.page-search > i { color: var(--primary); }
.page-search .search-input { box-shadow: none; border-color: var(--border); }

/* ---------- Hero search (homepage) ---------- */
.hero-search {
	display: flex; align-items: center; gap: 0.9rem; margin-top: 2.2rem; padding: 0.6rem 0.6rem 0.6rem 1.4rem;
	max-width: 620px; border-radius: 999px; box-shadow: 0 20px 45px rgba(15, 23, 42, 0.28);
}
.hero-search > i { color: var(--primary); font-size: 1.05rem; }
.hero-search .search-input { box-shadow: none; border: none; font-size: 1rem; padding: 0.5rem 0; }
.hero-search .search-btn { border-radius: 999px; padding: 0.9rem 1.8rem; }

/* ---------- Popular destinations grid (homepage) ---------- */
.destination-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-bottom: 2.6rem; }
.destination-card {
	position: relative; display: block; height: 190px; border-radius: var(--radius); overflow: hidden;
	background-size: cover; background-position: center; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.destination-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.destination-overlay {
	position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1rem 1.1rem;
	background: linear-gradient(0deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.05) 65%, transparent 100%);
}
.destination-name { font-size: 1.15rem; font-weight: 800; color: #fff; }
.destination-count { font-size: 0.8rem; color: rgba(255,255,255,0.85); }
@media (max-width: 900px) { .destination-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hero-search { flex-wrap: wrap; border-radius: var(--radius); } .hero-search .search-btn { width: 100%; } }

/* ---------- Special offers (homepage) ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-bottom: 2.8rem; }
.offer-card {
	position: relative; display: block; height: 340px; border-radius: var(--radius); overflow: hidden;
	background-size: cover; background-position: center; background-color: var(--surface);
	box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.offer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.offer-card::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.05) 100%);
}
.offer-badge {
	position: absolute; top: 16px; left: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
	padding: 7px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 800; letter-spacing: .03em; color: #fff;
	box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.offer-gold .offer-badge { background: linear-gradient(135deg, #f5a623, #e8871a); }
.offer-teal .offer-badge { background: linear-gradient(135deg, #0d9488, #0f766e); }
.offer-coral .offer-badge { background: linear-gradient(135deg, #fb7185, #e11d48); }
.offer-overlay { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.3rem; }
.offer-headline { font-size: 1.35rem; font-weight: 800; color: #fff; line-height: 1.2; }
.offer-blurb { font-size: 0.86rem; color: rgba(255,255,255,0.85); margin-top: 0.4rem; line-height: 1.4; }
.offer-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 0.6rem; margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid rgba(255,255,255,0.25); }
.offer-property { font-size: 0.82rem; font-weight: 600; color: #fff; opacity: 0.9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.offer-price { font-size: 0.95rem; font-weight: 800; color: #fff; white-space: nowrap; }
@media (max-width: 900px) { .offer-grid { grid-template-columns: 1fr; } .offer-card { height: 280px; } }

.tracking-form {
	background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(139, 92, 246, 0.06));
	border: 1.5px dashed rgba(99, 102, 241, 0.45);
	border-radius: var(--radius-sm);
	padding: 1.3rem;
	margin: 1.4rem 0;
}
.tracking-form h3 { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem; }
.tracking-form h3 i:first-child { color: var(--primary); }
.tracking-form .search-input { border-color: var(--border); }

/* ---------- Filter chips (properties page) ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.4rem; }
.filter-chip {
	padding: 0.5rem 1.15rem;
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--text);
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 999px;
	box-shadow: var(--shadow-sm);
	transition: transform .15s, box-shadow .2s, background .2s, color .2s;
}
.filter-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--primary); }
.filter-chip.active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35); }
.results-count { font-size: 0.88rem; color: var(--gray); margin: 0.5rem 0 1rem 0.25rem; }

/* ---------- Filters panel (country / bedrooms / amenities) ---------- */
.filters-toggle { background: var(--white); color: var(--text); border: 1px solid var(--border); box-shadow: none; }
.filters-toggle:hover { color: var(--primary); box-shadow: none; }
.filters-panel {
	display: none;
	padding: 1.2rem 1.4rem;
	margin-bottom: 1.4rem;
}
.filters-panel.open { display: block; }
.filters-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.4rem; }
.filter-group { display: flex; flex-direction: column; gap: 0.4rem; min-width: 160px; }
.filter-group label { font-size: 0.78rem; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: 0.04em; }
.filter-group select { padding: 0.55rem 0.8rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.9rem; background: var(--white); color: var(--text); }
.filter-group-amenities { flex: 1 1 260px; }
.filter-amenities { display: flex; flex-wrap: wrap; gap: 0.6rem 1.1rem; }
.filter-amenity-check { display: flex; align-items: center; gap: 0.4rem; font-size: 0.86rem; color: var(--text); cursor: pointer; }
.filter-amenity-check i { color: var(--primary); }
.button-primary {
	padding: 0.7rem 1.3rem;
	font-size: 0.86rem;
	font-weight: 700;
	color: #fff;
	background: var(--grad);
	border: 0;
	border-radius: var(--radius-sm);
	cursor: pointer;
	white-space: nowrap;
}
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(99, 102, 241, 0.45); }
.filters-clear { font-size: 0.86rem; color: var(--gray); text-decoration: underline; white-space: nowrap; }
.filters-clear:hover { color: var(--primary); }
.empty-state { text-align: center; padding: 3rem; color: var(--gray); }
.empty-state i { font-size: 2.4rem; color: var(--primary); opacity: 0.4; display: block; margin-bottom: 0.8rem; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 2.2rem 0 1rem; flex-wrap: wrap; }
.page-btn {
	min-width: 40px; height: 40px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
	border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--white); color: var(--text);
	font-weight: 600; font-size: 0.85rem; transition: .15s;
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--grad); border-color: transparent; color: #fff; }
.page-ellipsis { color: var(--gray); padding: 0 4px; }

/* ---------- Section titles ---------- */
.section-title { margin: 2.6rem 0 1.25rem; }
.section-title h2, .section-heading {
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--dark);
	display: flex;
	align-items: center;
	gap: 0.6rem;
}
.section-title h2 i, .section-heading i { color: var(--primary); font-size: 1.05rem; }
.section-heading { margin-bottom: 1.1rem; }

/* ---------- Property grid & cards ---------- */
.property-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
	gap: 1.4rem;
}
.property-card {
	display: block;
	padding: 0;
	overflow: hidden;
	transition: transform .25s, box-shadow .25s;
}
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.property-image {
	display: block;
	position: relative;
	aspect-ratio: 16 / 10;
	background-color: #e2e8f0;
	background-size: cover;
	background-position: center;
	transition: filter .3s;
}
.property-card:hover .property-image { filter: brightness(1.07); }
.property-image.small { aspect-ratio: 16 / 9; }
.property-info { display: block; padding: 1.15rem 1.3rem 1.3rem; }
.property-price { display: block; font-size: 1.15rem; font-weight: 800; color: var(--primary); margin-bottom: 0.3rem; letter-spacing: -0.01em; }
.property-price small { font-size: 0.78rem; font-weight: 500; color: var(--gray); }
/* Nightly price — same soft red pill as the per-person line below it (moon icon via Font Awesome) */
.night-price,
.property-info .property-price {
	display: inline-flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0 0 0.35rem;
	padding: 0.3rem 0.8rem;
	background: linear-gradient(135deg, rgba(255, 56, 92, 0.10) 0%, rgba(255, 90, 95, 0.06) 100%);
	border: 1px solid rgba(255, 56, 92, 0.22);
	border-radius: 999px;
	line-height: 1.25;
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--primary-dark, #e00b41);
	letter-spacing: -0.01em;
}
.night-price::before,
.property-info .property-price::before {
	content: "\f186";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 0.85rem;
	align-self: center;
}
.property-info .property-price small,
.night-price .booking-period { font-size: 0.78rem; font-weight: 600; color: var(--gray); letter-spacing: 0; }
.booking-price-row .night-price { font-size: 20px; }
.booking-price-row .night-price .booking-price { color: inherit; }
.booking-price-row .night-price .booking-period { font-size: 13px; font-weight: 500; }
.property-info .property-price + .per-person { margin-top: 0; }

/* "From €67 per person / night" — same red and size as the nightly price, in a soft red pill */
.per-person {
	display: inline-flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0.2rem 0 0.45rem;
	padding: 0.3rem 0.8rem;
	background: linear-gradient(135deg, rgba(255, 56, 92, 0.10) 0%, rgba(255, 90, 95, 0.06) 100%);
	border: 1px solid rgba(255, 56, 92, 0.22);
	border-radius: 999px;
	line-height: 1.25;
}
.per-person i { align-self: center; font-size: 0.85rem; color: var(--primary-dark, #e00b41); }
.per-person .pp-from, .per-person .pp-unit { font-size: 0.78rem; font-weight: 600; color: var(--gray); }
.per-person .pp-amount { font-size: 1.15rem; font-weight: 800; color: var(--primary-dark, #e00b41); letter-spacing: -0.01em; }
.booking-price-row .per-person { display: flex; width: fit-content; margin: 10px 0 0; }
.booking-price-row .per-person .pp-amount { font-size: 20px; }
.booking-price-row .per-person .pp-from, .booking-price-row .per-person .pp-unit { font-size: 13px; font-weight: 500; }
/* Inside the small mobile reserve bar: plain text, no pill */
.bb-sub .pp-amount { font-size: 0.9rem; font-weight: 800; color: var(--primary-dark, #e00b41); }
.bb-sub i, .bb-sub .pp-from { display: none; } /* keep "€67 per person / night" whole on narrow phones */
.bb-sub .pp-unit { margin-left: 0.25rem; }
.property-title { font-size: 1rem; font-weight: 600; color: var(--dark); line-height: 1.42; }
.property-location { margin-top: 0.35rem; font-size: 0.85rem; color: var(--gray); }
.property-location i { color: var(--primary); margin-right: 0.3rem; }
.property-features { display: flex; gap: 1rem; margin-top: 0.85rem; padding-top: 0.85rem; border-top: 1px solid var(--border); font-size: 0.83rem; color: var(--gray); }
.property-features i { color: var(--primary); margin-right: 0.3rem; }
.property-rating { display: inline-flex; align-items: center; gap: 4px; margin-top: 0.5rem; font-size: 0.83rem; font-weight: 700; color: var(--dark); }
.property-rating i { color: #f5a623; }
.property-rating small { font-weight: 500; color: var(--gray); }
.read-more-link { display: inline-block; margin-top: 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--primary); }

.badge {
	display: inline-block;
	padding: 0.3rem 0.8rem;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.09em;
	border-radius: 999px;
	vertical-align: middle;
}
.badge-sold { background: #dc2626; color: #fff; box-shadow: 0 4px 14px rgba(220, 38, 38, 0.45); }
.badge-sale { background: #059669; color: #fff; box-shadow: 0 4px 14px rgba(5, 150, 105, 0.4); }
.badge-rent { background: #d97706; color: #fff; box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4); }
.property-image .badge { position: absolute; top: 0.9rem; left: 0.9rem; }
.banner-title .badge { font-size: 0.78rem; position: relative; top: -4px; margin-right: 0.4rem; }

/* ---------- Page layout with sidebar ---------- */
.page-layout { display: grid; grid-template-columns: 264px 1fr; gap: 1.5rem; align-items: start; }
.page-main { min-width: 0; }
.page-side { position: sticky; top: 88px; }
.side-nav { padding: 1.3rem; }
.side-nav .side-heading { margin: 1.2rem 0 0.45rem; }
.side-nav .side-heading:first-child { margin-top: 0; }
.side-nav a {
	display: block;
	padding: 0.44rem 0.65rem;
	border-radius: 9px;
	font-size: 0.9rem;
	color: var(--text);
	transition: background .2s, color .2s, padding-left .2s;
}
.side-nav a i { color: var(--primary); margin-right: 0.45rem; font-size: 0.72rem; }
.side-nav a:hover { background: rgba(99, 102, 241, 0.08); color: var(--primary); padding-left: 0.9rem; }
.side-nav a.active { background: var(--grad); color: #fff; font-weight: 600; }
.side-nav a.active i { color: #fff; }
.side-heading { font-size: 0.76rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.11em; color: var(--gray); display: flex; align-items: center; gap: 0.5rem; }
.side-heading i { color: var(--primary); }

.page-hero-image img { width: 100%; border-radius: var(--radius-sm); margin-bottom: 1.4rem; box-shadow: var(--shadow-sm); }

/* ---------- Legacy content normalisation (immo7 pages) ---------- */
.page-body { color: var(--text); }
.page-body span, .page-body p, .page-body li { font-family: inherit !important; }
.page-body span[style*="font-size:14px"], .page-body span[style*="font-size:12px"] { font-size: 1rem !important; }
.page-body span[style*="font-size:11px"] { font-size: 0.88rem !important; }
.page-body span[style*="font-size:18px"] { font-size: 1.25rem !important; font-weight: 700; }
.page-body span[style*="color:#666666"], .page-body span[style*="color:rgb(102, 102, 102)"] { color: var(--dark) !important; }
.page-body p { margin-bottom: 0.4rem; }
.page-body ul { margin: 0.8rem 0 0.8rem 1.4rem; }
.page-body li { margin-bottom: 0.5rem; }
.page-body table { width: 100% !important; border-collapse: separate; border-spacing: 12px; }
.page-body td {
	vertical-align: top;
	background: var(--light);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 1rem !important;
	transition: box-shadow .2s, transform .2s;
}
.page-body td:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.page-body td:empty { background: none; border: none; }
.page-body img { border: none !important; border-radius: 10px; box-shadow: var(--shadow-sm); height: auto !important; }
.page-body h1, .page-body h2, .page-body h3 { color: var(--dark); margin: 1rem 0 0.6rem; }
.page-body iframe { max-width: 100%; border-radius: var(--radius-sm); }
.home-text { margin-top: 2.2rem; }
.home-text td { background: transparent; border: none; padding: 0.5rem !important; }
.home-text td:hover { box-shadow: none; transform: none; }

/* ---------- Forms ---------- */
.modern-form .form-group { margin-bottom: 0.95rem; }
.modern-form label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--dark); margin-bottom: 0.32rem; }
.modern-form label span, .form-note span { color: #dc2626; }
.form-input, .form-textarea {
	width: 100%;
	padding: 0.72rem 0.95rem;
	font: inherit;
	font-size: 0.95rem;
	border: 1.5px solid var(--border);
	border-radius: var(--radius-sm);
	background: #fff;
	transition: border-color .2s, box-shadow .2s;
}
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15); }
.form-textarea { resize: vertical; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.checkbox-label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; color: var(--gray); margin: 0.6rem 0 1rem; cursor: pointer; }
.checkbox-label input { accent-color: var(--primary); width: 16px; height: 16px; flex: none; }
.form-note { margin-top: 0.7rem; font-size: 0.8rem; color: var(--gray); text-align: center; }

.btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.82rem 1.8rem;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	color: #fff;
	background: var(--grad);
	border: 0;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: transform .15s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(99, 102, 241, 0.45); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Contact page ---------- */
.contact-badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 1.4rem 0 0; }
.cbadge { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: 12px; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.06); border: 1px solid #e8eaf0; }
.cbadge-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0; }
.cbadge-phone .cbadge-icon { background: #eaf7ef; color: #16a34a; }
.cbadge-fax   .cbadge-icon { background: #fef3e2; color: #d97706; }
.cbadge-addr  .cbadge-icon { background: #eef2ff; color: var(--primary); }
.cbadge-body { display: flex; flex-direction: column; min-width: 0; }
.cbadge-label { font-size: 0.73rem; text-transform: uppercase; letter-spacing: .05em; color: #94a3b8; font-weight: 600; }
.cbadge-val { font-size: 0.92rem; font-weight: 600; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.contact-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 1.5rem; align-items: start; margin-top: 1.3rem; }
.contact-form-card { padding: 1.8rem 2rem; }
.cfc-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1.2rem; border-bottom: 1px solid #eef0f6; }
.cfc-icon { font-size: 1.6rem; color: var(--primary); background: #eef2ff; border-radius: 12px; padding: 0.55rem 0.7rem; }
.cfc-header h2 { margin: 0 0 0.18rem; font-size: 1.15rem; }
.cfc-header p { margin: 0; font-size: 0.85rem; color: #64748b; }
.cfc-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }

.contact-info-card { background: linear-gradient(155deg, #1e3a5f 0%, #21496d 60%, #2563a7 100%); color: #fff; border-radius: 16px; padding: 1.8rem 2rem; box-shadow: 0 4px 24px rgba(30,58,95,.25); }
.contact-info-card .contact-item i { color: rgba(255,255,255,.65); }
.contact-info-card .contact-item span { color: rgba(255,255,255,.9); }
.cic-brand { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.4rem; padding-bottom: 1.2rem; border-bottom: 1px solid rgba(255,255,255,.15); }
.cic-brand i { font-size: 1.5rem; color: var(--accent); background: rgba(255,255,255,.1); padding: 0.5rem 0.55rem; border-radius: 10px; }
.cic-brand strong { display: block; font-size: 1rem; color: #fff; }
.cic-brand small { font-size: 0.78rem; color: rgba(255,255,255,.6); }
.contact-item { display: flex; gap: 0.85rem; margin-bottom: 1rem; font-size: 0.9rem; align-items: flex-start; }
.contact-item i { margin-top: 0.2rem; width: 18px; text-align: center; }
.contact-hours { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.15); }
.contact-hours h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.65); margin: 0 0 0.8rem; }
.contact-hours h4 i { margin-right: 0.4rem; }
.ch-row { display: flex; justify-content: space-between; padding: 0.3rem 0; font-size: 0.88rem; color: rgba(255,255,255,.85); border-bottom: 1px solid rgba(255,255,255,.07); }
.ch-row b { color: #fff; }
.ch-closed b { color: #fca5a5; }

/* ---------- Property detail page ---------- */
.property-layout { display: grid; grid-template-columns: 1fr 368px; gap: 1.5rem; align-items: start; }
.property-main, .property-side { min-width: 0; }
.property-head { padding: 1.1rem 1.6rem; }
/* Airbnb-style summary: "Vacation rental in London", guests / bedrooms / baths, then the rating box */
.property-head:has(.ph-main) { padding: 1.4rem 1.6rem; }
.ph-main { min-width: 0; }
.ph-title { font-size: 1.35rem; font-weight: 800; color: var(--dark); line-height: 1.3; margin: 0 0 0.45rem; }
.ph-facts { display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; margin: 0; padding: 0; list-style: none; color: var(--text); font-size: 0.95rem; font-weight: 500; }
.ph-facts i { color: var(--primary-dark, #e00b41); margin-right: 0.3rem; }
.ph-rating {
	display: flex;
	align-items: center;
	gap: 1.4rem;
	margin-top: 1.3rem;
	padding: 1.15rem 1.6rem;
	border: 1px solid var(--border);
	border-radius: 16px;
	color: var(--dark);
	text-decoration: none;
	transition: box-shadow .2s, border-color .2s;
}
.ph-rating:hover { box-shadow: var(--shadow); border-color: transparent; }
.ph-fav { display: flex; align-items: center; gap: 0.3rem; flex: 0 0 auto; }
.ph-fav b { font-size: 1.15rem; line-height: 1.1; font-weight: 700; text-align: center; letter-spacing: -0.01em; }
.ph-laurel { width: 22px; height: 44px; color: #d4a52a; filter: drop-shadow(0 1px 0 rgba(150, 105, 10, 0.35)); }
.ph-laurel-r { transform: scaleX(-1); }
.ph-blurb { flex: 1 1 auto; min-width: 0; font-size: 1.02rem; font-weight: 600; line-height: 1.4; }
.ph-score, .ph-count { display: flex; flex-direction: column; align-items: center; line-height: 1.15; flex: 0 0 auto; }
.ph-score b, .ph-count b { font-size: 1.45rem; font-weight: 800; }
.ph-stars { margin-top: 0.15rem; font-size: 0.68rem; color: var(--dark); letter-spacing: 1px; }
.ph-count { padding-left: 1.4rem; border-left: 1px solid var(--border); }
.ph-count small { font-size: 0.8rem; text-decoration: underline; }
.print-link-solo { display: block; width: fit-content; margin: -0.6rem 0 1rem auto; }
@media (max-width: 600px) {
	.ph-title { font-size: 1.15rem; }
	.ph-rating { flex-wrap: wrap; justify-content: center; gap: 0.9rem 1.2rem; padding: 1rem; }
	.ph-blurb { flex-basis: 100%; order: 3; text-align: center; font-size: 0.9rem; }
	.ph-fav { flex-basis: 100%; justify-content: center; }
	.ph-fav b { font-size: 1rem; }
	.ph-count { padding-left: 1.2rem; }
}
.property-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; color: var(--gray); font-size: 0.92rem; font-weight: 500; }
.print-link { margin-left: auto; font-size: 0.85rem; font-weight: 600; }
.print-link i { margin-right: 0.3rem; }

.property-gallery { padding: 1rem; }
.gallery-main img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-sm); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 0.6rem; margin-top: 0.6rem; }
.thumb-image {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 9px;
	cursor: pointer;
	opacity: 0.72;
	transition: opacity .2s, transform .2s;
	border: 2px solid transparent;
}
.thumb-image:hover, .thumb-image.active { opacity: 1; transform: scale(1.05); border-color: var(--primary); }

.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(225px, 1fr)); gap: 0.7rem; }
.feature-item {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0.8rem 0.95rem;
	background: var(--light);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
}
.feature-item i { color: var(--primary); font-size: 1.05rem; width: 22px; text-align: center; }
.feature-item.highlight { background: var(--grad); border-color: transparent; }
.feature-item.highlight i, .feature-item.highlight .feature-label, .feature-item.highlight .feature-value { color: #fff; }
.feature-label { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray); }
.feature-value { display: block; font-size: 0.95rem; font-weight: 700; color: var(--dark); }

.floor-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.floor-plan-item { display: block; text-align: center; }
.floor-plan-item img { border-radius: var(--radius-sm); border: 1px solid var(--border); background: #fff; }
.floor-plan-item span { display: block; margin-top: 0.5rem; font-size: 0.85rem; font-weight: 600; }

.property-map iframe { width: 100%; min-height: 380px; border: 0; border-radius: var(--radius-sm); }
.leaflet-map { width: 100%; height: 380px; border-radius: var(--radius-sm); z-index: 1; }
.house-marker span { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: #1a1a1a; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.house-marker i { color: #fff; font-size: 15px; }
.amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.7rem 1rem; }
.amenity { display: flex; align-items: center; gap: 0.7rem; font-size: 0.93rem; color: var(--text); padding: 0.35rem 0; }
.amenity i { color: var(--primary); width: 22px; text-align: center; font-size: 1.05rem; }
.map-area { margin: -0.4rem 0 0.9rem; color: var(--gray); font-size: 0.9rem; }
.map-area i { color: var(--primary); margin-right: 0.35rem; }

.fair-housing-link { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--gray); margin-top: 0.4rem; }
.fair-housing-link img { height: 26px; border-radius: 4px; }

/* Agent card */
.agent-card { background: linear-gradient(160deg, #ffffff 0%, #f2f3fd 100%); }
.agent-profile { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.3rem; }
.agent-photo { width: 88px; height: 88px; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); }
.agent-profile h4 { font-size: 1.05rem; color: var(--dark); }
.agent-profile p { font-size: 0.85rem; color: var(--gray); }
.email-toggle {
	margin-top: 0.45rem;
	padding: 0.32rem 0.75rem;
	font: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--primary);
	background: rgba(99, 102, 241, 0.12);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: background .2s;
}
.email-toggle:hover { background: rgba(99, 102, 241, 0.2); }
.agent-email { font-size: 0.85rem; letter-spacing: 0.02em; filter: blur(4px); transition: filter .25s; user-select: none; color: var(--gray); }
.agent-email.revealed { filter: none; user-select: auto; color: var(--primary); font-weight: 600; }
.sold-note {
	display: flex;
	gap: 0.6rem;
	padding: 0.85rem 1rem;
	margin-bottom: 1.05rem;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: var(--radius-sm);
	color: #b91c1c;
	font-size: 0.87rem;
}

.side-heading { margin-bottom: 0.9rem; }
.mini-properties { display: flex; flex-direction: column; gap: 0.7rem; }
.mini-property { display: flex; gap: 0.9rem; align-items: center; padding: 0.55rem; border-radius: var(--radius-sm); transition: background .2s; }
.mini-property:hover { background: rgba(99, 102, 241, 0.07); }
.mini-img { flex: 0 0 86px; height: 64px; border-radius: 10px; background-size: cover; background-position: center; background-color: #e2e8f0; box-shadow: var(--shadow-sm); }
.mini-info { min-width: 0; }
.mini-info b { display: block; font-size: 0.88rem; color: var(--dark); line-height: 1.35; }
.mini-info i { display: block; font-style: normal; font-size: 0.78rem; color: var(--gray); margin-top: 0.2rem; }

/* ---------- Gallery navigation on the page ---------- */
.gallery-main { position: relative; }
.gallery-main img.main-image { cursor: zoom-in; display: block; }
.gal-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	font-size: 1.15rem;
	color: #fff;
	background: rgba(15, 23, 42, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	cursor: pointer;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	transition: background .2s, transform .15s;
	z-index: 2;
}
.gal-arrow:hover { background: var(--primary); border-color: var(--primary); }
.gal-prev { left: 14px; }
.gal-prev:hover { transform: translateY(-50%) translateX(-3px); }
.gal-next { right: 14px; }
.gal-next:hover { transform: translateY(-50%) translateX(3px); }
.gal-counter {
	position: absolute;
	bottom: 12px;
	left: 14px;
	padding: 0.25rem 0.8rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	color: #fff;
	background: rgba(15, 23, 42, 0.55);
	border-radius: 999px;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	z-index: 2;
}
.gal-zoom {
	position: absolute;
	bottom: 12px;
	right: 14px;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: rgba(15, 23, 42, 0.55);
	border-radius: 10px;
	cursor: zoom-in;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	transition: background .2s;
	z-index: 2;
}
.gal-zoom:hover { background: var(--primary); }
@media (max-width: 600px) {
	.gal-arrow { width: 36px; height: 36px; font-size: 0.95rem; }
	.gal-prev { left: 8px; }
	.gal-next { right: 8px; }
}

/* Phones & portrait tablets: Airbnb-style edge-to-edge swipeable photo, no thumbnails */
@media (max-width: 820px) {
	/* .glass-card doubled for specificity: beats the later .glass-card padding/border rules and the theme files */
	.property-gallery.glass-card.glass-card {
		padding: 0;
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
		background: none;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}
	.property-gallery.glass-card.gallery-top { margin-top: -1.5rem; margin-bottom: 1rem; }
	.gallery-main { touch-action: pan-y; }
	.gallery-main img,
	.gallery-main img.main-image { aspect-ratio: 4 / 3; max-height: 70vh; border-radius: 0; }
	.gallery-thumbs, .gal-arrow, .gal-zoom { display: none; }
	.gal-counter { left: auto; right: 14px; bottom: 14px; letter-spacing: 0.03em; }
}

/* ---------- Sticky reserve bar ---------- */
/* Phones & small tablets only (one-column layout); wider screens get the sticky sidebar instead */
.book-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9980;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem max(1.25rem, calc((100vw - 1320px) / 2 + 1.5rem)) calc(0.75rem + env(safe-area-inset-bottom));
	background: #fff;
	border-top: 1px solid var(--border);
	box-shadow: 0 -4px 18px rgba(15, 23, 42, 0.08);
	transition: transform .3s ease;
}
.bb-info { min-width: 0; line-height: 1.3; }
.bb-price { font-size: 1rem; color: var(--dark); white-space: nowrap; }
.bb-price b { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.bb-price span { color: var(--gray); font-size: 0.9rem; }
.bb-sub { font-size: 0.82rem; color: var(--gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-btn { flex: 0 0 auto; justify-content: center; min-width: 140px; padding: 0.85rem 1.6rem; font-size: 1rem; }
body.has-book-bar { padding-bottom: 84px; }
body.has-book-bar .wa-float { bottom: 96px; }
/* Desktop: no bottom bar — the sidebar itself (booking + contact agent) stays in view instead */
@media (min-width: 901px) {
	.book-bar { display: none; }
	body.has-book-bar { padding-bottom: 0; }
	body.has-book-bar .wa-float { bottom: 28px; }
	.property-side { position: sticky; top: 90px; }
	/* Compact so booking + contact form fit on one laptop screen together */
	.property-side > .glass-card { margin-bottom: 12px; padding: 18px 20px; }
	.property-side .side-heading { margin-bottom: 0.6rem; }
	.property-side .agent-profile { margin-bottom: 0.8rem; gap: 0.8rem; }
	.property-side .agent-profile .agent-photo { width: 52px; height: 52px; border-radius: 12px; }
	.property-side .agent-card .form-2col { gap: 8px; }
	.property-side .agent-card .form-group { margin-bottom: 8px; }
	.property-side .agent-card .form-group label {
		position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
	}
	.property-side .agent-card .form-input { height: 40px; padding-top: 0.45rem; padding-bottom: 0.45rem; }
	.property-side .agent-card .form-textarea { height: 64px; min-height: 64px; }
	.property-side .agent-card .checkbox-label { font-size: 0.78rem; margin-bottom: 8px; }
	.property-side .agent-card .form-note { display: none; }
	/* Short screens: compact card, the form opens in the contact popup instead */
	.property-side .agent-card.agent-compact .modern-form { display: none; }
	.property-side .agent-card.agent-compact .agent-open-btn { display: flex; }
	.property-side .agent-card.agent-compact .agent-profile { margin-bottom: 0.8rem; align-items: center; }
	.property-side .agent-card.agent-compact .agent-photo { width: 44px; height: 44px; }
	.property-side .agent-card.agent-compact .email-toggle,
	.property-side .agent-card.agent-compact .agent-email { display: none; }
}
.agent-open-btn { display: none; justify-content: center; }

/* ---------- Contact popup ---------- */
.contact-modal {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
}
.contact-modal[hidden] { display: none; }
.cm-panel {
	position: relative;
	width: min(460px, 100%);
	max-height: calc(100vh - 2rem);
	overflow-y: auto;
	padding: 1.4rem 1.5rem 1.2rem;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.3);
	animation: cm-in .2s ease-out;
}
@keyframes cm-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.cm-close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 34px;
	height: 34px;
	font-size: 1.5rem;
	line-height: 1;
	color: var(--gray);
	background: var(--light);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}
.cm-close:hover { color: var(--dark); }
.cm-head { display: flex; align-items: center; gap: 0.8rem; margin: 0 2.4rem 1.1rem 0; }
.cm-head .agent-photo { width: 52px; height: 52px; border-radius: 14px; }
.cm-head b { display: block; font-size: 1.05rem; color: var(--dark); }
.cm-head span { font-size: 0.82rem; color: var(--gray); }
.cm-body .form-2col { gap: 8px; }
.cm-body .form-group { margin-bottom: 10px; }
.cm-body .form-group label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cm-body .form-textarea { height: 90px; min-height: 90px; }
.cm-body .form-note { display: none; }
@media (max-width: 820px) {
	/* the popup's two name fields stay side by side even where .form-2col stacks */
	.cm-body .form-2col { grid-template-columns: 1fr 1fr; }
}

/* Envelope button next to Reserve in the phone bar */
.bb-msg {
	flex: 0 0 auto;
	width: 50px;
	height: 50px;
	margin-left: auto;
	font-size: 1.15rem;
	color: var(--primary-dark, #e00b41);
	background: #fff;
	border: 1.5px solid rgba(255, 56, 92, 0.45);
	border-radius: 50%;
	cursor: pointer;
}
.bb-msg:hover { background: rgba(255, 56, 92, 0.08); }
@media (max-width: 420px) {
	.book-bar { gap: 0.6rem; padding-left: 1rem; padding-right: 1rem; }
	.bb-btn { min-width: 0; padding: 0.85rem 1.3rem; }
	.bb-msg { width: 46px; height: 46px; }
}

/* ---------- Lightbox (property gallery) ---------- */
#lightbox {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(8, 10, 25, 0.92);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}
#lightbox.open { display: flex; }
#lightbox img {
	max-width: 92vw;
	max-height: 86vh;
	border-radius: 12px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
	animation: lbZoom .25s ease;
}
@keyframes lbZoom { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
.lb-close {
	position: absolute;
	top: 18px;
	right: 24px;
	width: 46px;
	height: 46px;
	font-size: 1.7rem;
	line-height: 1;
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	cursor: pointer;
	transition: background .2s, transform .15s;
}
.lb-close:hover { background: rgba(255, 255, 255, 0.25); transform: rotate(90deg); }
.lb-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 54px;
	height: 54px;
	font-size: 1.4rem;
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	cursor: pointer;
	transition: background .2s, transform .15s;
	z-index: 1;
}
.lb-arrow:hover { background: var(--primary); border-color: var(--primary); }
.lb-prev { left: 22px; }
.lb-prev:hover { transform: translateY(-50%) translateX(-3px); }
.lb-next { right: 22px; }
.lb-next:hover { transform: translateY(-50%) translateX(3px); }
.lb-counter {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	padding: 0.35rem 1rem;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: #fff;
	background: rgba(255, 255, 255, 0.14);
	border-radius: 999px;
}
@media (max-width: 600px) {
	.lb-arrow { width: 42px; height: 42px; font-size: 1.1rem; }
	.lb-prev { left: 8px; }
	.lb-next { right: 8px; }
	.lb-close { top: 10px; right: 12px; }
	#lightbox img { max-width: 97vw; }
}

/* ---------- Customer reviews ---------- */
.reviews-section { margin-top: 2.5rem; }
.reviews-summary { display: flex; align-items: center; gap: 1.5rem; padding: 1.25rem 1.75rem; }
.rs-score { display: flex; align-items: center; gap: 1rem; }
.rs-num { font-size: 2.4rem; font-weight: 800; color: var(--primary); line-height: 1; letter-spacing: -0.02em; }
.rs-stars { color: #f5a623; font-size: 1.1rem; letter-spacing: 2px; }
.rs-count { color: var(--gray); font-size: 0.9rem; font-weight: 600; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.review-card { padding: 1.4rem 1.5rem; }
.review-head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.85rem; }
.review-av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: var(--shadow-sm); }
.review-av-txt { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1rem; }
.review-meta { min-width: 0; }
.review-meta b { display: block; color: var(--dark); font-size: 0.98rem; }
.review-stars { color: #f5a623; font-size: 0.82rem; letter-spacing: 1px; }
.review-date { margin-left: auto; font-size: 0.8rem; color: var(--gray); white-space: nowrap; align-self: flex-start; }
.review-text { color: var(--text); font-size: 0.93rem; line-height: 1.6; }

/* ---------- Trustpilot-style customer reviews page ---------- */
.tp-hero { text-align: center; padding: 2.5rem 1rem 1.5rem; }
.tp-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--dark); letter-spacing: -0.02em; }
.tp-rating { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; margin-top: 1rem; }
.tp-word { font-size: 1.3rem; font-weight: 700; color: var(--dark); }
.tp-stars, .tp-score-stars, .tp-card-stars { display: inline-flex; gap: 3px; }
.tp-star { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 5px; background: #dcdce6; color: #fff; font-size: 0.9rem; }
.tp-star.on { background: #00b67a; }  /* Trustpilot green */
.tp-card-stars .tp-star, .tp-score-stars .tp-star { width: 22px; height: 22px; font-size: 0.68rem; }
.tp-based { color: var(--gray); font-size: 0.95rem; }

.tp-layout { display: grid; grid-template-columns: 260px 1fr; gap: 1.5rem; align-items: start; margin-top: 1rem; }
.tp-summary { position: sticky; top: 90px; text-align: center; padding: 1.6rem; }
.tp-score { font-size: 3rem; font-weight: 800; color: var(--dark); line-height: 1; }
.tp-score-stars { margin: 0.6rem 0 0.4rem; }
.tp-score-word { color: var(--gray); font-size: 0.9rem; font-weight: 600; margin-bottom: 1.2rem; }
.tp-bars { text-align: left; }
.tp-bar-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 0.8rem; }
.tp-bar-label { width: 48px; color: var(--gray); flex: none; }
.tp-bar { flex: 1; height: 9px; background: #ececf2; border-radius: 999px; overflow: hidden; }
.tp-bar-fill { display: block; height: 100%; background: #00b67a; border-radius: 999px; }
.tp-bar-pct { width: 34px; text-align: right; color: var(--gray); flex: none; }

.tp-reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.tp-card { padding: 1.4rem 1.5rem; }
.tp-card-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem; }
.tp-av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: var(--shadow-sm); }
.tp-av-txt { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; }
.tp-who b { display: block; color: var(--dark); font-size: 0.98rem; }
.tp-verified { font-size: 0.78rem; color: #00b67a; font-weight: 600; }
.tp-verified i { margin-right: 3px; }
.tp-card-stars { margin-bottom: 0.7rem; }
.tp-card-text { color: var(--text); font-size: 0.93rem; line-height: 1.6; }
.tp-card-date { display: block; margin-top: 0.8rem; font-size: 0.8rem; color: var(--gray); }

@media (max-width: 820px) {
	.tp-layout { grid-template-columns: 1fr; }
	.tp-summary { position: static; }
}

/* ---------- Footer ---------- */
.footer {
	background: #0b1120;
	color: #cbd5e1;
	margin-top: 3rem;
	position: relative;
}
.footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); }
.footer-content {
	max-width: 1320px;
	margin: 0 auto;
	padding: 3rem 1.5rem 2rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 2rem;
}
.footer-section h3 {
	font-size: 0.82rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.13em;
	color: #fff;
	margin-bottom: 1rem;
}
.footer-links a, .footer-contact p { display: block; font-size: 0.88rem; color: #94a3b8; padding: 0.26rem 0; }
.footer-links a:hover { color: #fff; }
.footer-links a i { color: var(--accent); margin-right: 0.5rem; width: 14px; }
.footer-contact i { color: var(--accent); margin-right: 0.5rem; width: 16px; }
.footer-contact a { color: #94a3b8; }
.footer-contact a:hover { color: #fff; }
.footer-assoc { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }
.footer-assoc img { background: #fff; border-radius: 8px; padding: 4px; height: 42px; width: auto; transition: transform .2s; }
.footer-assoc a:hover img { transform: translateY(-3px); }
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 1.2rem 1.5rem;
	text-align: center;
	font-size: 0.82rem;
	color: #64748b;
}
.footer-bottom a { color: #94a3b8; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.property-layout { grid-template-columns: 1fr 340px; }
	.page-layout { grid-template-columns: 224px 1fr; }
}
/* Property page keeps its two columns (and the sticky booking sidebar) down to 900px */
@media (max-width: 900px) {
	.property-layout { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
	.nav-toggle { display: flex; }
	.nav-menu {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: blur(20px);
		border-bottom: 1px solid rgba(15, 23, 42, 0.08);
		box-shadow: var(--shadow-lg);
		padding: 0.8rem;
		display: none;
	}
	.nav-menu.active { display: flex; }
	.nav-menu a { text-align: left; display: flex; align-items: baseline; gap: 0.5rem; }

	.page-layout { grid-template-columns: 1fr; }
	.page-side { position: static; order: 2; }
	.contact-grid { grid-template-columns: 1fr; }
	.contact-badges { grid-template-columns: 1fr; }
	.contact-form-card { padding: 1.3rem; }
	.contact-info-card { padding: 1.3rem; border-radius: 12px; }
	.cfc-bottom { flex-direction: column; align-items: flex-start; }
	.form-2col { grid-template-columns: 1fr; }
	.hero-inner { padding: 2.6rem 1.6rem; }
	.page-banner .hero-inner { padding: 1.9rem 1.6rem; }
	.glass-card { padding: 1.3rem; }
	.property-features { flex-wrap: wrap; gap: 0.5rem; }
	.features-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }


	.page-body table, .page-body tbody, .page-body tr { display: block; }
	.page-body table { margin: 0 !important; }
	.page-body tr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
	.page-body td { display: block; width: auto !important; }
	.page-body td[style*="width"] { width: auto !important; }
	.home-text tr { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
	.page-body tr { grid-template-columns: 1fr; }
	.search-row { flex-direction: column; }
	.logo-text p { display: none; }
	.container { padding: 0 1rem; }
	.hero-inner { padding: 2rem 1.2rem; }
	.page-banner .hero-inner { padding: 1.4rem 1.2rem; }
	.glass-card { padding: 1rem; border-radius: var(--radius-sm); }
	.contact-form-card { padding: 1rem; }
	.contact-info-card { padding: 1rem; }
	.hero-banner, .page-banner { border-radius: 14px; }
	.features-grid { grid-template-columns: 1fr 1fr; }
	.cbadge { padding: 0.7rem 0.9rem; }
	.results-count { font-size: 0.82rem; }
}

/* ---------- Print ---------- */
@media print {
	.navbar, .footer, .property-side, .page-side, .alert, .hero-banner, .page-search, .filter-bar, .filters-panel, .book-bar, .wa-float { display: none !important; }
	.glass-card { box-shadow: none; border: 1px solid #ddd; }
	.page-banner { box-shadow: none; }
	.page-banner::before { background: rgba(0,0,0,0.55); }
}

/* ============================== ACCOUNT / RESERVATION (customer area) ============================== */
.account-tabs { display: flex; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px; margin-bottom: 16px; }
.account-tab { flex: 1; text-align: center; padding: 10px 14px; border-radius: calc(var(--radius) - 4px); font-weight: 600; color: var(--ink-500); }
.account-tab.active { background: var(--card); color: var(--ink-900); box-shadow: var(--shadow-sm); }

.btn-secondary {
	background: var(--surface); color: var(--navy-700); padding: 13px 26px;
	border: 1.5px solid var(--line);
}
.btn-secondary:hover { background: var(--card); color: var(--navy-700); transform: translateY(-2px); }

.checkout-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; max-width: 1000px; margin: 0 auto; align-items: start; }
.checkout-form, .checkout-summary { padding: 24px; }
.checkout-summary-img { border-radius: 10px; overflow: hidden; margin-bottom: 12px; }
.checkout-summary-img img { width: 100%; height: 150px; object-fit: cover; display: block; }
.checkout-summary h4 { margin: 0 0 14px; font-size: 15px; }
.checkout-summary-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.checkout-summary-total { display: flex; justify-content: space-between; padding: 12px 0 4px; font-size: 16px; }
@media (max-width: 860px) { .checkout-layout { grid-template-columns: 1fr; } }

.order-card { max-width: 800px; margin: 0 auto; padding: 24px; }
.order-header { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.order-header img { width: 90px; height: 66px; object-fit: cover; border-radius: 8px; }
.order-header h3 { margin: 0 0 4px; font-size: 16px; }
.order-header p { margin: 0; font-weight: 700; color: var(--navy-700); }

.order-timeline { display: flex; overflow-x: auto; gap: 0; padding: 10px 0 22px; }
.order-timeline-step { flex: 1; min-width: 92px; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.order-timeline-step:not(:last-child):after {
	content: ''; position: absolute; top: 15px; left: 55%; width: 100%; height: 2px; background: var(--line); z-index: 0;
}
.order-timeline-step.done:not(:last-child):after { background: var(--navy-600); }
.order-timeline-dot {
	width: 30px; height: 30px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line);
	display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--ink-500);
	position: relative; z-index: 1; margin-bottom: 6px;
}
.order-timeline-step.done .order-timeline-dot { background: var(--navy-600); border-color: var(--navy-600); color: #fff; }
.order-timeline-step.current .order-timeline-dot { background: var(--orange-500); border-color: var(--orange-500); color: #fff; }
.order-timeline-label { font-size: 10.5px; font-weight: 600; color: var(--ink-500); line-height: 1.3; }
.order-timeline-step.current .order-timeline-label { color: var(--ink-900); }

.order-actions-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.btn-outline-sm {
	background: var(--surface); border: 1.5px solid var(--line); color: var(--navy-700); border-radius: 999px;
	padding: 7px 14px; font-size: 12.5px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.btn-outline-sm:hover { background: var(--card); color: var(--navy-700); }
.order-note-box { border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; font-size: 13.5px; }
.order-note-box.pending { background: #fff4e5; border: 1px solid #ffd699; }
.order-note-box.approved { background: #e8f8ee; border: 1px solid #a6e3bd; }
.order-note-box.rejected { background: #fdeaea; border: 1px solid #f3b3b3; }
.order-note-box b { display: block; margin-bottom: 4px; }
.order-note-box p { margin: 0; }

.order-stage-panel { border-top: 1px solid var(--line); padding-top: 20px; }
.order-stage-panel h4 { margin: 0 0 14px; }
.order-contract-box { background: var(--surface); border-radius: 10px; padding: 16px; margin-bottom: 16px; }
.order-invoice-box { background: var(--surface); border-radius: 10px; padding: 16px; margin-bottom: 16px; }
.order-invoice-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.order-invoice-row:last-of-type { border-bottom: none; }
.order-waiting { text-align: center; padding: 20px 10px; }
.order-waiting i { font-size: 34px; color: var(--navy-600); margin-bottom: 12px; }
.order-waiting h4 { margin: 0 0 8px; }

/* ---- Account sidebar shell ---- */
.account-shell { display: grid; grid-template-columns: 250px 1fr; gap: 24px; max-width: 1080px; margin: 0 auto; align-items: start; }
.account-sidebar { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: sticky; top: 90px; }
.account-sidebar-user { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.account-sidebar-avatar {
	width: 38px; height: 38px; border-radius: 50%; background: var(--navy-700); color: #fff; font-weight: 700;
	display: flex; align-items: center; justify-content: center; flex-shrink: 0; text-transform: uppercase;
}
.account-sidebar-user b { display: block; font-size: 13px; }
.account-sidebar-user small { color: var(--ink-500); font-size: 11px; word-break: break-all; }
.account-sidebar-heading { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--ink-500); margin: 16px 0 8px; }
.account-sidebar-link {
	display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 13px; font-weight: 600;
	color: var(--ink-700); margin-bottom: 2px;
}
.account-sidebar-link i { width: 16px; text-align: center; color: var(--ink-500); }
.account-sidebar-link:hover { background: var(--surface); }
.account-sidebar-link.active { background: var(--navy-700); color: #fff; }
.account-sidebar-link.active i { color: #fff; }
.account-sidebar-help { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; }
.account-sidebar-help p { margin: 0 0 4px; color: var(--ink-500); }
.account-sidebar-help a { color: var(--navy-700); font-weight: 700; }
.account-content { min-width: 0; }
@media (max-width: 860px) {
	.account-shell { grid-template-columns: 1fr; }
	.account-sidebar { position: static; }
}

/* ---- My reservations (tabbed list) ---- */
.page-subtitle { color: rgba(255,255,255,.75); font-size: 14px; margin-top: 6px; }
.my-orders-wrap { max-width: 900px; margin: 0 auto; }
.my-orders-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.my-orders-tabs { display: flex; gap: 6px; flex-wrap: wrap; background: var(--surface); padding: 4px; border-radius: 999px; }
.my-orders-tab {
	background: none; border: none; padding: 8px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
	color: var(--ink-500); cursor: pointer;
}
.my-orders-tab.active { background: var(--navy-700); color: #fff; }
.my-orders-search { max-width: 260px; }
.my-order-card {
	display: flex; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--line);
	border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; color: var(--ink-900);
}
.my-order-card:hover { border-color: var(--navy-400, var(--navy-600)); }
.my-order-card img { width: 74px; height: 54px; object-fit: cover; border-radius: 8px; background: var(--surface); flex-shrink: 0; }
.my-order-card-body { flex: 1; min-width: 0; }
.my-order-card-body h4 { margin: 0 0 3px; font-size: 14px; }
.my-order-card-body p { margin: 0; font-size: 12px; color: var(--ink-500); }
.my-order-card-price { font-weight: 700; white-space: nowrap; }

/* ---- Favorites ---- */
.favorite-heart {
	position: absolute; top: 10px; right: 10px; z-index: 5; width: 32px; height: 32px; border-radius: 50%;
	background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center;
	color: var(--navy-700); font-size: 14px; transition: .15s; cursor: pointer;
}
.favorite-heart:hover { transform: scale(1.1); }
.favorite-heart.active { color: #e0335c; }
.favorite-toggle-btn {
	background: none; border: none; cursor: pointer; font-size: 12.5px; font-weight: 600;
	color: var(--ink-500); display: inline-flex; align-items: center; gap: 6px; padding: 4px;
}

/* ---- Typed signature ---- */
.signature-preview { font-family: 'Brush Script MT', cursive; font-size: 30px; color: var(--navy-700); padding: 10px 0; }

/* ---- Address autocomplete (free OpenStreetMap Nominatim search, no API key) ---- */
.address-suggest {
	display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 20; margin-top: 4px;
	background: var(--card); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-lg); max-height: 220px; overflow-y: auto;
}
.address-suggest-item { padding: 10px 14px; font-size: 13.5px; cursor: pointer; border-bottom: 1px solid var(--line); }
.address-suggest-item:last-child { border-bottom: none; }
.address-suggest-item:hover { background: var(--surface); }

/* ---- Booking calendar widget (property page) ---- */
.booking-widget { padding: 20px; }
.booking-price-row { font-size: 20px; font-weight: 800; color: var(--navy-700); margin-bottom: 14px; }
.booking-price-row .booking-period { font-size: 13px; font-weight: 500; color: var(--ink-500); }
.booking-popup-anchor { position: relative; margin-bottom: 8px; }
.booking-popup-anchor:last-of-type { margin-bottom: 14px; }
.booking-fields { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.booking-field { padding: 10px 12px; cursor: pointer; border-left: 1px solid var(--line); }
.booking-field:first-child { border-left: none; }
.booking-field label { display: block; font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--ink-500); margin-bottom: 2px; }
.booking-field-value { font-size: 13px; font-weight: 600; }
.booking-widget [data-role="guests-field"] { border: 1px solid var(--line); border-radius: 10px; }
.booking-calendar-popup, .booking-guests-popup {
	position: absolute; top: 100%; left: 0; right: 0; z-index: 25; margin-top: 4px; background: var(--card);
	border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 14px;
}
.booking-calendar-popup { width: max-content; min-width: 100%; }
.booking-cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-weight: 700; font-size: 13px; }
.booking-cal-nav button { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; width: 26px; height: 26px; cursor: pointer; font-size: 15px; }
.booking-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.booking-cal-dow { text-align: center; font-size: 10px; font-weight: 700; color: var(--ink-500); padding: 4px 0; }
.booking-cal-day { text-align: center; font-size: 12.5px; padding: 7px 0; border-radius: 6px; cursor: pointer; }
.booking-cal-day:hover { background: var(--surface); }
.booking-cal-day.disabled { color: var(--ink-500); opacity: .35; text-decoration: line-through; cursor: not-allowed; pointer-events: none; }
.booking-cal-day.selected { background: var(--navy-700); color: #fff; font-weight: 700; }
.booking-cal-day.in-range { background: rgba(33,73,109,.12); border-radius: 0; }
.guest-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; font-size: 13.5px; }
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 15px; line-height: 1; }
.stepper span { min-width: 16px; text-align: center; font-weight: 700; }
.booking-summary { border-top: 1px solid var(--line); padding-top: 12px; margin-bottom: 14px; }
.booking-summary-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 13px; color: var(--ink-700); }
.booking-summary-total { display: flex; justify-content: space-between; padding-top: 8px; margin-top: 4px; border-top: 1px solid var(--line); font-weight: 800; font-size: 15px; }

/* =====================================================================================================
   2026 refresh: navigation, search, cards, listing map, home, accessibility
   (selectors are a notch more specific than the theme files, which load after this one)
   ===================================================================================================== */

/* ---- Accessibility ---- */
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 6px; }
button:focus:not(:focus-visible), a:focus:not(:focus-visible) { outline: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---- Navigation: short one-line labels, quiet active state, account as a pill ---- */
.logo-text .logo-name { display: block; white-space: nowrap; }
body .navbar .nav-menu { align-items: center; gap: 0.15rem; }
body .navbar .nav-menu a { padding: 0.55rem 0.9rem; border-radius: 999px; box-shadow: none; transform: none; }
body .navbar .nav-menu a .nav-title { font-size: 0.92rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text); white-space: nowrap; }
body .navbar .nav-menu a .nav-subtitle { display: none; }
body .navbar .nav-menu a:hover { background: var(--light); }
body .navbar .nav-menu a.active { background: var(--light); box-shadow: none; }
body .navbar .nav-menu a.active .nav-title { color: var(--dark); font-weight: 700; }
body .navbar .nav-menu a.nav-account { display: flex; align-items: center; gap: 0.45rem; margin-left: 0.4rem; padding: 0.45rem 0.95rem 0.45rem 0.55rem; border: 1px solid var(--border); background: #fff; }
body .navbar .nav-menu a.nav-account i { font-size: 1.35rem; color: var(--gray); }
body .navbar .nav-menu a.nav-account:hover, body .navbar .nav-menu a.nav-account.active { box-shadow: var(--shadow); background: #fff; }
@media (max-width: 820px) {
	/* solid sheet: nothing behind it should show through */
	body .navbar .nav-menu { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; align-items: stretch; gap: 0.2rem; padding: 0.6rem 0.8rem 0.9rem; }
	body .navbar .nav-menu a { padding: 0.8rem 1rem; border-radius: 12px; }
	body .navbar .nav-menu a .nav-title { font-size: 1rem; }
	body .navbar .nav-menu a.nav-account { margin: 0.4rem 0 0; justify-content: center; }
	.logo-text .logo-name { font-size: 1.15rem; }
}

/* ---- Where / Check-in / Check-out / Guests search ---- */
.stay-search {
	display: flex;
	align-items: stretch;
	gap: 0;
	padding: 0.45rem;
	margin: 0 0 1.4rem;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 6px 24px rgba(15, 23, 42, 0.10);
}
.ss-field { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 0.35rem 1.2rem; border-radius: 999px; cursor: pointer; transition: background .2s; }
.ss-field + .ss-field { border-left: 1px solid var(--border); }
.ss-field:hover { background: var(--light); }
.ss-field span { font-size: 0.72rem; font-weight: 800; color: var(--dark); letter-spacing: 0.02em; }
.ss-field input, .ss-field select { width: 100%; min-width: 0; padding: 0.1rem 0; font: inherit; font-size: 0.92rem; color: var(--text); background: transparent; border: 0; outline: none; box-shadow: none; }
.ss-field select { cursor: pointer; appearance: none; -webkit-appearance: none; }
.ss-where { flex: 1.6 1 0; }
.ss-field:not(.ss-where) { flex: 1 1 0; }
.stay-search .ss-submit { display: flex; align-items: center; gap: 0.5rem; margin-left: 0.3rem; padding: 0 1.5rem; border-radius: 999px; white-space: nowrap; }
.ss-filters { display: flex; align-items: center; gap: 0.45rem; margin-left: 0.4rem; padding: 0 1.1rem; font: inherit; font-size: 0.9rem; font-weight: 600; color: var(--dark); background: #fff; border: 1px solid var(--border); border-radius: 999px; cursor: pointer; }
.ss-filters:hover { box-shadow: var(--shadow); }
.hero-inner .stay-search { margin: 1.6rem 0 0; max-width: 820px; }
@media (max-width: 900px) {
	.stay-search { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 0.8rem; border-radius: 20px; }
	.ss-field { padding: 0.55rem 0.85rem; border: 1px solid var(--border); border-radius: 12px; }
	.ss-field + .ss-field { border-left: 1px solid var(--border); }
	.ss-where, .ss-guests { grid-column: 1 / -1; }
	.stay-search .ss-submit { justify-content: center; margin: 0; padding: 0.85rem; }
	.ss-filters { justify-content: center; margin: 0; padding: 0.85rem; }
	.stay-search .ss-submit:last-child { grid-column: 1 / -1; }
}

/* ---- Property cards ---- */
.property-card-wrap { position: relative; min-width: 0; }
.property-card-wrap > .property-card { height: 100%; }
.property-image { overflow: hidden; }
.property-image > .pc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.property-card:hover .property-image > .pc-img { transform: scale(1.04); }
.property-image .badge { z-index: 2; }
body .badge.badge-fav { background: #fff; color: var(--dark); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18); font-weight: 700; }
.badge-fav i { color: #d4a52a; margin-right: 0.2rem; }
.pc-nav {
	position: absolute; top: 50%; z-index: 2;
	display: flex; align-items: center; justify-content: center;
	width: 32px; height: 32px; margin-top: -16px;
	font-size: 0.75rem; color: var(--dark);
	background: rgba(255, 255, 255, 0.92); border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
	opacity: 0; transition: opacity .2s, transform .2s; cursor: pointer;
}
.pc-prev { left: 10px; }
.pc-next { right: 10px; }
.property-card:hover .pc-nav, .pc-nav:focus-visible { opacity: 1; }
.pc-nav:hover { transform: scale(1.08); }
.pc-dots { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.pc-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.6); transition: background .2s, transform .2s; }
.pc-dots i.on { background: #fff; transform: scale(1.2); }
@media (hover: none) { .pc-nav { display: none; } }
.pc-fav-form { margin: 0; }
.pc-fav {
	position: absolute; top: 12px; right: 12px; z-index: 3;
	display: flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; padding: 0;
	font-size: 1.1rem; color: #fff;
	background: rgba(15, 23, 42, 0.28); border: 0; border-radius: 50%;
	backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
	cursor: pointer; transition: transform .2s, background .2s;
}
.pc-fav:hover { transform: scale(1.1); background: rgba(15, 23, 42, 0.45); color: #fff; }
.pc-fav.on { color: var(--primary); background: #fff; }
/* one price line: nightly price | per person */
.card-price {
	display: inline-flex; align-items: baseline; flex-wrap: nowrap; gap: 0.28rem; max-width: 100%;
	margin: 0 0 0.55rem; padding: 0.3rem 0.7rem; white-space: nowrap;
	background: linear-gradient(135deg, rgba(255, 56, 92, 0.10) 0%, rgba(255, 90, 95, 0.06) 100%);
	border: 1px solid rgba(255, 56, 92, 0.22); border-radius: 999px;
	line-height: 1.25; color: var(--primary-dark, #e00b41);
}
.card-price i { align-self: center; font-size: 0.78rem; }
.card-price b { font-size: 0.98rem; font-weight: 800; letter-spacing: -0.01em; }
.card-price small { font-size: 0.7rem; font-weight: 600; color: var(--gray); }
.cp-sep { align-self: stretch; width: 1px; margin: 0.1rem 0.15rem; background: rgba(255, 56, 92, 0.25); }
body .property-card .property-title { font-size: 1rem; line-height: 1.35; }
.property-card .property-location { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
body .property-card .property-features i { color: var(--gray); }
.pf-rating { font-weight: 700; color: var(--dark); }
body .property-card .property-features .pf-rating i { color: var(--dark); }
.pf-rating small { font-weight: 500; color: var(--gray); }
.property-features { flex-wrap: wrap; }

/* ---- Listing: results bar, sort, map ---- */
.results-bar { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; margin: 0.4rem 0 1.1rem; }
body .results-bar .results-count { margin: 0 auto 0 0.2rem; font-size: 0.95rem; color: var(--text); }
.results-count b { color: var(--dark); }
.sort-form { display: flex; align-items: center; gap: 0.5rem; margin: 0; padding: 0.35rem 0.4rem 0.35rem 0.9rem; border: 1px solid var(--border); border-radius: 999px; background: #fff; }
.sort-form label { color: var(--gray); }
.sort-form select { font: inherit; font-size: 0.9rem; font-weight: 600; color: var(--dark); background: transparent; border: 0; padding: 0.25rem 0.4rem; cursor: pointer; outline: none; }
.map-toggle { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.1rem; font: inherit; font-size: 0.9rem; font-weight: 600; color: #fff; background: var(--dark); border: 0; border-radius: 999px; cursor: pointer; }
.map-toggle:hover { background: #000; }
.listing-map-wrap { display: none; }
.listing-layout.map-on { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 1.4rem; align-items: start; }
.listing-layout.map-on .property-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.listing-layout.map-on .listing-map-wrap { display: block; position: sticky; top: 86px; }
.listing-map { width: 100%; height: calc(100vh - 110px); border-radius: var(--radius); z-index: 1; }
.price-pin span { display: inline-block; padding: 0.3rem 0.65rem; font-size: 0.8rem; font-weight: 800; white-space: nowrap; color: var(--dark); background: #fff; border-radius: 999px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25); transform: translate(-50%, -50%); }
.price-pin:hover span { color: #fff; background: var(--dark); }
@media (max-width: 900px) {
	.listing-layout.map-on { grid-template-columns: 1fr; }
	.listing-layout.map-on .listing-map-wrap { order: -1; position: static; }
	.listing-map { height: 60vh; }
	.results-bar .results-count { flex-basis: 100%; }
}

/* ---- Home ---- */
.why-us { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin: 2.6rem 0 0.5rem; }
.why-item { display: flex; flex-direction: column; gap: 0.35rem; padding: 1.3rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.why-item i { font-size: 1.5rem; color: var(--primary-dark, #e00b41); margin-bottom: 0.3rem; }
.why-item b { font-size: 1.02rem; color: var(--dark); }
.why-item span { font-size: 0.88rem; line-height: 1.5; color: var(--gray); }
@media (max-width: 900px) { .why-us { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .why-us { grid-template-columns: 1fr; gap: 0.7rem; } .why-item { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 0.8rem; } .why-item i { margin: 0; } .why-item span { flex-basis: 100%; } }
/* special offers: swipeable row on phones */
@media (max-width: 900px) {
	body .offer-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.9rem; margin-left: -1rem; margin-right: -1rem; padding: 0 1rem 0.6rem; scrollbar-width: none; }
	body .offer-grid::-webkit-scrollbar { display: none; }
	body .offer-grid .offer-card { flex: 0 0 82%; scroll-snap-align: center; height: 300px; }
}
/* the admin-edited "About" text: no legacy table borders, folded by default */
body .home-text table, body .home-text td, body .home-text th { border: 0 !important; }
.home-text img { border-radius: 12px; }

/* ---- Folded long text (property description, home About) ---- */
.desc-collapse { position: relative; max-height: 260px; overflow: hidden; }
.desc-collapse::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.desc-collapse.desc-open { max-height: none; }
.desc-collapse.desc-open::after { display: none; }
.home-collapse { max-height: 200px; }
.desc-more { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.8rem; padding: 0.55rem 1.1rem; font: inherit; font-size: 0.92rem; font-weight: 700; color: var(--dark); background: #fff; border: 1px solid var(--dark); border-radius: 10px; cursor: pointer; }
.desc-more:hover { background: var(--light); }
.desc-more[hidden] { display: none; }

/* ---- Calmer colour: red only for actions and prices, icons in neutral grey (60-30-10) ---- */
body .feature-item i, body .amenity i, body .ph-facts i { color: var(--dark); }
body .section-title h2 i, body .section-heading i { color: var(--dark); opacity: 0.85; }
body .empty-state .btn-primary { margin-top: 1rem; }

/* ---- Footer ---- */
body .footer-links a, body .footer-contact p, body .footer-contact a { color: #c3cad5; }
body .footer-links a i, body .footer-contact i { color: #8b95a5; }
body .footer-assoc img { height: 54px; padding: 6px; }
body .footer-bottom { color: #9aa3b2; }
/* cards never get the generic glass-card padding (the photo runs edge to edge) */
body .property-card.glass-card { padding: 0; }

/* ---------- AI chat (floating button above WhatsApp + chat window) ---------- */
.ai-chat-btn {
	position: fixed; right: 28px; bottom: 102px; z-index: 9991;
	display: flex; align-items: center; gap: 0.5rem;
	height: 52px; padding: 0 1.2rem 0 1.05rem;
	font: inherit; font-size: 0.95rem; font-weight: 700; color: #fff;
	background: var(--grad); border: 0; border-radius: 999px;
	box-shadow: 0 8px 24px rgba(255, 56, 92, 0.38);
	cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.ai-chat-btn i { font-size: 1.2rem; }
.ai-chat-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255, 56, 92, 0.45); }
.ai-chat-btn.no-wa { bottom: 28px; }
body.ai-chat-open .ai-chat-btn { display: none; }
.ai-chat {
	position: fixed; right: 28px; bottom: 28px; z-index: 10040;
	display: flex; flex-direction: column;
	width: 380px; height: min(620px, calc(100vh - 56px));
	background: #fff; border-radius: 20px; overflow: hidden;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
	animation: cm-in .2s ease-out;
}
.ai-chat[hidden] { display: none; }
.ai-chat-head { display: flex; align-items: center; gap: 0.7rem; padding: 0.95rem 1rem; color: #fff; background: var(--grad); }
.ai-chat-head b { display: block; font-size: 0.98rem; }
.ai-chat-head small { font-size: 0.78rem; opacity: 0.9; }
.ai-chat-avatar { display: flex; align-items: center; justify-content: center; flex: 0 0 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.ai-chat-close { margin-left: auto; width: 34px; height: 34px; font-size: 1.1rem; color: #fff; background: rgba(255, 255, 255, 0.18); border: 0; border-radius: 50%; cursor: pointer; }
.ai-chat-close:hover { background: rgba(255, 255, 255, 0.3); }
.ai-chat-log { flex: 1 1 auto; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.55rem; background: var(--light); }
.ai-msg { max-width: 85%; padding: 0.6rem 0.85rem; font-size: 0.92rem; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; border-radius: 16px; }
.ai-msg-assistant { align-self: flex-start; color: var(--dark); background: #fff; border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.ai-msg-user { align-self: flex-end; color: #fff; background: var(--dark); border-bottom-right-radius: 4px; }
.ai-typing { display: flex; gap: 4px; padding: 0.8rem 0.9rem; }
.ai-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--gray); animation: ai-dot 1s infinite ease-in-out; }
.ai-typing i:nth-child(2) { animation-delay: .15s; }
.ai-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ai-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ai-chat-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0 1rem; background: var(--light); }
.ai-chat-chips:not(:empty) { padding-bottom: 0.8rem; }
.ai-chat-chips button { padding: 0.4rem 0.75rem; font: inherit; font-size: 0.8rem; font-weight: 600; color: var(--primary-dark, #e00b41); background: #fff; border: 1px solid rgba(255, 56, 92, 0.35); border-radius: 999px; cursor: pointer; }
.ai-chat-chips button:hover { background: rgba(255, 56, 92, 0.08); }
.ai-chat-form { display: flex; gap: 0.5rem; padding: 0.7rem; border-top: 1px solid var(--border); background: #fff; }
.ai-chat-form input { flex: 1; min-width: 0; padding: 0.7rem 0.95rem; font: inherit; font-size: 0.92rem; border: 1px solid var(--border); border-radius: 999px; outline: none; }
.ai-chat-form input:focus { border-color: var(--primary); }
.ai-chat-form button { flex: 0 0 44px; height: 44px; color: #fff; background: var(--grad); border: 0; border-radius: 50%; cursor: pointer; }
.ai-chat-note { margin: 0; padding: 0 0.9rem 0.6rem; font-size: 0.7rem; color: var(--gray); text-align: center; background: #fff; }
@media (max-width: 900px) {
	body.has-book-bar .ai-chat-btn { bottom: 168px; }
	body.has-book-bar .ai-chat-btn.no-wa { bottom: 96px; }
}
@media (max-width: 600px) {
	.ai-chat-btn { right: 16px; bottom: 84px; height: 48px; padding: 0 1rem 0 0.9rem; }
	.ai-chat-btn.no-wa { bottom: 18px; }
	.ai-chat-btn .ai-chat-btn-label { display: none; }
	.ai-chat-btn { width: 48px; padding: 0; justify-content: center; }
	.ai-chat { inset: 0; width: 100%; height: 100%; border-radius: 0; }
}
@media (max-width: 600px) and (max-width: 900px) {
	body.has-book-bar .ai-chat-btn { bottom: 162px; }
	body.has-book-bar .ai-chat-btn.no-wa { bottom: 96px; }
}
@media print { .ai-chat-btn, .ai-chat { display: none !important; } }

/* ---------- "Where" suggestions: popular cities and countries ---------- */
body .hero-banner { overflow: visible; }          /* let the suggestions drop below the hero */
body .hero-banner::before { border-radius: inherit; }
.ss-where { position: relative; }
.ss-where > label { display: flex; flex-direction: column; cursor: pointer; }
.ss-suggest {
	position: absolute; top: calc(100% + 12px); left: 0; z-index: 60;
	width: min(380px, calc(100vw - 32px)); max-height: min(440px, 62vh); overflow-y: auto;
	padding: 0.6rem; background: #fff; border-radius: 18px;
	box-shadow: 0 16px 44px rgba(15, 23, 42, 0.22);
}
.ss-suggest[hidden] { display: none; }
.ss-sg-title { margin: 0.4rem 0.6rem 0.3rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray); }
.ss-sg-item { display: flex; align-items: center; gap: 0.75rem; width: 100%; padding: 0.55rem 0.6rem; font: inherit; text-align: left; color: var(--dark); background: none; border: 0; border-radius: 12px; cursor: pointer; }
.ss-sg-item:hover, .ss-sg-item:focus-visible { background: var(--light); }
.ss-sg-item i { display: flex; align-items: center; justify-content: center; flex: 0 0 40px; height: 40px; font-size: 1rem; color: var(--dark); background: var(--light); border-radius: 10px; }
.ss-sg-item:hover i { background: #fff; }
.ss-sg-item span { flex: 1; min-width: 0; }
.ss-sg-item b { display: block; font-size: 0.93rem; font-weight: 600; }
.ss-sg-item small { display: block; font-size: 0.78rem; color: var(--gray); }
.ss-sg-item em { font-style: normal; font-size: 0.78rem; font-weight: 600; color: var(--gray); white-space: nowrap; }
@media (max-width: 900px) {
	.ss-suggest { top: calc(100% + 6px); width: 100%; }
}

/* ---------- Search bar: date-range calendar and guest stepper (Airbnb-style) ---------- */
.stay-search { position: relative; transition: background .2s; }
.stay-search:has(.ss-active) { background: #ebebeb; }
.ss-date, .stay-search .ss-guests { cursor: pointer; user-select: none; outline-offset: -3px; }
.ss-val { display: block; font-size: 0.92rem; font-weight: 600; color: var(--dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-val.ss-empty { font-weight: 400; color: var(--gray); }
.stay-search .ss-field.ss-active { background: #fff; box-shadow: 0 6px 20px rgba(15, 23, 42, 0.16); }
.stay-search .ss-field.ss-active + .ss-field { border-left-color: transparent; }
.ss-pop {
	position: absolute; top: calc(100% + 12px); z-index: 70;
	background: #fff; border-radius: 28px;
	box-shadow: 0 16px 48px rgba(15, 23, 42, 0.22);
	animation: cm-in .18s ease-out;
}
.ss-pop[hidden] { display: none; }
/* centred with margins (not a transform, which the opening animation would override) */
.ss-cal { left: 0; right: 0; margin: 0 auto; width: min(600px, calc(100vw - 32px)); padding: 16px 20px 12px; border-radius: 22px; }
.ss-cal-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.ss-cal-title { margin: 0; font-size: 0.95rem; font-weight: 800; color: var(--dark); }
.ss-cal-navs { display: flex; gap: 8px; }
.ss-cal-nav { width: 30px; height: 30px; font-size: 0.75rem; color: var(--dark); background: #fff; border: 1px solid var(--border); border-radius: 50%; cursor: pointer; transition: box-shadow .2s; }
.ss-cal-nav:hover:not(:disabled) { box-shadow: var(--shadow); }
.ss-cal-nav:disabled { opacity: .35; cursor: default; }
.ss-months { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ss-month-name { margin: 4px 0 8px; text-align: center; font-size: 0.88rem; font-weight: 700; color: var(--dark); }
.ss-grid { display: grid; grid-template-columns: repeat(7, 36px); justify-content: center; row-gap: 1px; }
.ss-dow { padding-bottom: 4px; text-align: center; font-size: 0.68rem; font-weight: 700; color: var(--gray); }
.ss-day {
	position: relative; width: 36px; height: 36px; padding: 0;
	font: inherit; font-size: 0.8rem; font-weight: 600; color: var(--dark);
	background: none; border: 0; border-radius: 50%; cursor: pointer;
}
.ss-day:hover:not(:disabled):not(.ss-sel) { box-shadow: inset 0 0 0 1.5px var(--dark); }
.ss-day.ss-off { color: #c9c9c9; text-decoration: line-through; cursor: default; }
.ss-day.ss-range { background: #f1f1f1; border-radius: 0; }
.ss-day.ss-sel { color: #fff; background: var(--dark); }
.ss-cal-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--border); }
.ss-cal-clear { padding: 0.3rem 0.2rem; font: inherit; font-size: 0.82rem; font-weight: 700; color: var(--dark); text-decoration: underline; background: none; border: 0; cursor: pointer; }
.ss-cal-done { padding: 0.5rem 1.2rem; font: inherit; font-size: 0.82rem; font-weight: 700; color: #fff; background: var(--dark); border: 0; border-radius: 12px; cursor: pointer; }
.ss-cal-done:hover { background: #000; }
.ss-guest-pop { right: 0; width: 340px; padding: 22px 24px; }
.ss-gp-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ss-gp-row b { display: block; font-size: 0.98rem; color: var(--dark); }
.ss-gp-row small { font-size: 0.82rem; color: var(--gray); }
.ss-stepper { display: flex; align-items: center; gap: 14px; }
.ss-stepper button { width: 34px; height: 34px; font-size: 1.1rem; line-height: 1; color: var(--dark); background: #fff; border: 1px solid #b0b0b0; border-radius: 50%; cursor: pointer; }
.ss-stepper button:hover:not(:disabled) { border-color: var(--dark); }
.ss-stepper button:disabled { opacity: .3; cursor: default; }
.ss-gcount { min-width: 20px; text-align: center; font-weight: 700; color: var(--dark); }
.ss-gp-note { margin: 14px 0 0; font-size: 0.8rem; color: var(--gray); }
@media (max-width: 900px) {
	.stay-search:has(.ss-active) { background: #fff; }
	.ss-cal { width: min(310px, 100%); padding: 12px 12px 10px; border-radius: 18px; }
	.ss-grid { grid-template-columns: repeat(7, minmax(30px, 38px)); }
	.ss-day { width: 100%; height: auto; aspect-ratio: 1; }
	.ss-months { grid-template-columns: 1fr; }
	.ss-guest-pop { left: 0; right: 0; width: auto; }
}

/* ---------- Nav: Home as a house icon, Stays stands out ---------- */
body .navbar .nav-menu a.nav-home { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; }
body .navbar .nav-menu a.nav-home i { font-size: 1.05rem; color: var(--dark); }
body .navbar .nav-menu a.nav-home .nav-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body .navbar .nav-menu a.nav-stays { display: flex; align-items: center; gap: 0.45rem; margin: 0 0.25rem; padding: 0.55rem 1.1rem; background: var(--grad); box-shadow: 0 6px 16px rgba(255, 56, 92, 0.32); }
body .navbar .nav-menu a.nav-stays i, body .navbar .nav-menu a.nav-stays .nav-title { color: #fff; font-weight: 700; }
body .navbar .nav-menu a.nav-stays:hover { filter: brightness(1.06); background: var(--grad); }
body .navbar .nav-menu a.nav-stays.active { box-shadow: 0 0 0 3px rgba(255, 56, 92, 0.25), 0 6px 16px rgba(255, 56, 92, 0.32); }
@media (max-width: 820px) {
	body .navbar .nav-menu a.nav-home { width: auto; height: auto; justify-content: flex-start; gap: 0.6rem; padding: 0.8rem 1rem; }
	body .navbar .nav-menu a.nav-home .nav-title { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
	body .navbar .nav-menu a.nav-stays { margin: 0.2rem 0; padding: 0.8rem 1rem; }
}

/* ---------- Gallery thumbnails: one row, scroll sideways when they don't fit ---------- */
body .gallery-thumbs {
	position: relative;
	display: flex;
	gap: 0.6rem;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x proximity;
	padding: 3px 2px 8px;
	scrollbar-width: thin;
}
body .gallery-thumbs .thumb-image { flex: 0 0 120px; width: 120px; height: 84px; aspect-ratio: auto; scroll-snap-align: start; transform: none; }
body .gallery-thumbs .thumb-image:hover, body .gallery-thumbs .thumb-image.active { transform: none; }
@media (max-width: 600px) { body .gallery-thumbs .thumb-image { flex-basis: 96px; width: 96px; height: 68px; } }

/* ---------- Print (property page "Print this page") ---------- */
.print-only { display: none; }
@media print {
	@page { margin: 12mm; }
	* { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	body { background: #fff !important; padding: 0 !important; font-size: 10.5pt; }
	.navbar, .footer, .property-side, .stay-search, .book-bar, .wa-float, .ai-chat-btn, .ai-chat, .contact-modal,
	.gal-arrow, .gal-zoom, .gal-counter, .desc-more, .print-link, .print-link-solo, #lightbox,
	.reviews-section, .fair-housing-link, .ph-rating, .pc-fav, .property-map, .map-area { display: none !important; }
	.main-content { padding: 0 !important; min-height: 0; }
	.container { padding: 0 !important; max-width: none; }
	.property-layout { display: block !important; }
	.print-only { display: block !important; }
	.print-head { display: flex !important; justify-content: space-between; align-items: baseline; margin-bottom: 8pt; padding-bottom: 6pt; border-bottom: 2px solid #ff385c; }
	.print-head b { font-size: 14pt; color: #e00b41; }
	.print-head span { font-size: 9pt; color: #555; }
	/* the banner photo isn't printed, so its title is printed as dark text */
	.page-banner { min-height: 0 !important; background: none !important; border-radius: 0 !important; box-shadow: none !important; margin: 0 0 6pt !important; }
	.page-banner::before { display: none !important; }
	.page-banner .hero-inner { padding: 0 !important; }
	.banner-title { color: #111 !important; -webkit-text-fill-color: #111 !important; font-size: 18pt !important; text-shadow: none !important; }
	.banner-subtitle { color: #555 !important; text-shadow: none !important; }
	.glass-card { background: #fff !important; box-shadow: none !important; border: 0 !important; padding: 4pt 0 !important; margin: 0 0 6pt !important; break-inside: avoid; }
	.property-gallery.glass-card { margin: 0 0 6pt !important; }
	.gallery-main img, .gallery-main img.main-image { width: 100%; height: 8.5cm; aspect-ratio: auto; object-fit: cover; border-radius: 6px; }
	body .gallery-thumbs { display: grid !important; grid-template-columns: repeat(6, 1fr); gap: 4pt; overflow: visible !important; padding: 4pt 0 0; }
	body .gallery-thumbs .thumb-image { width: 100%; height: 2.2cm; opacity: 1 !important; border: 0 !important; }
	body .gallery-thumbs .thumb-image:nth-child(n+7) { display: none; }
	.ph-title { font-size: 13pt; }
	.section-heading { font-size: 12pt !important; margin-bottom: 4pt !important; }
	.features-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 4pt !important; }
	.feature-item { padding: 4pt 6pt !important; break-inside: avoid; }
	.amenities { grid-template-columns: repeat(3, 1fr) !important; gap: 2pt 8pt !important; }
	.desc-collapse { max-height: none !important; }
	.desc-collapse::after { display: none !important; }
	.page-body p { margin: 0 0 4pt; }
	a { color: inherit !important; text-decoration: none !important; }
}

/* ---------- Prices: nightly price big and black, per-person price larger in its red pill ---------- */
/* cards */
body .property-card .card-price {
	display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.7rem;
	margin: 0 0 0.6rem; padding: 0; background: none; border: 0; border-radius: 0; white-space: normal;
}
.cp-night { display: inline-flex; align-items: baseline; gap: 0.3rem; white-space: nowrap; }
body .property-card .cp-night b { font-size: 1.4rem; font-weight: 800; color: #222; letter-spacing: -0.02em; }
body .property-card .cp-night small { font-size: 0.85rem; font-weight: 500; color: var(--gray); }
.cp-person {
	display: inline-flex; align-items: baseline; gap: 0.3rem; white-space: nowrap;
	padding: 0.25rem 0.7rem;
	background: linear-gradient(135deg, rgba(255, 56, 92, 0.10) 0%, rgba(255, 90, 95, 0.06) 100%);
	border: 1px solid rgba(255, 56, 92, 0.22); border-radius: 999px;
	color: var(--primary-dark, #e00b41);
}
.cp-person i { align-self: center; font-size: 0.85rem; }
body .property-card .cp-person b { font-size: 1.15rem; font-weight: 800; color: var(--primary-dark, #e00b41); }
body .property-card .cp-person small { font-size: 0.78rem; font-weight: 600; color: var(--gray); }

/* booking box on the property page */
body .booking-price-row .night-price {
	padding: 0; background: none; border: 0; border-radius: 0;
	font-size: 30px; font-weight: 800; color: #222; letter-spacing: -0.02em;
}
body .booking-price-row .night-price::before { display: none; }
body .booking-price-row .night-price .booking-price { color: #222; }
body .booking-price-row .night-price .booking-period { font-size: 15px; font-weight: 500; color: var(--gray); letter-spacing: 0; }
body .booking-price-row .per-person { margin-top: 8px; padding: 0.35rem 0.9rem; }
body .booking-price-row .per-person .pp-amount { font-size: 24px; }
body .booking-price-row .per-person .pp-from, body .booking-price-row .per-person .pp-unit { font-size: 14px; }

/* phone reserve bar */
body .bb-price { font-size: 1.05rem; }
body .bb-price b { font-size: 1.3rem; color: #222; }
body .bb-sub .pp-amount { font-size: 1.1rem; }

/* per-person price: the people icon is black, the amount stays red */
body .per-person i, body .property-card .cp-person i { color: #222; }
