/* Base Text Font: Montserrat */
body {
    font-family: 'Montserrat', sans-serif;
}

/* Headlines Font: Marcellus */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Marcellus', serif;
}
.df-spl-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 40px auto;
  max-width: 1200px;
  font-family: 'Montserrat', sans-serif;
  padding: 0 20px;
}

/* Sticky Total Box */
.sticky-total-box {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(248, 249, 250, 0.75);
  border-top: 2px solid rgba(224, 224, 224, 0.6);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  display: none;
  align-items: center;
  justify-content: flex-end;
  padding: 12px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 1000;
  backdrop-filter: blur(12px);
}

.sticky-total-box.visible {
  display: flex;
}

@media (min-width: 769px) {
  .sticky-total-box {
    display: none !important;
  }
}

.sticky-nav-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.scroll-to-cart-btn {
  display: flex;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(150, 150, 150, 0.35);
  cursor: pointer;
  margin: 0;                     /* no margin */
  color: #888;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: 50%;            /* circle */
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);   /* glassy effect */
  flex-shrink: 0;                /* don't shrink on small screens */
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}

.scroll-to-cart-btn:active {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  background: rgba(150, 150, 150, 0.15);
}

.scroll-to-cart-btn svg {
  width: 24px;
  height: 24px;
}

.sticky-total-content {
  display: none;
  align-items: center;
  gap: 30px;
  justify-content: flex-end;
  margin-right: 0;
}

.sticky-total-label {
  font-size: 14px;
  font-weight: 600;
  color: #666;
}

.sticky-total-amount {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}

.sticky-total-amount .sticky-original {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
}

.sticky-total-amount .sticky-discounted {
  font-size: 18px;
  font-weight: 700;
  color: #004080;
}

.sticky-total-amount.no-discount {
  align-items: flex-end;
  text-align: right;
}

.sticky-total-amount.no-discount .sticky-single {
  font-size: 18px;
  font-weight: 700;
  color: #004080;
}


/* Hide CookieYes revisit button on this page (all screens) */
.cky-btn-revisit-wrapper[data-cky-tag="revisit-consent"] {
  display: none !important;
}

/* ============================= */
/* ======= mobile gtrsnalate ======= */
/* ============================= */
@media (max-width: 768px) {

/* Hide CookieYes revisit button and GTranslate language selector on this page */
.gtranslate_wrapper.gt_container--76cnk3,
.gt_switcher_wrapper {
  position: fixed !important;
  bottom: 25px !important;
  left: -140px !important;
  z-index: 99999 !important;
  display: flex !important;
  justify-content: center !Important;
  width: 100% !important;
}
@media (max-width: 849px) {
  .gtranslate_wrapper.gt_container--76cnk3,
  .gt_switcher_wrapper {
    display: none !important;
  }
}
  
  .scroll-to-cart-btn {
  display: flex !important;
}
}


/* Cart Summary Box */
.cart-summary {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: none;
  width: calc(100% - 20px);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.cart-summary.visible {
  display: block;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #e0e0e0;
}

.cart-buttons {
  /* Removed button from here */
  display: flex;
  gap: 10px;
  align-items: center;
}

/* --- Cart Notice Style --- */
.cart-notice {
    padding: 10px 0;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    line-height: 1.4;
}

/* --- NEW: Cart Footer Style --- */
.cart-footer {
    padding-top: 15px; /* Spacing from total */
    border-top: 1px solid #e0e0e0;
    text-align: center;
}
/* --- END NEW STYLE --- */

.copy-booking-btn {
  width: 100%;
  background: #5cb85c;
  color: white;
  border: 1px solid #5cb85c;
  padding: 8px 12px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: 0 4px 8px rgba(121, 156, 134, 0.4);
}

.copy-booking-btn:hover {
  background: #5cb85c;
  transform: scale(1.01);
  box-shadow: 0 6px 12px rgba(121, 156, 134, 0.6);
}

.cart-phone-alt {
  margin: 10px 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: #aaa;
}

.cart-phone-alt a {
  color: #5cb85c;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
}

.cart-phone-alt a:hover,
.cart-phone-alt a:active {
  text-decoration: none;
}

@media (max-width: 768px) {
  .cart-phone-alt a {
    display: block;
  }
}

.cart-title {
  font-size: 14px;
  font-weight: 700;
  color: #333;
}

.clear-cart {
  background: #d4a5a5;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: background-color 0.3s ease;
}

.clear-cart:hover {
  background: #c49595;
}

.cart-items {
  /* 1. Define your background color here once */
  --cart-bg: #F8F9FA; /* Change this to your exact off-white if needed */

  max-height: 200px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  /* The "Magic" Scroll Shadows using the variable */
  background:
    /* Shadow Covers - now using your variable instead of hardcoded white */
    linear-gradient(var(--cart-bg) 30%, rgba(255, 255, 255, 0)),
    linear-gradient(rgba(255, 255, 255, 0), var(--cart-bg) 70%) 0 100%,
    
    /* The actual Shadows */
    radial-gradient(farthest-side at 50% 0, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)),
    radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)) 0 100%;

  background-repeat: no-repeat;
  background-color: var(--cart-bg);
  background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
  background-attachment: local, local, scroll, scroll;
}

