.cmc-menu-blocked-page {
  display: flex;
  flex: 1 1 auto;
  min-height: calc(100vh - 120px);
  padding: 0;
}

.cmc-menu-blocked,
.cmg-menu-blocked {
  display: flex;
  justify-content: center;
  padding: 3rem 1rem;
}

.cmc-menu-blocked--fullpage {
  width: 100%;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem) 1rem;
  background:
    radial-gradient(circle at 20% 10%, rgba(var(--cmc-blocked-accent-rgb, 255, 133, 0), 0.14) 0%, transparent 42%),
    radial-gradient(circle at 85% 85%, rgba(var(--cmc-blocked-accent-rgb, 255, 133, 0), 0.08) 0%, transparent 40%),
    linear-gradient(180deg, #fffaf5 0%, #fff 45%, #faf8f5 100%);
}

.cmc-menu-blocked-page > .cmc-menu-blocked--fullpage {
  min-height: calc(100vh - 120px);
}

.cmc-menu-blocked-shell {
  width: min(100%, 460px);
}

.cmc-menu-blocked-card {
  position: relative;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(107, 46, 0, 0.1);
  border-radius: 24px;
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2rem) clamp(1.5rem, 4vw, 2rem);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 24px 60px rgba(15, 23, 42, 0.1);
}

.cmc-menu-blocked-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  margin: 0 auto 1.1rem;
  border-radius: 28px;
  background: linear-gradient(145deg, #fff 0%, #fff9f3 100%);
  border: 1px solid rgba(107, 46, 0, 0.08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.cmc-menu-blocked-logo {
  display: block;
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.cmc-menu-blocked-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.25rem;
  height: 4.25rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  color: var(--cmc-blocked-accent, #ff8500);
  background: rgba(var(--cmc-blocked-accent-rgb, 255, 133, 0), 0.12);
  border: 1px solid rgba(var(--cmc-blocked-accent-rgb, 255, 133, 0), 0.22);
  box-shadow: 0 8px 24px rgba(var(--cmc-blocked-accent-rgb, 255, 133, 0), 0.18);
}

.cmc-menu-blocked-card:has(.cmc-menu-blocked-logo-wrap) .cmc-menu-blocked-badge {
  width: 3.5rem;
  height: 3.5rem;
  margin-top: -0.15rem;
  margin-bottom: 0.85rem;
}

.cmc-menu-blocked-badge-svg {
  width: 2rem;
  height: 2rem;
}

.cmc-menu-blocked-card:has(.cmc-menu-blocked-logo-wrap) .cmc-menu-blocked-badge-svg {
  width: 1.65rem;
  height: 1.65rem;
}

.cmc-menu-blocked-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 3.5vw, 1.65rem);
  line-height: 1.2;
  color: #6b2e00;
  font-weight: 800;
}

.cmc-menu-blocked-lead {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
  font-size: 0.98rem;
}

.cmc-menu-blocked-establishment {
  margin: 1.15rem 0 0;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #94a3b8;
}

.cmc-menu-blocked-inner {
  width: min(100%, 520px);
  text-align: center;
  background: #fff9f3;
  border: 1px solid rgba(255, 133, 0, 0.25);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.cmc-menu-blocked-icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 133, 0, 0.12);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.cmc-menu-blocked-inner h2 {
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
}

.cmc-menu-blocked-inner p {
  margin: 0;
  color: #4b5563;
  line-height: 1.55;
}

.cmc-menu-blocked-menu-name {
  margin-top: 1rem !important;
  font-size: 0.92rem;
  color: #9ca3af !important;
}

.cmc-menu-blocked--admin .cmc-menu-blocked-badge {
  color: #64748b;
  background: rgba(100, 116, 139, 0.12);
  border-color: rgba(100, 116, 139, 0.22);
  box-shadow: 0 8px 24px rgba(100, 116, 139, 0.12);
}

body.cmg-page-dark .cmc-menu-blocked--fullpage {
  background:
    radial-gradient(circle at 20% 10%, rgba(var(--cmc-blocked-accent-rgb, 255, 133, 0), 0.16) 0%, transparent 42%),
    linear-gradient(180deg, #111827 0%, #0f172a 100%);
}

body.cmg-page-dark .cmc-menu-blocked-card {
  background: #1f2937;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

body.cmg-page-dark .cmc-menu-blocked-logo-wrap {
  background: linear-gradient(145deg, #374151 0%, #1f2937 100%);
  border-color: rgba(255, 255, 255, 0.08);
}

body.cmg-page-dark .cmc-menu-blocked-title {
  color: #f9fafb;
}

body.cmg-page-dark .cmc-menu-blocked-lead {
  color: #cbd5e1;
}

body.cmg-page-dark .cmc-menu-blocked-establishment {
  color: #94a3b8;
}

body.cmg-page-dark .cmc-menu-blocked-inner {
  background: #1f2937;
  border-color: rgba(255, 133, 0, 0.35);
}

body.cmg-page-dark .cmc-menu-blocked-inner h2 {
  color: #f9fafb;
}

body.cmg-page-dark .cmc-menu-blocked-inner p {
  color: #d1d5db;
}

.cmc-impersonate-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.7rem 1rem;
  background: linear-gradient(135deg, #6b2e00 0%, #ff8500 100%);
  color: #fff;
  font-family: "Nunito", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.cmc-impersonate-bar a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  color: #e67600 !important;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.cmc-impersonate-bar a:hover {
  transform: translateY(-1px);
  color: #6b2e00 !important;
}

body.cmc-is-impersonating {
  padding-top: 52px !important;
}

@media (max-width: 520px) {
  .cmc-menu-blocked-logo-wrap {
    width: 96px;
    height: 96px;
    border-radius: 22px;
  }
}
