/* ----------------------------------------------------------------
	Spa demo styles (Canvas Demos)

	Body below is the 1:1 port of the demo stylesheet. The only edits:
	the two url() image refs now point at the demo-scoped CSS support
	assets under demos/spa/images/. Marked ADDITIVE sections (icon font,
	head-style port, hero engine, demo designs) are appended AFTER the
	1:1 body.
-----------------------------------------------------------------*/

:root {
	--cnvs-themecolor: #78c9d1;
	--cnvs-themecolor-rgb: 120, 201, 209;

	--cnvs-body-font: 'Lato', sans-serif;
	--cnvs-primary-font: 'Arimo', sans-serif;
	--cnvs-secondary-font: 'Cookie', cursive;
}

.service-wrap {
	position: relative;
    display: inline-block;
    vertical-align: top;
    padding: 0 55px;
    margin: 0 0 30px;
}

.service-header {
	position: relative;
	margin: 0 0 3px;
}

.service-name {
	display: table-cell;
	width: 1%;
	white-space: nowrap;
	padding-right: 10px;
}

.service-name a {
	font-size: 26px;
	font-weight: 700;
	color: #333;
	letter-spacing: 2px;
	font-family: 'cookie', cursive;
}

.service-dots {
	display: table-cell;
	width: 98%;
}

.separator-dots {
	display: block;
	width: 100%;
	border-bottom: 1px dashed #78c9d1;
}

.service-price {
	display: table-cell;
	width: 1%;
	padding-left: 10px;
	font-size: 26px;
	font-weight: 700;
	font-family: 'cookie', cursive;
}

p.service-desc {
	font-size: 15px;
	color: #777;
}

.heading-block h3 {
	text-transform: none;
	font-size: 38px;
	font-family: 'Cookie';
}

.heading-block::after {
	width: auto;
	height: 14px;
	background-image: url('spa/images/divider.png');
	background-repeat: no-repeat;
	background-position: left center;
	border-top: none;
}

.heading-block.center::after { background-position: center center; }
.heading-block.tright::after { background-position: right center; }

.button.button-full {
	font-family: 'Playfair Display';
	font-style: italic;
	letter-spacing: 1px;
	font-size: 30px;
	padding: 40px 0;
}

.feature-box h3 span.subtitle {
	font-size: 22px;
	color: #888;
	font-weight: normal;
}

form label { margin-bottom: 5px; }

.sm-form-control {
	background-color: #F5F5F5;
	border-color: transparent;
	padding: 9px 14px;
}

.form-control.error,
.sm-form-control.error { border: 2px solid #E42C3E; }

.css3-spinner > div { top: 54%; }

.css3-spinner { background-color: #78c9d1 }

.css3-spinner::after {
	content: '';
	position: absolute;
	background-image: url('spa/images/loader.png');
	background-repeat: no-repeat;
	top: 50%;
	left: 50%;
	width: 46px;
	height: 98px;
	margin-left: -23px;
	margin-top: -90px;
	background-position: center center;
	z-index: 99999999;
}

@media (max-width: 991px) {
	.service-wrap {
		padding: 0;
		margin: 0 0 10px;
	}
	.accordion.accordion-bg .acc_content {
		padding: 10px 0 15px 5px;
	}
}

/* ================================================================
	Spa demo: ADDITIVE (page head <style> port) section.
	The source page embeds an inline <style> block; its testimonial
	fslider rule is ported verbatim here. Its Fashion-* caption-font
	rules are ported into the hero section below, selector lists
	included.
	================================================================ */

.restaurant-reviews .flex-control-nav {
	top: auto;
	bottom: 25px;
}

/* ================================================================
	Spa demo: ADDITIVE (hero engine) section.
	The source hero runs on a slider engine the theme does not ship;
	the demo rebuilds it on the theme's own #slider.swiper_wrapper
	engine. These rules reproduce the source caption typography: the
	engine stylesheet's Fashion-* base metrics merged with the page's
	inline <style> overrides and the per-layer responsive font sizes,
	plus the source's bullet rail (vertical, left-centred) and the
	per-slide "next slide" chevron control.
	================================================================ */

#slider .Fashion-SmallText,
.tp-caption.Fashion-SmallText,
.Fashion-SmallText {
	font-family: 'Lato';
	color: #FFF;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 2px;
	line-height: 20px;
}

#slider .Fashion-BigDisplay,
.tp-caption.Fashion-BigDisplay,
.Fashion-BigDisplay {
	font-family: 'Cookie';
	letter-spacing: 1px;
	font-weight: 700;
	color: #FFF;
	text-transform: capitalize;
	font-size: 80px;
	line-height: 100px;
}

#slider .Fashion-TextBlock,
.tp-caption.Fashion-TextBlock,
.Fashion-TextBlock {
	font-family: 'Lato';
	color: #FFF;
	font-size: 20px;
	font-weight: 400;
	letter-spacing: 2px;
	line-height: 40px;
}

@media (max-width: 1239.98px) {
	#slider .Fashion-BigDisplay,
	.Fashion-BigDisplay { font-size: 50px; line-height: 50px; }
	#slider .Fashion-TextBlock,
	.Fashion-TextBlock { font-size: 17px; line-height: 30px; }
}

@media (max-width: 777.98px) {
	#slider .Fashion-BigDisplay,
	.Fashion-BigDisplay { font-size: 56px; line-height: 50px; }
}

/* Below the smallest grid level the source engine scales captions
   proportionally to the viewport (56/480, 12/480, 17/480, 30/480). */
@media (max-width: 480px) {
	#slider .Fashion-BigDisplay,
	.Fashion-BigDisplay { font-size: 11.66vw; line-height: 10.42vw; }
	#slider .Fashion-SmallText,
	.Fashion-SmallText { font-size: 2.5vw; }
	#slider .Fashion-TextBlock,
	.Fashion-TextBlock { font-size: 3.54vw; line-height: 6.25vw; }
}

/* Light (non-dark) slide caption colors (source slide 2 layer styles). */
#slider .swiper-slide:not(.dark) .Fashion-BigDisplay,
#slider .swiper-slide:not(.dark) .Fashion-TextBlock { color: #222; }
#slider .swiper-slide:not(.dark) .Fashion-SmallText { color: rgba(0, 0, 0, 0.6); }

/* The source hero engine runs fullscreen at EVERY width (its inline height
   overrides the section's min-vh classes below md too): match the render. */
#slider.slider-element.swiper_wrapper {
	min-height: 100vh !important;
}

/* Per-slide "jump to next slide" chevron (source bottom-right layer). */
#slider .slide-jump-next {
	position: absolute;
	bottom: 40px;
	right: 40px;
	z-index: 20;
	font-size: 20px;
	line-height: 22px;
	font-weight: 400;
	padding: 3px 8px;
	border: 1px solid rgba(255, 255, 255, 1);
	border-radius: 30px;
	color: #FFF;
	cursor: pointer;
}

