/* Public Menu — red-neon six-category design. Namespaced .pm-* / .page-menu*. */
@font-face {
  font-family: "TinosMarck";
  src: url("/assets/fonts/photolab/MarckScript-Regular.ttf") format("truetype");
  font-display: swap;
}

html:has(.page-menu-body) {
  overflow-x: clip;
  scroll-behavior: smooth;
}

.page-menu-body {
  --pm-red: #ff1025;
  --pm-glass: rgba(12, 5, 7, 0.88);
  --pm-muted: #bdb5b7;
  --pm-line: rgba(255, 255, 255, 0.075);
  --pm-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
  background: #070305;
}

/* viewport-fixed cinematic background: one layer, never stretched to document height */
.page-menu__stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.page-menu__stage img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 30%;
  opacity: 0.9;
}

.page-menu__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 38% at 18% 14%, rgba(255, 16, 37, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 30% at 88% 10%, rgba(229, 9, 20, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(8, 6, 8, 0.35) 0, rgba(8, 6, 8, 0.62) 360px, rgba(8, 6, 8, 0.86) 100%);
}

.page-menu {
  position: relative;
  z-index: 1;
  padding: 14px 0 56px;
  min-height: 60vh;
  --pm-anchor: calc(var(--header-height, 80px) + 12px);
}

.page-menu .container {
  width: min(100% - 56px, 1640px);
}
@media (min-width: 1500px) {
  .page-menu .container { width: min(92vw, 1640px); }
}