/* Custom scrollbar for cart items */
.cart-items::-webkit-scrollbar {
  width: 6px;
}

.cart-items::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 3px;
}

.cart-items::-webkit-scrollbar-thumb {
  background: #5cb85c !important;
  border-radius: 3px;
}

.cart-items::-webkit-scrollbar-thumb:hover {
  background: #4cae4c;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #e0e0e0;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-name {
  flex: 1;
  font-size: 12px;
  color: #555;
  font-weight: 500;
}

.cart-item-price {
  font-weight: normal;
  color: #004080;
  margin: 0 8px;
  font-size: 12px;
}

/* Remove item button in the cart summary */
.remove-item {
  position: relative;
  width: 26px !important;                 /* Match the add button size */
  height: 26px !important;
  min-height: 26px !important;
  min-width: 26px !important;
  border: 0;
  background: transparent;
  padding: 0;
  margin-left: 8px;
  cursor: pointer;
  display: inline-block;
  transition: transform 0.2s ease, filter 0.2s ease;
  margin-bottom: unset !important;
  line-height: 1 !important;
  outline: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.remove-item svg,
.remove-item img.cart-icon {
  width: 100%;
  height: 100%;
  vertical-align: top;
  object-fit: contain;
}

.remove-item:hover {
  transform: scale(1.1);
  filter: brightness(1.05);
}

.remove-item:focus,
.remove-item:focus-visible {
  outline: none;
  background: transparent;
}

.remove-item:active {
  transform: translateY(0) scale(0.95);
  box-shadow: none;
  background: transparent;
}

/* Remove old circle and cross styles for .remove-item as it will now use an SVG */
.remove-item::before,
.remove-item::after {
  content: none;
}


.cart-total {
  padding-top: 12px;
  border-top: none;
  margin-bottom: 15px; /* Added margin to separate from the new footer */
  position: relative;
}
.cart-total::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #c8dfd0 30%, #a3c4ad 50%, #c8dfd0 70%, transparent 100%);
  border-radius: 2px;
}

.sample-fee-section {
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid #e0e0e0;
}

.sample-fee-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #666;
  /* font-style: italic; */
}

.sample-fee-label {
  color: #666;
}

.sample-fee-amount {
  color: #666;
  font-weight: normal;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #333;
}


.total-label {
  color: #666;
  font-size: 14px;
}

.total-amount {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  line-height: 1.2;
  color: #004080;
  font-size: 16px;
  font-weight: bold;
}

.total-amount .total-original {
  text-decoration: line-through;
  color: #999;
  font-size: 16px;
  font-weight: 500;
}

.total-amount .total-discounted {
  font-size: 16px;
  font-weight: 700;
  color: #004080;
}

.total-amount.no-discount {
  align-items: flex-end;
  text-align: right;
}
.two-column .spl-item-root {
  width: 100%;
  margin-bottom: 15px;
  /* iOS Glassmorphism Style */
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 14px;
  padding: 15px;
  /* Glass border effect */
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  border-left: 1px solid rgba(255, 255, 255, 0.7);
  /* Soft shadow for depth */
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.07),
    0 1px 2px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.two-column .spl-item-root:hover {
  background: rgba(255, 255, 255, 0.65);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    0 2px 4px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}
.spl-item-root .name-price {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* NEW: Aligns items to the top */
  gap: 15px; /* NEW: Adds space between the name and price */
}

/* Shopping cart icon button */
.add-to-cart-btn { /* RENAMED CLASS to avoid conflict with JS selector */
  position: relative;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  padding: 0;
  margin-left: 8px;
  margin-right: 8px;
  cursor: pointer;
  display: inline-block;
  transition: transform 0.2s ease, filter 0.2s ease;
  min-height: 34px;
  min-width: 34px;
  line-height: 1 !important;
}

