:root {
  --navy-deep: #15193b;
  --navy: #202657;
  --burgundy: #9e2a3b;
  --burgundy-bright: #b83244;
  --terracotta: #d45d42;
  --gold: #d99b43;
  --cream: #faf6ee;
  --cream-dark: #efe7d8;
  --white: #ffffff;
  --text-dark: #1c1d29;
  --text-muted: #5a5d72;
  --green-italy: #2b7a4b;
  --border-soft: rgba(21, 25, 59, 0.1);
  --shadow-sm: 0 6px 18px rgba(21, 25, 59, 0.06);
  --shadow-md: 0 14px 36px rgba(21, 25, 59, 0.11);
  --shadow-lg: 0 24px 60px rgba(15, 18, 46, 0.22);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

picture {
  display: block;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -120px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 14px;
  outline: 3px solid var(--white);
  outline-offset: 2px;
}

button,
input,
textarea {
  font: inherit;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.hidden {
  display: none !important;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

/* Итальянский триколор сверху */
.tricolor-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 4px;
  width: 100%;
}
.tricolor-green { background: #1e824c; }
.tricolor-white { background: #ffffff; }
.tricolor-red { background: #c0392b; }

/* Навигация */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 246, 238, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 74px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo-img {
  display: block;
  height: 58px;
  width: auto;
  object-fit: contain;
}

.brand-logo-light {
  align-items: baseline;
  gap: 6px;
  position: relative;
  padding-bottom: 5px;
}

.brand-script {
  font-family: 'Marck Script', cursive;
  font-size: 2rem;
  line-height: 1;
  color: var(--burgundy);
}

.brand-ital {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  color: var(--navy-deep);
}

.brand-logo-light .brand-script {
  color: #f4d3a1;
}

.brand-logo-light .brand-ital {
  color: var(--white);
}

.brand-tricolor {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 68px;
  height: 3px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 2px;
  overflow: hidden;
}
.brand-tricolor i:nth-child(1) { background: #1e824c; }
.brand-tricolor i:nth-child(2) { background: #ffffff; }
.brand-tricolor i:nth-child(3) { background: #c0392b; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--navy-deep);
  transition: color var(--transition);
}

.main-nav a:hover {
  color: var(--burgundy);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-deep);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(21, 25, 59, 0.06);
  transition: background var(--transition);
}

.header-phone:hover {
  background: rgba(21, 25, 59, 0.11);
}

.cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: var(--navy-deep);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
}

.cart-trigger:hover {
  background: var(--burgundy);
  transform: translateY(-1px);
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.78rem;
  font-weight: 800;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  background: var(--navy-deep);
  border-radius: 2px;
}

.mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px 22px;
  background: var(--cream);
  border-top: 1px solid var(--border-soft);
}

.mobile-drawer.open {
  display: flex;
}

.mobile-link {
  font-weight: 700;
  font-size: 1rem;
  padding: 6px 0;
}

.mobile-phones {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--border-soft);
  font-size: 0.9rem;
  color: var(--burgundy);
  font-weight: 600;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #171b40 0%, #24295c 52%, #592039 100%);
  color: var(--white);
  padding: 58px 0 96px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(217, 155, 67, 0.16), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(196, 60, 74, 0.25), transparent 45%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: end;
  gap: 44px;
}

.hero-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.badge-status {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f6efe3;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.22);
}

.status-dot.closed {
  background: #fbbf24;
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.22);
}

.halal-seal {
  position: absolute;
  top: -36px;
  right: 0;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 0 0 2px rgba(23, 27, 64, 0.35),
    inset 0 0 0 2.5px rgba(255, 255, 255, 0.1);
  color: rgba(246, 239, 227, 0.78);
  user-select: none;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.halal-seal:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(244, 200, 122, 0.45);
  color: rgba(246, 239, 227, 0.96);
}

.halal-seal-ar {
  font-size: 0.68rem;
  line-height: 1;
  font-weight: 600;
}

.halal-seal-lat {
  font-size: 0.45rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.hero-title {
  margin: 0 0 18px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.5rem, 4.8vw, 4rem);
  line-height: 1.04;
  font-weight: 700;
}

.accent-italic {
  font-style: italic;
  color: #f4c87a;
}

.hero-subtitle {
  margin: 0 0 28px;
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.84);
  max-width: 560px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: none;
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--burgundy-bright), var(--terracotta));
  color: var(--white);
  box-shadow: 0 12px 28px rgba(184, 50, 68, 0.36);
}

