.adl-menu-gallery__media,
.adl-menu-gallery__headcopy {
  display: none;
}

@media (min-width: 62em) {
  html body .adl-menu-gallery .adl-mega__panel {
    max-height: calc(100dvh - 124px);
    padding: 22px 0 24px;
    overflow-x: hidden;
    overflow-y: auto;
    border-top: 1px solid rgba(13, 13, 13, 0.1);
    border-bottom: 1px solid rgba(13, 13, 13, 0.13);
    background:
      radial-gradient(circle at 92% 8%, rgba(145, 152, 138, 0.2), transparent 280px),
      #ede7db;
    box-shadow: 0 24px 48px rgba(13, 13, 13, 0.16);
  }

  html body .adl-menu-gallery .adl-mega__panel .adl-container {
    width: min(100%, 1320px);
    margin-inline: auto;
    padding-inline: 32px;
  }

  html body .adl-menu-gallery .adl-mega__grid {
    display: grid !important;
    grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
    gap: 14px !important;
    padding: 0 !important;
  }

  html body .adl-menu-gallery .adl-mega__grid > li {
    min-width: 0;
  }

  html body .adl-menu-gallery .adl-mega__link {
    display: grid !important;
    grid-template-rows: 92px minmax(30px, auto);
    gap: 7px;
    min-height: 139px;
    padding: 7px;
    overflow: hidden;
    border: 1px solid rgba(13, 13, 13, 0.1);
    border-radius: 12px;
    color: #151515;
    background: rgba(255, 253, 248, 0.84);
    box-shadow: 0 8px 22px rgba(13, 13, 13, 0.055);
    font-family: var(--adl-font-body, Inter, sans-serif);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.2;
    text-align: left;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  }

  html body .adl-menu-gallery .adl-mega__link .adl-menu-gallery__media {
    display: block;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 92px;
    border-radius: 9px;
    background:
      radial-gradient(circle at 72% 25%, rgba(255, 255, 255, 0.74), transparent 42%),
      #d7d8c6;
  }

  html body .adl-menu-gallery .adl-mega__link .adl-menu-gallery__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 220ms ease;
  }

  html body .adl-menu-gallery .adl-mega__link .adl-menu-gallery__fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: rgba(13, 13, 13, 0.58);
    font-family: var(--adl-font-display, Georgia, serif);
    font-size: 30px;
    font-weight: 700;
  }

  html body .adl-menu-gallery .adl-mega__link .adl-menu-gallery__label {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 0 3px 2px;
  }

  html body .adl-menu-gallery .adl-mega__link:hover,
  html body .adl-menu-gallery .adl-mega__link:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(13, 13, 13, 0.3);
    background: #fffdf8;
    box-shadow: 0 14px 30px rgba(13, 13, 13, 0.12);
    outline: none;
  }

  html body .adl-menu-gallery .adl-mega__link:hover .adl-menu-gallery__media img,
  html body .adl-menu-gallery .adl-mega__link:focus-visible .adl-menu-gallery__media img {
    transform: scale(1.045);
  }
}

