/*
Theme Name: Themify Ultra Child
Description: A child theme of Themify Ultra
Template: themify-ultra
Author: tbranislava@gmail.com (tbranislava@gmail.com)
*/

/* Woohoo! Let's customize! */

:root {
	--stella-pink-accessible: #8a3f5c;
	--stella-teal-accessible: #2d7177;
	--stella-focus: #17233a;
}

/* Accessible interactive states across the existing Themify design. */
.ui.builder_button.pink,
.module-buttons .ui.pink {
	background-color: var(--stella-pink-accessible) !important;
	color: #fff !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid var(--stella-focus) !important;
	outline-offset: 3px;
}

.footer-tel a {
	color: var(--stella-pink-accessible) !important;
}

.site-logo-image {
	aspect-ratio: 13 / 8;
	height: auto;
}

.stella-contact-location {
	background: #f3f8f8;
	padding: clamp(2rem, 5vw, 4rem) max(1.25rem, calc((100vw - 1160px) / 2));
	text-align: center;
}

.stella-page-heading {
	margin: 0 auto;
	max-width: 1160px;
	padding: clamp(2rem, 5vw, 4rem) 1.25rem 1.5rem;
	text-align: center;
}

.stella-page-heading h1 {
	color: #273244;
	font-size: clamp(2rem, 5vw, 3.25rem);
	line-height: 1.15;
	margin: 0 0 .75rem;
}

.stella-page-heading p {
	font-size: 1.0625rem;
	margin: 0;
}

.stella-massage-nav {
	margin: 0 auto;
	max-width: 1160px;
	padding: 0 1.25rem clamp(2.5rem, 6vw, 5rem);
	text-align: center;
}

.stella-massage-nav h2 {
	color: #273244;
	font-size: clamp(1.65rem, 3vw, 2.3rem);
	margin: 0 0 1.25rem;
}

.stella-massage-nav__links {
	display: grid;
	gap: .8rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stella-massage-nav__link {
	align-items: center;
	background: var(--stella-pink-accessible);
	border: 2px solid var(--stella-pink-accessible);
	border-radius: 3px;
	box-sizing: border-box;
	color: #fff !important;
	display: flex;
	font-weight: 700;
	justify-content: center;
	line-height: 1.3;
	min-height: 54px;
	padding: .8rem 1rem;
	text-decoration: none;
}

.stella-massage-nav__link:hover {
	background: #6f3048;
	border-color: #6f3048;
	color: #fff !important;
}

@media (min-width: 901px) {
	.stella-massage-nav__link:last-child {
		grid-column: 2;
	}
}

.stella-contact-location__intro {
	margin: 0 auto 1.5rem;
	max-width: 760px;
}

.stella-contact-location__intro h1 {
	color: #273244;
	font-size: clamp(2rem, 5vw, 3.25rem);
	line-height: 1.15;
	margin: 0 0 .75rem;
}

.stella-map-placeholder {
	align-items: center;
	background: linear-gradient(135deg, #d9eeee, #f8f5f2);
	border: 1px solid #aac9ca;
	display: flex;
	justify-content: center;
	min-height: 360px;
	padding: 2rem;
}

.stella-map-placeholder__panel {
	background: rgba(255, 255, 255, .94);
	border-radius: 6px;
	box-shadow: 0 8px 26px rgba(39, 50, 68, .12);
	max-width: 520px;
	padding: 1.75rem;
}

.stella-map-load {
	background: var(--stella-pink-accessible);
	border: 0;
	border-radius: 3px;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	min-height: 44px;
	padding: .75rem 1.25rem;
}

.stella-map-load:hover {
	background: #6f3048;
}

.stella-map-note {
	color: #4e596a;
	font-size: .9rem;
	margin: .75rem 0 0;
}

.stella-map-frame {
	border: 0;
	display: block;
	min-height: 360px;
	width: 100%;
}

.page-id-1529 .tb_wpp1862 .video-content {
	box-sizing: border-box;
	padding: .75rem 1rem 0;
}

.stella-footer-hours,
.stella-booking-strip {
	margin: .5rem 0;
}

.stella-booking-strip,
.stella-booking-strip a {
	color: #17233a !important;
}

.stella-booking-strip a {
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.page-id-71 .tb_3wlx240 {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: .7rem;
}

.page-id-71 .tb_3wlx240 .module-buttons-item {
	display: flex;
	margin: 0 !important;
	max-width: 260px;
	width: 100%;
}

.page-id-71 .tb_3wlx240 .builder_button {
	box-sizing: border-box;
	justify-content: center;
	margin: 0 !important;
	min-height: 44px;
	text-align: center;
	width: 100%;
}

/* Footer content lives in one balanced three-column grid. */
#footer > .main-col {
	display: none;
}

#footer .section-col,
#footer .footer-widgets-wrap {
	margin: 0;
	width: 100%;
}

#footer .footer-widgets {
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

#footer .footer-widgets > .tf_box {
	float: none;
	margin: 0 !important;
	width: auto !important;
}