.add-to-cart-btn svg,
.add-to-cart-btn img.cart-icon {
  width: 100%;
  height: 100%;
  vertical-align: top; /* Important for alignment */
  object-fit: contain;
}

.add-to-cart-btn:hover {
  transform: scale(1.1); /* Slightly less dramatic scale for the complex SVG */
  filter: brightness(1.1);
}

.add-to-cart-btn:active {
  transform: scale(0.95);
}

.add-to-cart-btn.remove {
  /* No special style here, the SVG change handles the look */
}


.name { /* NEW RULE */
  flex: 1; /* Allows the name to grow and shrink flexibly */
}
.name span {
  font-weight: 600;
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
}
.spl-price { /* NEW RULE */
    flex-shrink: 0; /* Prevents the price from shrinking */
    text-align: right; /* Aligns price to the right */
}
.spl-price span {
  font-weight: 300;
  color: #004080;
  font-size: 17px;
}
/* Discounted Price Display */
.spl-price .original-price {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
  font-weight: 300;
  display: block;
}
.spl-price .discounted-price {
  color: #004080;
  font-weight: 600;
  display: block;
}
.add-button-container {
  display: flex;
  flex-direction: column; /* FORCED COLUMN STACKING (Cart icon above Tooltip) */
  align-items: center;
  gap: 0px; /* Small gap between the icons */
  flex-shrink: 0;
}
.name { 
  flex: 1; 
  /* Must be a column container for the name span and the desc div */
  display: flex; 
  flex-direction: column; 
  align-items: flex-start;
}

/* New style for the time/description line */
.name .desc {
  font-size: 14px;
  color: #888;
  font-weight: 400;
  margin-top: 2px;
  padding-left: 0;
}
.name img {
  vertical-align: middle;
  margin-left: 5px;
}
.price-category {
  width: 100%;
  font-size: 28px;
  font-family: 'Marcellus', serif;
  font-weight: bold;
  border-bottom: none;
  margin-bottom: 12px;              /* slightly smaller gap below each header */
  /* --- iOS GLASSMORPHISM STYLE --- */
  text-align: left;                 /* Left align the text */
  padding: 20px 40px 20px 20px;     /* balanced padding */
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  /* Frosted glass background */
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;              /* More rounded iOS style */
  /* Subtle glass border */
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  border-left: 1px solid rgba(255, 255, 255, 0.8);
  /* Soft shadow for depth */
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* --- END iOS STYLE --- */
}
.price-category:hover {
  background: rgba(255, 255, 255, 0.6);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.12),
    0 2px 6px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}
.price-category:active {
  transform: translateY(0) scale(0.99);
  background: rgba(255, 255, 255, 0.55);
}
.search-bar {
  width: 100%;
  max-width: 500px;
  margin: 10px auto 20px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  position: relative;
  justify-content: center;
}
.search-bar input {
  width: 100%;
  padding: 35px 45px;
  /* border: 1px solid #5cb85c; */
  border-radius: 70px;
  font-size: 19px;
  background: #fff;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.search-bar input:focus {
  outline: none;
  border-color: #799c86;
  box-shadow: 0 4px 12px rgba(30, 183, 61, 0.2);
}
.search-bar input {
  padding-right: 60px; /* Make room for the search icon */
}
.search-icon {
  position: absolute;
  right: 40px;
  top: 40%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.search-icon.hidden {
  opacity: 0;
}
.clear-search-btn {
  position: absolute;
  right: 40px;
  top: 40%;
  transform: translateY(-50%);
  width: 35px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: #f3f3f3;
  color: #888;
  font-size: 14px;
  font-weight: 700;
  font-family: Arial, sans-serif;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
  display: none; /* Hidden by default */
  transition: background 0.2s ease, color 0.2s ease;
  padding: 0;
  margin: 0em !important;
}
.clear-search-btn:hover {
  background: #ccc;
  color: #555;
}
.clear-search-btn.visible {
  display: block;
}

/* Action Icons Container */
.action-icons-container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 20px;
  padding: 0;
  gap: 30px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-basis: 100%;
}

.action-icon-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.action-icon-label {
  font-size: 16px;
  color: #666;
  text-align: left;
  white-space: nowrap;
}

/* Add to Calculator Icon - Green Plus Button */
.add-to-calculator {
  position: relative;
  width: 42px; /* Set the container size */
  height: 42px;
  border: none; /* Remove border if you don't want it */
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-block;
  transition: transform 0.2s ease, filter 0.2s ease;
  min-height: unset !important;
  line-height: 1 !important;
  margin-bottom: 0em;
}

