.aqua-bright-booking-wrapper {
  --font-heading: "Syne", sans-serif;
  --font-body: "Wix Madefor Display", sans-serif;
  --color-primary: #0038fd;
  --color-primary-hover: #002bbd;
  --color-primary-light: #eef2ff;
  --color-text-primary: #ffffff;
  --color-text-secondary: #a0aec0;
  /* Lighter grey for secondary text */
  --color-border: #3e4c7b;

  font-family: var(--font-body) !important;
  color: var(--color-text-primary) !important;
  background-color: #000a30 !important;
  min-height: 100vh;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1) !important;
  position: relative;
  margin: auto;
  overflow: hidden;
}

.aqua-bright-booking-wrapper #booking-app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: relative;
}

/* -- 2. Headings & Text -- */
.aqua-bright-booking-wrapper h1,
.aqua-bright-booking-wrapper h2,
.aqua-bright-booking-wrapper h3,
.aqua-bright-booking-wrapper h4 {
  font-family: var(--font-heading) !important;
  color: white !important;
  font-weight: 700 !important;
}

.aqua-bright-booking-wrapper p {
  line-height: 1.5;
  color: var(--color-text-primary) !important;
}

.aqua-bright-booking-wrapper button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

/* -- 3. Step Container & Animations -- */
.aqua-bright-booking-wrapper #stepsContainer {
  position: relative;
  flex-grow: 1;
  overflow: hidden;
}

.full-width-input {
  grid-column: span 2;
  margin-bottom: 1.5rem;
}

.aqua-bright-booking-wrapper .step {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  padding: 1.5rem;
  box-sizing: border-box;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
  padding-bottom: 150px;
}

.aqua-bright-booking-wrapper .step.active {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

.aqua-bright-booking-wrapper .step.exiting {
  visibility: visible;
  opacity: 0;
  transform: translateX(-50px);
}

.aqua-bright-booking-wrapper .step.pre-enter {
  transform: translateX(50px);
}

.aqua-bright-booking-wrapper .step label {
  display: block;
  color: white;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0px;
  margin: 0px 0px 10px 0px;
}

#step-info .grid-container {
  margin-bottom: 1.5rem;
}

.aqua-bright-booking-wrapper .step::-webkit-scrollbar {
  width: 8px;
}

.aqua-bright-booking-wrapper .step::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

.aqua-bright-booking-wrapper .step::-webkit-scrollbar-thumb {
  background-color: var(--color-primary);
  border-radius: 10px;
  border: 2px solid #000a30;
}

.aqua-bright-booking-wrapper .step::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-primary-hover);
}

/* -- 4. Components & Error Message -- */
#abb-error-message {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  background-color: #c53030;
  color: white;
  padding: 1rem;
  border-radius: 8px;
  z-index: 1000;
  text-align: center;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

#abb-error-message.hidden {
  opacity: 0;
  pointer-events: none;
}

#loader {
  position: absolute;
  inset: 0;
  background-color: #000a30 !important;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: opacity 0.3s ease-out;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#loaderText {
  margin-top: 1rem;
  margin-bottom: 0;
}

#loader.hidden {
  opacity: 0;
  pointer-events: none;
}

span.loader {
  width: 48px;
  height: 48px;
  border: 5px solid #fff;
  border-bottom-color: var(--color-primary);
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#appHeader {
  padding: 1rem;
  border-bottom: 1px solid var(--color-border) !important;
  flex-shrink: 0;
}

#appHeader .header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#appHeader h1 {
  font-size: 1.75rem;
  color: white !important;
  text-align: center;
  flex-grow: 1;
}

.icon-button {
  background: transparent !important;
  border-radius: 9999px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
  padding: 8px !important;
  flex-shrink: 0;
}

.icon-button svg {
  color: #35d0ec;
  stroke: #35d0ec;
}

.icon-button:hover {
  background-color: var(--color-border) !important;
}

.grid-container {
  display: grid;
  gap: 1.5rem;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-7 {
  grid-template-columns: repeat(7, 1fr);
}

#serviceGrid,
#vehicleGrid,
#packageGrid,
#typeGrid {
  grid-template-columns: repeat(3, 1fr) !important;
}

