/* Full-width inner pages (prototype) — applied with body.esd-wide.
   Shell: drop Astra's 1240px boxed card so content can span the screen.
   Template pages (div:has(> .intro-text)): every section becomes a full-width band,
   with its content kept to a readable 1180px column in the middle. */

/* ---------- page shell ---------- */
body.esd-wide{background:#fbf8f2}
body.esd-wide #content > .ast-container{max-width:none!important;padding-left:0!important;padding-right:0!important}
body.esd-wide #primary{margin:0!important;padding:0!important;width:100%!important}
body.esd-wide .site-main > article,
body.esd-wide.ast-separate-container .ast-article-single,
body.esd-wide.ast-separate-container .ast-article-post{background:transparent!important;padding:0!important;margin:0!important;box-shadow:none!important}
body.esd-wide .elementor-widget-html{margin-bottom:0!important}
/* Elementor "boxed" containers that hold these designs: let them span the screen */
body.esd-wide .e-con:has(.intro-text, .spa-cta-heading, .hero-banner),
body.esd-wide .e-con:has(.intro-text, .spa-cta-heading, .hero-banner) > .e-con-inner,
body.esd-wide .elementor-section:has(.intro-text, .spa-cta-heading, .hero-banner) > .elementor-container{--content-width:100%;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;padding:0!important;max-width:none!important;width:100%!important}

/* ---------- Laser page (its own layout: banner, offer, price tables) ---------- */
body.esd-wide .hero-banner{height:clamp(320px,38vw,520px)!important;border-radius:0!important;margin:0!important;width:100%!important;max-width:none!important}
body.esd-wide div:has(> .hero-banner) > section{max-width:none!important;width:100%!important;box-sizing:border-box;margin:0!important;padding-left:max(24px, calc((100% - 1240px) / 2))!important;padding-right:max(24px, calc((100% - 1240px) / 2))!important}
body.esd-wide div:has(> .hero-banner) > section.category{padding-top:36px!important;padding-bottom:36px!important;border:0!important}
body.esd-wide div:has(> .hero-banner) > section.category:nth-of-type(even){background:#fff}
body.esd-wide div:has(> .hero-banner) > section.intro h1{font-family:'Marcellus',Georgia,serif!important;font-weight:400!important;font-size:clamp(34px,4.2vw,56px)!important;line-height:1.15!important;color:#1a1712!important}
body.esd-wide div:has(> .hero-banner) > .eal-sale-wrap{padding:32px 24px 0!important}

/* ---------- treatment-page template ---------- */
body.esd-wide div:has(> .intro-text){max-width:none!important;width:100%!important;margin:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important}
body.esd-wide div:has(> .intro-text) > *{
	box-sizing:border-box;max-width:none!important;width:100%!important;margin:0!important;border-radius:0!important;border:0!important;box-shadow:none!important;
	padding:40px max(24px, calc((100% - 1320px) / 2))!important;
}
body.esd-wide div:has(> .intro-text) > :nth-child(odd of :not(style,script,link,meta)){background:#ffffff}
body.esd-wide div:has(> .intro-text) > :nth-child(even of :not(style,script,link,meta)){background:#fbf8f2}

/* no leftover gaps at the top/bottom of each band */
body.esd-wide div:has(> .intro-text) > * > :first-child{margin-top:0!important}
body.esd-wide div:has(> .intro-text) > * > :last-child{margin-bottom:0!important}

/* hero: dark band in the black & gold brand */
body.esd-wide div:has(> .intro-text) > .intro-text{background:#0f0e0c!important;text-align:center;padding-top:56px!important;padding-bottom:56px!important}
body.esd-wide .intro-text h1{font-family:'Marcellus',Georgia,serif!important;font-weight:400!important;font-size:clamp(32px,3.6vw,48px)!important;line-height:1.15!important;color:#f1e6cf!important;margin:0 auto 16px!important;max-width:980px}
body.esd-wide .intro-text h1::before{content:'Elite Aesthetic Lounge';display:block;font:700 12px/1 'Nunito Sans',system-ui,sans-serif;letter-spacing:.32em;text-transform:uppercase;color:#c9a75e;margin-bottom:12px}
body.esd-wide .intro-text p{max-width:960px;margin:0 auto 10px!important;color:#cfc4ad!important;font-size:17px!important;line-height:1.75!important}
body.esd-wide .intro-text p:last-child{margin-bottom:0!important}

/* location: two columns instead of a tall box */
body.esd-wide div:has(> .intro-text) > .location-box{display:grid;grid-template-columns:1fr 1fr;column-gap:56px;align-items:start;background:#f4efe4!important}
body.esd-wide .location-box > :not(ul){grid-column:1}
body.esd-wide .location-box > ul{grid-column:2;grid-row:1 / span 6;margin:0!important;padding:20px 26px!important;background:#fff;border-radius:16px;list-style:none}
body.esd-wide .location-box .location-title{font-family:'Marcellus',Georgia,serif!important;font-weight:400!important;font-size:28px!important;color:#1a1712!important;text-align:left!important;margin:0 0 14px!important}

/* section headings */
body.esd-wide .section-heading,body.esd-wide .faq-title,body.esd-wide div:has(> .intro-text) > div:not(.location-box) > h3:first-child{font-family:'Marcellus',Georgia,serif!important;font-weight:400!important;font-size:clamp(26px,2.2vw,34px)!important;color:#1a1712!important;text-align:center;margin:0 auto 22px!important;border:0!important;padding:0!important;background:none!important}
body.esd-wide .section-heading::after,body.esd-wide .faq-title::after{content:'';display:block;width:56px;height:2px;background:#c9a75e;margin:10px auto 0}

/* treatment rows: image and details side by side, alternating sides */
body.esd-wide .service-wrapper{gap:40px!important;align-items:center!important}
body.esd-wide div:has(> .intro-text) > :nth-child(even of :has(> .service-wrapper)) .service-wrapper{flex-direction:row-reverse}
body.esd-wide .service-wrapper img{border-radius:18px!important;width:100%;height:auto;box-shadow:0 20px 40px rgba(15,14,12,.12)}

/* "more options" price cards: two-up grid */
body.esd-wide div:has(> .intro-text) > div:has(> .treatment-card){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
body.esd-wide div:has(> .intro-text) > div:has(> .treatment-card) > :not(.treatment-card){grid-column:1 / -1}
body.esd-wide .treatment-card{margin:0!important;background:#fff!important;border:1px solid #eae3d3!important;border-radius:16px!important;padding:22px 24px!important;box-shadow:none!important}

/* package cards (couples / men's / retreats): the two lists side by side */
body.esd-wide .package-card{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;align-items:start}
body.esd-wide .package-card > .package-header,body.esd-wide .package-card > p,body.esd-wide .package-card > :first-child:not(.package-header){grid-column:1 / -1}
body.esd-wide .package-card > div:not(.package-header){margin-top:0!important}
body.esd-wide .package-card > :first-child:not(.package-header){justify-self:start;width:auto!important}

/* why choose: three across on wide screens */
body.esd-wide [class*="why-choose-grid"]{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}
body.esd-wide [class*="why-choose-grid"] > *{background:#fff;border-radius:16px;padding:22px!important}

/* FAQ: comfortable reading width */
body.esd-wide .faq-section > *{max-width:960px;margin-left:auto!important;margin-right:auto!important}

/* closing "Begin your wellness journey" box: full-width black & gold band */
body.esd-wide .e-con:has(.spa-cta-heading),body.esd-wide .elementor-section:has(.spa-cta-heading) > .elementor-container{padding:0!important;max-width:none!important}
body.esd-wide div:has(> .spa-cta-heading){max-width:none!important;width:100%!important;margin:0!important;border-radius:0!important;border:0!important;box-shadow:none!important;background:#0f0e0c!important;padding:56px 24px!important;text-align:center}
body.esd-wide .spa-cta-heading{font-family:'Marcellus',Georgia,serif!important;font-weight:400!important;font-size:clamp(30px,3vw,44px)!important;letter-spacing:.04em!important;color:#f1e6cf!important;margin:0 0 12px!important}
body.esd-wide div:has(> .spa-cta-heading) > br{display:none}
body.esd-wide .spa-cta-subtext{color:#cfc4ad!important;font-style:normal!important;font-size:17px!important;margin:0 0 20px!important}
body.esd-wide .spa-book-button{background:#c9a75e!important;color:#0f0e0c!important;border:0!important;border-radius:40px!important;padding:16px 36px!important;font-weight:700!important;letter-spacing:.08em!important}
body.esd-wide .spa-book-button:hover{background:#e3c47f!important}

/* ---------- tablet / phone ---------- */
@media(max-width:1024px){
	body.esd-wide [class*="why-choose-grid"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:780px){
	body.esd-wide div:has(> .spa-cta-heading){padding:40px 20px!important}
}
@media(max-width:780px){
	body.esd-wide div:has(> .intro-text) > *{padding:32px 18px!important}
	body.esd-wide div:has(> .intro-text) > .intro-text{padding-top:40px!important;padding-bottom:40px!important}
	body.esd-wide div:has(> .intro-text) > .location-box{grid-template-columns:1fr;row-gap:20px}
	body.esd-wide .location-box > ul{grid-column:1;grid-row:auto}
	body.esd-wide div:has(> .intro-text) > div:has(> .treatment-card){grid-template-columns:1fr}
	body.esd-wide .package-card{grid-template-columns:1fr;row-gap:16px}
	body.esd-wide div:has(> .intro-text) > :nth-child(even of :has(> .service-wrapper)) .service-wrapper{flex-direction:column}
	body.esd-wide .service-wrapper{gap:24px!important}
	body.esd-wide [class*="why-choose-grid"]{grid-template-columns:1fr!important}
}

/* =====================================================================
   Inner-page enhancements (body.esd-inner, added by inner-enhance.js)
   ===================================================================== */
body.esd-inner .esd-hide{display:none!important}
body.esd-inner .site-footer,body.esd-inner #colophon{display:none!important}
body.esd-inner [id^="esd-s"],body.esd-inner .esd-about,body.esd-inner .esd-reviews{scroll-margin-top:calc(var(--esd-hd-h,90px) + 64px)}
body.esd-inner svg{flex:none}

/* hero summary + buttons + chips */
body.esd-inner .intro-text .esd-lead{max-width:760px;margin:0 auto!important;color:#e2d8c4!important;font-size:19px!important;line-height:1.65!important}
body.esd-inner .esd-ctas{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:26px}
body.esd-inner section.intro .esd-ctas{margin:22px 0 4px}
body.esd-inner .esd-btn{display:inline-flex;align-items:center;gap:8px;background:#c9a75e;color:#0f0e0c!important;border:1px solid #c9a75e;border-radius:40px;padding:13px 26px;font:700 14px/1 'Nunito Sans',system-ui,sans-serif;letter-spacing:.06em;text-decoration:none!important;transition:.25s}
body.esd-inner .esd-btn:hover{background:#e3c47f;border-color:#e3c47f}
body.esd-inner .esd-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}
body.esd-inner .esd-btn-o{background:transparent;color:#e3c47f!important;border-color:rgba(201,167,94,.6)}
body.esd-inner .esd-btn-o:hover{background:#c9a75e;color:#0f0e0c!important}
body.esd-inner section.intro .esd-btn-o{color:#8a6a2e!important}
body.esd-inner .esd-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:22px}
body.esd-inner .esd-chips span{display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(201,167,94,.35);color:#e3c47f;border-radius:30px;padding:7px 15px;font:600 13px/1 'Nunito Sans',system-ui,sans-serif}
body.esd-inner .esd-chips svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8}

/* perks strip */
body.esd-inner .esd-strip{background:#f4efe4!important;padding:16px max(20px, calc((100% - 1320px) / 2))!important}
body.esd-inner .esd-strip-in{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 30px}
body.esd-inner .esd-strip span{display:inline-flex;align-items:center;gap:9px;font:600 14px/1.3 'Nunito Sans',system-ui,sans-serif;color:#2b2722}
body.esd-inner .esd-strip svg{width:20px;height:20px;fill:none;stroke:#a8833e;stroke-width:1.7}

/* jump links */
body.esd-inner .site-content,body.esd-inner #primary,body.esd-inner .site-main,body.esd-inner .site-main > article,body.esd-inner .elementor-widget-html:last-child{margin-bottom:0!important;padding-bottom:0!important}
body.esd-inner .e-con:has(.spa-cta-heading){margin-bottom:0!important}
body.esd-inner #esd-ft .ft{margin-top:0!important}
body.esd-inner .esd-jump{position:sticky;top:var(--esd-hd-h,90px);z-index:40;background:#fff!important;transition:top .35s ease;border-bottom:1px solid #ece5d6!important;padding:0 max(12px, calc((100% - 1320px) / 2))!important;box-shadow:0 6px 16px rgba(15,14,12,.04)}
body.admin-bar.esd-inner .esd-jump{top:calc(var(--esd-hd-h,90px) + 32px)}
body.esd-inner .esd-jump-in{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;justify-content:safe center}
body.esd-inner .esd-jump-in::-webkit-scrollbar{display:none}
body.esd-inner .esd-jump a{flex:none;padding:15px 14px 13px;font:600 14px/1 'Nunito Sans',system-ui,sans-serif;color:#4a443b!important;text-decoration:none!important;border-bottom:2px solid transparent;white-space:nowrap}
body.esd-inner .esd-jump a:hover,body.esd-inner .esd-jump a.on{color:#1a1712!important;border-bottom-color:#c9a75e}

/* booking buttons on treatments */
body.esd-inner .esd-book-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:22px!important}
body.esd-inner section.category .esd-book-row{justify-content:flex-end;margin-top:16px!important}
body.esd-inner .esd-link{display:inline-flex;align-items:center;gap:6px;color:#8a6a2e!important;font:700 14px/1 'Nunito Sans',system-ui,sans-serif;text-decoration:none!important}
body.esd-inner .esd-link svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8}
body.esd-inner .treatment-card{display:flex!important;flex-direction:column}
body.esd-inner .esd-card-book{align-self:flex-end;margin-top:10px;display:inline-flex;align-items:center;gap:6px;color:#8a6a2e!important;font:700 13px/1 'Nunito Sans',system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;text-decoration:none!important;border:1px solid #d9c79f;border-radius:30px;padding:9px 16px}
body.esd-inner .esd-card-book:hover{background:#c9a75e;border-color:#c9a75e;color:#0f0e0c!important}
body.esd-inner .esd-card-book svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2}
body.esd-inner .package-card > .esd-book-row{grid-column:1 / -1}

/* readable text */
body.esd-inner div:has(> .intro-text) p,body.esd-inner div:has(> .intro-text) li,body.esd-inner div:has(> .hero-banner) section:not(.why):not(.cta) p{font-size:16px!important;line-height:1.7!important;color:#3d3a35!important}
body.esd-inner div:has(> .intro-text) .treatment-card p{font-size:15px!important}

/* one heading style everywhere */
body.esd-inner div:has(> .intro-text) h2,body.esd-inner div:has(> .intro-text) h3:not(.location-title),body.esd-inner div:has(> .hero-banner) h2,body.esd-inner div:has(> .hero-banner) section.category h3{font-family:'Marcellus',Georgia,serif!important;font-weight:400!important;color:#1a1712!important;text-transform:none!important;letter-spacing:0!important}
body.esd-inner .package-header h2,body.esd-inner .package-header h3{font-size:30px!important}
body.esd-inner div:has(> .intro-text) h4{color:#1a1712!important}
body.esd-inner div:has(> .intro-text) [style*="background-color: #8B7355"],body.esd-inner div:has(> .intro-text) [style*="background: #8B7355"],body.esd-inner div:has(> .intro-text) [style*="background:#8B7355"],body.esd-inner div:has(> .intro-text) [style*="background-color:#8B7355"]{background:#0f0e0c!important;color:#e2d8c4!important;border-radius:16px!important}
body.esd-inner div:has(> .intro-text) [style*="background-color: #8B7355"] *,body.esd-inner div:has(> .intro-text) [style*="background: #8B7355"] *{color:#e2d8c4!important}

/* laser: dark "why" band keeps light text; closing call-to-action as a black & gold band */
body.esd-inner div:has(> .hero-banner) section.why{background:#0f0e0c!important;padding-top:48px!important;padding-bottom:48px!important}
body.esd-inner div:has(> .hero-banner) section.why h2{color:#f1e6cf!important;text-align:center}
body.esd-inner div:has(> .hero-banner) section.why p{color:#cfc4ad!important;font-size:15px!important;line-height:1.6!important}
body.esd-inner div:has(> .hero-banner) section.why h4{color:#e3c47f!important}
body.esd-inner div:has(> .hero-banner) section.cta{background:#0f0e0c!important;padding-top:56px!important;padding-bottom:56px!important;text-align:center}
body.esd-inner div:has(> .hero-banner) section.cta h2{color:#f1e6cf!important;font-size:clamp(30px,3vw,44px)!important}
body.esd-inner div:has(> .hero-banner) section.cta p{color:#cfc4ad!important;font-size:17px!important}
body.esd-inner div:has(> .hero-banner) section.cta a{background:#c9a75e!important;color:#0f0e0c!important;border:0!important;border-radius:40px!important;padding:15px 34px!important;font-weight:700!important;letter-spacing:.08em}

/* about section */
body.esd-inner .esd-about-body{max-width:900px;margin:0 auto}
body.esd-inner .esd-about-body p{margin:0 0 14px!important}

/* reviews */
body.esd-inner .esd-reviews{background:#0f0e0c!important}
body.esd-inner .esd-reviews .section-heading{color:#f1e6cf!important}
body.esd-inner .esd-reviews .ti-widget .ti-review-item{padding:0 10px!important}
body.esd-inner div:has(> .hero-banner) > .esd-reviews{padding:44px max(24px, calc((100% - 1240px) / 2))!important}

/* FAQ accordion */
body.esd-inner details.esd-faq{border-bottom:1px solid #e6dfd0;padding:0}
body.esd-inner details.esd-faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 4px;font:600 17px/1.4 'Nunito Sans',system-ui,sans-serif!important;color:#1a1712!important;margin:0!important}
body.esd-inner details.esd-faq summary::-webkit-details-marker{display:none}
body.esd-inner details.esd-faq summary::after{content:'+';flex:none;width:30px;height:30px;border-radius:50%;border:1px solid #d9c79f;color:#8a6a2e;display:grid;place-items:center;font:400 20px/1 'Nunito Sans',sans-serif;transition:.2s}
body.esd-inner details.esd-faq[open] summary::after{content:'\2013';background:#c9a75e;border-color:#c9a75e;color:#0f0e0c}
body.esd-inner .esd-faq-a{padding:0 4px 18px}
body.esd-inner .esd-faq-a p{margin:0!important}

/* laser tables: swipe sideways on phones */
body.esd-inner .esd-tscroll{overflow-x:auto;-webkit-overflow-scrolling:touch}

@media(max-width:780px){
	body.esd-inner .intro-text .esd-lead{font-size:17px!important}
	body.esd-inner .esd-ctas .esd-btn{flex:1 1 auto;justify-content:center}
	body.esd-inner .esd-strip-in{justify-content:flex-start;gap:10px 18px}
	body.esd-inner .esd-strip span{font-size:13px}
	body.esd-inner .esd-jump-in{justify-content:flex-start}
	body.esd-inner .esd-tscroll table{min-width:560px}
	body.esd-inner .esd-book-row .esd-btn{width:100%;justify-content:center}
	body.esd-inner .package-header h2,body.esd-inner .package-header h3{font-size:24px!important}
	body.esd-inner{padding-bottom:76px}
	body.esd-inner .elite-whatsapp{display:none!important}
}