/* NEW: Ensure the icon scales within the button area */
.add-to-calculator svg,
.add-to-calculator img.cart-icon {
  width: 100%;
  height: 100%;
  vertical-align: top;
  object-fit: contain;
}

/* REMOVE the ::before and ::after rules entirely */
/* REMOVE the old width/height rules for ::before and ::after */

.add-to-calculator:hover {
  transform: scale(1.1); /* Slightly less dramatic scale for the complex SVG */
  filter: brightness(1.1);
}

.add-to-calculator:active {
  transform: scale(0.95);
}

/* Remove from Calculator Icon - Red Minus Button */
.remove-from-calculator {
  position: relative;
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-block;
  transition: transform 0.2s ease, filter 0.2s ease;
  min-height: unset !important;
  line-height: 1 !important;
  margin-bottom: 0em;
}

.remove-from-calculator svg,
.remove-from-calculator img.cart-icon {
  width: 100%;
  height: 100%;
  vertical-align: top;
  object-fit: contain;
}

.remove-from-calculator:hover {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.remove-from-calculator:active {
  transform: scale(0.95);
}

/* More Details Icon - UPDATED to be a Perfect Circle */
.more-details-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  
  /* Dimensions */
  width: 32px;
  height: 32px;
  min-width: 24px;  /* Force width so it doesn't squash */
  min-height: 24px; /* Force height */
  flex-shrink: 0;   /* Prevent flex containers from shrinking it */
  
  /* Appearance */
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  border: 1px solid #ccc;
  border-radius: 50%; /* This creates the circle */
  box-sizing: border-box; /* Includes border in the 24px size */
  
  /* Text/Layout */
  color: #555;
  line-height: 0; /* Prevents text line-height from stretching it */
  cursor: help;
  position: relative;
  transition: all 0.2s ease;
}

/* Center the arrow SVG perfectly */
.more-details-icon svg {
    width: 24px; /* Slightly smaller for better proportion */
    height: 24px;
    fill: #555;
    display: block;
}

/* Remove old content */
.more-details-icon::before {
  content: none;
}

.more-details-icon:hover {
  background-color: white;
  color: #222;
  border-color: #bbb;
  transform: translateY(-1px);
}

.category-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-left: 5px;
  margin-bottom: 30px;
  /* Subtle background for glass effect contrast */
  padding: 8px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(121, 156, 134, 0.06) 0%, rgba(121, 156, 134, 0.02) 100%);
}

/* Smooth iPhone-style spring shake */
@keyframes spring-shake {
  0%   { transform: translateX(0); }
  30%  { transform: translateX(-4px); }
  55%  { transform: translateX(4px); }
  75%  { transform: translateX(-2px); }
  100% { transform: translateX(0); }
}

.shake {
  animation: spring-shake 0.4s cubic-bezier(.36,.07,.19,.97);
}

/* Tooltip */
.tooltip {
  display: inline-flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  width: 11px;
  height: 11px;
  margin: 0;
  background-color: #f5f5f5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  color: #555;
  font-size: 11px;
  border-radius: 50%;
  line-height: 1;
  cursor: help;
  position: relative;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tooltip::before {
  content: "?";
  display: inline-block;
}

.tooltip:hover {
  background-color: #d5d5d5;
  color: #222;
}

/* Tooltip text bubble */
.tooltip:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -5px;
  left: 20px;
  display: block; 
  background: #f5f5f5;
  color: #4a4a4a;
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  white-space: pre-line; /* <-- this makes Enter/newlines work */
  width: max-content; /* allows it to grow naturally */
  max-width: 300px; /* <--- WIDER MAX WIDTH FOR DESKTOP AND MOBILE */
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.2s ease;
  text-transform: none;
}

.tooltip:hover::after {
  opacity: 1;
}

/* Responsive tweak for mobile */

  .tooltip:hover::after {
    top: -5px;
    left: auto;
    right: calc(100% + 8px); // place bubble to the left of the icon with gap
    transform: none;
  }


.note-text {
  font-size: 14px;
  font-weight: 600;
  color: #666;
  margin-top: 2px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-basis: 100%;
  gap: 6px;
}
@media (max-width: 600px) {
  .note-text {
    font-size: 12px;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .action-icons-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 20px;
    padding: 5px;
    gap: 15px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-basis: 100%;
  }
}

