/* RC2.9.15.1.4.7 — premium menu category navigation */
.fw-wave-categories{
    max-height:calc(100vh - 112px);
    display:flex;
    flex-direction:column;
    overflow:hidden;
}
.fw-wave-category-list{
    min-height:0;
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-width:thin;
    padding-right:2px;
}
.fw-wave-category-link{
    width:100%;
    border:1px solid transparent;
    background:transparent;
    color:#27374C;
    min-height:38px;
    border-radius:10px;
    padding:8px 9px;
    text-align:left;
    font-size:11px;
    font-weight:850;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    text-decoration:none;
    transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease,transform .16s ease;
}
.fw-wave-category-link:hover{
    background:#F4F0E4;
    border-color:#E7E0CF;
    color:#0B1F3B;
    transform:translateX(2px);
}
.fw-wave-category-link:focus-visible{
    outline:3px solid rgba(198,162,58,.38);
    outline-offset:2px;
}
.fw-wave-category-link.active,
.fw-wave-category-link[aria-current="page"]{
    background:#0B1F3B;
    border-color:#0B1F3B;
    color:#fff;
    box-shadow:0 6px 16px rgba(11,31,59,.18);
}
.fw-wave-category-name{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.fw-wave-category-count{
    min-width:24px;
    height:22px;
    padding:0 6px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#F2EEE4;
    color:#536174;
    font-size:10px;
    font-weight:900;
    line-height:1;
    flex:0 0 auto;
}
.fw-wave-category-link.active .fw-wave-category-count,
.fw-wave-category-link[aria-current="page"] .fw-wave-category-count{
    background:rgba(255,255,255,.16);
    color:#fff;
}
@media(max-width:991px){
    .fw-wave-categories{
        position:sticky!important;
        top:72px!important;
        z-index:18;
        max-height:none;
        overflow:visible;
        padding:10px;
        backdrop-filter:blur(10px);
    }
    .fw-wave-categories .fw-wave-panel-title{margin-bottom:7px}
    .fw-wave-category-list{
        display:flex!important;
        gap:7px!important;
        overflow-x:auto!important;
        overflow-y:hidden!important;
        padding:0 0 4px!important;
        scrollbar-width:thin;
    }
    .fw-wave-category-link{
        width:auto;
        min-width:max-content;
        min-height:36px;
        padding:7px 10px;
        transform:none!important;
    }
    .fw-wave-category-name{overflow:visible;text-overflow:clip}
}
@media(max-width:640px){
    .fw-wave-categories{top:64px!important;border-radius:12px}
    .fw-wave-category-link{font-size:10.5px}
}

/* RC2.9.16.0.8.4 — Mobile category tab polish */
@media (max-width: 575px){
  html body.fc-ordering-body.fc-storefront .fw-wave-categories{
    padding:14px 12px!important;
    border-radius:18px!important;
    overflow:hidden!important;
  }

  html body.fc-ordering-body.fc-storefront .fw-wave-category-list{
    display:flex!important;
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    gap:8px!important;
    padding:2px 2px 8px!important;
    scroll-snap-type:x proximity!important;
    -webkit-overflow-scrolling:touch!important;
  }

  html body.fc-ordering-body.fc-storefront .fw-wave-category-list::-webkit-scrollbar{
    height:4px!important;
  }

  html body.fc-ordering-body.fc-storefront .fw-wave-category-link{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:88px!important;
    max-width:148px!important;
    min-height:42px!important;
    padding:8px 10px!important;
    border-radius:14px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    scroll-snap-align:start!important;
    white-space:nowrap!important;
  }

  html body.fc-ordering-body.fc-storefront .fw-wave-category-name{
    display:block!important;
    min-width:0!important;
    max-width:96px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:11px!important;
    line-height:1.1!important;
    font-weight:950!important;
  }

  html body.fc-ordering-body.fc-storefront .fw-wave-category-count{
    flex:0 0 auto!important;
    min-width:22px!important;
    height:22px!important;
    padding:0 6px!important;
    border-radius:999px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:10px!important;
    line-height:1!important;
    font-weight:950!important;
  }

  html body.fc-ordering-body.fc-storefront .fw-wave-category-link.active .fw-wave-category-count,
  html body.fc-ordering-body.fc-storefront .fw-wave-category-link[aria-current="page"] .fw-wave-category-count{
    background:#ffffff!important;
    color:#0B1F3B!important;
  }
}
