/* Desktop navigation uses the English layout in every language. */
@media (min-width: 1280px) {
  .pageHeader .h_top .h_logo img { height: 52px; }
  .pageHeader .h_bott > div { position: relative; --navigation-gutter: 24px; column-gap: 24px; }
  .pageHeader .h_bott > div > .flex { flex-shrink: 0; }
  .pageHeader .nav-list { min-width: 0; gap: clamp(20px, 2.9vw, 56px); }
  .pageHeader .nav-link { white-space: normal; overflow-wrap: anywhere; line-height: 1.5; }
  .pageHeader #productWrapper { position: static; }
  .pageHeader #productWrapper::before { display: none; }
  .pageHeader #productWrapper #megaMenu {
    top: 100%;
    left: var(--navigation-gutter);
    right: auto;
    transform: none;
    width: min(1400px, calc(100% - var(--navigation-gutter) - var(--navigation-gutter)));
    max-width: calc(100vw - 48px);
    max-height: calc(100vh - 160px);
    overflow: auto;
    padding: 28px 36px 36px;
    border: 1px solid #f1f4f9;
    border-radius: 0 0 24px 24px;
    letter-spacing: 0;
  }
  #productWrapper #megaMenu.show { opacity: 1; visibility: visible; pointer-events: auto; }
  #productWrapper #megaMenu:not(.show) { opacity: 0; visibility: hidden; pointer-events: none; }
  #megaMenu .category-panel { flex: 0 0 232px; padding-right: 24px; margin-right: 8px; }
  #megaMenu .cat-grid { gap: 10px; }
  #megaMenu .cat-item {
    white-space: normal;
    overflow-wrap: anywhere;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 15px;
    line-height: 1.5;
  }
  #megaMenu .cat-item.active-cat {
    color: #0b1b33;
    background: #f0f4fa;
    border-color: #e0e6ee;
    font-weight: 600;
  }
  #megaMenu .active-line { width: 4px; height: 28px; background: #f5b324; }
  #megaMenu .product-panel { min-width: 0; min-height: 340px; padding-left: 30px; }
  #megaMenu .productGroup { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  #megaMenu .product-card {
    display: grid;
    grid-template-columns: minmax(76px, 36%) minmax(0, 1fr);
    align-content: start;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid #e7ecf3;
    border-radius: 18px;
    text-align: left;
  }
  #megaMenu .product-card > img {
    width: 120px;
    height: 64px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 0;
  }
  #megaMenu .product-card > span {
    min-width: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  #megaMenu .product-card > div {
    grid-column: 1 / -1;
    margin-top: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #6b7280;
    overflow-wrap: anywhere;
  }
  #megaMenu .product-card > div:not(:has(p:not(:empty))) { display: none; }
  #megaMenu .product-card:not(:has(> img)) > span { grid-column: 1 / -1; }
  #megaMenu a:focus-visible { outline: 2px solid #f5b324; outline-offset: 2px; }
}
@media (min-width: 1536px) {
  .pageHeader .h_bott > div { --navigation-gutter: 128px; }
}
@media (prefers-reduced-motion: reduce) {
  #productWrapper #megaMenu, #megaMenu .cat-item, #megaMenu .product-card, #megaMenu .active-line { transition: none; }
}
