/* ===============================================
   HBE MOBILE BOOKING - FIXED FOOTER & BOTTOM SHEETS
   v2.0 - Mobile-First Design
================================================ */

/* ===============================================
   CSS VARIABLES
================================================ */
:root {
  --hbe-primary: #ff4f87;
  --hbe-primary-dark: #e91e63;
  --hbe-primary-light: #fff1f5;
  --hbe-primary-rgb: 255, 79, 135;
  --hbe-success: #10b981;
  --hbe-danger: #ef4444;
  --hbe-warning: #f59e0b;
  --hbe-bg: #f8fafc;
  --hbe-card: #ffffff;
  --hbe-border: #e2e8f0;
  --hbe-text: #0f172a;
  --hbe-text-muted: #64748b;
  --hbe-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  --hbe-radius: 16px;
  --hbe-radius-lg: 24px;
  --hbe-footer-height: 80px;
  --hbe-safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ===============================================
   HIDE DESKTOP BOOKING CARD ON MOBILE
================================================ */
@media (max-width: 768px) {
  .hbe-booking-card.hbe-book-modern {
    display: none !important;
  }
  
  .hbe-main-grid {
    grid-template-columns: 1fr !important;
  }
  
  /* Add padding for fixed footer */
  .hbe-hotel-page {
    padding-bottom: calc(var(--hbe-footer-height) + 20px + var(--hbe-safe-bottom));
  }
}

/* ===============================================
   MOBILE FIXED FOOTER BAR
================================================ */
.hbe-mobile-footer {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--hbe-card);
  box-shadow: var(--hbe-shadow);
  padding: 12px 16px;
  padding-bottom: calc(12px + var(--hbe-safe-bottom));
  z-index: 9990;
  border-top: 1px solid var(--hbe-border);
}

@media (max-width: 768px) {
  .hbe-mobile-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
}

/* Footer Left - Price Info */
.hbe-footer-price {
  flex: 1;
  min-width: 0;
}

.hbe-footer-price .price-label {
  font-size: 12px;
  color: var(--hbe-text-muted);
  margin-bottom: 2px;
}

.hbe-footer-price .price-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--hbe-text);
}

.hbe-footer-price .price-value small {
  font-size: 13px;
  font-weight: 400;
  color: var(--hbe-text-muted);
}

.hbe-footer-price .price-summary {
  font-size: 11px;
  color: var(--hbe-text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Footer CTA Button */
.hbe-footer-cta {
  background: linear-gradient(135deg, #ff4f87, #e91e63);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  min-width: 140px;
  box-shadow: 0 4px 15px rgba(255, 79, 135, 0.3);
}

.hbe-footer-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 79, 135, 0.4);
}

.hbe-footer-cta:disabled {
  background: #d1d5db;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.hbe-footer-cta.success {
  background: linear-gradient(135deg, #ff4f87, #e91e63);
}

/* Sold out footer state */
.hbe-mobile-footer.sold-out {
  justify-content: center;
}

.hbe-mobile-footer.sold-out .hbe-footer-price {
  display: none;
}

.hbe-mobile-footer.sold-out .hbe-footer-cta {
  background: #94a3b8;
  width: 100%;
}

/* ===============================================
   BOTTOM SHEET OVERLAY & CONTAINER
================================================ */
.hbe-bottom-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.hbe-bottom-sheet-overlay.active {
  opacity: 1;
  visibility: visible;
}

.hbe-bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--hbe-card);
  border-radius: var(--hbe-radius-lg) var(--hbe-radius-lg) 0 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  max-height: 92vh;
  max-height: 92dvh; /* Dynamic viewport height for mobile */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
}

.hbe-bottom-sheet.active {
  transform: translateY(0);
}

/* Sheet Handle */
.hbe-sheet-handle {
  width: 40px;
  height: 4px;
  background: #d1d5db;
  border-radius: 2px;
  margin: 12px auto 8px;
  flex-shrink: 0;
}

/* Sheet Header */
.hbe-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 20px 16px;
  border-bottom: 1px solid var(--hbe-border);
  flex-shrink: 0;
}

.hbe-sheet-header h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--hbe-text);
}

