/* Health section specific styles extracted from health/index.html */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, 
    rgba(252, 252, 252, 0.95) 0%, 
    rgba(248, 250, 252, 0.98) 50%, 
    rgba(252, 252, 252, 0.95) 100%);
  backdrop-filter: blur(15px) saturate(120%);
  -webkit-backdrop-filter: blur(15px) saturate(120%);
  border-bottom: 3px solid #d4af37;
  transition: none;
  box-shadow: 0 4px 20px rgba(107, 114, 128, 0.15);
  height: 80px;
  display: flex;
  align-items: center;
}

.site-header.scrolled {
  background: #ffffff;
  border-bottom: 3px solid #d4af37;
  box-shadow: 0 6px 24px rgba(107, 114, 128, 0.2);
  height: 80px;
}

.site-header.at-top {
  background: #ffffff;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  height: 80px;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  min-height: 80px;
  transition: none;
}

.site-header .logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 0 0 20px;
  overflow: visible;
  height: 80px;
  position: relative;
  z-index: 10;
}

.site-header .logo img {
  height: 67px;
  width: auto;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  object-fit: contain;
}

/* Logo styles are handled by header.css - only override if needed for health-specific styling */
.site-header.at-top .logo img {
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
}

.site-header .nav .menu a { color: #374151; font-weight: 500; }
.site-header .nav .menu a:hover { color: #255e50; }

.site-header .btn.primary { background: #255e50; color: white; border: none; padding: 10px 20px; border-radius: 25px; font-weight: 600; transition: all 0.2s ease; }
.site-header .btn.primary:hover { background: #1a4a3e; transform: translateY(-1px); }


/* Testimonials redesign */
.testimonials { background: #e8eaed; padding: 3rem 0; }
/* Testimonials carousel is handled by testimonials.css - removed grid layout */
/* Removed all testimonial styles - handled by testimonials.css */

/* Floating Feedback button */
.feedback-fab { position: fixed; right: 0; top: 85%; z-index: 1001; transform: translate(0, -50%); opacity: 1; transition: transform 0.3s ease, opacity 0.3s ease; }
.feedback-fab.is-hidden { transform: translate(140%, -50%); opacity: 0; pointer-events: none; }
.feedback-fab.is-visible { transform: translate(0, -50%); opacity: 1; pointer-events: auto; }
.feedback-fab button { writing-mode: vertical-rl; text-orientation: mixed; background: #b8860b; color: #fff; border: none; border-radius: 8px 0 0 8px; padding: 12px 8px; font-weight: 700; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.15); display: flex; align-items: center; justify-content: center; text-align: center; font-size: 1.1em; }
.feedback-modal { position: fixed; inset: 0; background: transparent !important; display: none; align-items: center; justify-content: center; z-index: 1002; }
.feedback-modal.open { display: flex; }
.feedback-card { width: min(680px, 92vw); background: #222831; color: #e5e7eb; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.35); overflow: hidden; }
.feedback-header { display:flex; align-items:center; justify-content:space-between; padding: 16px 18px; background:#1f2937; }
.feedback-title { margin:0; font-size: 1.35rem; }
.feedback-close { background: transparent; border: 0; color: #9ca3af; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; font-size: 0; line-height: 0; }
.feedback-close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.feedback-close:hover { color: #fff; background: rgba(255, 255, 255, 0.1); border-radius: 6px; }
.feedback-body { padding: 18px; display:grid; gap: 12px; }
.feedback-row { display:grid; gap:6px; }
.feedback-row label { font-size: 1.1rem; color:#c7d2fe; }
.feedback-row input, .feedback-row textarea { width:100%; background:#374151; color:#e5e7eb; border:1px solid #4b5563; border-radius:8px; padding:10px 12px; font-size: 1.05rem; }
.feedback-row textarea { min-height:120px; resize:vertical; }
.stars { display:flex; gap:6px; font-size: 22px; cursor: pointer; color: #9ca3af; }
.stars .active { color: #ffb400; }
.feedback-actions { display:flex; gap:10px; justify-content:flex-end; padding: 0 18px 18px; }
.btn-ghost { background: transparent; color:#cbd5e1; border:1px solid #4b5563; padding:10px 14px; border-radius:8px; cursor:pointer; }
.btn-primary { background:#255e50; color:#fff; border:0; padding:10px 14px; border-radius:8px; cursor:pointer; }

/* Services redesign */
.services { background: #e8eaed; padding: 4rem 0; }
.hero { --hero-padding-top: 120px; }

/* Massage hero: SEO-focused H1 + supporting quote */
.page-massage .hero .hero-content .massage-hero-quote {
  font-family: 'Source Serif Pro', Georgia, serif;
  font-size: clamp(1.05rem, 2.35vw, 1.38rem);
  font-weight: 600;
  line-height: 1.35;
  color: #f4ebc9;
  text-align: center;
  margin: -0.25rem auto 1rem;
  max-width: 560px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.45);
}

.about { background: #fff; padding: 4rem 0; }
.about-content p { font-size: 1.2rem !important; line-height: 1.8; }
.about-content ul.bullets li { font-size: 1.15rem !important; }
.gallery { background: #e8eaed; padding: 4rem 0; }

/* Masaža category stripe: match nutrition category page visuals/behavior */
#massageCategoryMenu.category-menu-wrapper {
  position: sticky;
  top: var(--header-height, 80px);
  z-index: 850;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: linear-gradient(135deg, #1e4a3d 0%, #255e50 15%, #2d6b5a 30%, #357c6a 50%, #2d6b5a 70%, #255e50 85%, #1e4a3d 100%) !important;
  padding: 0.5rem 0 0.25rem 0;
  margin-bottom: 0;
  border-radius: 0;
  border-top: 3px solid #e8d4a0;
  border-bottom: 2px solid rgba(232, 212, 160, 0.6);
  box-shadow: inset 0 1px 0 #b8945a, inset 0 -1px 0 rgba(184, 148, 90, 0.4);
  overflow: hidden;
}

#massageCategoryMenu .category-menu-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.4) transparent;
  position: relative;
  padding: 0.25rem 0;
}

@media (min-width: 1025px) {
  #massageCategoryMenu .category-menu-scroll.no-scroll-needed {
    display: flex;
    justify-content: center;
  }
  #massageCategoryMenu .category-menu-scroll.no-scroll-needed .category-menu-container {
    margin: 0 auto;
  }
}

#massageCategoryMenu .category-menu-scroll::-webkit-scrollbar {
  height: 8px;
}

#massageCategoryMenu .category-menu-container {
  display: flex;
  gap: 1rem;
  padding: 0 1rem;
  min-width: max-content;
  align-items: flex-start;
}

#massageCategoryMenu .category-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  min-width: 120px;
  transition: all 0.3s ease;
  padding: 0.25rem;
  border-radius: 12px;
}

#massageCategoryMenu .category-menu-item-active {
  align-self: center;
  margin-top: 0 !important;
  z-index: 10;
  position: relative;
  cursor: default !important;
  pointer-events: none !important;
}

#massageCategoryMenu .category-menu-item:not(.category-menu-item-active) {
  align-self: flex-start;
  margin-top: 10px;
}

#massageCategoryMenu .category-menu-item:hover {
  transform: translateY(-4px);
}

#massageCategoryMenu .category-menu-item-active:hover {
  transform: none !important;
}

#massageCategoryMenu .category-menu-thumbnail {
  width: 85px;
  height: 85px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.5rem;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: #f3f4f6;
  position: relative;
  filter: brightness(0.65);
}

#massageCategoryMenu .category-menu-item:hover .category-menu-thumbnail {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
  filter: brightness(1);
}

#massageCategoryMenu .category-menu-item-active:hover .category-menu-thumbnail {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  transform: none !important;
}

#massageCategoryMenu .category-menu-item-active .category-menu-thumbnail {
  width: 110px !important;
  height: 110px !important;
  border-color: #f4e5c1 !important;
  border-width: 2px !important;
  box-shadow: 0 6px 20px rgba(244, 229, 193, 0.3), 0 0 0 3px rgba(244, 229, 193, 0.08) !important;
  animation: activeCategoryEntrance 0.6s ease-out;
  transform: scale(1);
  filter: brightness(1) !important;
}

#massageCategoryMenu .category-menu-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #d4c29a !important;
  text-align: center;
  transition: all 0.3s ease;
  max-width: 100px;
  word-wrap: break-word;
  line-height: 1.3;
}

#massageCategoryMenu .category-menu-item:hover .category-menu-label {
  color: #e0ceaa;
}

#massageCategoryMenu .category-menu-item-active .category-menu-label {
  color: #f4e5c1 !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  margin-top: 0.25rem;
  margin-bottom: 0;
  animation: textGrowShrink 2s ease-in-out infinite;
  transform-origin: center;
}

#massageCategoryMenu .category-menu-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#massageCategoryMenu .category-menu-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.3s ease;
  height: 100%;
}

