/* ==========================================================================
   SERENITY SPA & WELLNESS — STYLESHEET
   Fonts: Lora (Headings), Roboto (Body)
   Colors: --primary-green: #66CC70; --primary-brown: #A67020; --accent-orange: #FF9900;
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Roboto:wght@300;400;500;600;700&display=swap');

:root {
  --primary-green: #66CC70;
  --primary-brown: #A67020;
  --primary-brown-dark: #875815;
  --accent-orange: #FF9900;
  --accent-blue: #007BFF;
  --bg-white: #FFFFFF;
  --bg-light: #F5F5F5;
  --bg-cream: #FBF8F1;
  --bg-soft-blue: #E8F1FF;
  --text-dark: #333333;
  --text-light: #777777;
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Roboto', sans-serif;
  --border-light: #EEEEEE;
  --border-color: #E2DDD5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--primary-brown);
  margin-bottom: 1rem;
}

p {
  color: var(--text-light);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.section-container {
  width: min(100%, 1200px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

.section-title-center {
  text-align: center;
  margin-bottom: 60px;
}

.section-title-center h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-title-center p {
  color: var(--text-light);
  max-width: 650px;
  margin: 0 auto;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: var(--accent-orange) !important;
  color: #fff !important;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  font-size: 14px;
}

.btn-primary:hover {
  background-color: #e68a00 !important;
}

.btn-outline {
  display: inline-block;
  border: 1px solid var(--primary-brown) !important;
  color: var(--primary-brown) !important;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  background: transparent !important;
  text-decoration: none !important;
  font-size: 14px;
}

.btn-outline:hover {
  background-color: var(--primary-brown) !important;
  color: #fff !important;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
header.site-header {
  background-color: var(--bg-white);
  padding: 12px 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
  box-sizing: border-box;
  width: 100%;
}

.logo-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--primary-brown);
  text-decoration: none !important;
  line-height: 1.1;
  white-space: nowrap;
}

.logo-sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
  font-weight: 500;
  white-space: nowrap;
}

.menubar ul {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.menubar a {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--text-dark);
  padding: 6px 0;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.menubar a:hover,
.menubar a.active {
  color: var(--primary-brown);
  border-bottom: 2px solid var(--primary-brown);
}

.header-action-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-music-toggle { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; gap: 6px; border: 1px solid #d7c5ad; border-radius: 999px; padding: 0 12px; background: #fffdf9; color: #72542e; cursor: pointer; font: 600 12px var(--font-body); white-space: nowrap; transition: all 0.2s ease; flex-shrink: 0; }
.header-music-toggle:hover { border-color: var(--primary-brown); color: var(--primary-brown-dark); background: #f8f1e6; }
.header-music-toggle[aria-pressed="true"] { border-color: var(--primary-brown); background: #f4eadc; color: var(--primary-brown-dark); box-shadow: 0 0 0 2px rgba(154, 114, 67, 0.14); }
.header-music-toggle:disabled { cursor: not-allowed; opacity: .55; }
.header-music-toggle:focus-visible { outline: 3px solid #246fd3; outline-offset: 2px; }

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF !important;
  padding: 9px 16px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--primary-brown);
  cursor: pointer;
  padding: 4px 8px;
}

/* ==========================================================================
   HERO SECTION WITH SLIDER & VERTICAL TEXT
   ========================================================================== */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 8s ease-out;
  transform: scale(1);
}

.hero-slider .slide.active {
  opacity: 1;
  transform: scale(1.05);
}

.vertical-text {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  color: #fff;
  font-size: 14px;
  letter-spacing: 2px;
  z-index: 10;
  font-weight: 500;
  text-transform: uppercase;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 820px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 4.5rem;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 1.5px;
  line-height: 1.15;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
}

/* ==========================================================================
   CORE VALUES / USP SECTION (BACKGROUND #FBF8F1)
   ========================================================================== */
.usp-section {
  background-color: var(--bg-cream);
  padding: 80px 0;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.usp-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

.usp-card:hover {
  transform: translateY(-8px);
}

.usp-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(166, 112, 32, 0.08);
  color: var(--primary-brown);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px auto;
  transition: background-color 0.3s, color 0.3s;
}

.usp-card:hover .usp-icon {
  background-color: var(--primary-brown);
  color: #fff;
}

.usp-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.usp-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   ABOUT SPLIT (WELCOME TO SERENITY SPA)
   ========================================================================== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img {
  border-radius: 8px;
  overflow: hidden;
}