.aqua-bright-booking-wrapper .button {
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  width: 100%;
  transition: background-color 0.2s;
}

.aqua-bright-booking-wrapper .button-primary {
  background-color: var(--color-primary) !important;
  color: #ffffff !important;
  margin-top: 20px !important;
}

.aqua-bright-booking-wrapper .button-primary:hover {
  background-color: var(--color-primary-hover) !important;
}

.aqua-bright-booking-wrapper .button:disabled {
  background-color: #9ca3af !important;
  color: white !important;
  cursor: not-allowed !important;
}

.card-container {
  position: relative;
}

.aqua-bright-booking-wrapper .card-button {
  background-color: transparent !important;
  border: 1px solid white !important;
  border-radius: 0.5rem;
  text-align: left;
  padding: 1rem;
  transition: all 0.3s ease;
  transform: translateY(0);
  width: 100%;
  cursor: pointer;
}

.aqua-bright-booking-wrapper .card-button:hover {
  border-color: var(--color-primary) !important;
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 56, 253, 0.2),
    0 4px 6px -2px rgba(0, 56, 253, 0.1);
}

.aqua-bright-booking-wrapper .card-button:active {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 56, 253, 0.1),
    0 2px 4px -1px rgba(0, 56, 253, 0.06);
}

.aqua-bright-booking-wrapper .card-button h3 {
  margin: 0.5rem 0 !important;
  font-size: 1.5rem !important;
}

.aqua-bright-booking-wrapper .card-button img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0.375rem;
}

.card-details-button {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background-color: rgba(0, 10, 48, 0.7) !important;
  color: white !important;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 25px;
  padding: 6px 12px !important;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.card-details-button:hover {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}

#calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

#calendar-header button svg {
  stroke: #35d0ec;
}

#calendarGrid,
#weekday-grid {
  text-align: center;
  font-size: 0.875rem;
  gap: 0.25rem;
}

#weekday-grid {
  color: var(--color-text-secondary);
  padding-bottom: 10px;
}

#calendarContainer {
  margin-bottom: 2.5rem;
}

#monthYear,
#time-slots-title {
  font-size: 1.5rem !important;
  text-align: center;
  margin-bottom: 1rem;
}

.calendar-day {
  width: 36px;
  height: 36px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  cursor: pointer;
  color: white;
  transition: all 0.2s;
  border: 1px solid var(--color-border);
}

.calendar-day.selected {
  background-color: var(--color-primary) !important;
  color: white !important;
  border-color: var(--color-primary) !important;
}

.calendar-day:hover:not(.disabled) {
  background-color: var(--color-border) !important;
}

.calendar-day.disabled {
  color: #6b7280 !important;
  cursor: not-allowed !important;
  border: none;
}

#timeSlotsContainer {
  max-height: 200px;
  overflow-y: auto;
  padding-right: 10px;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
}

.time-slot {
  border-radius: 0.5rem;
  border: 1px solid var(--color-border) !important;
  padding: 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  color: white;
}

.time-slot.selected {
  background-color: var(--color-primary) !important;
  color: white !important;
  border-color: var(--color-primary) !important;
  font-weight: 500;
}

.time-slot:hover {
  background-color: var(--color-border);
}

#locationResults {
  width: 100%;
  background-color: #000a30 !important;
  border: 1px solid var(--color-border) !important;
  border-top: none;
  border-radius: 0 0 0.5rem 0.5rem;
  z-index: 20;
  max-height: 240px;
  overflow-y: auto;
  color: white !important;
}

#locationResults.hidden {
  display: none;
}

.location-result-item {
  padding: 0.75rem 1rem;
  cursor: pointer;
}

.location-result-item:hover {
  background-color: var(--color-border) !important;
}

#summaryFooter {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #000a30 !important;
  border-top: 1px solid var(--color-border) !important;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  flex-shrink: 0;
}

#summaryFooter.visible {
  transform: translateY(0);
}

#summaryFooter .footer-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