.btn-primary:hover {
  box-shadow: 0 16px 34px rgba(184, 50, 68, 0.48);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy-deep);
  border: 1.5px solid rgba(21, 25, 59, 0.22);
}

.btn-outline-dark:hover {
  background: rgba(21, 25, 59, 0.06);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.86rem;
}

.btn-whatsapp {
  width: 100%;
  background: #1f9d55;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(31, 157, 85, 0.25);
}

.btn-whatsapp:hover {
  background: #198748;
}

.hero-quick-branches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quick-branch-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  transition: background var(--transition), border-color var(--transition);
}

.quick-branch-card:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(244, 200, 122, 0.55);
}

.qb-top {
  display: block;
}

.qb-label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.74rem;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f4c87a;
  font-weight: 700;
}

.qb-addr {
  display: block;
  font-size: 0.98rem;
  line-height: 1.25;
}

.qb-phone {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.78);
}

.hero-visual {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(18, 22, 52, 0.96);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-image-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-floating-card {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(18, 22, 52, 0.96);
}

.floating-rating {
  display: flex;
  align-items: center;
  gap: 14px;
}

.star-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}

.floating-rating strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.3;
  margin-bottom: 2px;
}

.floating-rating > div span {
  display: block;
  font-size: 0.82rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.78);
}

.italian-skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 72px;
  color: var(--cream);
  pointer-events: none;
  z-index: 1;
}

.italian-skyline svg {
  width: 100%;
  height: 100%;
}

/* SECTIONS COMMON */
section[id] {
  scroll-margin-top: 86px;
}

.section-header {
  margin-bottom: 34px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 6px;
}

.section-title {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.1;
  color: var(--navy-deep);
}

/* HIGHLIGHTS */
.highlights {
  padding: 64px 0 72px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 42px;
}

.highlight-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(145deg, #fdf8ef, #f3e6d3);
  border: 1px solid rgba(158, 42, 59, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 4px 12px rgba(21, 25, 59, 0.06);
  color: var(--burgundy);
  margin-bottom: 14px;
}

.highlight-icon-halal {
  background: linear-gradient(145deg, #eff8f2, #ddf0e4);
  border-color: rgba(43, 122, 75, 0.24);
  color: var(--green-italy);
}

.highlight-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  color: var(--navy-deep);
}

.highlight-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.editorial-triptych {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.triptych-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.triptych-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.triptych-item:hover img {
  transform: scale(1.04);
}

.triptych-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 18px 16px;
  background: linear-gradient(to top, rgba(16, 19, 44, 0.9), transparent);
  color: var(--white);
}

.triptych-caption span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f4c87a;
  font-weight: 700;
}

.triptych-caption strong {
  font-size: 1.08rem;
}

/* SIGNATURE BANNER */
.signature-banner {
  padding: 56px 0;
  background: linear-gradient(120deg, var(--navy-deep) 0%, #3d1d3c 100%);
  color: var(--white);
}

.signature-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.badge-gold {
  background: rgba(217, 155, 67, 0.22);
  color: #f7d294;
  border: 1px solid rgba(217, 155, 67, 0.45);
  margin-bottom: 14px;
}

.signature-info h2 {
  margin: 0 0 12px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.1;
}

.signature-info p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.84);
}