@media (min-width: 62em) and (max-width: 74.999em) {
  html body .adl-menu-gallery .adl-mega__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 61.999em) {
  html body .adl-mega.adl-menu-gallery {
    width: min(92vw, 390px);
    background:
      radial-gradient(circle at 100% 0, rgba(145, 152, 138, 0.22), transparent 230px),
      #ede7db;
    box-shadow: 24px 0 70px rgba(13, 13, 13, 0.3);
  }

  html body.adl-mobile-menu-open::after {
    left: min(92vw, 390px);
    background: rgba(13, 13, 13, 0.68);
    backdrop-filter: blur(3px);
  }

  html body .adl-menu-gallery .adl-mega__mobile-head {
    min-height: 86px;
    padding: 14px 14px 13px 20px;
    border-bottom: 1px solid rgba(13, 13, 13, 0.13);
    background: rgba(255, 253, 248, 0.48);
    backdrop-filter: blur(14px);
  }

  html body .adl-menu-gallery__headcopy {
    display: grid;
    gap: 4px;
  }

  html body .adl-menu-gallery .adl-mega__mobile-head strong {
    font-size: 27px;
    font-weight: 700;
    letter-spacing: -0.025em;
  }

  html body .adl-menu-gallery__eyebrow {
    color: #6f6b62;
    font-family: var(--adl-font-body, Inter, sans-serif);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  html body .adl-menu-gallery .adl-mega__mobile-head button {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(13, 13, 13, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.52);
  }

  html body .adl-menu-gallery .adl-mega__list {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 8px;
    padding: 12px 10px 22px;
    scrollbar-width: thin;
    scrollbar-color: rgba(13, 13, 13, 0.22) transparent;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  html body .adl-menu-gallery .adl-mega__item {
    flex: 0 0 auto !important;
    min-height: 70px !important;
    overflow: hidden;
    border: 1px solid rgba(13, 13, 13, 0.1);
    border-radius: 13px;
    background: rgba(255, 253, 248, 0.62);
    box-shadow: 0 10px 30px rgba(13, 13, 13, 0.055);
  }

  /* The theme animates open menu items with a fixed height. That height only
     fits three rows and clips the final row of larger category lists. */
  html body .adl-menu-gallery .adl-mega__item.adl-menu-open {
    height: max-content !important;
    min-height: 70px !important;
    max-height: none !important;
    overflow: hidden !important;
  }

  html body .adl-menu-gallery .adl-mega__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px;
    align-items: stretch;
  }

  html body .adl-menu-gallery .adl-mega__trigger,
  html body .adl-menu-gallery .adl-mega__toplink {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    min-height: 68px;
    padding: 7px;
    color: #0d0d0d;
    font-family: var(--adl-font-display, Georgia, serif);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.08;
    text-decoration: none;
  }

  html body .adl-menu-gallery .adl-mega__toplink {
    grid-template-columns: 52px minmax(0, 1fr) 20px;
    width: 100%;
  }

  html body .adl-menu-gallery .adl-mega__toplink::after {
    content: "→";
    color: #777267;
    font-family: var(--adl-font-body, Inter, sans-serif);
    font-size: 18px;
    font-weight: 500;
  }

  html body .adl-menu-gallery .adl-mega__toggle {
    min-height: 68px;
    border-left: 1px solid rgba(13, 13, 13, 0.08);
    color: #0d0d0d;
    background: rgba(215, 216, 198, 0.28);
  }

  html body .adl-menu-gallery .adl-mega__toggle[aria-expanded="true"] {
    background: #0d0d0d;
    color: #ede7db;
  }

  html body .adl-menu-gallery__media {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 11px;
    background:
      radial-gradient(circle at 72% 25%, rgba(255, 255, 255, 0.72), transparent 42%),
      #d7d8c6;
  }

  html body .adl-menu-gallery__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.01);
  }

  html body .adl-menu-gallery__fallback {
    color: rgba(13, 13, 13, 0.58);
    font-family: var(--adl-font-display, Georgia, serif);
    font-size: 28px;
    font-weight: 700;
  }

  html body .adl-menu-gallery__label {
    min-width: 0;
  }

  html body .adl-menu-gallery .adl-mega__panel {
    padding: 0;
    border-top: 1px solid rgba(13, 13, 13, 0.08);
    background: rgba(255, 255, 255, 0.32);
    max-height: none !important;
    overflow: visible !important;
  }

  html body .adl-menu-gallery .adl-mega__panel .adl-container {
    padding: 9px;
  }

  html body .adl-menu-gallery .adl-mega__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 7px;
    padding: 0;
    max-height: none !important;
    overflow: visible !important;
  }

  html body .adl-menu-gallery .adl-mega__grid > li {
    min-width: 0;
  }

  html body .adl-menu-gallery .adl-mega__link {
    display: grid;
    grid-template-rows: auto minmax(30px, auto);
    gap: 5px;
    width: 100%;
    min-height: 0;
    padding: 5px;
    border: 1px solid rgba(13, 13, 13, 0.09);
    border-radius: 10px;
    color: #252525;
    background: rgba(255, 253, 248, 0.8);
    box-shadow: 0 7px 18px rgba(13, 13, 13, 0.045);
    font-family: var(--adl-font-body, Inter, sans-serif);
    font-size: 10px;
    font-weight: 750;
    line-height: 1.25;
    text-align: left;
    text-decoration: none;
  }

  html body .adl-menu-gallery .adl-mega__link .adl-menu-gallery__media {
    aspect-ratio: 4 / 3 !important;
  }

  html body .adl-menu-gallery .adl-mega__link .adl-menu-gallery__label {
    display: flex;
    align-items: center;
    padding: 1px 2px 2px;
  }

  html body .adl-menu-gallery .adl-mega__link:active,
  html body .adl-menu-gallery .adl-mega__link:focus-visible {
    border-color: rgba(13, 13, 13, 0.35);
    background: #fffdf8;
    outline: 2px solid #0d0d0d;
    outline-offset: 2px;
  }

  html body .adl-menu-gallery .adl-mega__mobile-foot {
    min-height: 60px;
    padding: 14px 20px max(14px, env(safe-area-inset-bottom));
    background: #0d0d0d;
  }

  html body .adl-menu-gallery .adl-mega__mobile-foot a,
  html body .adl-menu-gallery .adl-mega__mobile-foot span {
    color: #ede7db;
  }

  /* Keep the fixed mobile dock inside the open drawer. The theme normally
     keeps it viewport-wide, so the cart label sits underneath the backdrop. */
  html body.adl-mobile-menu-open .adl-demo-bottomnav {
    right: auto !important;
    width: min(92vw, 390px) !important;
    max-width: min(92vw, 390px) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  html body.adl-mobile-menu-open .adl-demo-bottomnav > a {
    flex: 1 1 25% !important;
    min-width: 0 !important;
    padding-inline: 2px !important;
  }

  html body.adl-mobile-menu-open .adl-demo-bottomnav > a > span {
    max-width: 100% !important;
    overflow: visible !important;
    font-size: 10px !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 390px) {
  html body .adl-menu-gallery .adl-mega__list {
    padding-inline: 10px;
  }

  html body .adl-menu-gallery .adl-mega__grid {
    gap: 6px;
  }

  html body .adl-menu-gallery .adl-mega__link {
    padding: 4px;
    font-size: 9.5px;
  }
}

@media (max-width: 340px) {
  html body .adl-menu-gallery .adl-mega__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .adl-menu-gallery *,
  html body .adl-menu-gallery *::before,
  html body .adl-menu-gallery *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

