/* WALKOPET V80 — mobile navigation without duplicates and a centered service search. */

@media (max-width:800px){
  /* These destinations already live in the persistent five-item bottom navigation. */
  body.wp80.logged-in .top-nav>.wp80-mobile-bottom-duplicate,
  body.wp80.logged-in .top-nav>.desktop-more,
  body.wp80.logged-in .top-nav>.desktop-lang,
  body.wp80.logged-in .top-nav>.desktop-notif,
  body.wp80.logged-in .top-nav>.business-pro-nav,
  body.wp80.logged-in .top-nav>.logout-nav{display:none!important;}

  /* Keep the open drawer compact: stream first, then only secondary actions. */
  body.wp80.logged-in.menu-open .top-nav{grid-template-columns:1fr!important;gap:7px!important;padding:10px!important;}
  body.wp80.logged-in.menu-open .top-nav>.mobile-extra-links{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;grid-column:1/-1;}
  body.wp80.logged-in.menu-open .top-nav>.mobile-extra-links>.mobile-lang-row,
  body.wp80.logged-in.menu-open .top-nav>.mobile-extra-links>.mobile-install-link{grid-column:1/-1;}
  body.wp80.logged-in.menu-open .top-nav>.mobile-extra-links>a,
  body.wp80.logged-in.menu-open .top-nav>.mobile-extra-links>.mobile-install-link{display:flex;align-items:center;min-width:0;min-height:47px;padding:11px 12px!important;border-radius:12px;background:#f6f9f6;color:inherit;text-align:left;}
  body.wp80.logged-in.menu-open .top-nav>.mobile-extra-links>.wp80-mobile-logout{background:#fff8f8;border:1px solid rgba(161,44,44,.18);color:#8b2727;}
}

@media (max-width:760px){
  /* Center the service-search experience while retaining readable left-aligned fields. */
  body.wp80 .wp79-hero .wp75-hero-copy{width:100%;max-width:520px;margin-inline:auto;text-align:center;}
  body.wp80 .wp79-hero .wp75-hero-copy>.eyebrow,
  body.wp80 .wp79-hero .wp75-hero-copy>h1,
  body.wp80 .wp79-hero .wp75-hero-copy>p{text-align:center;margin-inline:auto;}
  body.wp80 .wp79-hero .wp79-hero-search{width:100%;max-width:460px;margin:20px auto 16px;text-align:left;}
  body.wp80 .wp79-hero .wp79-hero-search label{text-align:left;}
  body.wp80 .wp79-hero .wp75-hero-actions{width:100%;justify-content:center;}
}

@media (max-width:390px){
  body.wp80.logged-in.menu-open .top-nav>.mobile-extra-links{grid-template-columns:1fr;}
  body.wp80.logged-in.menu-open .top-nav>.mobile-extra-links>a{grid-column:1/-1;}
}

@media (prefers-reduced-motion:reduce){
  body.wp80 .top-nav,body.wp80 .wp79-hero-search{transition:none!important;}
}

/* Guests may dismiss the bottom actions; scrolling down tucks them away. */
.mobile-guest-cta[hidden]{display:none!important;}
@media (max-width:800px){
  body.guest-cta-off{padding-bottom:0;}
  body.guest-cta-off .cookiebar{bottom:10px;}
  body.guest .mobile-guest-cta{
    grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) 44px;
    align-items:center;
    gap:8px;
    transition:transform .22s ease,opacity .22s ease,visibility .22s ease;
  }
  body.guest .mobile-guest-cta .btn{display:grid;place-items:center;min-width:0;min-height:44px;padding:9px 6px;font-size:13px;white-space:nowrap;}
  .mobile-guest-cta-close{display:grid;place-items:center;width:44px;height:44px;margin:0;border:1px solid #d9e6de;border-radius:12px;background:#f4f8f5;color:#315746;font-family:inherit;font-size:25px;font-weight:700;line-height:1;cursor:pointer;}
  .mobile-guest-cta-close:focus-visible{outline:3px solid #176d50;outline-offset:2px;}
  body.guest .mobile-guest-cta.is-hidden-by-scroll,
  body.guest.menu-open .mobile-guest-cta{transform:translateY(calc(100% + 6px));opacity:0;visibility:hidden;pointer-events:none;}
}
@media (prefers-reduced-motion:reduce){body.guest .mobile-guest-cta{transition:none;}}