.quartet-list {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.quartet-btn {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  position: relative;
  padding: 10px 14px 10px 32px;
  border-radius: 12px;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.quartet-btn::before {
  content: '◆';
  position: absolute;
  left: 12px;
  color: var(--gold);
  font-size: 0.78rem;
  top: 12px;
}

.quartet-btn:hover,
.quartet-btn.is-active {
  background: rgba(217, 155, 67, 0.14);
  border-color: rgba(217, 155, 67, 0.55);
  color: #ffffff;
  transform: translateX(6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.quartet-btn.is-active strong {
  color: #f7d294;
}

.signature-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.signature-price {
  font-size: 1.9rem;
  font-weight: 800;
  color: #f4c87a;
}

.signature-price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.signature-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.signature-mode-bar {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  gap: 4px;
}

.sig-mode-btn {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.sig-mode-btn.active {
  background: linear-gradient(135deg, var(--gold) 0%, var(--terracotta) 100%);
  color: #15193b;
  font-weight: 700;
}

.signature-remotion-stage {
  position: relative;
  width: min(440px, 100%);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.signature-remotion-stage .ruler-label {
  top: 2px;
  z-index: 6;
}

.signature-canvas {
  width: 100%;
  max-width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  touch-action: manipulation;
  user-select: none;
}

.sap-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 6px;
}

.sap-dot {
  min-width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sap-dot::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  transition: width 0.25s ease, background 0.25s ease;
}

.sap-dot.active::before {
  width: 22px;
  background: #f4c87a;
}

.signature-ruler-ring {
  position: absolute;
  inset: 2%;
  border-radius: 50%;
  border: 1.5px dashed rgba(217, 155, 67, 0.42);
  pointer-events: none;
}

.ruler-label {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #231a3d;
  color: #f4c87a;
  border: 1px solid rgba(217, 155, 67, 0.5);
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.signature-board {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #38261e 0%, #211510 68%, #130c09 100%);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.52),
    inset 0 2px 10px rgba(217, 155, 67, 0.24);
  pointer-events: none;
}

.signature-pizza-wrap {
  position: relative;
  width: 84%;
  height: 84%;
}

.pizza-quarter {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
  outline: none;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.pizza-quarter:focus,
.pizza-quarter:active {
  outline: none;
  background: transparent;
}

.pizza-quarter img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.q-margherita {
  clip-path: polygon(0% 0%, 50% 0%, 50% 50%, 0% 50%);
}
.q-pepperoni {
  clip-path: polygon(50% 0%, 100% 0%, 100% 50%, 50% 50%);
}
.q-chicken {
  clip-path: polygon(0% 50%, 50% 50%, 50% 100%, 0% 100%);
}
.q-mushroom {
  clip-path: polygon(50% 50%, 100% 50%, 100% 100%, 50% 100%);
}

.signature-pizza-wrap.has-selection .pizza-quarter {
  opacity: 0.72;
}

.pizza-quarter.is-active {
  opacity: 1 !important;
  z-index: 5;
}

.q-margherita.is-active {
  transform: translate(-12px, -12px) scale(1.045);
}
.q-pepperoni.is-active {
  transform: translate(12px, -12px) scale(1.045);
}
.q-chicken.is-active {
  transform: translate(-12px, 12px) scale(1.045);
}
.q-mushroom.is-active {
  transform: translate(12px, 12px) scale(1.045);
}

.cheese-pulls-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
  overflow: visible;
}

.cheese-group {
  opacity: 0;
  transform-origin: 200px 200px;
  transform: scale(0.92);
  transition: opacity 0.24s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.cheese-group.is-active {
  opacity: 1;
  transform: scale(1);
}

.cheese-strand {
  fill: url(#cheeseGradA);
  stroke: rgba(189, 114, 34, 0.45);
  stroke-width: 0.9;
  stroke-linejoin: round;
}

.cheese-strand-thin {
  fill: url(#cheeseGradB);
  stroke: rgba(189, 114, 34, 0.38);
  stroke-width: 0.7;
  opacity: 0.92;
}

.signature-active-pill {
  position: relative;
  z-index: 10;
  margin-top: -58px;
  width: min(350px, 94%);
  padding: 12px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(21, 25, 59, 0.94) 0%, rgba(158, 42, 59, 0.92) 100%);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(217, 155, 67, 0.6);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.36);
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

.sap-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.sap-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.1;
  color: #f4c87a;
}

.sap-desc {
  font-size: 0.84rem;
  line-height: 1.35;
  min-height: 2.7em;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #faf6ee;
}

.signature-video-wrap {
  width: min(440px, 100%);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signature-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

/* MENU SECTION */
.menu-section {
  padding: 76px 0 84px;
}

.menu-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.menu-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: min(360px, 100%);
  background: var(--white);
  border: 1.5px solid var(--border-soft);
  border-radius: 999px;
  padding: 0 14px;
  box-shadow: var(--shadow-sm);
}

.menu-search-wrap svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.menu-search-wrap input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 12px 10px;
  font-size: 0.94rem;
  color: var(--text-dark);
}

.clear-search {
  border: none;
  background: rgba(21, 25, 59, 0.08);
  color: var(--navy-deep);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.78rem;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--border-soft);
  background: var(--white);
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
}

.cat-tab span:first-child {
  display: inline-flex;
  align-items: center;
}

.cat-tab:hover {
  border-color: var(--burgundy);
}

.cat-tab.active {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(21, 25, 59, 0.2);
}

.tag-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tag-pill {
  border: 1px solid var(--border-soft);
  background: var(--cream-dark);
  color: var(--text-dark);
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.tag-pill.active {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--white);
}

.menu-accordion-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.menu-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.menu-hint svg {
  color: var(--burgundy);
  flex-shrink: 0;
}

.toggle-all-btn {
  border: 1px solid rgba(21, 25, 59, 0.16);
  background: var(--white);
  color: var(--navy-deep);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.toggle-all-btn:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
}

.menu-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.menu-accordion-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.menu-accordion-item:hover {
  border-color: rgba(158, 42, 59, 0.28);
  box-shadow: var(--shadow-md);
}

.menu-accordion-item.is-open {
  border-color: rgba(158, 42, 59, 0.45);
  box-shadow: var(--shadow-md);
}

.menu-accordion-trigger {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  cursor: pointer;
  color: inherit;
  transition: background var(--transition);
}

.acc-trigger-main {
  width: 100%;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-accordion-trigger:hover {
  background: rgba(250, 246, 238, 0.55);
}

.menu-accordion-item.is-open .menu-accordion-trigger {
  background: linear-gradient(90deg, rgba(250, 246, 238, 0.9), rgba(255, 255, 255, 1));
  border-bottom: 1px solid var(--border-soft);
}

.acc-thumb-wrap {
  width: 84px;
  height: 84px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(21, 25, 59, 0.14);
  border: 1px solid rgba(21, 25, 59, 0.08);
}

.acc-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.menu-accordion-trigger:hover .acc-thumb {
  transform: scale(1.06);
}

.acc-info {
  flex: 1;
  min-width: 0;
}

.acc-title {
  margin: 0 0 3px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy-deep);
}

.acc-subtitle {
  margin: 0 0 8px;
  font-size: 0.86rem;
  line-height: 1.38;
  color: var(--text-muted);
}

.acc-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.acc-count-pill,
.acc-price-pill {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.acc-count-pill {
  background: var(--cream-dark);
  color: var(--navy-deep);
}

.acc-price-pill {
  background: rgba(158, 42, 59, 0.1);
  color: var(--burgundy);
}

.acc-branch-strip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  background: linear-gradient(90deg, rgba(250, 243, 224, 0.86), rgba(253, 249, 240, 0.95));
  border-top: 1px solid rgba(217, 155, 67, 0.25);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: #7a4b12;
}

.acc-branch-strip svg {
  flex-shrink: 0;
  color: var(--burgundy);
}

.acc-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.acc-action-text {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--burgundy);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(158, 42, 59, 0.08);
}

.menu-accordion-item.is-open .acc-action-text {
  background: var(--navy-deep);
  color: var(--white);
}

.acc-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(158, 42, 59, 0.28);
  background: var(--cream);
  color: var(--burgundy);
  transition: transform 0.25s ease, background var(--transition), color var(--transition), border-color var(--transition);
}

.menu-accordion-item.is-open .acc-chevron {
  transform: rotate(180deg);
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--white);
}

.menu-accordion-body {
  padding: 20px 18px 18px;
  background: var(--cream);
}

.menu-accordion-footer {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.collapse-section-btn {
  border: 1px solid rgba(21, 25, 59, 0.18);
  background: var(--white);
  color: var(--navy-deep);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.collapse-section-btn:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
}

.menu-group-heading {
  grid-column: 1 / -1;
  margin: 18px 0 4px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--border-soft);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.7rem;
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-group-heading:first-child {
  margin-top: 0;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.menu-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(158, 42, 59, 0.25);
}

.menu-card-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.item-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.item-tag-cat { background: var(--cream-dark); color: var(--navy-deep); }
.item-tag-hit { background: #fff0d6; color: #9c5b00; }
.item-tag-spicy { background: #ffe4e6; color: #b91c1c; }
.item-tag-veg { background: #e6f6ec; color: #1d6b3b; }
.item-tag-seafood { background: #e5f3ff; color: #165999; }
.item-tag-sweet { background: #f8e8f6; color: #8c287b; }

.menu-card-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1.25;
}

.menu-card-desc {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.menu-card-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.variant-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.variant-btn {
  border: 1px solid var(--border-soft);
  background: var(--cream);
  color: var(--navy-deep);
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.variant-btn.active {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--white);
}

.price-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.item-price {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--burgundy);
}

.add-to-cart-btn {
  border: none;
  background: var(--navy-deep);
  color: var(--white);
  padding: 9px 15px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.add-to-cart-btn:hover {
  background: var(--burgundy);
  transform: scale(1.03);
}

.qty-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream-dark);
  border-radius: 999px;
  padding: 4px;
}

.qty-inline button {
  width: 28px;
  height: 28px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--navy-deep);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.qty-inline button svg {
  width: 12px;
  height: 12px;
  display: block;
  pointer-events: none;
}

.qty-inline span {
  min-width: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1;
}

.menu-empty {
  text-align: center;
  padding: 48px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px dashed rgba(21, 25, 59, 0.22);
}

/* LOCATIONS */
.locations-section {
  padding: 72px 0 88px;
  background: var(--cream-dark);
}

.locations-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: stretch;
}

.branches-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.branch-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.branch-card:hover {
  box-shadow: var(--shadow-md);
}

.branch-card.active {
  border-color: var(--burgundy);
  box-shadow: var(--shadow-md);
}

.branch-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  margin-bottom: 10px;
}

.branch-name {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--burgundy);
  font-weight: 800;
}

.branch-rating {
  font-size: 0.78rem;
  font-weight: 700;
  background: #fff4df;
  color: #8a5200;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.branch-address {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-deep);
}

.branch-note {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.branch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}

.branch-phone {
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--navy-deep);
}

.branch-phone:hover {
  color: var(--burgundy);
}

.branch-hours {
  font-size: 0.86rem;
  color: var(--green-italy);
  font-weight: 700;
}

.map-panel {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
}

.map-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  background: var(--navy-deep);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
}

.map-external-links {
  display: flex;
  gap: 14px;
}

.map-external-links a {
  color: #f4c87a;
  font-size: 0.84rem;
}

.map-external-links a:hover {
  text-decoration: underline;
}

.map-frame-wrap {
  flex: 1;
  min-height: 360px;
}

.map-frame-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

/* FOOTER */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 52px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand p {
  margin: 14px 0 0;
  font-size: 0.9rem;
  max-width: 360px;
}

.footer-col h3,
.footer-col h4 {
  margin: 0 0 12px;
  color: #f4c87a;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col p {
  margin: 0 0 10px;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: #f4c87a;
}

.footer-bottom {
  padding-top: 20px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.58);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

/* CART DRAWER */
.floating-cart-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 999px;
  border: none;
  background: var(--burgundy);
  color: var(--white);
  font-weight: 800;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
}

