/* ============================================================
   Maya's Nest — Mobile App-Style CSS
   Bottom navigation, drawer, touch-optimised components
   ============================================================ */

/* ── Safe area support for notched phones ── */
:root {
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top:    env(safe-area-inset-top, 0px);
  --bottom-nav-h: 64px;
  --drawer-radius: 24px;
}

/* ══════════════════════════════════════════════
   BOTTOM NAVIGATION BAR (mobile only)
   ══════════════════════════════════════════════ */
.bottom-nav {
  display: none; /* shown via media query below */
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1200;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(0,0,0,.07);
  padding-bottom: var(--safe-bottom);
  box-shadow: 0 -4px 24px rgba(0,0,0,.10);
}
.bottom-nav-inner {
  display: flex;
  align-items: stretch;
  height: var(--bottom-nav-h);
}
.bn-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: .4rem .25rem;
  color: #9ca3af;
  text-decoration: none;
  transition: color .2s, transform .15s;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.bn-item:active { transform: scale(.92); }
.bn-item.active { color: var(--color-primary); }
.bn-item .bn-icon {
  font-size: 1.25rem;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1);
}
.bn-item.active .bn-icon { transform: translateY(-2px) scale(1.1); }
.bn-item .bn-label {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1;
}
/* Active pill indicator */
.bn-item.active::before {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 3px;
  background: var(--color-primary);
  border-radius: 0 0 3px 3px;
}
/* Book button (centre) — special gold style */
.bn-book {
  color: var(--color-white) !important;
  position: relative; top: -14px;
}
.bn-book .bn-icon-wrap {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--color-gold), #a87c2a);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 6px 20px rgba(201,168,76,.5);
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s;
}
.bn-book:active .bn-icon-wrap { transform: scale(.9); }
.bn-book .bn-label { color: #a87c2a; margin-top: 4px; }
/* Badge on My Bookings */
.bn-badge {
  position: absolute;
  top: 6px; right: calc(50% - 20px);
  min-width: 16px; height: 16px;
  background: #ef4444; color: #fff;
  font-size: .6rem; font-weight: 800;
  border-radius: 8px; padding: 0 4px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}

/* ══════════════════════════════════════════════
   MOBILE SLIDE-UP MENU DRAWER
   ══════════════════════════════════════════════ */
.mobile-drawer-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1300;
  backdrop-filter: blur(2px);
  animation: fadeOverlay .25s ease;
}
.mobile-drawer-overlay.open { display: block; }
@keyframes fadeOverlay { from { opacity:0; } to { opacity:1; } }

.mobile-drawer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1400;
  background: #fff;
  border-radius: var(--drawer-radius) var(--drawer-radius) 0 0;
  padding: 0 0 calc(var(--safe-bottom) + 1rem);
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-drawer.open { transform: translateY(0); }

.drawer-handle {
  width: 40px; height: 4px;
  background: #e0e0e0;
  border-radius: 2px;
  margin: .9rem auto .5rem;
}
.drawer-header {
  padding: .5rem 1.5rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid #f0f0ee;
}
.drawer-title {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 700;
}
.drawer-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #f4f4f4;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #555;
  border: none; cursor: pointer;
}

