/* assets/css/components.css - Reusable UI Components */

/* Hero Slider & Animation Presets */
.hero-slider-section {
  position: relative;
  width: 100%;
  padding: 1.25rem 0 0;
  margin-bottom: 2rem;
  background: var(--bg-body);
}
.hero-slider-container {
  padding-left: clamp(0.5rem, 2vw, 1rem);
  padding-right: clamp(0.5rem, 2vw, 1rem);
}
.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  background: #121214;
  user-select: none;
}
@media (max-width: 640px) {
  .hero-slider-section {
    padding: 0.85rem 0 0;
    margin-bottom: 1.25rem;
  }
  .hero-slider {
    aspect-ratio: 16 / 9;
    min-height: 180px;
  }
}
.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.slide-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
  pointer-events: none;
}
.slide-item.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}
.slide-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(18, 18, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
}
.slider-arrow:hover {
  background: var(--primary);
  color: #18181B;
  border-color: var(--primary);
}
.prev-arrow { left: 12px; }
.next-arrow { right: 12px; }
@media (max-width: 640px) {
  .slider-arrow {
    width: 32px;
    height: 32px;
  }
  .prev-arrow { left: 6px; }
  .next-arrow { right: 6px; }
}
.slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}
.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.slider-dot.active {
  width: 22px;
  border-radius: 10px;
  background: var(--primary);
}

