/* Palm mobile — Grove fruit densify 2026-09-14 */
@media (max-width: 860px) {
  a.skip, a.skip-link {
    min-height: 44px !important;
    padding: 0.65rem 1rem !important;
    display: inline-flex !important;
    align-items: center !important;
  }
  header.mast a.brand,
  header.mast a.nav-bug,
  .hdr-live .nav-bug {
    min-height: 44px !important;
    min-width: 44px !important;
    padding: 0.45rem 0.65rem !important;
    display: inline-flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }
  header.mast nav a,
  .nav-desk a,
  details.nav-mobile summary,
  details.nav-mobile a {
    min-height: 44px !important;
    min-width: 44px !important;
    padding: 0.55rem 0.65rem !important;
    display: inline-flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }
  footer nav a,
  .site-footer a,
  footer a {
    min-height: 44px !important;
    padding: 0.65rem 0.55rem !important;
    display: inline-flex !important;
    align-items: center !important;
  }
  /* primer / sheet in-body links */
  article.sheet a,
  p.next a,
  .home-board a,
  main a {
    min-height: 44px !important;
    padding: 0.6rem 0.45rem !important;
    display: inline-flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }
  .hero-jumps a {
    min-height: 44px !important;
    padding: 0.55rem 0.7rem !important;
    display: inline-flex !important;
    align-items: center !important;
  }
  /* berry table overflow */
  table, .sheet, article.sheet, .home-board, main {
    max-width: 100% !important;
  }
  table { display: block; overflow-x: auto; }
  img, svg { max-width: 100%; height: auto; }
  body { overflow-x: hidden; }
  #taba-cookie-banner a,
  #cookie-consent-banner a {
    min-height: 44px !important;
    padding: 0.6rem 0.45rem !important;
    display: inline-flex !important;
    align-items: center !important;
  }
  button, [role="button"], .btn {
    min-height: 44px !important;
    min-width: 44px !important;
  }
}
@media (max-width: 860px) {
  header.mast a, footer a, main a, details.nav-mobile a, details.nav-mobile summary {
    min-height: 44px !important;
  }
}

@media (max-width: 860px) {
  .cookie-consent__btn, .cookie-consent button, #taba-cookie-banner button, #cookie-consent-banner button {
    min-height: 44px !important; min-width: 44px; padding: 0.55rem 0.75rem; box-sizing: border-box;
  }
}

@media (max-width: 860px) {
  button.cookie-consent__btn,
  .cookie-consent__btn {
    height: auto !important;
    min-height: 44px !important;
    line-height: 1.2 !important;
    padding: 12px 16px !important;
    box-sizing: border-box !important;
  }
}
/* palm cookie override last */
html body .cookie-consent button.cookie-consent__btn,
html body button.cookie-consent__btn {
  min-height: 44px !important;
  height: 44px !important;
  max-height: none !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

/* Restore full cookie consent copy on phone (densify hid p:not(:first-child)) */
@media (max-width: 860px) {
  #cookie-consent-banner.cookie-consent,
  #taba-cookie-banner {
    max-height: none !important;
    width: auto !important;
    left: 0.75rem !important;
    right: 0.75rem !important;
    bottom: 0.75rem !important;
    padding: 0.75rem 0.9rem !important;
    overflow: visible !important;
  }
  #cookie-consent-banner .cookie-consent__inner {
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 0.65rem !important;
  }
  #cookie-consent-banner .cookie-consent__text {
    flex: 1 1 100% !important;
    min-width: 0 !important;
  }
  #cookie-consent-banner .cookie-consent__text p,
  #cookie-consent-banner .cookie-consent__text p:not(:first-child),
  #cookie-consent-banner .cookie-consent__links,
  #taba-cookie-banner > p:nth-of-type(n+2) {
    display: block !important;
    margin: 0 0 0.35rem !important;
    font-size: 0.85rem !important;
    line-height: 1.35 !important;
  }
  #cookie-consent-banner .cookie-consent__actions {
    width: 100% !important;
    margin-left: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.45rem !important;
  }
  #cookie-consent-banner .cookie-consent__btn,
  #taba-cookie-banner button {
    min-height: 44px !important;
    height: auto !important;
    padding: 0.55rem 0.85rem !important;
  }
}