#massageCategoryMenu .category-menu-fade-left {
  left: 0;
  background: linear-gradient(to right, #1e4a3d 0%, rgba(30, 74, 61, 0.8) 30%, rgba(30, 74, 61, 0.4) 60%, rgba(30, 74, 61, 0) 100%);
}

#massageCategoryMenu .category-menu-fade-right {
  right: 0;
  background: linear-gradient(to left, #1e4a3d 0%, rgba(30, 74, 61, 0.8) 30%, rgba(30, 74, 61, 0.4) 60%, rgba(30, 74, 61, 0) 100%);
}

@keyframes textGrowShrink {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes activeCategoryEntrance {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
  #massageCategoryMenu.category-menu-wrapper {
    padding-top: 0.25rem;
    padding-bottom: 0.125rem;
    border-top: 3px solid #e8d4a0 !important;
    border-bottom: 2px solid rgba(232, 212, 160, 0.6) !important;
    box-shadow: inset 0 1px 0 #b8945a, inset 0 -1px 0 rgba(184, 148, 90, 0.4) !important;
    overflow: hidden;
  }

  #massageCategoryMenu .category-menu-scroll {
    padding: 0.125rem 0;
  }

  #massageCategoryMenu .category-menu-container {
    gap: 0.75rem;
    padding: 0 0.75rem;
    align-items: flex-start;
  }

  #massageCategoryMenu .category-menu-item {
    min-width: 100px;
  }

  #massageCategoryMenu .category-menu-item-active {
    min-width: 120px !important;
    align-self: center !important;
    margin-top: 0 !important;
  }

  #massageCategoryMenu .category-menu-item:not(.category-menu-item-active) {
    align-self: flex-start !important;
    margin-top: 10px;
  }

  #massageCategoryMenu .category-menu-thumbnail {
    width: 68px;
    height: 68px;
    filter: brightness(0.65);
  }

  #massageCategoryMenu .category-menu-item-active .category-menu-thumbnail {
    width: 88px !important;
    height: 88px !important;
    filter: brightness(1) !important;
  }

  #massageCategoryMenu .category-menu-label {
    font-size: 0.85rem;
    max-width: 80px;
  }

  #massageCategoryMenu .category-menu-item-active .category-menu-label {
    font-size: 0.95rem !important;
    max-width: 100px !important;
  }

  #massageCategoryMenu .category-menu-fade {
    width: 40px;
  }
}

/* Hash / in-page links: clear fixed header + sticky bar (--massage-category-bar-height set in massage.js) */
html:has(body.page-massage) {
  scroll-padding-top: calc(var(--header-height, 80px) + var(--massage-category-bar-height, 0px) + 12px);
}

/* Category sections with alternating backgrounds - remove grey strip */
.category-section {
  margin: 0 !important;
  padding: 0 !important;
  scroll-margin-top: calc(var(--header-height, 80px) + var(--massage-category-bar-height, 0px) + 12px);
}

/* Category sections: outer wrapper gets band color too (main/body white was showing in gaps) */
body.page-massage main > .category-section:nth-child(odd) {
  background-color: #dce8e2 !important;
}

body.page-massage main > .category-section:nth-child(even) {
  background-color: #f7faf8 !important;
}

body.page-massage #main {
  background-color: #e8ede9 !important;
}

/* Category pricing bands (Masaža only uses .category-section) */
body.page-massage .category-section .pricing.accent {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: clamp(1.75rem, 4vw, 2.75rem);
  padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
  /* Same as outer band so inner section is never stark white from .pricing */
  background-color: inherit;
}

body.page-massage .category-section:nth-child(odd) .pricing.accent {
  background: #dce8e2 !important;
}

