/* ==========================================================================
   Sunrays theme
   Brand colour variables (--sr-primary etc.) are printed inline from the
   Customizer; the values below are fallbacks.
   ========================================================================== */

:root {
	--sr-primary: #a0278f;
	--sr-primary-dark: #6e1a63;
	--sr-accent: #f39200;
	--sr-dark: #1f1a2e;
	--sr-text: #4a4658;
	--sr-muted: #6f6a7d;
	--sr-soft: #fbf4fa;
	--sr-soft-2: #f5eef7;
	--sr-line: #ece3ee;
	--sr-white: #ffffff;
	--sr-radius: 16px;
	--sr-radius-sm: 10px;
	--sr-shadow: 0 10px 30px rgba(31, 26, 46, 0.08);
	--sr-shadow-lg: 0 20px 50px rgba(31, 26, 46, 0.14);
	--sr-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--sr-container: 1200px;
	--sr-gutter: 20px;
	--sr-header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--sr-font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--sr-text);
	background: var(--sr-white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--sr-font);
	color: var(--sr-dark);
	line-height: 1.25;
	margin: 0 0 0.6em;
	font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

p { margin: 0 0 1em; }

a { color: var(--sr-primary); text-decoration: none; transition: color .2s ease; }
a:hover, a:focus { color: var(--sr-primary-dark); }

img { max-width: 100%; height: auto; display: block; }

:focus-visible { outline: 3px solid var(--sr-accent); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.sr-skip-link:focus {
	clip: auto; width: auto; height: auto;
	top: 10px; left: 10px; z-index: 10000;
	padding: 10px 16px;
	background: var(--sr-white);
	color: var(--sr-dark);
	border-radius: 8px;
	box-shadow: var(--sr-shadow);
}

.sr-container {
	width: 100%;
	max-width: calc(var(--sr-container) + var(--sr-gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--sr-gutter);
}

.sr-section { padding-top: 64px; padding-bottom: 64px; }

.sr-icon { flex: 0 0 auto; }

/* ---------- Buttons ---------- */
.sr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 999px;
	border: 2px solid transparent;
	font-family: var(--sr-font);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
	text-decoration: none;
	white-space: nowrap;
}
.sr-btn:hover { transform: translateY(-2px); }
.sr-btn .sr-icon { width: 18px; height: 18px; }

.sr-btn--primary { background: var(--sr-primary); color: var(--sr-white); box-shadow: 0 8px 20px rgba(160, 39, 143, .25); }
.sr-btn--primary:hover, .sr-btn--primary:focus { background: var(--sr-primary-dark); color: var(--sr-white); }

.sr-btn--accent { background: var(--sr-accent); color: var(--sr-white); }
.sr-btn--accent:hover, .sr-btn--accent:focus { background: #d77f00; color: var(--sr-white); }

.sr-btn--light { background: var(--sr-white); color: var(--sr-primary-dark); }
.sr-btn--light:hover, .sr-btn--light:focus { background: var(--sr-soft); color: var(--sr-primary-dark); }

.sr-btn--outline { border-color: currentColor; color: var(--sr-primary); background: transparent; }
.sr-btn--outline:hover { background: var(--sr-primary); color: var(--sr-white); border-color: var(--sr-primary); }

.sr-btn--block { width: 100%; }

.sr-link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.sr-link-arrow::after { content: "→"; transition: transform .2s ease; }
.sr-link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Social ---------- */
.sr-social { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.sr-social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; border-radius: 50%;
	background: rgba(255, 255, 255, .1); color: var(--sr-white);
	transition: background .2s ease;
}
.sr-social a:hover { background: var(--sr-accent); color: var(--sr-white); }
.sr-social .sr-icon { width: 18px; height: 18px; }
.sr-social--small a { width: 28px; height: 28px; background: transparent; }
.sr-social--small .sr-icon { width: 15px; height: 15px; }

/* ---------- Top bar ---------- */
.sr-topbar { background: var(--sr-primary-dark); color: rgba(255, 255, 255, .88); font-size: 13.5px; }
.sr-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.sr-topbar__info { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; }
.sr-topbar__info li { display: inline-flex; align-items: center; gap: 7px; }
.sr-topbar__info .sr-icon { width: 15px; height: 15px; color: var(--sr-accent); }
.sr-topbar a { color: inherit; }
.sr-topbar a:hover { color: var(--sr-white); }
.sr-topbar__right { display: flex; align-items: center; gap: 14px; }
.sr-topbar__badge { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--sr-white); }
.sr-topbar__badge .sr-icon { width: 17px; height: 17px; color: var(--sr-accent); }

/* ---------- Navbar ---------- */
.sr-header { position: relative; z-index: 100; background: var(--sr-white); }
.sr-header--sticky { position: sticky; top: 0; }
.admin-bar .sr-header--sticky { top: 32px; }
.sr-header.is-scrolled .sr-navbar { box-shadow: 0 6px 24px rgba(31, 26, 46, .08); }

.sr-navbar { background: var(--sr-white); border-bottom: 1px solid var(--sr-line); transition: box-shadow .2s ease; }
.sr-navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--sr-header-h); }