#slider .swiper-slide:not(.dark) .slide-jump-next {
	color: rgba(0, 0, 0, 1);
	border-color: rgba(0, 0, 0, 1);
}

/* Bullet rail: vertical, left-centred (source bullets h_align left,
   h_offset 30, direction vertical, space 8). */
#slider .swiper-pagination {
	position: absolute;
	left: 30px;
	right: auto;
	top: 50%;
	bottom: auto;
	transform: translateY(-50%);
	width: auto;
	display: flex;
	flex-direction: column;
	gap: 8px;
	z-index: 21;
}

#slider .swiper-pagination .swiper-pagination-bullet {
	width: 13px;
	height: 13px;
	margin: 0;
	background: radial-gradient(circle, #FFF 0 3px, transparent 3.5px);
	border: 1px solid transparent;
	opacity: 0.6;
	transition: opacity 0.3s ease, border-color 0.3s ease;
}

#slider .swiper-pagination .swiper-pagination-bullet-active {
	border-color: #FFF;
	opacity: 1;
}

/* Slide-1/2 caption cluster: the source positions the caption block
   right of centre (per-level h-offsets 255/231/211/62) with LEFT-aligned
   text inside the centred zone. */
#slider .caption-cluster {
	width: fit-content;
	align-self: center;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	transform: translate(255px, 50px);
}

@media (max-width: 1239.98px) {
	#slider .caption-cluster { transform: translate(231px, 50px); }
}

@media (max-width: 1023.98px) {
	#slider .caption-cluster { transform: translate(211px, 50px); }
}

@media (max-width: 777.98px) {
	#slider .caption-cluster { transform: translate(62px, 40px); }
}

/* Slide-1/2 caption list: the check column + treatment names render as
   one inline-checked list block, left-aligned inside the centred caption. */
#slider .slide-list {
	display: inline-block;
	text-align: left;
}

/* ================================================================
	Spa demo: ADDITIVE (demo designs) section.
	Demo-scoped designs the source has no page for: the page-title
	band under the transparent dark header (treatment singles,
	archives, search: law-firm precedent), and the Treatment single
	(two-column details + related price rows). Tokens only.
	================================================================ */

.spa .page-title,
.spa-single .page-title,
.spa-archive .page-title,
.spa-post .page-title {
	background: linear-gradient(135deg, var(--cnvs-themecolor), rgba(var(--cnvs-themecolor-rgb), 0.6));
}

.spa .page-title h1,
.spa-single .page-title h1,
.spa-archive .page-title h1,
.spa-post .page-title h1 {
	font-family: 'Cookie', cursive;
	text-transform: capitalize;
	font-size: 44px;
}

/* Treatment single */
.spa-single .single-treatment-media img {
	width: 100%;
	border-radius: 6px;
}

.spa-single .single-treatment-meta .treatment-category {
	display: inline-block;
	font-family: 'Lato', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--cnvs-themecolor);
	margin-bottom: 10px;
}

.spa-single .single-treatment-meta .item-price {
	font-family: 'cookie', cursive;
	font-size: 44px;
	font-weight: 700;
	line-height: 1;
	color: var(--cnvs-themecolor);
	margin-bottom: 15px;
}

.spa-single .treatment-attributes {
	list-style: none;
	margin: 20px 0 25px;
	padding: 15px 0 0;
	border-top: 1px dashed var(--cnvs-themecolor);
}

.spa-single .treatment-attributes li {
	display: flex;
	justify-content: space-between;
	padding: 4px 0;
}

.spa-single .treatment-attributes .attr-label {
	color: #777;
}

.spa-single .single-treatment-footer {
	margin-top: 50px;
}

.spa-single .single-treatment-footer .related-treatments {
	margin-top: 40px;
}

.spa-single .related-treatments-title {
	font-family: 'Cookie', cursive;
	text-transform: none;
	font-size: 38px;
	margin-bottom: 30px;
}

/* Reserve form: the source's `form label { margin-bottom: 5px }` value on the
   form system's own label class (which otherwise carries a larger default). */
#section-contact .cnvs-field-label,
.spa .cnvs-form .cnvs-field-label {
	margin-bottom: 5px;
}