.hbe-sheet-close {
  width: 36px;
  height: 36px;
  border: none;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  color: var(--hbe-text-muted);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.hbe-sheet-close:hover {
  background: #e2e8f0;
  color: var(--hbe-text);
}

/* Sheet Content */
.hbe-sheet-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* Ensure content doesn't overflow */
.hbe-sheet-content > * {
  max-width: 100%;
}

/* Sheet Footer */
.hbe-sheet-footer {
  padding: 16px 20px;
  padding-bottom: calc(16px + var(--hbe-safe-bottom));
  border-top: 1px solid var(--hbe-border);
  background: var(--hbe-card);
  flex-shrink: 0;
}

/* Small screen adjustments */
@media (max-width: 380px) {
  .hbe-sheet-header {
    padding: 4px 16px 14px;
  }
  
  .hbe-sheet-header h3 {
    font-size: 17px;
  }
  
  .hbe-sheet-content {
    padding: 16px;
  }
  
  .hbe-sheet-footer {
    padding: 14px 16px;
    padding-bottom: calc(14px + var(--hbe-safe-bottom));
  }
}

.hbe-sheet-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}

.hbe-sheet-footer-row:last-child {
  margin-bottom: 0;
}

.hbe-sheet-total {
  font-size: 13px;
  color: var(--hbe-text-muted);
  flex-shrink: 0;
}

.hbe-sheet-total strong {
  font-size: 20px;
  color: var(--hbe-text);
  display: block;
  margin-top: 2px;
  font-weight: 700;
  line-height: 1.2;
}

.hbe-sheet-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hbe-sheet-btn-primary {
  background: linear-gradient(135deg, #ff4f87, #e91e63);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 79, 135, 0.3);
}

.hbe-sheet-btn-primary:hover {
  box-shadow: 0 6px 20px rgba(255, 79, 135, 0.4);
}

.hbe-sheet-btn-primary:active {
  transform: scale(0.98);
}

.hbe-sheet-btn-primary:disabled {
  background: #d1d5db;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.hbe-sheet-btn-secondary {
  background: #f1f5f9;
  color: var(--hbe-text);
  margin-top: 10px;
}

/* Small screen adjustments */
@media (max-width: 380px) {
  .hbe-sheet-total strong {
    font-size: 18px;
  }
  
  .hbe-sheet-btn {
    padding: 14px;
    font-size: 15px;
  }
}

/* ===============================================
   HOURLY SLOT SELECTION SHEET - 2 ROW CAROUSEL
================================================ */
.hbe-slots-wrapper {
  margin-bottom: 20px;
}

.hbe-slots-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hbe-slots-grid::-webkit-scrollbar {
  display: none;
}

.hbe-slot-card {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--hbe-border);
  border-radius: 12px;
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 0 0 calc(50% - 5px);
  min-width: calc(50% - 5px);
  max-width: calc(50% - 5px);
  box-sizing: border-box;
}

.hbe-slot-card:hover {
  border-color: var(--hbe-primary);
  background: var(--hbe-primary-light);
}

.hbe-slot-card.selected {
  border-color: var(--hbe-primary);
  background: var(--hbe-primary-light);
  box-shadow: 0 0 0 3px rgba(var(--hbe-primary-rgb), 0.15);
}

.hbe-slot-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hbe-slot-hours {
  font-size: 20px;
  font-weight: 700;
  color: var(--hbe-text);
  margin-bottom: 2px;
  line-height: 1.2;
}

.hbe-slot-hours small {
  font-size: 14px;
  font-weight: 500;
}

.hbe-slot-price {
  font-size: 15px;
  font-weight: 600;
  color: var(--hbe-primary);
}

.hbe-slot-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--hbe-primary);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.hbe-slot-card.selected .hbe-slot-check {
  display: flex;
}

/* Date & Time Section in Hourly */
.hbe-datetime-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 16px;
}

.hbe-input-group {
  display: flex;
  flex-direction: column;
}

.hbe-input-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--hbe-text-muted);
  margin-bottom: 8px;
}

.hbe-input-group input,
.hbe-input-group select {
  padding: 14px 12px;
  border: 1.5px solid var(--hbe-border);
  border-radius: 12px;
  font-size: 15px;
  background: #fff;
  color: var(--hbe-text);
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.hbe-input-group input[type="date"] {
  min-height: 50px;
  line-height: 1.2;
}

.hbe-input-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.hbe-input-group input:focus,
.hbe-input-group select:focus {
  outline: none;
  border-color: var(--hbe-primary);
  box-shadow: 0 0 0 3px rgba(var(--hbe-primary-rgb), 0.12);
}

/* Guest Counter in Hourly */
.hbe-guest-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid var(--hbe-border);
  border-radius: 12px;
  padding: 16px;
}

.hbe-guest-info h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--hbe-text);
}