.fc-meta {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 14, 34, 0.56);
  backdrop-filter: blur(4px);
  z-index: 60;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(460px, 100vw);
  background: var(--cream);
  z-index: 70;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -12px 0 40px rgba(12, 14, 34, 0.25);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  background: var(--navy-deep);
  color: var(--white);
}

.cart-drawer-header h3 {
  margin: 0;
  font-size: 1.25rem;
}

.cart-sub {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
}

.cart-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.clear-cart-btn {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.clear-cart-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.close-cart-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-item-info strong {
  display: block;
  font-size: 0.94rem;
  color: var(--navy-deep);
}

.cart-item-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cart-item-unavailable {
  border-color: rgba(185, 28, 28, 0.42);
  background: #fff7f7;
}

.cart-item-warn {
  display: block;
  margin-top: 4px;
  font-size: 0.76rem !important;
  font-weight: 700;
  color: #b42318 !important;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-empty-state {
  text-align: center;
  padding: 34px 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px dashed rgba(21, 25, 59, 0.2);
}

.empty-icon {
  font-size: 2.3rem;
  margin-bottom: 8px;
}

.cart-empty-state p {
  margin: 0 0 6px;
  font-weight: 800;
  color: var(--navy-deep);
}

.cart-empty-state span {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--border-soft);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-deep);
}

