/* -----------------------------spa.html   SUGOD --------------------------------- */

/* New Spa-Themed Styling with Pastel Colors */
:root {
  --spa-pastel-mint: #d1e8e2;
  --spa-pastel-sage: #c8d5b9;
  --spa-pastel-lavender: #d9d2e9;
  --spa-pastel-peach: #fae3d9;
  --spa-pastel-blue: #d6eaf8;
  --spa-dark-teal: #116466;
  --spa-medium-teal: #2c7873;
  --spa-light-teal: #6fb98f;
  --spa-text-dark: #2f4858;
  --spa-text-medium: #4a6572;
  --spa-background: #fafafa;
  --spa-border-light: rgba(0, 75, 66, 0.15);
}

body {
  background-color: var(--spa-background);
  color: var(--spa-text-medium);
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

/* Spa Main Content Styling */
#spaMain {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  background-color: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

/* Wellness Landing Enhancements */
#wellnessLanding .wordItem {
  display: none;
  font-size: 22px;
  color: var(--spa-dark-teal);
  margin: 0 6px;
}

#wordsWithPhoto {
  position: relative;
}

#wordsWithPhoto .wwpSlide {
  display: none;
}

#wellnessRibbon .nav-item {
  display: inline-block;
  margin: 6px 8px;
  padding: 8px 14px;
  border: 1px solid var(--spa-pastel-mint);
  border-radius: 999px;
  color: var(--spa-medium-teal);
}

#spaMain h1,
#spaMain h2,
#spaMain h3 {
  font-family: "Georgia", serif;
  letter-spacing: 0.5px;
}

.leoxTitle1 {
  color: var(--spa-dark-teal) !important;
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.leoxTitle1:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(
    to right,
    var(--spa-pastel-mint),
    var(--spa-pastel-lavender)
  );
}

.leoxTitleColor1 {
  color: var(--spa-dark-teal) !important;
}

#spaMain p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--spa-text-medium);
}

#spaMain p.iJustify {
  text-align: justify;
  font-size: 16px;
}

#spaMain .spacer30px {
  height: 30px;
  clear: both;
}

/* Image styling */
#spaMain img.IpatungaDblock {
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  display: block;
  margin: 0 auto 20px;
}

#spaMain img.padding3px {
  padding: 3px;
  background-color: white;
  border: 1px solid var(--spa-pastel-mint);
}

/* Enhanced image sizing for better visual balance */
@media only screen and (min-width: 600px) {
  #spaMain img.IpatungaDblock {
    min-width: 100%;
    object-fit: cover;
  }

  /* Ensure proper spacing between image and text */
  #spaMain p.iJustify {
    margin-top: 15px;
  }
}

/* List styling */
#spaMain ul.iLeft {
  list-style-type: none;
  padding-left: 5px;
  margin: 20px 0;
}

#spaMain ul.iLeft li {
  position: relative;
  padding: 8px 0 8px 30px;
  margin-bottom: 5px;
  font-size: 16px;
  color: var(--spa-text-medium);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
}

#spaMain ul.iLeft li:before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--spa-light-teal);
  font-size: 18px;
  line-height: 1.5;
}

/* Heading styling */
#spaMain h3.txtDarkGreen {
  color: var(--spa-medium-teal);
  font-size: 22px;
  font-weight: 500;
  margin: 25px 0 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--spa-pastel-mint);
}

/* Container styling */
.leoxSudlanan {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Italics styling */
#spaMain i {
  color: var(--spa-text-medium);
  font-style: italic;
  font-weight: 300;
}

/* Navigation styling */
.desktop_TopSubMenu ul li a,
.desktop_BottomSubMenu ul li a {
  color: var(--spa-medium-teal) !important;
  transition: color 0.3s ease;
}

.desktop_TopSubMenu ul li a:hover,
.desktop_BottomSubMenu ul li a:hover {
  color: var(--spa-dark-teal) !important;
  text-decoration: none;
}

.desktop_TopSubMenu ul li.selected a,
.desktop_BottomSubMenu ul li.selected a {
  color: var(--spa-dark-teal) !important;
  font-weight: bold;
}

/* Footer styling */
[data-role="footer"] {
  background-color: var(--spa-pastel-mint);
  border-top: 1px solid var(--spa-border-light);
  /* padding-top: 20px; */
}

/* Mobile responsiveness improvements */
@media only screen and (max-width: 768px) {
  #spaMain {
    padding: 15px;
  }

  .leoxTitle1 {
    font-size: 24px;
  }

  #spaMain p.iJustify {
    font-size: 15px;
    line-height: 1.6;
  }

  #spaMain ul.iLeft li {
    font-size: 15px;
  }

  #spaMain img.IpatungaDblock {
    margin-bottom: 15px;
  }
}