.sr-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.sr-logo__img { width: auto; max-height: 58px; }
.sr-logo__text { font-size: 1.4rem; font-weight: 800; color: var(--sr-primary); }

.sr-nav { display: none; }

.sr-menu { list-style: none; margin: 0; padding: 0; }

.sr-navbar__actions { display: flex; align-items: center; gap: 14px; }

.sr-navbar__phone { display: none; align-items: center; gap: 10px; color: var(--sr-dark); }
.sr-navbar__phone-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; border-radius: 50%;
	background: var(--sr-soft); color: var(--sr-primary);
}
.sr-navbar__phone-text { display: flex; flex-direction: column; line-height: 1.2; }
.sr-navbar__phone-text small { font-size: 12px; color: var(--sr-muted); }
.sr-navbar__phone-text strong { font-size: 15px; }
.sr-navbar__phone:hover strong { color: var(--sr-primary); }

.sr-navbar__cta { display: none; }

.sr-burger, .sr-drawer__close {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 12px;
	border: 1px solid var(--sr-line); background: var(--sr-white);
	color: var(--sr-dark); cursor: pointer;
}
.sr-burger .sr-icon, .sr-drawer__close .sr-icon { width: 24px; height: 24px; }

@media (min-width: 768px) {
	.sr-navbar__cta { display: inline-flex; }
}

@media (min-width: 1200px) {
	.sr-nav { display: block; flex: 1 1 auto; }
	.sr-burger { display: none; }

	.sr-nav > .sr-menu { display: flex; align-items: center; justify-content: center; gap: 4px; }
	.sr-nav .sr-menu > li { position: relative; display: flex; align-items: center; }
	.sr-nav .sr-menu > li > a {
		display: block; padding: 10px 12px; border-radius: 8px;
		font-weight: 600; font-size: 15px; color: var(--sr-dark);
		white-space: nowrap;
	}
	.sr-nav .sr-menu > li > a:hover,
	.sr-nav .sr-menu > li.current-menu-item > a,
	.sr-nav .sr-menu > li.current-menu-ancestor > a { color: var(--sr-primary); }

	.sr-nav .sr-submenu-toggle {
		background: none; border: 0; padding: 4px; margin-left: -8px; cursor: pointer; color: var(--sr-muted);
		display: inline-flex;
	}
	.sr-nav .sr-submenu-toggle .sr-icon { width: 16px; height: 16px; }

	.sr-nav .sub-menu {
		list-style: none; margin: 0; padding: 10px;
		position: absolute; top: 100%; left: 0; min-width: 260px;
		background: var(--sr-white); border-radius: 14px; box-shadow: var(--sr-shadow-lg);
		border: 1px solid var(--sr-line);
		opacity: 0; visibility: hidden; transform: translateY(8px);
		transition: opacity .2s ease, transform .2s ease, visibility .2s;
	}
	.sr-nav .sr-menu > li:hover > .sub-menu,
	.sr-nav .sr-menu > li:focus-within > .sub-menu,
	.sr-nav .sr-menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
	.sr-nav .sub-menu a {
		display: block; padding: 9px 14px; border-radius: 8px;
		color: var(--sr-text); font-size: 14.5px; font-weight: 500;
	}
	.sr-nav .sub-menu a:hover, .sr-nav .sub-menu .current-menu-item > a { background: var(--sr-soft); color: var(--sr-primary); }
	.sr-nav .sub-menu .sr-submenu-toggle { display: none; }

	/* Long speciality lists: two columns. */
	.sr-nav .sub-menu:has(> li:nth-child(8)) { display: grid; grid-template-columns: 1fr 1fr; min-width: 480px; column-gap: 4px; }
}