.form-group input,
.form-group textarea {
  border: 1.5px solid var(--border-soft);
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--white);
  font-size: 0.9rem;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--burgundy);
}

.segmented-control {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 6px;
  background: var(--cream-dark);
  padding: 4px;
  border-radius: 10px;
}

.seg-btn {
  border: none;
  background: transparent;
  padding: 8px 6px;
  border-radius: 8px;
  font-size: 0.78rem;
  line-height: 1.25;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
}

.seg-btn.active {
  background: var(--white);
  color: var(--navy-deep);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.branch-conflict-alert {
  margin-top: 6px;
  padding: 12px 13px;
  border-radius: 12px;
  background: #fff4f2;
  border: 1.5px solid rgba(185, 28, 28, 0.34);
  color: #7f1d1d;
  font-size: 0.82rem;
  line-height: 1.42;
}

.branch-conflict-alert p {
  margin: 0 0 10px;
}

.branch-conflict-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-conflict-primary,
.btn-conflict-secondary {
  border-radius: 9px;
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity var(--transition), background var(--transition), border-color var(--transition);
}

.btn-conflict-primary {
  border: none;
  background: var(--navy-deep);
  color: var(--white);
}

.btn-conflict-primary:hover {
  background: var(--burgundy);
}

.btn-conflict-secondary {
  border: 1px solid rgba(185, 28, 28, 0.35);
  background: var(--white);
  color: #991b1b;
}

.btn-conflict-secondary:hover {
  background: #fee2e2;
}

.btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.cart-drawer-footer {
  padding: 16px 22px 20px;
  background: var(--white);
  border-top: 1px solid var(--border-soft);
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.cart-total-row strong {
  font-size: 1.35rem;
  color: var(--burgundy);
}

.cart-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-secondary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* TOAST */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 90;
  width: max-content;
  max-width: calc(100vw - 32px);
  background: var(--navy-deep);
  color: var(--white);
  padding: 11px 18px;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  transition: bottom 0.2s ease;
}

body.has-cart-items .toast {
  bottom: 84px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-grid,
  .signature-grid,
  .locations-grid {
    grid-template-columns: 1fr;
  }

  .highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    gap: 10px;
  }

  .main-nav,
  .header-phone {
    display: none;
  }

  body.has-cart-items .site-header .cart-trigger {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .brand-logo-img {
    height: 62px;
  }

  .hero {
    padding: 28px 0 64px;
  }

  .hero-badges {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .badge-status {
    font-size: 0.78rem;
    padding: 6px 12px;
  }

  .halal-seal {
    position: static;
    width: 34px;
    height: 34px;
  }

  .halal-seal-ar {
    font-size: 0.58rem;
  }

  .halal-seal-lat {
    font-size: 0.39rem;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-cta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
  }

  .hero-cta .btn {
    width: 100%;
    padding: 12px 10px;
    font-size: 0.84rem;
    gap: 6px;
    white-space: nowrap;
  }

  .hero-quick-branches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .quick-branch-card {
    padding: 11px 10px;
  }

  .qb-label {
    font-size: 0.65rem;
    letter-spacing: 0.04em;
    margin-bottom: 3px;
  }

  .qb-addr {
    font-size: 0.84rem;
    white-space: nowrap;
  }

  .qb-phone {
    font-size: 0.74rem;
    white-space: nowrap;
  }

  .hero-floating-card {
    padding: 12px 14px;
  }

  .highlights {
    padding: 44px 0 52px;
  }

  .highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 26px;
  }

  .highlight-card {
    padding: 16px;
  }

  .highlight-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    margin-bottom: 10px;
  }

  .highlight-card h3 {
    font-size: 0.96rem;
  }

  .highlight-card p {
    font-size: 0.82rem;
    line-height: 1.42;
  }

  .editorial-triptych {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    margin-inline: -16px;
    padding-inline: 16px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .editorial-triptych::-webkit-scrollbar {
    display: none;
  }

  .triptych-item {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .quartet-list {
    display: none;
  }

  .signature-banner {
    padding: 42px 0 48px;
  }

  .signature-grid {
    gap: 28px;
  }

  .signature-cta-row {
    justify-content: space-between;
    width: 100%;
    gap: 12px;
  }

  .signature-active-pill {
    margin-top: -48px;
  }

  .menu-section {
    padding: 52px 0 64px;
  }

  .category-tabs,
  .tag-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: -16px;
    padding-inline: 16px;
    padding-bottom: 4px;
  }

  .category-tabs::-webkit-scrollbar,
  .tag-filters::-webkit-scrollbar {
    display: none;
  }

  .cat-tab,
  .tag-pill {
    flex-shrink: 0;
  }

  .menu-grid,
  .form-row,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .menu-accordion {
    gap: 10px;
  }

  .acc-trigger-main {
    padding: 12px;
    gap: 12px;
  }

  .acc-branch-strip {
    padding: 7px 12px;
    font-size: 0.73rem;
  }

  .acc-thumb-wrap {
    width: 68px;
    height: 68px;
    border-radius: 12px;
  }

  .acc-title {
    font-size: 1.38rem;
  }

  .acc-subtitle {
    font-size: 0.79rem;
    line-height: 1.35;
    margin-bottom: 7px;
  }

  .acc-action-text {
    display: none;
  }

  .acc-chevron {
    width: 34px;
    height: 34px;
  }

  .menu-accordion-body {
    padding: 14px 12px 16px;
  }

  .menu-card {
    padding: 16px;
    gap: 12px;
  }

  .floating-cart-btn {
    left: 16px;
    right: 16px;
    bottom: 14px;
    padding: 12px 18px;
    justify-content: space-between;
  }

  body.has-cart-items .site-footer {
    padding-bottom: 92px;
  }

  body.has-cart-items .toast {
    bottom: 78px;
  }
}

/* Правовые ссылки в футере, SEO-фоллбек без JS и страницы privacy / 404 */
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal-links a:hover {
  color: #f4c87a;
}

.ssr-menu-details > summary {
  list-style: none;
  cursor: pointer;
}

.ssr-menu-details > summary::-webkit-details-marker {
  display: none;
}

.ssr-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 14px;
}

