/* Speedy Gonzales — menu digitale responsive, Cloudflare-ready */
:root {
  --black: #080706;
  --black-2: #12100d;
  --cream: #fff1d2;
  --paper: #f4dca8;
  --paper-2: #e7c780;
  --gold: #d9a13a;
  --gold-light: #f4c86a;
  --red: #b31518;
  --red-dark: #6f0b0d;
  --green: #2a7b31;
  --ink: #28180d;
  --muted: #8b765d;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
  --radius: 18px;
  --topbar-h: 72px;
  --tools-h: 130px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + var(--tools-h) + 14px);
  -webkit-text-size-adjust: 100%;
}

body {
  position: static;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: clip;
  overflow-y: visible;
  touch-action: pan-x pan-y pinch-zoom;
  color: var(--cream);
  background:
    radial-gradient(circle at 15% 10%, rgba(179, 21, 24, 0.12), transparent 28rem),
    repeating-linear-gradient(92deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, #050504, #100d09 55%, #050504);
  font-family: "Lora", Georgia, serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}

main,
header,
footer,
section,
nav,
div {
  min-width: 0;
}

img,
svg {
  max-width: 100%;
}

img {
  display: block;
}

svg {
  width: 1.25em;
  height: 1.25em;
  fill: currentColor;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  color: #111;
  background: var(--gold);
}

.skip-link:focus {
  top: 1rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: var(--topbar-h);
  padding: 0.45rem clamp(0.8rem, 3vw, 2.2rem);
  border-bottom: 1px solid rgba(217, 161, 58, 0.35);
  background: rgba(7, 6, 5, 0.92);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  text-decoration: none;
}

.topbar__brand img {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 9px #000);
}

.topbar__brand span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.topbar__brand b {
  overflow: hidden;
  font: 600 1rem/1.1 "Oswald", sans-serif;
  letter-spacing: 0.05em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.topbar__brand small {
  color: var(--gold-light);
  font-size: 0.72rem;
  white-space: nowrap;
}

.topbar__call {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0.68rem 0.9rem;
  border: 1px solid #e2473c;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  box-shadow: 0 8px 24px rgba(179, 21, 24, 0.28);
  font: 600 0.9rem/1 "Oswald", sans-serif;
  text-decoration: none;
  animation: softPulse 2.8s ease-in-out infinite;
}

.topbar__call svg {
  width: 18px;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: min(820px, calc(100svh - var(--topbar-h)));
  padding: 3.4rem 1rem 4.8rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(217, 161, 58, 0.28);
  background:
    radial-gradient(circle at 50% 44%, rgba(178, 18, 20, 0.16), transparent 40%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.75));
  text-align: center;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(5px);
}

.hero::before {
  top: 4rem;
  left: -19rem;
  width: 32rem;
  height: 32rem;
  border: 2px solid rgba(217, 161, 58, 0.18);
  box-shadow: 0 0 80px rgba(217, 161, 58, 0.08);
}

.hero::after {
  right: -16rem;
  bottom: -6rem;
  width: 27rem;
  height: 27rem;
  border: 2px solid rgba(179, 21, 24, 0.16);
}

.hero__glow {
  position: absolute;
  inset: 5% 8%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(217, 161, 58, 0.1), transparent 65%);
}

.hero__content {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: min(760px, 100%);
}

.hero__kicker {
  margin: 0 0 0.4rem;
  color: var(--gold-light);
  font: 500 clamp(0.78rem, 2vw, 1rem)/1 "Oswald", sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero__logo {
  width: min(560px, 88vw);
  height: auto;
  max-height: 51vh;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.75));
  animation: logoFloat 7s ease-in-out infinite;
}

.hero h1 {
  margin: -0.25rem 0 0.8rem;
  color: var(--cream);
  font: 400 clamp(2rem, 6vw, 4.2rem)/1 "Rye", serif;
  text-shadow: 0 4px 0 #4f0a0a, 0 8px 20px #000;
}