#summaryFooter #footerNextBtn {
  width: auto;
  flex-shrink: 0;
  margin-top: 0 !important;
}

.footer-summary {
  font-size: 14px;
}

#footerPriceBreakdown p {
  display: flex;
  justify-content: space-between;
  margin: 0 0 4px 0 !important;
}

#footerPriceBreakdown p span:first-child {
  color: var(--color-text-secondary) !important;
  margin-right: 15px;
}

.footer-hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 8px 0;
}

.footer-total {
  font-weight: bold;
  font-size: 16px;
}

.footer-time {
  font-size: 14px;
  margin-top: 8px !important;
  color: var(--color-text-secondary) !important;
  display: flex;
  justify-content: space-between;
}

.package-summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 0.5rem;
  background-color: rgba(255, 255, 255, 0.05);
}

.package-summary-main h3 {
  margin: 0 !important;
  font-size: 1.75rem;
  line-height: 1.2;
}

.package-summary-prices {
  text-align: right;
}

.package-summary-prices p {
  margin: 0 0 5px 0 !important;
  font-size: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.package-summary-prices p:last-child {
  margin-bottom: 0 !important;
}

.package-summary-prices p span:first-child {
  color: var(--color-text-secondary) !important;
}

.package-summary-prices p span:last-child {
  font-weight: 600;
}

.addon-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--color-border) !important;
  cursor: pointer;
  transition: background-color 0.2s;
  border-radius: 8px;
}

.addon-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.addon-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.addon-info img {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 0.5rem;
  object-fit: cover;
}

.addon-info h4 {
  margin-bottom: 0.25rem !important;
}

.addon-info p {
  margin-top: 0 !important;
  color: var(--color-text-secondary) !important;
}

.addon-toggle {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.addon-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.addon-toggle .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 24px;
  width: 24px;
  background-color: transparent;
  border: 2px solid #fff;
  border-radius: 4px;
  transition: all 0.2s;
}

.addon-item:hover .checkmark {
  background-color: rgba(255, 255, 255, 0.1);
}

.addon-toggle input:checked~.checkmark {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.addon-toggle .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.addon-toggle input:checked~.checkmark:after {
  display: block;
}

.confirmation-box {
  text-align: center;
}

#breadcrumbs {
  display: none !important;
}

input[type="email"],
input[type="text"],
input[type="tel"],
textarea {
  font-family: var(--font-body), Sans-serif !important;
  border: 1px solid #f2f2f2d6 !important;
  font-weight: 400 !important;
  color: white !important;
  border-radius: 3px;
  padding: 0.75rem 1rem;
  transition: all 0.3s;
  width: 100%;
  background: transparent !important;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.checkbox-wrapper input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.checkbox-wrapper label {
  margin: 0;
}

.hidden {
  display: none !important;
}

#step-info .iti {
  width: 100%;
}

#step-info .iti .iti__tel-input {
  padding-left: 95px !important;
}

#step-info .iti .iti__flag-container {
  background-color: transparent;
  border: none;
}

#step-info .iti .iti__selected-flag {
  background-color: transparent;
}

#step-info .iti .iti__country-list {
  background-color: #000a30;
  border: 1px solid var(--color-border);
  color: white;
}

#step-info .iti .iti__country.iti__highlight {
  background-color: var(--color-border);
}

#step-info .iti .iti__dial-code {
  color: var(--color-text-secondary);
}

#step-info .iti .iti__tel-input::placeholder {
  color: var(--color-text-secondary);
  opacity: 1;
}

.abb-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(5px);
}

.abb-modal-content {
  background-color: #000a30;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: scaleIn 0.3s ease-out;
}

.abb-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.abb-modal-header h3 {
  margin: 0 !important;
  font-size: 1.5rem !important;
}

.abb-modal-header .icon-button {
  font-size: 2rem;
  color: #fff;
}

/* --- UPDATED Modal Body Styling --- */
.abb-modal-body {
  line-height: 1.6;
}

.abb-modal-body p {
  margin-bottom: 1rem !important;
}

.abb-modal-body ul {
  list-style: none;
  padding-left: 0;
}

