:root {
  --cream: #fdf4e4;
  --ink: #442d1d;
  --muted: #806f61;
  --line: rgb(68 45 29 / 24%);
  --caramel: #b58159;
  --header: 64px;
  --card-gap: 12px;
  --gutter: clamp(22px, 2.8vw, 56px);
  --card-width: clamp(250px, 20.6vw, 370px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 30px); }
body { overflow-x: clip; margin: 0; background: var(--cream); color: var(--ink); font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 300; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button, a { color: inherit; }
button { border: 0; background: none; cursor: pointer; }
a { text-decoration: none; }
button:disabled { cursor: default; opacity: .3; }
button:focus-visible, a:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: none; outline-offset: 5px; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
img { display: block; width: 100%; object-fit: cover; }
h1, h2, h3, p { margin: 0; }
h2, h3, strong { font-weight: 450; }
.svg-library { position: absolute; width: 0; height: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -100px; z-index: 100; background: var(--cream); padding: 15px; }
.skip-link:focus { top: 10px; }

/* A quiet, consistent header; artwork is taken directly from refer/. */
header { position: fixed; inset: 0 0 auto; height: var(--header); z-index: 30; display: flex; align-items: center; gap: 26px; padding: 0 var(--gutter); border-bottom: 1px solid transparent; backdrop-filter: none; color: #fff; background: transparent; transition: background .25s, color .25s, border-color .25s; }
header.solid { background: var(--cream); color: var(--ink); border-color: var(--line); }
.brand { display: block; position: relative; flex-shrink: 0; width: 158px; height: 24px; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
header .brand img { position: absolute; inset: 0; transition: opacity .2s; }
.logo-dark { opacity: 0; }
.solid .logo-dark { opacity: 1; }
.solid .logo-light { opacity: 0; }
header nav { margin-left: auto; display: flex; gap: 30px; align-items: center; font-size: 13px; line-height: 1; }
header nav button { padding: 16px 0; }
header nav a, header nav button { transition: opacity .2s; }
header nav a:hover, header nav button:hover { opacity: .6; }
.header-tools { flex-shrink: 0; display: flex; align-items: center; gap: 13px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 36px; padding: 4px; flex-shrink: 0; }
.icon-button:hover { opacity: .65; }
.language { border: 1px solid currentColor; border-radius: 20px; font-size: 11px; font-weight: 300; line-height: 18px; padding: 0 6px; }
.music-wrap { display: flex; align-items: center; position: relative; flex-shrink: 0; }
.music-caption-slot { width: 0; overflow: hidden; transition: width 480ms cubic-bezier(.22,.7,.2,1); }
.track-caption { width: max-content; max-width: min(240px, 22vw); padding-right: 10px; text-align: right; font-size: 10px; line-height: 1.35; opacity: 0; transition: opacity 380ms ease; }
.track-caption span, .track-caption small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track-caption small { color: inherit; opacity: .65; font-size: 9px; margin-top: 2px; }
.music-icon { width: 22px; height: 22px; background: url('/assets/brand/music-paused-white.svg') center / contain no-repeat; }
.solid .music-icon { background-image: url('/assets/brand/music-paused-brown.svg'); }
.playing .music-icon { background-image: url('/assets/brand/music-white.svg'); }
.solid .playing .music-icon { background-image: url('/assets/brand/music-brown.svg'); }
@media (hover: hover) {
  .music-wrap:hover .music-caption-slot { width: var(--caption-width, 0px); }
  .music-wrap:hover .track-caption { opacity: 1; }
}
.music-wrap:has(button:focus-visible) .music-caption-slot { width: var(--caption-width, 0px); }
.music-wrap:has(button:focus-visible) .track-caption { opacity: 1; }
.hero { height: 94.5svh; min-height: 480px; position: relative; background: #70492d; }
.hero-photo { height: 100%; object-position: center; }

/* Full-height category menu, matching the reference's three-column grid. */
.mega-menu { padding-top: var(--header); min-height: 100svh; background: var(--cream); display: grid; grid-template-columns: repeat(3, 1fr); overscroll-behavior: contain; }
.mega-menu > a { padding: 32px 24px 24px; border-right: 1px solid var(--line); display: flex; align-items: flex-start; flex-direction: column; }
.mega-menu > a:last-child { border: 0; }
.mega-menu h2 { font-size: 24px; font-weight: 300; line-height: 1.3; width: 100%; display: flex; justify-content: space-between; margin: 0 0 64px; }
.mega-menu img { width: 61%; height: min(57svh, 660px); object-fit: cover; }
.mega-menu > a { cursor: pointer; }
.mega-menu p { font-size: 12px; line-height: 1.65; max-width: 360px; margin-top: auto; padding-top: 44px; }

/* Smaller type, original poster proportions, and generous negative space. */
.menu-section { padding: 28px 0 65px; }
.category-bar { position: sticky; top: var(--header); z-index: 15; background: var(--cream); padding: 16px 0 0; }
.menu-collection + .menu-collection { margin-top: 38px; }
.menu-collection + .menu-collection .menu-heading { padding-top: 18px; }
.menu-collection + .menu-collection .menu-heading::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(470px, 86%); height: 1px; background: var(--line); }
.category-tabs { display: flex; justify-content: center; gap: 32px; border-bottom: 1px solid var(--line); width: min(580px, 88%); margin: 0 auto; padding: 0 12px 13px; }
.category-tabs a { font-size: 13px; font-weight: 300; padding: 7px 3px; line-height: 1.4; position: relative; transition: color .2s; }
.category-tabs a.active { color: var(--ink); font-weight: 500; }
.category-tabs a.active::after { content: ''; position: absolute; bottom: -14px; left: 0; right: 0; height: 1px; background: var(--ink); }
.menu-heading { width: min(470px, 86%); text-align: center; margin: 0 auto 26px; }
.menu-heading h2 { font-size: 14px; font-weight: 500; line-height: 1.5; margin-bottom: 3px; }
.menu-heading p { font-size: 12px; line-height: 1.6; font-weight: 300; color: var(--muted); }
.product-track { display: flex; align-items: stretch; overflow-x: auto; gap: var(--card-gap); padding: 0 var(--gutter) 10px calc(var(--card-width) + var(--card-gap)); scroll-snap-type: none; scroll-padding-left: calc(var(--card-width) + var(--card-gap)); scrollbar-width: none; }
.product-track::-webkit-scrollbar { display: none; }
.product-card { flex: 0 0 var(--card-width); aspect-ratio: 2 / 3; position: relative; overflow: hidden; scroll-snap-align: none; text-align: left; padding: 0; color: #fff; }
.product-card > img { height: 100%; transition: transform .6s cubic-bezier(.2,.65,.3,1); }
.product-card:hover > img { transform: scale(1.025); }
.card-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; background: linear-gradient(transparent 20%, rgb(37 26 18 / 65%)); opacity: 0; transition: opacity .25s; }
.product-card:hover .card-overlay, .product-card:focus-visible .card-overlay { opacity: 1; }
.card-title { font-size: 17px; font-weight: 450; line-height: 1.35; margin-bottom: 8px; }
.card-description { font-size: 12px; font-weight: 300; line-height: 1.5; color: rgb(255 255 255 / 85%); margin-bottom: 20px; }
.detail-link { margin-top: 0; align-self: flex-start; border-bottom: 1px solid rgb(255 255 255 / 45%); padding-bottom: 4px; font-size: 11px; font-weight: 400; }
.poster-card { background: #b58c6a; }
.poster-card > img { object-fit: contain; }
.poster-card:hover > img { transform: none; }
.poster-card:focus-visible { outline-offset: -5px; }
.section-width { width: 89%; max-width: 1540px; margin-left: auto; margin-right: auto; }
.family { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: start; padding: 72px 0 80px; border-top: 1px solid var(--line); }
.family-image { max-width: 475px; width: 100%; margin: 0 auto; }
.family-image img { object-fit: contain; }
.family-copy { padding: 34px 0 0; max-width: 410px; }
.family h2 { font-family: 'Inter', sans-serif; font-size: clamp(24px, 2.15vw, 34px); font-weight: 300; line-height: 1.3; letter-spacing: -.8px; margin: 18px 0 22px; }
.family p { font-size: 13px; line-height: 1.85; color: var(--muted); margin: 0 0 16px; }
.text-link { display: inline-flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); padding-bottom: 7px; margin-top: 16px; font-size: 11px; font-weight: 400; }
.text-link svg { width: 17px; height: 17px; }
.outline-link { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: 30px; padding: 0 0 7px; border-bottom: 1px solid var(--line); margin-top: 20px; font-size: 11px; font-weight: 400; }
.outline-link svg { width: 17px; height: 17px; }
footer { border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: 1.1fr 1.4fr 1.7fr 1.2fr; gap: 25px; padding: 46px 0 55px; font-size: 12px; }
.footer-brand { width: 132px; height: auto; align-self: start; }
.footer-brand img { height: auto; }
.footer-links, .contacts { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-links a:hover, .contacts a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contacts { align-items: flex-end; gap: 8px; }
.contacts strong { font-weight: 500; font-size: 12px; margin-bottom: 3px; }
.contacts span { font-size: 10px; color: var(--muted); margin-top: 10px; }
.footer-bottom { display: flex; justify-content: space-between; padding: 21px 0 28px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }

/* Popovers use the same restrained type and spacing as the page. */
.dialog-top { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 400; }
dialog { border: 1px solid var(--line); background: var(--cream); color: var(--ink); padding: 22px; width: min(540px, 92vw); max-height: 85svh; }
dialog::backdrop { background: rgb(36 23 10 / 35%); backdrop-filter: blur(4px); }
.search-input { display: flex; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); padding: 20px 0; }
.search-input input { border: 0; background: none; width: 100%; font-size: 15px; font-weight: 300; color: var(--ink); outline-offset: 0; }
.search-input svg { width: 18px; }
#search-results { padding-top: 12px; min-height: 85px; }
#search-results > p { font-size: 12px; color: var(--muted); }
.search-result { display: flex; width: 100%; align-items: center; gap: 16px; padding: 12px 0; text-align: left; border-bottom: 1px solid var(--line); font-size: 12px; }
.search-result img { width: 42px; height: 56px; }
.search-result span { flex: 1; }
.product-close { position: absolute; right: 10px; top: 10px; z-index: 1; background: var(--cream); border-radius: 50%; }
#product-dialog { padding: 0; width: min(700px, 92vw); }
#product-detail { display: grid; grid-template-columns: 1fr 1fr; }
#product-detail img { height: 460px; }
#product-detail .detail-copy { display: flex; flex-direction: column; padding: 38px 30px 30px; }
#product-detail h2 { flex-shrink: 0; font-size: 24px; font-weight: 300; line-height: 1.3; letter-spacing: -.5px; margin: 0 0 18px; }
#product-detail .detail-copy > p:not(.detail-hint) { margin-bottom: 24px; }
#product-detail p { font-size: 12px; line-height: 1.8; color: var(--muted); }
#product-detail .detail-hint { font-size: 11px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: auto; }

@media (min-width: 1700px) {
  :root { --header: 68px; }
  header nav, .category-tabs a { font-size: 14px; }
}
@media (max-width: 1000px) {
  :root { --card-width: 29vw; }
  .mega-menu > a { padding: 28px 20px; }
  .mega-menu img { width: 82%; height: 48svh; }
  .mega-menu h2 { margin-bottom: 40px; }
  .family { gap: 5%; }
  .family-copy { padding-top: 12px; }
  .footer-main { grid-template-columns: 1fr 1fr 1fr; }
  .footer-secondary { display: none; }
}
@media (max-width: 680px) {
  :root { --header: 60px; --gutter: 20px; --card-width: 68vw; }
  html { scroll-padding-top: 80px; }
  header { gap: 17px; }
  header .brand { width: 126px; height: 20px; }
  header nav { gap: 0; font-size: 12px; }
  header nav a:not(#menu-toggle) { display: none; }
  .header-tools { gap: 7px; }
  .icon-button { width: 28px; }
  .language { display: none; }
  .hero { height: 88svh; min-height: 420px; }
  .hero-photo { object-position: 55% center; }
  .menu-section { padding: 24px 0 45px; }
  .category-bar { padding-top: 10px; }
  .category-tabs { gap: 27px; padding: 0 0 10px; margin-bottom: 0; }
  .category-tabs a { font-size: 12px; }
  .category-tabs a.active::after { bottom: -11px; }
  .menu-heading { margin-bottom: 22px; }
  .menu-heading h2 { font-size: 13px; }
  .menu-heading p { font-size: 11px; }
  :root { --card-gap: 10px; }
  .card-overlay { opacity: 1; padding: 17px; background: linear-gradient(transparent 58%, rgb(37 26 18 / 62%)); }
  .card-title { font-size: 15px; margin-bottom: 12px; }
  .card-description { display: none; }
  .detail-link { font-size: 10px; }
  .section-width { width: calc(100% - 40px); }
  .family { grid-template-columns: 1fr; padding: 40px 0 45px; gap: 32px; }
  .family-image { max-width: 330px; }
  .family-copy { padding: 0 6px; max-width: 440px; }
  .family h2 { font-size: 27px; letter-spacing: -.65px; margin: 15px 0 20px; }
  .family p { font-size: 12px; line-height: 1.85; }
  .text-link { font-size: 11px; gap: 18px; }
  .outline-link { margin-top: 22px; }
  .desktop-break { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px; padding: 32px 0 35px; font-size: 11px; }
  .footer-brand { width: 119px; }
  .footer-links { align-items: flex-end; gap: 12px; }
  .contacts { grid-column: 1 / -1; align-items: flex-start; font-size: 12px; }
  .footer-bottom { font-size: 9px; gap: 12px; padding: 17px 0 23px; }
  .mega-menu { grid-template-columns: 1fr; }
  .mega-menu > a { display: grid; grid-template-columns: 1fr 108px; gap: 14px 25px; border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 22px; }
  .mega-menu h2 { font-size: 22px; margin: 0; align-self: end; }
  .mega-menu img { grid-column: 2; grid-row: 1 / 3; width: 108px; height: 150px; }
  .mega-menu p { font-size: 11px; padding: 0; margin: 0; align-self: start; }
  #product-detail { grid-template-columns: 1fr; }
  #product-detail img { height: 290px; }
  #product-detail .detail-copy { padding: 22px 24px; min-height: 270px; }
  #product-detail h2 { flex-shrink: 0; font-size: 23px; margin: 12px 0; }
  #product-detail .detail-hint { margin-top: auto; padding-top: 15px; }
}
@media (max-width: 360px) {
  header { gap: 10px; }
  header .brand { width: 113px; }
  .header-tools { gap: 3px; }
  .category-tabs { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

#page-content { position: relative; background: var(--cream); }
.page-view:focus { outline: none; }
.product-track { cursor: grab; }
.product-track.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.product-track.dragging button { cursor: grabbing; }
.partners-page { min-height: 80svh; padding-top: calc(var(--header) + 90px); padding-bottom: 80px; }
.partners-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: start; padding-bottom: 65px; }
.partners-intro h1 { font-size: clamp(28px, 3vw, 44px); font-weight: 300; letter-spacing: -1px; line-height: 1.2; }
.partners-intro p { max-width: 420px; color: var(--muted); line-height: 1.85; }
.partner-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5%; padding: 35px 0 55px; border-top: 1px solid var(--line); }
.partner-options h2, .partner-contact h2 { font-size: 17px; font-weight: 400; margin-bottom: 18px; }
.partner-options p { color: var(--muted); max-width: 340px; line-height: 1.85; }
.partner-contact { border-top: 1px solid var(--line); padding-top: 30px; }
.partner-contact a { display: block; width: fit-content; margin: 7px 0; }
.partner-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 680px) {
  .music-caption-slot, .music-wrap:hover .music-caption-slot, .music-wrap:has(button:focus-visible) .music-caption-slot { width: 0; }
  .partners-page { padding-top: calc(var(--header) + 45px); padding-bottom: 45px; }
  .partners-intro { grid-template-columns: 1fr; gap: 24px; padding-bottom: 35px; }
  .partner-options { grid-template-columns: 1fr; gap: 30px; padding: 28px 0 35px; }
}


/* Native snapshots animate the visible page only; the persistent header stays live. */
@supports (view-transition-name: berry-content) {
  #page-content { view-transition-name: berry-content; }
  #header { view-transition-name: berry-header; }
  ::view-transition-group(berry-header) { z-index: 2; animation: none; }
  ::view-transition-group(berry-content) { z-index: 1; animation-duration: 460ms; }
  ::view-transition-old(berry-content) { animation: berry-page-exit 460ms cubic-bezier(.22,.7,.2,1) both; }
  ::view-transition-new(berry-content) { animation: berry-page-enter 460ms cubic-bezier(.22,.7,.2,1) both; }
}
@keyframes berry-page-exit {
  to { transform: translateX(-7vw); opacity: .82; }
}
@keyframes berry-page-enter {
  from { transform: translateX(7vw); opacity: .82; }
}

/* A category ribbon is sticky only while its product collections are in view. */
html { scroll-padding-top: calc(var(--header) + 18px); }
.catalog-menu { position: relative; }
.category-bar { scroll-margin-top: var(--header); }
.menu-collection { scroll-margin-top: calc(var(--header) + 70px); }
.ribbon-controls { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 5px; flex: 0 0 auto; }
.ribbon-arrow { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); cursor: pointer; transition: background-color .2s, opacity .2s; }
.ribbon-arrow svg { width: 19px; height: 19px; stroke-width: 1.25; }
.ribbon-arrow:hover { background: rgb(68 45 29 / 6%); }
.ribbon-arrow:active { background: rgb(68 45 29 / 11%); }
.menu-heading { position: relative; display: block; width: auto; margin: 0 var(--gutter) 26px; text-align: center; }
.menu-heading-copy { width: min(470px, 70%); margin-inline: auto; text-align: center; min-width: 0; }
.menu-collection + .menu-collection .menu-heading { padding-top: 17px; }
.product-track { -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scroll-behavior: auto; overflow-anchor: none; }
.product-card { overflow-anchor: none; }

/* Search is a clear, full-height mobile surface with a fixed query field. */
.search-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.search-top h2 { font-size: 20px; font-weight: 400; }
.search-dismiss { padding: 8px 0 8px 12px; font-size: 13px; color: var(--muted); cursor: pointer; }
.search-dismiss:hover { color: var(--ink); }
#search-dialog { width: min(600px, calc(100% - 32px)); max-height: min(78dvh, 760px); padding: 22px 26px; overscroll-behavior: contain; }
.search-input { position: sticky; top: 0; z-index: 1; gap: 12px; background: var(--cream); padding: 13px 0; }
.search-input:focus-within { border-color: var(--ink); }
.search-input input { min-width: 0; min-height: 42px; font-size: 16px; }
.search-input input::-webkit-search-cancel-button { display: none; }
#search-clear { display: grid; place-items: center; width: 32px; height: 38px; flex: 0 0 auto; font-size: 22px; color: var(--muted); cursor: pointer; }
#search-clear[hidden] { display: none; }
#search-results { overflow: auto; overscroll-behavior: contain; }
.search-suggestions > p, .search-popular-label { margin: 15px 0 8px; color: var(--muted); font-size: 11px; }
.search-suggestions > div { display: flex; flex-wrap: wrap; gap: 8px; }
.search-suggestions a { padding: 7px 11px; border: 1px solid var(--line); border-radius: 30px; font-size: 11px; transition: background-color .2s; }
.search-suggestions a:hover { background: rgb(68 45 29 / 6%); }
.search-result { min-height: 76px; padding: 12px 2px; }
.search-result > img { width: 48px; height: 60px; flex: 0 0 auto; object-fit: cover; }
.search-result > span { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.search-result strong { font-weight: 400; }
.search-result small { font-size: 10px; color: var(--muted); }
.search-result > svg { width: 16px; height: 16px; flex: 0 0 auto; opacity: .6; }
.search-empty { padding: 22px 0; }

/* The category page is a quiet, text-stable index with images on the left. */
.mega-menu > a { transition: none; }
.mega-menu > a:hover, .mega-menu > a:focus-visible { color: inherit; background: none; opacity: 1; }
.mega-menu > a:hover img { opacity: 1; transform: none; filter: none; }
.mega-menu h2 { transition: none; color: inherit; }
body.route-menu footer { display: none; }

@media (max-width: 680px) {
  :root { --card-width: clamp(240px, 76vw, 330px); --card-gap: 10px; }
  .product-track {
    padding: 0 var(--gutter) 9px;
    scroll-padding-inline: var(--gutter);
    scroll-snap-type: none;
    gap: var(--card-gap);
  }
  .product-card { aspect-ratio: 2 / 2.75; }
  .menu-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: auto; margin: 0 var(--gutter) 15px; }
  .menu-collection + .menu-collection .menu-heading { margin-top: 0; padding-top: 15px; }
  .menu-heading-copy { flex: 1; width: auto; margin: 0; text-align: left; }
  .menu-heading h2 { font-size: 13px; }
  .menu-heading p { font-size: 10px; }
  .ribbon-controls { position: static; transform: none; gap: 2px; margin-right: -6px; }
  .ribbon-arrow { width: 34px; height: 38px; }
  .ribbon-arrow svg { width: 18px; height: 18px; }
  .card-overlay { padding: 15px; }
  .card-title { max-width: 27ch; font-size: 14px; line-height: 1.4; margin-bottom: 0; }
  .detail-link { display: none; }
  .mega-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: calc(var(--header) + 12px) 20px 22px;
    min-height: 100svh;
  }
  .mega-menu > a {
    display: grid;
    grid-template-columns: clamp(112px, 32vw, 146px) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    align-items: start;
    gap: 5px 17px;
    padding: 15px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .mega-menu > a:last-child { border-bottom: 0; }
  .mega-menu h2 {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    margin: 1px 0 0;
    align-self: end;
    font-size: 16px;
    font-weight: 400;
  }
  .mega-menu img {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 100%;
    height: clamp(170px, 46vw, 218px);
    object-fit: cover;
  }
  .mega-menu p {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    max-width: none;
    margin: 3px 0 0;
    padding: 0;
    font-size: 10px;
    line-height: 1.55;
  }
  #search-dialog {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: max(18px, env(safe-area-inset-top)) 20px max(18px, env(safe-area-inset-bottom));
    border: 0;
    display: none;
    overflow: hidden;
    grid-template-rows: auto auto minmax(0, 1fr);
  }
  #search-dialog[open] { display: grid; }
  .search-top { min-height: 48px; }
  .search-top h2 { font-size: 19px; }
  .search-dismiss { min-height: 44px; padding: 8px 0 8px 18px; font-size: 14px; }
  .search-input { top: 0; gap: 10px; padding: 8px 0 12px; }
  .search-input svg { width: 20px; height: 20px; }
  .search-input input { min-height: 46px; font-size: 16px; }
  #search-results { min-height: 0; padding: 8px 0 max(22px, env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .search-suggestions > p, .search-popular-label { margin-top: 20px; font-size: 12px; }
  .search-suggestions > div { gap: 9px; }
  .search-suggestions a { min-height: 40px; display: inline-flex; align-items: center; padding: 8px 13px; font-size: 12px; }
  .search-result { min-height: 78px; gap: 14px; padding: 11px 1px; font-size: 14px; }
  .search-result > img { width: 50px; height: 62px; }
  .search-result small { font-size: 11px; }
  .search-empty { font-size: 14px !important; padding: 24px 0; }
}