/* --- GENERAL PRICES SECTION --- */
.general-prices-section .spl-item-root {
  box-shadow: none; /* No shadow */
  background: none; /* No background */
  padding: 8px 0; /* Simpler padding */
  border-bottom: 1px dashed #ddd; /* Light separator line */
  margin-bottom: 5px;
}

.general-prices-section .spl-item-root:hover {
  box-shadow: none; /* No hover shadow */
}

.general-prices-section .spl-item-root:last-child {
  border-bottom: none; /* No line under the last item */
}

.general-prices-section .name span {
    font-weight: 400; /* Regular weight for clarity */
    font-size: 18px;
}

.general-prices-section .spl-price span {
    font-weight: 600; /* Bolder price to stand out */
    color: #444; /* Darker color for general price */
    font-size: 17px;
}

/* Remove 'add-button-container' from general prices */
.general-prices-section .add-button-container {
    display: none;
}

/* --- COLLAPSIBLE SECTIONS STYLES --- */

/* Style for the category title container - additional properties */
.price-category {
  /* Keep existing glass styles */
  cursor: pointer; /* Indicate it's clickable */
  position: relative;
  display: flex; /* Allow placement of the arrow icon */
  align-items: center;
  padding-right: 50px; /* Space for the arrow */
}

/* Arrow/Toggle Icon style for iOS glass effect */
.category-toggle-arrow {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  width: 35px;
  height: 35px;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  fill: rgba(121, 156, 134, 0.8); /* Brand color with transparency */
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* State when the section is collapsed */
.category-section.collapsed .spl-item-root {
  display: none !important; /* Hide all items */
}

.category-section.collapsed .price-category {
    border-bottom: none; /* Remove border for glass style */
    margin-bottom: 0px;
}

/* Adjust margin when general prices section is collapsed (to prevent huge gap) */
.general-prices-section.collapsed {
    margin-bottom: 20px;
}

/* --- NEW: Individual Item Collapsible Styles --- */

/* Style for the item header to make it clickable and align the arrow */
.spl-item-root.collapsible .spl-item-header {
    cursor: pointer;
    padding-right: 0px; /* Adjust padding if needed, but the inner container manages it */
    position: relative;
    /* Ensure the header takes up the whole area inside spl-item-root */
    width: 100%; 
}

/* Style for the item toggle button/arrow - MOVED TO BOTTOM CENTER */
.item-toggle-btn {
  /* position: relative;  <--- REMOVE */
  position: absolute; /* <--- NEW: Absolute positioning inside spl-item-root */
  bottom: -23px;        /* <--- NEW: Anchor to the bottom */
  left: 50%;          /* <--- NEW: Start at 50% from left */
  transform: translateX(-50%); /* <--- NEW: Center horizontally */
  width: 30px; 
  height: 30px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 0px; /* <--- CHANGED: No margin here */
  z-index: 10; /* Ensure it's clickable over other elements */
}

/* The arrow SVG inside the toggle button */
.item-toggle-btn .item-toggle-arrow {
  width: 100%;
  height: 100%;
  fill: #799c86; /* Your brand color for the arrow */
  transition: transform 0.3s ease;
}

/* Container for the description text */
.spl-item-description {
  /* Start hidden - instant toggle */
  display: none;
  padding: 15px 20px 10px 20px;
  font-size: 13px;
  color: #4a4a4a;
  border-top: 1px solid rgba(121, 156, 134, 0.2);
  background: rgba(255, 255, 255, 0.3);
  border-radius: 0 0 12px 12px;
  margin: 0 2px 2px 2px;
}

/* State when the item is expanded - instant show */
.spl-item-root.expanded .spl-item-description {
  display: block;
}

/* Additional styling for the text within the description */
.spl-item-description p {
    margin: 0 0 5px 0;
    font-size: 15px !important;
}

/* Package image layout — desktop: image left, text right; mobile: text top, image below */
.spl-item-header--with-image {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
}

/* Desktop: pull image to the left (it's second in DOM, name-price is first) */
.spl-item-header--with-image .package-img-col {
    order: -1;
    flex-shrink: 0;
}

.spl-item-header--with-image .name-price {
    flex: 1;
    min-width: 0;
}

.package-img-col picture {
    display: block;
}

.package-img {
    width: 140px;
    height: auto;
    border-radius: 14px;
    object-fit: cover;
    display: block;
}

/* Desktop: larger name font */
.spl-item-header--with-image .name > span {
    font-size: 18px;
}

@media (max-width: 600px) {
    /* Mobile: stack vertically — name on top, image below */
    .spl-item-header--with-image {
        flex-direction: column;
        gap: 8px;
    }

    /* Reset order so image follows name-price in column */
    .spl-item-header--with-image .package-img-col {
        order: 0;
        flex-shrink: 1;
        width: 100%;
    }

    .spl-item-header--with-image .name-price {
        flex: unset;
        width: 100%;
    }

    .spl-item-header--with-image .name > span {
        font-size: 15px;
    }

    .spl-item-header--with-image .name .desc {
        font-size: 11px;
    }

    .package-img {
        width: 100%;
        height: 120px;
        border-radius: 10px;
    }
}

/* Adjust the general .spl-item-root to remove bottom border from the header */
.two-column .spl-item-root {
    padding: 0; /* Remove root padding to control it inside header */
    margin-bottom: 15px;
    /* Preserve glass effect */
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Re-apply internal padding to the header */
.two-column .spl-item-root .spl-item-header {
    padding: 15px;
}

/* Adjustments for the inner containers now that the header is a distinct element */
.spl-item-root.collapsible {
    /* Ensure the box-shadow is only on the item-root */
}

/* Make sure the name-price container is always visible */
.spl-item-root .name-price {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}
/* --- END NEW ITEM STYLES --- */


/* Rotate the arrow when the item is expanded */
.spl-item-root.expanded .item-toggle-btn .item-toggle-arrow {
  transform: rotate(180deg);
}

/* Adjust the general .spl-item-root to remove bottom border from the header */
.two-column .spl-item-root {
    padding: 0 0 10px 0; /* Added padding for the arrow at the bottom */
    margin-bottom: 15px;
    position: relative; /* Needed for absolute positioning of the arrow */
    /* Preserve glass effect */
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
/* ... (keep the rest of the new item styles) ... */

/* --- Category Arrow Fix (Optional, based on your image) --- */
/* Rotate the category arrow to point down when closed, right when open (assuming it's rotated 90deg by default) */
.category-section.collapsed .category-toggle-arrow {
  transform: translateY(-50%) rotate(0deg); /* <--- CHANGED: Arrow points down/closed (assuming the SVG points up) */
}

/* Rotate the arrow when collapsed (pointing down/closed) */
.category-section:not(.collapsed) .category-toggle-arrow {
  transform: translateY(-50%) rotate(180deg); /* <--- NEW: Arrow points up/open */
}


/* Desktop - balanced fonts */
@media (min-width: 769px) {
  .cart-title {
    font-size: 18px;
    font-weight: 700;
    padding-bottom: 10px;
    padding-top: 10px;
  }

  .cart-item-name {
    font-size: 16px;
  }

  .cart-item-price {
    font-size: 17px;
  }

  .total-amount {
    font-size: 14px;
  }

  .sample-fee-label { font-size: 16px; }
  .sample-fee-amount { font-size: 17px; }
  .total-label { font-size: 17px; }
  .total-amount .total-discounted { font-size: 17px; }
  .cart-notice { font-size: 15px; padding-bottom: 10px; }
  .copy-booking-btn { font-size: 18px; }
  .cart-phone-alt { font-size: 16px; }
  .cart-phone-alt a { font-size: 20px; }
  .search-bar { max-width: 700px; }
  .spl-price span { font-size: 18px; }
  .clear-search-btn { width: 40px; height: 35px; font-size: 17px; }
  .note-text { font-size: 15px; }
  .cart-summary { padding: 25px; }
}



/* ============================= */
/* ======= start mobile ======= */
/* ============================= */
@media (max-width: 768px) {

.copy-booking-btn {
  width: 100%;
  background: #5cb85c;
  color: white;
  border: 1px solid #5cb85c;
  padding: 14px 12px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: 0 4px 8px rgba(121, 156, 134, 0.4);
}

/* Remove item button in the cart summary */
.remove-item {
  position: relative;
  width: 26px !important;
  height: 26px !important;
  min-height: 26px !important;
  min-width: 26px !important;
  border: 0;
  background: transparent;
  padding: 0;
  margin-left: 8px;
  cursor: pointer;
  display: inline-block;
  transition: transform 0.2s ease, filter 0.2s ease;
  margin-bottom: unset !important;
  line-height: 1 !important;
  margin-right: 0em;
  outline: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}
    
    .df-spl-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 40px auto;
  max-width: 1200px;
  font-family: 'Montserrat', sans-serif;
  padding: 0px 5px;
}
    
  .cart-summary {
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 12px;
    width: 96%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .cart-title {
    font-size: 15px;
    font-weight: 600;
    text-align: center;
  }
  
  .cart-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
  }
  
  .cart-title {
    margin-bottom: 0;
    padding-bottom: 8px;
    padding-top: 8px;
  }
  
  .cart-buttons {
    /* Removed button from here */
    align-self: flex-end;
  }
  
  .copy-booking-btn {
    padding: 14px 12px;
    font-size: 14px;
    white-space: normal;
    border-radius: 36px;
    max-width: 100%;
    text-align: center;
    line-height: 1.2;
  }
  
  .cart-total {
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
    font-size: 12px;
    margin-bottom: 10px;
  }

  .sticky-total-box {
    left: 0;
    right: 0;
    border-radius: 10px 10px 0 0;
    justify-content: flex-end;
  }

  .sticky-total-content {
    display: none;
  }

  .sticky-nav-buttons {
    gap: 12px;
  }

  .scroll-to-cart-btn {
    width: 48px;
    height: 48px;
    padding: 12px;
    border-radius: 50%;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .scroll-to-top-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #888;
    display: flex;
    align-items: center;
    padding-right: 14px;
  }

  .scroll-to-cart-btn svg {
    width: 24px;
    height: 24px;
  }

  .sticky-total-label {
    font-size: 14px;
  }

  .sticky-total-amount {
    font-size: 16px;
  }

.price-category {
font-size: 18px;
}

.back-to-top {
    display: none !important;
}

}
/* ============================= */
/* ======= end mobile ======= */
/* ============================= */

/* ===== Package test list – compact layout ===== */

.spl-item-description{
  text-align:left;
}

/* Package category grid - auto columns */
.package-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  margin-top: 15px;
}

.package-categories-grid .category-column {
  min-width: 0;
}

.package-categories-grid .category-column strong {
  display: block;
  margin-bottom: 8px;
  color: #004080;
  font-size: 15px;
  font-weight: 700;
  padding-bottom: 5px;
  background: linear-gradient(to right, transparent, rgba(121, 156, 134, 0.3), transparent);
  background-position: 0 100%;
  background-size: 100% 1px;
  background-repeat: no-repeat;
}

/* When there's only one category, limit the width */
.package-categories-grid.single-category {
  max-width: 50%;
}

.package-categories-grid .category-column ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.package-categories-grid .category-column li {
  line-height: 1.5;
  font-size: 15px;
  color: #4a4a4a;
}

@media (max-width: 600px) {
  .package-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .package-categories-grid .category-column strong { font-size: 14px; }
  .package-categories-grid .category-column li { font-size: 14px; }
  .spl-item-description p { font-size: 13px; }
  .action-icon-label { font-size: 12px; }
  .name .desc { font-size: 12px; }
  .name span { font-size: 16px; }
  .spl-price span { font-size: 15px; }
  .general-prices-section .name span { font-size: 14px; }
  .general-prices-section .spl-price span { font-size: 14px; }
  .search-bar input {
    padding: 30px 25px;
    /* border: 1px solid #5cb85c; */
    border-radius: 48px;
    font-size: 18px;
  }
}

@media (max-width: 380px) {
  .package-categories-grid {
    grid-template-columns: 1fr;
  }
}


/* Stable grid, no hacks */
.spl-item-description ul.spl-tests-list{
  padding-left:18px;
  list-style:disc;
  list-style-position:outside;

  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:16px;
  row-gap:2px;
}

/* Desktop */
@media (min-width:768px){
  .spl-item-description ul.spl-tests-list{
    grid-template-columns:repeat(4,minmax(0,1fr));
    column-gap:24px;
  }
}

.spl-item-description ul.spl-tests-list li{
  line-height:1.12;
  display:list-item;
}

.spl-item-description a {
  color: #004080;
  font-weight: 700;
}

.spl-item-description a:hover {
  color: #5f7f6d;
  text-decoration: none;
}


/* ------------------------------------------- */

/* Gentle attention animation for category headers */
@keyframes gentle-nudge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.015); }
}