/* Animation Presets */
[data-animation="fade"] .slide-item {
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
[data-animation="slide"] .slide-item {
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, visibility 0.6s;
}
[data-animation="slide"] .slide-item.active {
  transform: translateX(0);
}
[data-animation="slide"] .slide-item.prev-slide {
  transform: translateX(-100%);
}
[data-animation="zoom"] .slide-item {
  transition: opacity 0.8s ease, visibility 0.8s;
}
[data-animation="zoom"] .slide-item .slide-img {
  transform: scale(1.08);
  transition: transform 5.5s ease;
}
[data-animation="zoom"] .slide-item.active .slide-img {
  transform: scale(1);
}
[data-animation="flip"] .hero-slider {
  perspective: 1200px;
}
[data-animation="flip"] .slide-item {
  transform: rotateY(90deg);
  transition: transform 0.7s ease, opacity 0.7s ease, visibility 0.7s;
}
[data-animation="flip"] .slide-item.active {
  transform: rotateY(0deg);
}

/* Legacy & Semantic SEO Content Box */
.seo-intro-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.hero-section {
  position: relative;
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-body) 100%);
  padding: 1.5rem 0 2rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
}
@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
  }
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(248, 164, 29, 0.25);
}
.hero-title {
  font-size: clamp(1.4rem, 5.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 0.65rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.35rem;
  max-width: 540px;
  line-height: 1.55;
}
@media (max-width: 480px) {
  .hero-subtitle {
    font-size: 0.88rem;
    margin-bottom: 1rem;
  }
}
.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}
.hero-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
@media (max-width: 640px) {
  .hero-media img {
    height: 185px;
  }
}
.hero-badge-overlay {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  background: rgba(16, 27, 29, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
@media (max-width: 480px) {
  .hero-badge-overlay {
    bottom: 0.5rem;
    left: 0.5rem;
    padding: 0.3rem 0.6rem;
    font-size: 0.72rem;
  }
}

/* Quick Search Widget Box */
.search-widget {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  margin-top: 0;
  position: relative;
  z-index: 20;
}
@media (max-width: 640px) {
  .search-widget {
    padding: 0.85rem;
    margin-top: 0;
    border-radius: var(--radius-md);
  }
}
.search-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .search-form {
    grid-template-columns: 1.5fr 1.5fr 1fr auto;
    align-items: flex-end;
    gap: 0.85rem;
  }
}

/* Standardized Home Page Spacing & Rhythm */
.home-section {
  padding: 3rem 0;
}
.home-section-alt {
  padding: 3rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
@media (max-width: 768px) {
  .home-section,
  .home-section-alt {
    padding: 2.25rem 0;
  }
}
.home-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2rem;
}
@media (max-width: 768px) {
  .home-section-header {
    margin: 0 auto 1.5rem;
  }
}
.home-section-header .badge {
  margin-bottom: 0.5rem;
}
.home-section-header h2 {
  font-size: clamp(1.3rem, 4vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  color: var(--text-main);
}
.home-section-header p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

/* Feature Highlights Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin: 0;
}
@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 0;
  }
}
@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin: 0;
  }
}
.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 1.15rem;
  transition: var(--transition);
}
@media (max-width: 480px) {
  .feature-card {
    padding: 0.85rem;
  }
}
.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(248, 164, 29, 0.35);
  box-shadow: var(--shadow-sm);
}
.feature-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
@media (max-width: 480px) {
  .feature-icon-box {
    width: 34px;
    height: 34px;
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
}
.feature-title {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.feature-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Rooms Grid & Room Card (2-Column on Mobile) */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}
@media (max-width: 380px) {
  .rooms-grid {
    gap: 0.45rem;
  }
}
@media (min-width: 640px) {
  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
@media (min-width: 1024px) {
  .rooms-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.room-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.room-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(248, 164, 29, 0.35);
}
.room-thumb-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  max-height: 145px;
  background: var(--bg-subtle);
}
@media (min-width: 640px) {
  .room-thumb-wrapper {
    aspect-ratio: 16 / 10;
    max-height: 200px;
  }
}
.room-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.room-card:hover .room-thumb-wrapper img {
  transform: scale(1.04);
}
.room-badges {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  z-index: 2;
}
.room-badges .badge {
  border-radius: 5px;
}
.room-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  line-height: 1.2;
}
.room-price-amount {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.room-price-period {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}
.room-body {
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
@media (max-width: 639px) {
  .room-badges {
    top: 0.35rem;
    left: 0.35rem;
    gap: 0.2rem;
  }
  .room-badges .badge {
    font-size: 0.6rem;
    padding: 0.12rem 0.35rem;
    line-height: 1.1;
    border-radius: 5px;
  }
  .room-card-price {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0.25rem;
  }
  .room-price-amount {
    font-size: 0.95rem;
    font-weight: 700;
  }
  .room-price-period {
    font-size: 0.68rem;
  }
  .room-body {
    padding: 0.55rem;
  }
  .room-title {
    font-size: 0.85rem;
    line-height: 1.25;
    margin-bottom: 0.25rem;
  }
  .room-meta {
    gap: 0.35rem;
    font-size: 0.68rem;
    margin-bottom: 0.35rem;
    flex-wrap: wrap;
  }
  .room-amenities-pills {
    gap: 0.2rem;
    margin-bottom: 0.35rem;
  }
  .amenity-pill {
    font-size: 0.62rem;
    padding: 0.1rem 0.32rem;
  }
  .room-desc-clamp {
    display: none;
  }
  .room-footer {
    padding-top: 0.45rem;
    gap: 0.35rem;
    flex-direction: column;
    align-items: stretch;
  }
  .room-footer .btn,
  .room-footer .room-action-btn {
    width: 100%;
    padding: 0.32rem 0.45rem;
    font-size: 0.74rem;
    justify-content: center;
    border-radius: 5px;
  }
}
.room-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}
.room-title a:hover {
  color: var(--primary);
}
.room-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}
.room-meta-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.room-amenities-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  margin-bottom: 0.75rem;
}
.amenity-pill {
  font-size: 0.7rem;
  background: var(--bg-subtle);
  color: var(--text-muted);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.amenity-pill i, .amenity-pill .svg-icon {
  color: var(--primary);
}
.room-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

/* Add-ons Selection Card */
.addon-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  transition: var(--transition);
}
@media (max-width: 480px) {
  .addon-card {
    padding: 0.65rem;
    gap: 0.5rem;
  }
}
.addon-card.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}
.addon-info {
  flex: 1;
}
.addon-title {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}
.addon-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.addon-price {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.92rem;
}
.addon-qty-control {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* House Rules Section */
.rules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 768px) {
  .rules-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
@media (min-width: 1024px) {
  .rules-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}
.rule-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
@media (max-width: 480px) {
  .rule-card {
    padding: 0.8rem;
    gap: 0.65rem;
  }
}
.rule-icon {
  font-size: 1.15rem;
  color: var(--primary);
  background: var(--primary-light);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-header {
  padding: 0.85rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  user-select: none;
}
.faq-header:hover {
  color: var(--primary);
}
.faq-body {
  padding: 0 1rem 0.85rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  display: none;
  line-height: 1.55;
}
.faq-item.active .faq-body {
  display: block;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Reviews List */
.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.95rem;
  margin-bottom: 0.75rem;
}
@media (max-width: 480px) {
  .review-card {
    padding: 0.8rem;
    margin-bottom: 0.6rem;
  }
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}
.review-stars {
  color: var(--accent);
  font-size: 0.85rem;
}

/* Sticky Bottom Booking Bar on Mobile */
.mobile-sticky-book-bar {
  position: fixed;
  bottom: 52px; /* Sits right on top of slim bottom bar */
  left: 0;
  right: 0;
  z-index: 1040;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 0.5rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.08);
}
@media (min-width: 992px) {
  .mobile-sticky-book-bar {
    display: none;
  }
}

/* POS & Admin Layout */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
@media (max-width: 991px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
}
.admin-sidebar {
  background: #141416;
  color: #FFFFFF;
  padding: 1.25rem 0.85rem;
  display: flex;
  flex-direction: column;
}
.admin-menu {
  list-style: none;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.admin-menu-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  color: #A1A1AA;
  font-weight: 500;
  font-size: 0.88rem;
}
.admin-menu-link:hover, .admin-menu-link.active {
  background: rgba(248, 164, 29, 0.15);
  color: var(--primary);
  font-weight: 600;
}
.admin-content {
  background: var(--bg-body);
  padding: 1.25rem;
  overflow-y: auto;
}
@media (min-width: 768px) {
  .admin-content {
    padding: 1.75rem;
  }
}

/* POS Terminal Layout */
.pos-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .pos-container {
    grid-template-columns: 1.4fr 1fr;
  }
}

