/* Shared phone refinements, loaded last by the release builder. */
@media (max-width:779px) {
  html { scroll-padding-top:100px; }
  body:has(header.ch):not(:has(.heritage-topbar)) { padding-top:84px; }
  .ch .nav { height:84px; }
  header.ch { height:84px; }
  .ch .crow { gap:12px; }
  .ch .nav .home { font-size:16px; line-height:1.12; }
  .ch .mburger,.ch .cart { min-height:44px; }
  .heritage-topbar { min-height:92px; padding:14px 16px; }
  .heritage-topbar__name span:first-child { font-size:clamp(34px,10vw,44px)!important; }
  .heritage-topbar__menu nav { right:16px; max-height:calc(100svh - 110px); overflow-y:auto; overscroll-behavior:contain; }
  .cinematic__sticky { gap:8px; padding-bottom:8px; }
  .cinematic__replay { min-height:44px; padding:10px 16px; }
  .home-search-intro { padding-inline:20px; }
  .home-search-intro__products { gap:8px 16px; }
  .home-search-intro__products a { min-height:44px; display:inline-flex; align-items:center; justify-content:center; }
  .home-search-intro__identity { line-height:1.65; }
  .mobilecats { top:84px; padding:6px 16px; }
  .mobilecats__toggle { min-height:46px; font-size:15px; }
  .mobilecats__panel { position:absolute; top:100%; left:16px; right:16px; background:var(--paper,#F8F8F2); }
  .mobilecats ul { max-height:calc(100svh - 166px); }
  section[id^="cat-"] { scroll-margin-top:158px; }
  .band .d1 { font-size:clamp(30px,8.2vw,38px); line-height:1.06; text-wrap:balance; }
  .journal { padding-top:40px; }
  .journal h1 { font-size:clamp(32px,9vw,42px); line-height:1.06; text-wrap:balance; }
  input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea { font-size:16px!important; }
  textarea { min-height:120px; }
  .mdrawer__wrap,.qdrawer__panel { padding-bottom:max(20px,env(safe-area-inset-bottom)); }
  .qbar { padding-bottom:env(safe-area-inset-bottom); }
  body:has(.qbar) { padding-bottom:calc(72px + env(safe-area-inset-bottom)); }
}
@media (max-width:359px) {
  .ch .crow { gap:8px; }
  .ch .nav .home { font-size:14px; }
  .heritage-topbar__menu summary { font-size:12px; padding-inline:8px; }
}
