:root {
  --smx-voice-gradient: radial-gradient(ellipse at 35% 12%, #667292 0, transparent 52%),
    radial-gradient(ellipse at 80% 60%, #985320 0, transparent 55%),
    radial-gradient(ellipse at 25% 75%, #643855 0, transparent 52%), #211e2c;
}

/* The voice setup shares the plans' warm surface in both themes. */
#sidemex-public-main #sidemex-medusa-public.smx-restaurant-section {
  position: relative;
  isolation: isolate;
  padding: clamp(64px, 8vw, 112px) 20px;
  color: #fff;
  background: #151216 !important;
}
#sidemex-medusa-public.smx-restaurant-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--smx-voice-gradient);
  opacity: .85;
  pointer-events: none;
}
#sidemex-medusa-public.smx-restaurant-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('/assets/img/voice-services/hero-grain.svg') repeat;
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
  opacity: .22;
  pointer-events: none;
}
.smx-restaurant-shell { max-width: 1120px; margin: 0 auto; }
.smx-restaurant-eyebrow {
  margin: 0 0 24px;
  text-align: center;
  font: 700 12px/1.5 Inter, Arial, sans-serif;
  letter-spacing: .16em;
  color: #ede4df;
}
.smx-restaurant-disclosure > summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 12px;
  cursor: pointer;
  text-align: center;
  list-style: none;
  touch-action: manipulation;
  border-radius: 16px;
}
.smx-restaurant-disclosure > summary::-webkit-details-marker { display: none; }
.smx-restaurant-disclosure > summary::marker { content: ""; }
.smx-restaurant-disclosure > summary:focus-visible {
  outline: 3px solid #efb073;
  outline-offset: 6px;
}
#smx-restaurant-title {
  margin: 0;
  color: #fff;
  font: 500 clamp(34px, 5.4vw, 72px)/1.08 Inter, Arial, sans-serif;
  letter-spacing: -.05em;
  text-wrap: balance;
}
#smx-restaurant-title > span { display: block; }
#smx-restaurant-title .smx-restaurant-title-accent { color: #efb073; }
.smx-restaurant-description {
  max-width: 590px;
  color: #e2dbe6;
  font: 400 16px/1.7 Inter, Arial, sans-serif;
}
.smx-restaurant-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid #efb073;
  border-radius: 100px;
  color: #fff;
  font: 600 15px/1.5 Inter, Arial, sans-serif;
}
.smx-restaurant-disclosure > summary:hover .smx-restaurant-toggle { background: #ffffff12; }
.smx-restaurant-disclosure .smx-restaurant-hide,
.smx-restaurant-disclosure[open] .smx-restaurant-show { display: none; }
.smx-restaurant-disclosure[open] .smx-restaurant-hide { display: inline; }
.smx-restaurant-disclosure[open] .smx-restaurant-toggle svg { transform: rotate(180deg); }
#smx-restaurant-content { margin-top: 40px; border-top: 1px solid #ffffff26; }
#smx-restaurant-content #sidemex-agent-hero { padding-top: 0; }
@media (max-width: 580px) {
  #sidemex-public-main #sidemex-medusa-public.smx-restaurant-section { padding-inline: 12px; }
  .smx-restaurant-disclosure > summary { padding-inline: 8px; }
  .smx-restaurant-description { font-size: 15px; }
}

/* Preserve internal lettering on logos with opaque backgrounds, including legacy theme rules. */
html body #sidemex-public-main #tech-stack-strip .smx-powered-logo img[data-logo-color="original"] { filter: none !important; }

#restaurant-agent, #smx-restaurant-content #sidemex-agent-hero { scroll-margin-top: calc(var(--smx-nav-h, 76px) + 20px); }
/* Keep the floating domain promotion from covering restaurant setup controls. */
body:has(#restaurant-agent[open]) #smx-nudge { visibility: hidden !important; pointer-events: none !important; }