.abb-modal-body li {
  margin-bottom: 10px;
  padding-left: 1.5em;
  position: relative;
}

.abb-modal-body li::before {
  content: "✓";
  color: var(--color-primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.abb-modal-body strong,
.abb-modal-body b {
  font-weight: bold;
  color: white;
}

.abb-modal-body p:last-child {
  margin-bottom: 0 !important;
}

p#footerTime,
p#footerPrice {
  display: none;
}

@keyframes fadeInSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes checkmark-circle {
  0% {
    stroke-dashoffset: 48;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes checkmark-check {
  0% {
    stroke-dashoffset: -999;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

.step.active .card-button,
.step.active .time-slot,
.step.active .addon-item,
.step.active .calendar-day:not(.disabled) {
  animation: fadeInSlideUp 0.5s ease-out both;
}

.confirmation-box .confirmation-icon,
.confirmation-box h2,
.confirmation-box p,
.confirmation-box .summary-box {
  animation: scaleIn 0.5s ease-out both;
}

.confirmation-icon {
  width: 80px;
  height: 80px;
  display: block;
  margin: 2rem auto;
}

.checkmark__circle {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: checkmark-circle 0.6s ease-in-out forwards;
  stroke: #22c55e;
  stroke-width: 2;
}

.checkmark__check {
  stroke-dasharray: 48;
  stroke-dashoffset: -48;
  animation: checkmark-check 0.3s 0.3s ease-in-out forwards;
  stroke: #22c55e;
  stroke-width: 3;
  stroke-linecap: round;
}

.summary-box {
  text-align: left;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 500px;
  margin: 2rem auto 0;
}

.summary-box h3 {
  margin-top: 0;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
}

#confirm-summary-details p {
  display: flex;
  justify-content: space-between;
}

#confirm-summary-details p span:first-child {
  color: var(--color-text-secondary) !important;
}

.summary-total {
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  margin-top: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
}

.summary-total p {
  display: flex;
  justify-content: space-between;
  margin: 0 !important;
}

@media (max-width: 767px) {
  .aqua-bright-booking-wrapper .step {
    padding: 1.5rem 1rem !important;
  }

  #appHeader h1 {
    font-size: 1.4rem !important;
  }

  #serviceGrid,
  #vehicleGrid,
  #packageGrid,
  .grid-cols-2,
  #typeGrid,
  .grid-cols-3 {
    grid-template-columns: 1fr !important;
  }

  .aqua-bright-booking-wrapper .card-button img {
    height: 180px !important;
  }

  .aqua-bright-booking-wrapper .card-button h3 {
    font-size: 1.4rem !important;
  }

  #calendarGrid,
  #weekday-grid {
    gap: 0.5rem;
  }

  .calendar-day {
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
  }

  #timeSlotsContainer {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .addon-info {
    gap: 0.75rem;
  }

  .addon-info img {
    width: 4rem;
    height: 4rem;
  }

  .addon-info h4 {
    font-size: 1rem;
  }

  .package-summary {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .package-summary-main h3 {
    font-size: 1.5rem !important;
  }

  .package-summary-prices {
    text-align: left;
    border-top: 1px solid var(--color-border);
    padding-top: 0.75rem;
  }

  .package-summary-prices p {
    justify-content: space-between;
  }

  #summaryFooter .footer-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  #summaryFooter #footerNextBtn {
    width: 100%;
  }

  .footer-summary {
    text-align: center;
  }

  #footerPriceBreakdown p,
  .footer-time {
    justify-content: space-between;
  }
}

/* ... (All styles from the previous version are unchanged until .package-summary) ... */

.package-summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 0.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
  /* Allow wrapping */
}

.package-summary-main {
  flex-grow: 1;
}

.package-summary-main h3 {
  margin: 0 0 10px 0 !important;
  font-size: 1.75rem;
  line-height: 1.2;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-selector label {
  font-size: 14px;
  color: var(--color-text-secondary) !important;
  margin: 0;
}

.quantity-selector input {
  width: 60px !important;
  padding: 5px 8px !important;
  text-align: center;
}

.package-summary-prices {
  text-align: right;
  flex-shrink: 0;
}

/* ... (rest of the file is unchanged) ... */
#summaryFooter .footer-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.footer-summary {
  flex-grow: 1;
  /* Allow summary to take available space */
}

