/* Service Category Styles for Services Page */

/* Page container */
.services-container {
  max-width: 100%;          /* full width */
  margin: 0 auto;
  padding: 0 10px 40px;
  box-sizing: border-box;
}

/* Global heading styles - stroke, bold, and text shadow for all headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 900 !important;
  /* -webkit-text-stroke: 1px rgba(0, 0, 0, 0.3); */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Remove unnecessary global overflow rules */
.service-category {
  /* background: transparent; */
  border-radius: 20px;
  margin-bottom: 1rem; /* Reduced from 2rem to 1rem for less space between categories */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  /* Removed 'all' from transition to prevent scale/zoom effects */
  transform: translateY(0);
  margin-top: 40px; /* Reduced from 80px to 40px for less top spacing */
}

.service-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.category-header {
  background: transparent;
  color: #971B59;
  padding: 1.5rem 2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.category-header:hover {
  background: rgba(151, 27, 89, 0.1);
}

.category-header h2 {
  font-family: 'Amatic SC', cursive;
  font-size: 2.5rem;
  font-weight: 900;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #c81f66;
  /* -webkit-text-stroke: 1px rgba(0, 0, 0, 0.3); */
}

.expand-icon {
  font-size: 2rem;
  font-weight: bold;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-right: 75px;
  transform: rotate(180deg); /* Point downward when collapsed */

  /* color: #971B59; */
}
.expand-icon img
{
  width: 50px;
  height: 50px;
  /* margin-right: 75px; */
}
.service-category.expanded .expand-icon {
  transform: rotate(0deg);
  
}

.category-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Removed transform transition to prevent double zoom */
  /* background-image: url("assets/img/Banners/4.png"); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  opacity: 0;
  transform: translateY(0); /* No transform animation */
}

.service-category.expanded .category-content {
  max-height: 2000px; 
  /* Set a large value for smooth transition */
  overflow: visible; /* Remove unnecessary scrolling */
  opacity: 1;
  transform: translateY(0); /* No transform animation */
}

.service-category.expanded .sub-section {
  opacity: 1;
  transform: translateY(0);
}

/* Removed unnecessary scrollbar styling for main categories */


/* Different background images for each service category */
/* .service-category:nth-child(1) .category-content {
  background-image: url("assets/img/SERVICES IMAGES HOM PAGE/SKINCARE/1.jpg");
} */

/* .service-category:nth-child(1) .category-content {
  background-image: url("assets/img/SERVICES IMAGES HOM PAGE/SKINCARE/2.jpg");
}

.service-category:nth-child(2) .category-content {
  background-image: url("assets/img/SERVICES IMAGES HOM PAGE/SPA/2.jpg");
}

.service-category:nth-child(3) .category-content {
  background-image: url("assets/img/SERVICES IMAGES HOM PAGE/HAIR GROOMING/3.jpg");
}

.service-category:nth-child(4) .category-content {
  background-image: url("assets/img/SERVICES IMAGES HOM PAGE/HAIR REMOVAL/1.jpg");
}

.service-category:nth-child(5) .category-content {
  background-image: url("assets/img/SERVICES IMAGES HOM PAGE/HEENA & DYE/1.jpg");
} */


/* Common styling for all category-content */
.service-category .category-content {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* Overlay effect applied to all */
.service-category .category-content::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background-color: rgba(255, 255, 255, 0.7); /* overlay with transparency */
  /* backdrop-filter: blur(6px); blur effect */ 
  opacity: 0;
  transform: scale(1); /* Removed scale animation - no zoom effect */
  transition: opacity 0.6s ease-in-out; /* Only transition opacity, not scale */
}

.service-category.expanded .category-content::after {
  opacity: 1;
  transform: scale(1); /* Keep at scale(1) - no zoom */
}


.category-content > * {
  position: relative;
  z-index: 3;
}

.category-description {
  padding: 2rem 2rem 1rem;
}

.category-description p {
  font-family: 'Andika', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #171717;
  margin: 0;
  text-align: justify;
  font-weight: 400;
  opacity: 0.9;
}