.price-category.shake-attention {
  animation: gentle-nudge 2s ease-in-out 2;
  will-change: transform;
}

/* Valentine's Day Category - Two Hearts Floating Up */
.valentine-category {
  overflow: visible !important;
}

/* First heart */
.valentine-category::before {
  content: "❤️";
  position: absolute;
  left: 15px;
  bottom: 100%;
  font-size: 16px;
  animation: float-up-slow 8s ease-in-out infinite;
  z-index: 10;
  filter: drop-shadow(1px 1px 2px rgba(128, 0, 32, 0.3));
}

/* Second heart */
.valentine-category::after {
  content: "❤️";
  position: absolute;
  left: 45px;
  bottom: 100%;
  font-size: 14px;
  animation: float-up-slow 10s ease-in-out infinite;
  animation-delay: 2s;
  z-index: 10;
  filter: drop-shadow(1px 1px 2px rgba(128, 0, 32, 0.3));
}

@keyframes float-up-slow {
  0% {
    transform: translateY(0px);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  80% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-120px);
    opacity: 0;
  }
}

/* Valentine package items */
.valentine-package {
  background: linear-gradient(135deg, rgba(250, 210, 225, 0.7) 0%, rgba(253, 232, 239, 0.5) 50%, rgba(255, 255, 255, 0.2) 100%) !important;
}
.valentine-package .name span {
  color: #800020 !important;
}
.valentine-package .spl-price span,
.valentine-package .spl-price .discounted-price {
  color: #800020 !important;
  font-weight: 700 !important;
}
.valentine-package .spl-price .original-price {
  color: #aaa !important;
  font-weight: 300 !important;
}
.valentine-package .category-column strong {
  color: #800020 !important;
}