@media (min-width: 1600px) {
	.sr-navbar__phone { display: inline-flex; }
}
.sr-navbar__phone-text strong, .sr-navbar__cta span { white-space: nowrap; }

@media (max-width: 767px) {
	.sr-hide-sm { display: none !important; }
	.sr-topbar__inner { justify-content: center; }
	.sr-topbar__right { display: none; }
	.sr-logo__img { max-height: 46px; }
	:root { --sr-header-h: 70px; }
}

@media screen and (max-width: 782px) {
	.admin-bar .sr-header--sticky { top: 46px; }
}
@media screen and (max-width: 600px) {
	.admin-bar .sr-header--sticky { top: 0; }
}

/* ---------- Mobile drawer ---------- */
.sr-drawer { position: fixed; inset: 0; z-index: 1000; }
.sr-drawer[hidden] { display: none; }
.sr-drawer__overlay { position: absolute; inset: 0; background: rgba(31, 26, 46, .55); opacity: 0; transition: opacity .25s ease; }
.sr-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0;
	width: min(360px, 88vw);
	background: var(--sr-white);
	display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform .3s ease;
	overflow-y: auto;
}
.sr-drawer.is-open .sr-drawer__overlay { opacity: 1; }
.sr-drawer.is-open .sr-drawer__panel { transform: translateX(0); }
.sr-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--sr-line); }
.sr-drawer__head .sr-logo__img { max-height: 44px; }
.sr-drawer__nav { padding: 10px 12px; flex: 1 1 auto; }
.sr-drawer__nav .sr-menu li { position: relative; }
.sr-drawer__nav .sr-menu a {
	display: block; padding: 12px 48px 12px 10px;
	color: var(--sr-dark); font-weight: 600; border-bottom: 1px solid var(--sr-line);
}
.sr-drawer__nav .sr-menu .current-menu-item > a { color: var(--sr-primary); }
.sr-drawer__nav .sr-submenu-toggle {
	position: absolute; right: 0; top: 4px; width: 42px; height: 40px;
	display: inline-flex; align-items: center; justify-content: center;
	background: none; border: 0; color: var(--sr-muted); cursor: pointer;
	transition: transform .2s ease;
}
.sr-drawer__nav .sr-submenu-toggle[aria-expanded="true"] { transform: rotate(180deg); color: var(--sr-primary); }
.sr-drawer__nav .sub-menu { list-style: none; margin: 0; padding: 0 0 0 12px; display: none; }
.sr-drawer__nav li.is-open > .sub-menu { display: block; }
.sr-drawer__nav .sub-menu a { font-weight: 500; font-size: 15px; }
.sr-drawer__foot { padding: 20px; display: grid; gap: 12px; border-top: 1px solid var(--sr-line); }
.sr-drawer__contact { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--sr-dark); }
.sr-drawer__contact .sr-icon { color: var(--sr-primary); }
body.sr-drawer-open { overflow: hidden; }

/* ---------- Page banner (non-Elementor pages) ---------- */
.sr-page-banner {
	background: linear-gradient(120deg, var(--sr-primary-dark), var(--sr-primary));
	color: var(--sr-white);
	padding: 56px 0;
}
.sr-page-banner__title { color: var(--sr-white); margin-bottom: 8px; }
.sr-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.sr-breadcrumb a { color: var(--sr-white); }

/* ---------- Entries ---------- */
.sr-entry { max-width: 860px; margin: 0 auto; }
.sr-entry__meta { color: var(--sr-muted); font-size: 14px; }
.sr-entry__media { margin-bottom: 24px; border-radius: var(--sr-radius); overflow: hidden; }
.sr-entry__content ul, .sr-entry__content ol { padding-left: 1.3em; }
.sr-entry__content blockquote { margin: 1.5em 0; padding: 16px 24px; border-left: 4px solid var(--sr-primary); background: var(--sr-soft); border-radius: 0 12px 12px 0; }

.sr-post-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.sr-card { background: var(--sr-white); border-radius: var(--sr-radius); box-shadow: var(--sr-shadow); overflow: hidden; }
.sr-post-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.sr-post-card__body { padding: 22px; }
.sr-post-card__meta { font-size: 13px; color: var(--sr-muted); margin-bottom: 6px; }
.sr-post-card__title { font-size: 1.2rem; }
.sr-post-card__title a { color: var(--sr-dark); }
.sr-post-card__title a:hover { color: var(--sr-primary); }