.hero__intro {
  max-width: 640px;
  margin: 0;
  color: #eadfc9;
  font-size: clamp(0.98rem, 2vw, 1.16rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin: 1.5rem 0 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  font: 600 0.95rem/1 "Oswald", sans-serif;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible,
.category-chip:focus-visible,
.topbar__call:focus-visible,
.mobile-dock a:focus-visible,
.searchbox__clear:focus-visible,
.back-to-full:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

.btn--primary {
  border: 1px solid #f34e4e;
  background: linear-gradient(180deg, #d52124, #9d0e11);
  box-shadow: 0 12px 28px rgba(179, 21, 24, 0.35);
}

.btn--ghost {
  border: 1px solid rgba(217, 161, 58, 0.55);
  color: var(--gold-light);
  background: rgba(0, 0, 0, 0.35);
}

.hero__services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.1rem;
  color: #e8c880;
  font: 500 0.84rem/1.3 "Oswald", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  width: 25px;
  height: 40px;
  border: 1px solid rgba(244, 200, 106, 0.45);
  border-radius: 999px;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity 0.2s, visibility 0.2s;
}

.past-hero .scroll-cue {
  visibility: hidden;
  opacity: 0;
}

.scroll-cue span {
  display: block;
  width: 4px;
  height: 8px;
  margin: 8px auto;
  border-radius: 99px;
  background: var(--gold-light);
  animation: scrollCue 1.7s infinite;
}

.menu-tools {
  position: sticky;
  top: var(--topbar-h);
  z-index: 40;
  width: 100%;
  border-bottom: 1px solid rgba(217, 161, 58, 0.22);
  background: rgba(14, 12, 9, 0.97);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}

.menu-tools__inner {
  width: min(1180px, 100%);
  margin: auto;
  padding: 0.8rem clamp(0.8rem, 3vw, 1.5rem) 0.65rem;
}

.searchbox {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  height: 48px;
  padding: 0 0.9rem;
  border: 1px solid rgba(217, 161, 58, 0.34);
  border-radius: 14px;
  background: #1d1913;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.searchbox:focus-within {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(217, 161, 58, 0.13);
}

.searchbox svg {
  flex: 0 0 auto;
  color: var(--gold-light);
}

.searchbox input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font: 500 1rem/1 "Lora", serif;
}

.searchbox input::placeholder {
  color: #aa9e8d;
  opacity: 1;
}

.searchbox input::-webkit-search-cancel-button {
  display: none;
  -webkit-appearance: none;
}

.searchbox__clear {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.search-status {
  min-height: 1.1em;
  margin: 0.3rem 0 0;
  color: var(--gold-light);
  font-size: 0.78rem;
}

.category-nav {
  display: flex;
  gap: 0.55rem;
  max-width: 100%;
  padding: 0.4rem 0 0.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.category-chip {
  flex: 0 0 auto;
  padding: 0.62rem 0.88rem;
  border: 1px solid rgba(217, 161, 58, 0.27);
  border-radius: 999px;
  color: #eadfc9;
  background: #17130f;
  font: 500 0.82rem/1 "Oswald", sans-serif;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.category-chip:hover,
.category-chip.is-active {
  border-color: #e24e48;
  color: #fff;
  background: var(--red);
  box-shadow: 0 7px 18px rgba(179, 21, 24, 0.24);
}

.menu-wrap {
  width: min(1180px, 100%);
  margin: auto;
  padding: clamp(2.2rem, 6vw, 5.5rem) clamp(0.8rem, 3vw, 1.5rem) 4rem;
}

.menu-section {
  margin-bottom: clamp(3.4rem, 8vw, 6.5rem);
  scroll-margin-top: calc(var(--topbar-h) + var(--tools-h) + 14px);
}

.section-heading {
  margin-bottom: 1.4rem;
  text-align: center;
}

.section-heading__eyebrow {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--gold-light);
  font: 500 0.77rem/1 "Oswald", sans-serif;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.section-heading h2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  color: #f7e1b8;
  font: 400 clamp(1.75rem, 4.7vw, 3rem)/1.12 "Rye", serif;
  text-shadow: 0 3px 0 #631013, 0 7px 17px #000;
  text-transform: uppercase;
}

.section-heading h2 span {
  color: var(--red);
  font-size: 0.55em;
}

.section-heading::after {
  content: "";
  display: block;
  width: min(220px, 45vw);
  height: 8px;
  margin: 0.8rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  clip-path: polygon(0 42%, 42% 42%, 46% 0, 50% 42%, 54% 0, 58% 42%, 100% 42%, 100% 58%, 58% 58%, 54% 100%, 50% 58%, 46% 100%, 42% 58%, 0 58%);
}

.food-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1rem;
  margin: 0 0 1rem;
}

.food-card {
  position: relative;
  min-height: 240px;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(217, 161, 58, 0.52);
  border-radius: var(--radius);
  background: #111;
  box-shadow: var(--shadow);
}

.food-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.3s;
}

.food-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.07);
}

.food-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(transparent 48%, rgba(0, 0, 0, 0.9));
}

.food-card figcaption {
  position: absolute;
  right: 1rem;
  bottom: 0.8rem;
  left: 1rem;
  z-index: 1;
  color: #fff;
  font: 600 1rem/1.25 "Oswald", sans-serif;
  text-shadow: 0 2px 6px #000;
  text-transform: uppercase;
}

.menu-list {
  position: relative;
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 2px solid #b47a20;
  border-radius: 5px;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 10% 20%, rgba(110, 58, 15, 0.08), transparent 22%),
    linear-gradient(135deg, var(--paper), #f7e7c0 48%, var(--paper-2));
  box-shadow:
    inset 0 0 0 4px rgba(255, 244, 205, 0.65),
    inset 0 0 35px rgba(91, 45, 8, 0.16),
    var(--shadow);
}

.menu-list::before,
.menu-list::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: #7f4a11;
  pointer-events: none;
}

.menu-list::before {
  top: 6px;
  left: 6px;
  border-top: 3px solid;
  border-left: 3px solid;
}