/* Room Status Grid (Admin Dashboard) */
.room-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}
.room-status-card {
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  text-align: center;
  position: relative;
}
.room-status-card.status-vacant,
.room-status-card.status-occupied,
.room-status-card.status-reserved {
  border-left: 1px solid var(--border-color);
}

/* Footer Social Links (Single-Color SVG Icons) */
.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-social-link:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
}
.footer-social-link .svg-icon {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

/* Tables - Compact and clean */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}
.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.table th, .table td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.88rem;
}
.table th {
  background: var(--bg-subtle);
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.table tr:hover td {
  background: var(--bg-subtle);
}

/* Thermal POS Receipt Print Styles */
@media print {
  body {
    background: #FFF !important;
    color: #000 !important;
    padding: 0 !important;
  }
  .no-print {
    display: none !important;
  }
  .receipt-box {
    width: 80mm !important;
    margin: 0 auto !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
  }
}

/* ========================================================================== */
/* Clean Room Card Subtitle & Action Styles                                    */
/* ========================================================================== */
.room-meta-sub {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  font-weight: 500;
}
.room-meta-sub .meta-dot {
  color: var(--border-color);
  font-size: 0.7rem;
}
.room-avail-notice {
  margin-bottom: 0.5rem;
}
.room-action-btn {
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ========================================================================== */
/* Room Detail Page Redesign & Interactive Photo Gallery / Lightbox           */
/* ========================================================================== */
.room-detail-container {
  padding: 1.5rem 0.85rem 4rem;
}

/* Breadcrumbs */
.room-breadcrumbs {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.room-breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}
.room-breadcrumbs a:hover {
  color: var(--primary);
}
.room-breadcrumbs .crumb-sep {
  opacity: 0.5;
  font-size: 0.7rem;
}
.room-breadcrumbs .crumb-current {
  color: var(--text-main);
  font-weight: 600;
}

/* Header Area */
.room-header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.room-header-title-box h1 {
  font-size: clamp(1.4rem, 4.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 0.45rem;
}
.room-header-tags {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.room-rating-pill {
  color: var(--primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--primary-light);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
}
.room-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Gallery Section */
.room-gallery-wrap {
  margin-bottom: 2rem;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
}

/* 4:3 Ratio Left + Bento Grid Right Gallery */
.room-gallery-bento {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 2rem;
}
@media (max-width: 900px) {
  .room-gallery-bento {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Left: 4:3 Main Featured Photo */
.gallery-bento-main {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #0F172A;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.gallery-bento-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}
.gallery-bento-main:hover img {
  transform: scale(1.02);
}

.gallery-bento-counter {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #FFF;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  pointer-events: none;
  z-index: 2;
}

.gallery-bento-viewall-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #FFF;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s ease;
}
.gallery-bento-viewall-btn:hover {
  background: rgba(15, 23, 42, 0.98);
  color: var(--primary);
}

.gallery-bento-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 5px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 2;
}
.gallery-bento-nav-btn.prev {
  left: 10px;
}
.gallery-bento-nav-btn.next {
  right: 10px;
}
.gallery-bento-nav-btn:hover {
  background: rgba(15, 23, 42, 0.95);
  color: var(--primary);
}

/* Right: Bento Grid of Sub Gallery Images */
.gallery-bento-sub-wrap {
  display: grid;
  height: 100%;
  gap: 8px;
}
@media (max-width: 900px) {
  .gallery-bento-sub-wrap {
    height: auto;
  }
}

.bento-grid-1 {
  grid-template-columns: 1fr;
  height: 100%;
}
.bento-grid-2 {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
  height: 100%;
}
.bento-grid-3 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 100%;
}
.bento-grid-3 .bento-tile:first-child {
  grid-column: span 2;
}
.bento-grid-4,
.bento-grid-multi {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 100%;
}

.bento-tile {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #18181B;
  cursor: pointer;
  height: 100%;
  min-height: 120px;
}
@media (max-width: 900px) {
  .bento-tile {
    min-height: 90px;
    aspect-ratio: 4 / 3;
  }
}
.bento-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}
.bento-tile:hover img {
  transform: scale(1.05);
}
.bento-tile.active {
  outline: 2px solid var(--primary);
}
.bento-video-tile:hover div[style*="border-radius:50%"] {
  transform: scale(1.1);
}
.amenity-styled-row {
  transition: all 0.2s ease;
}
.amenity-styled-row:hover {
  border-color: #CBD5E1 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.bento-more-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(2px);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: background 0.2s ease;
}
.bento-tile:hover .bento-more-overlay {
  background: rgba(15, 23, 42, 0.85);
}
.bento-more-count {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}
.bento-more-text {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #F8A41D;
}
  cursor: pointer;
}
.mobile-gallery-counter {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(16, 27, 29, 0.85);
  backdrop-filter: blur(6px);
  color: #FFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  z-index: 5;
}
.mobile-gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(16, 27, 29, 0.75);
  backdrop-filter: blur(6px);
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
}
.mobile-gallery-nav-btn:hover {
  background: var(--primary);
  color: #000;
}
.mobile-gallery-prev {
  left: 0.6rem;
}
.mobile-gallery-next {
  right: 0.6rem;
}

/* Floating View All Button */
.gallery-view-all-btn {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  background: rgba(16, 27, 29, 0.88);
  backdrop-filter: blur(8px);
  color: #FFF;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  z-index: 6;
  transition: var(--transition);
}
.gallery-view-all-btn:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Thumbnail Strip Below Gallery */
.gallery-thumbnails-strip {
  display: flex;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  overflow-x: auto;
  scrollbar-width: thin;
}
.gallery-thumb-item {
  width: 70px;
  height: 48px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: var(--transition);
  opacity: 0.7;
}
.gallery-thumb-item.active,
.gallery-thumb-item:hover {
  border-color: var(--primary);
  opacity: 1;
  transform: scale(1.03);
}
.gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 14, 18, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lightbox-modal.active {
  display: flex;
  opacity: 1;
}
.lightbox-topbar {
  width: 100%;
  max-width: 1100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #FFF;
  font-size: 0.9rem;
}
.lightbox-close-btn {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #FFF;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: var(--transition);
}
.lightbox-close-btn:hover {
  background: var(--primary);
  color: #000;
}
.lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1000px;
  flex: 1;
  margin: 1rem 0;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 72vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease;
}
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.lightbox-arrow:hover {
  background: var(--primary);
  color: #000;
}
.lightbox-prev {
  left: 0.5rem;
}
.lightbox-next {
  right: 0.5rem;
}
.lightbox-thumb-strip {
  display: flex;
  gap: 0.5rem;
  max-width: 90vw;
  overflow-x: auto;
  padding: 0.5rem;
}
.lightbox-thumb-btn {
  width: 58px;
  height: 40px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  flex-shrink: 0;
  transition: var(--transition);
}
.lightbox-thumb-btn.active,
.lightbox-thumb-btn:hover {
  border-color: var(--primary);
  opacity: 1;
}
.lightbox-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Two-Column Layout */
.room-content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 992px) {
  .room-content-layout {
    grid-template-columns: 1.22fr 0.88fr;
    gap: 2.5rem;
  }
}

