.polka-menu-section,
.polka-nav-links a.polka-menu-desktop-link { display: none; }

@media (min-width: 768px) {
  .polka-catalog > details[open] { overflow: visible; }
  .polka-catalog > details > summary { border-radius: 15px 15px 0 0; }
  .polka-catalog > details:not([open]) > summary { border-radius: 15px; }
  .polka-nav-links > li { position: relative; }
  .polka-nav-links a.polka-menu-mobile-link { display: none; }
  .polka-nav-links a.polka-menu-desktop-link { display: flex; }
  .polka-catalog .polka-menu-section {
    display: block;
    height: 100%;
    overflow: visible;
    background: transparent;
    box-shadow: none;
  }
  .polka-catalog .polka-menu-section > summary {
    min-height: 60px;
    height: 100%;
    padding: 7px 9px;
    gap: 9px;
    border: 1px solid #e1e8ee;
    border-radius: 10px;
    background: #f7fafc;
    color: #24465f;
    font-size: 14px;
  }
  .polka-menu-section > summary > span:nth-child(2) { overflow-wrap: anywhere; }
  .polka-catalog .polka-menu-section > summary:hover,
  .polka-catalog .polka-menu-section > summary:focus-visible,
  .polka-catalog .polka-menu-section[open] > summary {
    background: #eaf1f6;
    border-color: #9eb3c3;
  }
  .polka-menu-section > summary .polka-nav-arrow { transform: rotate(90deg); }
  .polka-menu-section[open] > summary .polka-nav-arrow { transform: rotate(-90deg); }
  .polka-nav-links .polka-menu-photo {
    flex-basis: 45px;
    height: 42px;
    background: #fff;
    overflow: hidden;
  }
  .polka-menu-photo img, .polka-menu-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .polka-menu-panel {
    position: absolute;
    z-index: 25;
    top: 100%;
    left: 0;
    width: min(476px, calc(100vw - 24px));
    padding: 10px;
    border: 1px solid #cad9e3;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(29, 56, 78, .18);
  }
  .polka-menu-item:nth-child(4n) .polka-menu-panel,
  .polka-menu-item:nth-child(4n - 1) .polka-menu-panel { left: auto; right: 0; }
  .polka-nav-links a.polka-menu-all { min-height: 38px; margin-bottom: 8px; height: auto; }
  .polka-menu-subsections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-height: min(385px, 55vh);
    overflow: auto;
    list-style: none;
    margin: 0;
    padding: 2px;
    overscroll-behavior: contain;
  }
  .polka-menu-subsections a {
    min-height: 73px;
    background: #fff;
    line-height: 1.25;
    font-size: 13px;
    overflow-wrap: anywhere;
  }
  .polka-menu-thumb {
    display: grid;
    place-items: center;
    flex: 0 0 57px;
    height: 48px;
    color: #315975;
    border-radius: 6px;
    overflow: hidden;
  }
}