.ssr-menu-item {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ssr-menu-item-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.ssr-menu-item-price {
  margin-top: auto;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy-deep);
}

.legal-page {
  padding: 48px 0 72px;
}

.legal-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}

.legal-back-link {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--burgundy);
}

.legal-card h1 {
  margin: 0 0 14px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.12;
  color: var(--navy-deep);
}

.legal-lead {
  margin: 0 0 24px;
  font-size: 1.02rem;
  color: var(--text-muted);
}

.legal-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}

.legal-section h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: var(--navy-deep);
}

.legal-section p,
.legal-section li {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.6;
}

.legal-section ul {
  margin: 8px 0 12px;
  padding-left: 20px;
}

.legal-section a {
  color: var(--burgundy);
  font-weight: 600;
}

.error-404-card .badge {
  margin-bottom: 14px;
}

.error-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 8px;
}

@media (max-width: 640px) {
  .legal-card {
    padding: 24px 20px;
  }
}

@media (max-width: 380px) {
  .brand-logo-img {
    height: 58px;
  }
}

/* ==================== ДИНАМИЧЕСКИЕ ФУНКЦИИ MINI APP ==================== */

/* Баннер объявлений сверху сайта */
.site-announcement {
  width: 100%;
  padding: 10px 16px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.site-announcement.style-gold {
  background: linear-gradient(90deg, #241b0c, #3b2a10, #241b0c);
  color: #fce7bc;
}

.site-announcement.style-burgundy {
  background: linear-gradient(90deg, #7d1e2d, var(--burgundy), #7d1e2d);
  color: var(--white);
}

.site-announcement.style-green {
  background: linear-gradient(90deg, #1b5835, var(--green-italy), #1b5835);
  color: var(--white);
}

.site-announcement-badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Переключатель филиала в шапке меню */
.menu-branch-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
  background: var(--white);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.menu-branch-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy-deep);
}

.menu-branch-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  flex: 1;
  max-width: 560px;
}

.menu-branch-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--border-soft);
  background: var(--cream);
  color: var(--navy-deep);
  text-align: left;
  cursor: pointer;
  transition: all var(--transition);
}