.sub-section {
  margin: 0 0.05rem 2rem 0; /* Very minimal spacing - 0.05rem (0.8px) */
  background: transparent;
  border-radius: 15px;
  padding: 1.5rem;
  display: inline-flex;
  flex-direction: column;
  width: calc(33.33% - 0.05rem); /* Adjusted to match minimal margin */
  vertical-align: top;
  box-sizing: border-box;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 550px; /* Fixed height for all cards */
  min-height: 550px; /* Ensure minimum height */
  max-height: 550px; /* Ensure maximum height - same as height */
  position: relative;
  overflow-y: auto; /* Allow scrolling if content exceeds height */
  overflow-x: hidden; /* Prevent horizontal scroll */
  border: 2px solid transparent; /* Add border for hover effect */
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
  transform: translateY(20px);
}


.sub-section:last-child {
  margin-right: 0;
}


.sub-section:last-child {
  margin-right: 0;
}

.sub-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(221, 20, 121, 0.2);
  border: 2px solid rgba(221, 20, 121, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


.sub-section-title {
  font-family: 'Amatic SC', cursive;
  font-size: 1.8rem;
  font-weight: 700;
  color: #c81f66;
  margin: 0 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  padding-bottom: 0.5rem;
  text-align: center;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.3);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* Increased gap between service items for better spacing */
  flex: 1 1 auto;
  min-height: 0; /* Required for flex child to allow scrolling */
  overflow-y: auto; /* Scroll inside card when content is long */
  overscroll-behavior: contain;
  overflow-x: visible; /* Allow horizontal overflow to show right borders */
  padding-right: 10px; /* Reduced padding to ensure right border visibility */
  margin-right: 5px; /* Reduced margin for right border visibility */
  transition: all 0.3s ease-in-out;
}

/* Large desktop screens (e.g. 1920x1080) – full width */
@media (min-width: 1600px) {
  .services-container {
    max-width: 100%;        /* full width */
    padding: 0 15px 40px;   /* minimal side padding for maximum width */
  }
}

/* Simple scrollbar styling */
.services-list::-webkit-scrollbar {
  width: 4px;
}

.services-list::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 2px;
}

.services-list::-webkit-scrollbar-thumb {
  background: #971B59;
  border-radius: 2px;
}

.services-list::-webkit-scrollbar-thumb:hover {
  background: #DD1479;
}

.service-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem; /* Reduced gap between elements */
  padding: 0.75rem; /* Reduced padding */
  background: transparent;
  border-radius: 10px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: visible; /* Allow prices to be visible */
  min-height: auto; /* Dynamic height based on content */
  margin-right: 5px; /* Reduced margin to ensure right border is visible */
  border: 2px solid transparent; /* Add transparent border for smooth transition */
}

.service-detail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #971B59, #DD1479);
  transform: scaleY(0);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-detail:hover::before {
  transform: scaleY(1);
}

/* Smooth transition when leaving hover state */
.service-detail:not(:hover) {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-detail:hover {
  border: 3px solid #DD1479; /* Make all borders stronger on hover */
  border-top: 4px solid #DD1479; /* Keep top border strong on hover */
  transform: translateY(-2px); /* Remove scaleX to maintain width */
  box-shadow: 0 8px 25px rgba(221, 20, 121, 0.15);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* smooth animation */
}
.service-checkbox {
  flex-shrink: 0;
  margin-top: -0.10rem;
}

.service-checkbox input[type="checkbox"] {
  display: none;
}

.service-checkbox label {
  display: block;
  width: 22px;
  height: 22px;
  border: 2px solid #971B59;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  background: transparent;
  transition: all 0.3s ease;
  margin-top: 15px !important;
}

.service-checkbox input[type="checkbox"]:checked + label {
  background: #DD1479;
  border-color: #DD1479;
  box-shadow: 0 0 0 3px rgba(221, 20, 121, 0.2);
}

.service-checkbox input[type="checkbox"]:checked + label::after {
  content: '✓';
  position: absolute;
  top: 45%;
  left: 45%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 16px;
  font-weight: bold;
  line-height: 0.5;
  text-shadow: none;
  background: transparent;
}

.service-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem; /* Reduced gap between title and description */
  min-width: 0; /* Allow flex item to shrink */
  justify-content: center; /* Center content vertically */
  padding: 0.25rem 0; /* Add padding for better spacing */
}

