/* BookingCart Component Styles */

@import url('../css/event-booking-typography.css?ver=156c9001b282');

/* Cart Modal Scrollbar - Always Visible */
.cart-modal-body::-webkit-scrollbar,
.cart-items::-webkit-scrollbar {
  width: 12px;
  -webkit-appearance: none;
  display: block;
}

.cart-modal-body::-webkit-scrollbar-track,
.cart-items::-webkit-scrollbar-track {
  background: #333;
  border-radius: 6px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  display: block;
}

.cart-modal-body::-webkit-scrollbar-thumb,
.cart-items::-webkit-scrollbar-thumb {
  background: var(--event-secondary-color, #4FF6B1);
  border-radius: 6px;
  -webkit-box-shadow: inset 0 0 6px color-mix(in srgb, var(--event-secondary-color, #4FF6B1) 50%, transparent);
  min-height: 40px;
  display: block;
}

.cart-modal-body::-webkit-scrollbar-thumb:hover,
.cart-items::-webkit-scrollbar-thumb:hover {
  background: #3de099;
}

.cart-modal-body::-webkit-scrollbar:vertical,
.cart-items::-webkit-scrollbar:vertical {
  width: 12px;
  display: block;
}

.cart-modal-body::-webkit-scrollbar-button,
.cart-items::-webkit-scrollbar-button {
  display: none;
}

.cart-modal-body,
.cart-items {
  scrollbar-width: auto;
  scrollbar-color: var(--event-secondary-color, #4FF6B1) #333;
  -webkit-overflow-scrolling: touch;
}

.cart-modal-body::-webkit-scrollbar-corner,
.cart-items::-webkit-scrollbar-corner {
  background: transparent;
}

/* Floating Cart Widget */
.booking-cart-floating {
  position: fixed;
  z-index: 1000;
  font-family: var(--event-font-family, "DM Sans"), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.cart-position-bottom_right {
  bottom: 20px;
  right: 20px;
}

.cart-position-bottom_left {
  bottom: 20px;
  left: 20px;
}

.cart-position-top_right {
  top: 20px;
  right: 20px;
}

.cart-position-top_left {
  top: 20px;
  left: 20px;
}

/* Cart Toggle Button - REMOVED (cart displayed in header) */
/* Styles removed as toggle button no longer used */

/* Cart Quick View - Simplified (modal created by JavaScript) */
.cart-quick-view {
  display: none; /* Hidden - modal created dynamically */
}

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

.cart-header h3 {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.cart-close {
  background: none;
  border: none;
  color: #777e90;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.cart-close:hover {
  background: #333;
  color: #fff;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
  min-height: 100px;
  max-height: 250px;
}

.cart-empty {
  text-align: center;
  padding: 40px 20px;
  color: #777e90;
}

.cart-empty p {
  margin: 0;
  font-size: 14px;
}

/* Cart Item */
.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #242428;
  margin-bottom: 8px;
  transition: background 0.2s ease;
}

.cart-item:hover {
  background: #2a2a2e;
}

.item-details {
  flex: 1;
  min-width: 0;
}

.item-title {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-hotel {
  color: var(--event-secondary-color, #4FF6B1);
  font-size: 12px;
  margin-bottom: 4px;
}

.item-dates,
.item-guests {
  color: #777e90;
  font-size: 12px;
  margin-bottom: 2px;
}

.item-price {
  color: var(--event-secondary-color, #4FF6B1);
  font-weight: 600;
  font-size: 14px;
  margin-right: 8px;
}

.item-actions {
  display: flex;
  align-items: center;
}

.item-remove {
  background: none;
  border: none;
  color: #777e90;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.item-remove:hover {
  background: #333;
  color: #ff4757;
}

.item-remove svg {
  width: 14px;
  height: 14px;
}

/* BS-5865: outlined secondary button — was inline-styled with a flat grey
   that read as disabled against a light card. */
.item-change-dates {
  background: none;
  color: var(--event-text-primary-color, #ffffff);
  border: 1px solid var(--event-hairline-color, #CBCDD3);
  border-radius: var(--event-button-radius, 8px);
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.item-change-dates:hover {
  background: color-mix(in srgb, var(--event-hairline-color, #CBCDD3) 15%, transparent);
}

/* BS-5865 round 3: the inline date editor was hardcoded to a dark palette (#1a1a1c /
   #444 / #aaa) that broke on light-branded events. Same token set as .item-change-dates,
   for both mobile and desktop. */
.item-date-editor {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-end;
  margin-top: 10px;
  padding: 12px;
  background: var(--event-surface-secondary-color, #1a1a1c);
  border: 1px solid var(--event-hairline-color, #444);
  border-radius: var(--event-button-radius, 8px);
}

.item-date-editor__label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: var(--event-text-secondary-color, #aaa);
}

.item-date-editor__field {
  background: var(--event-surface-primary-color, #1a1a1c);
  color: var(--event-text-primary-color, #ffffff);
  border: 1px solid var(--event-hairline-color, #444);
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 13px;
  color-scheme: light dark;
}

.item-date-editor__save,
.item-date-editor__cancel {
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
}

.item-date-editor__save {
  background: var(--event-button-primary-bg, var(--event-secondary-color, #4FF6B1));
  color: var(--event-button-primary-text, #111);
  font-weight: 600;
  border: 1px solid transparent;
}

.item-date-editor__cancel {
  background: none;
  color: var(--event-text-secondary-color, #ddd);
  border: 1px solid var(--event-hairline-color, #444);
}

.item-date-editor__error {
  flex-basis: 100%;
  color: var(--event-critical-color, #ff6b6b);
  font-size: 12px;
}

/* Cart Footer */
.cart-footer {
  border-top: 1px solid #333;
  padding: 16px;
}

.cart-total-display {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 12px;
  text-align: right;
}

/* BS-7797: the labelled fee lines (Taxes and Fees, Service Fee, Booking Fee) between the
   modal's items and its Total, and the notice for a cart the checkout refuses because it mixes
   a Pay Now hotel with a Pay at Hotel one (booking-cart-widget.js renderFeeLines). */
.cart-modal-body .cart-fee-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 0;
  margin-bottom: 8px;
  border-top: 1px solid var(--event-hairline-color, #333);
  color: var(--event-text-secondary-color, #888);
  font-size: 14px;
}

.cart-modal-body .cart-fee-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.cart-modal-body .cart-fee-line__amount {
  color: var(--event-text-primary-color, #fff);
  white-space: nowrap;
}

.cart-modal-body .cart-mixed-payment-notice {
  margin: 0 0 12px 0;
  padding: 8px 12px;
  background: var(--event-warning-color, #FAC511);
  color: #000000;
  border-radius: var(--event-button-radius, 8px);
  font-size: 14px;
  line-height: 1.5;
}

/* BS-5865 D7: the Shopping Cart modal's Total row (booking-cart-widget.js createCartModal) is a
   flex row so the "Do not show this again" checkbox sits at the left and Total at the right, in
   both the plain and locked/readonly modal variants -- it used to stack above or below this row
   depending on dialog kind. Scoped to the modal body so the unrelated cart-quick-view footer
   above keeps its plain right-aligned Total. */
.cart-modal-body .cart-total-display {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 0;
  text-align: left;
}

.cart-modal-dnsa {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  cursor: pointer;
}

.cart-modal-dnsa-checkbox {
  width: 16px;
  height: 16px;
  accent-color: var(--event-button-primary-bg, var(--event-secondary-color, #4FF6B1));
  cursor: pointer;
}

.cart-modal-dnsa-text {
  font-size: 14px;
  font-weight: 400;
  color: var(--event-text-secondary-color, #888);
}

.cart-disclaimer {
  font-size: 13px;
  font-weight: 400;
  color: var(--event-text-secondary-color, #a3a3a3);
  font-style: italic;
  margin-top: 2px;
  text-align: right;
}

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-extras-actions {
  display: flex;
  gap: 6px;
}

.cart-actions .btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary {
  background: #333;
  color: #777e90;
}

.btn-secondary:hover {
  background: #404040;
  color: #fff;
}

.btn-tertiary {
  background: transparent;
  color: var(--event-secondary-color, #4FF6B1);
  border: 1px solid var(--event-secondary-color, #4FF6B1);
}

.btn-tertiary:hover {
  background: var(--event-secondary-color, #4FF6B1);
  color: #000;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--event-secondary-color, #4FF6B1);
  color: #000;
}

.btn-primary:hover {
  background: #3de89f;
  transform: translateY(-1px);
}

/* Sidebar Cart Widget */
.booking-cart-sidebar {
  background: #1a1a1c;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

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

.cart-sidebar-header h3 {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.cart-sidebar-header .cart-count {
  color: #777e90;
  font-size: 12px;
  background: none;
  width: auto;
  height: auto;
  border-radius: 0;
}

.cart-sidebar-content {
  min-height: 100px;
}

.cart-sidebar-total {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #333;
  text-align: right;
  color: var(--event-secondary-color, #4FF6B1);
  font-size: 16px;
}

.cart-sidebar-disclaimer {
  font-size: 13px;
  font-weight: 400;
  color: var(--event-text-secondary-color, #a3a3a3);
  font-style: italic;
  margin-top: 2px;
  text-align: right;
}

/* Inline Cart Widget */
.booking-cart-inline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #242428;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.booking-cart-inline .cart-summary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.booking-cart-inline:hover {
  background: #333;
  transform: translateY(-1px);
}

.booking-cart-inline .cart-count {
  background: var(--event-secondary-color, #4FF6B1);
  color: #000;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  width: auto;
  height: auto;
  font-size: 12px;
}

.cart-label {
  color: #777e90;
}

.booking-cart-inline .cart-total {
  color: var(--event-secondary-color, #4FF6B1);
  font-weight: 600;
  margin-left: 8px;
}

/* Header Cart Widget Integration */
.header-cart-widget {
  background: rgba(36, 36, 40, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid #333;
  border-radius: 8px;
  /* 44px total with the header's 1px border (BS-5642): matches .header-booking-cta. */
  padding: 11px 12px;
  line-height: 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  margin: 0;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

/* Ensure header nav container has proper layout */
.header-nav-container {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 16px !important;
  margin-left: auto !important;
}

/* Header menu styling */
.header-menu {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.header-menu-item {
  margin: 0 !important;
}

/* Ensure proper spacing between navigation and cart */
.header-nav {
  margin-right: 0 !important;
}

.header-cart-widget + .header-nav,
.header-nav + .header-cart-widget {
  margin-left: 16px !important;
}

@media (min-width: 769px) and (max-width: 1000px) {
  .header-nav + .header-cart-widget,
  header .header-nav-container .header-cart-widget,
  header .header-nav-container #booking-cart-widget {
    margin-left: 24px !important;
  }

  .header-cart-widget {
    flex-shrink: 0 !important;
  }
}

.header-cart-widget:hover {
  background: color-mix(in srgb, var(--event-secondary-color, #4FF6B1) 10%, transparent);
  border-color: var(--event-secondary-color, #4FF6B1);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--event-secondary-color, #4FF6B1) 20%, transparent);
}

.header-cart-widget .cart-count {
  background: var(--event-secondary-color, #4FF6B1);
  color: #000;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  margin-left: 0;
  flex-shrink: 0;
}

.header-cart-widget .cart-total {
  color: var(--event-secondary-color, #4FF6B1);
  margin-left: 0;
}

.cart-hold-timer--header {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  margin-left: 8px;
  /* BS-9944: the chip is a solid fill with the server-picked AA text colour for it, so it reads
     on any header; an outline in the fill colour vanished on a light header. */
  --cart-hold-timer-fill: var(--event-secondary-color, #4FF6B1);
  --cart-hold-timer-on-fill: var(--event-on-secondary-color, #0a0a0a);
}

.cart-hold-timer--header .cart-hold-timer__active {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid var(--cart-hold-timer-fill);
  border-radius: 999px;
  background: var(--cart-hold-timer-fill);
  color: var(--cart-hold-timer-on-fill);
}

.cart-hold-timer--header .cart-hold-timer__icon {
  width: 16px;
  height: 16px;
  color: inherit;
  flex-shrink: 0;
}

.cart-hold-timer--header .cart-hold-timer__time {
  font-size: 14px;
  font-weight: 600;
  color: inherit;
  min-width: 36px;
  text-align: center;
}

/* Expired is the same pair inverted: same contrast, visibly not the running state. */
.cart-hold-timer--header .cart-hold-timer__expired {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid var(--cart-hold-timer-fill);
  border-radius: 999px;
  background: var(--cart-hold-timer-on-fill);
  color: var(--cart-hold-timer-fill);
}

.cart-hold-timer--header .cart-hold-timer__expired[hidden] {
  display: none;
}

.cart-hold-timer--header .cart-hold-timer__active.cart-hold-timer__active--hidden {
  display: none;
}

.cart-hold-timer--hidden-when-empty {
  display: none !important;
}

.header-cart-widget svg {
  vertical-align: middle;
  margin-right: 6px;
}

/* Header Right Section Layout */
.header-right-section {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

/* Search Container Cart Integration (legacy) */
.search-container-cart {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  background: rgba(26, 26, 28, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid #333;
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.search-container-cart:hover {
  background: color-mix(in srgb, var(--event-secondary-color, #4FF6B1) 10%, transparent);
  border-color: var(--event-secondary-color, #4FF6B1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--event-secondary-color, #4FF6B1) 20%, transparent);
}

.search-container-cart .cart-count {
  background: var(--event-secondary-color, #4FF6B1);
  color: #000;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-left: 6px;
}

.search-container-cart .cart-total {
  color: var(--event-secondary-color, #4FF6B1);
  margin-left: 8px;
}


.booking-cart-inline.cart-empty,
.header-cart-widget.cart-empty,
.search-container-cart.cart-empty {
  visibility: hidden !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  border: none !important;
}

/* Loading States */
.cart-loading {
  opacity: 0.6;
  pointer-events: none;
}

/* BS-5865 r4: the header widget must never look empty/dimmed while it holds items
   (e.g. a stale cart-loading/cart-empty class surviving a modal close). */
#booking-cart-widget.header-cart-widget:not([data-cart-count="0"]) {
  opacity: 1 !important;
  filter: none !important;
}

.cart-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--event-secondary-color, #4FF6B1);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: cart-spin 1s linear infinite;
}

@keyframes cart-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .cart-quick-view {
    width: 280px;
    max-height: 300px;
  }

  .cart-position-bottom_right,
  .cart-position-bottom_left {
    bottom: 10px;
  }

  .cart-position-bottom_right {
    right: 10px;
  }

  .cart-position-bottom_left {
    left: 10px;
  }

  .booking-cart-sidebar {
    margin-bottom: 16px;
  }

  .cart-actions {
    flex-direction: column;
  }

  .cart-actions .btn {
    width: 100%;
  }

  /* Header cart widget adjustments for mobile - cart + timer as separate touch targets */
  .header-cart-widget {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    width: auto !important;
    min-width: auto !important;
    height: 44px !important;
    gap: 8px !important;
    margin: 0 !important;
    position: relative !important;
    justify-content: flex-end !important;
  }

  .header-cart-widget:hover {
    background: transparent !important;
    border: none !important;
    transform: none !important;
  }

  .header-cart-widget .cart-summary {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: auto !important;
    height: 100% !important;
    position: static !important;
    gap: 8px !important;
  }

  .header-cart-widget .cart-label {
    display: none !important;
  }

  .header-cart-widget > svg {
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 11px !important;
    stroke: var(--event-secondary-color, #4FF6B1) !important;
    flex-shrink: 0 !important;
    box-sizing: content-box !important;
    border: 1px solid var(--event-secondary-color, #4FF6B1) !important;
    border-radius: 8px !important;
    background: color-mix(in srgb, var(--event-secondary-color, #4FF6B1) 10%, transparent) !important;
    touch-action: manipulation !important;
  }

  /* Light colour mode (Jordan, dev 16 Sep): the secondary token is a near-white grey on the
     LA28 preset, so the icon read as disabled next to the hamburger. Match the hamburger
     (Header.css .header-mobile-menu-toggle — no outline since BS-5865 round 5) and use the
     text token instead. */
  body.event-color-mode-light .header-cart-widget > svg {
    stroke: var(--event-text-primary-color, #171B23) !important;
    border: none !important;
    background: transparent !important;
  }

  /* BS-5865 round 10m (OL canvas row 98): the glyph is fill-only on desktop, so the 1px text-colour
     stroke above outlines the blue fill in black and the icon reads heavier at 375 than at 1440.
     LA28 light mode keeps the 44px tap target and drops the stroke. */
  body.event-branding-preset-la28.event-color-mode-light .header-cart-widget > svg {
    stroke: none !important;
  }

  .header-cart-widget .cart-count {
    position: absolute !important;
    top: -4px !important;
    left: 38px !important;
    right: auto !important;
    width: 20px !important;
    height: 20px !important;
    font-size: 10px !important;
    line-height: 1 !important;
    margin: 0 !important;
    background: var(--event-secondary-color, #4FF6B1) !important;
    color: #000 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
  }

  .header-cart-widget .cart-total {
    display: none !important;
  }

  .header-cart-widget .cart-hold-timer--header {
    margin-left: 0 !important;
    flex-shrink: 0 !important;
  }

  .header-cart-widget .cart-hold-timer--header .cart-hold-timer__active {
    padding: 8px 12px !important;
    min-height: 44px !important;
    min-width: 56px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    touch-action: manipulation !important;
    border-radius: 8px !important;
  }

  .header-cart-widget .cart-hold-timer--header .cart-hold-timer__icon {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0 !important;
  }

  .header-cart-widget .cart-hold-timer--header .cart-hold-timer__time {
    font-size: 13px !important;
    font-weight: 600 !important;
    min-width: 32px !important;
    font-variant-numeric: tabular-nums !important;
  }

  .header-right-section {
    gap: 8px;
    flex-wrap: wrap;
  }

  /* Search container cart adjustments for mobile */
  .search-container-cart {
    top: 15px;
    right: 15px;
    padding: 6px 10px;
    font-size: 13px;
  }

  .search-container-cart .cart-count {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .cart-quick-view {
    width: calc(100vw - 40px);
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .cart-position-bottom_right .cart-quick-view,
  .cart-position-bottom_left .cart-quick-view {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

/* Cart Item Extras Styling */
.item-extras {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #333;
}

.cart-item-extras {
  background: #1a1a1c;
  border-radius: 6px;
  padding: 8px;
}

.extras-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.extras-title {
  color: var(--event-secondary-color, #4FF6B1);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.extras-toggle {
  background: none;
  border: none;
  color: #777e90;
  cursor: pointer;
  padding: 2px;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.extras-toggle:hover {
  background: #333;
  color: var(--event-secondary-color, #4FF6B1);
}

.extras-list {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #333;
}

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

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

.extra-info {
  flex: 1;
}

.extra-name {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  display: block;
  margin-bottom: 2px;
}

.extra-details {
  color: #777e90;
  font-size: 10px;
}

.extra-pricing {
  display: flex;
  align-items: center;
  gap: 6px;
}

.extra-total {
  color: var(--event-secondary-color, #4FF6B1);
  font-size: 12px;
  font-weight: 600;
}

.extra-remove {
  background: none;
  border: none;
  color: #777e90;
  cursor: pointer;
  padding: 2px;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.extra-remove:hover {
  background: #ff4757;
  color: #fff;
}

/* Item Pricing Breakdown */
.item-pricing {
  text-align: right;
  min-width: 80px;
}

.item-price-breakdown {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.price-line.room-price .price-label {
  color: #777e90;
}

.price-line.extras-price .price-label {
  color: var(--event-secondary-color, #4FF6B1);
}

.price-line.total-price {
  font-weight: 600;
  padding-top: 4px;
  border-top: 1px solid #333;
  margin-top: 4px;
}

.price-line.total-price .price-value {
  color: var(--event-secondary-color, #4FF6B1);
  font-size: 14px;
}

/* Item Main Content */
.item-main-content {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
}

.item-info {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

/* Item Actions */
.item-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 0 0 140px;
  width: 140px;
  align-items: flex-end;
  justify-content: flex-start;
}

.item-actions .item-remove,
.item-actions .extra-remove {
  white-space: nowrap;
  width: 100%;
}

.item-actions .item-price {
  white-space: nowrap;
  text-align: right;
  width: 100%;
}

.item-edit-extras {
  background: none;
  border: none;
  color: #777e90;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.item-edit-extras:hover {
  background: var(--event-secondary-color, #4FF6B1);
  color: #000;
}

/* Extras Modal */
.extras-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.extras-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.extras-modal-content {
  background: #1a1a1c;
  border: 1px solid #333;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.extras-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #333;
}

.extras-modal-header h3 {
  color: var(--event-secondary-color, #4FF6B1);
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.extras-modal-close {
  background: none;
  border: none;
  color: #777e90;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.extras-modal-close:hover {
  background: #333;
  color: #fff;
}

.extras-modal-body {
  padding: 20px;
  max-height: 400px;
  overflow-y: auto;
}

.extra-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: #242428;
  border-radius: 8px;
  margin-bottom: 12px;
}

.extra-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex: 1;
}

.extra-checkbox input[type="checkbox"] {
  margin: 0;
  transform: scale(1.2);
}

.extra-name {
  color: #fff;
  font-weight: 500;
}

.extra-price {
  color: var(--event-secondary-color, #4FF6B1);
  font-weight: 600;
  margin: 0 16px;
}

.extra-quantity {
  width: 60px;
  background: #1a1a1c;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 4px 8px;
  color: #fff;
  text-align: center;
}

.extras-modal-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
  border-top: 1px solid #333;
}

.extras-modal-footer .btn {
  flex: 1;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary {
  background: #333;
  color: #777e90;
  border: 1px solid #333;
}

.btn-secondary:hover {
  background: #404040;
  color: #fff;
}

.btn-primary {
  background: var(--event-secondary-color, #4FF6B1);
  color: #000;
  border: none;
}

.btn-primary:hover {
  background: #3de89f;
  transform: translateY(-1px);
}

/* Animation for cart updates */
.cart-item-enter {
  opacity: 0;
  transform: translateY(-10px);
  animation: cart-item-enter 0.3s ease forwards;
}

@keyframes cart-item-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cart-item-remove {
  animation: cart-item-remove 0.3s ease forwards;
}

@keyframes cart-item-remove {
  to {
    opacity: 0;
    transform: translateX(20px);
    height: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* Enhanced Cart Actions Layout */
.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-extras-actions {
  display: flex;
  gap: 6px;
}

/* Cart Total Breakdown */
.cart-total-breakdown {
  margin-bottom: 16px;
}

.total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 0;
}

.total-line.rooms-total .total-label {
  color: #777e90;
}

.total-line.extras-total .total-label {
  color: var(--event-secondary-color, #4FF6B1);
}

.total-line.grand-total {
  font-weight: 600;
  font-size: 16px;
  padding-top: 8px;
  border-top: 1px solid #333;
  margin-top: 8px;
}

.total-line.grand-total .total-value {
  color: var(--event-secondary-color, #4FF6B1);
}

.total-line__wrapper .total-line {
  display: block;
  padding-left: 15px;
}

.total-line__wrapper .total-line .price-per-night__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 12px;
}

.total-line__wrapper .total-line .price-per-night__item span {
  font-size: 11px;
}

.total-line__wrapper .total-line .price-per-night__note {
  justify-content: flex-start;
  color: rgba(255, 255, 255, 0.6);
}

.total-line .total-line__expand-btn-wrapper {
  display: flex;
  gap: 6px;
}

.total-line__wrapper {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease-out;
  display: none;
}

.total-line__wrapper.expanded {
  display: block;
  max-height: 1000px;
}

.total-line__expand-btn-wrapper .expand-btn svg {
  transition: transform 0.3s ease-out;
}

/* Extras Recommendations */
.cart-extras-recommendations {
  margin-bottom: 16px;
  padding: 12px;
  background: color-mix(in srgb, var(--event-secondary-color, #4FF6B1) 5%, transparent);
  border: 1px solid color-mix(in srgb, var(--event-secondary-color, #4FF6B1) 20%, transparent);
  border-radius: 8px;
}

.recommendations-header {
  margin-bottom: 8px;
}

.recommendations-title {
  color: var(--event-secondary-color, #4FF6B1);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.recommendations-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.recommendation-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  background: rgba(36, 36, 40, 0.5);
  border-radius: 6px;
}

.rec-name {
  color: #fff;
  font-size: 12px;
  flex: 1;
}

.rec-price {
  color: var(--event-secondary-color, #4FF6B1);
  font-size: 12px;
  font-weight: 600;
  margin: 0 8px;
}

.rec-add-btn {
  background: var(--event-secondary-color, #4FF6B1);
  color: #000;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.rec-add-btn:hover {
  background: #3de89f;
  transform: scale(1.1);
}

.rec-add-btn:disabled {
  background: #2ecc71;
  cursor: not-allowed;
  transform: none;
}

/* Bulk Extras Modal */
.bulk-extras-modal .extras-modal-content {
  max-width: 700px;
}

.bulk-extras-info {
  padding: 16px 20px 0;
  color: #777e90;
  font-size: 14px;
  background: color-mix(in srgb, var(--event-secondary-color, #4FF6B1) 5%, transparent);
  margin: 0 20px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--event-secondary-color, #4FF6B1) 20%, transparent);
}

.bulk-extras-info p {
  margin: 0;
  padding: 8px 0;
}

/* ============================================
   BS-5865 round 10j (OL canvas rows 102 + 103, Figma 1260-9401 editable / 1260-9719 locked): LA28's
   Shopping Cart dialog. createCartModal() / renderCartItem() paint with inline styles, so the
   overrides here carry !important. Radius 20 + soft shadow; serif title with a yellow "N rooms" tag
   and a round grey close; grey items (hotel 18/500, room type 16, "dates • nights • guests" 14 in
   #474754, price 16/500) with underlined Change dates / Remove text actions; Clear Cart in the error
   red, Continue Shopping outlined, Checkout the CTA blue. Locked: pink notice with the Info glyph.
   ============================================ */
body.event-branding-preset-la28 .booking-cart-modal .cart-modal-content {
  border-radius: 20px !important;
  box-shadow: 0 4px 20px rgba(120, 120, 120, 0.2) !important;
}
body.event-branding-preset-la28 .booking-cart-modal .cart-modal-header {
  gap: 12px;
  padding: 24px 24px 16px !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
body.event-branding-preset-la28 .booking-cart-modal .cart-modal-header h2 {
  font-family: var(--event-type-subhead-l-family, inherit) !important;
  flex: 0 0 auto;
}
.cart-modal-rooms-tag {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--event-warning-color, #F7D500);
  color: var(--event-on-warning-color, #141416);
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
}
body.event-branding-preset-la28 .booking-cart-modal .cart-modal-close {
  background: var(--event-surface-tertiary-color, #EAEAEC) !important;
  color: var(--event-text-primary-color, #000) !important;
}
body.event-branding-preset-la28 .booking-cart-modal .cart-modal-body {
  padding-top: 0 !important;
}
body.event-branding-preset-la28 .booking-cart-modal .cart-modal-readonly-notice {
  background: #FDB9EB !important;
  color: var(--event-text-primary-color, #000) !important;
  border-radius: 8px !important;
  padding: 12px !important;
  font-size: 14px !important;
}
body.event-branding-preset-la28 .booking-cart-modal .cart-item {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--event-surface-secondary-color, #F5F5F5) !important;
  border: none !important;
  margin-bottom: 8px !important;
}
body.event-branding-preset-la28 .booking-cart-modal .cart-item .item-main-content {
  order: 1;
  padding-right: 0 !important;
}
body.event-branding-preset-la28 .booking-cart-modal .cart-item .item-type {
  display: none !important;
}
body.event-branding-preset-la28 .booking-cart-modal .cart-item .item-name {
  font-weight: 500 !important;
}
body.event-branding-preset-la28 .booking-cart-modal .cart-item .item-hotel {
  color: var(--event-text-primary-color, #000) !important;
  margin-bottom: 4px !important;
}
body.event-branding-preset-la28 .booking-cart-modal .cart-item .item-booking-details {
  gap: 0 !important;
  margin-bottom: 8px !important;
  font-size: 14px !important;
  color: var(--event-text-secondary-color, #474754) !important;
}
body.event-branding-preset-la28 .booking-cart-modal .cart-item .item-booking-details > span {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  color: inherit !important;
  font-size: 14px !important;
}
body.event-branding-preset-la28 .booking-cart-modal .cart-item .item-booking-details > span:nth-child(3) {
  order: -1;
}
body.event-branding-preset-la28 .booking-cart-modal .cart-item .item-booking-details > span:nth-child(1)::after,
body.event-branding-preset-la28 .booking-cart-modal .cart-item .item-booking-details > span:nth-child(3)::after {
  content: "\2022";
  margin: 0 8px;
}
body.event-branding-preset-la28 .booking-cart-modal .cart-item .item-price {
  color: var(--event-text-primary-color, #000) !important;
}
body.event-branding-preset-la28 .booking-cart-modal .cart-item .item-remove {
  order: 2;
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin-left: auto;
  color: var(--event-text-primary-color, #000) !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5 !important;
  text-decoration: underline;
}
body.event-branding-preset-la28 .booking-cart-modal .cart-item .item-remove svg {
  display: none;
}
.item-remove__label {
  display: none;
}
body.event-branding-preset-la28 .booking-cart-modal .item-remove__label {
  display: inline;
}
body.event-branding-preset-la28 .booking-cart-modal .cart-item .item-change-dates {
  color: var(--event-text-primary-color, #000) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: underline !important;
}
body.event-branding-preset-la28 .booking-cart-modal .cart-modal-body .cart-total-display {
  color: var(--event-text-primary-color, #000);
}
body.event-branding-preset-la28 .booking-cart-modal .cart-modal-footer {
  border-top-color: var(--event-surface-tertiary-color, #EAEAEC) !important;
}
body.event-branding-preset-la28 .booking-cart-modal .cart-modal-clear {
  color: var(--event-critical-color, #BA0B0B) !important;
}
body.event-branding-preset-la28 .booking-cart-modal .cart-modal-continue {
  color: var(--event-text-primary-color, #000) !important;
  border-color: #ADADB3 !important;
}
body.event-branding-preset-la28 .booking-cart-modal .cart-modal-checkout {
  background: var(--event-button-primary-bg, #15AEE2) !important;
  color: var(--event-button-primary-text, #000) !important;
}
