/* Shelly's Saloon & Studio - brand styles
   Colours here match the Elementor global palette.

   Palette: #2F486D navy (primary) - #F3EAE0 cream - #223148 ink - #D2C7B8 taupe */

:root {
	--shelly-primary: #2F486D;
	--shelly-primary-dark: #223148;
	--shelly-light: #D2C7B8;
	--shelly-cream: #F3EAE0;
	--shelly-white: #FFFFFF;
	--shelly-soft: #FAF6F0;
	--shelly-ink: #223148;
	--shelly-muted: #566276;
	--shelly-line: #E4DCD0;
	--shelly-head: "Playfair Display", "Times New Roman", Georgia, serif;
	--shelly-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
	--shelly-radius: 20px;
	--shelly-shadow: 0 18px 44px -16px rgba(34, 49, 72, 0.16);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--shelly-primary);
	outline-offset: 2px;
	border-radius: 6px;
}

/* Hide the theme's own header/footer when this plugin renders them */
body.shelly-builtin-chrome > header.site-header,
body.shelly-builtin-chrome > footer.site-footer,
body.shelly-builtin-chrome .site-header,
body.shelly-builtin-chrome .site-footer,
body.shelly-builtin-chrome #site-header,
body.shelly-builtin-chrome #footer {
	display: none !important;
}

/* ---------------------------------------------------------------- buttons */
.shelly-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 24px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-family: var(--shelly-body);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.shelly-btn--primary {
	background: var(--shelly-primary);
	color: var(--shelly-white);
	box-shadow: 0 10px 24px -10px rgba(47, 72, 109, .45);
}

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

.shelly-btn--ghost {
	background: transparent;
	color: var(--shelly-ink);
	border-color: var(--shelly-line);
}

.shelly-btn--ghost:hover,
.shelly-btn--ghost:focus {
	background: var(--shelly-primary);
	border-color: var(--shelly-primary);
	color: var(--shelly-white);
}

.shelly-btn--lg { padding: 16px 30px; font-size: 16px; }

/* ---------------------------------------------------------------- header */
.shelly-topbar {
	background: var(--shelly-primary);
	color: var(--shelly-white);
	text-align: center;
	padding: 9px 16px;
	font-family: var(--shelly-body);
	font-size: 14.5px;
	font-weight: 600;
}

.shelly-topbar a { color: var(--shelly-white); text-decoration: none; }
.shelly-topbar a:hover { text-decoration: underline; }

.shelly-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: var(--shelly-white);
	border-bottom: 1px solid var(--shelly-line);
	transition: box-shadow .2s ease;
}

.shelly-header.is-stuck { box-shadow: 0 10px 30px -18px rgba(34, 49, 72, .4); }

.shelly-header__inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 12px 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.shelly-logo { display: inline-flex; line-height: 0; }
.shelly-logo img { width: 210px; height: auto; }

.shelly-nav { display: flex; align-items: center; gap: 26px; }

.shelly-menu {
	display: flex;
	align-items: center;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.shelly-menu li { position: relative; }

.shelly-menu a {
	font-family: var(--shelly-body);
	font-size: 15.5px;
	font-weight: 600;
	color: var(--shelly-ink);
	text-decoration: none;
	padding: 6px 0;
	display: inline-block;
	border-bottom: 2px solid transparent;
}

.shelly-menu a:hover,
.shelly-menu .current-menu-item > a {
	color: var(--shelly-primary);
	border-bottom-color: var(--shelly-primary);
}

.shelly-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--shelly-white);
	border: 1px solid var(--shelly-line);
	border-radius: 14px;
	padding: 10px 0;
	margin: 0;
	list-style: none;
	box-shadow: var(--shelly-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .15s ease, transform .15s ease;
}

.shelly-menu li:hover > .sub-menu,
.shelly-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.shelly-menu .sub-menu a { padding: 8px 18px; display: block; border: 0; font-weight: 500; }

.shelly-nav__cta { display: flex; align-items: center; gap: 10px; }

.shelly-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 46px;
	height: 42px;
	background: var(--shelly-soft);
	border: 1px solid var(--shelly-line);
	border-radius: 12px;
	cursor: pointer;
}

.shelly-burger span {
	display: block;
	width: 20px;
	height: 2px;
	margin: 0 auto;
	background: var(--shelly-ink);
	transition: transform .2s ease, opacity .2s ease;
}

.shelly-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.shelly-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.shelly-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
	.shelly-logo img { width: 180px; }
	.shelly-menu { gap: 16px; }
	.shelly-menu a { font-size: 14.5px; }
	.shelly-nav__cta .shelly-btn { padding: 11px 18px; font-size: 14px; }
}