:where(.page-menu) button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
:where(.page-menu) svg { display: block; }
.page-menu a:focus-visible, .page-menu button:focus-visible { outline: 2px solid #ff5a66; outline-offset: 2px; }

/* ---------- hero ---------- */
.pm-hero__top { position: relative; z-index: 2; display: flex; justify-content: center; min-height: clamp(160px, 11.5vw, 200px); }
.pm-hero__title { text-align: center; }
.pm-chrome {
  margin: 0;
  font: italic 900 clamp(88px, 10vw, 184px) / 0.9 "Roboto Condensed", "Arial Narrow", sans-serif;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  padding: 6px 14px 10px 6px;
  background: linear-gradient(180deg, #fff 0%, #f3eded 30%, #9c9496 49%, #5b5456 52%, #e9e2e3 62%, #fff 82%, #bdb4b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 rgba(90, 0, 12, 0.9)) drop-shadow(0 0 18px rgba(255, 16, 37, 0.55)) drop-shadow(0 0 46px rgba(229, 9, 20, 0.35));
}
.pm-hero__sub { margin: 6px 0 0; font-size: 15px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: #f1ebec; text-shadow: 0 2px 12px #000; }
.pm-hero__sub::before { content: ""; display: block; width: 64px; height: 3px; margin: 0 auto 12px; border-radius: 3px; background: var(--pm-red); box-shadow: 0 0 10px var(--pm-red), 0 0 22px rgba(255, 16, 37, 0.7); }

.pm-sign { position: absolute; left: calc(50% + 13.4vw); top: -4px; width: clamp(290px, 20vw, 340px); transform: rotate(-5deg); color: #ff4a5a; pointer-events: none; }
.pm-sign__crown { width: 44px; margin: 0 0 -2px 70px; filter: drop-shadow(0 0 6px rgba(255, 16, 37, 0.95)) drop-shadow(0 0 16px rgba(255, 16, 37, 0.6)); }
.pm-sign__text { margin: 0; display: flex; flex-direction: column; font-family: "TinosMarck", "Marck Script", cursive; font-size: clamp(36px, 2.5vw, 43px); line-height: 1.05; color: #ffb3b8; text-shadow: 0 0 3px #ff6b76, 0 0 10px #ff1025, 0 0 24px rgba(255, 16, 37, 0.85), 0 0 48px rgba(255, 16, 37, 0.5); }
.pm-sign__text span:nth-child(2) { padding-left: 14px; }
.pm-sign__text span:nth-child(3) { padding-left: 34px; }
.pm-sign__swoosh { width: 84%; height: 12px; margin: 2px 0 0 14%; filter: drop-shadow(0 0 6px rgba(255, 16, 37, 0.9)); }

/* ============ SIX CATEGORY CARDS ============
   One component. Box = 100 x 64.5 units (1 unit = 1cqw). The glass panel starts 8 units below the top of
   the box; the product PNG is a separate foreground layer that breaks out of the panel. */
.pm-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(20px, 2.2vw, 40px);
  row-gap: clamp(30px, 2.8vw, 46px);
  padding-top: 26px;
  padding-bottom: 14px;
}
.pm-card {
  --acc: #ff2a3c;
  --acc-rgb: 255, 42, 60;
  --aw: 66;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 100 / 64.5;
  text-align: center;
  color: #fff;
  text-decoration: none;
  container-type: inline-size;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.35s var(--pm-ease);
}
.pm-card__glass { position: absolute; z-index: 0; inset: 8cqw 0 0 0; border-radius: 6cqw; pointer-events: none; }
.pm-card__glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(60% 90% at 80% 45%, rgba(var(--acc-rgb), 0.14), transparent 70%), linear-gradient(135deg, rgba(38, 8, 14, 0.88), rgba(9, 4, 6, 0.93));
  box-shadow: 0 1.6cqw 4cqw rgba(0, 0, 0, 0.55), 0 0 5cqw rgba(255, 16, 37, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 6cqw rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.pm-card__glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 0.45cqw;
  background: linear-gradient(150deg, rgba(255, 82, 96, 1), rgba(229, 9, 20, 0.5) 40%, rgba(153, 0, 20, 0.3) 62%, rgba(255, 50, 64, 0.9));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  mask-composite: exclude;
  filter: drop-shadow(0 0 0.9cqw rgba(255, 16, 37, 0.6));
  transition: filter 0.3s;
}
.pm-card__ring { position: absolute; z-index: 0; inset: 8cqw 0 0 0; border-radius: 6cqw; pointer-events: none; opacity: 0; transition: opacity 0.3s; box-shadow: 0 0 5cqw rgba(255, 16, 37, 0.6), inset 0 0 5cqw rgba(255, 16, 37, 0.22); }
.pm-card:hover { transform: translateY(-0.9cqw); }
.pm-card:hover .pm-card__ring { opacity: 0.6; }
.pm-card.is-on .pm-card__ring, .pm-card:focus-visible .pm-card__ring { opacity: 1; }
.pm-card.is-on .pm-card__glass::after { filter: drop-shadow(0 0 1.4cqw rgba(255, 40, 55, 0.95)) drop-shadow(0 0 3cqw rgba(255, 16, 37, 0.6)); }
.page-menu .pm-card:focus-visible { outline: none; }

.pm-card__art { position: absolute; z-index: 2; left: max(-4cqw, -14px); bottom: -5cqw; width: calc(var(--aw) * 1cqw); height: auto; pointer-events: none; max-width: none; filter: drop-shadow(0 1.8cqw 2cqw rgba(0, 0, 0, 0.6)) drop-shadow(0 0 3.2cqw rgba(var(--acc-rgb), 0.24)); transition: transform 0.45s var(--pm-ease); transform-origin: 40% 100%; }
.pm-card:hover .pm-card__art { transform: scale(1.04) translateY(-0.8cqw); }

.pm-card__col { position: absolute; z-index: 3; left: 61cqw; right: 3cqw; top: 8cqw; bottom: 0; pointer-events: none; }
.pm-card__col > * { position: absolute; left: 50%; transform: translate(-50%, -50%); margin: 0; }
.pm-card__ico { top: 11.5cqw; width: 13.5cqw; height: 13.5cqw; color: var(--acc); filter: drop-shadow(0 0 0.4cqw var(--acc)) drop-shadow(0 0 1.5cqw rgba(var(--acc-rgb), 0.9)) drop-shadow(0 0 3.4cqw rgba(var(--acc-rgb), 0.55)); transition: transform 0.35s var(--pm-ease); }
.pm-card__ico svg { width: 100%; height: 100%; }
.pm-card:hover .pm-card__ico { transform: translate(-50%, -52%) scale(1.07); }
.pm-card.is-on .pm-card__ico { animation: pm-glow 1.4s ease-out 1; }
.pm-card strong { top: 24.6cqw; width: 100%; font: 800 5.6cqw / 1 "Inter", sans-serif; letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap; text-shadow: 0 0.3cqw 1.6cqw rgba(0, 0, 0, 0.85); }
.pm-card em { top: 33.4cqw; width: 100%; font-style: normal; font-weight: 500; font-size: 3.45cqw; line-height: 1.32; color: #d0c8ca; text-wrap: balance; text-shadow: 0 1px 8px #000; }
.pm-card__go { top: 46.2cqw; width: 9.2cqw; height: 9.2cqw; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 0.5cqw solid var(--acc); box-shadow: 0 0 1.8cqw rgba(var(--acc-rgb), 0.75), inset 0 0 1.8cqw rgba(var(--acc-rgb), 0.22); transition: background 0.25s, color 0.25s, transform 0.25s var(--pm-ease); }
.pm-card__go svg { width: 46%; height: 46%; }
.pm-card:hover .pm-card__go, .pm-card.is-on .pm-card__go { background: var(--acc); color: #1a0306; transform: translate(-50%, -50%) scale(1.08); }
@keyframes pm-glow { 0%, 100% { opacity: 1; } 45% { opacity: 1; filter: drop-shadow(0 0 0.6cqw #fff) drop-shadow(0 0 3cqw var(--acc)) drop-shadow(0 0 6cqw rgba(var(--acc-rgb), 0.9)); } }

/* category accents: the UI stays red, only icon / arrow / art halo change. Colours live in menu-accents.css (shared with the Admin Menu). */

/* ---------- search ---------- */
.pm-find { padding-top: 34px; padding-bottom: 18px; display: flex; justify-content: center; }
.pm-search { position: relative; display: block; width: min(620px, 100%); }
.pm-search svg { position: absolute; left: 14px; top: 50%; width: 19px; height: 19px; margin-top: -9.5px; color: var(--pm-muted); transition: color 0.2s; pointer-events: none; }
.pm-search input { width: 100%; height: 52px; padding: 0 14px 0 42px; border-radius: 16px; border: 1px solid rgba(255, 16, 37, 0.4); background: rgba(8, 6, 8, 0.78); color: #fff; font: 500 16px "Inter", sans-serif; outline: none; box-shadow: 0 0 24px rgba(255, 16, 37, 0.12); transition: border-color 0.25s, box-shadow 0.25s, background 0.25s; -webkit-appearance: none; appearance: none; }
.pm-search input::placeholder { color: #9a9193; }
.pm-search input:focus { border-color: rgba(255, 70, 85, 0.9); box-shadow: 0 0 0 3px rgba(255, 16, 37, 0.16), 0 0 22px rgba(255, 16, 37, 0.35); background: rgba(20, 5, 8, 0.9); }
.pm-search:focus-within svg { color: #ff4a58; }
.pm-search input::-webkit-search-cancel-button { filter: invert(1) opacity(0.6); }

/* ---------- opened section ---------- */
.pm-open { padding-top: 6px; scroll-margin-top: var(--pm-anchor); animation: pm-rise 0.45s var(--pm-ease) both; }
.pm-open[hidden], .pm-root[hidden], .pm-none[hidden], .pm-chips[hidden], .pm-top[hidden] { display: none; }
.pm-open__head { display: flex; align-items: center; gap: 16px; padding: 6px 4px 14px; border-bottom: 1px solid rgba(255, 16, 37, 0.3); position: relative; }
.pm-open__head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 140px; height: 2px; background: var(--pm-red); box-shadow: 0 0 10px var(--pm-red), 0 0 22px rgba(255, 16, 37, 0.7); }
.pm-open__ico { width: 48px; height: 48px; color: #ff2c3d; filter: drop-shadow(0 0 4px #ff2c3d) drop-shadow(0 0 14px rgba(255, 16, 37, 0.6)); }
.pm-open__ico svg { width: 100%; height: 100%; }
.pm-open__titles h2 { margin: 0; font: 900 36px / 1 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; }
.pm-open__titles p { margin: 4px 0 0; color: var(--pm-muted); font-size: 14px; }
.pm-close { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(8, 6, 8, 0.6); transition: border-color 0.2s, box-shadow 0.2s; }
.pm-close:hover { border-color: rgba(255, 70, 85, 0.8); box-shadow: 0 0 16px rgba(255, 16, 37, 0.4); }
.pm-close svg { width: 20px; height: 20px; }

.pm-root__title { display: none; margin: 18px 2px 4px; font: 900 26px / 1 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; }
.pm-root__title span { margin-left: 10px; font: 500 13px "Inter", sans-serif; color: var(--pm-muted); letter-spacing: 0; }
.pm-open.is-searching .pm-root__title { display: block; }

.pm-pills, .pm-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pm-pills { padding: 16px 0 4px; }
.pm-chips { padding: 8px 0 4px; }
.pm-pill, .pm-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.06); font-size: 15px; font-weight: 600; color: #e6dfe0; transition: color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s; }
.pm-pill small, .pm-chip small { font-size: 12px; color: #9a9193; font-variant-numeric: tabular-nums; }
.pm-pill:hover, .pm-chip:hover { border-color: rgba(255, 70, 85, 0.7); color: #fff; }
.pm-pill.is-on { color: #fff; border-color: rgba(255, 70, 85, 0.95); background: linear-gradient(180deg, rgba(255, 16, 37, 0.32), rgba(153, 0, 20, 0.3)); box-shadow: 0 0 18px rgba(255, 16, 37, 0.4), inset 0 0 12px rgba(255, 16, 37, 0.15); }
.pm-chip { min-height: 38px; padding: 0 14px; font-size: 14px; font-weight: 500; }
.pm-chip.is-on { color: #fff; border-color: rgba(255, 70, 85, 0.9); background: rgba(255, 16, 37, 0.22); box-shadow: 0 0 14px rgba(255, 16, 37, 0.35); }
.pm-open.is-searching .pm-pills { display: none; }

.pm-content { margin-top: 14px; display: flex; flex-direction: column; gap: 14px; }
.pm-sub[hidden], .pm-panel[hidden], .pm-prod[hidden], .pm-grid[hidden], .pm-subhead[hidden] { display: none; }
.pm-subhead { display: flex; align-items: baseline; gap: 12px; margin: 10px 2px 8px; }
.pm-subhead h3 { margin: 0; font: 800 22px / 1.1 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; text-shadow: 0 0 18px rgba(255, 16, 37, 0.45); }
.pm-subhead span { color: var(--pm-muted); font-size: 13px; }
.pm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.pm-panel { position: relative; padding: 16px 22px 8px; border-radius: 20px; background: var(--pm-glass); border: 1px solid rgba(255, 16, 37, 0.2); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06); scroll-margin-top: var(--pm-anchor); }
.pm-panel::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 70, 85, 0.9), transparent); opacity: 0.6; }
.pm-panel.is-wide, .pm-grid > .pm-panel:only-child { grid-column: 1 / -1; }
.pm-phead { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.pm-phead h3, .pm-phead h4 { margin: 0; font: 800 19px / 1.1 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: 0.07em; text-transform: uppercase; }
.pm-phead::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255, 16, 37, 0.45), transparent); order: 1; }
.pm-phead .pm-n { order: 2; font-size: 12px; color: var(--pm-muted); font-variant-numeric: tabular-nums; }

.pm-prods { list-style: none; margin: -1px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; column-gap: 40px; }
.is-wide .pm-prods, .pm-grid > .pm-panel:only-child .pm-prods { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: repeat(var(--r, 1), auto); }
.pm-prod { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 11px 6px; border-top: 1px solid var(--pm-line); border-radius: 6px; transition: background 0.25s; }
.pm-prod:hover { background: linear-gradient(90deg, rgba(255, 16, 37, 0.1), rgba(255, 16, 37, 0) 85%); }
.pm-prod img { width: 56px; height: 56px; flex: none; border-radius: 10px; object-fit: cover; border: 1px solid rgba(255, 70, 85, 0.35); }
.pm-name { flex: 1; min-width: 0; padding-top: 5px; }
.pm-name h4 { margin: 0; font-size: 16.5px; font-weight: 600; line-height: 1.28; overflow-wrap: anywhere; }
.pm-name p { margin: 3px 0 0; font-size: 13px; line-height: 1.4; color: var(--pm-muted); }
.pm-vars { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.pm-var { display: flex; align-items: center; gap: 12px; }
.pm-ml { min-width: 50px; text-align: right; font-size: 12.5px; font-weight: 500; color: var(--pm-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pm-price { display: inline-flex; align-items: baseline; justify-content: flex-end; gap: 5px; min-width: 112px; padding: 4px 11px 5px; border-radius: 10px; background: rgba(255, 16, 37, 0.07); border: 1px solid rgba(255, 16, 37, 0.34); box-shadow: inset 0 0 12px rgba(255, 16, 37, 0.08), 0 0 14px rgba(255, 16, 37, 0.1); white-space: nowrap; transition: box-shadow 0.25s, border-color 0.25s; }
.pm-price b { font: 800 19px / 1.15 "Inter", sans-serif; font-variant-numeric: tabular-nums; color: #ff4455; text-shadow: 0 0 5px rgba(255, 16, 37, 0.85), 0 0 14px rgba(255, 16, 37, 0.45); }
.pm-price i { font-style: normal; font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; color: #e8a5ab; }
.pm-prod:hover .pm-price { border-color: rgba(255, 70, 85, 0.75); box-shadow: inset 0 0 14px rgba(255, 16, 37, 0.14), 0 0 20px rgba(255, 16, 37, 0.32); }

/* coming soon */
.pm-soon { position: relative; margin-top: 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 54px 24px 58px; text-align: center; border-radius: 22px; background: radial-gradient(60% 80% at 50% 0%, rgba(255, 16, 37, 0.14), transparent 70%), var(--pm-glass); border: 1px solid rgba(255, 16, 37, 0.32); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 40px rgba(255, 16, 37, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.pm-soon__ico { width: 84px; height: 84px; color: #ff2c3d; filter: drop-shadow(0 0 4px #ff2c3d) drop-shadow(0 0 18px rgba(255, 16, 37, 0.65)); }
.pm-soon__ico svg { width: 100%; height: 100%; }
.pm-soon b { margin-top: 10px; font: 900 34px / 1.1 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; text-shadow: 0 0 22px rgba(255, 16, 37, 0.55); }
.pm-soon p { margin: 0; max-width: 460px; color: var(--pm-muted); font-size: 16px; line-height: 1.5; }

.pm-none { margin: 18px 0; padding: 44px 20px; text-align: center; border-radius: 20px; background: var(--pm-glass); border: 1px dashed rgba(255, 16, 37, 0.4); color: var(--pm-muted); }
.pm-none b { font-size: 17px; font-weight: 600; color: #fff; }
.pm-empty { padding: 40px 0; text-align: center; color: var(--pm-muted); }

/* Back-to-categories control: red-neon ring and arrow (never black), one calm ring pulse while visible, static under reduced motion */
.pm-top { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 70; width: 52px; height: 52px; padding: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #ff4152; background: rgba(12, 5, 7, 0.92); border: 1.5px solid #ff3a4a; box-shadow: 0 0 14px rgba(255, 30, 50, 0.55), inset 0 0 8px rgba(255, 30, 50, 0.22); transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease; }
.pm-top svg { position: relative; width: 22px; height: 22px; filter: drop-shadow(0 0 4px rgba(255, 60, 80, 0.9)); }
.pm-top::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1.5px solid rgba(255, 58, 74, 0.8); opacity: 0; pointer-events: none; animation: pm-top-ring 2.8s ease-out infinite; }
.pm-top:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 0 20px rgba(255, 40, 60, 0.8), inset 0 0 10px rgba(255, 30, 50, 0.35); }
.pm-top:focus-visible { color: #fff; outline: 2px solid #fff; outline-offset: 3px; }
@keyframes pm-top-ring { 0% { opacity: 0.8; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.38); } }
@media (prefers-reduced-motion: reduce) { .pm-top::after { animation: none; opacity: 0; } .pm-top, .pm-top:hover { transition: none; transform: none; } }

@keyframes pm-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ======================= TABLET / MOBILE ======================= */
@media (max-width: 1180px) {
  .pm-sign { position: relative; left: auto; top: auto; width: auto; margin: 6px auto 0; display: table; transform: rotate(-3deg); }
  .pm-hero__top { display: block; min-height: 0; }
}

@media (max-width: 860px) {
  .page-menu { display: flex; flex-direction: column; padding-top: 8px; }
  .pm-hero { order: 0; }
  .pm-find { order: 1; }
  .pm-cards, .pm-empty { order: 2; }
  .pm-open { order: 3; width: min(100% - 32px, 1440px); }
  .page-menu.is-searching .pm-open { order: 1; }
  .page-menu.is-searching .pm-cards { order: 2; }
  .page-menu .container { width: min(100% - 32px, 1440px); }
  .pm-hero__top { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 10px; min-height: 0; }
  .pm-hero__title { display: contents; }
  .pm-chrome { grid-column: 1; grid-row: 1; font-size: clamp(54px, 17vw, 84px); padding: 2px 4px 4px 0; }
  .pm-hero__sub { grid-column: 1 / -1; grid-row: 2; margin: 2px 0 0; font-size: 10.5px; letter-spacing: 0.1em; line-height: 1.45; }
  .pm-hero__sub::before { width: 40px; height: 2px; margin: 0 auto 6px 0; }
  .pm-hero__sub { text-align: left; }
  .pm-sign { display: block; grid-column: 2; grid-row: 1; position: relative; left: auto; top: auto; width: auto; margin: 10px 0 0; justify-self: end; transform: rotate(-4deg); }
  .pm-sign__crown { width: 24px; margin: 0 0 -2px 22px; }
  .pm-sign__text { font-size: clamp(17px, 5.3vw, 25px); align-items: flex-start; white-space: nowrap; }
  .pm-sign__text span:nth-child(2) { padding-left: 8px; }
  .pm-sign__text span:nth-child(3) { padding-left: 16px; }
  .pm-sign__swoosh { height: 6px; margin-top: 1px; }

  .pm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; row-gap: 22px; padding-top: 14px; }
  .pm-find { padding-top: 10px; padding-bottom: 4px; }
  .pm-search { width: 100%; }
  .pm-search input { height: 46px; border-radius: 14px; }
  .pm-open__ico { width: 38px; height: 38px; }
  .pm-open__titles h2 { font-size: 27px; }
  .pm-open__titles p { display: none; }
  .pm-pills { gap: 8px; }
  .pm-pill { padding: 0 14px; font-size: 14.5px; }
  .pm-chips { gap: 8px; }
  .pm-subhead h3 { font-size: 19px; }
  .pm-grid { grid-template-columns: 1fr; gap: 12px; }
  .pm-panel { padding: 14px 14px 6px; border-radius: 18px; }
  .pm-panel.is-wide, .pm-grid > .pm-panel:only-child { grid-column: auto; }
  .is-wide .pm-prods, .pm-grid > .pm-panel:only-child .pm-prods { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; }
  .pm-phead h3, .pm-phead h4 { font-size: 18px; }
  .pm-prod { padding: 10px 2px; gap: 10px; }
  .pm-name h4 { font-size: 16px; }
  .pm-name { padding-top: 4px; }
  .pm-var { gap: 9px; }
  .pm-price { min-width: 98px; padding: 3px 9px 4px; }
  .pm-price b { font-size: 18px; }
  .pm-soon { padding: 40px 18px 44px; }
  .pm-soon b { font-size: 28px; }
}

@media (max-width: 600px) {
  .pm-cards { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .pm-price { min-width: 90px; }
  .pm-price b { font-size: 17px; }
}

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

/* normatives: one ingredient per line (the description holds the whole recipe, one line each) */
.pm-norm { list-style: none; margin: 5px 0 0; padding: 0; display: grid; gap: 2px; }
.pm-norm li { position: relative; padding-left: 13px; font-size: 13px; line-height: 1.42; color: var(--pm-muted); overflow-wrap: anywhere; }
.pm-norm li::before { content: ""; position: absolute; left: 1px; top: 0.62em; width: 5px; height: 5px; border-radius: 50%; background: var(--pm-red); box-shadow: 0 0 6px rgba(255, 16, 37, 0.7); }

/* owner preview of the unpublished Food menu (Admin only): banner + the placeholder shown instead of a price */
.pm-preview-banner { margin: 14px 0 0; padding: 10px 14px; border: 1px dashed rgba(255, 190, 80, 0.7); border-radius: 12px; background: rgba(60, 40, 8, 0.6); color: #ffe3a6; font-size: 0.88rem; line-height: 1.45; }
.pm-preview-banner strong { color: #fff; }
.pm-price--soon { min-width: 0; max-width: 11em; text-align: center; }
.pm-price--soon b { font-size: 0.82rem; font-weight: 700; line-height: 1.25; letter-spacing: 0.01em; white-space: normal; color: #ffb3bb; }
/* ingredients are folded behind "See ingredients" so a dish stays one compact row */
.pm-ing { margin: 4px 0 0; }
.pm-ing > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 2px 0; cursor: pointer; list-style: none; font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; color: var(--pm-red); user-select: none; }
.pm-ing > summary::-webkit-details-marker { display: none; }
.pm-ing > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.18s ease; }
.pm-ing[open] > summary::after { transform: rotate(225deg) translateY(-2px); }
.pm-ing > summary:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
.pm-ing[open] .pm-norm { margin-top: 4px; }
@media (prefers-reduced-motion: reduce) { .pm-ing > summary::after { transition: none; } }

/* Category pills and section chips: neon light-red outline so they read clearly on the dark photo background. */
.pm-pill, .pm-chip { border: 1.5px solid #ff4d5e; box-shadow: 0 0 6px rgba(255, 77, 94, 0.65), 0 0 16px rgba(255, 40, 60, 0.28), inset 0 0 8px rgba(255, 77, 94, 0.14); }
.pm-pill:hover, .pm-chip:hover { border-color: #ff8a97; box-shadow: 0 0 8px rgba(255, 110, 125, 0.85), 0 0 22px rgba(255, 40, 60, 0.4), inset 0 0 10px rgba(255, 77, 94, 0.2); }
.pm-pill.is-on, .pm-chip.is-on { border-color: #ff7381; box-shadow: 0 0 9px rgba(255, 90, 105, 0.9), 0 0 26px rgba(255, 16, 37, 0.5), inset 0 0 12px rgba(255, 16, 37, 0.22); }
