/* Restore the original preview identity while retaining the PHP booking UI. */
html{overflow-x:clip}
/* Keep the page at its current position while any stacked dialog is open,
   including on iOS where body overflow:hidden alone does not stop scrolling. */
html.dialog-scroll-locked{overflow:hidden;overscroll-behavior:none}
html.dialog-scroll-locked body{position:fixed;top:var(--locked-scroll-top);left:0;right:0;width:100%;overflow:hidden}
dialog{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
/* One clean gold close icon for booking, account, management and treatment dialogs.
   Keep the full touch target, but draw only two fine strokes without a frame. */
body dialog button:is(.dialog-close,.treatment-dialog-close){
 width:44px!important;height:44px!important;min-width:44px;min-height:44px;
 padding:0!important;border:0!important;border-radius:0!important;
 background:transparent!important;color:var(--gold)!important;
 font-size:0!important;line-height:1;box-shadow:none!important;outline:none!important;
 -webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;
}
body dialog button:is(.dialog-close,.treatment-dialog-close)::before,
body dialog button:is(.dialog-close,.treatment-dialog-close)::after{
 content:"";position:absolute;top:50%;left:50%;width:23px;height:2px;
 border-radius:1px;background:var(--gold);pointer-events:none;
 transform:translate(-50%,-50%) rotate(45deg);
}
body dialog button:is(.dialog-close,.treatment-dialog-close)::after{transform:translate(-50%,-50%) rotate(-45deg)}
body dialog button:is(.dialog-close,.treatment-dialog-close):hover::before,
body dialog button:is(.dialog-close,.treatment-dialog-close):hover::after{background:#87611e}
body dialog button:is(.dialog-close,.treatment-dialog-close):focus-visible::before,
body dialog button:is(.dialog-close,.treatment-dialog-close):focus-visible::after{background:#785014;height:3px}
/* Persian headings align right; their close controls belong on the opposite side. */
body.rtl-language dialog button:is(.dialog-close,.treatment-dialog-close){right:auto;left:18px}
body.rtl-language #booking-dialog .dialog-close{float:left;right:auto;left:0}
:root{--ink:#102e36;--ink-soft:#49626a;--paper:#faeef2;--paper-deep:#efdce3;--gold:#b78634;--line:#d9bac4;--rose:#b9677a;--surface:#fffafd;--sans:"Avenir Next",Avenir,"Segoe UI",Arial,sans-serif}
body{background-color:var(--paper);background-image:radial-gradient(ellipse at 8% 6%,rgba(215,142,164,.30),transparent 31%),radial-gradient(ellipse at 92% 17%,rgba(239,199,211,.52),transparent 36%),radial-gradient(circle at 84% 86%,rgba(183,134,52,.09),transparent 25%),linear-gradient(145deg,#fff9fa 0%,#faedf1 48%,#f7e8ed 100%);background-attachment:fixed}
.site-header{display:flex;flex-wrap:nowrap;justify-content:center;gap:clamp(12px,1.8vw,24px);min-height:64px;padding:10px clamp(20px,5vw,76px)}
.site-header .main-nav{margin-inline-start:0;gap:20px;flex-shrink:0}
.site-header .language-picker{width:auto;min-width:66px;flex:0 0 auto;padding:7px 9px}
.site-header .header-actions{flex-wrap:nowrap;gap:12px;flex-shrink:0;white-space:nowrap;font-size:.9rem}
.site-header .sound-player{flex-shrink:0}.site-header .sound-toggle{white-space:nowrap}
.hero-copy{padding:clamp(40px,6vw,92px) clamp(28px,5vw,80px)}
.hero h1{font-size:clamp(2.9rem,5.1vw,5.4rem);line-height:1.06;max-width:18ch;text-wrap:balance}
.hero-text{line-height:1.8;max-width:42ch}.hero-actions .button{border-radius:8px}.hero-copy>.eyebrow{letter-spacing:.18em}
.app-section{background:rgba(255,250,252,.78);border-radius:12px;max-width:1040px}
.app-section h2{font-size:clamp(2rem,4vw,3rem);line-height:1.08}.app-section h3{font-size:18px}
.price-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.price-list .price-category{border-radius:0;background:#fbfaf6}
.price-list .price-category>summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;padding:19px 22px;list-style:none}
.price-list .price-category>summary::-webkit-details-marker{display:none}
.price-category summary strong{font-family:var(--serif);font-size:1.55rem;font-weight:400}
.price-category summary small{font-size:.8rem;font-weight:400}
.price-category .price-category-items{margin:0;padding:0 22px}
.booking-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px}
#booking-services details{background:var(--surface);overflow:hidden;margin:0 0 8px}
#booking-services summary{padding:14px 16px;line-height:1.4}
.service-choice{font-size:13px}.app-section .staff-tile{padding:9px 10px}.choice-tiles button{font-size:13px!important;min-width:70px}
.calendar-toolbar{align-items:center;padding:0;margin:28px 0 14px}.calendar-toolbar h3{font-family:var(--serif);font-size:28px;font-weight:400;margin:0}
.calendar#calendar{grid-template-columns:repeat(7,minmax(0,1fr));max-height:none;overflow:visible;border-radius:0;min-width:0}
.calendar-day{min-width:0;min-height:220px;padding:9px;background:rgba(255,255,255,.56)}
.calendar[data-view=month] .calendar-day{min-height:124px}
.calendar-day.is-outside{background:rgba(239,220,227,.34)}.calendar-day.is-closed{background-color:rgba(215,142,164,.10)}
.calendar-day.is-today{box-shadow:inset 0 3px 0 var(--gold)}
.calendar-day>h4{position:static;min-height:0;background:transparent;margin:0 0 9px;padding:0;display:flex;justify-content:space-between;gap:4px;font-size:12px}
.calendar-day.is-today>h4{background:transparent;color:var(--ink)}
.calendar-day-number{display:grid;place-items:center;width:25px;height:25px;border-radius:50%}.is-today .calendar-day-number{background:var(--gold)}
.calendar-event-list{display:grid;gap:6px}
#calendar .calendar-event{margin:0;padding:7px 8px!important;border:0;border-inline-start:3px solid #b78634;border-radius:0;background:#f7ebcf!important;font-size:11.5px!important;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
#calendar .calendar-event.parmis{background:#f0e0ea!important;border-color:#9a5b86}
#calendar .calendar-event time,#calendar .calendar-event strong,#calendar .calendar-event small{display:block;white-space:normal;overflow:visible;text-overflow:clip}
#calendar .calendar-event time{font-weight:800;margin-bottom:3px}#calendar .calendar-event small{font-size:10px;margin-top:3px;color:var(--ink-soft)}
.calendar-empty{padding:24px 0;color:var(--ink-soft);font-size:12px;text-align:center}
.calendar.is-moving{opacity:.7;pointer-events:none}.calendar-event.is-dragging{opacity:.35}
.calendar-view-buttons{display:flex}.app-section .calendar-view-buttons button{border-radius:0;font-size:13px}.app-section .calendar-view-buttons button[aria-pressed=true]{background:var(--ink);color:white}
.calendar-legend{display:flex;gap:18px;font-size:12px;margin:12px 0}.calendar-legend span::before{content:'';display:inline-block;width:9px;height:9px;margin-inline-end:6px;background:#b78634;border-radius:50%}.calendar-legend span:last-child::before{background:#9a5b86}
@media(max-width:1180px) and (min-width:881px){.site-header{gap:12px;padding-inline:24px}.site-header .main-nav{gap:14px;font-size:.88rem}.sound-track-name{display:none}.sound-toggle [data-sound-label]{display:none}.sound-toggle{padding:7px 10px}.brand{font-size:.95rem}}
@media(max-width:880px){.site-header{flex-wrap:wrap;gap:10px}.site-header .brand{margin-inline-end:auto}.site-header .main-nav{order:3;width:100%;justify-content:center;margin:0;padding-top:4px}.site-header .sound-track-name{display:none}.site-header .sound-toggle [data-sound-label]{display:none}.site-header .sound-toggle{padding:7px 10px}.price-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.booking-columns{grid-template-columns:1fr}.calendar#calendar{grid-template-columns:repeat(7,minmax(100px,1fr));overflow:auto;max-height:650px}.calendar-day{min-height:150px;padding:6px}.calendar-toolbar h3{font-size:25px}.calendar-toolbar{gap:8px}.calendar-view-buttons{margin-inline-start:auto}}
@media(max-width:600px){.hero h1{font-size:clamp(2.6rem,10vw,3.6rem)}.hero-copy{padding:42px 24px}.site-header{padding:12px 16px}.site-header .brand{font-size:14px}.site-header .sound-player{order:4}.site-header .header-actions{order:4;margin-inline-start:auto}.site-header .main-nav{justify-content:space-between}.price-list{grid-template-columns:1fr}.price-list .price-category>summary{padding:16px}.app-section{padding:20px}.calendar-toolbar h3{flex-basis:100%}}
.admin-toolbar {display:none}
.admin-view .admin-toolbar {display:flex;align-items:center;gap:18px;padding:20px 5%;background:#faf6f0;border-bottom:1px solid #d9cec2;flex-wrap:wrap}
.admin-toolbar strong {flex:1}
.admin-view .site-header,.admin-view .site-footer,.admin-view main > :not(#admin),.admin-view body > section:not(#admin-entry):not(#admin) {display:none!important}
.admin-view #admin-entry:not([hidden]) {display:block!important;max-width:600px;margin:60px auto}
.admin-view:not(.owner-signed-in) .owner-only {display:none}
.admin-view #admin:not([hidden]) {display:block!important;max-width:1400px;margin:20px auto}
.site-footer {position:relative;justify-content:center;padding-bottom:45px;text-align:center}
#auth-dialog[data-mode="register"] .auth-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:12px}
#auth-dialog[data-mode="register"] .auth-actions #auth-submit{width:100%;min-width:0;white-space:normal}
#auth-dialog[data-mode="register"] .auth-actions #auth-links{display:block;min-width:0;margin:0}
#auth-dialog[data-mode="register"] .auth-actions #auth-links button{width:100%;height:100%;white-space:normal}
.phone-services {max-height:250px;overflow:auto;border:1px solid #dacfc4;padding:12px;border-radius:10px}
.phone-services label {display:flex;gap:10px;align-items:center;padding:7px}
.phone-services input {width:auto!important;appearance:auto!important}
.password-wrap {position:relative;width:100%;direction:ltr}
.password-wrap input {width:100%;padding-right:52px!important;box-sizing:border-box}
.password-wrap .password-toggle {position:absolute;right:4px;top:50%;transform:translateY(-50%);width:44px;min-height:44px;padding:8px;display:grid;place-items:center;border:0;background:transparent;color:#355f59;border-radius:8px;cursor:pointer}
.password-toggle:focus-visible {outline:2px solid #355f59;outline-offset:1px}
.password-toggle .eye-slash {display:none}
.password-toggle[aria-pressed="true"] .eye-slash {display:block}
.google-review-card {width:100%;min-height:340px;border:1px solid #d9cec2;border-radius:18px;background:#faf6f0}
.hero.hero-illustrated {position:relative;display:block;isolation:isolate;min-height:580px;background:#f5e4df}
.hero-illustrated .hero-image-wrap {position:absolute;inset:0;z-index:-2;border:0;min-height:100%;width:100%}
.hero-illustrated .hero-image-wrap::after {background:linear-gradient(90deg,rgba(251,244,236,.97),rgba(251,244,236,.88) 35%,rgba(251,244,236,.12) 75%)}
.hero-illustrated .hero-copy {position:relative;z-index:2;width:min(650px,65%);background:transparent;box-sizing:border-box}
.hero-illustrated .hero-motion {display:none}
.hero-illustrated .hero-copy h1,.hero-illustrated .hero-text {color:#183c39}
.hero-illustrated .button-ghost {color:#183c39;border-color:#52716b;background:rgba(255,250,243,.6)}
.price-choice {cursor:pointer;display:flex;align-items:center;gap:12px}
.price-choice input {width:20px!important;height:20px;appearance:auto!important;flex:0 0 20px;accent-color:#355f59}
.price-choice span {flex:1}
.price-booking-action {padding:12px 0;text-align:center}
.price-booking-action .button {width:100%;font-size:.85rem;white-space:normal}
@media(max-width:700px){.hero.hero-illustrated{min-height:620px}.hero-illustrated .hero-copy{width:100%;padding:48px 24px}.hero-illustrated .hero-image-wrap::after{background:linear-gradient(180deg,rgba(251,244,236,.95),rgba(251,244,236,.86) 55%,rgba(251,244,236,.15))}}
.hero.hero-illustrated {height:100svh;min-height:700px;width:100%;display:flex;align-items:center}
.hero-illustrated .hero-image-wrap {height:100%;min-height:0;max-width:none}
.hero-illustrated .hero-copy {max-height:100%;overflow:auto}
#calendar .calendar-event,.calendar-leave {background:#e5d7f5!important;border-color:#8956b0!important;color:#40235c!important}
#calendar .calendar-event.parmis,.calendar-leave.parmis {background:#f9dce7!important;border-color:#bf678a!important;color:#662e46!important}
.calendar-leave {padding:8px;border-inline-start:3px solid;font-size:12px;border-radius:5px}
.calendar-legend span:first-child::before {background:#8956b0!important}
.calendar-legend span:last-child::before {background:#bf678a!important}
#rules .rules-grid>article {border:1px solid #d9bac4;border-radius:12px;padding:22px;background:#fffafc;min-width:0}
#booking-dialog {width:min(1100px,calc(100vw - 24px));max-width:1100px;max-height:92dvh;padding:20px;box-sizing:border-box}
#booking-dialog .booking-zone {margin:0;padding:24px;border:0;background:transparent}
#booking-dialog .dialog-close {position:sticky;top:0;float:right;z-index:5;background:#fffaf8;border-radius:50%;width:36px;height:36px}
body:has(#booking-dialog[open]) {overflow:hidden}
.admin-toolbar {flex-wrap:wrap;gap:12px}
.admin-tabs,.customer-alphabet {display:flex;flex-wrap:wrap;gap:8px}
.admin-tabs button,.customer-alphabet button {padding:9px 12px;border:1px solid #cbb5c5;border-radius:8px;background:#fff8fc;color:#183c39;cursor:pointer;font:inherit}
.admin-tabs button[aria-pressed=true],.customer-alphabet button[aria-pressed=true] {background:#e5d7f5}
.admin-tabs .button {font-size:inherit;padding:9px 12px}
#admin>details>summary {display:none}
#admin>details {padding:18px}
body:not(.admin-view) #admin {display:none!important}
body:not(.owner-signed-in) .admin-tabs {display:none}
.admin-toolbar .admin-tabs {flex:1;justify-content:flex-end}
.admin-toolbar .admin-tabs button {font-size:13px;padding:9px 10px}
#admin-prices {display:block;direction:ltr}
#admin-prices .price-row {display:grid;grid-template-columns:minmax(0,1fr) 90px 110px 115px;align-items:center;gap:12px;text-align:left}
#admin-prices .price-row strong {text-align:right;font-variant-numeric:tabular-nums}
#admin-prices .price-row button {width:100%}
#service-form {grid-template-columns:1fr}
#service-form select,#manage-dialog #category-form input {background:#fff!important;color:#173b35!important;border:1px solid #93aaa1!important;font-size:16px;line-height:1.4}
#service-form select option {background:#fff;color:#173b35}
.admin-category-manager {display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin:16px 0 22px;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fffaf7}
.admin-category-manager .field {flex:1 1 260px;max-width:480px;min-width:0;margin:0}
#admin-category {width:100%;height:48px;margin-top:6px;box-sizing:border-box;background:#fff!important;color:#173b35!important;border:1px solid #93aaa1!important;font-size:16px;line-height:1.4}
#admin-category option {background:#fff;color:#173b35}
.admin-category-actions {display:flex;gap:10px;flex-wrap:wrap}
.admin-category-actions button {min-height:48px}
.admin-category-actions button:disabled {opacity:.5;cursor:not-allowed}
@media(max-width:540px){.admin-category-manager .field{flex-basis:100%;max-width:none}.admin-category-actions{width:100%}.admin-category-actions button{flex:1}}
#admin-prices .archived-categories {background:#f6f3ef}
#admin-prices .archived-categories>summary {color:#54675e}
.cancel-calendar-booking {margin-top:18px;color:#8b2345!important;border-color:#b9657d!important}
.owner-signed-in .admin-toolbar button,.owner-signed-in #admin button:not(.calendar-event),.owner-signed-in #manage-dialog button:not(.dialog-close) {background:#b78634!important;color:#172e2b!important;border:1px solid #987027!important;border-radius:8px}
.owner-signed-in .admin-tabs button[aria-pressed=true],.owner-signed-in #admin button[aria-pressed=true] {background:#e7c575!important;box-shadow:inset 0 0 0 2px #987027}
.owner-signed-in .admin-toolbar button:hover,.owner-signed-in #admin button:not(.calendar-event):hover {background:#d2a955!important}
.owner-signed-in .admin-toolbar {flex-wrap:nowrap;gap:10px;padding-inline:16px}
.owner-signed-in .admin-toolbar>strong,.owner-signed-in .admin-toolbar>a {flex-shrink:0;white-space:nowrap}
.owner-signed-in .admin-toolbar .admin-tabs {flex-wrap:nowrap;justify-content:flex-start;min-width:0;overflow-x:auto;padding:4px;scrollbar-width:thin}
.owner-signed-in .admin-tabs button {flex-shrink:0;white-space:nowrap}
.owner-signed-in .admin-toolbar button[data-auth="password"],.owner-signed-in .admin-toolbar #admin-signout {background:#e2e3e4!important;color:#343b3d!important;border-color:#a6abad!important;box-shadow:none}
.owner-signed-in .admin-toolbar button[data-auth="password"]:hover,.owner-signed-in .admin-toolbar #admin-signout:hover {background:#cdd0d2!important}
.owner-signed-in .admin-toolbar {display:grid;grid-template-columns:auto 1fr}
.owner-signed-in .admin-toolbar .admin-tabs {grid-column:1/-1;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));width:100%;overflow:visible;padding:0;gap:6px}
.owner-signed-in .admin-toolbar .admin-tabs button {min-width:0;white-space:normal;overflow-wrap:break-word;padding:9px 5px;font-size:12px;line-height:1.25}
@media(max-width:600px){.owner-signed-in .admin-toolbar .admin-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}}
.owner-signed-in .admin-toolbar .admin-tabs button {font-size:15px;font-weight:700;line-height:1.4;min-height:48px;color:#142622!important;background:#d7b15f!important}
.owner-signed-in #admin button:not(.calendar-event),.owner-signed-in #manage-dialog button:not(.dialog-close) {font-size:15px;font-weight:700;color:#142622!important;background:#d7b15f!important}
.owner-signed-in .admin-toolbar .admin-tabs button[data-auth="password"],.owner-signed-in .admin-toolbar .admin-tabs #admin-signout {background:#e2e3e4!important;color:#252c2e!important}
.owner-signed-in .admin-toolbar .admin-tabs {grid-template-columns:repeat(9,minmax(0,1fr))}
.admin-tabs .back-to-site {display:flex;align-items:center;justify-content:center;text-align:center;padding:9px 5px;min-height:48px;box-sizing:border-box;border:1px solid #28624c;border-radius:8px;background:#347657;color:#fff!important;font-size:15px;font-weight:700;line-height:1.4;text-decoration:none;white-space:normal}
.admin-tabs .back-to-site:hover {background:#275d44}
.hero.hero-illustrated {direction:ltr}
.rtl-language .hero-illustrated .hero-copy {direction:rtl;text-align:right;margin-left:0;margin-right:auto}
.rtl-language .hero-illustrated .hero-image-wrap {border:0;direction:ltr}
@media(min-width:601px) and (max-width:880px){body .site-header{flex-wrap:nowrap}body .site-header .main-nav{order:0;width:auto;padding:0}body .site-header .header-actions{order:0}}
@media(max-width:600px){
 body .site-header{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:3px;padding:8px 5px;min-height:48px;align-items:center}
 body .site-header .main-nav{order:1;flex:0 1 auto;min-width:0;width:auto;justify-content:flex-start;margin:0;padding:0}
 body .site-header .main-nav a{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;padding:5px 0;border:0;border-radius:0;font-size:11px;background:transparent;color:var(--ink);font-weight:600}
 body .site-header .header-actions{order:2;flex:0 1 auto;display:flex;flex-direction:row;justify-content:flex-end;gap:3px;white-space:nowrap;margin:0;min-width:0}
 body .site-header .header-actions>*{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;padding:5px 0;text-align:center;font-size:11px;border:0;border-radius:0;line-height:1.25;background:transparent;color:var(--ink);box-shadow:none;font-weight:600;white-space:nowrap}
 body .site-header .language-picker{order:3;flex:0 0 53px;width:53px;min-width:0;margin:0;padding:5px 2px;font-size:11px}
 body .site-header .sound-player{order:4;flex:0 0 auto;margin:0;gap:1px;align-self:center}
 body .site-header .sound-player button{width:22px;min-width:22px;min-height:30px;padding:0;justify-content:center}
 body .site-header .sound-player .sound-toggle{width:27px;min-width:27px;gap:0}
}
@media(max-width:350px){
 body .site-header{gap:2px;padding-inline:4px}
 body .site-header .main-nav a,body .site-header .header-actions>*{font-size:10px}
 body .site-header .header-actions{gap:2px}
 body .site-header .language-picker{flex-basis:49px;width:49px}
 body .site-header .sound-player button{width:20px;min-width:20px}
 body .site-header .sound-player .sound-toggle{width:24px;min-width:24px}
}
@media(max-width:600px){.owner-signed-in .admin-toolbar .admin-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:550px){#admin-prices .price-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#admin-prices .price-row strong{text-align:right}#admin-prices .price-row button{grid-column:auto}}
/* Keep the opening image tall enough when Safari's browser bars retract.
   Stretch its absolute frame using inset, without a percentage height on an auto-height hero. */
@media(max-width:700px){
  .hero.hero-illustrated{height:auto;min-height:max(680px,100vh);min-height:max(680px,100lvh)}
  .hero-illustrated .hero-image-wrap{inset:0;height:auto;min-height:0}
  .hero-illustrated .hero-copy{max-height:none;overflow:visible;padding-bottom:max(48px,env(safe-area-inset-bottom))}
  .hero-illustrated .hero-copy h1{font-size:clamp(2.2rem,9vw,3.6rem)}
}

/* A quiet, unified navigation bar that stays compact without a logo. */
.site-header{background:rgba(255,251,252,.96);border-bottom:1px solid #e8d5dc;box-shadow:0 4px 18px rgba(49,46,44,.055)}
.site-header .main-nav a{display:inline-flex;align-items:center;min-height:38px;padding:7px 15px;border-radius:999px;color:#254b46;font-size:13px;font-weight:700;letter-spacing:.015em;text-decoration:none;transition:background .2s ease,color .2s ease}
.site-header .main-nav a:hover{background:#e9f1ed;color:#153e35}
.site-header .language-picker{min-height:38px;border:1px solid #cfd9d2;border-radius:999px;background:#f8faf8;color:#24463f;box-shadow:none}
.site-header .sound-player{gap:1px;padding:3px;border:1px solid #cfd9d2;border-radius:999px;background:#f8faf8}
.site-header .sound-track-button{width:29px;height:29px;border:0;background:transparent;color:#35584e}
.site-header .sound-track-button:hover{background:#e5eee8;border-radius:50%}
.site-header .sound-toggle{min-height:30px;border:0;background:#e9f1ed;color:#244a40;padding:5px 9px}
.site-header .sound-toggle:hover{background:#dbe9df}
.site-header .sound-toggle[aria-pressed="true"]{background:#355f51;color:#fff}
.site-header .sound-track-name{padding:0 7px 0 4px}
.site-header .header-actions a,.site-header .header-actions .text-button{display:inline-flex;align-items:center;min-height:38px;padding:7px 10px;border:0;border-radius:999px;background:transparent;color:#24463f;font-weight:650;text-decoration:none;cursor:pointer}
.site-header .header-actions a:hover,.site-header .header-actions .text-button:hover{background:#e9f1ed}
.site-header .header-actions .button-small{min-height:38px;padding:7px 16px;border:1px solid #315a4e;border-radius:999px;background:#315a4e;color:#fff;box-shadow:0 3px 8px rgba(38,76,63,.13);font-weight:700}
.site-header .header-actions .button-small:hover{background:#234b3e;transform:none}
@media(max-width:600px){
 body .site-header{padding:7px 5px;gap:2px}
 body .site-header .main-nav a{min-height:32px;padding:4px 3px;font-size:11px;letter-spacing:0}
 body .site-header .header-actions>*{min-height:32px;padding:5px 2px;font-size:11px}
 body .site-header .header-actions .button-small{min-height:32px;padding:5px 4px;border:0;border-radius:7px;background:#e9f1ed;color:#254b46;box-shadow:none;font-size:11px}
 body .site-header .sound-player{padding:1px;gap:0}
 body .site-header .sound-player button{width:21px;min-width:21px;min-height:28px}
 body .site-header .sound-player .sound-toggle{width:26px;min-width:26px;padding:0}
 body .site-header .language-picker{min-height:32px;padding:4px 2px}
}
@media(max-width:350px){
 body .site-header .main-nav a,body .site-header .header-actions>*,body .site-header .header-actions .button-small{font-size:10px}
 body .site-header .main-nav a{padding-inline:2px}
 body .site-header .header-actions>*{padding-inline:1px}
 body .site-header .header-actions .button-small{padding-inline:3px}
 body .site-header .sound-player button{width:19px;min-width:19px}
 body .site-header .sound-player .sound-toggle{width:23px;min-width:23px}
}
/* Keep every navigation label on the same optical baseline. */
.site-header .main-nav,.site-header .header-actions{display:flex;align-items:center;align-self:center}
.site-header .main-nav a,.site-header .language-picker,.site-header .sound-player,.site-header .header-actions>*{height:40px;min-height:40px;line-height:1;align-self:center}
.site-header .main-nav a,.site-header .header-actions>*{display:inline-flex;align-items:center;justify-content:center}
.site-header .sound-player{display:inline-flex;align-items:center}
.site-header .main-nav a,.site-header .header-actions>*,.site-header .language-picker{font-family:var(--sans)}
.rtl-language .site-header .main-nav a,.rtl-language .site-header .header-actions>*,.rtl-language .site-header .language-picker{font-family:"SF Arabic","Noto Sans Arabic","Geeza Pro",var(--sans)}
@media(max-width:600px){
 body .site-header .main-nav,body .site-header .header-actions{height:34px}
 body .site-header .main-nav a,body .site-header .language-picker,body .site-header .sound-player,body .site-header .header-actions>*{height:34px;min-height:34px;line-height:1}
 body .site-header .header-actions .text-button,body .site-header .header-actions .button-small,body .site-header .header-actions a{height:34px;min-height:34px}
}
/* Match the actual text baselines, not just the outer button boxes. */
.site-header .main-nav a,.site-header .header-actions>*,.site-header .language-picker{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
@media(max-width:600px){
 body .site-header{justify-content:center;gap:4px}
 body .site-header .main-nav a{display:flex;align-items:center;justify-content:center;height:34px;min-height:34px;padding:0 2px;font-size:11px;font-weight:600;line-height:1}
 body .site-header .header-actions{gap:3px}
 body .site-header .header-actions .text-button,body .site-header .header-actions .button-small,body .site-header .header-actions a{display:flex;align-items:center;justify-content:center;height:34px;min-height:34px;padding:0 2px;border:0;border-radius:0;background:transparent;color:#24463f;box-shadow:none;font-size:11px;font-weight:600;line-height:1}
 body .site-header .header-actions .button-small:hover{background:#e9f1ed}
}
@media(max-width:350px){body .site-header{gap:2px}}
/* Center the selected language inside its control, independent of native select arrows. */
.site-header .language-picker{-webkit-appearance:none;appearance:none;text-align:center;text-align-last:center;padding-inline:9px;background-color:#f8faf8;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='%2335584e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 3px center;background-size:7px 7px}
.site-header .header-actions{min-width:0}
.site-header .header-actions a{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:600px){body .site-header .language-picker{padding-inline:7px;background-position:right 2px center;background-size:6px 6px}body .site-header .header-actions a{max-width:88px}}

/* Two stable navigation groups: controls on the left, account actions on the right. */
body .site-header{display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:center;direction:ltr;gap:18px;padding-inline:clamp(12px,3vw,40px)}
.site-header .header-tools{display:flex;align-items:center;gap:12px;flex:0 0 auto;direction:ltr}
.rtl-language .site-header{direction:ltr}
body .site-header .header-actions{order:0;display:flex;align-items:center;justify-content:flex-end;flex:0 1 auto;gap:clamp(14px,3vw,28px);margin:0;min-width:0;max-width:none;direction:ltr}
body .site-header .language-picker,body .site-header .sound-player{order:0;margin:0;flex-shrink:0}
body .site-header .header-actions>*{max-width:none;min-width:0;flex:0 1 auto;white-space:nowrap}
@media(max-width:880px),(hover:none) and (pointer:coarse){
  body .site-header{padding:8px max(12px,env(safe-area-inset-left)) 8px max(12px,env(safe-area-inset-right));gap:12px;min-height:54px}
  .site-header .header-tools{gap:8px}
  body .site-header .language-picker{width:53px;min-width:0;flex:0 0 53px;height:38px;min-height:38px;font-size:12px;padding-inline:8px}
  body .site-header .sound-player{height:38px;min-height:38px;padding:2px;gap:0}
  body .site-header .sound-player button{width:22px;min-width:22px;height:32px;min-height:32px;padding:0}
  body .site-header .sound-player .sound-toggle{width:27px;min-width:27px;gap:0}
  body .site-header .sound-track-name,body .site-header [data-sound-label]{display:none}
  body .site-header .header-actions{height:auto;gap:14px}
  body .site-header .header-actions .text-button,body .site-header .header-actions .button-small,body .site-header .header-actions a{height:38px;min-height:38px;padding:0 3px;font-size:12px;font-weight:650;line-height:1;border:0;background:transparent;color:#24463f;box-shadow:none}
}
@media(max-width:359px){
  body .site-header{padding-inline:8px;gap:8px}
  .site-header .header-tools{gap:6px}
  body .site-header .language-picker{width:47px;flex-basis:47px;font-size:11px}
  body .site-header .sound-player button{width:19px;min-width:19px}
  body .site-header .sound-player .sound-toggle{width:24px;min-width:24px}
  body .site-header .header-actions{gap:10px}
  body .site-header .header-actions .text-button,body .site-header .header-actions .button-small,body .site-header .header-actions a{font-size:11px;padding-inline:1px}
}

/* Leave image overscan below the large viewport as well: Safari can reveal more
   content behind its floating bottom controls during toolbar transitions. */
@media(max-width:880px),(hover:none) and (pointer:coarse){
  html{background-color:#f3e2d3}
  body:not(.admin-view){background-color:#f3e2d3;background-attachment:scroll}
  body:not(.admin-view) .site-header{position:absolute;inset:0 0 auto;z-index:10;box-sizing:border-box;width:100%;padding-top:calc(8px + env(safe-area-inset-top));background:rgba(255,251,252,.84)}
  body:not(.admin-view) .hero.hero-illustrated{height:auto;min-height:calc(100vh + 96px + env(safe-area-inset-bottom));min-height:calc(100lvh + 96px + env(safe-area-inset-bottom));width:100%;margin:0;box-sizing:border-box;display:flex;align-items:center}
  .hero-illustrated .hero-image-wrap{inset:0;height:auto;min-height:0;width:100%;border:0}
  .hero-illustrated .hero-image,.hero-illustrated .living-photo{inset:0;width:100%;height:100%;object-fit:cover}
  .hero-illustrated .hero-copy{width:100%;max-height:none;overflow:visible;box-sizing:border-box;padding:calc(86px + env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) calc(56px + env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left))}
  .hero-illustrated .hero-copy h1{font-size:clamp(2.2rem,9vw,3.6rem)}
  .hero-illustrated .hero-image-wrap::after{background:linear-gradient(180deg,rgba(251,244,236,.87),rgba(251,244,236,.75) 55%,rgba(251,244,236,.08))}
  .hero-illustrated .hair-animation-toggle{bottom:calc(20px + env(safe-area-inset-bottom));right:max(20px,env(safe-area-inset-right))}
}
@media(max-width:880px) and (max-height:700px){
  .hero-illustrated .hero-copy{padding-top:calc(72px + env(safe-area-inset-top));padding-bottom:calc(28px + env(safe-area-inset-bottom))}
  .hero-illustrated .hero-copy h1{font-size:clamp(2rem,8vw,3rem);margin-bottom:18px}
  .hero-illustrated .hero-text{font-size:1rem;line-height:1.6;margin-bottom:24px}
  .hero-illustrated .hero-copy>.eyebrow{font-size:11px;letter-spacing:.12em;margin-bottom:12px}
}
@media(orientation:landscape) and (max-height:600px) and (max-width:880px),(orientation:landscape) and (max-height:600px) and (hover:none) and (pointer:coarse){
  .hero-illustrated .hero-copy{padding-top:calc(72px + env(safe-area-inset-top));padding-bottom:calc(32px + env(safe-area-inset-bottom));max-width:720px}
  .hero-illustrated .hero-copy h1{font-size:clamp(1.8rem,5vh,2.6rem);margin-bottom:16px}
  .hero-illustrated .hero-text{font-size:1rem;line-height:1.5;margin-bottom:20px}
  .hero-illustrated .hero-copy>.eyebrow{margin-bottom:12px}
}

/* Floating controls over the opening photo, without a visible navigation strip. */
body:not(.admin-view) .site-header{
 position:absolute;inset:0 0 auto;z-index:10;box-sizing:border-box;width:100%;
 padding-top:calc(12px + env(safe-area-inset-top));padding-bottom:12px;
 background:transparent;border:0;box-shadow:none;backdrop-filter:none;
}
body:not(.admin-view) .site-header .header-tools,
body:not(.admin-view) .site-header .header-actions{background:transparent}
body:not(.admin-view) .site-header .header-actions .text-button,
body:not(.admin-view) .site-header .header-actions a{
 display:block;height:40px;min-height:40px;padding:0 14px;align-content:center;
 border:1px solid #648276;border-radius:8px;background:rgba(255,250,244,.64);
 color:#24463f;line-height:1.2;box-shadow:none;overflow:hidden;text-overflow:ellipsis;
}
body:not(.admin-view) .site-header .header-actions .button-small{
 display:block;height:40px;min-height:40px;padding:0 14px;align-content:center;
 border:1px solid #a6782b;border-radius:8px;background:#b78634;color:#173e35;
 font-weight:700;line-height:1.2;box-shadow:none;overflow:hidden;text-overflow:ellipsis;
}
body:not(.admin-view) .site-header .header-actions>*:hover{background:#f4e8d6;transform:none}
body:not(.admin-view) .site-header .header-actions .button-small:hover{background:#c69642}
@media(min-width:881px) and (hover:hover) and (pointer:fine){
 body:not(.admin-view) .hero-illustrated .hero-copy{padding-top:clamp(100px,9vw,144px)}
 body:not(.admin-view) .site-header{justify-content:flex-start;padding-inline:clamp(28px,5vw,80px);gap:18px}
 body:not(.admin-view) .site-header .header-actions{flex:0 1 auto;justify-content:flex-start;gap:12px}
 body:not(.admin-view) .site-header .header-tools{gap:10px}
 body:not(.admin-view) .site-header .sound-track-name,
 body:not(.admin-view) .site-header [data-sound-label]{display:none}
 body:not(.admin-view) .site-header .sound-toggle{width:38px;min-width:38px;justify-content:center;padding-inline:0}
}
@media(max-width:880px),(hover:none) and (pointer:coarse){
 body:not(.admin-view) .site-header{padding-top:calc(10px + env(safe-area-inset-top));padding-bottom:10px}
 body:not(.admin-view) .site-header .header-actions{gap:12px}
 body:not(.admin-view) .site-header .header-actions .text-button,
 body:not(.admin-view) .site-header .header-actions .button-small,
 body:not(.admin-view) .site-header .header-actions a{height:38px;min-height:38px;padding-inline:7px;font-size:12px}
}
@media(max-width:359px){
 body:not(.admin-view) .site-header .header-actions{gap:8px}
 body:not(.admin-view) .site-header .header-actions .text-button,
 body:not(.admin-view) .site-header .header-actions .button-small,
 body:not(.admin-view) .site-header .header-actions a{padding-inline:5px;font-size:11px}
}

/* Keep the photo's controls readable without heavy lettering. */
body:not(.admin-view) .site-header .header-actions .text-button,
body:not(.admin-view) .site-header .header-actions .button-small,
body:not(.admin-view) .site-header .header-actions a{font-weight:500}
body:not(.admin-view) .hero-illustrated .hero-actions .button{font-weight:600}

/* Treatment names reveal details; checkboxes remain independent multi-select controls. */
#price-list .price-choice,#booking-services .service-choice{display:flex;align-items:center;gap:10px;min-width:0}
body #price-list .service-info-button,body #booking-services .service-info-button{
 position:relative;display:block;flex:1;min-width:0;padding:9px 23px 9px 0;
 border:0;border-radius:4px;background:transparent;color:var(--ink);
 font:inherit;text-align:start;line-height:1.45;cursor:pointer;white-space:normal;
}
body #price-list .service-info-button:hover,body #booking-services .service-info-button:hover{color:#94651f;background:rgba(183,134,52,.06)}
.service-info-button>span:first-child{display:block;overflow-wrap:anywhere}
.service-info-button .service-info-hint{position:absolute;inset-inline-end:3px;top:50%;transform:translateY(-50%);color:#94651f;font-size:16px}
.service-info-button small{display:block;margin-top:3px;color:var(--ink-soft);font-size:12px;font-weight:400}
body.rtl-language #price-list .service-info-button,body.rtl-language #booking-services .service-info-button{padding:9px 0 9px 23px}
#price-list .price-choice input,#booking-services .service-choice input{cursor:pointer}
body .treatment-dialog{width:min(640px,calc(100vw - 24px));max-height:90dvh;border:1px solid var(--line);border-radius:18px;background:var(--paper);overflow:auto;overscroll-behavior:contain}
body .treatment-dialog-content{padding:58px 28px 28px;border:0}
.treatment-detail-figure{margin:0 0 22px}
.treatment-detail-figure img{display:block;width:100%;height:225px;object-fit:cover;object-position:center;border-radius:12px;background:#e8d8ce}
.treatment-detail-figure figcaption{margin-top:7px;color:var(--ink-soft);font-size:11px;line-height:1.4}
body .treatment-dialog-content h2{max-width:none;font-size:clamp(1.65rem,4.8vw,2.2rem);line-height:1.15;margin:0 0 14px;overflow-wrap:anywhere;letter-spacing:-.02em}
body .treatment-dialog-content>p:not(.eyebrow){max-width:none;font-size:15px;line-height:1.7;margin:0 0 20px}
body .treatment-dialog-content>.treatment-detail-meta{font-size:13px;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--ink)}
.treatment-dialog-content .button{font-weight:600;white-space:normal;text-align:center}
@media(max-width:600px){body .treatment-dialog-content{padding:54px 20px 22px}.treatment-detail-figure img{height:180px}.treatment-detail-figure{margin-bottom:18px}.treatment-dialog-content .button{width:100%;box-sizing:border-box}}

/* Persian-inspired treatment cards: girih rosettes, a soft arch and warm ivory. */
body .treatment-dialog{border:1px solid #ae8541;border-radius:22px;background:#fbf4e9;box-shadow:0 24px 80px #0d292b55,0 0 0 4px #b786341c}
body .treatment-dialog-content{background:linear-gradient(135deg,#fffaf1,#faf1e5 70%,#f4e4e0);color:#24433c}
.treatment-dialog-content::before{content:"";position:absolute;top:12px;left:58px;right:58px;height:30px;background:url('/assets/images/persian-rosette.svg') center/32px 32px repeat-x;pointer-events:none;opacity:.75}
body .treatment-dialog-content::after{right:20px;bottom:16px;width:88px;height:88px;border:0;border-radius:0;background:url('/assets/images/persian-rosette.svg') center/88px 88px no-repeat;opacity:.23}
.treatment-detail-figure img{border:1px solid #b39050;border-radius:46% 46% 12px 12px /24% 24% 12px 12px;box-sizing:border-box;box-shadow:0 0 0 4px #b7863410}
.treatment-detail-figure figcaption{color:#657467}
.treatment-detail-figure.show-full-zone img{height:auto;aspect-ratio:3/2;object-fit:contain;border-radius:12px;background:#fbf4e9}
.treatment-dialog-content>.eyebrow{color:#956d2c;font-weight:600;letter-spacing:.12em}
body .treatment-dialog-content h2{color:#17483f}
body .treatment-dialog-content>p:not(.eyebrow){color:#486052}
body .treatment-dialog-content>.treatment-detail-meta{color:#23493f;border-color:#c7aa7366}
body .treatment-dialog-content .button{border:1px solid #aa8242;border-radius:8px;background:#245c4e;color:#fff9eb;box-shadow:0 4px 12px #183f3514}
body .treatment-dialog-content .button:hover{background:#194b3e;transform:none}
body .treatment-dialog-content .button:focus-visible{outline:3px solid #9d722d;outline-offset:3px}