.about-img img {
  width: 100%;
  display: block;
  object-fit: cover;
  height: 480px;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* MAP CONTAINER */
.map-container {
  border-radius: 8px;
  overflow: hidden;
  height: 350px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   DISCOVER OUR SPA MASSAGES (MENU TABS & 3-COLUMN CARDS)
   ========================================================================== */
.service-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  background: #f5f5f5 !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 30px !important;
  padding: 12px 25px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #777 !important;
  cursor: pointer;
  transition: all 0.3s;
}

.tab-btn:hover {
  background: #fbf8f1 !important;
  border-color: var(--primary-brown) !important;
  color: var(--primary-brown) !important;
}

.tab-btn.active {
  background: var(--primary-brown) !important;
  border-color: var(--primary-brown) !important;
  color: #fff !important;
}

.tab-content {
  display: none;
  animation: fadeInTab 0.5s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.package-card {
  background: #fff;
  border: none;
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  display: flex;
  flex-direction: column;
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.package-img {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.package-img .package-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  width: fit-content;
  max-width: calc(100% - 70px);
  margin: 0;
  padding: 6px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .92);
  color: var(--primary-brown);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.holiday-sale-badge {
  position: absolute;
  z-index: 1;
  bottom: 14px;
  left: 12px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 4px;
  background: #a34232;
  box-shadow: 0 4px 14px rgba(41, 23, 17, .2);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.package-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.package-card:hover .package-img img {
  transform: scale(1.06);
}

.package-info {
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
}

.package-info h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.service-duration {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--primary-brown);
}

.package-info p.card-desc {
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1;
}

.service-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.service-actions .view-details-btn {
  flex: 1;
  border: 1px solid #ddd;
  color: var(--text-dark);
  font-size: 12px;
  padding: 12px 0;
  transition: all 0.4s;
  background: transparent;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-actions .view-details-btn:hover {
  background-color: var(--primary-brown);
  border-color: var(--primary-brown);
  color: #fff;
}

.service-actions .btn-primary {
  flex: 1;
  padding: 12px 0;
  font-size: 12px;
  letter-spacing: 1px;
}

/* ==========================================================================
   HEALING JOURNEY (PROCEDURE)
   ========================================================================== */
.healing-journey {
  background: linear-gradient(to bottom, #faf7f2, #fff);
  padding: 80px 20px;
  margin: 60px 0;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.journey-steps {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 50px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.step-item {
  flex: 1;
  position: relative;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

.step-item:hover {
  transform: translateY(-5px);
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: #fff;
  color: var(--primary-brown);
  border: 2px solid var(--primary-brown);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-family: var(--font-heading);
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.step-item h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.step-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ==========================================================================
   WHAT OUR GUESTS SAY (TESTIMONIALS / REVIEWS)
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.review-card {
  background: #FFFFFF;
  padding: 30px 25px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #EEEEEE;
}

.reviewer-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.reviewer-source {
  font-size: 0.78rem;
  color: var(--primary-green);
}

.review-stars {
  color: #F4B400;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.65;
  font-style: italic;
  flex-grow: 1;
}

/* ==========================================================================
   SANCTUARY MARQUEE CONTINUOUS SCROLL
   ========================================================================== */
.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  background-color: var(--bg-light);
  padding: 30px 0;
  position: relative;
}

.marquee-track {
  display: inline-block;
  animation: marquee 45s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-block;
  margin: 0 10px;
  vertical-align: top;
}

.marquee-item img {
  height: 280px;
  width: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}

.marquee-item img:hover {
  transform: scale(1.03);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   FINAL CTA (READY TO RELAX?)
   ========================================================================== */
.final-cta {
  background-image: url('../images/cta_bg.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: center;
  padding: 100px 20px;
  color: #fff;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.final-cta .container {
  position: relative;
  z-index: 2;
  padding: 0;
}

.final-cta h2 {
  font-size: 2.8rem;
  color: #FFFFFF;
  margin-bottom: 25px;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 35px;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   BLOGS SECTION
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.blog-img {
  height: 220px;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.05);
}

.blog-info {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--primary-green);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-weight: 500;
}

.blog-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.blog-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.read-more {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-brown);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-card:hover .read-more {
  color: var(--primary-green);
}

/* ==========================================================================
   2-COLUMN VIEW DETAIL MODAL
   ========================================================================== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  background-color: var(--bg-white);
  margin: auto;
  padding: 0;
  border-radius: 12px;
  width: 90%;
  max-width: 850px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.close-modal {
  color: #fff;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
  z-index: 10;
  background: rgba(0, 0, 0, 0.3);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.close-modal:hover {
  background: rgba(0, 0, 0, 0.6);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-img-container {
  height: 100%;
  min-height: 400px;
}

.modal-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-info h3 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--primary-brown);
}

.modal-desc {
  color: var(--text-light);
  margin-bottom: 25px;
  font-size: 0.98rem;
  line-height: 1.8;
}

.modal-desc ul {
  margin-top: 15px;
  padding-left: 20px;
}

.modal-desc li {
  margin-bottom: 8px;
}

/* ==========================================================================
   FOOTER (4-COLUMN LAYOUT)
   ========================================================================== */
footer.site-footer {
  background-color: #222222;
  color: #cccccc;
  padding: 70px 20px 25px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid-4 {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
  text-align: left;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-col p {
  color: #aaaaaa;
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 10px;
}

.footer-col p strong {
  color: #ffffff;
}

.footer-col a {
  color: #cccccc;
}

.footer-col a:hover {
  color: var(--primary-green);
}

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list a {
  font-size: 0.92rem;
  color: #cccccc;
  display: inline-block;
  transition: color 0.2s;
}

.footer-links-list a:hover {
  color: var(--primary-green);
}

.footer-badge-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #777777;
}

/* ==========================================================================
   MOBILE STICKY CTA BAR
   ========================================================================== */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 12px 15px;
  box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.mobile-sticky-cta .btn-half {
  width: 48%;
  text-align: center;
  padding: 12px 0;
  font-size: 0.85rem;
  border-radius: 4px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .menubar {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
  }
  .menubar.mobile-open { display: block; }
  .menubar.mobile-open ul { flex-direction: column; align-items: stretch; gap: 15px; }
  .menubar.mobile-open a { display: block; }
  .mobile-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
}

@media (max-width: 992px) {
  header.site-header { padding: 15px 25px; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .packages-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr; }
  .journey-steps { flex-wrap: wrap; }
  .step-item { flex: 1 1 45%; }
  .footer-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
  .vertical-text { display: none; }
  header.site-header { padding: 10px 16px; }
  .header-action-group > a { display: none; }
  .header-music-toggle { width: 38px; min-height: 38px; padding: 0; }
  .header-music-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .hero h1 { font-size: 2.2rem; }
  .packages-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .modal-body { grid-template-columns: 1fr; }
  .modal-img-container { height: 250px; min-height: 250px; }
  .footer-grid-4 { grid-template-columns: 1fr; }
  body { padding-bottom: 75px; }
  .mobile-sticky-cta { display: flex; justify-content: space-between; }
}

/* ==========================================================================
   INNER PAGES, BOOKING WIZARD, DASHBOARD & COMPONENT EXTENSIONS
   Bổ sung kiểu dáng cho các trang con của Serenity Spa
   ========================================================================== */

/* Page Banner & Breadcrumbs */
.page-banner {
  background: linear-gradient(135deg, rgba(30, 24, 18, 0.95), rgba(45, 34, 25, 0.9)), url('../images/interior_1.webp') center/cover;
  padding: 50px 20px;
  text-align: center;
  color: #fff;
}
.page-banner h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.page-banner p {
  color: #ccc;
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.6;
}
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--accent-orange);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Form Controls & Validation */
.form-group {
  margin-bottom: 18px;
  text-align: left;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--text-dark);
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-brown);
  box-shadow: 0 0 0 3px rgba(166, 112, 32, 0.15);
}
.form-control.is-invalid {
  border-color: #ef4444 !important;
  background-color: #fef2f2;
}
.form-error-msg {
  color: #dc2626;
  font-size: 12px;
  margin-top: 4px;
  display: block;
}

.booking-access-section {
  width: min(100%, 820px);
  margin: 0 auto;
  padding: 48px 20px 80px;
}
.booking-access-card {
  max-width: 620px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid #f1ece5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(48, 36, 24, .08);
  text-align: center;
}
.booking-access-card h2 {
  margin: 0 0 12px;
  color: var(--text-dark);
  font-family: var(--font-heading);
}
.booking-access-card > p {
  margin: 0 0 22px;
  color: #64748b;
  line-height: 1.65;
}
.booking-access-icon {
  margin-bottom: 12px;
  font-size: 42px;
}
.booking-access-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.booking-auth-back {
  display: block;
  margin: 0 auto 18px;
  padding: 4px 8px;
  border: 0;
  background: transparent;
  color: var(--primary-brown-dark);
  font: inherit;
}
.booking-auth-tabs {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #e2e8f0;
}
.booking-auth-tabs .dash-tab-btn {
  min-width: 190px;
  padding: 12px 16px;
  border: 0;
  background: transparent;
  color: var(--text-light);
  font: inherit;
  font-weight: 600;
}
.booking-auth-tabs .dash-tab-btn:hover,
.booking-auth-tabs .dash-tab-btn.active {
  color: var(--primary-brown-dark);
}
.booking-inline-auth-form {
  max-width: 440px;
  margin: 24px auto 0;
  text-align: left;
}
.booking-inline-auth-form .form-group label span {
  color: #dc2626;
}
.booking-auth-summary {
  margin-bottom: 12px;
  color: #dc2626;
  font-size: 13px;
}
.booking-auth-hint {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}
.booking-auth-submit {
  width: 100%;
  margin-top: 4px;
}

#confirmBookingSubmitBtn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 520px) {
  .booking-access-section { padding: 30px 14px 52px; }
  .booking-access-card { padding: 26px 20px; }
  .booking-access-actions > button { width: 100%; }
}
.booking-access-card button:disabled {
  cursor: not-allowed;
  opacity: .6;
}

/* Service Filters Bar */
.service-filter-bar {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
}
.filter-group-left {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  flex: 1;
}
.search-input-wrap {
  position: relative;
  min-width: 240px;
  flex: 1;
}
.catalog-search-field > label {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
}
.catalog-search-input {
  position: relative;
}
.catalog-search-input > svg {
  position: absolute;
  left: 13px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}
.catalog-search-input > input {
  padding-left: 40px;
}
.catalog-filter-bar {
  display: block;
}
.catalog-primary-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) minmax(170px, 1fr) minmax(170px, 1fr) auto;
  gap: 12px;
  align-items: end;
}
.catalog-primary-filters .search-input-wrap,
.catalog-filter-field {
  min-width: 0;
}
.catalog-filter-field > label,
.catalog-primary-filters .catalog-search-field > label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
}
.catalog-filter-bar .form-control {
  width: 100%;
  min-width: 0;
  height: 46px;
}
.catalog-more-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--bg-cream);
  color: var(--primary-brown-dark);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease;
}
.catalog-more-filters > svg {
  flex: none;
  width: 18px;
  height: 18px;
}
.catalog-more-filters:hover,
.catalog-more-filters[aria-expanded="true"] {
  border-color: var(--primary-brown);
  background: var(--bg-white);
}
.catalog-more-filters:focus-visible {
  outline: 2px solid var(--primary-brown-dark);
  outline-offset: 3px;
}
.catalog-more-filters[aria-expanded="true"] .catalog-filter-chevron {
  transform: rotate(180deg);
}
.catalog-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 50%;
  background: var(--primary-brown-dark);
  color: var(--bg-white);
  font-size: 12px;
}
.catalog-advanced-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
}
.catalog-advanced-filters[hidden],
.catalog-filter-count[hidden] {
  display: none;
}
.catalog-advanced-filters > p {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--text-dark);
}
@media (max-width: 960px) {
  .catalog-primary-filters {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  }
  .catalog-primary-filters .catalog-search-field {
    grid-column: 1 / -1;
  }
}
@media (max-width: 600px) {
  .catalog-primary-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalog-more-filters {
    grid-column: 1 / -1;
  }
  .catalog-advanced-filters {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Pagination */
.pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}
.page-btn {
  padding: 8px 16px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.page-btn:hover:not(:disabled) {
  border-color: var(--primary-brown);
  color: var(--primary-brown);
}
.page-btn.active {
  background: var(--primary-brown);
  color: #fff;
  border-color: var(--primary-brown);
}
.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Booking Wizard */
.booking-page-container {
  max-width: 1280px;
  margin: 40px auto;
  padding: 0 20px;
}
.booking-steps-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 35px;
  position: relative;
}
.booking-steps-bar::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: #e2e8f0;
  z-index: 1;
}
.step-item-badge {
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 0 10px;
  text-align: center;
}
.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 2px solid #cbd5e1;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  margin: 0 auto 8px;
  transition: all 0.3s ease;
}
.step-item-badge.active .step-circle {
  background: var(--primary-brown);
  border-color: var(--primary-brown);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(166, 112, 32, 0.2);
}
.step-item-badge.completed .step-circle {
  background: var(--primary-green);
  border-color: var(--primary-green);
  color: #fff;
}
.step-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
}