.hbe-guest-info p {
  font-size: 13px;
  color: var(--hbe-text-muted);
  margin: 0;
}

.hbe-counter-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hbe-counter-btn {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--hbe-border);
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--hbe-text);
}

.hbe-counter-btn:hover:not(:disabled) {
  border-color: var(--hbe-primary);
  color: var(--hbe-primary);
  background: var(--hbe-primary-light);
}

.hbe-counter-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.hbe-counter-value {
  font-size: 18px;
  font-weight: 600;
  min-width: 28px;
  text-align: center;
}

/* ===============================================
   NIGHTLY BOOKING MULTI-STEP FLOW
================================================ */
.hbe-step-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 0 20px;
}

.hbe-step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
  transition: all 0.3s ease;
}

.hbe-step-dot.active {
  background: var(--hbe-primary);
  width: 28px;
  border-radius: 5px;
}

.hbe-step-dot.completed {
  background: var(--hbe-primary);
}

/* Step Panels */
.hbe-step-panel {
  display: none;
}

.hbe-step-panel.active {
  display: block;
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Step 1: Date Selection */
.hbe-date-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hbe-date-card {
  background: #fff;
  border: 1.5px solid var(--hbe-border);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hbe-date-card:focus-within {
  border-color: var(--hbe-primary);
  box-shadow: 0 0 0 3px rgba(var(--hbe-primary-rgb), 0.1);
}

.hbe-date-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, #fff1f5, #ffe4ec);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hbe-date-card-icon img,
.hbe-date-card-icon svg {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Calendar emoji fallback */
.hbe-date-card-icon::before {
  content: none;
}

.hbe-date-card-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.hbe-date-card-content label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--hbe-text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.hbe-date-card-content input {
  border: none;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: var(--hbe-text);
  padding: 4px 0;
  width: 100%;
  min-height: 24px;
  line-height: 1.3;
  -webkit-appearance: none;
  appearance: none;
}

.hbe-date-card-content input:focus {
  outline: none;
}

/* Fix date input on iOS */
.hbe-date-card-content input[type="date"] {
  position: relative;
  min-height: 28px;
}

.hbe-date-card-content input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
}

/* Small screens adjustment */
@media (max-width: 380px) {
  .hbe-date-card {
    padding: 12px 14px;
    gap: 10px;
  }
  
  .hbe-date-card-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }
  
  .hbe-date-card-icon img,
  .hbe-date-card-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .hbe-date-card-content input {
    font-size: 14px;
  }
}

.hbe-date-card-content input:focus {
  outline: none;
}

.hbe-nights-badge {
  text-align: center;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--hbe-primary-light), #ffe4ec);
  border-radius: 14px;
  margin-top: 16px;
}

.hbe-nights-badge strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--hbe-primary);
  line-height: 1.2;
}

.hbe-nights-badge .nights-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--hbe-primary-dark);
}

.hbe-nights-badge span {
  display: block;
  font-size: 13px;
  color: var(--hbe-text-muted);
  margin-top: 4px;
}

/* Small screens */
@media (max-width: 380px) {
  .hbe-nights-badge {
    padding: 12px 14px;
  }
  
  .hbe-nights-badge strong {
    font-size: 18px;
  }
}

/* Step 2: Guest Selection */
.hbe-guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--hbe-border);
}

.hbe-guest-row:last-child {
  border-bottom: none;
}

.hbe-guest-row-info h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 2px;
}

.hbe-guest-row-info p {
  font-size: 13px;
  color: var(--hbe-text-muted);
  margin: 0;
}

/* Step 3: Room Selection */
.hbe-room-select-card {
  background: #f8fafc;
  border: 1px solid var(--hbe-border);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.hbe-room-select-card.selected {
  border-color: var(--hbe-primary);
  background: #fafaff;
}

.hbe-room-select-header {
  display: flex;
  gap: 12px;
}

.hbe-room-select-img {
  width: 80px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  background: #e2e8f0;
}

.hbe-room-select-info {
  flex: 1;
  min-width: 0;
}

.hbe-room-select-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hbe-room-select-specs {
  font-size: 12px;
  color: var(--hbe-text-muted);
  margin: 0;
}

.hbe-room-select-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--hbe-border);
}

.hbe-room-select-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--hbe-text);
}

.hbe-room-select-price small {
  font-size: 12px;
  font-weight: 400;
  color: var(--hbe-text-muted);
}

.hbe-room-qty-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hbe-room-qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--hbe-border);
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  color: var(--hbe-text);
  transition: all 0.15s ease;
}