/* Additional responsive adjustments for smaller screens */
@media only screen and (max-width: 600px) {
  /* Remove padding and margin for key elements */
  #spaMain {
    padding: 10px 5px;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
  }

  .leoxSudlanan {
    padding: 10px 0;
    border-radius: 0;
    box-shadow: none;
  }

  #spaMain img.IpatungaDblock {
    border-radius: 0;
    box-shadow: none;
  }

  #spaMain img.padding3px {
    padding: 0;
    border: none;
  }

  #spaMain .spacer30px {
    height: 15px;
  }

  #spaMain p {
    margin-bottom: 15px;
  }

  #spaMain ul.iLeft {
    margin: 10px 0;
  }

  #spaMain ul.iLeft li {
    padding: 5px 0 5px 20px;
    margin-bottom: 0;
  }

  .leoxTitle1 {
    margin-bottom: 15px;
    padding-bottom: 10px;
  }

  .leoxTitle1:after {
    width: 60px;
  }

  /* Adjust navigation for mobile */
  .desktop_TopSubMenu,
  .desktop_BottomSubMenu {
    padding: 0;
  }

  /* Fix for inline block elements on mobile */
  .IpatungaInlineBlock {
    display: block;
    width: 100%;
  }

  /* Ensure text is properly sized and aligned */
  #spaMain p.iJustify {
    text-align: left;
    padding: 0 5px;
  }

  /* Ensure proper content flow */
  .homeArticle {
    padding: 0;
  }

  /* Adjust breadcrumb navigation */
  .L_YourAreHere {
    padding: 5px;
  }

  /* Ensure footer is properly styled */
  [data-role="footer"] {
    padding-top: 10px;
  }
}

.spaTableWithPrice {
  margin: 0 auto;
  border-width: 0 0 0 0;
  border-spacing: 0;
}
.spaTableWithPrice tr:nth-child(odd) {
  line-height: 30px;
  color: rgb(1, 75, 66);
  font-weight: bold;
}
.spaTableWithPrice tr:nth-child(odd) i {
  color: #000;
}

.spaTableWithPrice tr:nth-child(even) p {
  margin-top: 0;
  margin-left: 0;
}
.spaTableWithPrice td:nth-child(1) {
  text-align: left;
  padding-left: 10px;
}
.spaTableWithPrice td:nth-child(2) {
  width: 78px;
  text-align: right;
  padding-right: 10px;
}

#mogambosprings .ui-listview .ui-li-divider {
  margin-bottom: 0px;
}

#mogambosprings .ui-listview li {
  margin-bottom: -10px;
}
#mogambosprings .ui-listview li h4 i {
  color: black;
}
#mogambosprings #LovingLifeDay1 li p,
#mogambosprings #LovingLifeDay2 li p {
  font: 14px Arial;
  text-overflow: initial;
  overflow: visible;
  white-space: normal;
}

#spaTreatMents,
#spaLovingLife,
#spaIndugencePac,
#spaNailSalon {
  margin: 0 auto;
  max-width: 1100px; /* with of treats pic width;*/
}

#spaTreatMents .ui-collapsible-set,
#spaLovingLife .ui-collapsible-set,
#spaIndugencePac .ui-collapsible-set,
#spaNailSalon .ui-collapsible-set {
  margin: 15px 3px 0;
}
#spaTreatMents .ui-collapsible,
#spaLovingLife .ui-collapsible {
  border-radius: 3px;
  padding: 2px 0;
  margin-bottom: 5px;
  text-shadow: none;
}

#spaTreatMents .ui-collapsible-content,
#spaLovingLife .ui-collapsible-content {
  background: #f6f6f6;
  padding: 8px;
  border: none;
  border-top: 1px solid #ddd;
}
#spaTreatMents .ui-collapsible .ui-btn,
#spaLovingLife .ui-collapsible .ui-btn {
  border-bottom: none;
  border-style: none;
  color: teal;
  text-shadow: none;
  box-shadow: none;
}
#spaTreatMents .ui-mini.ui-btn-icon-right:after,
#spaLovingLife .ui-mini.ui-btn-icon-right:after {
  background-color: teal;
  -webkit-border-radius: 0;
  border-radius: 0;
}

#spaLovingLife ul li {
  padding-top: 5px;
  /*padding-left: 20px;*/
  line-height: 20px;
  /*list-style-type: none;*/
  /*background: url(pbayImages/bullet.png) no-repeat 0 10px;*/
  list-style: square url(pbayImages/favicon.ico);
}

.divRoomCategory {
  margin: 0 auto;
  max-width: 572px;
  background-color: #fff;
  vertical-align: top;
  text-align: left;
  padding: 10px;
  border-radius: 3px;
  border: 1px dotted rgba(0, 75, 66, 0.3);
  -moz-box-shadow: 3px 3px 3px 1px rgba(0, 128, 128, 0.1),
    0px 0px 3px 1px rgba(0, 128, 128, 0.1);
  -webkit-box-shadow: 3px 3px 3px 1px rgba(0, 128, 128, 0.1),
    0px 0px 3px 1px rgba(0, 128, 128, 0.1);
  box-shadow: 3px 3px 3px 1px rgba(0, 128, 128, 0.1),
    0px 0px 3px 1px rgba(0, 128, 128, 0.1);
}
.divRoomCategory hr {
  border-color: rgba(255, 255, 204, 0.2);
}
.divRoomCategory h4 {
  margin-top: 0;
  color: rgb(1, 75, 66);
  text-align: left;
  background: url(pbayImages/gauze.png) #ececec;
  padding: 8px 15px 8px;
  margin-bottom: 0;
}
.divRoomCategory h3 span {
  /* Price */
  float: right;
}