.menu-branch-pill strong {
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
}

.menu-branch-pill span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.menu-branch-pill:hover {
  border-color: rgba(158, 42, 59, 0.4);
}

.menu-branch-pill.active {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(21, 25, 59, 0.2);
}

.menu-branch-pill.active span {
  color: rgba(255, 255, 255, 0.78);
}

/* Предупреждение о загрузке / паузе филиала */
.branch-status-notice {
  margin-bottom: 14px;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.branch-status-notice.is-rush {
  background: #fff6e5;
  border: 1.5px solid rgba(217, 155, 67, 0.55);
  color: #7a4b12;
}

.branch-status-notice.is-paused {
  background: #fff2f2;
  border: 1.5px solid rgba(185, 28, 28, 0.4);
  color: #8f1d1d;
}

/* Фото блюда, бейдж Новинка, акционная цена */
.menu-card-photo {
  margin: -20px -20px 10px;
  height: 168px;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: var(--cream-dark);
}

.menu-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-tag-new {
  background: #e5f0ff;
  color: #174ea6;
}

.item-tag-stopped {
  background: #fee2e2;
  color: #b42318;
}

.item-price-group {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
}

.item-old-price {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* Приглушённая карточка позиции из стоп-листа */
.menu-card-stopped {
  opacity: 0.72;
  background: #faf8f4;
  border-style: dashed;
}

.menu-card-stopped:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
}

.menu-card-stopped .menu-card-photo img {
  filter: grayscale(0.65);
}

.switch-branch-hint-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(43, 122, 75, 0.35);
  background: #edf8f1;
  color: var(--green-italy);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.switch-branch-hint-btn:hover {
  background: var(--green-italy);
  color: var(--white);
}

.variant-btn-stopped {
  opacity: 0.48;
  text-decoration: line-through;
  cursor: not-allowed;
  background: #f3efea;
}

.add-to-cart-btn.is-stopped {
  background: var(--cream-dark);
  color: var(--text-muted);
  cursor: not-allowed;
}

.add-to-cart-btn.is-stopped:hover {
  background: var(--cream-dark);
  transform: none;
}

/* Живая витрина вкусов джелато внутри карточки */
.gelato-flavors-strip {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-soft);
}