.drawer-nav-list { padding: .5rem 1rem; }
.drawer-nav-item {
  display: flex; align-items: center; gap: 1rem;
  padding: .9rem 1rem;
  border-radius: 12px;
  color: #1c2b27;
  font-weight: 500; font-size: .95rem;
  text-decoration: none;
  transition: background .15s;
  -webkit-tap-highlight-color: transparent;
}
.drawer-nav-item:active { background: #f0fdf8; }
.drawer-nav-item .d-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.drawer-nav-item .d-label { flex: 1; }
.drawer-nav-item .d-arrow { color: #ccc; font-size: .8rem; }

.drawer-divider { height: 1px; background: #f4f4f2; margin: .5rem 1rem; }

.drawer-user-bar {
  margin: .5rem 1rem 0;
  padding: 1rem;
  background: linear-gradient(135deg, #f0fdf8, #faf8f0);
  border-radius: 14px;
  border: 1px solid #d1fae5;
  display: flex; align-items: center; gap: .85rem;
  text-decoration: none;
}
.drawer-user-bar .d-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), var(--color-primary));
  color: #fff; font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.drawer-user-bar .d-name  { font-weight: 700; font-size: .9rem; color: #1c2b27; }
.drawer-user-bar .d-phone { font-size: .76rem; color: #6b7280; margin-top: .1rem; }
.drawer-cta {
  margin: 1rem 1rem 0;
  display: block; text-align: center;
  background: linear-gradient(135deg, var(--color-gold), #a87c2a);
  color: #fff; font-weight: 700; font-size: .95rem;
  padding: .85rem 1rem; border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(201,168,76,.35);
  -webkit-tap-highlight-color: transparent;
}

/* ══════════════════════════════════════════════
   MOBILE PAGE BODY OFFSET (so content clears bottom nav)
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
  body.has-bottom-nav {
    padding-bottom: calc(var(--bottom-nav-h) + var(--safe-bottom));
  }
  .bottom-nav { display: flex; flex-direction: column; }

  /* Hide original hamburger & desktop nav */
  .hamburger { display: none !important; }
  .mobile-nav { display: none !important; }

  /* Compact top navbar on mobile */
  .navbar {
    height: 56px;
    background: rgba(10,40,32,.92) !important;
    backdrop-filter: blur(14px);
  }
  :root { --nav-height: 56px; }
  .navbar .container { padding: 0 1rem; }
  .navbar-brand .brand-tagline { display: none; }
  .navbar-brand .brand-name { font-size: 1.2rem; }
  .navbar-brand .brand-icon { width: 34px; height: 34px; font-size: 1rem; }

  /* Hero mobile tweaks */
  .hero-content { padding: 4.5rem 1.1rem 2rem; }
  .hero-cta { flex-direction: column; align-items: stretch; max-width: 280px; margin: 0 auto 1.5rem; }
  .hero-cta .btn { justify-content: center; }
  .hero-stats { display: flex; }
  .hero-stat { min-width: 0; padding: .65rem .4rem; }
  .hero-stat-number { font-size: 1.3rem; }
  .hero-stat-label  { font-size: .6rem; }

  /* Booking bar stacked */
  .booking-bar { margin: 0 .75rem; padding: 1.2rem 1rem; }
  .booking-form { grid-template-columns: 1fr 1fr; gap: .75rem; }

  /* Sections tighter */
  .section-pad    { padding: 3rem 0; }
  .section-pad-sm { padding: 2rem 0; }

  /* Room cards full width */
  .rooms-grid    { grid-template-columns: 1fr; gap: 1rem; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .reviews-grid  { grid-template-columns: 1fr; }

  /* About section */
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-img-wrap img { height: 260px; }
  .about-img-badge { right: .75rem; bottom: .75rem; padding: .75rem 1rem; }
  .about-img-badge .big { font-size: 1.6rem; }
  .about-features { grid-template-columns: 1fr 1fr; }

  /* Footer compact */
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer      { padding: 2.5rem 0 0; }
  .footer-bottom { flex-direction: column; text-align: center; gap: .5rem; }

  /* Page hero */
  .page-hero { padding: calc(56px + 2rem) 1rem 2rem; }
  .page-hero h1 { font-size: 1.8rem; }

  /* Booking page */
  .booking-page-wrapper  { grid-template-columns: 1fr; gap: 1.25rem; }
  .booking-summary-card  { position: static; }
  .booking-form-card     { padding: 1.5rem 1.1rem; }
}

/* Very small screens */
@media (max-width: 380px) {
  .booking-form { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.9rem; }
}

/* ══════════════════════════════════════════════
   MOBILE TOUCH ENHANCEMENTS
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Larger tap targets */
  .btn     { min-height: 44px; }
  .btn-sm  { min-height: 38px; }

  /* Smooth momentum scrolling */
  body { -webkit-overflow-scrolling: touch; }

  /* Card tap feedback */
  .room-card, .feature-card, .review-card {
    -webkit-tap-highlight-color: rgba(26,107,90,.08);
    cursor: pointer;
  }
  .room-card:active  { transform: scale(.985); }

  /* Form inputs bigger on mobile */
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; /* prevents iOS zoom */ min-height: 44px; }

  /* Horizontal scroll for amenity tags */
  .room-amenities { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: none; }
  .room-amenities::-webkit-scrollbar { display: none; }

  /* CTA banner compact */
  .cta-banner { padding: 3rem 1rem; }
  .cta-actions { flex-direction: column; align-items: stretch; max-width: 300px; margin: 0 auto; }
  .cta-actions .btn { justify-content: center; }

  /* Summary sticky on mobile booking */
  .booking-summary-card { border-radius: 14px; }

  /* Modal full-screen on mobile */
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal-box {
    border-radius: 20px 20px 0 0;
    max-height: 90vh;
    width: 100%;
    max-width: 100%;
  }
}

/* ══════════════════════════════════════════════
   EXTERIOR GALLERY (added in index.php)
   ══════════════════════════════════════════════ */
.exterior-gallery {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto;
  gap: .75rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}
.ext-main {
  grid-row: 1 / 3;
  position: relative; cursor: pointer; overflow: hidden; min-height: 340px;
}
.ext-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr; gap: .75rem;
}
.ext-item { position: relative; cursor: pointer; overflow: hidden; min-height: 130px; }
.ext-main img, .ext-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.ext-main:hover img, .ext-item:hover img { transform: scale(1.05); }
.ext-overlay {
  position: absolute; inset: 0;
  background: rgba(10,35,28,.35);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
}
.ext-main:hover .ext-overlay,
.ext-item:hover .ext-overlay { opacity: 1; }
.ext-main .ext-overlay { opacity: .4; align-items: flex-end; justify-content: flex-start; padding: 1.2rem; }
.ext-main:hover .ext-overlay { opacity: 1; }
.ext-overlay span {
  background: rgba(255,255,255,.15); backdrop-filter: blur(6px);
  color: #fff; padding: .45rem 1rem; border-radius: 100px;
  font-size: .82rem; font-weight: 600; border: 1px solid rgba(255,255,255,.3);
}
.ext-more .ext-overlay { opacity: 1; background: rgba(10,35,28,.55); }

.property-highlights {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem; margin-top: .25rem;
}
.prop-highlight {
  display: flex; align-items: center; gap: .85rem;
  background: var(--color-white); padding: 1.1rem 1.2rem;
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.prop-highlight:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.prop-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(26,107,90,.12), rgba(201,168,76,.12));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--color-primary);
}
.prop-title { font-weight: 700; font-size: .9rem; color: var(--color-dark); }
.prop-desc  { font-size: .76rem; color: var(--color-text-muted); margin-top: .1rem; }

