:root {
  --bg: #0c0b0a;
  --bg-2: #14110e;
  --cream: #f6f1e7;
  --muted: #b7aa98;
  --gold: #e0b15c;
  --gold-2: #f3d7a1;
  --brass: #c9963f;
  --line: rgba(224, 177, 90, 0.2);
  --pistachio: #b7c98a;
  --ink: #1a1208;
  --danger: #e7b2a4;
  --sticky-h: 148px;
  --font: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --display: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --ease: cubic-bezier(.22, .9, .24, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  position: relative;
  overscroll-behavior-x: none;
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(224, 177, 90, 0.16), transparent 55%),
    radial-gradient(680px 380px at -10% 8%, rgba(156, 176, 92, 0.08), transparent 50%),
    var(--bg);
  color: var(--cream);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; }

button, input { font: inherit; color: inherit; }

button, a { touch-action: manipulation; }

button { cursor: pointer; }

h1, h2, h3, p { margin: 0; }

a { color: var(--gold-2); }

::selection { background: rgba(224, 177, 90, 0.35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  inset-inline-start: 0;
  top: 0;
}

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -48px;
  z-index: 80;
  background: var(--gold-2);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
}

.skip:focus { top: calc(12px + env(safe-area-inset-top)); }

.wrap {
  width: min(1120px, 100%);
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
}

.sticky-stack {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-top: env(safe-area-inset-top);
  background: rgba(12, 11, 10, 0.72);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border-bottom: 1px solid rgba(224, 177, 90, 0.16);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .sticky-stack { background: rgba(12, 11, 10, 0.96); }
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 2px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  flex: 0 0 auto;
}

.brand-mark img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 14px;
}

.status-dot {
  position: absolute;
  inset-inline-end: -1px;
  bottom: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #c46b5a;
  box-shadow: 0 0 0 3px #0c0b0a;
}

.status-dot.is-open { background: #9cbf73; }

.status-dot.is-open::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  animation: pulse 2.6s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(156, 191, 115, 0.55); }
  100% { box-shadow: 0 0 0 8px rgba(156, 191, 115, 0); }
}

.brand-text { min-width: 0; }

.brand-text small {
  display: block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
}

.brand-text h1 {
  font-family: var(--font);
  font-size: clamp(15px, 3.8vw, 18px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.4;
}

.brand-actions {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.desktop-links { display: none; gap: 6px; }

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--gold-2);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
}