.wizard-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  padding: 30px;
  margin-bottom: 25px;
}

/* Service & Variant Selection */
.service-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
  margin-top: 15px;
}
.service-select-item {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  gap: 12px;
  align-items: center;
}
.service-select-item:hover {
  border-color: #cbd5e1;
  background: #fafaf9;
}
.service-select-item.selected {
  border-color: var(--primary-brown);
  background: rgba(166, 112, 32, 0.05);
}
.service-thumb-sm {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
}

.variant-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}
.variant-btn {
  padding: 10px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.variant-btn:hover {
  border-color: #cbd5e1;
}
.variant-btn.selected {
  border-color: var(--accent-orange);
  background: rgba(255, 153, 0, 0.08);
  color: var(--accent-orange);
}

/* Staff Selection Cards */
.staff-management-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.staff-management-hint {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}
.staff-sync-status {
  margin: 0 0 16px;
  padding: 10px 13px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}
.staff-sync-status.is-shared {
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}
.staff-sync-status.is-local {
  color: #854d0e;
  background: #fffbeb;
  border: 1px solid #fde68a;
}
.staff-specialty-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 130px;
}
.staff-specialty-chips span {
  padding: 4px 7px;
  color: #713f12;
  background: #fef3c7;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.25;
}
.staff-specialty-chips .is-empty { color: #991b1b; background: #fef2f2; }
.staff-empty-state {
  max-width: 720px;
  margin: 20px auto;
  padding: 30px 24px;
  text-align: center;
  border: 1px solid #fde68a;
  border-radius: 12px;
  background: #fffbeb;
}
.staff-empty-state h3 {
  margin: 0 0 8px;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 1.25rem;
}
.staff-empty-state p { margin: 0 auto 18px; color: #64748b; line-height: 1.6; }
.staff-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
  margin-top: 15px;
}
.staff-card-item {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 220px;
}
.staff-card-item:hover {
  border-color: #cbd5e1;
}
.staff-card-item:focus-visible {
  outline: 3px solid rgba(166, 112, 32, 0.35);
  outline-offset: 2px;
}
.staff-card-item.selected {
  border-color: var(--primary-brown);
  background: rgba(166, 112, 32, 0.05);
}
.staff-avatar-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 10px;
  display: block;
}

@media (max-width: 640px) {
  .staff-management-head { align-items: flex-start; flex-direction: column; }
  .staff-management-head .btn-primary { width: 100%; }
  .staff-select-grid { grid-template-columns: 1fr; }
}