#summaryFooter #footerNextBtn,
#summaryFooter #add-another-vehicle-btn {
  width: auto;
  flex-shrink: 0;
  margin-top: 0 !important;
}

.footer-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

#add-another-vehicle-btn {
  background-color: transparent !important;
  border: 1px solid var(--color-primary) !important;
  color: var(--color-primary) !important;
}

#add-another-vehicle-btn:hover {
  background-color: var(--color-primary) !important;
  color: white !important;
}

/* ... (Rest of the file is unchanged, but media queries need adjustment) ... */

@media (max-width: 767px) {
  /* ... (all other responsive rules are unchanged) ... */

  #summaryFooter .footer-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .footer-summary {
    text-align: center;
  }

  .footer-actions {
    flex-direction: column-reverse;
    /* Put NEXT at the bottom */
    width: 100%;
  }

  #summaryFooter #footerNextBtn,
  #summaryFooter #add-another-vehicle-btn {
    width: 100%;
  }
}

#summaryFooter .footer-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.footer-summary {
  flex-grow: 1;
}

#summaryFooter #footerNextBtn,
#summaryFooter #add-another-vehicle-btn {
  width: auto;
  flex-shrink: 0;
  margin-top: 0 !important;
}

.footer-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

#add-another-vehicle-btn {
  background-color: transparent !important;
  border: 1px solid var(--color-primary) !important;
  color: var(--color-primary) !important;
}

#add-another-vehicle-btn:hover {
  background-color: var(--color-primary) !important;
  color: white !important;
}

/* --- NEW and IMPROVED Cart Summary Styling --- */
.cart-summary-wrapper {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--color-border);
  background-color: rgba(0, 0, 0, 0.1);
}

.cart-summary-wrapper h4 {
  margin: 0 0 10px 0 !important;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
  font-size: 1.1rem !important;
}

.cart-item p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 8px 0 !important;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(62, 76, 123, 0.5);
}

.cart-item:last-child p {
  margin-bottom: 0 !important;
  border-bottom: none;
  padding-bottom: 0;
}

.cart-item p span:first-child {
  color: var(--color-text-secondary) !important;
  font-weight: 500;
}

.cart-item p span:last-child {
  font-weight: 600;
  font-size: 1.1em;
}

@media (max-width: 767px) {
  /* ... (all other responsive rules are unchanged) ... */

  #summaryFooter .footer-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .footer-summary {
    text-align: center;
  }

  .footer-actions {
    flex-direction: column-reverse;
    /* Put NEXT at the bottom */
    width: 100%;
  }

  #summaryFooter #footerNextBtn,
  #summaryFooter #add-another-vehicle-btn {
    width: 100%;
  }
}

.cart-summary-wrapper {
  margin-bottom: 2rem;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--color-border);
  background-color: rgba(0, 0, 0, 0.1);
}

.cart-summary-wrapper h4 {
  margin: 0 0 10px 0 !important;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
  font-size: 1.1rem !important;
}

.cart-item p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 8px 0 !important;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(62, 76, 123, 0.5);
}

.cart-item:last-child p {
  margin-bottom: 0 !important;
  border-bottom: none;
  padding-bottom: 0;
}

.cart-item p span:first-child {
  color: var(--color-text-secondary) !important;
  font-weight: 500;
}

.cart-item p span:last-child {
  font-weight: 600;
  font-size: 1.1em;
}

.cart-item.is-editing p span:first-child {
  color: white !important;
}

.editing-label {
  font-style: italic;
  color: var(--color-primary);
  font-size: 0.9em;
  margin-left: 8px;
}

.travel-fee-item {
  border-top: 1px solid var(--color-border);
  padding-top: 8px;
  margin-top: 8px;
}

.package-summary {
  display: none !important;
  /* Hide this completely now */
}

h3.addon-section-title {
  margin-top: 0;
}