.icon-btn svg,
.thumb-btn svg,
.search-ico,
.sheet-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lang {
  display: flex;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.lang-btn {
  min-width: 40px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.lang-btn.is-on {
  background: linear-gradient(180deg, #f0d7a2, #c9963f);
  color: var(--ink);
}

.search-row { padding: 6px 16px 2px; }

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding-block: 0;
  padding-inline: 12px 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.search:focus-within {
  border-color: rgba(243, 215, 161, 0.7);
  box-shadow: 0 0 0 3px rgba(224, 177, 90, 0.16);
}

.search-ico { color: var(--gold); flex: 0 0 auto; }

.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 10px 0;
  outline: none;
  font-size: 16px;
  text-align: start;
}

.search input::placeholder { color: #8d8274; }

#q-clear {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
  font-size: 18px;
  line-height: 1;
}

.scroller {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  padding: 4px 16px 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  contain: inline-size;
}

.scroller::-webkit-scrollbar { display: none; }

#filters { padding-bottom: 0; }

#cats { padding-top: 2px; padding-bottom: 8px; }

.pill {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  scroll-snap-align: start;
}

.pill.is-on {
  background: linear-gradient(180deg, #f0d7a2, #c9963f);
  color: var(--ink);
  border-color: transparent;
  font-weight: 700;
}

.intro { padding: 16px 16px 6px; }

.lede {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.hours-line {
  margin-top: 8px;
  color: var(--gold-2);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.6;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px 10px;
}

.section-head h2,
.results-line {
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
}

.rule {
  height: 1px;
  flex: 1;
  background: linear-gradient(to inline-end, rgba(224, 177, 90, 0.55), transparent);
}

.count {
  color: var(--muted);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.feature-row {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 4px 16px 8px;
  scrollbar-width: none;
  contain: inline-size;
}

.feature-row::-webkit-scrollbar { display: none; }

.feature-card,
.card,
.pair,
.text-btn,
.seg {
  transition: transform .18s var(--ease), border-color .18s ease, opacity .18s ease;
}

.feature-card,
.card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 248, 236, 0.045), rgba(255, 248, 236, 0.015));
  color: inherit;
  text-align: start;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.feature-card {
  flex: 0 0 min(84%, 300px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 22px;
}

.feature-card .card-body { padding: 12px 12px 14px; }

.grid {
  display: grid;
  gap: 10px;
  padding: 0 16px 8px;
}

.card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 8px;
  border-radius: 22px;
  align-items: center;
}

.card:active,
.feature-card:active,
.pair:active { transform: scale(0.985); }

.card.is-sold,
.feature-card.is-sold { opacity: 0.72; }

.card.is-sold img,
.feature-card.is-sold img { filter: grayscale(0.9) brightness(0.72); }

.media {
  display: block;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #241e18 20%, #3a3126 42%, #241e18 68%);
  background-size: 220% 100%;
  animation: shimmer 1.35s ease-in-out infinite;
  flex: 0 0 auto;
}

.card .media {
  width: 108px;
  height: 108px;
  border-radius: 16px;
}

.feature-card .media,
.sheet-hero {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

.media.is-ready { animation: none; background: #241e18; }

.media.is-ready .ph { opacity: 0; }

.media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity .35s ease, transform .5s var(--ease);
}

.media.is-ready img { opacity: 1; transform: none; }

.ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1.7rem;
  color: var(--gold-2);
  background:
    radial-gradient(80px 60px at 30% 20%, rgba(224, 177, 90, 0.28), transparent 70%),
    radial-gradient(70px 60px at 80% 80%, rgba(156, 176, 92, 0.2), transparent 70%),
    #2a2118;
}

.badge {
  position: absolute;
  z-index: 1;
  top: 8px;
  inset-inline-start: 8px;
  max-width: calc(100% - 16px);
  padding: 4px 8px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  white-space: nowrap;
  color: var(--ink);
  background: rgba(243, 215, 161, 0.95);
}

.badge[data-kind="chef"] { background: #c4784e; color: #fff8f2; }
.badge[data-kind="new"] { background: #d7e2bc; color: #1a2410; }
.badge[data-kind="light"] { background: #d5e6c4; color: #17210f; }
.badge[data-kind="local"] { background: #e0b48a; color: var(--ink); }
.badge[data-kind="sold"] { background: rgba(28, 24, 20, 0.88); color: #f3f0ea; }

.card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 3px;
  padding-inline-end: 4px;
}

.card-title {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.note {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
  min-width: 0;
  max-width: 100%;
}

.allergen-row { display: flex; gap: 4px; min-height: 18px; }

.allergen {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.allergen svg,
.chip svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.price,
.sheet-price,
.ladder-row strong,
.price-duo {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--gold-2);
  letter-spacing: 0;
  unicode-bidi: isolate;
}

.price { font-size: 0.98rem; max-width: 100%; }

body.prices-off .price,
body.prices-off .price-duo,
body.prices-off .sheet-price,
body.prices-off .ladder,
body.prices-off .skel-price {
  display: none !important;
}

.price-duo {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  max-width: 100%;
  font-size: 0.92rem;
}

.price-duo small {
  margin-inline-end: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
}

.skel-price {
  display: inline-block;
  width: 62px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 20%, rgba(243, 215, 161, 0.28) 45%, rgba(255, 255, 255, 0.06) 70%);
  background-size: 220% 100%;
  animation: shimmer 1.25s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.results-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 4px;
  font-size: 1.35rem;
}

.text-btn {
  border: 0;
  background: transparent;
  color: var(--gold-2);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 650;
  padding: 8px 0;
}

.empty {
  margin: 24px 16px 36px;
  padding: 28px 18px;
  text-align: center;
  border-radius: 22px;
  border: 1px dashed rgba(224, 177, 90, 0.35);
}

.empty strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.45;
}

.empty p { color: var(--muted); margin-bottom: 8px; }

.fine { color: var(--muted); font-size: 0.82rem; line-height: 1.75; }

footer {
  padding: 28px 16px 36px;
  margin-top: 12px;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
}

.btn.solid {
  background: linear-gradient(180deg, rgba(224, 177, 90, 0.38), rgba(224, 177, 90, 0.1));
  border-color: rgba(224, 177, 90, 0.5);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--gold-2);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-grid {
  display: grid;
  gap: 14px;
  margin: 8px 0 16px;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--cream);
  font-size: 0.82rem;
}

.sheet-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }

.sheet-chips .chip { background: rgba(255, 255, 255, 0.03); }

.copy { color: var(--muted); font-size: 0.85rem; }

.thumb {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  gap: 2px;
  width: auto;
  max-width: 100%;
  padding: 6px max(8px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
  background: rgba(12, 11, 10, 0.78);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-top: 1px solid rgba(224, 177, 90, 0.18);
}

.thumb-btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding-inline: 2px;
  color: var(--cream);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 12px;
}

.thumb-btn span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thumb-btn svg { color: var(--gold-2); }

body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }

body.lock {
  position: fixed;
  left: 0;
  right: 0;
  width: auto;
  overflow: hidden;
}

.backdrop {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: auto;
  max-width: 100%;
  z-index: 60;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.backdrop.on { opacity: 1; pointer-events: auto; }

.sheet {
  --drag: 0px;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  max-width: 100%;
  z-index: 70;
  display: flex;
  flex-direction: column;
  max-height: min(92dvh, 880px);
  overflow-x: hidden;
  background:
    radial-gradient(420px 180px at 90% 0%, rgba(224, 177, 90, 0.14), transparent 60%),
    var(--bg-2);
  color: var(--cream);
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -24px 80px rgba(0, 0, 0, 0.55);
  transform: translate3d(0, calc(110% + var(--drag)), 0);
  transition: transform .42s var(--ease);
  padding-bottom: env(safe-area-inset-bottom);
}

.sheet.open { transform: translate3d(0, var(--drag), 0); }

.sheet.dragging { transition: none; }

.handle {
  display: grid;
  place-items: center;
  height: 28px;
  touch-action: none;
  cursor: grab;
  flex: 0 0 auto;
}

.handle span {
  width: 42px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
}

.sheet-close {
  position: absolute;
  top: 28px;
  inset-inline-end: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(12, 11, 10, 0.55);
  color: white;
  backdrop-filter: blur(8px);
}

.sheet-body {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
  max-width: 100%;
}

.sheet-hero {
  height: min(52vw, 250px);
  min-height: 168px;
  aspect-ratio: auto;
}

.sheet-copy { padding: 14px 16px 28px; }

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  margin-bottom: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold-2);
  font-weight: 650;
}

.back-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: scaleX(-1);
}

.sheet-kicker { margin-bottom: 6px; }

.sheet-kicker .badge { position: static; }

.sheet-title {
  font-family: var(--display);
  font-size: clamp(1.45rem, 6.2vw, 2.15rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.55;
}

.sheet-price {
  margin: 8px 0 4px;
  font-size: 1.35rem;
}

.sold-banner {
  margin: 8px 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(196, 107, 90, 0.16);
  color: var(--danger);
  font-weight: 650;
}

.warn {
  margin: 8px 0;
  color: var(--gold-2);
  font-size: 0.92rem;
}

.desc {
  margin: 10px 0;
  color: #e6dfd4;
  line-height: 1.9;
}

.subh {
  margin: 16px 0 6px;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.6;
  color: var(--gold);
}

.seg-row { display: flex; gap: 8px; margin: 10px 0; }

.seg {
  flex: 1 1 0;
  min-width: 0;
  min-height: 46px;
  padding-inline: 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  font-weight: 650;
  line-height: 1.35;
}

.seg.is-on {
  background: linear-gradient(180deg, #f0d7a2, #c9963f);
  color: var(--ink);
  border-color: transparent;
}

.seg.is-sold:not(.is-on) { opacity: 0.55; }

.ladder { display: grid; gap: 8px; margin: 10px 0 4px; }

.ladder-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.ladder-row span,
.ladder-row strong {
  min-width: 0;
}

.ladder-row span { color: var(--muted); }

.pair-row {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  padding-bottom: 4px;
  scrollbar-width: none;
  contain: inline-size;
}

.pair-row::-webkit-scrollbar { display: none; }

.pair {
  flex: 0 0 78%;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  min-width: 0;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-align: start;
}

.pair .media { width: 64px; height: 64px; border-radius: 12px; }

.pair-name {
  display: block;
  font-weight: 700;
  line-height: 1.5;
}

#menu.is-dim { opacity: 0.45; }

#menu { transition: opacity .18s ease; }

@media (hover: hover) and (min-width: 960px) {
  .card:hover,
  .feature-card:hover { border-color: rgba(243, 215, 161, 0.55); }
  .card:hover img,
  .feature-card:hover img { transform: scale(1.05); }
  .card:hover { transform: translateY(-3px); }
}

@media (min-width: 720px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .pair { flex-basis: 46%; }
}

@media (min-width: 840px) {
  .sheet {
    width: min(520px, calc(100vw - 32px));
    left: 50%;
    right: auto;
    bottom: 16px;
    border-radius: 28px;
    transform: translate3d(-50%, calc(110% + var(--drag)), 0);
  }
  .sheet.open { transform: translate3d(-50%, var(--drag), 0); }
  .sheet-hero { height: 280px; }
}

@media (min-width: 900px) {
  .desktop-links { display: flex; }
  .thumb { display: none; }
  body { padding-bottom: 32px; }
  .brand-text h1 { font-size: 16px; }
}

@media (min-width: 980px) {
  .feature-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
  }
  .feature-card { flex: none; width: auto; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .card {
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 0;
    gap: 0;
  }
  .card .media {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 0;
  }
  .card .card-body { padding: 12px 14px 14px; }
}

@media (max-width: 719px) {
  html, body { touch-action: pan-y; }
  .brand-mark img { width: 38px; height: 38px; border-radius: 12px; }
  .brand-row { padding: 8px 14px 0; }
  .brand-text h1 {
    letter-spacing: 0;
    font-size: clamp(15px, 4.4vw, 18px);
  }
  .search-row { padding: 6px 14px 0; }
  .search { min-height: 44px; }
  .scroller {
    flex-wrap: wrap;
    gap: 6px;
    padding: 4px 14px 6px;
    overflow: hidden;
    scroll-snap-type: none;
    contain: none;
  }
  .pill { min-height: 44px; max-width: 100%; padding: 0 13px; }
  #cats { padding-bottom: 8px; }
  .intro { padding: 12px 14px 2px; }
  .lede { font-size: 0.95rem; }
  .section-head { padding: 12px 14px 8px; }
  .section-head h2,
  .results-line { font-size: 1.35rem; }
  .section-head h2 { min-width: 0; }
  .feature-row,
  .grid { padding-inline: 12px; }
  .feature-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    overflow: hidden;
    scroll-snap-type: none;
    contain: none;
  }
  .feature-card { width: 100%; max-width: 100%; flex: none; }
  .card {
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: stretch;
    gap: 10px;
  }
  .card .media {
    width: 88px;
    height: auto;
    min-height: 88px;
    align-self: stretch;
  }
  .card-body { justify-content: flex-start; }
  .card-title { font-size: 1.02rem; }
  .note {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .sheet-copy { padding: 12px 14px calc(24px + env(safe-area-inset-bottom)); }
  .sheet-price { font-size: 1.2rem; }
  .desc { font-size: 0.98rem; }
  .pair-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
    contain: none;
  }
  .pair { width: 100%; max-width: 100%; flex: none; }
  .contact .btn { flex: 1 1 auto; justify-content: center; }
}

@media (max-width: 360px) {
  .card { grid-template-columns: 76px minmax(0, 1fr); gap: 8px; padding: 6px; }
  .card .media { width: 76px; min-height: 76px; border-radius: 14px; }
  .pill { padding: 0 11px; font-size: 13px; }
  .thumb-btn { font-size: 10px; min-height: 48px; }
  .seg { padding-inline: 8px; font-size: 0.88rem; }
}

@media (max-height: 500px) and (orientation: landscape) {
  .intro { display: none; }
  .brand-row { padding-top: 4px; }
  .feature-card { width: 100%; max-width: 100%; }
  .feature-card .media { max-height: 160px; }
  .sheet { max-height: 100dvh; border-radius: 18px 18px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