.service-name {
  font-family: 'Amatic SC', cursive;
  font-size: 1.7rem; /* Slightly smaller font */
  font-weight: 700;
  color: #0f0e0e;
  margin-bottom: 0.1rem; /* Reduced margin */
  margin-top: 0;
  /* line-height: 1.2; Better line height for title */
}

.service-description {
  font-family: 'Andika', sans-serif;
  font-size: 0.95rem;
  line-height: 1.4; /* Slightly tighter line height */
  color: #666;
  margin-top: 0.25rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Limit to 3 lines */
  line-clamp: 3; /* Standard property for compatibility */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-price-section {
  display: flex;
  align-items: center;
  gap: 0.3rem; /* Reduced gap */
  flex-shrink: 0;
  min-width: 50px; /* Reduced minimum space for price */
  margin-left: auto; /* Push price to the right */
  align-self: center; 
  margin-top: 0; /* Avoid overlap on small screens */
  flex-direction: row;
  align-items: center;
}

/* ================
   Mobile / Tablet
   ================ */
@media (max-width: 768px) {
  .services-container {
    padding: 0 14px 32px;
  }

  .service-category {
    margin-top: 40px;
  }

  .category-header {
    padding: 1rem 1rem;
  }

  .expand-icon {
    margin-right: 0;
  }

  .category-description {
    padding: 1rem 1rem 0.5rem;
  }

  .sub-section {
    display: block;
    width: 100%;
    margin: 0 0 1rem 0;
    padding: 1rem;
    min-height: 0;
  }

  /* On mobile: avoid inner scrollbars; let the page scroll naturally */
  .services-list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
    margin-right: 0;
  }

  .service-detail {
    padding: 0.75rem 0.75rem;
    gap: 0.6rem;
  }

  .service-info {
    gap: 0.35rem;
  }

  .service-name {
    font-size: 1.5rem;
  }

  .service-description {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
    text-overflow: unset;
  }

  .service-price-section {
    align-self: flex-start;
    min-width: auto;
    margin-left: 0;
  }

  /* Booking section spacing */
  .booking-section .category-header,
  .booking-details {
    margin-left: 0;
    margin-right: 0;
  }

  .final-booking-summary {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .category-header h2 {
    font-size: 2.1rem;
  }

  .sub-section-title {
    font-size: 1.6rem;
  }

  .total-label {
    font-size: 2.1rem;
  }
  .total-amount {
    font-size: 2.6rem;
  }
  .total-time {
    font-size: 1.7rem;
  }
}

.price-arrow {
  font-size: 1.2rem;
  color: #000000;
  font-weight: bold;
}

.service-price {
  font-family: 'Amatic SC', cursive;
  font-size: 1.5rem; /* Smaller price font */
  font-weight: 900;
  color: #000000;
  min-width: 60px; /* Reduced minimum width */
  text-align: right;
}

/* Note Section */
/* Service Information Section */
.service-info-section {
  width: 100vw !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 3rem 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(248, 240, 245, 0.6));
  backdrop-filter: blur(10px);
  /* border-radius: 20px; */
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
}

.service-info-title {
  font-family: 'Amatic SC', cursive;
  font-size: 2.5rem;
  font-weight: 900;
  color: #c81f66;
  margin: 0 0 2.5rem 0;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.info-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  position: relative;
  max-width: 100%;
  width: 100%;
}

.info-columns::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, #DD1479, #971B59);
  border-radius: 2px;
}

.info-column {
  padding: 0 3rem;
}

.column-title {
  font-family: 'Amatic SC', cursive;
  font-size: 2rem;
  font-weight: 600;
  color: #c81f66;
  margin: 0 0 1.5rem 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: none;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  font-family: 'Andika', sans-serif;
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  padding-left: 1.5rem;
  position: relative;
}

.info-list li::before {
  content: '•';
  color: #DD1479;
  font-weight: bold;
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: 0;
}

.info-list li:last-child {
  margin-bottom: 0;
}

