/*==================================================
Salons & Beauty Theme: responsive.css
Global breakpoints: type scale, spacing tokens, header, mobile menu,
footer, sticky CTA and shared components. Desktop-first (designed at 1920).
Page-specific responsive rules live at the end of each page stylesheet.

Breakpoints:
1920+ · 1800 · 1700 · 1600 · 1536 · 1440 · 1366 · 1280 · 1200 ·
laptop 1024–1199 · iPad Pro 1024 · tablet landscape/portrait 991 ·
iPad Air 820 · iPad 768 · mobile landscape · 575 · 479 · 374 · 300
==================================================*/

/*--------------------------------------------------
Large Desktop (1920px and above)
--------------------------------------------------*/
@media (min-width: 1920px) {
	:root {
		--fs-h1: 90px;
		--fs-h2: 58px;
		--section-pad: 112px;
	}
}

/*--------------------------------------------------
1800px
--------------------------------------------------*/
@media (max-width: 1799px) {
	:root {
		--fs-h1: 81px;
		--fs-h2: 56px;
		--section-pad: 104px;
	}
}

/*--------------------------------------------------
1700px
--------------------------------------------------*/
@media (max-width: 1699px) {
	:root {
		--fs-h1: 76px;
		--fs-h2: 54px;
		--section-pad: 100px;
	}
}

/*--------------------------------------------------
1600px
--------------------------------------------------*/
@media (max-width: 1599px) {
	:root {
		--fs-h1: 72px;
		--fs-h2: 52px;
		--fs-h3: 31px;
		--fs-lead: 19px;
		--section-pad: 96px;
	}
}

/*--------------------------------------------------
1536px
--------------------------------------------------*/
@media (max-width: 1535px) {
	:root {
		--fs-h1: 69px;
		--fs-h2: 49px;
		--section-pad: 92px;
	}
}

/*--------------------------------------------------
1440px
--------------------------------------------------*/
@media (max-width: 1439px) {
	:root {
		--fs-h1: 65px;
		--fs-h2: 47px;
		--section-pad: 88px;
		--heading-gap: 48px;
	}

	.primary-nav .menu {
		gap: 32px;
	}
}

/*--------------------------------------------------
1366px
--------------------------------------------------*/
@media (max-width: 1365px) {
	:root {
		--fs-h1: 63px;
		--fs-h2: 47px;
		--fs-h4: 22px;
	}

	.primary-nav .menu {
		gap: 28px;
	}

	.header-actions {
		gap: 18px;
	}
}

/*--------------------------------------------------
1280px
--------------------------------------------------*/
@media (max-width: 1279px) {
	:root {
		--fs-h1: 58px;
		--fs-h2: 45px;
		--fs-h3: 29px;
		--section-pad: 84px;
	}

	.primary-nav .menu {
		gap: 24px;
	}

	.primary-nav .menu a {
		font-size: 15px;
	}

	.site-logo__text {
		font-size: 25px;
	}
}