#summaryFooter .footer-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.footer-summary {
  flex-grow: 1;
  font-size: 14px;
}

/* --- UPDATED Footer Summary Styling --- */
#footerPriceBreakdown p {
  display: flex;
  justify-content: space-between;
  margin: 0 0 5px 0 !important;
  color: var(--color-text-secondary) !important;
}

#footerPriceBreakdown p span:last-child {
  color: white !important;
  font-weight: 500;
}

.summary-addon-item span:first-child {
  padding-left: 15px;
}

.footer-hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 8px 0;
}

.footer-total {
  font-weight: bold;
  font-size: 1.1rem;
  color: white !important;
}

.footer-total span {
  color: white !important;
}

.footer-time {
  font-size: 14px;
  margin-top: 8px !important;
  color: var(--color-text-secondary) !important;
  display: flex;
  justify-content: space-between;
}

.footer-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

#summaryFooter #footerNextBtn,
#summaryFooter #add-another-vehicle-btn {
  width: auto;
  flex-shrink: 0;
  margin-top: 0 !important;
}

#add-another-vehicle-btn {
  background-color: transparent !important;
  border: 1px solid var(--color-primary) !important;
  color: var(--color-primary) !important;
}

#add-another-vehicle-btn:hover {
  background-color: var(--color-primary) !important;
  color: white !important;
}

/* --- Coupon Section Styling (Corrected Selectors) --- */
#coupon-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

#coupon-section label {
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
  display: block;
}

.coupon-wrapper {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

#coupon-code-input {
  flex-grow: 1;
  background-color: transparent !important;
  border: 1px solid var(--color-border) !important;
  color: white !important;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
}

#coupon-code-input:focus {
  border-color: var(--color-primary) !important;
  outline: none;
}

#apply-coupon-btn {
  background-color: var(--color-primary) !important;
  color: white !important;
  border-radius: 0.5rem;
  padding: 0 1.5rem;
  font-weight: 600;
  font-family: var(--font-heading);
  white-space: nowrap;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

#apply-coupon-btn:hover {
  background-color: var(--color-primary-hover) !important;
  transform: translateY(-2px);
}

#apply-coupon-btn:disabled {
  background-color: #4b5563 !important;
  cursor: not-allowed;
  transform: none;
}

.coupon-applied-wrapper {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

#coupon-message {
  font-weight: 500;
  display: inline-block;
}

#coupon-message.text-green-500 {
  color: #22c55e !important;
}

#coupon-message.text-red-500 {
  color: #ef4444 !important;
}

#remove-coupon-btn {
  background-color: rgba(239, 68, 68, 0.1) !important;
  color: #ef4444 !important;
  border: 1px solid #ef4444 !important;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-family: var(--font-body);
  border-radius: 0.25rem;
  transition: all 0.2s;
  cursor: pointer;
}

#remove-coupon-btn:hover {
  background-color: #ef4444 !important;
  color: white !important;
}

@media (max-width: 767px) {
  .coupon-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  #apply-coupon-btn {
    padding: 0.75rem 1rem;
    width: 100%;
  }

  .coupon-applied-wrapper {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  /* -- Footer Mobile Adjustments -- */
  #summaryFooter {
    padding: 1rem;
    /* position: fixed;  Often better on mobile to keep it visible, but depends on layout flow. keeping absolute as per desktop but ensuring width fits */
    z-index: 1000;
  }

  #summaryFooter .footer-content {
    flex-direction: column;
    align-items: stretch;
    /* Stretch children */
    gap: 15px;
  }

  .footer-summary {
    width: 100%;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 10px;
  }

  .footer-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* Make buttons full width */
  #summaryFooter #footerNextBtn,
  #add-another-vehicle-btn {
    width: 100% !important;
    margin: 0 !important;
  }

  /* Order: Next button on top, Add Another below */
  #summaryFooter #footerNextBtn {
    order: 1;
  }

  #add-another-vehicle-btn {
    order: 2;
  }

  /* Increase bottom padding to prevent overlap with the taller footer */
  .aqua-bright-booking-wrapper .step {
    padding-bottom: 350px !important;
  }
}