/* LUPON responsive navigation and mobile touch refinements */
@media (max-width: 1080px) {
  header { position: sticky; top: 0; z-index: 100; }
  .nav { position: relative; gap: 12px; }
  .nav-links.customer-nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    z-index: 120;
    max-height: min(72vh, 620px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px 18px 18px;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(249, 248, 243, .985);
    border: 1px solid rgba(91, 111, 75, .18);
    border-top: 0;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 18px 38px rgba(35, 43, 31, .14);
    backdrop-filter: blur(18px);
  }
  .nav-links.customer-nav-links.open { display: flex; animation: lupon-menu-drop .2s ease both; }
  .nav-links.customer-nav-links > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    border-bottom: 1px solid rgba(91, 111, 75, .12);
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.35;
    touch-action: manipulation;
  }
  .nav-links.customer-nav-links > a:last-child { border-bottom: 0; }
  .nav-links.customer-nav-links > a:active { background: rgba(104, 132, 83, .12); }
  .menu-toggle {
    display: grid !important;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(91, 111, 75, .25);
    border-radius: 50%;
    background: #eeece5;
    color: #3f503b;
    font-size: 23px;
    cursor: pointer;
    touch-action: manipulation;
  }
  .brand { min-width: 0; }
  .nav-cta { display: none !important; }
}
@media (max-width: 420px) {
  .nav { min-height: 64px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 14px; }
  .brand-sub { font-size: 8px; }
  .nav-links.customer-nav-links { max-height: 76vh; }
}
@keyframes lupon-menu-drop {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-links.customer-nav-links.open { animation: none; }
}
@media (max-width: 1080px) {
  .result-header { position: relative; flex-wrap: wrap; gap: 10px; }
  .result-header .nav-links.customer-nav-links { top: 100%; left: 0; right: 0; }
  .result-header .menu-toggle { margin-left: auto; }
  .result-header > a:not(.result-brand):not(.orders-nav-button) { display: none; }
}
@media (min-width: 1081px) { .result-header .menu-toggle { display: none !important; } }
