/*
Theme Name: Social 45 Bar & Grill
Theme URI: https://social45barngrill.com/
Author: Social 45
Description: A fast, accessible sports bar theme with lightweight 3D motion, editable food menus, owner-controlled opening hours, and a private contact form.
Version: 1.5.1
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: social45
*/

:root {
  --s45-ink: #f7f1e8;
  --s45-muted: #b8b0a5;
  --s45-night: #0e0f10;
  --s45-panel: #17191b;
  --s45-panel-2: #202326;
  --s45-ember: #f06424;
  --s45-red: #c83224;
  --s45-herb: #779c55;
  --s45-line: rgba(255,255,255,.12);
  --s45-shadow: 0 28px 70px rgba(0,0,0,.36);
  --s45-radius: 24px;
  --s45-wrap: 1180px;
  --s45-header: 92px;
  --s45-contact-strip: 40px;
  --s45-header-total: calc(var(--s45-header) + var(--s45-contact-strip));
  --s45-logo-width: clamp(240px, 24vw, 310px);
  --s45-logo-height: 72px;
}

* { box-sizing: border-box; }
html { max-width: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--s45-night);
  color: var(--s45-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  max-width: 100%; overflow-x: hidden;
}
body.admin-bar .site-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, .button { cursor: pointer; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus, .skip-link:focus {
  position: fixed !important; inset: 14px auto auto 14px; z-index: 99999; width: auto; height: auto;
  clip: auto; padding: 12px 16px; margin: 0; background: #fff; color: #111; border-radius: 8px;
}
:focus-visible { outline: 3px solid #ff9a66; outline-offset: 3px; }

.s45-wrap { width: min(calc(100% - 40px), var(--s45-wrap)); margin-inline: auto; }
.s45-narrow { width: min(calc(100% - 40px), 780px); margin-inline: auto; }
.s45-section { position: relative; padding: clamp(76px, 9vw, 130px) 0; }
.s45-section--soft { background: #131517; }
.s45-section--light { background: #f3eee6; color: #191919; }
.s45-eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 14px; color: #ff8a4c;
  font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.s45-eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }
.s45-title {
  max-width: 850px; margin: 0; font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5.4vw, 5rem); line-height: .98; letter-spacing: -.04em;
}
.s45-title--sm { font-size: clamp(2rem, 4.2vw, 3.7rem); }
.s45-lede { max-width: 680px; margin: 24px 0 0; color: var(--s45-muted); font-size: clamp(1.05rem, 1.8vw, 1.24rem); }
.s45-section--light .s45-lede { color: #57534e; }
.s45-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.s45-button {
  display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 21px; border: 1px solid transparent; border-radius: 999px; background: var(--s45-ember);
  color: #15100d; font-weight: 850; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.s45-button:hover { transform: translateY(-2px); background: #ff7a38; box-shadow: 0 12px 30px rgba(240,100,36,.23); }
.s45-button--ghost { background: transparent; color: var(--s45-ink); border-color: var(--s45-line); }
.s45-button--ghost:hover { background: rgba(255,255,255,.06); box-shadow: none; }

/* Header */
.s45-contact-strip { position: relative; z-index: 51; background: linear-gradient(90deg, #a93422, var(--s45-ember)); color: #fff; }
.s45-contact-strip__inner { min-height: 40px; display: flex; align-items: center; gap: 16px; }
.s45-contact-strip__label { font-size: .76rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.s45-contact-strip__label--short { display: none; }
.s45-contact-strip__help { flex: 1; color: rgba(255,255,255,.88); font-size: .78rem; text-align: center; }
.s45-contact-strip__phone { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-size: .9rem; font-weight: 900; text-decoration: none; white-space: nowrap; }
.s45-contact-strip__phone:hover { color: #fff4e9; text-decoration: underline; text-underline-offset: 3px; }
.site-header {
  position: sticky; top: 0; z-index: 50; height: auto; border-bottom: 1px solid transparent;
  background: rgba(14,15,16,.76); backdrop-filter: blur(18px); transition: border-color .2s ease, background .2s ease;
}
.site-header.is-scrolled { border-color: var(--s45-line); background: rgba(14,15,16,.94); }
.site-header__inner { height: var(--s45-header); display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.site-branding { display: flex; min-width: 0; align-items: center; flex: 0 1 auto; }
.custom-logo-link { display: inline-flex; min-width: 0; align-items: center; flex-shrink: 1; }
.custom-logo {
  width: var(--s45-logo-width); max-width: 100%; max-height: var(--s45-logo-height); object-fit: contain;
  filter: drop-shadow(0 5px 15px rgba(240,100,36,.2)); transition: transform .25s ease, filter .25s ease;
}
.custom-logo-link:hover .custom-logo { transform: translateY(-1px) scale(1.018); filter: drop-shadow(0 7px 19px rgba(240,100,36,.3)); }
.site-title {
  display: inline-flex; align-items: center; gap: 11px; color: #fff; font-size: 1rem; font-weight: 900;
  letter-spacing: .02em; text-decoration: none;
}
.site-title::before {
  content: "45"; display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid var(--s45-ember);
  border-radius: 50%; color: var(--s45-ember); font-size: .85rem;
}
.site-title--image::before { display: none; }
.site-title--image { min-width: 0; flex-shrink: 1; }
.site-title--image img {
  width: var(--s45-logo-width); max-width: 100%; max-height: var(--s45-logo-height); object-fit: contain;
  filter: drop-shadow(0 5px 15px rgba(240,100,36,.2)); transition: transform .25s ease, filter .25s ease;
}
.site-title--image:hover img { transform: translateY(-1px) scale(1.018); filter: drop-shadow(0 7px 19px rgba(240,100,36,.3)); }
.primary-nav { display: flex; align-items: center; gap: 24px; }
.primary-nav ul { display: flex; align-items: center; gap: 5px; padding: 0; margin: 0; list-style: none; }
.primary-nav a { display: block; padding: 10px 11px; color: #e9e3dc; font-size: .92rem; font-weight: 720; text-decoration: none; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: #ff8b50; }
.menu-toggle {
  display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--s45-line);
  border-radius: 50%; background: transparent; color: #fff;
}
.menu-toggle__line { display: block; width: 20px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .2s ease; }

/* Hero */
.s45-hero { min-height: min(820px, calc(100svh - var(--s45-header-total))); display: grid; align-items: center; position: relative; isolation: isolate; }
.s45-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -3;
  background: radial-gradient(circle at 80% 30%, rgba(240,100,36,.2), transparent 34%),
              radial-gradient(circle at 18% 80%, rgba(119,156,85,.1), transparent 28%), #0e0f10;
}
.s45-hero__grid { display: grid; grid-template-columns: minmax(0, .93fr) minmax(420px, 1.07fr); align-items: center; gap: clamp(36px, 7vw, 96px); padding-block: 76px; }
.s45-hero__copy { position: relative; z-index: 4; }
.s45-hero h1 {
  margin: 0; max-width: 780px; font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6.6vw, 6.65rem); line-height: .88; letter-spacing: -.058em;
}
.s45-hero h1 em { color: var(--s45-ember); font-style: normal; }
.s45-hero__text { max-width: 640px; margin: 26px 0 0; color: #c9c1b8; font-size: clamp(1.06rem, 1.8vw, 1.25rem); }
.s45-hero__stage { min-height: 500px; position: relative; perspective: 1100px; transform-style: preserve-3d; }
.s45-orbit {
  position: absolute; inset: 8% 2% 4% 4%; border: 1px solid rgba(255,255,255,.13); border-radius: 50%;
  transform: rotateX(68deg) rotateZ(-12deg); box-shadow: inset 0 0 90px rgba(240,100,36,.07);
  animation: s45-orbit-spin 18s linear infinite;
}
.s45-orbit::before, .s45-orbit::after { content: ""; position: absolute; inset: 12%; border: 1px solid rgba(255,255,255,.08); border-radius: inherit; }
.s45-orbit::after { inset: 28%; background: radial-gradient(circle, rgba(240,100,36,.3), transparent 68%); }
.s45-dish-card {
  position: absolute; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 28px;
  background: linear-gradient(145deg, rgba(46,48,50,.94), rgba(17,18,19,.86)); box-shadow: var(--s45-shadow);
  transform-style: preserve-3d; will-change: transform; transition: transform .18s ease-out, border-color .2s ease;
}
.s45-dish-card:hover { border-color: rgba(240,100,36,.55); }
.s45-dish-card img { width: 100%; height: 100%; object-fit: cover; }
.s45-dish-card__fallback { height: 100%; display: grid; place-items: center; padding: 25px; text-align: center; }
.s45-dish-card__fallback strong { display: block; font-family: Georgia, serif; font-size: clamp(2rem, 5vw, 4.4rem); line-height: .92; }
.s45-dish-card__fallback span { margin-top: 13px; color: #ff8a4c; font-size: .74rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.s45-dish-card--main { inset: 14% 0; transform: translate3d(var(--move-x, 0px), var(--move-y, 0px), 30px) rotateY(-7deg) rotateX(2deg); animation: s45-float-main 7s ease-in-out infinite; }
.s45-dish-card--main img { object-position: center; }
.s45-dish-card--top { width: 36%; height: 32%; top: 0; right: -1%; transform: translate3d(var(--move-x, 0px), var(--move-y, 0px), 100px) rotate(5deg); animation: s45-float-top 5.8s ease-in-out infinite; }
.s45-dish-card--bottom { width: 38%; height: 29%; left: 0; bottom: 0; transform: translate3d(var(--move-x, 0px), var(--move-y, 0px), 130px) rotate(-6deg); animation: s45-float-bottom 6.4s ease-in-out infinite; }
.s45-dish-card--top .s45-dish-card__fallback strong, .s45-dish-card--bottom .s45-dish-card__fallback strong { font-size: clamp(1.5rem, 3vw, 2.6rem); }
.s45-hero__badge {
  position: absolute; right: 3%; bottom: 10%; z-index: 5; display: grid; place-items: center; width: 122px; height: 122px;
  padding: 16px; border-radius: 50%; background: var(--s45-ember); color: #17100c; font-size: .74rem; font-weight: 900;
  letter-spacing: .11em; line-height: 1.35; text-align: center; text-transform: uppercase; transform: rotate(8deg);
  box-shadow: 0 20px 45px rgba(240,100,36,.26);
  animation: s45-badge-float 5s ease-in-out infinite;
}

/* Feature and menu cards */
.s45-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 42px; }
.s45-feature {
  position: relative; min-height: 330px; padding: 28px; overflow: hidden; border: 1px solid var(--s45-line);
  border-radius: var(--s45-radius); background: linear-gradient(145deg, #1c1f21, #111315); transform-style: preserve-3d;
  box-shadow: 0 20px 50px rgba(0,0,0,.18); transition: transform .25s ease, border-color .25s ease;
}
.s45-feature:hover { transform: translateY(-7px) rotateX(2deg); border-color: rgba(240,100,36,.5); }
.s45-feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.s45-feature:hover > img { transform: scale(1.045); }
.s45-feature__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,12,13,.04) 20%, rgba(11,12,13,.96) 100%); }
.s45-feature__number { color: rgba(255,255,255,.06); font-family: Georgia, serif; font-size: 7rem; line-height: 1; }
.s45-feature h3 { position: absolute; z-index: 2; left: 28px; bottom: 67px; margin: 0; font-family: Georgia, serif; font-size: 2rem; }
.s45-feature p { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 22px; margin: 0; color: #d7d0c7; font-size: .92rem; }
.s45-menu-toolbar { display: flex; width: 100%; max-width: 100%; min-width: 0; flex-wrap: wrap; gap: 9px; margin: 34px 0 26px; }
.s45-filter {
  min-height: 42px; padding: 8px 15px; border: 1px solid #d5cdc2; border-radius: 999px; background: transparent;
  color: #3e3a36; font-size: .88rem; font-weight: 760;
}
.s45-filter[aria-pressed="true"], .s45-filter:hover { border-color: #151515; background: #151515; color: #fff; }
.s45-menu-grid { display: grid; width: 100%; max-width: 100%; min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; perspective: 1400px; }
.s45-menu-item {
  display: grid; width: 100%; max-width: 100%; min-width: 0; grid-template-columns: 96px minmax(0, 1fr);
  grid-template-areas: "image content" "image price"; column-gap: 18px; row-gap: 9px; align-items: start; padding: 17px;
  border: 1px solid #ded7ce; border-radius: 18px; background: rgba(255,255,255,.72); backface-visibility: hidden;
  transform-style: preserve-3d; transition: transform .28s cubic-bezier(.2,.75,.25,1), box-shadow .28s ease, border-color .28s ease;
}
.s45-menu-item[hidden] { display: none; }
.s45-menu-item > * { min-width: 0; }
.s45-menu-item > div:nth-child(2) { grid-area: content; position: relative; z-index: 2; transform: translateZ(12px); }
.s45-menu-item__image { grid-area: image; align-self: center; width: 96px; aspect-ratio: 1; overflow: hidden; border-radius: 13px; background: #d8d0c6; transform: translateZ(18px); transition: transform .28s ease; }
.s45-menu-item__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.s45-menu-item h3 { margin: 0; overflow-wrap: anywhere; font-family: Georgia, serif; font-size: 1.16rem; line-height: 1.2; }
.s45-menu-item p { margin: 7px 0 0; overflow-wrap: anywhere; color: #625c55; font-size: .84rem; line-height: 1.45; }
.s45-menu-item__price { grid-area: price; align-self: start; justify-self: start; position: relative; z-index: 2; max-width: 100%; color: #9e321f; font-weight: 900; line-height: 1.4; white-space: normal; overflow-wrap: anywhere; transform: translateZ(16px); }
.s45-menu-item.is-card-pending { opacity: 0; transform: translateY(24px) rotateX(-7deg); }
.s45-menu-item.is-card-visible { animation: s45-menu-card-in .62s cubic-bezier(.2,.8,.2,1) var(--card-delay, 0ms) backwards; }

/* Split sections, hours, gallery */
.s45-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 8vw, 110px); }
.s45-depth-panel {
  position: relative; min-height: 470px; border: 1px solid var(--s45-line); border-radius: 30px;
  background: linear-gradient(145deg, #232629, #121416); box-shadow: var(--s45-shadow); perspective: 900px;
}
.s45-depth-panel::before, .s45-depth-panel::after {
  content: ""; position: absolute; border-radius: 24px; border: 1px solid rgba(255,255,255,.13); background: #1b1d1f;
}
.s45-depth-panel::before { inset: 11% 14% 28% 10%; transform: rotate(-6deg) translateZ(20px); }
.s45-depth-panel::after { inset: 35% 8% 9% 20%; background: linear-gradient(145deg, var(--s45-ember), #9b2e20); transform: rotate(7deg) translateZ(50px); }
.s45-depth-panel__word { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; font-family: Georgia, serif; font-size: clamp(3rem, 7vw, 6rem); font-weight: 800; letter-spacing: -.05em; transform: translateZ(80px); }
.s45-depth-panel--image { overflow: hidden; background: #17191b; }
.s45-depth-panel--image::before, .s45-depth-panel--image::after { display: none; }
.s45-depth-panel--image > img { width: 100%; height: 100%; min-height: 470px; object-fit: cover; }
.s45-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 35px; background: var(--s45-line); border: 1px solid var(--s45-line); border-radius: 20px; overflow: hidden; }
.s45-fact { padding: 20px; background: #131517; }
.s45-fact strong { display: block; color: #ff8a4c; font-size: 1.15rem; }
.s45-fact span { color: var(--s45-muted); font-size: .86rem; }
.s45-hours { display: grid; gap: 9px; padding: 0; margin: 28px 0 0; list-style: none; }
.s45-hours li { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--s45-line); }
.s45-gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 240px; gap: 15px; margin-top: 40px; }
.s45-gallery__item { grid-column: span 4; overflow: hidden; margin: 0; border-radius: 20px; background: #242729; }
.s45-gallery__item:nth-child(1), .s45-gallery__item:nth-child(5) { grid-column: span 8; }
.s45-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.s45-gallery__item:hover img { transform: scale(1.045); }
.s45-gallery__empty { display: grid; place-items: center; height: 100%; padding: 24px; color: #928a80; text-align: center; }

/* Forms and content */
.s45-contact-layout { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(28px, 5vw, 70px); }
.s45-call-card {
  position: relative; overflow: hidden; padding: clamp(30px, 4vw, 48px); border-radius: 28px;
  background: linear-gradient(145deg, #272a2d, #111315 68%); color: var(--s45-ink); box-shadow: var(--s45-shadow);
  transform: perspective(900px) rotateY(2deg); transform-style: preserve-3d;
}
.s45-call-card::after { content: "45"; position: absolute; right: -18px; bottom: -44px; color: rgba(255,255,255,.045); font-family: Georgia, serif; font-size: 10rem; line-height: 1; }
.s45-call-card > * { position: relative; z-index: 1; }
.s45-call-card h2, .s45-contact-form-panel h2 { margin: 0 0 14px; font-family: Georgia, serif; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.05; }
.s45-call-card p { color: var(--s45-muted); }
.s45-call-card__phone { display: block; margin: 26px 0 20px; color: #ff9a66; font-size: clamp(1.65rem, 3.2vw, 2.45rem); font-weight: 900; line-height: 1; text-decoration: none; }
.s45-call-card__phone:hover { color: #fff; }
.s45-contact-form-panel { min-width: 0; }
.s45-contact-form-panel > p { margin-top: 0; color: #625c55; }
.s45-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }
.s45-field--full { grid-column: 1 / -1; }
.s45-field label { display: block; margin-bottom: 7px; font-size: .86rem; font-weight: 780; }
.s45-field input, .s45-field textarea, .s45-field select {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #cfc6ba; border-radius: 11px;
  background: #fff; color: #171717;
}
.s45-field textarea { min-height: 150px; resize: vertical; }
.s45-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; }
.s45-checkbox input { flex: 0 0 auto; width: auto; min-height: auto; margin-top: 5px; }
.s45-notice { padding: 14px 16px; margin: 0 0 24px; border-radius: 12px; background: #e7f4e2; color: #24431c; }
.s45-notice--error { background: #f8dfda; color: #6b2117; }
.s45-honeypot { position: absolute; left: -9999px; }
.entry-header { padding: 82px 0 35px; }
.entry-title { margin: 0; font-family: Georgia, serif; font-size: clamp(2.6rem, 6vw, 5.5rem); line-height: .95; letter-spacing: -.045em; }
.entry-content { padding-bottom: 100px; }
.entry-content > * { max-width: 780px; margin-inline: auto; }
.entry-content > .alignwide { max-width: var(--s45-wrap); }
.entry-content > .alignfull { max-width: none; }
.entry-content h2, .entry-content h3 { font-family: Georgia, serif; line-height: 1.15; }

/* CTA and footer */
.s45-cta {
  position: relative; overflow: hidden; padding: clamp(46px, 8vw, 86px); border: 1px solid rgba(255,255,255,.14);
  border-radius: 34px; background: linear-gradient(130deg, #242729 0%, #151719 55%, #73281d 150%); box-shadow: var(--s45-shadow);
}
.s45-cta::after { content: "45"; position: absolute; right: -24px; bottom: -68px; color: rgba(255,255,255,.045); font-family: Georgia, serif; font-size: 18rem; line-height: 1; }
.s45-cta > * { position: relative; z-index: 2; }
.site-footer { border-top: 1px solid var(--s45-line); background: #0a0b0c; }
.site-footer__main { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 50px; padding: 62px 0 44px; }
.site-footer h2, .site-footer h3 { margin: 0 0 14px; font-family: Georgia, serif; }
.site-footer p { max-width: 470px; color: var(--s45-muted); }
.site-footer ul { padding: 0; margin: 0; list-style: none; }
.site-footer li + li { margin-top: 9px; }
.site-footer a { color: #d4cdc4; text-decoration: none; }
.site-footer a:hover { color: #ff8a4c; }
.site-footer .s45-footer-phone { display: inline-block; color: #ff8a4c; font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 900; letter-spacing: .01em; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding: 21px 0; border-top: 1px solid var(--s45-line); color: #8f877d; font-size: .82rem; }

.s45-reveal { opacity: 1; transform: none; transition: opacity .65s ease, transform .65s ease; }
.s45-reveal.is-pending { opacity: 0; transform: translateY(22px); }
.s45-reveal.is-visible { opacity: 1; transform: none; }

@keyframes s45-orbit-spin {
  from { transform: rotateX(68deg) rotateZ(-12deg); }
  to { transform: rotateX(68deg) rotateZ(348deg); }
}
@keyframes s45-float-main {
  0%, 100% { transform: translate3d(var(--move-x, 0px), var(--move-y, 0px), 30px) rotateY(-9deg) rotateX(3deg); }
  50% { transform: translate3d(var(--move-x, 0px), calc(var(--move-y, 0px) - 12px), 46px) rotateY(-7deg) rotateX(1deg); }
}
@keyframes s45-float-top {
  0%, 100% { transform: translate3d(var(--move-x, 0px), var(--move-y, 0px), 100px) rotate(5deg) rotateY(-3deg); }
  50% { transform: translate3d(var(--move-x, 0px), calc(var(--move-y, 0px) - 10px), 120px) rotate(3deg) rotateY(3deg); }
}
@keyframes s45-float-bottom {
  0%, 100% { transform: translate3d(var(--move-x, 0px), var(--move-y, 0px), 130px) rotate(-6deg) rotateY(3deg); }
  50% { transform: translate3d(var(--move-x, 0px), calc(var(--move-y, 0px) + 9px), 148px) rotate(-4deg) rotateY(-3deg); }
}
@keyframes s45-badge-float {
  0%, 100% { transform: translateY(0) rotate(8deg); }
  50% { transform: translateY(-8px) rotate(4deg); }
}
@keyframes s45-menu-card-in {
  from { opacity: 0; transform: translateY(24px) rotateX(-7deg); }
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

@media (hover: hover) and (pointer: fine) {
  .s45-menu-item:hover { border-color: rgba(158,50,31,.34); transform: translateY(-5px) rotateX(2deg); box-shadow: 0 18px 38px rgba(38,31,22,.14); }
  .s45-menu-item:hover .s45-menu-item__image { transform: translateZ(26px); }
  .s45-menu-item:hover .s45-menu-item__image img { transform: scale(1.055); }
}

@media (max-width: 980px) {
  :root { --s45-header: 82px; --s45-logo-width: 260px; --s45-logo-height: 64px; }
  body.menu-open { overflow: hidden; }
  .menu-toggle { display: block; }
  .primary-nav {
    position: fixed; inset: var(--s45-header-total) 0 auto; display: none; padding: 18px 20px 28px;
    border-bottom: 1px solid var(--s45-line); background: #111315;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { align-items: stretch; flex-direction: column; }
  .primary-nav a { padding: 13px 5px; font-size: 1.05rem; }
  .s45-hero__grid { grid-template-columns: 1fr; padding-block: 65px; }
  .s45-hero__stage { width: min(100%, 650px); min-height: 480px; margin-inline: auto; }
  .s45-grid-3 { grid-template-columns: 1fr 1fr; }
  .s45-grid-3 > :last-child { grid-column: 1 / -1; }
  .s45-menu-grid { grid-template-columns: 1fr; }
  .s45-split { grid-template-columns: 1fr; }
  .s45-contact-layout { grid-template-columns: 1fr; }
  .s45-call-card { transform: none; }
  .site-footer__main { grid-template-columns: 1fr 1fr; }
  .site-footer__main > :first-child { grid-column: 1 / -1; }
  body.admin-bar .primary-nav { top: calc(32px + var(--s45-header-total)); }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar .primary-nav { top: calc(46px + var(--s45-header-total)); }
}

@media (max-width: 640px) {
  :root { --s45-header: 74px; --s45-contact-strip: 42px; --s45-logo-width: 205px; --s45-logo-height: 56px; }
  .s45-wrap, .s45-narrow { width: min(calc(100% - 28px), var(--s45-wrap)); }
  .site-header__inner { gap: 12px; }
  .s45-contact-strip__inner { min-height: 42px; gap: 10px; }
  .s45-contact-strip__help { display: none; }
  .s45-contact-strip__label--full { display: none; }
  .s45-contact-strip__label--short { display: inline; flex: 1; font-size: .7rem; }
  .s45-contact-strip__phone { font-size: .82rem; }
  .site-title { font-size: .9rem; }
  .site-title::before { width: 38px; height: 38px; }
  .s45-hero { min-height: auto; }
  .s45-hero__grid { padding-block: 54px 70px; }
  .s45-hero h1 { font-size: clamp(2.85rem, 15vw, 4.35rem); }
  .s45-hero__stage { min-height: 320px; }
	.s45-dish-card--main { inset: 16% 0; }
  .s45-dish-card--top { width: 43%; right: 0; }
  .s45-dish-card--bottom { width: 48%; }
  .s45-hero__badge { width: 92px; height: 92px; right: 0; font-size: .6rem; }
  .s45-grid-3 { grid-template-columns: 1fr; }
  .s45-grid-3 > :last-child { grid-column: auto; }
  .s45-feature { min-height: 270px; }
  .s45-menu-toolbar { gap: 7px; }
  .s45-filter { flex: 1 1 auto; max-width: 100%; padding-inline: 12px; }
  .s45-menu-item { grid-template-columns: 72px minmax(0, 1fr); column-gap: 12px; row-gap: 7px; padding: 12px; }
  .s45-menu-item__image { width: 72px; }
  .s45-menu-item h3 { font-size: 1.05rem; }
  .s45-menu-item p { font-size: .8rem; }
  .s45-menu-item__price { justify-self: start; font-size: .92rem; }
  .s45-gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .s45-gallery__item, .s45-gallery__item:nth-child(1), .s45-gallery__item:nth-child(5) { grid-column: auto; }
  .s45-form { grid-template-columns: 1fr; }
  .s45-field--full { grid-column: auto; }
  .s45-facts { grid-template-columns: 1fr; }
  .site-footer__main { grid-template-columns: 1fr; }
  .site-footer__main > :first-child { grid-column: auto; }
  .site-footer__bottom { flex-direction: column; }
}

@media (max-width: 360px) {
  :root { --s45-logo-width: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .s45-reveal { opacity: 1; transform: none; }
  .s45-dish-card, .s45-feature { transform: none !important; }
  .s45-menu-item { opacity: 1 !important; transform: none !important; animation: none !important; }
}