/* Quick Specs 4-Card Grid */
.room-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) {
  .room-specs-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.room-spec-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: var(--transition);
}
.room-spec-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.room-spec-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}
.room-spec-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.room-spec-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

/* Amenities Showcase Cards */
.room-amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.85rem;
  margin-bottom: 2rem;
}
.room-amenity-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 0.85rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.room-amenity-item:hover {
  border-color: rgba(248, 164, 29, 0.4);
}
.room-amenity-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.room-amenity-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.15rem;
}
.room-amenity-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* House Rules & Guidelines Card */
.room-rules-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
}
.room-rules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .room-rules-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.room-rule-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-main);
}
.room-rule-item .svg-icon {
  color: var(--primary);
  flex-shrink: 0;
}

/* Booking Widget Card */
.room-booking-widget {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: 88px;
  box-shadow: var(--shadow-lg);
}
.booking-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 1.15rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
}
.booking-widget-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.booking-widget-price small {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Review Cards */
.room-review-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.room-review-score {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

/* How to Reach Grid */
.reach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
}
@media (min-width: 992px) {
  .reach-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* ========================================================================== */
/* In-Stay Food Packages Grid (Responsive with 2-Column Mobile View)           */
/* ========================================================================== */
.food-packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.5rem;
}
.food-card {
  background: var(--bg-surface, #FFFFFF);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.food-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.food-card-thumb {
  position: relative;
  width: 100%;
  height: 200px;
  background: #F1F5F9;
  overflow: hidden;
}
.food-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.food-card:hover .food-card-thumb img {
  transform: scale(1.04);
}
.food-cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.food-time-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.food-card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.food-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.food-card-desc {
  font-size: 0.85rem;
  color: #64748B;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 0;
}
.food-card-items {
  margin-bottom: 1.25rem;
  background: #F8FAFC;
  padding: 0.75rem 0.85rem;
  border-radius: 5px;
  border: 1px solid #E2E8F0;
  flex: 1;
}
.food-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #E2E8F0;
}
.food-price-label {
  font-size: 0.72rem;
  color: #64748B;
  text-transform: uppercase;
  font-weight: 700;
}
.food-price-amount {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.food-price-unit {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748B;
}

/* 2-Column Mobile Grid View for food.php */
@media (max-width: 640px) {
  .food-packages-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
  }
  .food-card-thumb {
    height: auto !important;
    aspect-ratio: 16 / 10 !important;
  }
  .food-cat-badge {
    top: 6px !important;
    left: 6px !important;
    font-size: 0.6rem !important;
    padding: 2px 5px !important;
    border-radius: 4px !important;
  }
  .food-time-badge {
    bottom: 6px !important;
    right: 6px !important;
    font-size: 0.58rem !important;
    padding: 2px 5px !important;
    border-radius: 4px !important;
  }
  .food-card-body {
    padding: 0.65rem !important;
  }
  .food-card-title {
    font-size: 0.88rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.25rem !important;
  }
  .food-card-desc {
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.45rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .food-card-items {
    display: none !important;
  }
  .food-card-footer {
    padding-top: 0.45rem !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.35rem !important;
  }
  .food-card-price-box {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
  }
  .food-price-label {
    display: none !important;
  }
  .food-price-amount {
    font-size: 0.98rem !important;
    font-weight: 800 !important;
  }
  .food-price-unit {
    font-size: 0.65rem !important;
  }
  .tray-action-box {
    width: 100% !important;
  }
  .tray-action-box .btn {
    width: 100% !important;
    padding: 0.3rem 0.4rem !important;
    font-size: 0.72rem !important;
    justify-content: center !important;
    border-radius: 5px !important;
  }
  .tray-action-box > div {
    width: 100% !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
  }
  #sticky-tray-bar {
    bottom: 52px !important;
    z-index: 1060 !important;
    padding: 0.6rem 0.85rem !important;
  }
}

@media (max-width: 380px) {
  .food-packages-grid {
    gap: 0.45rem !important;
  }
  .food-card-body {
    padding: 0.5rem !important;
  }
  .food-card-title {
    font-size: 0.82rem !important;
  }
}

