/* The Trekkers Club - Kedarkantha trek page: mobile-only layer.
   Every rule sits inside max-width:767px, so screens above 768px are untouched. */
@media (max-width:767px){
/* shared */
  html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:76px}
  body{-webkit-tap-highlight-color:rgba(229,193,88,.18)}
  img,video{max-width:100%}
  h1,h2,h3{overflow-wrap:break-word;text-wrap:balance}
  p{text-wrap:pretty}
  select,input:not([type=checkbox]):not([type=radio]),textarea{font-size:16px}
  button{min-height:44px}
  select,input:not([type=checkbox]):not([type=radio]),textarea{min-height:46px}
  button.w-8.h-8,button.w-10.h-10{width:44px!important;height:44px!important;min-width:44px}
  footer a:not([data-path=home]){display:inline-block;padding:12px 0}
  footer a[data-path=home]{display:inline-block;padding:8px 0}
  a[class*="hover:underline"]{display:inline-block;padding:12px 0}

/* page */
  header.fixed>div:first-of-type{height:64px!important;padding-left:16px!important;padding-right:16px!important;gap:10px!important}
  header.fixed a[data-path=home]{min-height:44px}
  header.fixed button{min-height:44px;padding:0 16px!important;font-size:12px!important}
  /* bottom booking dock: info row + thumb-sized action row */
  [class~="lg:hidden"].fixed.bottom-0{flex-wrap:wrap!important;padding:10px 14px calc(10px + env(safe-area-inset-bottom))!important;gap:8px 10px!important}
  [class~="lg:hidden"].fixed.bottom-0>div:first-child{flex:1 1 100%;min-width:0}
  [class~="lg:hidden"].fixed.bottom-0>div:first-child>div:first-child{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 10px}
  [class~="lg:hidden"].fixed.bottom-0>div:last-child{flex:1 1 100%;display:flex;gap:10px!important}
  [class~="lg:hidden"].fixed.bottom-0>div:last-child>a:first-child{width:48px!important;height:48px!important;flex:none}
  [class~="lg:hidden"].fixed.bottom-0>div:last-child>a:last-child{flex:1 1 auto;justify-content:center;min-height:48px;padding:0 16px!important;font-size:12.5px!important;white-space:nowrap}
  body{padding-bottom:calc(118px + env(safe-area-inset-bottom))}
  /* readable micro text */
  [class*="text-[9px]"],[class*="text-[10px]"]{font-size:11px!important}
  main a[class*="px-"][class*="py-"]{min-height:44px;box-sizing:border-box;align-content:center}
  /* itinerary day tabs: roomier tap targets, scroll instead of squeeze */
  button[class*="rounded"][class*="font-mono"]{min-height:44px}
  /* modal: comfortable on small screens */
  #booking-modal{padding:12px!important}
  #booking-modal input,#booking-modal select{min-height:48px}
  #booking-modal button{min-height:48px}
  footer div.flex.items-center.gap-5{flex-wrap:wrap;justify-content:center;gap:0 20px}
  div.grid.grid-cols-5[class*="font-mono"]{gap:0 6px;font-size:10px!important;letter-spacing:-.03em}
}