.divRoomCategory p {
  margin-bottom: 1px;
  margin-left: 10px;
}
.divRoomCategory .ui-listview {
  padding: 0 10px;
  box-shadow: none;
}
.divRoomCategory ul.ui-listview li {
  border: none;
}
.divRoomCategory img.rmDetails {
  cursor: pointer;
}
@media only screen and (min-width: 180px) {
  .divRoomCategory {
    margin: 5px 3px 50px 3px;
    padding: 3px;
  }
  .divRoomCategory h3 span {
    display: none;
  }
  .leoxTitle {
    font-size: 23px;
  }
}

@media only screen and (min-width: 370px) {
  .divRoomCategory {
    margin: 0 auto;
    padding: 10px;
  }
  .divRoomCategory h3 span {
    display: inline-block;
  }
  .leoxTitle {
    font-size: 28px;
  }
}

.roomDetailsTbl {
  margin-left: 10px;
  max-width: 550px;
  border-width: 1px 1px 1px 1px;
  border-spacing: 0;
  border-color: #d2bd86;
  border-collapse: collapse;
  border-style: solid;
}
.roomDetailsTbl td {
  border-width: 0 0 1px 1px;
  border-spacing: 0;
  border-color: #d2bd86;
  border-collapse: collapse;
  border-style: solid;
  padding: 8px 8px 8px 13px;
}
.roomDetailsTbl td:nth-child(1) {
  text-align: left;
  color: rgb(1, 75, 66);
  font-weight: bold;
}
.roomDetailsTbl td:nth-child(2) {
  text-align: right;
  font-weight: bold;
  max-width: 80px;
}

.roomAction a.ui-btn {
  color: teal !important;
  font: bold 14px Arial;
  text-shadow: none;
  background-color: transparent;
  padding-top: 4px;
  padding-right: 3px;
  padding-bottom: 4px;
  border: none;
}
.roomAction a.ui-btn:hover {
  color: var(--pb-crimson, #C0392B) !important;
  text-shadow: none;
  background-color: transparent;
}
.roomAction a.ui-btn:focus {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.roomAction .ui-btn-icon-left {
  padding-left: 2em;
}
.roomAction .ui-btn-icon-left:after {
  background-color: teal;
  border-radius: 3px;
  left: 0;
}
.roomAction {
  text-align: left;
  margin: 15px 0;
}

.Menu .rest-menu-item-title {
  text-transform: capitalize;
}
#spaMain ul,
#spaReminders ul {
  list-style-type: none;
}

#spaMain ul li::before,
#spaReminders ul li::before {
  content: "";
  position: absolute;
  margin-top: 4px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #efbb35;
  margin-left: -15px;
}

/* ── Center spaReminders contents ── */
#spaReminders {
  text-align: center;
}
#spaReminders ul {
  display: inline-block;
  text-align: left;
  margin: 0 auto;
}

.salonWax {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media only screen and (min-width: 520px) {
  .salonWax {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ---- Therapy Image Grid Navigation ---- */
.therapy-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 16px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Make the 5th item span full width on mobile so it's centered/balanced */
.therapy-nav-grid-item:nth-child(5) {
  grid-column: span 2;
  aspect-ratio: 21/9; /* Wider aspect ratio since it spans full width on mobile */
}

@media only screen and (min-width: 768px) {
  .therapy-nav-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
  
  /* Reset the 5th item on desktop so it sits inline with the rest */
  .therapy-nav-grid-item:nth-child(5) {
    grid-column: span 1;
    aspect-ratio: 3/4;
  }
}

.therapy-nav-grid-item {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  aspect-ratio: 3/4; /* Makes them consistent vertical cards */
}

.therapy-nav-grid-item:hover,
.therapy-nav-grid-item:focus {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(17, 100, 102, 0.25);
}

.therapy-nav-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.therapy-nav-grid-item:hover img {
  transform: scale(1.05);
}

/* The button overlay at the bottom of the image */
.therapy-nav-grid-btn {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 14px 8px;
  background: linear-gradient(to top, rgba(1, 75, 66, 0.95) 0%, rgba(1, 75, 66, 0.8) 60%, transparent 100%);
  color: #fff;
  text-align: center;
  font-family: "Arial", sans-serif;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

@media only screen and (min-width: 768px) {
  .therapy-nav-grid-btn {
    font-size: 0.9rem;
    padding: 16px 10px;
  }
}

/* ---- Action Buttons & Footers ---- */
.therapy-action-footer {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  padding: 20px 0 30px;
}

.btn-premium-red {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%);
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.2);
  border: none;
  cursor: pointer;
}

.btn-premium-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(185, 28, 28, 0.3);
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
}

.btn-premium-red::after {
  content: '→';
  margin-left: 10px;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.btn-premium-red:hover::after {
  transform: translateX(5px);
}
/* Retained no lingering classes here */

/* ---- Individual therapy section cards ---- */
#facialTreatments,
#LEDTherapy,
#bodyTreatments,
#massageTherapies,
#specialSpaPackages {
  scroll-margin-top: 80px;
  margin-bottom: 48px;
  background: #fff;
  border-radius: 0;
  padding: 0 0 20px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  overflow: hidden;
}

/* ---- Modernized Therapy Menu Items (Elegant Minimalist) ---- */
#spaTreatMents .rest-menu-section-group {
  padding: 0 16px;
}

