/* Shared premium header, banner and footer for SaqbaHome. */
:root {
	--chrome-gold: #ad8146;
	--chrome-gold-dark: #775328;
	--chrome-ink: #171a17;
	--chrome-forest: #18231d;
	--chrome-cream: #f6f1e8;
	--chrome-line: rgba(255,255,255,.12);
}

/* Header */
.site-header,
#masthead {
	position: sticky;
	top: 0;
	z-index: 9990;
	background: rgba(255,255,255,.96);
	border-bottom: 1px solid rgba(119,83,40,.13);
	box-shadow: 0 8px 30px rgba(28,25,20,.055);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}
.admin-bar .site-header,
.admin-bar #masthead { top: 32px; }

.site-header .header-top,
.site-header .top-header { display: none !important; }

.site-header .main-header,
.site-header .header-main,
.site-header .header-menu-area {
	min-height: 78px;
	background: transparent !important;
}
.site-header .site-branding img,
.site-header .logo img,
.site-header .site-logo img {
	width: auto;
	max-height: 62px;
	object-fit: contain;
}
.site-header .main-navigation ul.menu > li > a,
.site-header .main-navigation > nav > ul > li > a,
.site-header .menu-main-menu-container > ul > li > a {
	position: relative;
	padding-block: 28px;
	color: #262a26;
	font-size: 15px;
	font-weight: 700;
}
.site-header .main-navigation ul.menu > li > a:after,
.site-header .main-navigation > nav > ul > li > a:after {
	position: absolute;
	right: 50%;
	bottom: 20px;
	left: 50%;
	height: 2px;
	content: "";
	background: var(--chrome-gold);
	transition: right .2s ease, left .2s ease;
}
.site-header .main-navigation ul.menu > li:hover > a:after,
.site-header .main-navigation ul.menu > li.current-menu-item > a:after,
.site-header .main-navigation > nav > ul > li:hover > a:after {
	right: 16px;
	left: 16px;
}
.site-header .header-action-layout1 a,
.site-header .header-btn a,
.site-header .listing-btn,
.site-header a[href*="add-listing"] {
	border-radius: 999px !important;
	box-shadow: 0 7px 18px rgba(119,83,40,.18);
	font-weight: 800;
}

/* Keep existing banner imagery, but give it a calmer editorial treatment. */
.theme-banner {
	isolation: isolate;
	background-position: center 52% !important;
}
.theme-banner:before {
	z-index: -1;
	background: linear-gradient(90deg, rgba(17,21,18,.52), rgba(17,21,18,.78)) !important;
}
.theme-banner .main-title {
	text-shadow: 0 3px 18px rgba(0,0,0,.25);
}
.theme-banner .main-breadcrumb {
	display: inline-flex;
	padding: 7px 12px;
	background: rgba(18,22,19,.27);
	border: 1px solid rgba(255,255,255,.16);
	border-radius: 999px;
	backdrop-filter: blur(7px);
}