.info-list strong {
  color: #181818;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .info-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .info-columns::before {
    display: none;
  }
  
  .service-info-title {
    font-size: 2.5rem;
  }
  
  .service-info-section {
    margin: 0 !important;
    /* padding: 2rem 0 !important; */
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 117vw !important;
    max-width: 100% !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
  }
  
  .info-column {
    padding: 0 1.5rem;
  }
}

/* Booking Section Styles */
.booking-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 15px;
  margin: 1rem 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Booking header specific styles */
.booking-section .category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: transparent;
  /* border-radius: 15px; */
  margin: 1rem 2rem;
  /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
  cursor: pointer;
  transition: all 0.3s ease;
}

.booking-section .category-header:hover {
  background: transparent;
  transform: translateY(-2px);
  /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); */
}

.booking-section .total-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.total-display {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.total-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: center;
}

.total-label {
  font-family: 'Amatic SC', cursive;
  font-size: 2.5rem;
  font-weight: 900;
  color: #971B59;
  text-transform: uppercase;
  letter-spacing: 2px;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.3);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.total-amount {
  font-family: 'Amatic SC', cursive;
  font-size: 3rem;
  font-weight: 900;
  color: #DD1479;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.total-time {
  font-family: 'Amatic SC', cursive;
  font-size: 2rem;
  font-weight: 900;
  color: #DD1479;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  /* margin-left: 0.5rem; */
}

.book-now-btn {
  background: linear-gradient(135deg, #971B59, #DD1479);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: 'Amatic SC', cursive;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(221, 20, 121, 0.3);
}

.book-now-btn:hover {
  background: linear-gradient(135deg, #DD1479, #971B59);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(221, 20, 121, 0.5);
}

.booking-details {
  padding: 2rem;
  background: transparent;
  margin: 0 2rem 2rem;
  border-radius: 15px;
  /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
}

.addon-title {
  font-family: 'Amatic SC', cursive;
  font-size: 2.5rem;
  font-weight: 900;
  color: #971B59;
  text-align: left;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.3);
}

.addon-services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.addon-service-item {
  display: flex;
  
  gap: 1rem;
  padding: 1.5rem;
  background: transparent;
  border-radius: 15px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-height: 6%;
}

.addon-service-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}

.addon-service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #971B59, #DD1479);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.addon-service-item:hover::before {
  transform: scaleY(1);
}

.addon-service-item:hover {
  border-color: #DD1479;
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(221, 20, 121, 0.15);
}

/* Add-on service checkbox styles */
.addon-service-item .service-checkbox {
  flex-shrink: 0;
  margin-top: 15px !important;
  margin-bottom: 0 !important;
  z-index: 10;
  position: relative;
  align-self: flex-start;
}

.addon-service-item .service-checkbox input[type="checkbox"] {
  display: none;
}

.addon-service-item .service-checkbox label {
  display: block;
  width: 22px;
  height: 22px;
  border: 2px solid #971B59;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  background: transparent;
  transition: all 0.3s ease;
  z-index: 10;
  margin-top: 0 !important;
}

.addon-service-item .service-checkbox input[type="checkbox"]:checked + label {
  background: #DD1479;
  border-color: #DD1479;
  box-shadow: 0 0 0 3px rgba(221, 20, 121, 0.2);
}

.addon-service-item .service-checkbox input[type="checkbox"]:checked + label::after {
  content: '✓';
  position: absolute;
  top: 43%;
  left: 45%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 16px;
  font-weight: bold;
  line-height: 0.5;
  text-shadow: none;
  background: transparent;
}

/* Add-on service info styling */
.addon-service-item .service-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.addon-service-item .service-name {
  font-family: 'Amatic SC', cursive;
  font-size: 1.8rem;
  font-weight: 700;
  color: #0f0e0e;
  margin-bottom: 0.5rem;
}