.hbe-room-qty-btn:hover:not(:disabled) {
  border-color: var(--hbe-primary);
  background: #eef2ff;
}

.hbe-room-qty-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.hbe-room-qty-value {
  font-size: 16px;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}

/* Room Sold Out Badge */
.hbe-room-select-card.sold-out {
  opacity: 0.6;
}

.hbe-room-sold-badge {
  background: var(--hbe-danger);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
}

/* Selection Summary */
.hbe-selection-summary {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border-radius: 12px;
  padding: 14px;
  margin-top: 16px;
}

.hbe-selection-summary h5 {
  font-size: 13px;
  font-weight: 600;
  color: #166534;
  margin: 0 0 8px;
}

.hbe-selection-summary ul {
  margin: 0;
  padding-left: 16px;
  font-size: 13px;
  color: #15803d;
}

.hbe-selection-summary li {
  margin-bottom: 4px;
}

/* Capacity Warning */
.hbe-capacity-warning {
  background: #fef3c7;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
}

.hbe-capacity-warning-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.hbe-capacity-warning p {
  margin: 0;
  font-size: 13px;
  color: #92400e;
}

/* ===============================================
   NAVIGATION BUTTONS IN SHEETS
================================================ */
.hbe-nav-buttons {
  display: flex;
  gap: 10px;
}

.hbe-nav-buttons .hbe-sheet-btn {
  flex: 1;
}

.hbe-nav-back {
  background: #f1f5f9;
  color: var(--hbe-text);
}

.hbe-nav-next {
  background: linear-gradient(135deg, #ff4f87, #e91e63);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 79, 135, 0.3);
}

/* ===============================================
   CONFIRMATION PANEL
================================================ */
.hbe-confirm-summary {
  background: #f8fafc;
  border-radius: 14px;
  padding: 16px;
}

.hbe-confirm-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--hbe-border);
  font-size: 14px;
}

.hbe-confirm-row:last-child {
  border-bottom: none;
}

.hbe-confirm-row .label {
  color: var(--hbe-text-muted);
}

.hbe-confirm-row .value {
  font-weight: 600;
  color: var(--hbe-text);
}

.hbe-confirm-total {
  background: linear-gradient(135deg, #ff4f87, #e91e63);
  color: #fff;
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
  text-align: center;
}

.hbe-confirm-total .total-label {
  font-size: 13px;
  opacity: 0.9;
}

.hbe-confirm-total .total-value {
  font-size: 28px;
  font-weight: 700;
  margin-top: 4px;
}

.hbe-confirm-total .total-note {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 6px;
}

/* Pay Now / Pay Later Split */
.hbe-payment-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.hbe-payment-box {
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.hbe-payment-box .pay-label {
  font-size: 11px;
  color: var(--hbe-text-muted);
  text-transform: uppercase;
}

.hbe-payment-box .pay-amount {
  font-size: 18px;
  font-weight: 700;
  color: var(--hbe-text);
  margin-top: 4px;
}

.hbe-payment-box.pay-now .pay-amount {
  color: var(--hbe-primary);
}

.hbe-payment-box.pay-hotel .pay-amount {
  color: var(--hbe-success);
}

/* ===============================================
   DESKTOP OVERRIDES - SHOW ORIGINAL CARD
================================================ */
@media (min-width: 769px) {
  .hbe-mobile-footer,
  .hbe-bottom-sheet-overlay,
  .hbe-bottom-sheet {
    display: none !important;
  }
}

/* ===============================================
   ANIMATIONS
================================================ */
@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Pulse animation for CTA */
.hbe-footer-cta.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
  }
}

/* ===============================================
   TOUCH IMPROVEMENTS
================================================ */
@media (max-width: 768px) {
  /* Larger touch targets */
  .hbe-slot-card,
  .hbe-room-select-card,
  .hbe-date-card {
    min-height: 70px;
  }
  
  /* Better tap feedback */
  .hbe-slot-card:active,
  .hbe-sheet-btn:active,
  .hbe-footer-cta:active {
    transform: scale(0.98);
  }
  
  /* Prevent text selection on controls */
  .hbe-counter-btn,
  .hbe-room-qty-btn,
  .hbe-slot-card {
    -webkit-user-select: none;
    user-select: none;
  }
}

/* ===============================================
   DARK MODE SUPPORT (Optional)
================================================ */
@media (prefers-color-scheme: dark) {
  /* Can be enabled later */
}