#spaTreatMents .rest-menu-items {
  display: flex;
  flex-direction: column;
}

#spaTreatMents .rest-menu-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(17, 100, 102, 0.15);
  padding: 32px 8px;
  box-shadow: none;
  transition: background-color 0.4s ease, padding-left 0.4s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0;
}

#spaTreatMents .rest-menu-item:last-child {
  border-bottom: none;
}

#spaTreatMents .rest-menu-item:hover,
#spaTreatMents .rest-menu-item:focus-within {
  background-color: rgba(17, 100, 102, 0.02);
  padding-left: 20px; /* Subtle hover indent */
  border-bottom-color: rgba(17, 100, 102, 0.3);
}

#spaTreatMents .rest-menu-item-title {
  font-family: "Georgia", serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--spa-dark-teal);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

/* The duration */
#spaTreatMents .rest-menu-item-title i {
  font-family: "Arial", sans-serif;
  font-size: 0.85rem;
  color: #888;
  font-weight: normal;
  font-style: italic;
  margin-left: 0;
  background: transparent;
  padding: 0;
  text-transform: none;
}

#spaTreatMents .rest-menu-item-desc {
  font-family: "Arial", sans-serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* The price */
#spaTreatMents .rest-menu-item-desc i:last-child {
  display: inline-block;
  align-self: flex-end;
  font-family: "Georgia", serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #111;
  font-style: normal;
  margin-top: 24px;
}

/* For formatting the peso sign automatically */
#spaTreatMents .rest-menu-item-desc i:last-child::before {
  content: "PHP ";
  font-family: "Arial", sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #999;
  margin-right: 6px;
  vertical-align: middle;
}

/* Section Header styling */
#spaTreatMents .rest-menu-section-header {
  padding: 0 16px 20px;
  text-align: center;
}

#spaTreatMents .rest-menu-section-header p {
  color: #777;
  font-size: 1rem;
  max-width: 650px;
  margin: 0 auto;
}

@media only screen and (min-width: 768px) {
  #spaTreatMents .rest-menu-section-group {
    padding: 0 32px;
  }
}

@media only screen and (min-width: 1024px) {
  #spaTreatMents .rest-menu-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 60px; /* Large gap between columns */
  }
}

/* ---- Tab Hero Banners (per-tab cinematic image header) ---- */
.tab-hero-banner {
  position: relative;
  width: 100%;
  /* Increased minimum height for better mobile display (240px instead of 160px) */
  height: clamp(240px, 35vw, 420px);
  background-size: cover;
  background-position: center;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
}

.tab-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(17, 100, 102, 0.72) 0%,
    rgba(0, 0, 0, 0.35) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
}

.tab-hero-title {
  color: #fff;
  font-family: "Georgia", serif;
  font-size: clamp(1.1rem, 3.5vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 6px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

.tab-hero-subtitle {
  color: rgba(255,255,255,0.88);
  font-size: clamp(0.8rem, 1.8vw, 1.05rem);
  font-style: italic;
  letter-spacing: 0.5px;
  margin: 0;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* Mobile-first responsive styles for therapy images gallery using CSS Grid */
.therapy-images-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 0 auto;
  padding: 0 15px;
  padding-bottom: 0;
  max-width: 100%;
}

.therapy-images-gallery > div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}

.therapy-images-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.therapy-images-gallery img:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Small mobile devices: Single column (base - mobile-first) */
/* No media query needed - this is the default */

/* Larger mobile devices: 2 columns */
@media only screen and (min-width: 480px) {
  .therapy-images-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 20px;
  }
}

/* Tablets: 2 columns with better spacing */
@media only screen and (min-width: 768px) {
  .therapy-images-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 40px;
    max-width: 800px;
  }
}

/* Medium desktop: 4 columns with proper sizing */
@media only screen and (min-width: 1024px) {
  .therapy-images-gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0;
    max-width: 1000px;
    width: 100%;
  }

  .therapy-images-gallery img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    min-height: 200px;
  }
}