/* Date & Time Slot Grid */
.calendar-days-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.cal-day-btn {
  min-width: 65px;
  padding: 10px 6px;
  text-align: center;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cal-day-btn:hover {
  border-color: #cbd5e1;
}
.cal-day-btn.selected {
  background: var(--primary-brown);
  border-color: var(--primary-brown);
  color: #fff;
}
.cal-day-btn .day-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}
.cal-day-btn .day-num {
  font-size: 16px;
  font-weight: bold;
  margin-top: 2px;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px;
  margin-top: 15px;
}
.slot-btn {
  padding: 10px 6px;
  text-align: center;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.slot-btn:hover:not(:disabled) {
  border-color: var(--primary-green);
  color: var(--primary-green);
}
.slot-btn.selected {
  background: var(--primary-green);
  border-color: var(--primary-green);
  color: #fff;
}
.slot-btn:disabled {
  background: #f8fafc;
  border-color: #f1f5f9;
  color: #cbd5e1;
  text-decoration: line-through;
  cursor: not-allowed;
}

/* Unified specialist and appointment-time picker */
.schedule-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.schedule-heading-row h3 {
  margin: 4px 0 7px;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 1.55rem;
  line-height: 1.25;
}
.schedule-heading-row p {
  max-width: 760px;
  margin: 0;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.55;
}
.schedule-eyebrow {
  color: var(--primary-brown);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.schedule-service-chip {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid #eadfce;
  border-radius: 7px;
  background: #fdfbf7;
  color: #765c39;
  font-size: 12px;
  font-weight: 600;
}
.schedule-date-section { margin-bottom: 28px; }
.schedule-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.schedule-section-heading > div:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}
.schedule-section-heading label {
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 700;
}
.schedule-section-index {
  display: inline-flex;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f5efe4;
  color: var(--primary-brown-dark);
  font-size: 10px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.schedule-date-caption,
.schedule-staff-count {
  color: #80796f;
  font-size: 12px;
}
.schedule-staff-heading-row { align-items: flex-end; }
.schedule-staff-heading-row > div:first-child > div {
  display: grid;
  gap: 1px;
}
.schedule-search-wrap {
  display: flex;
  width: min(100%, 280px);
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid #e5dfd5;
  border-radius: 7px;
  background: #fff;
  color: #8a7b68;
}
.schedule-search-wrap:focus-within {
  border-color: var(--primary-brown);
  box-shadow: 0 0 0 3px rgba(166, 112, 32, .12);
}
.schedule-search-wrap > span { font-size: 20px; line-height: 1; }
.schedule-search-wrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-dark);
  font: inherit;
  font-size: 13px;
}
.schedule-search-wrap input::placeholder { color: #9b948b; }
.schedule-scroll-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -1px 0 8px;
  color: #80796f;
  font-size: 11px;
}
.schedule-scroll-tools[hidden] { display: none; }
.schedule-scroll-tools > span { display: inline-flex; align-items: center; gap: 5px; }
.schedule-scroll-tools i { color: var(--primary-brown); font-size: 15px; font-style: normal; }
.schedule-scroll-tools > div { display: flex; gap: 5px; }
.schedule-scroll-tools button {
  display: grid;
  width: 28px;
  height: 26px;
  place-items: center;
  border: 1px solid #e5dfd5;
  border-radius: 5px;
  background: #fff;
  color: #695b48;
  cursor: pointer;
  font-size: 19px;
  line-height: 1;
}
.schedule-scroll-tools button:hover { border-color: var(--primary-brown); color: var(--primary-brown); }
.schedule-table-scroll {
  max-height: 570px;
  overflow: auto;
  border: 1px solid #e9e3da;
  border-radius: 9px;
  background: #fff;
  overscroll-behavior: contain;
  scrollbar-color: #c9b79e #f7f4ef;
  scrollbar-width: thin;
}
.schedule-table-scroll:focus-visible {
  outline: 3px solid rgba(166, 112, 32, .3);
  outline-offset: 2px;
}
.booking-schedule-table {
  width: max-content;
  min-width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--text-dark);
  font-size: 12px;
}
.schedule-time-col { width: 68px; }
.schedule-staff-col { width: 208px; }
.booking-schedule-table th,
.booking-schedule-table td {
  height: 58px;
  padding: 5px 7px;
  border-right: 1px solid #f0ece6;
  border-bottom: 1px solid #f0ece6;
  background: #fff;
  text-align: center;
  vertical-align: middle;
}
.booking-schedule-table tr > :last-child { border-right: 0; }
.booking-schedule-table tbody tr:last-child > * { border-bottom: 0; }
.booking-schedule-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  height: 76px;
  background: #fbf8f3;
}
.booking-schedule-table .schedule-time-head,
.booking-schedule-table .schedule-time-cell {
  position: sticky;
  left: 0;
  z-index: 2;
  width: 68px;
  background: #faf8f4;
  color: #766a59;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.booking-schedule-table thead .schedule-time-head { z-index: 4; }
.booking-schedule-table .schedule-person-head { padding: 8px 12px; }
.booking-schedule-table .schedule-person-head.is-selected { background: #f4ecdf; }
.schedule-person {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.schedule-person > img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 2px solid #fff;
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(67, 49, 26, .15);
}
.schedule-person-copy { display: grid; min-width: 0; gap: 3px; }
.schedule-person-copy strong {
  overflow: hidden;
  color: #3e3529;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.schedule-person-copy small {
  display: -webkit-box;
  overflow: hidden;
  color: #80796f;
  font-size: 10px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.schedule-slot {
  display: flex;
  width: 100%;
  min-height: 43px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid #dce9dc;
  border-radius: 6px;
  background: #fbfdfb;
  color: #3c6141;
  cursor: pointer;
  font: inherit;
  font-variant-numeric: tabular-nums;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.schedule-slot.is-available:hover {
  transform: translateY(-1px);
  border-color: #88ae8d;
  background: #f2f8f2;
}
.schedule-slot:focus-visible {
  outline: 3px solid rgba(166, 112, 32, .32);
  outline-offset: 1px;
}
.schedule-slot > span { font-size: 12px; font-weight: 700; }
.schedule-slot > small { color: #718271; font-size: 10px; }
.schedule-slot.is-selected {
  border-color: var(--primary-brown-dark);
  background: var(--primary-brown-dark);
  color: #fff;
}
.schedule-slot.is-selected > small { color: #f7eedd; }
.schedule-slot.is-available.is-selected,
.schedule-slot.is-available.is-selected:hover {
  transform: none;
  border-color: var(--primary-brown-dark);
  background: var(--primary-brown-dark);
  color: #fff;
}
.schedule-slot.is-available.is-selected:hover > small { color: #f7eedd; }
.schedule-slot.is-unavailable {
  border-color: #eeeae4;
  background: #f7f5f2;
  color: #888177;
  cursor: not-allowed;
}
.schedule-slot.is-unavailable > small { color: #9a9389; font-size: 9px; }
.schedule-slot-empty { color: #b3ada4; font-size: 16px; }
.schedule-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin: 11px 0 18px;
  color: #746f68;
  font-size: 11px;
}
.schedule-legend span { display: inline-flex; align-items: center; gap: 6px; }
.schedule-legend i { width: 10px; height: 10px; border-radius: 3px; }
.schedule-legend i.is-free { border: 1px solid #b9d0ba; background: #f2f8f2; }
.schedule-legend i.is-busy { border: 1px solid #e5dfd5; background: #f0ede8; }
.schedule-legend i.is-outside { background: #d4d0ca; }
.schedule-no-results {
  padding: 25px 18px;
  border: 1px dashed #ded6cb;
  border-radius: 8px;
  background: #fcfaf7;
  color: #746f68;
  font-size: 13px;
  text-align: center;
}
.schedule-selection-summary {
  display: flex;
  min-height: 61px;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid #e9e3da;
  border-radius: 8px;
  background: #faf9f6;
  color: #827b71;
}
.schedule-selection-summary.has-selection {
  border-color: #d7e5d5;
  background: #f4f8f2;
  color: #3d6040;
}
.schedule-selection-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
  background: #eeeae3;
  font-size: 15px;
  font-weight: 700;
}
.has-selection .schedule-selection-icon { background: #e1edde; }
.schedule-selection-summary > span:last-child { display: grid; gap: 2px; }
.schedule-selection-summary small { color: #7d786f; font-size: 10px; }
.schedule-selection-summary strong { color: #443b30; font-size: 12px; font-weight: 600; }
.schedule-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
}
.schedule-actions button:disabled {
  border-color: #dedbd5;
  background: #e9e7e2;
  color: #8e8980;
  cursor: not-allowed;
  box-shadow: none;
}
.schedule-actions .btn-primary:disabled {
  border: 1px solid #dedbd5 !important;
  background-color: #e9e7e2 !important;
  color: #8e8980 !important;
}

@media (max-width: 760px) {
  .booking-page-container { margin-top: 28px; }
  .wizard-card { padding: 22px 18px; }
  .schedule-heading-row { gap: 12px; }
  .schedule-heading-row h3 { font-size: 1.35rem; }
  .schedule-staff-heading-row { align-items: flex-start; flex-direction: column; }
  .schedule-search-wrap { width: 100%; }
  .schedule-staff-col { width: 184px; }
  .schedule-table-scroll { max-height: 62vh; }
}
@media (max-width: 520px) {
  .booking-page-container { margin: 22px auto; padding: 0 12px; }
  .wizard-card { padding: 19px 13px; border-radius: 9px; }
  .booking-steps-bar { margin-bottom: 22px; }
  .step-title { max-width: 105px; font-size: 10px; line-height: 1.3; }
  .schedule-heading-row { align-items: flex-start; }
  .schedule-heading-row p { font-size: 12px; }
  .schedule-service-chip { padding: 7px 8px; font-size: 10px; }
  .schedule-section-heading { align-items: flex-start; }
  .schedule-date-caption { padding-top: 6px; font-size: 10px; }
  .schedule-staff-col { width: 168px; }
  .schedule-time-col { width: 58px; }
  .booking-schedule-table .schedule-time-head,
  .booking-schedule-table .schedule-time-cell { width: 58px; }
  .booking-schedule-table th,
  .booking-schedule-table td { padding: 4px; }
  .schedule-person { gap: 7px; }
  .schedule-person > img { width: 36px; height: 36px; flex-basis: 36px; border-radius: 11px; }
  .schedule-person-copy strong { font-size: 11px; }
  .schedule-person-copy small { font-size: 9px; }
  .schedule-slot { min-height: 40px; }
  .schedule-slot > span { font-size: 11px; }
  .schedule-slot > small { font-size: 9px; }
  .schedule-legend { gap: 8px 12px; font-size: 10px; }
  .schedule-selection-summary { padding: 9px; }
  .schedule-selection-summary strong { font-size: 11px; }
  .schedule-actions { align-items: stretch; flex-direction: column-reverse; }
  .schedule-actions button { width: 100%; }
}

/* Booking Summary & Confirmation */
.booking-summary-box {
  background: #fdfbf7;
  border: 1px solid #f3ebe1;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed #e7ded4;
  font-size: 14px;
}
.summary-row:last-child {
  border-bottom: none;
}
.summary-row.total {
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--accent-orange);
  border-top: 1px solid #ddd;
  margin-top: 8px;
  padding-top: 12px;
}

/* Tables & Badges for Dashboard */
.data-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
.data-table th {
  background: #f8fafc;
  padding: 12px 16px;
  font-weight: 600;
  color: #475569;
  border-bottom: 1px solid #e2e8f0;
}
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: var(--text-dark);
}
.data-table tr:hover td {
  background: #fcfcfc;
}

.badge-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}
.badge-confirmed { background: #dcfce7; color: #15803d; }
.badge-pending { background: #fef9c3; color: #a16207; }
.badge-completed { background: #e0f2fe; color: #0369a1; }
.badge-cancelled { background: #fee2e2; color: #b91c1c; }

/* Dashboard KPI Cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}
.kpi-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-left: 4px solid var(--primary-brown);
}
.kpi-card.green { border-left-color: var(--primary-green); }
.kpi-card.orange { border-left-color: var(--accent-orange); }
.kpi-card.blue { border-left-color: #3b82f6; }
.kpi-title {
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
}
.kpi-value {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--text-dark);
  margin-top: 5px;
}

/* Dashboard Tabs Navigation */
.dash-tabs-bar {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 25px;
  overflow-x: auto;
}
.dash-tab-btn {
  padding: 10px 18px;
  border: none;
  background: none;
  font-weight: 600;
  font-size: 14px;
  color: #64748b;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}
.dash-tab-btn:hover {
  color: var(--primary-brown);
}
.dash-tab-btn.active {
  color: var(--primary-brown);
}
.dash-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-brown);
}

/* Separate therapy and package selection in booking; keep each result page compact. */
.booking-catalog-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #e2e8f0;
  margin: 18px 0 16px;
}
.booking-catalog-tab {
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  padding: 10px 14px;
}
.booking-catalog-tab.active {
  border-bottom-color: var(--primary-brown);
  color: var(--primary-brown);
}
.booking-catalog-tab span {
  background: #f1f5f9;
  border-radius: 999px;
  font-size: 12px;
  margin-left: 5px;
  padding: 2px 7px;
}
.booking-therapy-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.booking-therapy-group {
  align-items: center;
  background: #fff;
  border: 1px solid #ded7ce;
  border-radius: 999px;
  color: #5c554d;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  gap: 7px;
  justify-content: center;
  min-height: 38px;
  padding: 7px 13px;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.booking-therapy-group:hover {
  border-color: var(--primary-brown-dark);
  color: var(--primary-brown-dark);
}
.booking-therapy-group.active {
  background: var(--primary-brown-dark);
  border-color: var(--primary-brown-dark);
  color: #fff;
}
.booking-therapy-group span {
  background: rgb(0 0 0 / 7%);
  border-radius: 999px;
  font-size: 11px;
  min-width: 20px;
  padding: 2px 6px;
  text-align: center;
}
.booking-therapy-group.active span {
  background: rgb(255 255 255 / 20%);
}
.booking-therapy-group:focus-visible {
  outline: 3px solid #246fd3;
  outline-offset: 2px;
}
.booking-catalog-toolbar {
  align-items: center;
  display: flex;
  gap: 12px;
  margin: 0 0 8px;
}
.booking-catalog-search-label {
  color: #64748b;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 600;
}
.booking-catalog-toolbar input {
  max-width: 440px;
}
.booking-catalog-count,
.booking-catalog-page-label {
  color: #64748b;
  font-size: 13px;
}
.booking-catalog-count {
  min-height: 20px;
}
.booking-catalog-availability-note {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  color: #78350f;
  line-height: 1.5;
  margin: 0 0 16px;
  padding: 10px 12px;
}
.booking-catalog-availability-note a {
  color: #713f12;
  font-weight: 600;
}
.service-select-item {
  background: #fff;
  color: var(--text-dark);
  font-family: inherit;
  text-align: left;
  width: 100%;
}
.service-select-item:disabled {
  background: #f8fafc;
  cursor: not-allowed;
  opacity: .72;
}
.booking-service-item-copy {
  display: grid;
  flex: 1;
  gap: 3px;
  min-width: 0;
}
.booking-service-item-name {
  font-size: 14px;
  font-weight: 600;
}
.booking-service-item-meta {
  color: var(--primary-brown);
  font-size: 12px;
}
.booking-service-item-includes {
  color: #64748b;
  font-size: 11px;
}
.booking-service-radio {
  color: var(--primary-brown);
  font-size: 18px;
}
.booking-catalog-empty {
  background: #fafaf9;
  border: 1px dashed #d6d3d1;
  border-radius: 8px;
  color: #64748b;
  grid-column: 1 / -1;
  padding: 24px;
  text-align: center;
}
.booking-catalog-demo-empty strong {
  color: var(--text-dark);
  display: block;
  margin-bottom: 8px;
}
.booking-catalog-demo-empty p {
  margin: 0 0 10px;
}
.booking-catalog-demo-empty > span {
  display: block;
  font-size: 12px;
  line-height: 1.8;
}
.service-group-filter-label {
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.therapy-group-help {
  color: #64748b;
  display: block;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 5px;
}
.booking-catalog-pagination {
  margin-top: 16px;
}
.booking-package-components,
.detail-package-includes {
  background: #fafaf9;
  border: 1px solid #e7ded4;
  border-radius: 8px;
  color: var(--text-dark);
  margin-top: 18px;
  padding: 14px 18px;
}
.booking-package-components ul,
.detail-package-includes ul {
  color: #64748b;
  line-height: 1.7;
  margin: 8px 0 0;
  padding-left: 20px;
}
.detail-package-includes h4 {
  margin: 0;
}
.detail-package-includes p {
  color: #64748b;
  font-size: 13px;
  margin: 10px 0 0;
}
.package-includes-summary {
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 16px;
}
.package-component-fieldset {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin: 18px 0;
  padding: 14px;
}
.package-component-fieldset legend {
  font-weight: 600;
  padding: 0 6px;
}
.package-component-fieldset > p,
.package-variant-fieldset p {
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
  margin: 5px 0 12px;
}
.package-component-options {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  max-height: 230px;
  overflow: auto;
}
.package-component-option {
  align-items: flex-start;
  background: #fafaf9;
  border: 1px solid #e7ded4;
  border-radius: 6px;
  display: flex;
  gap: 8px;
  padding: 9px;
}
.package-component-option small {
  color: #64748b;
  display: block;
  font-size: 11px;
}
.package-active-toggle {
  align-items: center;
  color: #475569;
  display: flex;
  font-size: 13px;
  gap: 8px;
  margin: 14px 0;
}
.package-variant-fieldset {
  border-top: 1px solid #e2e8f0;
  padding-top: 14px;
}
.package-variant-row {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr auto;
  margin-top: 10px;
}
.package-variant-row label {
  color: #475569;
  display: grid;
  font-size: 12px;
  gap: 5px;
}
@media (max-width: 640px) {
  .booking-catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
  }
  .booking-catalog-tab {
    flex: 1;
    padding: 9px 5px;
  }
  .booking-therapy-group {
    flex: 1 1 165px;
    justify-content: space-between;
    text-align: left;
  }
  .package-variant-row {
    grid-template-columns: 1fr 1fr;
  }
  .package-variant-row button {
    grid-column: 1 / -1;
  }
}

/* Action Buttons */
.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 4px;
}
.btn-danger {
  background: #dc2626 !important;
  color: #fff !important;
  border-color: #dc2626 !important;
}
.btn-success {
  background: var(--primary-green) !important;
  color: #fff !important;
  border-color: var(--primary-green) !important;
}

/* Favorite Heart Icon */
.fav-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #cbd5e1;
  transition: transform 0.2s ease, color 0.2s ease;
  padding: 4px;
}
.fav-btn:hover {
  transform: scale(1.15);
}
.fav-btn.active {
  color: #ef4444;
}

/* Chat launcher stays lightweight; the full chat UI stylesheet loads on first open. */
.serenity-chat-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1300;
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 7px 18px 7px 8px;
  background: var(--primary-brown, #a67020);
  box-shadow: 0 8px 25px rgba(45, 32, 15, .24);
  color: #fff;
  cursor: pointer;
  font: 600 14px/1.2 var(--font-body, Roboto, Arial, sans-serif);
  transition: transform .18s ease, box-shadow .18s ease;
}

.serenity-chat-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 28px rgba(45, 32, 15, .3);
}

.serenity-chat-launcher:focus-visible {
  outline: 3px solid #246fd3;
  outline-offset: 3px;
}

.serenity-chat-launcher-face {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #f7edda;
  color: #895b20;
  font-size: 22px;
}

.serenity-chat-launcher:disabled {
  cursor: wait;
  opacity: .8;
}

@media (max-width: 768px) {
  .serenity-chat-launcher {
    right: max(15px, env(safe-area-inset-right));
    bottom: calc(82px + env(safe-area-inset-bottom, 0px));
    min-height: 54px;
    padding-right: 15px;
  }

  .serenity-chat-launcher-face {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .serenity-chat-launcher { transition: none; }
}

/* Admin package editor: editable fields stay on the left, with a live storefront preview on the right. */
.modal-content.package-form-modal,
.modal-content.therapy-form-modal {
  max-width: 1080px;
  width: min(96vw, 1080px);
}

.package-form-layout,
.therapy-form-layout {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  height: min(86vh, 820px);
  min-width: 0;
  overflow: hidden;
  width: 100%;
}

.package-form-fields,
.package-preview-panel {
  min-height: 0;
  min-width: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.package-form-fields {
  padding: 26px 28px;
}

.package-form-title {
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin: 0 48px 6px 0;
}

.package-form-intro {
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 18px;
}

.package-image-upload small {
  color: #64748b;
  display: block;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 5px;
}

.package-image-upload .package-image-status {
  color: #805a27;
}

.package-variant-heading {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.package-variant-heading p {
  margin-bottom: 12px;
}

.package-form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
  padding-bottom: 3px;
}

.package-preview-panel {
  background: #f7f4ef;
  border-left: 1px solid #e8dfd2;
  padding: 28px 24px;
}

.package-preview-heading {
  display: grid;
  gap: 5px;
  margin: 0 0 14px;
}

.package-preview-heading span {
  color: #95651f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
}

.package-preview-heading small {
  color: #64748b;
  font-size: 12px;
}

.package-preview-card {
  background: #fff;
  border: 1px solid #e7ded4;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(58, 42, 23, .08);
  overflow: hidden;
}

.package-preview-image-wrap {
  aspect-ratio: 16 / 10;
  background: #eee8de;
  overflow: hidden;
  position: relative;
}

.package-preview-image-wrap img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.package-preview-badge {
  background: rgba(166, 112, 32, .94);
  border-radius: 999px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  left: 12px;
  letter-spacing: .05em;
  padding: 6px 9px;
  position: absolute;
  top: 12px;
}

.package-preview-content {
  padding: 18px;
}

.package-preview-content h4 {
  color: #3f3427;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.35;
  margin: 0 0 8px;
}

.package-preview-content > p {
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 13px;
}

.package-preview-meta {
  border-bottom: 1px solid #eee7de;
  color: #9b681d;
  font-size: 14px;
  font-weight: 700;
  padding-bottom: 14px;
}

.package-preview-components {
  color: #475569;
  font-size: 12px;
  margin-top: 14px;
}

.package-preview-components ul {
  display: grid;
  gap: 6px;
  margin: 9px 0 0;
  padding-left: 18px;
}

.package-preview-components li {
  line-height: 1.4;
}

.package-preview-variants {
  color: #64748b;
  font-size: 11px;
  margin-top: 16px;
}

.package-preview-variants > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.package-preview-variants span {
  background: #f5efe5;
  border-radius: 999px;
  color: #75501e;
  padding: 5px 8px;
}

@media (max-width: 768px) {
  .modal-content.package-form-modal {
    max-height: 92vh;
    width: min(96vw, 600px);
  }

  .modal-content.therapy-form-modal {
    max-height: 92vh;
    width: min(96vw, 600px);
  }

  .package-form-layout,
  .therapy-form-layout {
    display: block;
    height: 88vh;
    max-height: 820px;
    overflow-y: auto;
  }

  .package-form-fields,
  .package-preview-panel {
    overflow: visible;
  }

  .package-form-fields {
    padding: 22px 18px;
  }

  .therapy-form-fields {
    padding: 22px 18px;
  }

  .package-preview-panel {
    border-left: 0;
    border-top: 1px solid #e8dfd2;
    padding: 22px 18px;
  }

  .therapy-preview-panel {
    border-left: 0;
    border-top: 1px solid #e8dfd2;
    padding: 22px 18px;
  }
}

.therapy-form-numbers {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.therapy-preview-category {
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
  margin: -3px 0 12px;
}

@media (max-width: 520px) {
  .therapy-form-numbers {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.spa-agent-panel {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(58, 42, 25, 0.06);
  margin: 8px auto;
  max-width: 980px;
  overflow: hidden;
}

.spa-agent-header {
  align-items: center;
  background: linear-gradient(115deg, #fbf8f1, #fff 72%);
  border-bottom: 1px solid #eee7de;
  display: flex;
  gap: 16px;
  padding: 22px 26px;
}

.spa-agent-mark {
  align-items: center;
  background: #f2e7d5;
  border-radius: 50%;
  color: var(--primary-brown-dark);
  display: flex;
  flex: 0 0 44px;
  font-size: 23px;
  height: 44px;
  justify-content: center;
}

.spa-agent-header h2 {
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 21px;
  margin-bottom: 5px;
}

.spa-agent-header p {
  color: #6b6259;
  font-size: 13px;
  line-height: 1.55;
  max-width: 680px;
}

.spa-agent-access {
  background: #e9f5e8;
  border-radius: 999px;
  color: #386541;
  font-size: 11px;
  font-weight: 700;
  margin-left: auto;
  padding: 6px 11px;
}

.spa-agent-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 22px 0;
}

.spa-agent-history-toolbar { display: flex; align-items: end; flex-wrap: wrap; gap: 8px; padding: 18px 22px 6px; }
.spa-agent-history-toolbar label { flex: 1 1 260px; display: grid; gap: 6px; color: #71542e; font-size: 12px; }
.spa-agent-history-toolbar select { width: 100%; min-width: 0; padding: 10px; border: 1px solid #ded7ce; border-radius: 6px; background: #fff; color: #37332f; font: inherit; }
.spa-agent-history-toolbar button { font-size: 11px; padding: 10px 12px; }
.spa-agent-history-status { padding: 4px 22px 0; color: #756a5d; font-size: 12px; line-height: 1.6; }
.spa-agent-load-older { display: block; margin: 14px auto 0; border: 1px solid #ded7ce; border-radius: 6px; background: #fffaf3; padding: 8px 14px; color: #71542e; cursor: pointer; }
.spa-agent-load-older[hidden] { display: none; }
.spa-agent-message time { display: block; margin-top: 8px; color: #82796d; font-size: 10px; }
.spa-agent-message.is-failed { border-color: #cfa994; }
.spa-agent-message .spa-agent-history-effect { margin-top: 9px; padding-top: 9px; border-top: 1px solid #e6dccf; font-size: 12px; }

.spa-agent-prompts button {
  background: #fff;
  border: 1px solid #e6ded2;
  border-radius: 999px;
  color: #71542e;
  cursor: pointer;
  font: 500 12px var(--font-body);
  padding: 8px 12px;
}

.spa-agent-prompts button:hover:not(:disabled) {
  background: #fbf8f1;
  border-color: #cbb895;
}

.spa-agent-prompts button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.spa-agent-transcript {
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 480px;
  min-height: 300px;
  overflow-y: auto;
  padding: 22px;
}

.spa-agent-message {
  border: 1px solid #eee8df;
  border-radius: 12px;
  max-width: 84%;
  padding: 12px 15px;
}

.spa-agent-message.is-assistant {
  align-self: flex-start;
  background: #fbf8f1;
}

.spa-agent-message.is-user {
  align-self: flex-end;
  background: #f5f6f7;
}

.spa-agent-message-label {
  color: #80673f;
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.spa-agent-message p {
  color: #37332f;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.spa-agent-form {
  align-items: stretch;
  border-top: 1px solid #eee8df;
  display: flex;
  gap: 10px;
  padding: 16px 22px 12px;
}

.spa-agent-form textarea {
  border: 1px solid #ded7ce;
  border-radius: 9px;
  color: var(--text-dark);
  flex: 1;
  font: 14px/1.5 var(--font-body);
  min-height: 48px;
  padding: 12px 13px;
  resize: vertical;
}

.spa-agent-form textarea:focus {
  border-color: var(--primary-brown);
  outline: 2px solid rgba(166, 112, 32, 0.14);
}

.spa-agent-form button {
  align-self: flex-end;
  min-height: 46px;
}

.spa-agent-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.spa-agent-footnote {
  color: #777168;
  font-size: 11px;
  line-height: 1.5;
  padding: 0 22px 16px;
}

.spa-agent-sr-only {
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@media (max-width: 640px) {
  .spa-agent-header { align-items: flex-start; padding: 18px; }
  .spa-agent-header h2 { font-size: 18px; }
  .spa-agent-access { font-size: 10px; padding: 5px 8px; }
  .spa-agent-transcript { max-height: 55vh; min-height: 260px; padding: 16px; }
  .spa-agent-message { max-width: 94%; }
  .spa-agent-form { padding: 14px 16px 10px; }
  .spa-agent-footnote { padding: 0 16px 14px; }
}
/* Holiday pricing and explicit reschedule confirmation. */
.reschedule-price-quote { margin: 18px 0; padding: 20px; border: 1px solid #d5c9b9; border-radius: 12px; background: #fffaf2; color: #46372b; }
.reschedule-price-quote h4 { margin: 0 0 12px; }
.reschedule-modal { grid-column: 1 / -1; width: 100%; box-sizing: border-box; }
.reschedule-price-quote p { margin: 8px 0; line-height: 1.6; }
.reschedule-price-quote small { display: block; margin: 12px 0; line-height: 1.5; }
.holiday-price del { color: #64748b; font-size: .85em; font-weight: 400; margin-right: 6px; }
.holiday-price small { display: block; color: #15803d; font-size: 12px; font-weight: 500; margin-top: 4px; }
.promotion-page-loading, .promotion-page-error { max-width: 900px; min-height: 35vh; margin: 50px auto; padding: 36px 24px; text-align: center; }
.promotion-page { max-width: 980px; margin: 0 auto; padding: 34px 24px 80px; color: #3f352d; }
.promotion-back-link { display: inline-block; margin-bottom: 24px; color: var(--primary-brown); text-decoration: none; }
.promotion-hero { padding: clamp(34px, 7vw, 76px) clamp(22px, 7vw, 72px); border-radius: 8px; background: linear-gradient(135deg, #f3e9dc, #fbf7f1 72%); text-align: center; }
.promotion-eyebrow { margin: 0 0 12px; color: #a34232; font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.promotion-hero h1 { margin: 0; color: var(--primary-brown); font-family: var(--font-heading); font-size: clamp(30px, 5vw, 50px); font-weight: 400; }
.promotion-subtitle { max-width: 650px; margin: 16px auto 0; font-size: 17px; line-height: 1.7; }
.promotion-offer-card { margin: 26px auto; padding: 28px; border: 1px solid #e4d7c8; border-radius: 8px; background: #fffaf3; text-align: center; }
.promotion-offer-chip { display: inline-block; padding: 6px 10px; border-radius: 999px; background: #f3e4d7; color: #84392c; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.promotion-offer-card h2 { margin: 14px 0 6px; font-family: var(--font-heading); font-size: 24px; font-weight: 400; }
.promotion-offer-card > strong { color: #a34232; font-size: 26px; }
.promotion-offer-card p { margin: 10px 0 0; line-height: 1.6; }
.promotion-offer-card small { display: block; margin-top: 14px; color: #647066; }
.promotion-copy { max-width: 760px; margin: 30px auto; font-size: 16px; line-height: 1.8; white-space: normal; }
.promotion-copy ul { padding-left: 23px; }
.promotion-copy li { margin: 8px 0; }
.promotion-conditions { margin-top: 26px; padding: 20px 24px; border-left: 3px solid #b18a5a; background: #faf7f2; }
.promotion-conditions h2 { margin: 0 0 8px; font-size: 17px; }
.promotion-conditions p { margin: 0; }
.promotion-booking-cta { display: block; width: fit-content; margin: 30px auto 0; padding: 15px 24px; text-align: center; text-decoration: none; }
.holiday-admin-panel { margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid #ddd4c8; }
.holiday-sale-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 20px 0; }
.holiday-sale-form label { display: grid; gap: 7px; align-content: start; font-size: 13px; }
.holiday-sale-form [hidden] { display: none; }
.holiday-sale-actions { display: flex; gap: 8px; align-items: end; flex-wrap: wrap; }

/* Staff playlist manager. */
.music-manager-page { width: 100%; max-width: 1120px; margin: 0 auto; padding: 40px 24px 90px; color: #3e342b; box-sizing: border-box; }
.music-manager-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px; color: var(--primary-brown); font-weight: 600; font-size: 14px; text-decoration: none; }
.music-manager-back:hover { text-decoration: underline; }
.music-manager-heading { margin: 0 0 26px; padding: clamp(24px, 4vw, 44px); border-radius: 12px; background: linear-gradient(135deg, #f6ede1, #fbf8f2); border: 1px solid #efe4d5; }
.music-manager-heading > span, .music-section-kicker { color: #986e39; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.music-manager-heading h1 { margin: 8px 0 10px; color: #6e4922; font-family: var(--font-heading); font-size: clamp(28px, 4.5vw, 42px); font-weight: 400; line-height: 1.2; }
.music-manager-heading p, .music-import-card p { max-width: 720px; margin: 0; color: #756b60; line-height: 1.7; font-size: 14px; }
.music-import-card, .music-list-card { margin: 0 0 22px; padding: clamp(18px, 2.6vw, 28px); border: 1px solid #e9e0d4; border-radius: 12px; background: #fff; box-shadow: 0 8px 28px rgba(58, 43, 24, .045); box-sizing: border-box; }
.music-lists-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.music-lists-grid .music-list-card { margin: 0; height: 100%; display: flex; flex-direction: column; }
.music-import-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.music-import-card h2, .music-list-heading h2 { margin: 5px 0 6px; color: #4c4034; font-family: var(--font-heading); font-size: clamp(19px, 2.4vw, 22px); font-weight: 500; }
.music-import-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.music-file-picker { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid #d6c5ae; border-radius: 6px; background: #fffdf9; color: #604723; cursor: pointer; font-size: 13px; font-weight: 600; transition: border-color 0.2s, background 0.2s; }
.music-file-picker:hover { border-color: var(--primary-brown); background: #f8f1e6; }
#musicFileInput { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.music-manager-status { min-height: 22px; margin: 4px 2px 18px; color: #52734f; font-size: 13px; font-weight: 500; }
.music-manager-status:empty { display: none; }
.music-manager-status.is-error { color: #a13b32; }
.music-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.music-list-heading h2 { margin-bottom: 0; }
.music-count { color: #7b7064; font-size: 12px; font-weight: 600; white-space: nowrap; padding: 4px 10px; border-radius: 999px; background: #f7f1e8; }
.music-playlist, .music-library { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; flex: 1; align-content: start; }
.music-playlist-item, .music-library-item { display: flex; min-height: 62px; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #eee9e2; border-radius: 8px; background: #fffdfa; box-sizing: border-box; }
.music-track-index { width: 26px; flex-shrink: 0; color: #a07846; font-size: 12px; font-weight: 700; }
.music-track-copy { display: grid; min-width: 0; flex: 1; gap: 4px; }
.music-track-copy strong { overflow-wrap: anywhere; color: #443a31; font-size: 13px; font-weight: 600; line-height: 1.4; }
.music-track-copy small { color: #8b8177; font-size: 11px; overflow-wrap: anywhere; }
.music-track-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.music-track-actions .btn-sm, .music-library-item .btn-sm { min-height: 34px; padding: 6px 11px; font-size: 11px; white-space: nowrap; flex-shrink: 0; }
.music-track-actions button:disabled { opacity: .4; cursor: not-allowed; }
.music-save-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #f0e9df; }
.music-save-row small { color: #84796d; line-height: 1.5; font-size: 12px; }
.music-empty { padding: 24px 12px; color: #82786d; font-size: 13px; text-align: center; border: 1px dashed #e6dcd0; border-radius: 8px; }
.music-manager-denied { min-height: 45vh; padding: 80px 20px; text-align: center; }
.music-manager-denied h1 { margin-bottom: 14px; color: #6e4922; font-family: var(--font-heading); }
.music-manager-denied p { margin-bottom: 24px; color: #756b60; }
@media (max-width: 960px) {
  .music-lists-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .header-music-toggle { min-height: 36px; padding: 0 10px; font-size: 11px; }
  .music-manager-page { padding: 24px 14px 72px; }
  .music-manager-heading { padding: 22px 18px; margin-bottom: 18px; }
  .music-import-card { align-items: stretch; flex-direction: column; gap: 14px; }
  .music-import-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .music-file-picker, .music-import-actions .btn-primary { width: 100%; text-align: center; justify-content: center; box-sizing: border-box; }
  .music-playlist-item, .music-library-item { align-items: flex-start; flex-wrap: wrap; gap: 10px; padding: 12px; }
  .music-track-actions { width: 100%; justify-content: flex-end; gap: 6px; padding-top: 4px; border-top: 1px dashed #f1ebe2; }
  .music-track-actions .btn-sm { flex: 1; justify-content: center; text-align: center; }
  .music-library-item .btn-sm { width: 100%; justify-content: center; text-align: center; }
  .music-save-row { align-items: stretch; flex-direction: column; gap: 10px; }
  .music-save-row .btn-primary { width: 100%; text-align: center; justify-content: center; }
}