/*--------------------------------------------------
1200px and below (desktop nav collapses to the menu button)
--------------------------------------------------*/
@media (max-width: 1199px) {
	:root {
		--fs-h1: 56px;
		--fs-h2: 45px;
		--section-pad: 80px;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.site-footer {
		padding-top: 88px;
	}
}

/*--------------------------------------------------
Laptop / iPad Pro landscape & portrait (1024px)
--------------------------------------------------*/
@media (max-width: 1023px) {
	:root {
		--fs-h1: 54px;
		--fs-h2: 43px;
		--fs-lead: 18px;
		--section-pad: 76px;
		--heading-gap: 44px;
	}
}

/*--------------------------------------------------
Tablet landscape & portrait (991px)
--------------------------------------------------*/
@media (max-width: 991px) {
	:root {
		--fs-h1: 52px;
		--fs-h2: 40px;
		--fs-h3: 28px;
		--section-pad: 72px;
	}

	/* Sticky mobile CTA bar */
	.has-sticky-cta {
		padding-bottom: 72px;
	}

	.sticky-cta {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 95;
		display: flex;
		height: 72px;
		background: var(--color-white);
		border-top: 1px solid var(--color-border);
		box-shadow: 0 -8px 24px rgba(21, 48, 44, 0.08);
	}

	.sticky-cta__item {
		display: flex;
		flex: 1;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4px;
		font-size: 13px;
		font-weight: 700;
		color: var(--color-heading);
	}

	.sticky-cta__item + .sticky-cta__item {
		border-left: 1px solid var(--color-border);
	}

	.sticky-cta__item .icon {
		width: 22px;
		height: 22px;
	}

	.sticky-cta__item--primary,
	.sticky-cta__item--primary:hover {
		color: var(--color-white);
		background: var(--color-primary);
	}

	.has-sticky-cta .back-to-top {
		bottom: 88px;
	}


	.faq-item summary {
		font-size: 20px;
	}

	.faq-item__answer {
		padding-right: 0;
	}
}

/*--------------------------------------------------
iPad Air (820px)
--------------------------------------------------*/
@media (max-width: 820px) {
	:root {
		--fs-h1: 49px;
		--fs-h2: 39px;
	}
}

/*--------------------------------------------------
iPad / mobile landscape (767px)
--------------------------------------------------*/
@media (max-width: 767px) {
	:root {
		--fs-base: 17px;
		--fs-h1: 45px;
		--fs-h2: 36px;
		--fs-h3: 27px;
		--fs-h4: 21px;
		--fs-lead: 17px;
		--section-pad: 64px;
		--heading-gap: 36px;
		--header-h: 76px;
		--radius-lg: 24px;
	}

	.site-logo__text {
		font-size: 22px;
	}

	.site-logo__img {
		max-height: 46px;
	}

	.announcement-bar {
		font-size: 14px;
	}

	.common-btn {
		min-height: 52px;
		padding: 14px 26px;
	}

	.site-footer {
		padding-top: 72px;
	}


	.mobile-menu .menu a {
		font-size: 22px;
	}

	.scroll-carousel__btn {
		width: 48px;
		height: 48px;
	}
}

/*--------------------------------------------------
Mobile landscape (short viewports)
--------------------------------------------------*/
@media (max-height: 500px) and (orientation: landscape) {
	.mobile-menu {
		padding: 16px 24px;
	}

	.mobile-menu .menu a {
		padding: 10px 0;
		font-size: 18px;
	}

	.mobile-menu__footer {
		padding-top: 20px;
	}
}

/*--------------------------------------------------
Phones portrait (575px)
--------------------------------------------------*/
@media (max-width: 575px) {
	:root {
		--fs-h1: 40px;
		--fs-h2: 34px;
		--fs-h3: 26px;
		--section-pad: 56px;
		--radius: 16px;
	}

	.container-md {
		--bs-gutter-x: 32px;
	}

	.common-btn-group {
		gap: 12px;
	}

	.header-actions {
		gap: 12px;
	}

	.mobile-menu {
		padding: 20px 20px 28px;
	}

	.faq-item summary {
		padding: 22px 0;
		font-size: 18px;
	}

	.faq-item summary .icon {
		width: 36px;
		height: 36px;
	}

	.back-to-top {
		right: 16px;
		width: 46px;
		height: 46px;
	}
}

/*--------------------------------------------------
Small phones (479px)
--------------------------------------------------*/
@media (max-width: 479px) {
	:root {
		--fs-h1: 38px;
		--fs-h2: 32px;
		--fs-lead: 16px;
		--section-pad: 52px;
	}

	.announcement-bar a {
		display: inline-block;
		margin-left: 4px;
	}
}

/*--------------------------------------------------
Very small phones (374px)
--------------------------------------------------*/
@media (max-width: 374px) {
	:root {
		--fs-base: 16px;
		--fs-h1: 34px;
		--fs-h2: 29px;
		--fs-h3: 25px;
		--fs-h4: 20px;
		--section-pad: 48px;
	}

	.container-md {
		--bs-gutter-x: 28px;
	}

	.site-logo__text {
		font-size: 19px;
	}

	.common-btn {
		padding: 13px 20px;
		font-size: 15px;
	}

	.sticky-cta__item {
		font-size: 12px;
	}
}

/*--------------------------------------------------
Minimum supported width (300px)
--------------------------------------------------*/
@media (max-width: 319px) {
	:root {
		--fs-h1: 30px;
		--fs-h2: 27px;
	}

	.container-md {
		--bs-gutter-x: 24px;
	}

	.site-logo__text {
		font-size: 17px;
	}

	.menu-toggle {
		width: 44px;
		height: 44px;
	}
}

/*==================================================
SHARED SECTIONS & CARDS: Responsive
(cards, inner hero, filters, CTA, offers, testimonials, forms)
==================================================*/

/* 1440px and below */
@media (max-width: 1439px) {
	.offer-card { padding: 36px 30px; }
	.testimonial-card { padding: 36px 30px; }
}

/* 1280px and below */
@media (max-width: 1279px) {
}

/* 1199px and below */
@media (max-width: 1199px) {
	.scroll-carousel__track { grid-auto-columns: calc((100% - 28px) / 2); }
	.offer-card__price strong { font-size: 42px; }
	.inner-hero__media { border-radius: 160px var(--radius-lg) var(--radius-lg) var(--radius-lg); }
}

/* 991px and below */
@media (max-width: 991px) {
	.reviews-summary { justify-content: space-between; }
	.inner-hero { padding: 28px 0 64px; }
	.breadcrumbs { margin-bottom: 32px; }
	.inner-hero__media { max-width: 640px; }
}

/* 767px and below */
@media (max-width: 767px) {
	.scroll-carousel__track { grid-auto-columns: 86%; gap: 16px; }
	.offer-card,
	.testimonial-card { padding: 32px 24px; }
	.testimonial-card__quote-icon { top: 24px; right: 24px; width: 36px; height: 36px; }
	.map-embed { min-height: 360px; }
	.reviews-summary__score strong { font-size: 46px; }
	.inner-hero { padding: 20px 0 52px; }
	.breadcrumbs { margin-bottom: 32px; font-size: 13px; }
	.inner-hero__media { border-radius: 120px var(--radius-lg) var(--radius-lg) var(--radius-lg); }
	.common-form .wpcf7-form { grid-template-columns: 1fr; }
	.common-notice { padding: 18px 20px; }
	/* Filter pills scroll horizontally instead of wrapping into many rows */
	.common-filter ul { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
	.common-filter ul::-webkit-scrollbar { display: none; }
	.common-filter__item { white-space: nowrap; }
	.common-filter--center ul { justify-content: flex-start; }
}

/* 575px and below */
@media (max-width: 575px) {
	.offer-card__price strong { font-size: 38px; }
	.cta-section .common-btn { width: 100%; }
	.inner-hero__buttons .common-btn { width: 100%; }
}

/* 374px and below */
@media (max-width: 374px) {
	.reviews-summary__score strong { font-size: 40px; }
}

/*--------------------------------------------------
Lightbox (phones)
--------------------------------------------------*/
@media (max-width: 1279px) {
}

@media (max-width: 991px) {
}

@media (max-width: 767px) {
	.lightbox { padding: 80px 12px; }
	.lightbox__prev { top: auto; bottom: 16px; left: calc(50% - 64px); transform: none; }
	.lightbox__next { top: auto; bottom: 16px; right: calc(50% - 64px); transform: none; }
}

@media (max-width: 374px) {
}

/*--------------------------------------------------
Brand carousel + footer map
--------------------------------------------------*/
@media (max-width: 767px) {
	.brands-section { padding: 56px 0; }
	.brands-carousel__item { height: 84px; padding: 10px 12px; }
	.brands-carousel .owl-item img.brands-carousel__img { max-height: 44px; }
}

/*==================================================
SALON COMPONENTS & PAGES: Responsive
(home hero/welcome, category tiles, price lists, team, booking,
services blocks, about story, category highlights)
==================================================*/

/* 1399px and below */
@media (max-width: 1399px) {
	.welcome-media { padding: 0 96px 84px 0; }
	.welcome-media__hours { left: -12px; }
	.price-row__name,
	.price-row__price { font-size: 24px; }
}

/* 1199px and below */
@media (max-width: 1199px) {
	.welcome-media { padding: 0 80px 80px 0; }
	.welcome-media__panel { width: 210px; padding: 22px 20px; }
	.welcome-media__panel .welcome-media__panel-title { font-size: 24px; }
	.welcome-media__hours { width: 220px; padding: 18px; }
	.welcome-media__small { width: 170px; }
	.category-tile { min-height: 420px; }
	.category-tile__title { font-size: 34px; }
	.menu-feature__title { font-size: 38px; }
	.menu-feature__body { padding: 30px 28px 32px 40px; }
	.booking-panel { padding: 36px; }
	.booking-progress { grid-template-columns: repeat(2, 1fr); }
	.story-media { padding: 0 64px 64px 0; }
	.story-media__badge { width: 130px; height: 130px; }
	.story-media__badge strong { font-size: 36px; }
	.steps-list__title { font-size: 24px; }
}

/* 991px and below */
@media (max-width: 991px) {
	.welcome-media,
	.story-media { max-width: 560px; margin: 0 auto; }
	.menu-feature,
	.menu-section .common-tabs__panel .menu-feature,
	.services-block .menu-feature { min-height: 380px; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 100px; }
	.steps-media { max-width: 460px; margin: 0 auto; }
	.services-block + .services-block { margin-top: 56px; padding-top: 56px; }
	.services-jump { margin-bottom: 44px; }
	.cat-highlights { padding: 36px 32px; }
	.insta-section .right-side { text-align: left; }


}

/* 767px and below */
@media (max-width: 767px) {
	/* Tabs + filters + category jump links scroll sideways instead of stacking. */
	.common-tabs__list,
	.common-filter,
	.services-jump {
		flex-wrap: nowrap;
		justify-content: flex-start;
		margin-left: -16px;
		margin-right: -16px;
		padding: 0 16px 6px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.common-tabs__list::-webkit-scrollbar,
	.common-filter::-webkit-scrollbar,
	.services-jump::-webkit-scrollbar { display: none; }

	.common-tabs__tab,
	.common-filter__btn,
	.services-jump__link { flex-shrink: 0; white-space: nowrap; }

	.common-tabs__list { margin-bottom: 28px; }
	.marquee-section { padding: 18px 0; }
	.marquee__list li { gap: 24px; padding-right: 24px; font-size: 30px; }
	.welcome-media { padding: 0 48px 120px 0; }
	.welcome-media__main { border-radius: var(--radius-lg) 110px var(--radius-lg) var(--radius-lg); }
	.welcome-media__panel { top: 24px; width: 180px; padding: 18px 16px; }
	.welcome-media__panel p { font-size: 13px; }
	.welcome-media__panel .welcome-media__panel-title { font-size: 21px; }
	.welcome-media__small { right: 0; width: 130px; border-width: 5px; }
	.welcome-media__hours { left: 0; bottom: 0; width: 210px; padding: 14px 16px; font-size: 13px; }
	.category-tile { min-height: 400px; }
	.menu-feature,
	.menu-section .common-tabs__panel .menu-feature,
	.services-block .menu-feature { min-height: 320px; }
	.menu-feature__title { font-size: 34px; }
	.menu-feature__body { padding: 24px 22px 26px 30px; }
	.price-row__name,
	.price-row__price { font-size: 22px; }
	.price-row__body { flex-direction: column; align-items: flex-start; gap: 10px; }
	.team-card__name { font-size: 26px; }
	.portfolio-tile__caption { padding: 40px 16px 14px; }
	.steps-list__item { grid-template-columns: auto 1fr; gap: 14px; }
	.steps-list__icon { display: none; }
	.steps-media__badge { bottom: 18px; padding: 12px 18px; font-size: 14px; }
	.service-card__body { padding: 24px 22px; }
	.story-media { padding: 0 40px 52px 0; }
	.story-media__badge { top: 24px; right: 0; width: 110px; height: 110px; }
	.story-media__badge strong { font-size: 30px; }
	.story-media__badge span { font-size: 11px; }
	.studio-grid__item.is-large img { aspect-ratio: 4 / 3; }
	.insta-section { padding: 56px 0; }
	.booking-panel { padding: 26px 18px; }
	.booking-aside { display: flex; }
	.booking-aside__block { padding: 22px; }
	.booking-progress li { padding: 10px 12px; font-size: 13px; }
	.cat-highlights { padding: 30px 24px; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 64px; }
	.inner-hero.has-cat-color .inner-hero__media { box-shadow: 10px 10px 0 0 var(--cat); }
}

/* 575px and below */
@media (max-width: 575px) {
	.welcome-media__panel,
	.welcome-media__hours { display: none; }
	.welcome-media { padding-bottom: 72px; }
	.welcome-media { padding-right: 32px; }
	.booking-progress { grid-template-columns: 1fr 1fr; gap: 8px; }
	.booking-progress span { width: 24px; height: 24px; font-size: 12px; }
	.offer-card__price strong { font-size: 38px; }
}

/* 374px and below */
@media (max-width: 374px) {
	.welcome-media__hours { width: 180px; }
	.booking-progress { grid-template-columns: 1fr; }
	.price-row__head { flex-wrap: wrap; }
	.price-row__dots { display: none; }
}

/* Booking side panel sits under the form below 1200px, as a two-column grid. */
@media (max-width: 1199px) {
	/* Masonry-style columns: blocks of different heights pack without gaps. */
	.booking-aside { display: block; column-count: 2; column-gap: 18px; }
	.booking-aside > * { margin-bottom: 18px; break-inside: avoid; }
	.booking-aside__selected { column-span: all; }
}

@media (max-width: 767px) {
	.booking-aside { column-count: 1; }
}

/*==================================================
Phones: button pairs share one row
Any .common-btn-group with two buttons stays on one line: equal widths,
text never wraps, padding and font size scale with the screen width.
Groups with three or more buttons still wrap.
==================================================*/
@media (max-width: 575px) {
	body .common-btn-group:not(:has(> :nth-child(3))) {
		flex-wrap: nowrap;
		gap: 10px;
	}

	body .common-btn-group:not(:has(> :nth-child(3))) > .common-btn {
		flex: 1 1 0;
		justify-content: center;
		gap: 6px;
		width: auto;
		min-width: 0;
		min-height: 48px;
		padding: 12px clamp(8px, 2.6vw, 18px);
		font-size: clamp(12px, 3.5vw, 15px);
		line-height: 1.2;
		letter-spacing: 0.01em;
		white-space: nowrap;
	}

	body .common-btn-group:not(:has(> :nth-child(3))) > .common-btn:only-child {
		flex: 0 1 auto;
		padding-right: 28px;
		padding-left: 28px;
	}

	body .common-btn-group:not(:has(> :nth-child(3))) > .common-btn .icon {
		width: 15px;
		height: 15px;
	}
}

/* Very small phones: drop the button icons to keep both labels on one line. */
@media (max-width: 374px) {
	body .common-btn-group:not(:has(> :nth-child(3))) > .common-btn:not(:only-child) .icon {
		display: none;
	}
}

/* Phones: the hero promo pill stays on one line. */
@media (max-width: 575px) {
	.hero-section__promo {
		max-width: 100%;
		padding-right: 14px;
		font-size: clamp(11.5px, 3.3vw, 13px);
		white-space: nowrap;
	}

	.hero-section__promo span {
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.hero-section__promo .icon {
		width: 26px;
		height: 26px;
		padding: 6px;
	}
}

/* Phones: every button label stays on one line and scales down to fit. */
@media (max-width: 575px) {
	body .common-btn {
		max-width: 100%;
		white-space: nowrap;
	}

	body .common-btn:not(.common-btn-group > .common-btn) {
		font-size: clamp(12.5px, 3.6vw, 15px);
		padding-right: clamp(16px, 5vw, 26px);
		padding-left: clamp(16px, 5vw, 26px);
	}
}

/*--------------------------------------------------
1200–1439px: logo with tagline + six menu items + phone + booking button.
The phone becomes icon-only (number kept for screen readers); the button never wraps.
--------------------------------------------------*/
@media (min-width: 1200px) and (max-width: 1439px) {
	.header-phone span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}

.header-book {
	white-space: nowrap;
}