@media (max-width: 768px) {
  .exterior-gallery { grid-template-columns: 1fr; grid-template-rows: auto; }
  .ext-main { grid-row: auto; min-height: 220px; border-radius: 12px; overflow: hidden; }
  .ext-main .ext-overlay { opacity: 1; }
  .ext-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .ext-item { min-height: 110px; border-radius: 10px; overflow: hidden; }
  .property-highlights { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .prop-highlight { padding: .85rem; }
  .prop-icon { width: 38px; height: 38px; font-size: .95rem; border-radius: 10px; }
}
@media (max-width: 400px) {
  .property-highlights { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════
   HERO PARTICLE ANIMATION
   ══════════════════════════════════════════════ */
.hero-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-particles span {
  position: absolute; border-radius: 50%;
  background: rgba(201,168,76,.15);
  animation: float 8s ease-in-out infinite;
}
.hero-particles span:nth-child(1) { width:80px; height:80px; top:20%; left:10%; animation-duration:9s; }
.hero-particles span:nth-child(2) { width:50px; height:50px; top:60%; left:80%; animation-duration:7s; animation-delay:-2s; }
.hero-particles span:nth-child(3) { width:120px;height:120px;top:75%; left:25%; animation-duration:11s;animation-delay:-4s; }
.hero-particles span:nth-child(4) { width:40px; height:40px; top:30%; left:70%; animation-duration:8s; animation-delay:-1s; }
.hero-particles span:nth-child(5) { width:90px; height:90px; top:50%; left:50%; animation-duration:10s;animation-delay:-3s; }
.hero-particles span:nth-child(6) { width:60px; height:60px; top:10%; left:55%; animation-duration:6s; animation-delay:-5s; }
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: .4; }
  50%       { transform: translateY(-30px) scale(1.1); opacity: .7; }
}

/* ══════════════════════════════════════════════
   PWA / App-like meta viewport enhancements
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Smooth page transitions */
  .page-content-wrap { animation: pageFadeIn .3s ease; }
  @keyframes pageFadeIn { from { opacity:.7; transform:translateY(6px); } to { opacity:1; transform:none; } }

  /* Prevent text size adjust on rotation */
  body { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

  /* Pull-to-refresh feel */
  html { overscroll-behavior-y: contain; }
}

/* ══════════════════════════════════════════════
   VERTICAL EXTERIOR GALLERY (index.php)
   ══════════════════════════════════════════════ */
.ext-vertical-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto 2rem;
}
.ext-vert-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  /* Taller on first, shorter on rest */
}
.ext-vert-item:first-child { aspect-ratio: 16/7; }
.ext-vert-item:not(:first-child) { aspect-ratio: 16/6; }
.ext-vert-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.ext-vert-item:hover img { transform: scale(1.04); }
.ext-vert-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,35,28,.65) 0%, rgba(10,35,28,.05) 55%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  opacity: 1;
  transition: background .3s;
}
.ext-vert-item:hover .ext-vert-overlay {
  background: linear-gradient(to top, rgba(10,35,28,.8) 0%, rgba(10,35,28,.15) 55%);
}
.ext-caption {
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
  letter-spacing: .02em;
}
.ext-expand {
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  padding: .35rem .85rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.3);
  white-space: nowrap;
  transition: background .2s;
}
.ext-vert-item:hover .ext-expand {
  background: rgba(255,255,255,.25);
}