/* Phone Booking Section */
.phone-booking-section {
  background: white;
  border-radius: 12px;
  padding: 24px;
  margin: 20px auto;
  max-width: 1100px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border: 2px dashed #5cb85c;
  box-sizing: border-box;
  width: calc(100% - 32px);
}

.phone-booking-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone-icon { font-size: 3rem; flex-shrink: 0; }
.phone-text h3 { margin: 0 0 8px 0; font-size: 1.5rem; color: #333; font-family: 'Marcellus', serif; }
.phone-text p { margin: 4px 0; font-size: 1.1rem; color: #666; font-family: 'Montserrat', sans-serif; }

.phone-link {
  color: #5cb85c;
  font-weight: 700;
  text-decoration: none;
}
.phone-link:hover { text-decoration: underline; }
.phone-hours { font-size: 1rem !important; color: #999 !important; }

@media (max-width: 480px) {
  .phone-text h3 { font-size: 1.15rem; }
}

/* Reviews Section */
:root {
  --fm-sage: #8faa97;
  --fm-sage-deep: #5e7d68;
  --fm-sage-light: #dce8df;
  --fm-sage-mist: #eef3f0;
  --fm-cream: #f7f5f0;
  --fm-warm: #eee9e0;
  --fm-linen: #e8e3d8;
  --fm-bark: #3a3530;
  --fm-text: #4a453f;
  --fm-white: #ffffff;
}

.fm-reviews-wrap {
  padding: 88px 0;
  background: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--fm-text);
  -webkit-font-smoothing: antialiased;
}

.fm-reviews-wrap h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  line-height: 1.25;
  color: var(--fm-bark);
}

.fm-reviews-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.fm-reviews-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #5cb85c;
  margin-bottom: 12px;
}