body.page-massage .category-section:nth-child(even) .pricing.accent {
  background: #f7faf8 !important;
}

body.page-massage .category-section .pricing.accent .container {
  max-width: 1120px;
  background: transparent !important;
}

body.page-massage #massageCategoryMenu.category-menu-wrapper + .category-section {
  margin-top: 0 !important;
}

@media (max-width: 768px) {
  body.page-massage .category-section .pricing.accent {
    padding-top: 0;
    padding-bottom: clamp(1.35rem, 4vw, 2.25rem);
  }
}

.pricing { padding: 4rem 0; }
.gallery { background: #e8eaed; padding: 4rem 0; }
.services-header { text-align: center; margin-bottom: 3rem; opacity: 0; transform: translateY(30px); animation: fadeInUp 0.8s ease forwards; }
.services-header h2 { font-family: 'Cormorant Garamond', 'Times New Roman', Times, serif; font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; color: #1a4a3e; letter-spacing: 0.02em; }
.services-header .section-intro { font-size: 1.2rem; line-height: 1.7; color: #6c757d; max-width: 600px; margin: 0 auto; }

/* Services Introduction Section */
.services-intro {
  padding: 80px 0 0;
  background: #ffffff;
  text-align: center;
  margin-bottom: 0;
}

.services-intro h2 {
  font-family: 'Cormorant Garamond', 'Times New Roman', Times, serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
  color: var(--gold-darker, #b8860b);
  letter-spacing: 0.02em;
}

.services-intro p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-light, #6b7280);
  max-width: 700px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .services-intro {
    padding: 60px 0 40px;
  }
  
  .services-intro p {
    font-size: 16px;
    padding: 0 20px;
  }
}
.services-cards { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 1200px; margin: 0 auto; }
.gallery-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.gallery-item { height: 400px; }
.gallery-item img { width:100%; height: 100%; object-fit: cover; border-radius: 10px; }

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .gallery-item { height: 320px; }
}
.service-card { position: relative; border-radius: 10px; overflow: visible; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15); transition: all 0.4s ease; height: 560px; cursor: pointer; opacity: 1; transform: none; }
.service-card.animate { animation: slideInUp 0.8s ease forwards; }
.service-card:nth-child(1).animate { animation-delay: 0.1s; }
.service-card:nth-child(2).animate { animation-delay: 0.2s; }
.service-card:nth-child(3).animate { animation-delay: 0.3s; }
.service-card:nth-child(4).animate { animation-delay: 0.4s; }
.service-card:nth-child(5).animate { animation-delay: 0.5s; }
@keyframes slideInUp { to { opacity: 1; transform: translateY(0) scale(1); } }
.service-card:hover { transform: translateY(-12px) scale(1.02); box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25); }
.service-card-overlay { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; padding: 18px; pointer-events: none; }
.service-card-content { width: 100%; position: relative; z-index: 2; display: flex; justify-content: flex-end; }
.service-card-buttons { display: flex; gap: 0.5rem; flex-wrap: nowrap; margin-top: 1rem; white-space: nowrap; justify-content: flex-end; }
.service-card-buttons .btn { padding: 6px 10px; font-size: 1rem; font-weight: 600; border-radius: 6px; text-decoration: none; transition: all 0.3s ease; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-width: 80px; border: 1px solid transparent; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); white-space: nowrap; }
.service-card-buttons .btn.primary { background: #F4E4BC; color: #1a1a1a; border: 1px solid #F4E4BC; font-weight: 700; }
.service-card-buttons .btn.primary:hover { background: #E6D7A8; border-color: #E6D7A8; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(244, 228, 188, 0.4); }
.service-card-buttons .btn.secondary { background: #ffffff; color: #1a1a1a; border: 1px solid #6c757d; font-weight: 600; }
.service-card-buttons .btn.secondary:hover { background: #f8f9fa; border-color: #495057; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3); }
.service-card-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; overflow: hidden; border-radius: 10px; }
.service-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; filter: brightness(0.9) saturate(1.1); border-radius: 10px; }
.service-card:hover .service-card-image img { transform: scale(1.08); filter: brightness(1) saturate(1.2); }
.service-card-text { background: rgba(0, 0, 0, 0.75); padding: 16px 20px; border-radius: 10px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4); display: inline-block; text-align: right; transform: translateY(20px); opacity: 0; animation: fadeInUp 0.6s ease forwards; animation-delay: 0.3s; color: var(--gold-accent); position: relative; z-index: 3; pointer-events: auto; }
.service-card-text h3,
.service-card-text p { color: var(--gold-accent); }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0);} }

