/* ==========================================================================
   MeoWoff — layout: tokens, header, top bar, footer.
   Loaded on MeoWoff templates and, when "Use new header & footer on all pages"
   is on, on every page. Selectors are scoped to #mw-header / #mw-footer so the
   Elementor kit and Hello theme styles (a, button, h2 …) can't override them.
   ========================================================================== */

:root {
	--mw-black: #000;
	--mw-ink: #111;
	--mw-text: #333;
	--mw-muted: #6f6c6b;
	--mw-line: #333;
	--mw-line-soft: #b2b0af;
	--mw-white: #fff;
	--mw-beige: #faf5f3;
	--mw-lilac: #f1daff;
	--mw-lilac-soft: #f6e7ff;
	--mw-pink: #ffc5c5;
	--mw-star: #e3c45b;

	--mw-f-head: "Unbounded", "Arial Black", system-ui, sans-serif;
	--mw-f-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mw-f-ui: "Comfortaa", "Montserrat", system-ui, sans-serif;

	--mw-gutter: 16px;
	--mw-container: 1200px;
	--mw-r-sm: 8px;
	--mw-r: 16px;
	--mw-r-lg: 24px;
	--mw-section: 84px;
	--mw-ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) {
	:root { --mw-gutter: 32px; --mw-section: 96px; }
}
@media (min-width: 1200px) {
	:root { --mw-section: 120px; }
}

/* ---------- Shared utilities ---------- */
.mw-icon { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: middle; }
.mw-container {
	width: 100%;
	max-width: calc(var(--mw-container) + var(--mw-gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--mw-gutter);
	box-sizing: border-box;
}
@media (max-width: 767px) { .mw-only-desktop { display: none !important; } }
@media (min-width: 768px) { .mw-only-mobile { display: none !important; } }
.mw-skip { position: absolute; left: 16px; top: -100px; z-index: 1000; padding: 10px 16px; background: #000; color: #fff !important; border-radius: 6px; }
.mw-skip:focus { top: 16px; }
.mw-stars { display: inline-flex; gap: 2px; color: var(--mw-star); font-size: 20px; }
.mw-stars .is-empty { color: #e7e2d3; }
body.mw-nav-open { overflow: hidden; }

/* ---------- Scoped reset (specificity 1,0,0 — beats theme/kit element styles) ---------- */
#mw-header, #mw-footer {
	font-family: var(--mw-f-ui);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--mw-ink);
	text-align: left;
	-webkit-font-smoothing: antialiased;
}
#mw-header *, #mw-header *::before, #mw-header *::after,
#mw-footer *, #mw-footer *::before, #mw-footer *::after { box-sizing: border-box; }
#mw-header :where(a), #mw-footer :where(a) { color: inherit; text-decoration: none; box-shadow: none; font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; }
#mw-header :where(a:hover, a:focus), #mw-footer :where(a:hover, a:focus) { color: inherit; }
#mw-header :where(button), #mw-footer :where(button) {
	font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0;
	border-radius: 0; box-shadow: none; text-transform: none; letter-spacing: inherit;
	line-height: inherit; min-height: 0; cursor: pointer;
}
#mw-header :where(button:hover, button:focus), #mw-footer :where(button:hover, button:focus) { background: none; color: inherit; }
#mw-header :where(ul, ol, li), #mw-footer :where(ul, ol, li) { list-style: none; margin: 0; padding: 0; }
#mw-header :where(h1, h2, h3, p, dl, dt, dd), #mw-footer :where(h1, h2, h3, p, dl, dt, dd) { margin: 0; padding: 0; font-size: inherit; line-height: inherit; color: inherit; }
#mw-header :where(img), #mw-footer :where(img) { max-width: 100%; height: auto; display: block; border: 0; border-radius: 0; box-shadow: none; }
#mw-header :focus-visible, #mw-footer :focus-visible { outline: 2px solid var(--mw-black); outline-offset: 3px; border-radius: 4px; }
#mw-header .screen-reader-text, #mw-footer .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   Top bar
   ========================================================================== */
#mw-header .mw-topbar { background: var(--mw-lilac); font-size: 12px; line-height: 1.4; }
#mw-header .mw-topbar__inner { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; padding-bottom: 8px; }
#mw-header .mw-topbar strong { font-weight: 700; }
#mw-header .mw-topbar__links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
#mw-header .mw-topbar__links a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
#mw-header .mw-topbar__links a:hover { opacity: .65; }
@media (min-width: 768px) {
	#mw-header .mw-topbar__inner { flex-direction: row; justify-content: space-between; align-items: center; padding-top: 9px; padding-bottom: 9px; }
	#mw-header .mw-topbar { font-size: 13px; }
}

/* ==========================================================================
   Header
   ========================================================================== */