.fm-reviews-divider {
  width: 40px;
  height: 2px;
  background: var(--fm-sage);
  border-radius: 2px;
  margin: 0 auto 20px;
  opacity: 0.6;
}

.fm-reviews-wrap p {
  line-height: 1.75;
  color: var(--fm-text);
  font-size: 0.92rem;
  max-width: 500px;
  margin: 0 auto 36px;
}

@media (max-width: 768px) {
  .fm-reviews-wrap { padding: 64px 0;

  }
}

/* ============================================================
   INFO TABLES (same as Good To Know page)
   ============================================================ */
.fm-info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
  font-size: 0.88rem;
  border-radius: 12px;
  overflow: hidden;
}
.fm-info-table th {
  background: #5e7d68;
  color: white;
  padding: 14px;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
}
.fm-info-table .fm-cat-header td {
  background: #eef3f0;
  text-align: center;
  font-weight: 600;
  padding: 10px;
  border-top: 3px solid #e8e3d8;
  color: #3a3530;
}
.fm-info-table td {
  padding: 8px 10px;
  text-align: center;
  border-right: 1px solid #e8e3d8;
  color: #4a453f;
}
.fm-info-table tr:nth-child(even) td {
  background: rgba(143,170,151,0.05);
}
.fm-info-table-wrap {
  overflow-x: auto;
  margin: 12px 0 24px;
  border-radius: 12px;
  border: 1px solid #e8e3d8;
}
@media (max-width: 768px) {
  .fm-info-table { font-size: 0.78rem; min-width: 500px; }
}
