/* Mobile layout adjustments; the hero video keeps its existing styling. */
@media (max-width: 700px) {
  html { -webkit-text-size-adjust: 100%; }
  .page, .order-menu, .section, .venue-gallery { min-width: 0; }
  .hero-shortcuts { -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none; }
  .hero-shortcuts::-webkit-scrollbar { display: none; }
  .hero-shortcuts a { display: inline-flex; align-items: center; min-height: 40px; }
  .order-menu { padding-left: 16px; padding-right: 16px; }
  .order-menu .order-toolbar { display: flex; gap: 10px; }
  .order-toolbar input[type=search] { flex: 1 0 100%; width: 100%; min-height: 48px; font-size: 16px; }
  .order-menu .order-filters { flex: 1 1 auto; justify-content: center; }
  .order-menu .order-filters button, .order-menu .cart-toggle, .order-menu .order-categories button { min-height: 44px; }
  .order-menu .order-categories { gap: 7px; }
  .order-menu .order-categories button { white-space: normal; line-height: 1.25; }
  .order-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-card, .order-body { min-width: 0; }
  .order-body h3 { overflow-wrap: anywhere; }
  .order-add { min-height: 44px; }
  .order-menu .floating-cart { bottom: max(12px, env(safe-area-inset-bottom)); z-index: 1000; }
  .cart-panel { top: 8px; right: 8px; width: calc(100vw - 16px); max-height: calc(100dvh - 16px); padding: 16px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .cart-close { min-width: 44px; min-height: 44px; }
  .checkout-options { flex-wrap: wrap; }
  .checkout-options > * { min-height: 44px; }
  .custom-dialog { max-height: calc(100dvh - 16px); }
  .custom-scroll { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .custom-header h2 { overflow-wrap: anywhere; }
  .addon-stepper button { width: 36px; height: 36px; }
  .enquiry-grid, .location-grid { min-width: 0; }
  .form { min-width: 0; padding: 20px; }
  .form input, .form select, .form textarea, #checkout-form input, #checkout-form textarea { font-size: 16px; max-width: 100%; }
  .map { max-width: 100%; }
  footer { overflow-wrap: anywhere; }
}
@media (max-width: 350px) {
  .order-grid { grid-template-columns: 1fr; }
  .order-menu .order-filters button { padding-inline: 10px; }
  .custom-option { flex-wrap: wrap; }
}

/* Mobile navigation and gallery: keep the hero clear and avoid costly 3D image slices. */
@media (max-width:700px) {
  .hero-shortcuts { position:absolute!important; top:0!important; left:0!important; right:0!important; width:100%; box-sizing:border-box; display:flex!important; flex-wrap:nowrap!important; justify-content:flex-start!important; align-items:center; overflow-x:auto!important; overflow-y:hidden; gap:14px; padding:4px 14px!important; background:rgba(0,0,0,.78); white-space:nowrap; }
  .hero-shortcuts a { flex:0 0 auto!important; min-height:40px; font-size:11px; }
  .hero-shortcuts .book-now { min-height:34px; box-sizing:border-box; }
  .language-switch { top:54px!important; right:12px!important; }
  .bamboo-film-overlay { padding:72px 12px 12px!important; }
  .film-wordmark { max-width:100%; }
  .venue-gallery { padding:50px 0; }
  .venue-mobile { height:auto!important; overflow:hidden; container-type:normal; }
  .venue-mobile .venue-orbit-scene { position:static; perspective:none!important; mask-image:none; -webkit-mask-image:none; }
  .venue-mobile-track { display:flex; gap:12px; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; padding:0 6% 12px; }
  .venue-mobile-track figure { flex:0 0 84%; margin:0; aspect-ratio:4/3; overflow:hidden; border-radius:8px; scroll-snap-align:center; background:#201d19; }
  .venue-mobile-track img { display:block; width:100%; height:100%; object-fit:cover; }
  .developer-credit img { height:auto!important; object-fit:contain!important; }
}
@media (prefers-reduced-motion:reduce) { .venue-mobile {height:auto}.venue-mobile .venue-orbit-scene{position:static;mask-image:none;-webkit-mask-image:none}.venue-mobile-track{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 6% 12px}.venue-mobile-track figure{flex:0 0 min(70%,540px);aspect-ratio:4/3;margin:0;scroll-snap-align:center}.venue-mobile-track img{width:100%;height:100%;object-fit:cover} }

/* Keep mobile scrolling and checkout responsive. Items remain searchable under All. */
@media (max-width:700px) {
 .order-categories [data-category-filter="Starters"],
 .order-categories [data-category-filter="Main Course"],
 .order-categories [data-category-filter="Indian Breads & Staples"] { display:none!important; }
 .order-card { animation:none!important; transform:none!important; transition:none!important; }
 .order-card.reveal-item { opacity:1!important; transform:none!important; transition:none!important; }
 .cart-panel,.custom-dialog { box-shadow:0 8px 20px #0008!important; }
}

/* Brighter video and clearer wordmark on phones only. */
@media (max-width:700px) {
  .bamboo-film-inner:after { background:linear-gradient(90deg,rgba(0,0,0,.18),rgba(0,0,0,.10)); }
  .bamboo-film-overlay { background:radial-gradient(ellipse 55% 38% at 50% 43%,rgba(0,0,0,.25),rgba(0,0,0,.10) 65%,transparent 100%); }
  .film-wordmark { height:clamp(106px,30vw,128px); }
  .film-wordmark canvas { filter:drop-shadow(0 2px 2px #000) drop-shadow(0 0 5px #000); }
  .bamboo-film-tagline { text-shadow:0 1px 3px #000, 0 2px 8px #000, 0 0 14px #000; }
}