/* Mobile: slightly less tall */
@media (max-width: 768px) {
  .ext-vert-item:first-child { aspect-ratio: 16/9; }
  .ext-vert-item:not(:first-child) { aspect-ratio: 16/8; }
  .ext-vert-overlay { padding: .75rem 1rem; }
  .ext-caption { font-size: .8rem; }
}
@media (max-width: 480px) {
  .ext-vert-item:first-child { aspect-ratio: 4/3; }
  .ext-vert-item:not(:first-child) { aspect-ratio: 16/9; }
}

/* ════════════════════════════════════════════════════════
   MOBILE PERFORMANCE — kill ALL animations & heavy effects
   on touch/mobile devices to prevent scroll lag
   ════════════════════════════════════════════════════════ */
@media (max-width: 900px) {

  /* ── Kill ALL animations globally ── */
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  /* ── Keep only essential micro-transitions (tap feedback) ── */
  .btn,
  .bn-item,
  a,
  button {
    transition: opacity .12s !important;
  }

  /* ── Kill floating hero particles completely ── */
  .hero-particles { display: none !important; }

  /* ── Kill 3D tilt / preserve-3d / perspective ── */
  .room-card,
  .hp-room-card,
  .u-stat,
  .stat-card,
  .booking-item,
  .u-card,
  .hp-book-card,
  .hp-amen-card,
  .hp-review-card,
  .route-card,
  .cat-admin-card {
    transform: none !important;
    transform-style: flat !important;
    perspective: none !important;
    transition: none !important;
    will-change: auto !important;
  }

  /* ── Kill backdrop-filter (most expensive on mobile) ── */
  .hp-book-card,
  .hp-amen-card,
  .u-card,
  .u-stat,
  .booking-item,
  .u-login-card,
  .user-welcome-bar,
  .status-banner-card,
  .price-box,
  .mod-panel,
  .route-card,
  .vehicle-card label,
  .cat-option-label,
  .pay-card,
  .hp-review-card,
  .deadline-bar,
  .card,
  .modal-box,
  .pay-wrap .pay-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* ── Kill backdrop-filter on navbar — use solid bg ── */
  .navbar,
  .navbar.scrolled {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(8,28,20,.97) !important;
  }

  /* ── Kill scroll fade-up animations ── */
  .fade-up {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .fade-up.visible {
    opacity: 1 !important;
    transform: none !important;
  }

  /* ── Kill 3D card shine layers ── */
  .card-3d-shine { display: none !important; }

  /* ── Kill hover image zoom (touch devices don't hover) ── */
  .room-card:hover .room-card-img img,
  .hp-room-card:hover .hp-room-img img,
  .ext-vert-item:hover img,
  .ext-main-img:hover img,
  .ext-side-img:hover img {
    transform: none !important;
  }

  /* ── Kill hover card lifts ── */
  .room-card:hover,
  .hp-room-card:hover,
  .hp-amen-card:hover,
  .hp-review-card:hover,
  .u-stat:hover,
  .booking-item:hover,
  .stat-card:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  /* ── Kill page fade-in animations ── */
  .page-content-wrap { animation: none !important; }

  /* ── Kill drawer/modal slide animations ── */
  .mobile-drawer {
    transition: transform .2s ease !important;
  }

  /* ── Simplify glassmorphism backgrounds ── */
  .hp-book-card {
    background: rgba(255,253,248,.99) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,.1) !important;
  }
  .u-card, .booking-item {
    background: #fff !important;
  }
  .u-stat {
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.08) !important;
  }

  /* ════════════════════════════
     BOLD TEXT — fix thin fonts
     ════════════════════════════ */
  body {
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  h1, h2, h3, h4, h5, h6 {
    font-weight: 700 !important;
  }

  /* Section labels and eyebrows */
  .section-label,
  .hp-eyebrow-sm,
  .hp-eyebrow,
  .bk-section-title,
  .r-section-title,
  .form-label,
  .b-label,
  .u-stat-lbl,
  .stat-label,
  .stat-sub {
    font-weight: 700 !important;
  }

  /* Body text — make slightly bolder on small screens */
  p, .room-card-desc, .hp-room-desc, .hp-amen-desc {
    font-weight: 400 !important;
  }

  /* Card titles always bold */
  .room-card-title,
  .hp-room-name,
  .hp-review-name,
  .u-card-header h3,
  .booking-id,
  .b-value,
  .bk-val,
  .r-val,
  .hp-amen-name,
  .price-total .tl,
  .price-total .tv,
  .r-grand-label {
    font-weight: 700 !important;
  }

  /* Price amounts always bold */
  .b-price,
  .hp-room-price-num,
  .room-price .amount,
  .bk-final-num,
  .r-grand-amount,
  .total-amt {
    font-weight: 700 !important;
  }

  /* Navigation */
  .nav-icon-link span,
  .bn-label,
  .drawer-nav-item .d-label {
    font-weight: 600 !important;
  }

  /* Buttons always bold */
  .btn { font-weight: 700 !important; }
}