/* The legacy theme footer is removed from the DOM by the footer renderer. */
.saqba-site-footer {
	position: relative;
	overflow: hidden;
	margin-top: 0;
	color: rgba(255,255,255,.76);
	background: var(--chrome-forest);
	font-size: 14px;
	line-height: 1.85;
}
.saqba-site-footer:before {
	position: absolute;
	top: -190px;
	left: -100px;
	width: 420px;
	height: 420px;
	content: "";
	background: radial-gradient(circle, rgba(173,129,70,.14), transparent 68%);
	pointer-events: none;
}
.saqba-footer-shell {
	width: min(1180px, calc(100% - 40px));
	margin-inline: auto;
}
.saqba-footer-cta {
	position: relative;
	background: linear-gradient(120deg, #b5884b, #8e632e);
	color: #fff;
}
.saqba-footer-cta__inner {
	display: grid;
	grid-template-columns: minmax(0,1fr) auto;
	align-items: center;
	gap: 34px;
	min-height: 196px;
	padding-block: 38px;
}
.saqba-footer-eyebrow {
	display: block;
	margin-bottom: 7px;
	color: rgba(255,255,255,.78);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
}
.saqba-footer-cta h2 {
	margin: 0 0 7px;
	color: #fff;
	font-size: clamp(24px,3vw,36px);
	font-weight: 900;
	line-height: 1.35;
}
.saqba-footer-cta p {
	max-width: 690px;
	margin: 0;
	color: rgba(255,255,255,.8);
	font-size: 15px;
}
.saqba-footer-cta__actions {
	display: flex;
	gap: 11px;
}
.saqba-footer-button {
	display: inline-flex;
	min-width: 142px;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	border: 1px solid rgba(255,255,255,.55);
	border-radius: 999px;
	color: #fff !important;
	font-weight: 900;
	text-decoration: none !important;
	transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.saqba-footer-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(42,27,11,.18);
}
.saqba-footer-button--primary {
	background: #fff;
	border-color: #fff;
	color: var(--chrome-gold-dark) !important;
}
.saqba-footer-button--ghost:hover { background: rgba(255,255,255,.1); }

.saqba-footer-main { padding: 64px 0 54px; }
.saqba-footer-grid {
	display: grid;
	grid-template-columns: minmax(270px,1.6fr) 1fr 1fr minmax(230px,1.15fr);
	gap: clamp(28px,4vw,64px);
}
.saqba-footer-logo { min-height: 60px; margin-bottom: 18px; }
.saqba-footer-logo img {
	width: auto !important;
	max-width: 160px;
	max-height: 70px;
	filter: brightness(0) invert(1);
	opacity: .96;
}
.saqba-footer-logo > a:not(.custom-logo-link) {
	color: #fff !important;
	font-size: 28px;
	font-weight: 900;
}
.saqba-footer-brand > p {
	max-width: 370px;
	margin: 0 0 19px;
	color: rgba(255,255,255,.66);
}
.saqba-footer-promise {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}
.saqba-footer-promise span {
	padding: 5px 9px;
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.09);
	border-radius: 999px;
	color: rgba(255,255,255,.76);
	font-size: 11px;
	white-space: nowrap;
}
.saqba-site-footer h3 {
	position: relative;
	margin: 7px 0 23px;
	padding-bottom: 12px;
	color: #fff;
	font-size: 16px;
	font-weight: 900;
}
.saqba-site-footer h3:after {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 30px;
	height: 2px;
	content: "";
	background: var(--chrome-gold);
}
.saqba-footer-links {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}
.saqba-footer-links a,
.saqba-footer-contact a,
.saqba-footer-bottom a {
	color: rgba(255,255,255,.68) !important;
	text-decoration: none !important;
	transition: color .18s ease, transform .18s ease;
}
.saqba-footer-links a:hover {
	color: #fff !important;
	transform: translateX(-4px);
}
.saqba-footer-contact p { margin: 0 0 17px; color: rgba(255,255,255,.62); }
.saqba-footer-contact > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #e5bd81 !important;
	font-weight: 900;
}
.saqba-footer-contact > a:hover { color: #fff !important; }

.saqba-footer-bottom {
	border-top: 1px solid var(--chrome-line);
	background: rgba(0,0,0,.15);
}
.saqba-footer-bottom .saqba-footer-shell {
	display: flex;
	min-height: 70px;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.saqba-footer-bottom p { margin: 0; color: rgba(255,255,255,.52); font-size: 12px; }
.saqba-footer-bottom a { color: rgba(255,255,255,.46) !important; font-size: 12px; }

@media (max-width: 991px) {
	.admin-bar .site-header,
	.admin-bar #masthead { top: 46px; }
	.site-header .main-header,
	.site-header .header-main,
	.site-header .header-menu-area { min-height: 66px; }
	.site-header .site-branding img,
	.site-header .logo img,
	.site-header .site-logo img { max-height: 50px; }
	.saqba-footer-cta__inner {
		grid-template-columns: 1fr;
		gap: 22px;
		min-height: 0;
		padding-block: 34px;
	}
	.saqba-footer-grid { grid-template-columns: 1.35fr 1fr 1fr; }
	.saqba-footer-contact { grid-column: 1 / -1; padding-top: 4px; }
}

@media (max-width: 575px) {
	.saqba-footer-shell { width: min(100% - 28px, 1180px); }
	.saqba-footer-cta__inner { padding-block: 30px; }
	.saqba-footer-cta h2 { font-size: 25px; }
	.saqba-footer-cta p { font-size: 13px; line-height: 1.75; }
	.saqba-footer-cta__actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
	.saqba-footer-button { min-width: 0; min-height: 48px; padding-inline: 12px; }
	.saqba-footer-main { padding: 42px 0 36px; }
	.saqba-footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
	.saqba-footer-brand,
	.saqba-footer-contact { grid-column: 1 / -1; }
	.saqba-footer-brand { text-align: center; }
	.saqba-footer-brand > p { margin-inline: auto; }
	.saqba-footer-logo { display: flex; justify-content: center; }
	.saqba-footer-promise { justify-content: center; }
	.saqba-site-footer h3 { margin-bottom: 17px; }
	.saqba-footer-bottom .saqba-footer-shell {
		min-height: 82px;
		flex-direction: column;
		justify-content: center;
		gap: 2px;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.saqba-footer-button,
	.saqba-footer-links a { transition: none; }
}


/* Flat, calm navigation: discovery happens on dedicated pages. */
.site-header .main-navigation .sub-menu,
.site-header .main-navigation .mega-menu,
.site-header .main-navigation .dropdown-menu,
.site-header .main-navigation .menu-item-has-children > ul,
.site-header .main-navigation .caret,
.site-header .main-navigation .dropdown-toggle {
	display: none !important;
}
.site-header .main-navigation ul.menu,
.site-header .main-navigation > nav > ul {
	display: flex;
	align-items: center;
	gap: 6px;
}
.site-header .main-navigation ul.menu > li > a,
.site-header .main-navigation > nav > ul > li > a,
.site-header .menu-main-menu-container > ul > li > a {
	padding: 12px 17px;
	border-radius: 999px;
	transition: background .18s ease, color .18s ease;
}
.site-header .main-navigation ul.menu > li > a:after,
.site-header .main-navigation > nav > ul > li > a:after {
	display: none;
}
.site-header .main-navigation ul.menu > li:hover > a,
.site-header .main-navigation ul.menu > li.current-menu-item > a,
.site-header .main-navigation ul.menu > li.current-menu-ancestor > a,
.site-header .main-navigation > nav > ul > li:hover > a {
	background: #f5efe7;
	color: var(--chrome-gold-dark);
}

/* Refine the existing furniture collage instead of replacing a relevant asset. */
.theme-banner {
	min-height: 215px !important;
	background-size: cover !important;
	background-position: center 46% !important;
}
.theme-banner:before {
	background:
		linear-gradient(90deg, rgba(16,23,19,.48), rgba(16,23,19,.76)),
		linear-gradient(0deg, rgba(173,129,70,.08), rgba(173,129,70,.08)) !important;
}
.theme-banner .main-title {
	margin-bottom: 12px;
	font-size: clamp(34px,4vw,48px);
	letter-spacing: -.02em;
}
.theme-banner .main-breadcrumb {
	border-color: rgba(255,255,255,.2);
	background: rgba(12,18,15,.32);
	box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

@media (max-width: 991px) {
	.site-header .main-navigation ul.menu,
	.site-header .main-navigation > nav > ul {
		display: block;
	}
	.site-header .main-navigation ul.menu > li > a,
	.site-header .main-navigation > nav > ul > li > a {
		border-radius: 10px;
	}
	.theme-banner { min-height: 175px !important; }
}