/* Large desktop: 4 columns with larger sizing */
@media only screen and (min-width: 1200px) {
  .therapy-images-gallery {
    max-width: 1200px;
    gap: 24px;
  }

  .therapy-images-gallery img {
    min-height: 240px;
  }
}

/* Extra large desktop: Even larger images */
@media only screen and (min-width: 1400px) {
  .therapy-images-gallery {
    max-width: 1400px;
    gap: 28px;
  }

  .therapy-images-gallery img {
    min-height: 280px;
  }
}

/* Red Light Healing Page - Mobile-First Responsive Styles */
.red-light-content {
  color: #000000;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* Mobile-first base styles */
.red-light-title {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--spa-dark-teal);
  line-height: 1.3;
}

.red-light-intro,
.red-light-text {
  font-size: 1rem;
  margin-top: 1.5rem;
  text-align: left;
  line-height: 1.6;
  color: var(--spa-text-medium);
}

.red-light-note {
  margin-top: 0.5rem;
}

.red-light-description {
  text-align: justify;
  margin-top: 2rem;
}

.red-light-subtitle {
  font-size: 1.125rem;
  margin-top: 2rem;
  text-align: left;
  line-height: 1.5;
  font-weight: 600;
  color: var(--spa-dark-teal);
}

.red-light-image {
  width: 100%;
  height: auto;
  margin: 1.5rem 0;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.red-light-pricing-list,
.red-light-features-list,
.red-light-benefits-list {
  margin-left: 0;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  padding-left: 0;
  font-size: 1rem;
  text-align: left;
  line-height: 1.6;
}

.red-light-pricing-list {
  margin-left: 1rem;
}

.red-light-features-list li,
.red-light-benefits-list li {
  margin-bottom: 1rem;
}

.red-light-feature-text {
  font-size: 1rem;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
  text-align: left;
  line-height: 1.6;
  color: var(--spa-text-medium);
}

.desktop-only {
  display: none;
}

/* Tablet and up (600px+) */
@media only screen and (min-width: 600px) {
  .red-light-content {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 1rem;
  }

  .red-light-title {
    font-size: 1.75rem;
    margin-top: 2rem;
  }

  .red-light-intro,
  .red-light-text {
    font-size: 1.0625rem;
    margin-top: 2rem;
  }

  .red-light-description {
    margin-top: 3rem;
  }

  .red-light-subtitle {
    font-size: 1.25rem;
    margin-top: 3rem;
  }

  .red-light-image {
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
  }

  .red-light-pricing-list {
    margin-left: 2rem;
  }

  .red-light-features-list,
  .red-light-benefits-list {
    margin-left: 1rem;
  }

  .desktop-only {
    display: inline;
  }
}

/* Desktop (768px+) */
@media only screen and (min-width: 768px) {
  .red-light-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
  }

  .red-light-title {
    font-size: 2rem;
    margin-top: 3rem;
  }

  .red-light-intro,
  .red-light-text {
    font-size: 1.125rem;
    margin-top: 2.5rem;
    line-height: 1.7;
  }

  .red-light-description {
    margin-top: 4rem;
  }

  .red-light-subtitle {
    font-size: 1.375rem;
    margin-top: 4rem;
  }

  .red-light-image {
    margin: 2.5rem 0;
  }

  .red-light-pricing-list {
    margin-left: 3rem;
  }

  .red-light-features-list,
  .red-light-benefits-list {
    margin-left: 1.5rem;
    margin-top: 2rem;
  }

  .red-light-benefits-list {
    margin-bottom: 3rem;
  }
}

/* Large Desktop (1024px+) */
@media only screen and (min-width: 1024px) {
  .red-light-content {
    max-width: 820px;
    margin-left: 50px;
    padding: 0;
  }

  .red-light-title {
    font-size: 1.5rem;
    margin-top: 3.75rem;
  }

  .red-light-intro {
    margin-top: 1.5rem;
  }

  .red-light-text {
    margin-top: 4.375rem;
  }

  .red-light-description {
    margin-top: 5rem;
  }

  .red-light-subtitle {
    font-size: 1.125rem;
    margin-top: 7.5rem;
  }

  .red-light-image {
    margin-bottom: 1.25rem;
  }

  .red-light-pricing-list {
    margin-left: 5.625rem;
    margin-top: 1.875rem;
  }

  .red-light-features-list {
    margin-left: 1.875rem;
    margin-top: 1.875rem;
  }

  .red-light-benefits-list {
    margin-left: 1.875rem;
    margin-top: 1.875rem;
    margin-bottom: 4.375rem;
  }

  .red-light-feature-text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    margin-top: 0.3125rem;
  }
}

/* ─── Typography Measure ─── */
/* Prose paragraphs — constrain line length for readability */
#spaMain p {
  max-width: 68ch;
  line-height: 1.9;
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
}

/* Justified inline paragraphs stay full-width within their container */
#spaMain p.iJustify {
  max-width: 100% !important;
}