#mw-header { position: relative; z-index: 50; background: var(--mw-white); }
#mw-header.mw-header--overlay { position: absolute; top: 0; left: 0; right: 0; background: transparent; }
#mw-header .mw-header__bar { padding: 12px 0; }
#mw-header .mw-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; }
#mw-header .mw-header__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-width: 48px; height: 40px; padding: 0 10px;
	border: 1px solid var(--mw-line); border-radius: var(--mw-r-sm);
	background: rgba(255, 255, 255, .55);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	font-family: var(--mw-f-head); font-weight: 600; font-size: 14px; color: var(--mw-black);
}
#mw-header .mw-header__btn .mw-icon { font-size: 22px; }
#mw-header .mw-header__fav .mw-icon { font-size: 18px; }
#mw-header .mw-burger-close { display: none; }
.mw-nav-open #mw-header .mw-burger-open { display: none; }
.mw-nav-open #mw-header .mw-burger-close { display: inline-block; }

#mw-header .mw-logo { display: block; width: 100px; }
#mw-header .mw-logo img { width: 100%; height: auto; }
#mw-header .mw-logo--mono img, #mw-footer .mw-logo--mono img { filter: brightness(0); }

/* Mobile drawer */
#mw-header .mw-nav {
	position: fixed; left: 0; right: 0; bottom: 0; top: var(--mw-header-h, 64px);
	z-index: 49;
	background: var(--mw-white);
	padding: 16px var(--mw-gutter) 40px;
	overflow-y: auto;
	opacity: 0; visibility: hidden; transform: translateY(-8px);
	transition: opacity .25s var(--mw-ease), transform .25s var(--mw-ease), visibility .25s;
}
.mw-nav-open #mw-header .mw-nav { opacity: 1; visibility: visible; transform: none; }
#mw-header .mw-nav__item { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid #eee; }
#mw-header .mw-nav__link { flex: 1; padding: 16px 0; font-family: var(--mw-f-head); font-weight: 600; font-size: 18px; color: var(--mw-black); }
#mw-header .mw-nav__toggle { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; transition: transform .2s; }
#mw-header .mw-nav__toggle[aria-expanded="true"] { transform: rotate(180deg); }
#mw-header .mw-nav__sub { width: 100%; display: none; padding: 0 0 12px 12px; }
#mw-header .mw-nav__toggle[aria-expanded="true"] + .mw-nav__sub { display: block; }
#mw-header .mw-nav__sub a { display: block; padding: 8px 0; font-size: 16px; }
#mw-header .mw-nav__social { display: flex; align-items: center; gap: 20px; padding: 20px 0; }
#mw-header .mw-nav__social a { display: inline-flex; color: var(--mw-black); font-size: 22px; transition: opacity .2s; }
#mw-header .mw-nav__social a:hover { opacity: .6; }

@media (max-width: 1023px) {
	.mw-nav-open #mw-header { position: fixed; top: 0; left: 0; right: 0; background: var(--mw-white); }
	#mw-header .mw-logo { position: absolute; left: 50%; transform: translateX(-50%); }
}