/* Extra small — even stricter */
@media (max-width: 480px) {
  /* Reduce border-radius to avoid GPU composite layers */
  .room-card,
  .hp-room-card,
  .u-card,
  .booking-item {
    border-radius: 12px !important;
  }

  /* No box shadows on scroll containers */
  .booking-list,
  .user-stats,
  .hp-rooms-grid {
    will-change: auto !important;
  }

  /* Stronger text for tiny screens */
  h1 { font-weight: 700 !important; }
  .btn { font-size: .88rem !important; }
}

/* ════════════════════════════════════════
   ADDITIONAL SCROLL PERFORMANCE FIXES
   ════════════════════════════════════════ */
@media (max-width: 900px) {

  /* GPU compositing hint for scroll containers */
  html, body {
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
  }

  /* Contain paint for cards — reduces repaint area */
  .room-card, .hp-room-card, .u-card,
  .booking-item, .u-stat, .stat-card {
    contain: layout style paint;
    will-change: auto;
  }

  /* Kill infinite pulse on booking button */
  .hp-book-btn,
  .pay-btn {
    animation: none !important;
    will-change: auto !important;
  }

  /* Kill hero particle container */
  .hero-particles {
    display: none !important;
    pointer-events: none;
  }

  /* Simplify hero gradient — heavy on mobile */
  .hp-hero-bg::after {
    opacity: .15 !important;
  }
  .hp-hero-overlay {
    background: linear-gradient(to bottom, rgba(4,26,19,.3) 0%, rgba(4,26,19,.75) 100%) !important;
  }

  /* All images — remove hover transform */
  img {
    transform: none !important;
    transition: none !important;
  }

  /* Remove transform on all hover states */
  *:hover {
    transform: none !important;
  }

  /* Keep drawer/bottom-nav transitions (UX critical) */
  .mobile-drawer {
    transition: transform .22s cubic-bezier(.4,0,.2,1) !important;
    will-change: transform;
  }
  .bn-item {
    transition: opacity .1s !important;
  }

  /* ─── BOLD TEXT — ensure readability on small screens ─── */
  /* Navigation labels */
  .nav-icon-link span,
  .bn-label { font-weight: 600 !important; letter-spacing: .03em !important; }

  /* All heading levels */
  .hp-hero-h1,
  .hp-h2,
  h1, h2, h3, h4 { font-weight: 700 !important; }

  /* Sub-labels that were 300/400 weight — bump to 500+ */
  .hp-hero-sub,
  .hp-subtitle,
  .hp-amen-desc,
  .hp-review-text,
  .room-card-desc,
  .hp-room-desc {
    font-weight: 400 !important;
    color: rgba(255,255,255,.85) !important;
  }

  /* Muted text — ensure readable contrast */
  .hp-room-desc,
  .room-card-desc,
  p[style*="color:#6e7d76"],
  p[style*="color:var(--color-text-muted)"] {
    color: #555 !important;
  }

  /* Section eyebrows */
  .hp-eyebrow,
  .hp-eyebrow-sm {
    font-weight: 700 !important;
    letter-spacing: .18em !important;
  }

  /* Price amounts */
  .hp-room-price-num,
  .b-price,
  .bk-final-num,
  .total-amt,
  .r-grand-amount {
    font-weight: 800 !important;
  }

  /* Stats numbers */
  .hp-stat-num,
  .u-stat-val,
  .stat-value {
    font-weight: 700 !important;
  }

  /* Card body values */
  .b-value, .bk-val, .r-val,
  .dv, .guest-name,
  .booking-id { font-weight: 600 !important; }

  /* Badges always bold */
  .badge { font-weight: 700 !important; }
}