/* Red Light Healing prose text */
.red-light-intro,
.red-light-text,
.red-light-description,
.red-light-feature-text {
  max-width: 68ch;
  line-height: 1.9;
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
}

/* Centered section header paragraph — exempt */
#spaTreatMents .rest-menu-section-header p {
  max-width: 100% !important;
}

/* Price/description flex paragraph — exempt */
#spaTreatMents .rest-menu-item-desc {
  max-width: 100% !important;
}

/* List items — slightly wider measure */
#spaMain ul.iLeft li {
  max-width: 72ch;
  line-height: 1.85;
}

.red-light-features-list li,
.red-light-benefits-list li {
  max-width: 72ch;
  line-height: 1.85;
}

/* -------- Tumoy sa spa.html  -------------------------------- */

/* ─── Therapies 4-tab navigation (pastel editorial style) ────────── */
.therapies-tab-nav {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  max-width: 720px;
  margin: var(--section-gap) auto 50px; /* Top margin to breathe, large bottom margin to push hero down */
  border: 1px solid rgba(184, 150, 90, 0.18);
  border-radius: 3px;
  overflow: hidden;
}

.therapies-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 10px 12px; /* Reduced vertical padding */
  text-decoration: none !important;
  border-right: 1px solid rgba(184, 150, 90, 0.18);
  transition: background 0.25s ease, color 0.25s ease;
  position: relative;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
  box-sizing: border-box;
  border-bottom: none;
}

.therapies-tab-btn:last-child { border-right: none; }

/* Dots above labels (now below) */
.therapies-tab-btn::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  order: 2;
  margin-top: 2px;
}

