/* ============================================================
   VIYLA × LISTEO — BOOKING UI OVERRIDE (FINAL)
   ============================================================ */

/* ------------------------------------------------------------
   1. DISABLE LISTEO DROPDOWN OVERLAY BEHAVIOR
   ------------------------------------------------------------ */

/* Stop dropdown wrappers from behaving like overlays */
.booking-widget .panel-dropdown {
  position: static !important;
}

/* Force dropdown content into normal layout flow */
.booking-widget .panel-dropdown-content {
  position: static !important;
  width: 100% !important;
  min-width: 100% !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  float: none !important;
  margin: 0 !important;
  padding: 14px 0 !important;
  overflow: visible !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Remove Listeo arrow / ghost strip artifacts */
.booking-widget .panel-dropdown-content::before,
.booking-widget .panel-dropdown-content::after {
  display: none !important;
  content: none !important;
}

/* ------------------------------------------------------------
   2. GUEST QUANTITY CONTROLS
   ------------------------------------------------------------ */

.booking-widget .qtyButtons {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 8px 0 18px;
  position: relative;
}

.booking-widget .qtyTitle {
  font-weight: 600;
  margin-right: 6px;
}

/* Input */
.booking-widget .qtyButtons input {
  width: 60px !important;
  height: 44px;
  text-align: center;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* +/- buttons */
.booking-widget .qtyButtons .qtyDec,
.booking-widget .qtyButtons .qtyInc {
  width: 44px;
  height: 44px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  border-radius: 6px;
  background: #f5f5f5;
  border: 1px solid #ccc;
  cursor: pointer;
  user-select: none;
}

.booking-widget .qtyButtons .qtyDec:hover,
.booking-widget .qtyButtons .qtyInc:hover {
  background: #e9e9e9;
}

/* ------------------------------------------------------------
   3. COUPON SECTION (FORCE BELOW GUESTS)
   ------------------------------------------------------------ */

.booking-widget .coupon-widget-wrapper {
  display: block !important;
  clear: both !important;
  margin-top: 16px !important;
}

/* ------------------------------------------------------------
   4. BUY VOUCHER BUTTON (ALWAYS LAST)
   ------------------------------------------------------------ */

.booking-widget .button,
.booking-widget button {
  display: block;
  margin-top: 16px !important;
  position: relative !important;
  z-index: 1;
}

/* ------------------------------------------------------------
   5. MOBILE POLISH
   ------------------------------------------------------------ */

@media (max-width: 768px) {
  .booking-widget .qtyButtons {
    gap: 6px;
  }

  .booking-widget .qtyButtons input {
    width: 56px !important;
    font-size: 15px;
  }

  .booking-widget .qtyButtons .qtyDec,
  .booking-widget .qtyButtons .qtyInc {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
}