@media (min-width: 1024px) {
	#mw-header .mw-header__bar { padding: 16px 0; }
	#mw-header .mw-header__burger { display: none; }
	#mw-header .mw-header__btn { height: 50px; min-width: 98px; }
	#mw-header .mw-logo { width: 112px; }
	#mw-header .mw-nav {
		position: static; opacity: 1; visibility: visible; transform: none;
		padding: 0; overflow: visible; background: transparent;
	}
	#mw-header .mw-nav__list {
		display: flex; align-items: center; gap: 4px;
		height: 50px; padding: 0 20px;
		border: 1px solid var(--mw-line); border-radius: var(--mw-r-sm);
		background: rgba(255, 255, 255, .55);
		-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	}
	#mw-header .mw-nav__item { position: relative; border: 0; flex-wrap: nowrap; }
	#mw-header .mw-nav__link { padding: 14px 12px; font-size: 13px; white-space: nowrap; transition: opacity .2s; }
	#mw-header .mw-nav__link:hover { opacity: .6; }
	#mw-header .mw-nav__item.has-sub .mw-nav__link { padding-right: 0; }
	#mw-header .mw-nav__toggle { width: 20px; height: 20px; font-size: 10px; margin-right: 6px; }
	#mw-header .mw-nav__sub {
		display: block;
		position: absolute; top: calc(100% + 6px); left: -20px;
		min-width: 168px; padding: 18px 20px;
		background: var(--mw-white);
		border-radius: 12px;
		box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
		opacity: 0; visibility: hidden; transform: translateY(6px);
		transition: opacity .2s, transform .2s, visibility .2s;
	}
	#mw-header .mw-nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
	#mw-header .mw-nav__item.has-sub:hover .mw-nav__sub,
	#mw-header .mw-nav__item.has-sub:focus-within .mw-nav__sub,
	#mw-header .mw-nav__toggle[aria-expanded="true"] + .mw-nav__sub { opacity: 1; visibility: visible; transform: none; }
	#mw-header .mw-nav__sub a { padding: 5px 0; font-size: 14px; white-space: nowrap; }
	#mw-header .mw-nav__sub a:hover { opacity: .6; }
	#mw-header .mw-nav__social { gap: 14px; margin-left: 8px; padding: 0 0 0 20px; border-left: 1px solid var(--mw-line-soft); }
	#mw-header .mw-nav__social a { font-size: 20px; }
}
@media (min-width: 1200px) {
	#mw-header .mw-nav__list { gap: 8px; }
	#mw-header .mw-nav__link { font-size: 14px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
#mw-footer { background: var(--mw-beige); padding: 48px 0 32px; text-align: center; }
#mw-footer .mw-footer__top { display: grid; gap: 16px; }
#mw-footer .mw-footer__logo { display: block; width: 216px; margin: 0 auto 16px; }
#mw-footer .mw-footer__logo img { width: 100%; height: auto; }
#mw-footer .mw-footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; margin-bottom: 24px; }
#mw-footer .mw-footer__nav li { padding: 10px 0; }
#mw-footer .mw-footer__nav a { font-family: var(--mw-f-head); font-weight: 600; font-size: 13px; color: var(--mw-black); transition: opacity .2s; }
#mw-footer .mw-footer__nav a:hover, #mw-footer .mw-footer__legal a:hover, #mw-footer .mw-contacts a:hover { opacity: .6; }
#mw-footer .mw-footer__card { padding: 24px 16px; border-radius: var(--mw-r); background: var(--mw-white); }
#mw-footer .mw-footer__title { margin-bottom: 20px; font-family: var(--mw-f-head); font-weight: 700; font-size: 18px; line-height: 1.2; color: var(--mw-black); }
#mw-footer .mw-contacts { display: inline-grid; gap: 14px; text-align: left; }
#mw-footer .mw-contacts a { display: inline-flex; align-items: flex-start; gap: 8px; font-family: var(--mw-f-head); font-weight: 600; font-size: 14px; line-height: 1.3; color: var(--mw-black); }
#mw-footer .mw-contacts .mw-icon { font-size: 22px; margin-top: -2px; }
#mw-footer .mw-hours { display: inline-grid; gap: 10px; text-align: left; }
#mw-footer .mw-hours div { display: grid; grid-template-columns: 94px auto; }
#mw-footer .mw-hours dt, #mw-footer .mw-hours dd { font-family: var(--mw-f-head); font-weight: 600; font-size: 14px; white-space: nowrap; }
#mw-footer .mw-footer__note { margin-top: 20px; font-size: 13px; }
#mw-footer .mw-footer__middle { display: grid; gap: 32px; margin-top: 16px; }
#mw-footer .mw-rating { display: flex; flex-direction: column; align-items: center; gap: 16px; }
#mw-footer .mw-rating__title { font-family: var(--mw-f-head); font-weight: 700; font-size: 18px; margin-bottom: 4px; color: var(--mw-black); }
#mw-footer .mw-rating__count { margin-top: 4px; font-size: 14px; }
#mw-footer .mw-rating__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 22px;
	border-radius: 999px; background: var(--mw-black); color: var(--mw-white);
	font-family: var(--mw-f-head); font-weight: 600; font-size: 14px;
	transition: background-color .2s;
}
#mw-footer .mw-rating__btn:hover { background: #2a2a2a; color: var(--mw-white); }
#mw-footer .mw-rating__btn .mw-icon { font-size: 20px; }
#mw-footer .mw-footer__legal { display: grid; gap: 14px; font-size: 13px; }
#mw-footer .mw-footer__copy { margin-top: 48px; font-size: 13px; color: var(--mw-text); }

@media (min-width: 1024px) {
	#mw-footer { padding: 60px 0 32px; text-align: left; }
	#mw-footer .mw-footer__top { grid-template-columns: minmax(0, 300px) minmax(0, 1fr) max-content max-content; gap: 48px; align-items: start; }
	#mw-footer .mw-footer__logo { margin: 0; }
	#mw-footer .mw-footer__nav { gap: 0 48px; margin: 0; justify-content: start; grid-template-columns: max-content max-content; }
	#mw-footer .mw-footer__nav li { padding: 0 0 22px; }
	#mw-footer .mw-footer__card { padding: 0; background: transparent; border-radius: 0; }
	#mw-footer .mw-footer__title { font-size: 20px; margin-bottom: 26px; }
	#mw-footer .mw-contacts { display: grid; gap: 18px; }
	#mw-footer .mw-hours { display: grid; gap: 14px; }
	#mw-footer .mw-footer__note { margin-top: 24px; }
	#mw-footer .mw-footer__middle { grid-template-columns: 552px 1fr; align-items: end; margin-top: 48px; }
	#mw-footer .mw-rating { flex-direction: row; justify-content: space-between; padding: 24px; border-radius: var(--mw-r-lg); background: var(--mw-white); }
	#mw-footer .mw-rating__title { font-size: 20px; }
	#mw-footer .mw-footer__legal { justify-items: end; text-align: right; }
	#mw-footer .mw-footer__copy { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
	#mw-header *, #mw-footer * { transition: none !important; animation: none !important; }
}