@media (max-width: 880px) {
	.shelly-burger { display: flex; }
	.shelly-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--shelly-white);
		border-bottom: 1px solid var(--shelly-line);
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 10px 20px 22px;
		display: none;
		box-shadow: var(--shelly-shadow);
		max-height: calc(100vh - 120px);
		overflow-y: auto;
	}
	.shelly-nav.is-open { display: flex; }
	.shelly-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.shelly-menu > li { border-bottom: 1px solid var(--shelly-line); }
	.shelly-menu a { display: block; padding: 14px 2px; border: 0; font-size: 16px; }
	.shelly-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		padding: 0 0 8px 14px;
	}
	.shelly-nav__cta { flex-direction: column; align-items: stretch; margin-top: 16px; }
	.shelly-nav__cta .shelly-btn { width: 100%; padding: 14px 20px; }
}

/* ---------------------------------------------------------------- footer */
.shelly-footer { background: var(--shelly-ink); color: #CFC6B8; font-family: var(--shelly-body); }

.shelly-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 62px 22px 46px;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
	gap: 34px;
}

.shelly-footer__logo { width: 190px; margin-bottom: 4px; filter: brightness(0) invert(1); }
.shelly-footer p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.8; color: #A79C8C; }
.shelly-footer h3 { font-family: var(--shelly-head); font-size: 17px; color: #FFF; margin: 0 0 14px; }
.shelly-footer ul { list-style: none; margin: 0; padding: 0; }
.shelly-footer li { margin-bottom: 9px; }
.shelly-footer a { color: #CFC6B8; text-decoration: none; font-size: 15px; }
.shelly-footer a:hover { color: var(--shelly-light); }
.shelly-footer__phone { font-size: 17px !important; font-weight: 600; color: #FFF !important; }
.shelly-footer__social { display: flex; gap: 16px; }

.shelly-footer__bottom {
	background: #18222F;
	padding: 18px 22px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	max-width: none;
	font-size: 14.5px;
	color: #97897A;
}

.shelly-footer__bottom > span { max-width: 1200px; }
.shelly-footer__legal { display: flex; gap: 18px; }

@media (max-width: 900px) {
	.shelly-footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; padding: 46px 18px 34px; }
}

@media (max-width: 560px) {
	.shelly-footer__inner { grid-template-columns: 1fr; }
	.shelly-footer__bottom { flex-direction: column; text-align: center; }
}

/* ---------------------------------------------------------------- enquiry form */
.shelly-form { font-family: var(--shelly-body); }

.shelly-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.shelly-form__field { margin: 0; display: flex; flex-direction: column; gap: 7px; }
.shelly-form__field--full { grid-column: 1 / -1; }

.shelly-form label {
	font-size: 14.5px;
	font-weight: 600;
	color: var(--shelly-ink);
}

.shelly-form label span { color: var(--shelly-primary); }

.shelly-form input[type="text"],
.shelly-form input[type="tel"],
.shelly-form input[type="email"],
.shelly-form input[type="date"],
.shelly-form select,
.shelly-form textarea {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid var(--shelly-line);
	border-radius: 12px;
	background: var(--shelly-white);
	font-family: var(--shelly-body);
	font-size: 15.5px;
	color: var(--shelly-ink);
	transition: border-color .15s ease, box-shadow .15s ease;
}

.shelly-form input:focus,
.shelly-form select:focus,
.shelly-form textarea:focus {
	border-color: var(--shelly-primary);
	box-shadow: 0 0 0 3px rgba(47, 72, 109, .18);
	outline: none;
}

.shelly-form textarea { resize: vertical; min-height: 110px; }

.shelly-form__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 20px 0 8px;
}

.shelly-form__small { font-size: 13.5px; color: var(--shelly-muted); margin: 0; }

.shelly-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.shelly-form__notice {
	padding: 14px 16px;
	border-radius: 12px;
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.6;
}

.shelly-form__notice--ok { background: #EAF4FF; border: 1px solid var(--shelly-light); color: #14498F; }
.shelly-form__notice--err { background: #FFF4F4; border: 1px solid #F3C6C6; color: #92302F; }

@media (max-width: 680px) {
	.shelly-form__grid { grid-template-columns: 1fr; }
	.shelly-form__actions .shelly-btn { width: 100%; }
}

/* ---------------------------------------------------------------- floating WhatsApp */
.shelly-fab {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 998;
	width: 54px;
	height: 54px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #25D366;
	color: #FFFFFF;
	box-shadow: 0 12px 28px -10px rgba(34, 49, 72, .55);
	transition: transform .18s ease;
}

.shelly-fab:hover { transform: translateY(-2px); color: #FFFFFF; }

@media (max-width: 560px) {
	.shelly-fab { right: 14px; bottom: 14px; width: 50px; height: 50px; }
}

/* ---------------------------------------------------------------- elementor polish */
.elementor-widget-google_maps iframe { border-radius: 22px; }

.elementor-widget-image img { display: block; }

.elementor-accordion .elementor-accordion-item { border-radius: 14px; overflow: hidden; margin-bottom: 12px; }

.elementor a.elementor-button,
.elementor .elementor-button { transition: background-color .18s ease, color .18s ease, border-color .18s ease; }

@media (prefers-reduced-motion: reduce) {
	* { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