#footer .footer-widgets .widget {
	margin: 0 0 .65rem;
}

#footer .footer-widgets h2,
#footer .footer-widgets h3,
#footer .footer-widgets .widgettitle {
	color: #273244;
	font-size: 1.25rem;
	line-height: 1.3;
	margin: 0 0 1rem;
}

#footer .footer-widgets .social-links {
	margin: 0;
	padding: 0;
}

#footer .footer-widgets > .tf_box:first-child .widgettitle {
	color: #f06eaa !important;
	display: block;
	font-size: 1.5rem;
	opacity: 1;
	visibility: visible;
}

.stella-footer-address {
	font-style: normal;
	line-height: 1.75;
}

.stella-footer-address a {
	color: #273244;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Compact text-only language switcher generated by Polylang. */
#main-nav .lang-item > a {
	font-weight: 700;
	padding-left: .45em;
	padding-right: .45em;
	text-transform: uppercase;
}

#main-nav .lang-item.current-lang > a {
	background-image: none !important;
	color: #273244;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.header-horizontal #main-nav > .lang-item > a:hover {
	background-image: none !important;
}

#main-nav .lang-item + .lang-item {
	margin-left: .75em;
	position: relative;
}

#main-nav .lang-item + .lang-item::before {
	color: #868686;
	content: "/";
	left: -.375em;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

/* Keep both desktop menus compact and the language switcher in one row. */
@media (min-width: 1201px) {
	.header-horizontal #main-nav {
		white-space: nowrap;
	}

	.header-horizontal #main-nav > li > a {
		font-size: .86em;
		letter-spacing: .025em;
		padding-left: .55em;
		padding-right: .55em;
	}

	.header-horizontal #main-nav > .lang-item {
		background: rgba(255, 255, 255, .62);
		border-bottom: 1px solid rgba(240, 110, 170, .72);
		border-top: 1px solid rgba(240, 110, 170, .72);
		vertical-align: middle;
	}

	.header-horizontal #main-nav > .lang-item-sr {
		border-left: 1px solid rgba(240, 110, 170, .72);
		border-radius: 999px 0 0 999px;
		margin-left: .75em;
	}

	.header-horizontal #main-nav > .lang-item-en {
		border-radius: 0 999px 999px 0;
		border-right: 1px solid rgba(240, 110, 170, .72);
		margin-left: 0;
	}

	.header-horizontal #main-nav > .lang-item-sr > a {
		padding: .45em .7em .45em .8em;
	}

	.header-horizontal #main-nav > .lang-item-en > a {
		padding: .45em .8em .45em 1.15em;
	}

	.header-horizontal #main-nav > .lang-item-en::before {
		left: .15em;
	}

	.header-horizontal #main-nav ul a {
		font-size: .8em;
		letter-spacing: .02em;
	}

	.header-horizontal #main-nav ul {
		white-space: normal;
	}

	.header-horizontal #main-nav .sub-menu > li + li {
		border-top: 1px solid #353535;
	}
}

#main-nav .stella-submenu-break {
	display: block;
}

/* Long English Pricing captions stay comfortably inside their overlays. */
html[lang="en-US"] .tb_4z7f862.module-image.module .image-title,
html[lang="en-US"] .tb_f2el308.module-image.module .image-title {
	box-sizing: border-box;
	font-size: 2.15em;
	padding-right: .25em;
}

@media (max-width: 680px) {
	.stella-map-placeholder {
		min-height: 300px;
		padding: 1rem;
	}

	.stella-map-placeholder__panel {
		padding: 1.25rem;
	}

	.page-id-77 .contact-info,
	.page-id-1529 .contact-info {
		padding-left: 1.25rem !important;
		padding-right: 1.25rem !important;
	}

	.stella-massage-nav__links,
	#footer .footer-widgets {
		grid-template-columns: 1fr;
	}

	#footer .footer-widgets {
		gap: 2rem;
		text-align: center;
	}
}

@media (min-width: 681px) and (max-width: 900px) {
	.stella-massage-nav__links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.stella-massage-nav__link:last-child {
		grid-column: 1 / -1;
		justify-self: center;
		width: calc(50% - .4rem);
	}
}
