/* Shared narrow-screen shell rules: account, footer and fixed navigation. */
.site-footer__accordion-toggle{
  display:flex;
  width:100%;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  font:inherit;
  font-weight:inherit;
  text-align:inherit;
  pointer-events:none;
}
.site-footer__accordion-toggle::after{display:none;content:"−";font-size:1.1rem;line-height:1}
.site-footer__accordion-toggle[aria-expanded="false"]::after{content:"+"}

@media(max-width:720px){
  body:not(.logged-in).woocommerce-account .account-shell__intro{display:none}
  body:not(.logged-in).woocommerce-account .section--account{padding-block:1rem 2.5rem}
  body:not(.logged-in).woocommerce-account .container--account{width:min(calc(100% - 1rem),1240px)}

  .site-header__actions .hx-cart-link,.menu-toggle{width:42px;height:42px;min-width:42px}
  .site-header__actions .hx-cart-link .hx-icon,.menu-toggle .hx-icon{width:21px;height:21px}

  .hx-mobile-actions{
    display:flex;
    align-items:center;
    gap:.5rem;
    inset-inline:10px;
    bottom:max(10px,env(safe-area-inset-bottom));
    padding:.45rem;
    direction:rtl;
  }
  .hx-mobile-actions__icon{flex:0 0 44px}
  .hx-mobile-actions .hx-mobile-booking{flex:1 1 auto;min-width:0;justify-content:center}
  body.has-hx-mobile-booking{padding-bottom:calc(82px + env(safe-area-inset-bottom))}

  /* The footer stays fully readable without JS. Once navigation.js marks the
     accordion active, secondary link groups collapse into compact sections. */
  .site-footer.has-mobile-accordion .site-footer__column{padding-block:.15rem;border-top:1px solid rgba(255,255,255,.1)}
  .site-footer.has-mobile-accordion .footer-widget__title{margin:0}
  .site-footer.has-mobile-accordion .site-footer__accordion-toggle{min-height:48px;padding:.25rem 0;cursor:pointer;pointer-events:auto}
  .site-footer.has-mobile-accordion .site-footer__accordion-toggle::after{display:block}
  .site-footer.has-mobile-accordion .site-footer__panel[hidden]{display:none}
  .site-footer.has-mobile-accordion .site-footer__panel{padding:.15rem 0 1rem}
}

@media(max-width:380px){
  .hx-mobile-actions{inset-inline:7px;gap:.35rem}
}
