@media (max-width: 767px) {
  .mobile-scroll-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
  }
}

@media (max-width: 767px) {
  .mobile-scroll-row > [class*="col"] {
    flex: 0 0 85%;
    max-width: 85%;
    scroll-snap-align: start;
  }
}

@media (max-width: 767px) {
  .mobile-scroll-row::-webkit-scrollbar {
    display: none;
  }
}

/* Places Page styles */

.facility-card {
  transition: all 0.3s ease;
  border: 1px solid #dee2e6;
}

.facility-card:hover {
  border-color: #ff5c26;
  background-color: #fffaf8 !important;
}

.facility-card.active {
  border-color: #ff5c26 !important;
  outline: 1px solid #ff5c26;
  background-color: #fffaf8 !important;
}

.facility-card.active .badge {
  background-color: #ff5c26 !important;
}

.facility-card.active .view-detail {
  color: #ff5c26 !important;
}

.gallery-tabs .nav-link {
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: 0.2s;
}

.gallery-tabs .nav-link.active {
  background-color: #ff5c26 !important;
  color: white !important;
  border-color: #ff5c26 !important;
}

.gallery-thumb {
  opacity: 0.6;
  transition: 0.3s;
  border: 2px solid transparent;
}

.gallery-thumb:hover, .gallery-thumb.active {
  opacity: 1;
  border-color: #ff5c26;
}

.price-table-cell {
  font-size: 0.7rem;
  padding: 3px 0;
}

.price-tag-gold {
  color: #f39c12;
}

.price-tag-normal {
  color: #555;
}

.facility-scroll::-webkit-scrollbar {
  width: 6px;
}

.facility-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.facility-scroll::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.facility-scroll::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

/* Scrollable Tabs for index.html */