.gelato-flavors-label {
  display: block;
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.gelato-flavors-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.gelato-flavor-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: var(--cream);
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--navy-deep);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.gelato-flavor-tag:hover {
  border-color: var(--burgundy);
  background: var(--white);
}

.signature-old-price {
  opacity: 0.6;
  font-size: 0.7em;
  margin-right: 6px;
}

.gelato-flavor-dot {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  display: block;
}

/* Telegram-заказ и подтверждение в корзине */
.btn-telegram {
  width: 100%;
  background: linear-gradient(135deg, var(--navy-deep), #2a3372);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(21, 25, 59, 0.24);
}

.btn-telegram:hover {
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-bright));
}

.branch-pause-alert {
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff4e5;
  border: 1px solid rgba(217, 155, 67, 0.5);
  color: #7a4b12;
  font-size: 0.8rem;
  font-weight: 600;
}

.order-success-box {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius-md);
  background: #eefaf2;
  border: 1.5px solid rgba(43, 122, 75, 0.35);
}

.order-success-icon {
  font-size: 2rem;
  margin-bottom: 6px;
}

.order-success-box h4 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: var(--navy-deep);
}

.order-success-box p {
  margin: 0 0 14px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .menu-branch-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .menu-branch-pills {
    max-width: none;
  }
}