.menu-list::after {
  right: 6px;
  bottom: 6px;
  border-right: 3px solid;
  border-bottom: 3px solid;
}

.menu-item {
  padding: 0.68rem 0;
  border-bottom: 1px solid rgba(92, 52, 15, 0.16);
  break-inside: avoid;
}

.menu-item:last-child {
  border-bottom: 0;
}

.menu-item__top {
  display: flex;
  align-items: baseline;
  gap: 0.42rem;
  min-width: 0;
}

.menu-item .star {
  flex: 0 0 auto;
  color: var(--red);
  font-size: 0.72rem;
}

.menu-item h3 {
  min-width: 0;
  margin: 0;
  color: #37200e;
  font: 600 clamp(0.99rem, 2vw, 1.13rem)/1.2 "Oswald", sans-serif;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.menu-item .leader {
  min-width: 12px;
  flex: 1 1 20px;
  border-bottom: 2px dotted rgba(70, 39, 12, 0.45);
  transform: translateY(-0.22em);
}

.price {
  flex: 0 0 auto;
  color: #821216;
  font: 700 1rem/1 "Oswald", sans-serif;
  white-space: nowrap;
}

.menu-item p {
  margin: 0.28rem 0 0 1.15rem;
  color: #5e4731;
  font-size: 0.88rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.menu-item mark {
  padding: 0 0.08em;
  border-radius: 3px;
  color: #2b180b;
  background: #ffd46c;
}

.menu-note {
  margin: 0.85rem 0 0;
  color: #dcc8a5;
  font-size: 0.82rem;
  text-align: center;
}

body.is-searching .food-gallery {
  display: none;
}

.no-results {
  padding: 3rem 1rem;
  color: #eadfc9;
  text-align: center;
}

.no-results span {
  color: var(--red);
  font-size: 2rem;
}

.no-results h2 {
  margin: 0.7rem 0;
  font: 400 2rem/1.1 "Rye", serif;
}

.no-results p {
  color: #b9ab97;
}

.back-to-full {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  z-index: 80;
  display: block;
  min-height: 48px;
  max-width: calc(100vw - 2rem);
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: #fff;
  background: #080706;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
  font: 600 0.9rem/1 "Oswald", sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transform: translateX(-50%);
  animation: softPulse 2.1s ease-in-out infinite;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 5rem;
}

.info-card {
  padding: 1.25rem;
  border: 1px solid rgba(217, 161, 58, 0.38);
  border-radius: var(--radius);
  background: linear-gradient(155deg, #19150f, #0a0907);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.info-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 0.7rem;
  border: 1px solid rgba(217, 161, 58, 0.5);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 1.35rem;
}

.info-card h2 {
  margin: 0.2rem 0 0.55rem;
  color: var(--cream);
  font: 400 1.25rem/1.2 "Rye", serif;
}

.info-card p {
  margin: 0 0 0.8rem;
  color: #bfb19d;
  font-size: 0.9rem;
  line-height: 1.55;
}

.info-card a {
  color: var(--gold-light);
  font: 600 0.9rem/1 "Oswald", sans-serif;
  text-transform: uppercase;
}

.info-card--cover strong {
  display: block;
  margin-top: 0.8rem;
  color: #e74b48;
  font: 700 2.2rem/1 "Oswald", sans-serif;
}

.site-footer {
  padding: 3rem 1rem calc(7.2rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(217, 161, 58, 0.25);
  color: #bfae95;
  background: #040403;
  text-align: center;
}

.site-footer__logo {
  width: 150px;
  height: auto;
  margin: 0 auto;
  opacity: 0.9;
  filter: drop-shadow(0 10px 15px #000);
}

.site-footer p {
  margin: 0.35rem 0;
  font-size: 0.86rem;
}

.site-footer a {
  color: var(--gold-light);
}

.creator {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.4rem;
  color: #8f8374;
  font-size: 0.8rem;
}

.creator img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.creator a {
  font-weight: 700;
  text-decoration: none;
}

.mobile-dock {
  position: fixed;
  right: 0.75rem;
  bottom: calc(0.65rem + env(safe-area-inset-bottom));
  left: 0.75rem;
  z-index: 70;
  display: none;
  grid-template-columns: 1fr 1.2fr 1fr;
  padding: 0.4rem;
  border: 1px solid rgba(217, 161, 58, 0.35);
  border-radius: 18px;
  background: rgba(12, 10, 8, 0.96);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.58);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.mobile-dock a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.16rem;
  min-height: 52px;
  border-radius: 12px;
  color: #d9cbb5;
  font: 500 0.67rem/1 "Oswald", sans-serif;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.mobile-dock svg {
  width: 21px;
  height: 21px;
}

.mobile-dock__call {
  color: #fff !important;
  background: var(--red);
  box-shadow: 0 7px 18px rgba(179, 21, 24, 0.3);
}

/* Content stays visible even if JavaScript or IntersectionObserver fails. */
[data-reveal] {
  opacity: 1;
  transform: none;
}

@keyframes softPulse {
  0%,
  100% {
    box-shadow: 0 8px 24px rgba(179, 21, 24, 0.25);
  }
  50% {
    box-shadow: 0 8px 32px rgba(230, 46, 48, 0.48);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes scrollCue {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

@media (min-width: 760px) {
  .menu-list {
    columns: 2;
    column-gap: 2.4rem;
  }

  .menu-section#specialita .menu-list,
  .menu-section#antipasti .menu-list,
  .menu-section#taglieri .menu-list,
  .menu-section#pucce .menu-list,
  .menu-section#stuzzicheria .menu-list,
  .menu-section#dolci .menu-list,
  .menu-section#bevande .menu-list,
  .menu-section#birre .menu-list {
    columns: 1;
  }

  .menu-section#specialita .menu-list,
  .menu-section#antipasti .menu-list,
  .menu-section#pucce .menu-list,
  .menu-section#stuzzicheria .menu-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 2.4rem;
  }

  .menu-section#taglieri .food-gallery,
  .menu-section#pucce .food-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .menu-section#taglieri .food-card {
    aspect-ratio: 16 / 7;
  }

  .menu-section#pucce .food-card {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 930px) {
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  :root {
    --topbar-h: 64px;
    --tools-h: 121px;
  }

  html {
    scroll-behavior: auto;
  }

  .topbar {
    padding: 0.35rem 0.75rem;
  }

  .topbar__brand img {
    width: 46px;
    height: 46px;
  }

  .topbar__brand b {
    font-size: 0.85rem;
  }

  .topbar__brand small {
    font-size: 0.65rem;
  }

  .topbar__call {
    padding: 0.62rem 0.75rem;
  }

  .topbar__call span {
    font-size: 0.8rem;
  }

  .hero {
    min-height: calc(100svh - var(--topbar-h));
    padding-top: 2rem;
  }

  .hero__logo {
    width: min(430px, 94vw);
    max-height: 46vh;
  }

  .hero__intro {
    font-size: 0.96rem;
  }

  .hero__services {
    font-size: 0.73rem;
  }

  .menu-tools__inner {
    padding: 0.65rem 0.7rem 0.55rem;
  }

  .searchbox {
    height: 45px;
  }

  .category-chip {
    padding: 0.58rem 0.78rem;
    font-size: 0.75rem;
  }

  .menu-wrap {
    padding-right: 0.7rem;
    padding-left: 0.7rem;
  }

  .food-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .food-card {
    min-height: 155px;
    border-radius: 13px;
  }

  .food-card figcaption {
    right: 0.7rem;
    bottom: 0.6rem;
    left: 0.7rem;
    font-size: 0.78rem;
  }

  .menu-list {
    padding: 1.05rem 0.85rem;
  }

  .menu-item {
    padding: 0.65rem 0;
  }

  .menu-item h3 {
    font-size: 0.94rem;
  }

  .menu-item p {
    margin-left: 1.05rem;
    font-size: 0.81rem;
  }

  .price {
    font-size: 0.92rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .mobile-dock {
    display: grid;
  }

  .site-footer {
    padding-bottom: calc(7.6rem + env(safe-area-inset-bottom));
  }

  .back-to-full {
    bottom: calc(5.7rem + env(safe-area-inset-bottom));
  }

  .section-heading h2 {
    font-size: clamp(1.5rem, 7vw, 2.15rem);
  }
}

@media (max-width: 430px) {
  .menu-item__top {
    gap: 0.3rem;
  }

  .menu-item .leader {
    min-width: 5px;
  }

  .price {
    font-size: 0.88rem;
  }
}

@media (max-width: 370px) {
  .topbar__brand small,
  .topbar__call span {
    display: none;
  }

  .food-gallery {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    width: 100%;
    flex-direction: column;
  }

  .btn {
    justify-content: center;
    width: 100%;
  }
}

@media (hover: none) {
  .food-card:hover img,
  .btn:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .topbar,
  .menu-tools,
  .mobile-dock,
  .hero__actions,
  .scroll-cue,
  .back-to-full {
    display: none !important;
  }

  body {
    color: #111;
    background: #fff;
  }

  .hero {
    min-height: auto;
    padding: 1rem;
    color: #111;
    background: #fff;
  }

  .hero__logo {
    width: 250px;
  }

  .hero h1,
  .hero__intro {
    color: #111;
    text-shadow: none;
  }

  .menu-wrap {
    width: 100%;
    padding: 0;
  }

  .menu-section {
    margin-bottom: 1rem;
    break-inside: avoid;
  }

  .menu-list {
    box-shadow: none;
  }

  .site-footer {
    padding: 1rem;
    color: #111;
    background: #fff;
  }
}

/* Release 2026.06.07.3 — header and bottom dock removed; only categories stay sticky. */
:root {
  --topbar-h: 0px;
  --tools-h: 58px;
}

html {
  scroll-padding-top: calc(var(--tools-h) + 14px);
}

.hero {
  min-height: min(820px, 100svh);
}

.hero__logo {
  animation: none !important;
  transform: none !important;
}

.search-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  border-bottom: 1px solid rgba(217, 161, 58, 0.16);
  background: rgba(14, 12, 9, 0.98);
}

.search-panel__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0.9rem clamp(0.8rem, 3vw, 1.5rem) 0.65rem;
}

.category-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(217, 161, 58, 0.25);
  background: rgba(14, 12, 9, 0.97);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(15px) saturate(1.1);
  backdrop-filter: blur(15px) saturate(1.1);
}

.category-bar__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0.36rem clamp(0.8rem, 3vw, 1.5rem) 0.34rem;
}

.category-bar .category-nav {
  padding: 0;
}

.menu-section {
  scroll-margin-top: calc(var(--tools-h) + 14px);
}

.menu-list::before,
.menu-list::after {
  content: none !important;
  display: none !important;
}

.info-card__icon .utensils-icon {
  width: 25px;
  height: 25px;
  fill: none;
}

.site-footer {
  padding-bottom: calc(3rem + env(safe-area-inset-bottom));
}

.mobile-dock {
  display: none !important;
}

@media (max-width: 680px) {
  :root {
    --topbar-h: 0px;
    --tools-h: 52px;
  }

  .hero {
    min-height: 100svh;
    padding-top: 2rem;
  }

  .search-panel__inner {
    padding: 0.7rem 0.7rem 0.5rem;
  }

  .category-bar__inner {
    padding: 0.3rem 0.7rem;
  }

  .site-footer {
    padding-bottom: calc(3rem + env(safe-area-inset-bottom));
  }

  .back-to-full {
    bottom: calc(1rem + env(safe-area-inset-bottom));
  }
}

@media print {
  .search-panel,
  .category-bar {
    display: none !important;
  }
}

/* Release 2026.06.07.4 — denser hero, refined sticky categories and editorial food galleries. */
:root {
  --tools-h: 100px;
}

/* The introductory block now follows its content instead of forcing a full viewport,
   removing the large empty black area above search. */
.hero {
  min-height: 0 !important;
  padding: clamp(1.6rem, 4vw, 3rem) 1rem clamp(2rem, 5vw, 3.4rem) !important;
}

.hero__content {
  width: min(720px, 100%);
}

.hero__logo {
  width: min(500px, 88vw);
  max-height: none;
}

.scroll-cue {
  display: none !important;
}

.search-panel__inner {
  padding-top: 0.72rem;
}

/* A slightly taller sticky area gives the navigation room to breathe. */
.category-bar {
  border-top: 1px solid rgba(217, 161, 58, 0.18);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
}

.category-bar__inner {
  padding-top: 0.56rem;
  padding-bottom: 0.62rem;
}

.category-bar__title {
  margin: 0 0 0.48rem;
  color: var(--gold-light);
  font: 600 0.76rem/1 "Oswald", sans-serif;
  letter-spacing: 0.24em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 8px #000;
}

.category-bar .category-nav {
  align-items: center;
  min-height: 42px;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.68rem 0.96rem;
}

/* Bring the red stars closer to the two long signature titles. */
.section-heading--tight-stars h2 {
  gap: 0.28rem;
}

/* Refined, predictable image system: clean rows for four photos and an elegant
   centred banner for single-photo sections. */
.food-gallery {
  align-items: stretch;
  gap: clamp(0.7rem, 1.6vw, 1.15rem);
  margin-bottom: clamp(1.15rem, 2.5vw, 1.7rem);
}

.food-gallery--quad {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.food-gallery--single {
  grid-template-columns: minmax(0, 1fr);
  width: min(900px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.food-card {
  min-height: 0;
  aspect-ratio: 4 / 3;
  border-color: rgba(224, 169, 64, 0.62);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.38);
}

.food-gallery--single .food-card {
  aspect-ratio: 16 / 8;
}

.food-gallery--signature {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(940px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.food-gallery--signature .food-card {
  aspect-ratio: 1 / 1;
}

.food-card::after {
  background: linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.88) 100%);
}

.food-card figcaption {
  right: 0.72rem;
  bottom: 0.68rem;
  left: 0.72rem;
  width: fit-content;
  max-width: calc(100% - 1.44rem);
  padding: 0.38rem 0.58rem;
  border: 1px solid rgba(244, 200, 106, 0.34);
  border-radius: 999px;
  background: rgba(8, 7, 6, 0.76);
  font-size: clamp(0.72rem, 1.2vw, 0.88rem);
  line-height: 1.1;
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

/* Smaller and visually proportional printing-house signature. */
.creator {
  gap: 0.36rem;
}

.creator img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .food-gallery--quad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  :root {
    --tools-h: 94px;
  }

  .hero {
    min-height: 0 !important;
    padding-top: 1.35rem !important;
    padding-bottom: 1.9rem !important;
  }

  .hero__logo {
    width: min(410px, 91vw);
  }

  .search-panel__inner {
    padding-top: 0.58rem;
  }

  .category-bar__inner {
    padding: 0.5rem 0.7rem 0.56rem;
  }

  .category-bar__title {
    margin-bottom: 0.42rem;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
  }

  .category-chip {
    min-height: 39px;
    padding: 0.65rem 0.84rem;
  }

  .food-gallery,
  .food-gallery--quad,
  .food-gallery--signature {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.68rem;
  }

  .food-gallery--single {
    grid-template-columns: 1fr;
  }

  .food-gallery--single .food-card {
    aspect-ratio: 4 / 3;
  }

  .food-card,
  .food-gallery--signature .food-card {
    aspect-ratio: 1 / 1;
    border-radius: 13px;
  }

  .food-card figcaption {
    right: 0.48rem;
    bottom: 0.48rem;
    left: 0.48rem;
    max-width: calc(100% - 0.96rem);
    padding: 0.32rem 0.44rem;
    border-radius: 9px;
    font-size: 0.68rem;
    white-space: normal;
  }

  .section-heading--tight-stars h2 {
    gap: 0.18rem;
  }
}

@media (max-width: 370px) {
  .food-gallery,
  .food-gallery--quad,
  .food-gallery--signature {
    grid-template-columns: 1fr;
  }

  .food-card,
  .food-gallery--signature .food-card,
  .food-gallery--single .food-card {
    aspect-ratio: 4 / 3;
  }
}

/* Release 2026.06.07.5 — integrated search, refined icons and performance-safe motion. */
:root {
  --reveal-duration: 520ms;
  --reveal-distance: 12px;
}

/* The old fixed procedural-noise layer forced a full-screen repaint while scrolling.
   The static background on body already supplies enough texture. */
body::before {
  display: none !important;
}

/* Search is now a deliberate editorial element of the menu instead of a loose field. */
.search-panel {
  overflow: hidden;
  border-top: 1px solid rgba(217, 161, 58, 0.14);
  border-bottom: 1px solid rgba(217, 161, 58, 0.22);
  background:
    radial-gradient(circle at 50% 0, rgba(179, 21, 24, 0.15), transparent 28rem),
    linear-gradient(180deg, #0d0b08, #100d09);
}

.search-panel__inner {
  width: min(850px, 100%);
  padding: clamp(1.05rem, 2.7vw, 1.6rem) clamp(0.75rem, 3vw, 1.5rem) clamp(1.1rem, 2.9vw, 1.75rem);
}

.search-panel__frame {
  position: relative;
  padding: clamp(1rem, 2.8vw, 1.45rem);
  border: 1px solid rgba(217, 161, 58, 0.48);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(38, 29, 19, 0.92), rgba(15, 12, 9, 0.96)),
    #17130e;
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 180, 0.05),
    0 14px 34px rgba(0, 0, 0, 0.28);
}

.search-panel__frame::before,
.search-panel__frame::after {
  content: "";
  position: absolute;
  top: 1.2rem;
  width: clamp(28px, 7vw, 72px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 161, 58, 0.7));
}

.search-panel__frame::before {
  left: 1rem;
}

.search-panel__frame::after {
  right: 1rem;
  transform: scaleX(-1);
}

.search-panel__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  margin-bottom: 0.32rem;
  color: var(--cream);
  font: 500 clamp(0.94rem, 2.4vw, 1.08rem)/1 "Rye", serif;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 7px #000;
}

.search-panel__heading span {
  color: var(--red);
  font-size: 0.66em;
}

.search-panel__hint {
  margin: 0 0 0.85rem;
  color: #bfae96;
  font-size: clamp(0.78rem, 1.8vw, 0.88rem);
  line-height: 1.45;
  text-align: center;
}

.searchbox {
  height: 54px;
  padding: 0 0.72rem 0 0.9rem;
  border-color: rgba(244, 200, 106, 0.54);
  border-radius: 999px;
  background: rgba(5, 5, 4, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.searchbox:focus-within {
  border-color: var(--gold-light);
  box-shadow:
    0 0 0 3px rgba(217, 161, 58, 0.12),
    0 8px 24px rgba(0, 0, 0, 0.24);
}

.searchbox__icon {
  width: 22px;
  height: 22px;
  color: var(--red) !important;
}

.searchbox input {
  font-size: clamp(0.88rem, 2vw, 1rem);
}

.search-status {
  min-height: 0;
  margin: 0.55rem 0 0;
  text-align: center;
}

.search-status:empty {
  display: none;
}

/* Precisely control the long headings: no anonymous text nodes or excessive flex gap. */
.section-heading--tight-stars h2 {
  gap: 0.1rem !important;
}

.section-heading--tight-stars .section-heading__title {
  display: inline-block;
}

.section-heading--tight-stars .title-star {
  display: inline-block;
  flex: 0 0 auto;
  margin: 0 !important;
  transform: translateY(-0.03em);
}

/* Real SVG icons for the location and open cloche cards. */
.info-icon-svg {
  width: 25px;
  height: 25px;
  fill: none;
}

.info-icon-svg--cloche {
  width: 28px;
  height: 28px;
}

/* The source crops in the first three snack photos included the printed-menu frame.
   A dedicated zoom/crop removes it and recentres the food cleanly. */
#stuzzicheria .food-card:nth-child(-n + 3) img {
  object-position: 50% 48%;
}

#stuzzicheria .food-card:nth-child(-n + 3):hover img {
  transform: scale(1.04);
}

/* Scrolling performance: no live backdrop blur and lighter raster effects. */
.category-bar {
  background: rgba(14, 12, 9, 0.985);
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.category-nav {
  scroll-behavior: auto;
}

.menu-list {
  box-shadow:
    inset 0 0 0 4px rgba(255, 244, 205, 0.62),
    inset 0 0 24px rgba(91, 45, 8, 0.13),
    0 12px 28px rgba(0, 0, 0, 0.32);
}

.food-card {
  contain: paint;
  box-shadow: 0 11px 26px rgba(0, 0, 0, 0.34);
}

/* Smooth, predictable entry animation. Tall menu panels only fade; small elements
   use a subtle vertical rise. No rotation, perspective or permanent will-change. */
[data-reveal] {
  opacity: 1;
  transform: none;
}

.reveal-pending {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition:
    opacity var(--reveal-duration) ease-out,
    transform var(--reveal-duration) cubic-bezier(0.22, 0.72, 0.25, 1);
}

[data-reveal="fade"].reveal-pending {
  transform: none;
}

.reveal-pending.reveal-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 680px) {
  :root {
    --reveal-duration: 440ms;
    --reveal-distance: 8px;
  }

  .search-panel__inner {
    padding: 0.8rem 0.7rem 1rem;
  }

  .search-panel__frame {
    padding: 0.9rem 0.72rem 0.82rem;
    border-radius: 16px;
  }

  .search-panel__frame::before,
  .search-panel__frame::after {
    top: 1.08rem;
    width: 28px;
  }

  .search-panel__heading {
    gap: 0.3rem;
    font-size: 0.88rem;
  }

  .search-panel__hint {
    margin-bottom: 0.72rem;
    padding: 0 0.4rem;
    font-size: 0.76rem;
  }

  .searchbox {
    height: 49px;
  }

  .section-heading--tight-stars h2 {
    gap: 0.04rem !important;
    font-size: clamp(1.28rem, 6.3vw, 1.86rem);
  }

  .section-heading--tight-stars .title-star {
    font-size: 0.48em;
  }

  /* Mobile browsers are especially sensitive to layered blurs and large shadows. */
  .search-panel__frame,
  .food-card,
  .menu-list,
  .info-card {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .food-card {
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-pending,
  .reveal-pending.reveal-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* The title text itself is a flex span only for precise star spacing; retain the
   original cream colour and full heading size. */
.section-heading--tight-stars .section-heading__title {
  color: #f7e1b8;
  font-size: 1em;
}

/* Caption pills use an opaque-enough fill; removing live blur further improves
   compositing while the image grid moves through the viewport. */
.food-card figcaption {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* Release 2026.06.07.6 — polished category selector and cleaner hero actions. */
:root {
  --tools-h: 126px;
}

/* The service labels under the call/location buttons were removed. Keep the
   action group visually balanced without leaving unused vertical space. */
.hero__actions {
  margin-bottom: 0;
}

/* Give the sticky category selector the same intentional, framed visual language
   as the search panel while keeping the horizontal navigation quick and light. */
.category-bar {
  padding: max(0.62rem, env(safe-area-inset-top)) 0 0.62rem;
  overflow: hidden;
  border-top: 1px solid rgba(217, 161, 58, 0.16);
  border-bottom: 1px solid rgba(217, 161, 58, 0.24);
  background:
    radial-gradient(circle at 50% 0, rgba(179, 21, 24, 0.13), transparent 24rem),
    linear-gradient(180deg, #0d0b08, #100d09);
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.32);
}

.category-bar__inner {
  width: min(920px, 100%);
  padding: 0 clamp(0.75rem, 3vw, 1.5rem);
}

.category-bar__frame {
  position: relative;
  overflow: hidden;
  padding: 0.72rem clamp(0.58rem, 1.8vw, 0.9rem) 0.64rem;
  border: 1px solid rgba(217, 161, 58, 0.46);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(38, 29, 19, 0.94), rgba(15, 12, 9, 0.97)),
    #17130e;
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 180, 0.045),
    0 10px 25px rgba(0, 0, 0, 0.25);
}

.category-bar__frame::before,
.category-bar__frame::after {
  content: "";
  position: absolute;
  top: 1.15rem;
  width: clamp(26px, 7vw, 68px);
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(217, 161, 58, 0.66));
}

.category-bar__frame::before {
  left: 0.82rem;
}

.category-bar__frame::after {
  right: 0.82rem;
  transform: scaleX(-1);
}

.category-bar__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.34rem;
  margin: 0;
  color: var(--cream);
  font: 500 clamp(0.88rem, 2vw, 1rem)/1 "Rye", serif;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 7px #000;
}

.category-bar__heading span {
  color: var(--red);
  font-size: 0.66em;
}

.category-bar__hint {
  margin: 0.3rem 0 0.48rem;
  color: #bfae96;
  font-size: clamp(0.69rem, 1.6vw, 0.78rem);
  line-height: 1.35;
  text-align: center;
}

.category-bar .category-nav {
  align-items: center;
  min-height: 42px;
  gap: 0.48rem;
  padding: 0.08rem 0.05rem 0.02rem;
  overscroll-behavior-x: contain;
}

.category-chip {
  min-height: 39px;
  padding: 0.66rem 0.9rem;
  border-color: rgba(217, 161, 58, 0.34);
  background: linear-gradient(180deg, #1d1812, #13100c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.category-chip:hover,
.category-chip.is-active {
  border-color: #ec5952;
  background: linear-gradient(180deg, #ca2023, #921013);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 7px 17px rgba(179, 21, 24, 0.23);
}

@media (max-width: 680px) {
  :root {
    --tools-h: 119px;
  }

  .category-bar {
    padding: max(0.48rem, env(safe-area-inset-top)) 0 0.5rem;
  }

  .category-bar__inner {
    padding: 0 0.68rem;
  }

  .category-bar__frame {
    padding: 0.65rem 0.58rem 0.56rem;
    border-radius: 16px;
  }

  .category-bar__frame::before,
  .category-bar__frame::after {
    top: 1.02rem;
    width: 24px;
  }

  .category-bar__frame::before {
    left: 0.62rem;
  }

  .category-bar__frame::after {
    right: 0.62rem;
  }

  .category-bar__heading {
    gap: 0.28rem;
    font-size: 0.82rem;
  }

  .category-bar__hint {
    margin-top: 0.25rem;
    margin-bottom: 0.4rem;
    padding: 0 0.35rem;
    font-size: 0.68rem;
  }

  .category-bar .category-nav {
    min-height: 39px;
    gap: 0.42rem;
  }

  .category-chip {
    min-height: 37px;
    padding: 0.61rem 0.78rem;
    font-size: 0.73rem;
  }
}

@media (max-width: 370px) {
  .category-bar__hint {
    display: none;
  }

  :root {
    --tools-h: 93px;
  }
}


/* Release 2026.06.07.8 — lighter category area without enclosing frame. */
.category-bar__frame {
  overflow: visible;
  padding: 0.18rem 0 0.08rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.category-bar__frame::before,
.category-bar__frame::after {
  display: none;
}

.category-bar__heading {
  margin-bottom: 0.62rem;
}

.category-bar .category-nav {
  padding-top: 0;
}

@media (max-width: 680px) {
  .category-bar__frame {
    padding: 0.12rem 0 0.06rem;
  }

  .category-bar__heading {
    margin-bottom: 0.5rem;
  }
}


/* Release 2026.06.07.9 — visibly separated heading and fully frameless category selector. */
.category-bar {
  border: 0 !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28) !important;
  background:
    radial-gradient(circle at 50% -40%, rgba(179, 21, 24, 0.14), transparent 31rem),
    linear-gradient(180deg, #0d0b08 0%, #100d09 100%) !important;
}

.category-bar__inner {
  padding-top: 0.18rem;
  padding-bottom: 0.18rem;
}

/* The wrapper was removed from the markup: the title and chips now sit directly
   on the sticky bar, with no rectangular container around them. */
.category-bar__frame {
  display: contents !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

.category-bar__heading {
  margin: 0 0 0.95rem !important;
  line-height: 1.1;
}

.category-bar .category-nav {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 680px) {
  .category-bar__inner {
    padding-top: 0.12rem;
    padding-bottom: 0.12rem;
  }

  .category-bar__heading {
    margin-bottom: 0.78rem !important;
  }
}


/* Release 2026.06.07.10 — cleaner snack crops and less-zoomed puccia hero. */
#stuzzicheria .food-card:nth-child(-n + 3) img {
  object-position: center center;
}

#pucce .food-gallery--single {
  width: min(680px, 100%);
}

#pucce .food-card {
  aspect-ratio: 1 / 1;
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
}

#pucce .food-card img {
  object-position: center center;
}

@media (max-width: 680px) {
  #pucce .food-gallery--single {
    width: min(100%, 520px);
  }

  #pucce .food-card {
    max-width: none;
    aspect-ratio: 1 / 1;
  }
}

/* Release 2026.06.08.12 — deterministic category state and touch-safe hover. */
.category-chip:hover {
  border-color: rgba(217, 161, 58, 0.34);
  color: #eadfc9;
  background: linear-gradient(180deg, #1d1812, #13100c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.category-chip.is-active {
  border-color: #ec5952;
  color: #fff;
  background: linear-gradient(180deg, #ca2023, #921013);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 7px 17px rgba(179, 21, 24, 0.23);
}

@media (hover: hover) and (pointer: fine) {
  .category-chip:hover {
    border-color: #ec5952;
    color: #fff;
    background: linear-gradient(180deg, #ca2023, #921013);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 7px 17px rgba(179, 21, 24, 0.23);
  }
}