.sr-empty { text-align: center; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.nav-links .page-numbers { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--sr-line); }
.nav-links .page-numbers.current { background: var(--sr-primary); color: var(--sr-white); border-color: var(--sr-primary); }

.sr-comments { max-width: 860px; margin: 48px auto 0; }

/* Forms (core) */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="date"], select, textarea {
	width: 100%; padding: 12px 14px;
	border: 1px solid var(--sr-line); border-radius: var(--sr-radius-sm);
	font: inherit; color: var(--sr-dark); background: var(--sr-white);
}
input:focus, select:focus, textarea:focus { border-color: var(--sr-primary); outline: none; box-shadow: 0 0 0 3px rgba(160, 39, 143, .15); }

/* ---------- Footer ---------- */
.sr-footer { background: #1a1426; color: rgba(255, 255, 255, .72); font-size: 15px; }
.sr-footer a { color: rgba(255, 255, 255, .78); }
.sr-footer a:hover { color: var(--sr-accent); }

.sr-emergency { background: linear-gradient(110deg, var(--sr-primary-dark), var(--sr-primary)); }
.sr-emergency__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 26px; padding-bottom: 26px; }
.sr-emergency__text { display: flex; align-items: center; gap: 16px; }
.sr-emergency__text p { margin: 0; font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 700; color: var(--sr-white); }
.sr-emergency__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; border-radius: 50%;
	background: rgba(255, 255, 255, .15); color: var(--sr-white); flex: 0 0 auto;
}
.sr-emergency__icon .sr-icon { width: 26px; height: 26px; }
.sr-emergency .sr-btn--light { color: var(--sr-primary-dark); }

.sr-footer__main { padding: 64px 0 40px; }
.sr-footer__grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
.sr-footer__logo { background: var(--sr-white); padding: 10px 14px; border-radius: 12px; margin-bottom: 18px; }
.sr-footer__logo .sr-logo__img { max-height: 52px; }
.sr-footer__title { color: var(--sr-white); font-size: 1.1rem; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.sr-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--sr-accent); }
.sr-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.sr-footer__links a::before { content: "›"; margin-right: 8px; color: var(--sr-accent); }
.sr-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sr-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.sr-footer__contact .sr-icon { color: var(--sr-accent); margin-top: 4px; width: 18px; height: 18px; }
.sr-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.sr-footer__bottom-inner { padding-top: 18px; padding-bottom: 18px; text-align: center; font-size: 14px; }
.sr-footer__bottom p { margin: 0; }

@media (min-width: 640px) {
	.sr-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
	.sr-footer__grid { grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr; }
}

/* ---------- Floating WhatsApp ---------- */
.sr-whatsapp-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 900;
	width: 56px; height: 56px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: #25d366; color: var(--sr-white);
	box-shadow: 0 10px 25px rgba(37, 211, 102, .4);
	transition: transform .2s ease;
}
.sr-whatsapp-float:hover { transform: scale(1.08); color: var(--sr-white); }
.sr-whatsapp-float .sr-icon { width: 30px; height: 30px; }