.tabs-scroll-container {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tabs-scroll-container::-webkit-scrollbar {
  display: none;
}

/* Scrollable Tabs */

.tabs-scroll-container .nav-tabs {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

#promoScrollContainer {
  scroll-snap-type: x mandatory;
}

.promo-card {
  width: 100%;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .promo-card {
    width: 320px;
  }
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.tabs-scroll-container .nav-item {
  flex: 0 0 auto;
  width: 226px;
  scroll-snap-align: start;
}

/* Ẩn viền mặc định của tab */

.tabs-scroll-container .nav-link {
  border: none !important;
  background: transparent !important;
  padding: 10px !important;
}

/* Thêm viền cho ảnh khi Active */

.tabs-scroll-container .nav-link img {
  border: 4px solid transparent;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tabs-scroll-container .nav-link.active img {
  border-color: #e85512 !important;
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(232, 85, 18, 0.3);
}

/* Booking Page Styles */

.booking-container {
  background-color: #f8f9fa;
  border-radius: 20px;
  padding: 30px;
}

.step-number {
  background: #ff5c26;
  color: white;
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.8rem;
  margin-right: 10px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.choice-card {
  border: 1px solid #eee;
  background: white;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s;
  text-align: left;
}

.choice-card:hover, .choice-card.active {
  border-color: #ff5c26;
  background-color: #fffaf8;
}

.choice-card.active {
  outline: 1px solid #ff5c26;
}

/* Ngày: cuộn ngang gọn như App, không wrap nhiều dòng */
.booking-date-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
}

.booking-date-scroll::-webkit-scrollbar {
  height: 4px;
}

.booking-date-scroll::-webkit-scrollbar-thumb {
  background: #f0c4b3;
  border-radius: 4px;
}

.date-choice {
  border: 1px solid #eee;
  padding: 10px 6px;
  border-radius: 14px;
  text-align: center;
  background: white;
  min-width: 66px;
  width: 66px;
  flex: 0 0 auto;
  cursor: pointer;
  transition: 0.15s;
  scroll-snap-align: start;
}

.date-choice.active {
  border-color: #ff5c26;
  background: #ff5c26;
}

.date-choice.active * {
  color: #fff !important;
}

/* Giờ: lưới 4 dòng cuộn ngang như App */
.booking-time-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(4, auto);
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}

.booking-time-scroll::-webkit-scrollbar {
  height: 4px;
}

.booking-time-scroll::-webkit-scrollbar-thumb {
  background: #f0c4b3;
  border-radius: 4px;
}

.time-slot {
  border: 1px solid #eee;
  padding: 8px 6px;
  border-radius: 12px;
  font-size: 0.85rem;
  text-align: center;
  background: white;
  cursor: pointer;
  min-width: 64px;
  flex: 0 0 auto;
  transition: 0.15s;
}

.time-slot.active {
  border-color: #ff5c26;
  color: #ff5c26;
  background: #fffaf8;
  font-weight: 700;
}

.summary-card {
  border: 1px solid #ffe8e0;
  border-radius: 20px;
  padding: 25px;
  background: white;
  position: sticky;
  top: 100px;
}

.btn-booking-submit {
  background: #ff5c26;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 15px;
  font-weight: bold;
  width: 100%;
}

/* ===== Popup xác nhận / thành công đặt phòng ===== */
.booking-confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1080;
  padding: 16px;
  animation: bcFade 0.18s ease-out;
}

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

.booking-confirm-modal {
  background: #fff;
  border-radius: 18px;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  animation: bcPop 0.2s ease-out;
}

@keyframes bcPop {
  from { transform: translateY(16px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.booking-confirm-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  background: #ff5c26;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 18px 18px 0 0;
}

.booking-confirm-body {
  padding: 16px 20px;
}

.bc-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font-size: 0.9rem;
}

.bc-label { color: #888; flex: 0 0 auto; }
.bc-value { color: #222; font-weight: 600; text-align: right; }

.bc-divider {
  height: 1px;
  background: #eee;
  margin: 8px 0;
}

.booking-confirm-actions {
  display: flex;
  gap: 10px;
  padding: 4px 20px 20px;
}

.bc-btn {
  flex: 1;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.15s;
}

.bc-btn-edit {
  background: #f2f2f2;
  color: #444;
}

.bc-btn-edit:hover { background: #e6e6e6; }

.bc-btn-confirm {
  background: #ff5c26;
  color: #fff;
}

.bc-btn-confirm:hover { background: #e84d1a; }
.bc-btn.w-100 { flex: none; width: 100%; }

/* Popup thành công */
.booking-success-modal {
  text-align: center;
  padding: 28px 22px 22px;
}

.bs-check { color: #2ecc71; margin-bottom: 8px; }
.bs-title { font-weight: 700; color: #222; margin-bottom: 6px; }
.bs-desc { font-size: 0.85rem; color: #666; margin-bottom: 18px; }

.bs-app-box {
  background: #fff6f2;
  border: 1px dashed #ffb293;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;
}

.bs-app-text {
  font-size: 0.82rem;
  color: #444;
  margin-bottom: 12px;
  line-height: 1.5;
}

.bs-store-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.bs-store-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 12px;
  transition: 0.15s;
}

.bs-store-btn:hover { background: #000; color: #fff; transform: translateY(-1px); }

.bs-store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.bs-store-text small { font-size: 0.6rem; opacity: 0.85; }
.bs-store-text b { font-size: 0.85rem; }

/* Mũi tên điều hướng cố định */

.scroll-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: white;
  border: 1px solid #eee;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 100;
  color: #ff5c26;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.scroll-arrow:hover {
  background: #ff5c26;
  color: white;
  border-color: #ff5c26;
}

.scroll-arrow.prev {
  left: -15px;
}

.scroll-arrow.next {
  right: -15px;
}

/* Menu Poster Section */

.menu-slider {
  display: flex;
  flex-wrap: wrap;
}

.menu-poster {
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

.menu-poster:hover {
  transform: translateY(-10px);
}

.menu-poster img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 991px) {
  .menu-slider {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    padding-bottom: 15px;
    scrollbar-width: none;
  }
}

@media (max-width: 991px) {
  .menu-slider::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 991px) {
  .menu-slider > div {
    flex: 0 0 45% !important;
    scroll-snap-align: center;
    padding: 0 8px;
  }
}

/* Menu Arrows */

.menu-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 5;
  color: #333;
  display: none;
}

@media (min-width: 992px) {
  .menu-nav {
    display: none;
  }
}

.menu-nav.prev {
  left: -20px;
}

.menu-nav.next {
  right: -20px;
}

/* Menu Page Styles */

.menu-category {
  cursor: pointer;
  padding: 12px 15px;
  border-radius: 12px;
  margin-bottom: 10px;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
}

.menu-category:hover {
  background-color: #f8f9fa;
}

.menu-category.active {
  background-color: #ff5c26;
  color: white;
}

.menu-category.active i {
  color: white !important;
}

/* Pagination Dots */

.menu-dot, .gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  transition: 0.3s;
  cursor: pointer;
}

.menu-dot.active, .gallery-dot.active {
  background: #ff5c26;
  width: 20px;
  border-radius: 5px;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.cs-features {
  background: #d8dce0;
  padding: 12px;
  border-radius: 15px;
  padding-top: 8px;
  padding-bottom: 8px;
  margin-right: 10px;
  margin-top: 5px;
}

.th-min-width-82 {
  min-width: 82px;
}

@media (max-width: 576px) {
  .th-mobile-hidden {
    display: none;
  }
}

@media (min-width: 576px) {
  .th-pc-hidden {
    display: none;
  }
}