.addon-service-item .service-description {
  font-family: 'Andika', sans-serif;
  font-size: 0.85rem; /* Smaller font for description */
  line-height: 1.4; /* Tighter line height */
  color: #666;
  margin-top: 0.1rem; /* Reduced margin */
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Limit to 3 lines */
  line-clamp: 3; /* Standard property for compatibility */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-duration {
  font-family: 'Amatic SC', cursive;
  font-size: 1.5rem;
  font-weight: 600;
  color: #DD1479;
  padding: 0.2rem 0.4rem;
  /* background: rgba(221, 20, 121, 0.1); */
  /* border-radius: 8px; */
  display: inline-block;
  /* border: 1px solid rgba(221, 20, 121, 0.3); */
  /* margin-left: 0.5rem; */
}

.addon-service-item .service-price-section {
  display: flex;
  align-items: center;
  gap: 0.3rem; /* Reduced gap */
  flex-shrink: 0;
  min-width: 50px; /* Reduced minimum space for price */
  margin-left: auto; /* Push price to the right */
}

.addon-service-item .price-arrow {
  font-size: 1.2rem;
  color: #000000;
  font-weight: bold;
}

.addon-service-item .service-price {
  font-family: 'Amatic SC', cursive;
  font-size: 1.5rem; /* Smaller price font */
  font-weight: 900;
  color: #000000;
  min-width: 60px; /* Reduced minimum width */
  text-align: right;
}

.final-booking-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  background: #FFD8DEBF;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(221, 20, 121, 0.3);
  margin-top: 2rem;
}

.final-booking-summary .total-label {
  color: #971B59;
  font-size: 2.5rem;
}

.final-booking-summary .total-amount {
  color: #DD1479;
  font-size: 3rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.final-book-btn {
  background: linear-gradient(135deg, #c81f66 0%, #DD1479 100%);
  color: #ffffff;
  border: none;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(200, 31, 102, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.final-book-btn:hover {
  background: linear-gradient(135deg, #DD1479 0%, #c81f66 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(200, 31, 102, 0.5);
}

.final-book-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(200, 31, 102, 0.3);
}

/* Custom Alert Styles */
.custom-alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(221, 20, 121, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.custom-alert-overlay.show {
  opacity: 1;
}

.custom-alert-box {
  background: rgba(221, 20, 121, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(221, 20, 121, 0.4);
  border-radius: 20px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(221, 20, 121, 0.3);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.custom-alert-overlay.show .custom-alert-box {
  transform: scale(1);
}

.custom-alert-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.custom-alert-icon {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.custom-alert-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.custom-alert-message {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.5;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.custom-alert-btn {
  background: linear-gradient(135deg, #c81f66 0%, #DD1479 100%);
  color: #ffffff;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(200, 31, 102, 0.3);
  margin-top: 0.5rem;
}

.custom-alert-btn:hover {
  background: linear-gradient(135deg, #DD1479 0%, #c81f66 100%);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(200, 31, 102, 0.4);
}

.custom-alert-btn:active {
  transform: translateY(0) scale(1);
  box-shadow: 0 2px 10px rgba(200, 31, 102, 0.3);
}

/* Booking section specific styles */
.booking-section #booking-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.booking-section.expanded #booking-content {
  max-height: 2000px;
  opacity: 1;
}

/* Ensure booking details are visible when expanded */
.booking-section.expanded .booking-details {
  display: block !important;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Hide header when expanded */
.booking-section.expanded .category-header {
  display: none !important;
}

/* Responsive Design for Booking Section */
@media (max-width: 768px) {
  .booking-section .category-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    margin: 1rem;
  }
  
  .booking-summary {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    margin: 1rem;
  }
  
  .booking-details {
    margin: 0 1rem 2rem;
  }
  
  .addon-services-list {
    grid-template-columns: 1fr;
  }
  
  .addon-service-item {
    min-height: auto;
  }
  
  .sub-section {
    width: 100%; /* Full width on mobile */
    margin-right: 0;
    margin-bottom: 1rem;
    display: flex;
    max-height: 70vh; /* Keep page from getting too tall; card scrolls when long */
  }
  
  .services-list {
    overflow-y: auto; /* Keep internal scroll on mobile too */
    max-height: none;
    padding-right: 8px;
    margin-right: 0;
  }
  
  .final-booking-summary {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Tablet-only (avoid overriding mobile) */
@media (min-width: 769px) and (max-width: 1024px) {
  .addon-services-list {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .sub-section {
    width: calc(50% - 0.5rem); /* Two columns on tablet */
  }
  
  .services-list {
    max-height: 320px; /* Medium on tablet */
  }
}