/* ---------- v1.4 design refresh ---------- */
/* Frosted header while scrolling. */
.sr-header.is-scrolled .sr-navbar {
	background: rgba(255, 255, 255, .86);
	-webkit-backdrop-filter: saturate(1.6) blur(14px);
	backdrop-filter: saturate(1.6) blur(14px);
}
/* Active menu item underline. */
@media (min-width: 1200px) {
	.sr-nav .sr-menu > li > a { position: relative; }
	.sr-nav .sr-menu > li > a::after {
		content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px;
		background: linear-gradient(90deg, var(--sr-primary), var(--sr-accent));
		transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
	}
	.sr-nav .sr-menu > li > a:hover::after,
	.sr-nav .sr-menu > li.current-menu-item > a::after,
	.sr-nav .sr-menu > li.current-menu-ancestor > a::after { transform: scaleX(1); }
}
/* Footer polish. */
.sr-footer { background: radial-gradient(800px 300px at 100% 0%, rgba(160, 39, 143, .18), transparent 60%), #1a1426; }
.sr-emergency { background: radial-gradient(600px 200px at 90% 120%, rgba(243, 146, 0, .35), transparent 60%), linear-gradient(110deg, var(--sr-primary-dark), var(--sr-primary)); }

/* Mobile quick-action bar. */
.sr-mobile-bar { display: none; }
@media (max-width: 767px) {
	.sr-mobile-bar {
		position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 950;
		display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; padding: 6px;
		border-radius: 18px; background: rgba(31, 26, 46, .92);
		-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
		box-shadow: 0 12px 30px rgba(31, 26, 46, .3);
		padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
	}
	.sr-mobile-bar__item {
		display: flex; align-items: center; justify-content: center; gap: 7px;
		padding: 11px 6px; border-radius: 13px; color: #fff; font-weight: 700; font-size: 14px;
	}
	.sr-mobile-bar__item:hover, .sr-mobile-bar__item:focus { color: #fff; background: rgba(255, 255, 255, .08); }
	.sr-mobile-bar__item .sr-icon { width: 18px; height: 18px; }
	.sr-mobile-bar__item--wa .sr-icon { color: #25d366; }
	.sr-mobile-bar__item--book { background: linear-gradient(120deg, var(--sr-primary), var(--sr-accent)); }
	.sr-mobile-bar__item--book:hover, .sr-mobile-bar__item--book:focus { background: linear-gradient(120deg, var(--sr-primary-dark), var(--sr-primary)); }
	.sr-has-mobile-bar { padding-bottom: 76px; }
	.sr-has-mobile-bar .sr-whatsapp-float { display: none; }
}

/* ---------- v1.2 responsive hardening ---------- */
.sr-footer__contact a, .sr-footer__contact span, .sr-topbar a { overflow-wrap: anywhere; }
.sr-footer__contact li > :last-child { min-width: 0; }
@media (max-width: 767px) {
	.sr-footer__links a { display: inline-block; padding: 6px 0; }
	.sr-footer__links { gap: 2px; }
	.sr-footer__main { padding: 48px 0 28px; }
	.sr-footer__grid { gap: 30px; }
	.sr-emergency__inner { flex-direction: column; align-items: stretch; text-align: left; }
	.sr-emergency .sr-btn { width: 100%; white-space: normal; }
	.sr-navbar__inner { gap: 12px; }
	.sr-drawer__nav .sr-menu a { padding-top: 13px; padding-bottom: 13px; }
}
@media (max-width: 360px) {
	.sr-container { padding: 0 14px; }
	.sr-logo__img { max-height: 40px; }
	.sr-topbar { font-size: 12.5px; }
	.sr-mobile-bar__item { font-size: 13px; gap: 5px; padding: 11px 4px; }
}
/* Tablet header: keep the CTA from crowding the logo. */
@media (min-width: 768px) and (max-width: 1199px) {
	.sr-navbar__cta { padding: 11px 18px; }
}
/* Tablet top bar: hours + emergency badge only, on one line. */
@media (max-width: 1023px) {
	.sr-topbar__info .sr-hide-sm { display: none; }
	.sr-topbar__badge { white-space: nowrap; }
}

/* ---------- Elementor global header/footer (Ultimate Addons for Elementor) ---------- */
#masthead, #colophon { margin: 0; padding: 0; }
#masthead .bhf-hidden { display: none; }
#masthead:has(.sr-header--sticky) { position: sticky; top: 0; z-index: 100; }
.admin-bar #masthead:has(.sr-header--sticky) { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar #masthead:has(.sr-header--sticky) { top: 46px; } }
@media screen and (max-width: 600px) { .admin-bar #masthead:has(.sr-header--sticky) { top: 0; } }
#masthead .sr-header--sticky { position: relative; top: auto; }
#masthead .e-con, #masthead .elementor-widget-sunrays-site-header,
#colophon .e-con, #colophon .elementor-widget-sunrays-site-footer { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; --gap: 0px; }
.footer-width-fixer { width: 100%; }
/* The drawer lives inside the header template: keep it above everything when open. */
body.sr-drawer-open #masthead { z-index: 100001; }
body.sr-drawer-open .sr-mobile-bar, body.sr-drawer-open .sr-whatsapp-float { display: none; }
/* Mobile bar spacing when the bar comes from the Elementor footer. */
@media (max-width: 767px) {
	body:has(.sr-mobile-bar) { padding-bottom: 76px; }
	body:has(.sr-mobile-bar) .sr-whatsapp-float { display: none; }
}

/* ---------- Elementor pages ---------- */
.sr-elementor-page .sr-main { padding: 0; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