/* Modal styles - Applied to all modals (Services and Pricing sections) */
/* Service detail modal styles - exclude auth modal */
.modal:not(#authModal) { position: fixed; z-index: 10001 !important; left: 0; right: 0; width: 100vw; top: -200px !important; bottom: -400px !important; height: calc(100vh + 600px) !important; height: calc(100dvh + 600px) !important; height: calc(100svh + 600px) !important; min-height: calc(100vh + 600px) !important; min-height: calc(100dvh + 600px) !important; min-height: calc(100svh + 600px) !important; background: transparent !important; display: none; align-items: flex-start; justify-content: center; padding: 20px; padding-top: calc(var(--header-height, 80px) + 20px + 200px) !important; padding-bottom: 0 !important; box-sizing: border-box; opacity: 1 !important; text-align: center; overflow: hidden !important; touch-action: none !important; overscroll-behavior: none !important; -webkit-overflow-scrolling: none !important; margin: 0 !important; transition: none !important; }
.modal:not(#authModal)[style*="display: flex"], .modal:not(#authModal)[style*="display:flex"], .modal:not(#authModal)[style*="display: flex !important"], .modal:not(#authModal)[style*="display:flex !important"] { display: flex !important; opacity: 1 !important; background: transparent !important; }
.modal:not(#authModal) .modal-content { background: #f5f5dc; border-radius: 24px; padding: 0; max-width: 700px; width: 100%; max-height: calc(100vh - var(--header-height, 80px) - 20px) !important; overflow: hidden; position: relative; margin: 0 auto; margin-top: 0 !important; display: block; border: 2px solid #F4E4BC; box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.6); animation: modalSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; transform: translateY(0) scale(0.9); }
#serviceDetailModal .modal-content { overflow: hidden !important; }
#serviceDetailModal .modal-body { border-radius: 0 !important; padding: 0 !important; margin: 0 !important; }
#serviceDetailImageContainer { border-radius: 0 !important; margin: 0 !important; padding: 0 !important; width: 100% !important; max-width: 100% !important; }
@keyframes modalSlideIn { from { transform: translateY(0) scale(0.9); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1;} }
/* Service detail modal header/close/body - exclude auth modal */
.modal:not(#authModal) .modal-header { background: linear-gradient(135deg, #1a4a3e, #2d5a4f); padding: 2rem 2.5rem 1.5rem; padding-right: 4.5rem; position: relative; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.modal:not(#authModal) .modal-close { position: absolute; top: 1.5rem; right: 2rem; width: 40px; height: 40px; border-radius: 50%; background: rgba(0, 0, 0, 0.4); border: 1.5px solid #F4E4BC; color: white; cursor: pointer; display: flex !important; align-items: center; justify-content: center; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 0; line-height: 0; z-index: 10001; opacity: 1 !important; visibility: visible !important; padding: 0; }
.modal:not(#authModal) .modal-close svg { width: 20px; height: 20px; stroke: white; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.modal:not(#authModal) .modal-close:hover { transform: scale(1.1); background: rgba(0, 0, 0, 0.4) !important; }
.modal:not(#authModal) .modal-close:hover svg { transform: rotate(90deg); }
.modal:not(#authModal) .modal-close:active { transform: scale(1.05); background: rgba(0, 0, 0, 0.4) !important; }
.modal:not(#authModal) .modal-close:active svg { transform: rotate(90deg); }
.modal:not(#authModal) h2, .modal:not(#authModal) .modal-header h2 { font-family: 'Cormorant Garamond', 'Times New Roman', Times, serif; font-size: 1.75rem; font-weight: 700; color: #F4E4BC; margin: 0; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); letter-spacing: 0.5px; }
.modal:not(#authModal) .modal-body { padding: 2.5rem; max-height: calc(85vh - 120px); overflow-y: auto; background: #f5f5dc; display: flex; flex-direction: column; font-size: 1.25rem; }
.modal:not(#authModal) .modal-body p { margin-bottom: 1.2rem; line-height: 1.7; color: #444; font-size: 1.25rem; }
/* Service detail modal body - restructured for fixed image and scrollable text */
#serviceDetailModal .modal-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Prevent body from scrolling */
  background: #f5f5dc !important; /* Sepia background */
  width: 100%;
}
.modal-body::-webkit-scrollbar { width: 6px; }
.modal-body::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 3px; }
.modal-body::-webkit-scrollbar-thumb { background: #1a4a3e; border-radius: 3px; }
.modal-body::-webkit-scrollbar-thumb:hover { background: #2d5a4f; }
/* Image container - fixed, always visible, no scrolling */
#serviceDetailImageContainer {
  flex-shrink: 0; /* Don't shrink */
  background: #f5f5dc; /* Match text background color */
  padding: 0;
  margin: 0 0 0 0;
  border-bottom: none;
  overflow: hidden;
  border-radius: 0 !important;
  width: 100%;
  max-width: 100%;
}
#serviceDetailImageContainer img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 0 !important;
  display: block;
  margin: 0;
  padding: 0;
  max-width: 100%;
}
/* Description container - scrollable content only */
#serviceDetailDescription {
  padding: 0 0 1.5rem 0;
  overflow-y: auto;
  flex: 1;
  min-height: 0; /* Allow flex item to shrink below content size */
  background: #f5f5dc !important; /* Sepia background */
  font-size: 1.25rem;
}
#serviceDetailDescription p {
  font-size: 1.35rem;
  padding: 1rem 2rem 0 2rem;
  margin-bottom: 1.2rem;
}
#serviceDetailDescription::-webkit-scrollbar { width: 6px; }
#serviceDetailDescription::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 3px; }
#serviceDetailDescription::-webkit-scrollbar-thumb { background: #1a4a3e; border-radius: 3px; }
#serviceDetailDescription::-webkit-scrollbar-thumb:hover { background: #2d5a4f; }
.modal-signature { font-style: italic; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 2px solid #f0f0f0; color: #1a4a3e; font-weight: 600; font-size: 1.35rem; text-align: center; background: linear-gradient(135deg, #1a4a3e, #2d5a4f); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }


/* —— Masaža: category hero + pricing list (modern layout) —— */
body.page-massage .pricing-category {
  padding: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.page-massage .category-section .pricing-category::before {
  display: none !important;
}

body.page-massage .category-section .pricing-category:hover {
  transform: none !important;
  box-shadow: none !important;
}

body.page-massage .massage-category-panel {
  display: flex;
  flex-direction: column;
  margin: 0 0 1.5rem;
  gap: 0;
}

body.page-massage .massage-category-hero--in-panel {
  display: block;
  margin: 0;
  padding: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

body.page-massage .massage-category-hero__figure {
  margin: 0;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  animation: massage-hero-text-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  animation-delay: 0s;
}

body.page-massage .massage-category-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

body.page-massage .massage-category-panel__intro {
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 2vw, 1.15rem);
  min-width: 0;
}

@media (min-width: 1024px) {
  body.page-massage .massage-category-panel {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: linear-gradient(152deg, #ffffff 0%, #f6f9f7 48%, #eef4f1 100%);
    border: 1px solid rgba(37, 94, 80, 0.1);
    border-radius: 20px;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.85) inset,
      0 8px 32px rgba(26, 74, 62, 0.07);
    overflow: hidden;
  }

  body.page-massage .massage-category-panel__intro {
    display: grid;
    grid-template-columns: minmax(260px, 0.4fr) minmax(0, 0.6fr);
    gap: clamp(1.2rem, 2.2vw, 1.75rem);
    align-items: stretch;
    padding: clamp(1rem, 2.2vw, 1.35rem);
    border-bottom: 1px solid rgba(37, 94, 80, 0.1);
  }

  body.page-massage .massage-category-panel .massage-category-hero__figure {
    aspect-ratio: unset;
    height: 100%;
    min-height: 0;
    align-self: stretch;
    border-radius: 16px;
    border: none;
    box-shadow: 0 8px 28px rgba(15, 45, 38, 0.1);
  }

  body.page-massage .massage-category-panel .massage-category-hero__img {
    min-height: 100%;
  }

  body.page-massage .massage-category-panel .massage-pricing-panel {
    border-radius: 0;
    border: none;
    box-shadow: none;
    margin: 0;
  }
}

body.page-massage .massage-category-hero__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 0.65rem 0.95rem 0.95rem;
  background: linear-gradient(
    165deg,
    #ffffff 0%,
    #f9fcf9 28%,
    #f2f8f5 55%,
    #eaf4ef 100%
  );
  border-radius: 16px;
  border: 1px solid rgba(37, 94, 80, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 4px 20px rgba(26, 74, 62, 0.04);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

@media (hover: hover) {
  body.page-massage .massage-category-hero__body:hover {
    border-color: rgba(37, 94, 80, 0.1);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 1),
      0 8px 28px rgba(26, 74, 62, 0.07);
  }
}

body.page-massage .massage-category-hero__title {
  font-family: 'Cormorant Garamond', 'Times New Roman', Times, serif;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  font-weight: 600;
  color: #0f3329;
  margin: 0 0 0.85rem !important;
  line-height: 1.15;
  letter-spacing: -0.02em;
  padding: 0.65rem 1rem 0.7rem !important;
  width: auto !important;
  min-height: 0 !important;
  background: linear-gradient(
    145deg,
    #e8f2ed 0%,
    #dcebe4 38%,
    #cdded5 100%
  ) !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 12px !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  text-align: left !important;
  transition: transform 0.3s ease, opacity 0.3s ease;
  animation: massage-hero-text-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  animation-delay: 0.06s;
}

@media (hover: hover) {
  body.page-massage .massage-category-hero__title:hover {
    transform: translateY(-1px);
    opacity: 0.97;
  }
}

body.page-massage .massage-category-hero__title::before {
  display: none !important;
}

body.page-massage .massage-category-hero__lead {
  margin: 0;
  padding-top: 0.15rem;
  border-top: 1px solid rgba(37, 94, 80, 0.08);
  animation: massage-hero-text-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  animation-delay: 0.16s;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body.page-massage .massage-category-hero__lead p {
  font-family: inherit;
  font-size: clamp(0.95rem, 1.5vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.65;
  color: #3d524a;
  margin: 0 0 0.85rem;
}

body.page-massage .massage-category-hero__lead p:last-child {
  margin-bottom: 0;
}

body.page-massage .massage-category-hero__lead ul,
body.page-massage .massage-category-hero__lead ol {
  margin: 0.35rem 0 0.5rem;
  padding: 0.35rem 0 0.35rem 1.2rem;
  border-left: 3px solid rgba(45, 106, 90, 0.25);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 0 10px 10px 0;
  font-family: inherit;
}

body.page-massage .massage-category-hero__lead li {
  margin: 0 0 0.45rem;
  padding-left: 0.2rem;
  line-height: 1.65;
  font-family: inherit;
  font-size: clamp(0.95rem, 1.5vw, 1.0625rem);
  font-weight: 400;
  color: #3d524a;
}

body.page-massage .massage-category-hero__lead li:last-child {
  margin-bottom: 0;
}

body.page-massage .massage-category-hero__lead ul li::marker {
  color: #255e50;
  font-size: 0.9em;
}

body.page-massage .massage-category-hero__lead ol li::marker {
  color: #255e50;
  font-weight: 600;
  font-family: inherit;
}

body.page-massage .massage-category-hero__lead strong {
  color: #3d524a;
  font-weight: 600;
}

@keyframes massage-hero-text-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-massage .massage-category-hero__title,
  body.page-massage .massage-category-hero__lead,
  body.page-massage .massage-category-hero__figure {
    animation: none !important;
  }

  body.page-massage .massage-category-hero__title {
    transition: none;
  }

  @media (hover: hover) {
    body.page-massage .massage-category-hero__title:hover {
      transform: none;
    }
  }
}

body.page-massage .massage-uncategorized-title {
  font-family: 'Cormorant Garamond', 'Times New Roman', Times, serif;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 600;
  color: #143d33;
  margin: 0 0 1rem !important;
  padding: 0 0.15rem !important;
  width: auto !important;
  min-height: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  text-align: left !important;
}

body.page-massage .massage-uncategorized-title::before {
  display: none !important;
}

body.page-massage .massage-pricing-panel {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(37, 94, 80, 0.11);
  box-shadow: 0 4px 24px rgba(15, 45, 38, 0.06);
  overflow: hidden;
}

body.page-massage .massage-pricing-panel .massage-pricing-header {
  display: grid;
  grid-template-columns: minmax(180px, 2.1fr) repeat(3, minmax(72px, 1fr)) minmax(168px, auto);
  gap: clamp(10px, 2vw, 16px);
  padding: 12px clamp(14px, 2vw, 22px);
  align-items: center;
  background: linear-gradient(
    to right,
    #143d33 0%,
    #1a4d40 22%,
    #255e50 48%,
    #2f7261 72%,
    #3a8875 100%
  );
  border-bottom: 1px solid rgba(20, 61, 51, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #f4e4bc;
}

body.page-massage .massage-pricing-panel .massage-pricing-header > span:first-child {
  text-align: left;
  padding-left: clamp(66px, 6.4vw, 106px);
}

body.page-massage .massage-pricing-panel .massage-pricing-header > span:not(:first-child):not(.massage-pricing-header__actions) {
  text-align: center;
}

body.page-massage .massage-pricing-header__actions {
  min-width: 168px;
  justify-self: end;
}

body.page-massage .massage-price-row {
  display: grid !important;
  grid-template-columns: minmax(180px, 2.1fr) repeat(3, minmax(72px, 1fr)) minmax(168px, auto);
  gap: clamp(10px, 2vw, 16px);
  padding: 8px clamp(14px, 2vw, 22px);
  align-items: stretch;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.18s ease;
}

/* Header is first child; rows start at 2 — even = 1st/3rd/… service, odd = 2nd/4th/… */
body.page-massage .pricing-table > .massage-price-row:nth-child(even) {
  background: #f5faf7 !important;
}

body.page-massage .pricing-table > .massage-price-row:nth-child(odd) {
  background: #ffffff !important;
}

body.page-massage .massage-price-row:last-child {
  border-bottom: none;
}

body.page-massage .massage-price-row:hover {
  background: rgba(37, 94, 80, 0.035) !important;
}

body.page-massage .massage-price-row__service {
  min-width: 0;
  display: flex;
  align-items: stretch;
}

body.page-massage .massage-price-row__service .service-with-thumb {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  min-height: 100%;
  min-width: 0;
}

body.page-massage .massage-price-row__service .service-thumb {
  width: auto;
  height: 100%;
  min-height: 50px;
  max-width: 101px;
  aspect-ratio: 1;
  border-radius: 12px;
  object-fit: cover;
  justify-self: start;
  border: 1px solid rgba(37, 94, 80, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body.page-massage .massage-price-row__service .service-name {
  align-self: center;
  line-height: 1.35;
  color: #1f2937;
}

body.page-massage .massage-duration {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  align-self: center;
}

body.page-massage .massage-price-row__cta {
  justify-self: end;
  align-self: center;
}

body.page-massage .massage-duration__label {
  display: none;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
}

body.page-massage .massage-duration__value.price {
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  font-weight: 700;
  color: #255e50 !important;
}

body.page-massage .massage-duration__value.unavailable {
  font-style: normal;
  color: #9ca3af !important;
  background: transparent !important;
}

body.page-massage .massage-price-row__cta .booking-actions {
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}

body.page-massage .massage-price-row .booking-btn {
  min-width: 0 !important;
  width: 100%;
  max-width: 200px;
  font-size: 0.8125rem !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s ease;
  text-align: center;
}

body.page-massage .massage-price-row .booking-btn.secondary {
  background: linear-gradient(180deg, #fcd34d 0%, #d4af37 50%, #b8960f 100%) !important;
  color: #255e50 !important;
  border: 1px solid rgba(184, 150, 15, 0.5) !important;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

body.page-massage .massage-price-row .booking-btn.secondary:hover {
  background: linear-gradient(180deg, #fde68a 0%, #fcd34d 50%, #d4af37 100%) !important;
  border-color: rgba(212, 175, 55, 0.7) !important;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

body.page-massage .massage-price-row .booking-btn.primary {
  background: linear-gradient(180deg, #2d6a5a 0%, #255e50 50%, #1e4a3d 100%) !important;
  color: var(--gold-accent, #f4ebc9) !important;
  border: 1px solid rgba(30, 74, 61, 0.6) !important;
  box-shadow: 0 2px 8px rgba(37, 94, 80, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

body.page-massage .massage-price-row .booking-btn.primary:hover {
  background: linear-gradient(180deg, #3a7c6a 0%, #2d6a5a 50%, #255e50 100%) !important;
  border-color: rgba(45, 106, 90, 0.8) !important;
  box-shadow: 0 4px 12px rgba(37, 94, 80, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

@media (max-width: 1023px) {
  /* Match legacy mobile pricing: framed category + stackable service cards (phone + tablet) */
  body.page-massage .category-section .pricing-category {
    padding: 0 5px 20px 5px !important;
    border-radius: 12px;
    overflow: hidden;
    background: #e9ecef !important;
    border: none !important;
    box-shadow: none !important;
  }

  body.page-massage .massage-category-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-left: -5px;
    margin-right: -5px;
    width: calc(100% + 10px);
    margin-bottom: 0;
    padding: 0.85rem 0.85rem 0;
    gap: 1rem;
    border-radius: 12px 12px 0 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  body.page-massage .massage-category-panel__intro {
    gap: 1rem;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  body.page-massage .massage-category-panel .massage-category-hero__figure {
    order: -1;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(15, 45, 38, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.65);
  }

  body.page-massage .massage-category-panel .massage-category-hero__img {
    min-height: 0;
  }

  body.page-massage .massage-pricing-panel {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }

  body.page-massage .massage-pricing-panel .massage-pricing-table,
  body.page-massage .massage-pricing-panel .pricing-table {
    display: block !important;
    padding-top: 8px !important;
    width: 100%;
  }

  body.page-massage .massage-pricing-panel .massage-pricing-header {
    display: none;
  }

  body.page-massage .massage-price-row {
    display: block !important;
    text-align: center !important;
    margin: 0 0 16px 0 !important;
    padding: 20px !important;
    border-radius: 12px !important;
    border: 1px solid #e9ecef !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    transition: none !important;
    transform: none !important;
  }

  body.page-massage .pricing-table > .massage-price-row:nth-child(even) {
    background: #e9f1ec !important;
  }

  body.page-massage .pricing-table > .massage-price-row:nth-child(odd) {
    background: #f8f9fa !important;
  }

  body.page-massage .massage-price-row:first-child {
    margin-top: 8px !important;
  }

  body.page-massage .massage-price-row:last-child {
    margin-bottom: 8px !important;
  }

  body.page-massage .massage-price-row__service {
    width: 100%;
    box-sizing: border-box;
  }

  body.page-massage .massage-price-row__service .service-with-thumb {
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    width: 100% !important;
    text-align: left !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--primary, #255e50) !important;
    margin: 0 0 16px 0 !important;
    padding: 0 0 12px 0 !important;
  }

  body.page-massage .massage-price-row__service .service-with-thumb::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -5px;
    right: -5px;
    height: 2px;
    background: var(--gold-light, #e8d4a0);
  }

  body.page-massage .massage-price-row__service .service-thumb {
    width: 80px !important;
    height: 80px !important;
  }

  body.page-massage .massage-price-row .massage-duration {
    display: inline-block !important;
    vertical-align: top !important;
    margin: 8px 4px 0 4px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
  }

  body.page-massage .massage-price-row .massage-duration__label {
    display: none !important;
  }

  body.page-massage .massage-price-row .massage-duration__value {
    display: inline-block !important;
    background: var(--primary, #255e50) !important;
    color: #fff !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    margin: 0 !important;
    min-width: 80px !important;
    text-align: center !important;
    line-height: 1.3 !important;
  }

  body.page-massage .massage-price-row .massage-duration:nth-child(2) .massage-duration__value::before {
    content: '60min: ';
    font-size: 12px;
    opacity: 0.95;
    font-weight: 600;
  }

  body.page-massage .massage-price-row .massage-duration:nth-child(3) .massage-duration__value::before {
    content: '90min: ';
    font-size: 12px;
    opacity: 0.95;
    font-weight: 600;
  }

  body.page-massage .massage-price-row .massage-duration:nth-child(4) .massage-duration__value::before {
    content: '120min: ';
    font-size: 12px;
    opacity: 0.95;
    font-weight: 600;
  }

  body.page-massage .massage-price-row .massage-duration__value.unavailable {
    background: #e9ecef !important;
    color: #6c757d !important;
  }

  body.page-massage .massage-price-row .massage-duration__value.unavailable::before {
    opacity: 0.85;
  }

  body.page-massage .massage-price-row__cta {
    width: 100% !important;
    justify-self: stretch !important;
    text-align: center !important;
    margin-top: 12px !important;
  }

  body.page-massage .massage-price-row__cta .booking-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: none !important;
    margin-top: 0 !important;
    align-items: stretch !important;
  }

  body.page-massage .massage-price-row .booking-btn {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    font-size: 13px !important;
    padding: 8px 12px !important;
    border-radius: 999px !important;
    text-align: center !important;
    display: inline-block !important;
    box-sizing: border-box !important;
  }

  body.page-massage .massage-price-row .booking-btn.secondary {
    background: linear-gradient(180deg, #fcd34d 0%, #d4af37 50%, #b8960f 100%) !important;
    color: #255e50 !important;
    border: 1px solid rgba(184, 150, 15, 0.5) !important;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  }

  body.page-massage .massage-price-row .booking-btn.primary {
    background: linear-gradient(180deg, #2d6a5a 0%, #255e50 50%, #1e4a3d 100%) !important;
    color: var(--gold-accent, #f4ebc9) !important;
    border: 1px solid rgba(30, 74, 61, 0.6) !important;
    box-shadow: 0 2px 8px rgba(37, 94, 80, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  }

  body.page-massage .massage-price-row .booking-btn.secondary:hover {
    background: linear-gradient(180deg, #fde68a 0%, #fcd34d 50%, #d4af37 100%) !important;
    border-color: rgba(212, 175, 55, 0.7) !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
  }

  body.page-massage .massage-price-row .booking-btn.primary:hover {
    background: linear-gradient(180deg, #3a7c6a 0%, #2d6a5a 50%, #255e50 100%) !important;
    border-color: rgba(45, 106, 90, 0.8) !important;
    box-shadow: 0 4px 12px rgba(37, 94, 80, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  }
}

@media (max-width: 480px) {
  body.page-massage .category-section .pricing-category {
    padding: 16px 4px 20px 4px !important;
    background: #fefcf8 !important;
  }

  body.page-massage .massage-category-hero__title {
    margin: 0 0 0.65rem !important;
    padding: 0.52rem 0.8rem 0.55rem !important;
    color: #0f3329 !important;
    background: linear-gradient(
      145deg,
      #e8f2ed 0%,
      #dcebe4 38%,
      #cdded5 100%
    ) !important;
    border-radius: 10px !important;
    border: none !important;
    box-shadow: none !important;
    width: auto !important;
    min-height: 0 !important;
    text-align: left !important;
  }

  body.page-massage .massage-category-hero__body {
    padding: 0.55rem 0.75rem 0.85rem;
    border-radius: 14px;
  }

  body.page-massage .pricing-category h3.massage-uncategorized-title {
    margin: 0 0 0.65rem !important;
    width: auto !important;
    padding: 0 !important;
    min-height: 0 !important;
    background: transparent !important;
    color: #143d33 !important;
    border-radius: 0 !important;
    text-align: left !important;
    border: none !important;
    box-shadow: none !important;
    margin-bottom: 1rem !important;
  }
}

@media (min-width: 1024px) and (max-width: 1200px) {
  body.page-massage .massage-pricing-panel .massage-pricing-header,
  body.page-massage .massage-price-row {
    grid-template-columns: minmax(140px, 1.8fr) repeat(3, minmax(64px, 1fr)) minmax(140px, auto);
  }
}

.pricing-table .pricing-row { position: relative; }
/* Disable floating hover actions entirely */
.pricing-actions-float { display: none !important; }
.pricing-actions-float.show { display: none !important; }
.pricing-table .pricing-row .learn-more-btn, .pricing-actions-float .learn-more-btn {
  margin-left: 0;
  padding: 4px 8px; /* smaller */
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid #6c757d;
  background: #ffffff;
  color: #1a1a1a;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: all .2s ease;
}
.pricing-table .pricing-row .learn-more-btn:hover, .pricing-actions-float .learn-more-btn:hover { background: #f8f9fa; border-color: #495057; box-shadow: 0 6px 16px rgba(0,0,0,0.18); }

/* Compact booking button placed by name */
.pricing-table .pricing-row .booking-btn.compact, .pricing-actions-float .booking-btn.compact {
  margin-left: 0;
  padding: 4px 10px;
  font-size: 0.78rem;
  border-radius: 6px;
  background: #1a4a3e;
  color: #f4ebc9;
  border: 1px solid #1a4a3e;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.25);
  transition: all .2s ease;
}
/* Always show static pricing buttons */
.pricing-table .pricing-row .booking-btn:not(.compact) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.pricing-table .pricing-row .booking-btn.compact:hover, .pricing-actions-float .booking-btn.compact:hover { background: #173f35; border-color: #173f35; box-shadow: 0 8px 22px rgba(17,24,39,0.35); }

/* Service Details Modal */
body:has(.service-modal.open) {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
}

.service-modal { 
  position: fixed; 
  top: var(--header-offset, 80px);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100; 
  display: none; 
  align-items: flex-start; 
  justify-content: center; 
  padding-top: 20px;
  padding-bottom: 20px;
  overflow: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}
.service-modal.open { display: flex; }
.service-modal-backdrop { display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; background: transparent !important; }
.service-modal-dialog { 
  position: relative; 
  width: min(800px, 92vw); 
  max-height: calc(100vh - var(--header-offset, 80px) - 40px); 
  background: #fff; 
  border-radius: 16px; 
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 25px 80px rgba(0,0,0,0.4); 
  z-index: 1; 
  margin: auto 0;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.service-modal-close { 
  position: fixed !important; 
  top: calc(var(--header-offset, 80px) + 10px) !important; 
  right: max(calc((100vw - min(800px, 92vw)) / 2 + 12px), 12px) !important; 
  background: rgba(255, 255, 255, 0.98) !important; 
  color: #1f2937;
  display: flex !important;
  z-index: 10002 !important;
  opacity: 1 !important;
  visibility: visible !important; 
  pointer-events: auto !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important; 
  border-radius: 8px; 
  width: 40px !important; 
  height: 40px !important; 
  cursor: pointer !important; 
  align-items: center; 
  justify-content: center; 
  font-size: 0; 
  line-height: 0; 
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.service-modal-close svg { 
  width: 18px; 
  height: 18px; 
  stroke: currentColor; 
  stroke-width: 3; 
  stroke-linecap: round; 
  stroke-linejoin: round; 
  pointer-events: none;
}
.service-modal-close:hover { 
  background: #ffffff; 
  border-color: rgba(0, 0, 0, 0.15); 
  color: #111827;
  transform: scale(1.05);
}
.service-modal-close:active {
  transform: scale(0.95);
}
.service-modal-header { position: relative; }
.service-modal-header img { width: 100%; height: 260px; object-fit: cover; display: block; max-width: 100%; }
.service-modal-header h3 { position: absolute; left: 16px; bottom: 12px; margin: 0; padding: 8px 12px; border-radius: 10px; background: rgba(0,0,0,0.55); color: #fff; font-size: 1.1rem; }
.service-modal-body { 
  padding: 18px; 
  color: #374151; 
  line-height: 1.7; 
  font-size: 1.05rem; 
}

/* Responsive */
@media (max-width: 768px) {
  .services { padding: 3rem 0; }
  .services-cards { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3rem; padding-top: 2rem; }
  .service-card { height: 350px; }
  .about-content p { font-size: 1.1rem !important; }
  .about-content ul.bullets li { font-size: 1.05rem !important; }
  /* Service detail modal mobile - exclude auth modal */
  .modal:not(#authModal) { padding: 10px; padding-top: calc(var(--header-height, 88px) + 10px + 200px) !important; padding-bottom: 0 !important; top: -200px !important; bottom: -400px !important; left: 0 !important; right: 0 !important; width: 100vw !important; height: calc(100vh + 600px) !important; height: calc(100dvh + 600px) !important; height: calc(100svh + 600px) !important; min-height: calc(100vh + 600px) !important; min-height: calc(100dvh + 600px) !important; min-height: calc(100svh + 600px) !important; margin: 0 !important; overflow: hidden !important; }
  .modal:not(#authModal) .modal-content { max-height: calc(100dvh - var(--header-height, 88px) - 20px) !important; max-height: calc(100vh - var(--header-height, 88px) - 20px) !important; border-radius: 20px; }
  .modal:not(#authModal) .modal-header { padding: 1rem 1.5rem 0.75rem; padding-right: 3.5rem; }
  .modal:not(#authModal) h2 { font-size: 1.35rem; }
  .modal:not(#authModal) .modal-close { top: 0.75rem; right: 1rem; width: 36px; height: 36px; background: rgba(0, 0, 0, 0.4) !important; border: 1.5px solid #F4E4BC !important; backdrop-filter: blur(10px) !important; -webkit-backdrop-filter: blur(10px) !important; -webkit-tap-highlight-color: transparent !important; }
  .modal:not(#authModal) .modal-close svg { stroke: white !important; }
  .modal:not(#authModal) .modal-close:hover { background: rgba(0, 0, 0, 0.4) !important; transform: scale(1.1); }
  .modal:not(#authModal) .modal-close:hover svg { transform: rotate(90deg); }
  .modal:not(#authModal) .modal-close:active { background: rgba(0, 0, 0, 0.4) !important; transform: scale(1.05); }
  .modal:not(#authModal) .modal-close:active svg { transform: rotate(90deg); }
  .modal:not(#authModal) .modal-body { padding: 1.5rem; max-height: calc(100dvh - var(--header-height, 88px) - 140px) !important; max-height: calc(100vh - var(--header-height, 88px) - 140px) !important; background: #f5f5dc !important; font-size: 1.1rem; overflow-y: auto; }
  .modal:not(#authModal) .modal-body p { font-size: 1.1rem; }
  /* Service detail modal on mobile */
  #serviceDetailModal .modal-body {
    padding: 0;
    background: #f5f5dc !important; /* Sepia background */
  }
  #serviceDetailImageContainer {
    padding: 0;
    margin: 0 0 1rem 0;
    border-radius: 0 !important;
    background: #f5f5dc !important; /* Match text background color */
    width: 100% !important;
    max-width: 100% !important;
  }
  #serviceDetailImageContainer img {
    max-height: 200px;
    border-radius: 0 !important;
  }
  #serviceDetailDescription {
    padding: 0 0 1.5rem 0;
    background: #f5f5dc !important;
    font-size: 1.1rem;
    max-height: calc(100dvh - var(--header-height, 88px) - 280px) !important;
    max-height: calc(100vh - var(--header-height, 88px) - 280px) !important;
    overflow-y: auto;
  }
  #serviceDetailDescription p {
    font-size: 1.2rem;
    padding: 0.75rem 1.2rem 0 1.2rem;
    margin-bottom: 1.2rem;
  }
  /* Service modal close button mobile styles */
  .service-modal-close { 
    top: calc(var(--header-offset, 88px) + 8px) !important; 
    right: 8px !important; 
    width: 44px !important; 
    height: 44px !important; 
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10002 !important;
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  }
  .service-modal { 
    top: var(--header-offset, 88px);
    padding-top: 16px;
    padding-bottom: 16px;
    align-items: flex-start;
  }
  .service-modal-dialog { 
    overflow-y: auto;
    overflow-x: hidden;
    padding-top: 0;
    margin-top: 0;
    max-height: calc(100vh - var(--header-offset, 88px) - 32px);
    overscroll-behavior: contain;
  }
  .service-modal-header { 
    overflow: visible; 
    position: relative;
  }
}

@media (max-width: 480px) {
  .service-card { height: 320px; }
  .modal-body { padding: 1.25rem; }
  /* Ensure service modal close button is visible on small screens */
  .service-modal { 
    top: var(--header-offset, 88px);
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .service-modal-dialog {
    max-height: calc(100vh - var(--header-offset, 88px) - 24px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
  }
  .service-modal-close { 
    top: calc(var(--header-offset, 88px) + 6px) !important; 
    right: 6px !important; 
    width: 48px !important; 
    height: 48px !important; 
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10002 !important;
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
    border: 2px solid rgba(0, 0, 0, 0.1) !important;
  }
  .service-modal-close svg {
    width: 20px !important;
    height: 20px !important;
    pointer-events: none !important;
  }
}