/* ─── Per-tab pastel palette ─────────────────────────────────────── */
/* Tab 1 — Spa Treatments: Warm sage */
.therapies-tab-btn[href="#tab-spa"] { color: #2a5c4e; background: #e8f2ef; }
.therapies-tab-btn[href="#tab-spa"]::before { background: #2a5c4e; }
.therapies-tab-btn[href="#tab-spa"]:hover { background: #d0e7e1; }

/* Tab 2 — Flotation Therapy: Soft ocean */
.therapies-tab-btn[href="#tab-flotation"] { color: #2a4a6b; background: #e8eef6; }
.therapies-tab-btn[href="#tab-flotation"]::before { background: #2a4a6b; }
.therapies-tab-btn[href="#tab-flotation"]:hover { background: #d0dced; }

/* Tab 3 — Red Light Healing: Gentle rose */
.therapies-tab-btn[href="#tab-redlight"] { color: #6b2a3a; background: #f5eaed; }
.therapies-tab-btn[href="#tab-redlight"]::before { background: #6b2a3a; }
.therapies-tab-btn[href="#tab-redlight"]:hover { background: #ead0d8; }

/* Tab 4 — Hyperbaric Oxygen: Warm lavender */
.therapies-tab-btn[href="#tab-hyperbaric"] { color: #3a2a6b; background: #eee8f6; }
.therapies-tab-btn[href="#tab-hyperbaric"]::before { background: #3a2a6b; }
.therapies-tab-btn[href="#tab-hyperbaric"]:hover { background: #dbd0ec; }

@media (max-width: 600px) {
  .therapies-tab-nav {
    flex-direction: column;
    gap: 0;
  }
  .therapies-tab-btn {
    flex-direction: row;
    justify-content: flex-start;
    padding: 14px 20px;
    border-right: none;
    border-bottom: 1px solid rgba(184, 150, 90, 0.18);
    gap: 12px;
    text-align: left;
  }
  .therapies-tab-btn:last-child { border-bottom: none; }
  .therapies-tab-btn::before { margin-top: 0; }
}

@media (min-width: 601px) and (max-width: 767px) {
  .therapies-tab-btn {
    font-size: 0.6rem;
    padding: 14px 8px;
    letter-spacing: 0.1em;
  }
}

@media (min-width: 768px) {
  .therapies-tab-btn {
    font-size: 0.65rem;
    padding: 20px 16px;
  }
}

/* ─── Active tab state — toggled by JS ───────────────────────────── */

/* ─── Tab panel visibility ────────────────────────────────────────── */
.therapies-tab-panel { display: none; }
.therapies-tab-panel.is-active { display: block; }

.therapies-tab-btn.is-active[href="#tab-spa"]        { background: #d0e7e1; font-weight: 700; }
.therapies-tab-btn.is-active[href="#tab-flotation"]   { background: #d0dced; font-weight: 700; }
.therapies-tab-btn.is-active[href="#tab-redlight"]    { background: #ead0d8; font-weight: 700; }
.therapies-tab-btn.is-active[href="#tab-hyperbaric"]  { background: #dbd0ec; font-weight: 700; }

.therapies-tab-btn.is-active {
  text-shadow: none !important;
}

.therapies-tab-btn.is-active::before {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid green !important;
  background: transparent !important;
  border-radius: 0;
}

/* ─── Flotation therapy typography ───────────────────────────────── */
/* ─── Luxury Editorial Hero Banner ───────────────────────────────── */
.luxury-hero-banner {
  display: flex;
  flex-direction: column;
  max-width: 850px;
  margin: 80px auto 40px auto;
  background: #faf8f5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .luxury-hero-banner {
    flex-direction: row;
    align-items: stretch;
    background: linear-gradient(to right, #faf8f5 0%, #ffffff 100%);
  }
}

/* Wider viewports: let the banner breathe with generous negative space */
@media (min-width: 1100px) {
  .luxury-hero-banner {
    max-width: 1000px;
  }
}

@media (min-width: 1400px) {
  .luxury-hero-banner {
    max-width: 1100px;
  }
}

.luxury-hero-text {
  padding: 50px 30px;
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .luxury-hero-text {
    padding: 30px 50px 60px 40px;
    text-align: left;
    justify-content: flex-start;
  }
}

@media (min-width: 1100px) {
  .luxury-hero-text {
    padding: 40px 80px 80px 60px;
  }
}

.luxury-hero-eyebrow {
  display: block;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif !important;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #a38d72; /* Elegant muted gold/brown */
  margin-bottom: 16px;
  text-shadow: none !important;
}

.luxury-hero-title {
  font-family: "Georgia", "Times New Roman", serif !important; /* Classic elegant serif */
  font-size: clamp(2.2rem, 4vw, 3rem) !important;
  font-weight: 400 !important;
  color: #2a3b4c !important;
  margin: 0 0 24px 0 !important;
  line-height: 1.15 !important;
  text-shadow: none !important;
}

.luxury-hero-divider {
  height: 2px;
  width: 50px;
  background-color: #d8cebe;
  margin: 0 auto 24px auto;
}

@media (min-width: 768px) {
  .luxury-hero-divider {
    margin-left: 0;
  }
}

.luxury-hero-subtitle {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif !important;
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
  color: #64748b !important;
  margin: 0 !important;
  text-shadow: none !important;
  max-width: 90%;
}

@media (max-width: 767px) {
  .luxury-hero-subtitle {
    margin: 0 auto !important;
  }
}

.luxury-hero-image-wrapper {
  flex: 1.1;
  position: relative;
  min-height: 300px;
  overflow: hidden;
}

.luxury-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

/* jQM forces .ui-content to white — all prose uses dark text on white */

.flotation-body {
  max-width: 740px; /* Strict text width limit for readability */
  margin: 0 auto;
  padding: 32px 20px 48px;
  color: var(--spa-text-medium);
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  line-height: 1.8;
}

.flotation-body p {
  margin-bottom: 28px;
  color: var(--spa-text-medium);
  text-align: justify;
  font-size: clamp(1rem, 1.1vw, 1.15rem);
}

@media only screen and (max-width: 768px) {
  .flotation-body {
    padding: 20px 15px;
  }
  .flotation-body p {
    line-height: 1.6;
  }
}

.flotation-intro {
  font-size: 1.05rem;
  font-style: italic;
  text-align: center;
  color: #5a8880;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e9b461;
}

/* ─── Flotation Distinction Callout ───────────────────────────────── */
.flotation-distinction {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto 50px auto;
  padding: 36px 40px;
  background: linear-gradient(135deg, #e8eef6 0%, #f0e9f5 100%);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.flotation-distinction::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, #2a4a6b, #8b6fb5, #2a4a6b);
}

.flotation-distinction-icon {
  font-size: 1.8rem;
  color: #2a4a6b;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
  opacity: 0.6;
}

.flotation-distinction p {
  margin: 0 !important;
  font-size: clamp(1rem, 1.2vw, 1.2rem) !important;
  line-height: 1.65 !important;
  color: #1a2f45 !important;
  font-style: italic;
  text-align: left !important;
}

.flotation-distinction p strong {
  font-style: normal;
  color: #2a4a6b;
}

/* ─── Flotation Pricing Image ─────────────────────────────────────── */
.flotation-pricing-card {
  background: #e8eef6;
  border-left: 4px solid #2a4a6b;
  border-radius: 0 6px 6px 0;
  padding: 32px;
  margin: 0 0 50px;
}

.flotation-pricing-card p,
.flotation-pricing-card strong,
.flotation-rates p {
  color: #2a4a6b;
  text-shadow: none;
}

.flotation-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  margin-bottom: 36px;
}

.flotation-rates {
  background: #d0dced;
  border-radius: 4px;
  padding: 16px 18px;
  margin: 16px 0;
  font-size: 1.02rem;
}

.flotation-rates p {
  margin-bottom: 0.6em;
  line-height: 1.65;
  color: #2a4a6b;
}

.flotation-rates p:last-child {
  margin-bottom: 0;
}

.flotation-discount {
  text-align: center;
  color: #c0392b;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 14px 0 18px;
}

/* Guarantee callout — dark text on white, amber left border */
.flotation-guarantee {
  border-left: 3px solid #e9b461;
  padding: 16px 20px;
  margin: 40px 0;
  color: #7a3a3a;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
  background: #fff8f0;
  border-radius: 0 4px 4px 0;
}

/* What to Expect */
.flotation-expect {
  margin-top: 50px;
  padding-top: 32px;
  border-top: 2px solid #e9b461;
}

.flotation-expect h3 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4a756d;
  margin: 0 0 16px;
  font-weight: 700;
}

.flotation-expect ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.flotation-expect ul li {
  padding: 11px 0 11px 26px;
  position: relative;
  border-bottom: 1px solid #eee;
  color: #3a3a3a;
  line-height: 1.6;
  font-size: clamp(1rem, 1.1vw, 1.15rem);
}

.flotation-expect ul li:last-child {
  border-bottom: none;
}

.flotation-expect ul li::before {
  content: '›';
  position: absolute;
  left: 6px;
  color: #e9b461;
  font-size: 1.2rem;
  line-height: 1.5;
  font-weight: 700;
}

@media (max-width: 768px) {
  .flotation-body p {
    margin-bottom: 20px;
  }
  .flotation-distinction {
    margin: 0 auto 32px auto;
    padding: 24px;
  }
  .flotation-pricing-card {
    padding: 20px;
    margin: 0 0 32px;
  }
  .flotation-img {
    margin-bottom: 24px;
  }
  .flotation-guarantee {
    margin: 32px 0;
  }
  .flotation-expect {
    margin-top: 36px;
    padding-top: 24px;
  }
}

@media (max-width: 480px) {
  .flotation-body {
    padding: 24px 14px 40px;
    font-size: 0.97rem;
  }
  .flotation-pricing-card {
    padding: 18px 14px 16px;
  }
  .flotation-discount {
    font-size: 1.1rem;
  }
}

/* ── AaMgScript font ── */
@font-face {
    font-family: 'AaMgScript-Regular';
    src: url('../../AaMgScript-Regular.woff2') format('woff2'),
         url('../../AaMgScript-Regular.woff') format('woff'),
         url('../../AaMgScript-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ── Bottom Booking Widget ── */
.bottom-booking-section {
    background: transparent !important;
    padding: 36px 20px 44px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
}
.bottom-booking-title {
    color: var(--pb-crimson, #C0392B);
    font-family: 'AaMgScript-Regular', 'AaMgScript', cursive !important;
    font-size: clamp(1.1rem, 1.8vw, 1.5rem) !important;
    letter-spacing: 0.02em;
    margin: 0 0 24px 0;
    font-weight: normal !important;
    text-transform: none !important;
}
.bottom-booking-widget {
    max-width: 900px;
    margin: 0 auto;
}
@media (max-width: 767px) {
    .bottom-booking-section { display: none; }
    .therapies-mobile-book-wrap {
        display: flex;
        justify-content: center;
        padding: 28px 20px 36px;
    }
}
@media (min-width: 768px) {
    .therapies-mobile-book-wrap { display: none; }
}
.pkg-book-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    background: var(--pb-crimson, #C0392B) !important;
    color: #f5ede8 !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    border-radius: 2px !important;
    padding: 1.1rem 2rem !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.22em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    white-space: normal !important;
    text-shadow: none !important;
    box-shadow: 0 4px 24px rgba(192,57,43,0.3) !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    text-align: center !important;
    line-height: 1.3 !important;
}
.pkg-book-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}
.pkg-book-btn:hover::after { transform: translateX(100%); }
.pkg-book-btn:hover {
    background: var(--pb-crimson-dark, #96281B) !important;
    color: #fff !important;
    border-color: rgba(255,255,255,0.3) !important;
    box-shadow: 0 8px 32px rgba(150,40,27,0.45) !important;
    transform: translateY(-2px) !important;
}
.pkg-book-btn:active { transform: translateY(0) !important; }
.pkg-book-btn-arrow {
    font-size: 1rem;
    transition: transform 0.25s ease;
    line-height: 1;
    flex-shrink: 0;
}
.pkg-book-btn:hover .pkg-book-btn-arrow { transform: translateX(4px); }

/* ── PBRS Typography (matches home page .content-wrapper standard) ── */
.flotation-body p {
    font-size: clamp(1rem, 1.1vw, 1.15rem) !important;
    line-height: 1.75;
    text-align: justify;
    max-width: 70ch;
}

.flotation-expect ul li {
    font-size: clamp(1rem, 1.1vw, 1.15rem) !important;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.flotation-expect ul li:last-child {
    margin-bottom: 0;
}

#spaReminders ul {
    max-width: 70ch;
}

#spaReminders ul li {
    font-size: clamp(1rem, 1.1vw, 1.15rem) !important;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

#spaReminders ul li:last-child {
    margin-bottom: 0;
}

#spaTreatMents .rest-menu-item-desc {
    font-size: clamp(1rem, 1.1vw, 1.15rem) !important;
    line-height: 1.75;
}

@media (max-width: 600px) {
    .flotation-body p {
        text-align: left;
    }
}
