:root {
  --tm-action: #f97316;
  --tm-action-dark: #c2410c;
  --tm-bg: #f8fafc;
  --tm-border: #e5e7eb;
  --tm-green: #022b27;
  --tm-green-light: #0d4f45;
  --tm-ink: #111827;
  --menu-primary: var(--tm-action);
  --public-menu-bg: #022b27;
}

body {
  min-height: 100vh;
  background: var(--tm-bg);
  color: #111827;
  display: flex;
  flex-direction: column;
}

.page-shell {
  flex: 1 0 auto;
}

.main-navbar {
  background: #022b27;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer {
  background: #022b27;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
  flex: 0 0 auto;
  font-size: 0.92rem;
  padding: 20px 0;
}

.site-footer-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
}

.site-footer-inner span {
  line-height: 1.4;
}

.index-hero {
  background: #ffffff;
  color: var(--tm-ink);
  overflow: hidden;
  position: relative;
}

.index-hero-content {
  box-sizing: border-box;
  min-height: 430px;
  padding-bottom: clamp(52px, 7vw, 76px);
  padding-top: clamp(52px, 7vw, 76px);
  position: relative;
  z-index: 2;
}

.index-hero::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #f8fafc 100%);
  bottom: -1px;
  content: "";
  height: 96px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  z-index: 1;
}

.index-hero-visual {
  bottom: 18px;
  opacity: 0.08;
  pointer-events: none;
  position: absolute;
  right: -7vw;
  top: 26px;
  width: min(760px, 58vw);
  z-index: 1;
}

.index-hero-visual img {
  filter: saturate(1.08);
  height: 100%;
  object-fit: contain;
  object-position: center right;
  width: 100%;
}

.index-hero-copy {
  max-width: min(650px, 56vw);
  position: relative;
  z-index: 3;
}

.index-eyebrow {
  align-items: center;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  color: var(--tm-green);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 8px;
  letter-spacing: 0;
  margin-bottom: 18px;
  padding: 8px 12px;
  text-transform: uppercase;
}

.index-eyebrow .bi {
  color: var(--tm-action);
}

.index-hero h1 {
  font-size: clamp(3rem, 6.5vw, 5.4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.92;
  margin: 0;
}

.index-hero p {
  color: #475569;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.45;
  margin: 24px 0 0;
  max-width: 610px;
}

.index-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.index-hero-actions .btn {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 9px;
}

.btn-ghost-light {
  --bs-btn-bg: #ffffff;
  --bs-btn-border-color: #cbd5e1;
  --bs-btn-color: var(--tm-green);
  --bs-btn-hover-bg: #f1f5f9;
  --bs-btn-hover-border-color: #94a3b8;
  --bs-btn-hover-color: var(--tm-green);
  --bs-btn-active-bg: #e2e8f0;
  --bs-btn-active-border-color: #94a3b8;
  --bs-btn-active-color: var(--tm-green);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.index-hero-highlights {
  border-top: 1px solid var(--tm-border);
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 38px;
  max-width: 560px;
  padding-top: 20px;
}

.index-hero-highlights strong,
.index-hero-highlights span {
  display: block;
}

.index-hero-highlights strong {
  color: var(--tm-green);
  font-size: 1rem;
}

.index-hero-highlights span {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.35;
}

.index-demo-slider {
  bottom: 34px;
  max-width: min(35vw, 440px);
  position: absolute;
  right: 12px;
  width: 100%;
  z-index: 3;
}

.index-demo-frame {
  aspect-ratio: 1 / 1;
  background: #ffffff;
  border: 0;
  border-radius: 15px;
  box-shadow: none;
  display: block;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
  backdrop-filter: blur(18px);
}

.index-demo-image {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: contain;
  object-position: center center;
  opacity: 0;
  position: absolute;
  transform: scale(1.02);
  transition:
    opacity 0.45s ease,
    transform 0.55s ease;
  width: 100%;
}

.index-demo-image.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.index-demo-controls {
  align-items: center;
  bottom: 14px;
  display: flex;
  gap: 10px;
  justify-content: center;
  left: 14px;
  position: absolute;
  right: 14px;
  z-index: 4;
}

.index-demo-control,
.index-demo-dot {
  align-items: center;
  background: rgba(17, 24, 39, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: inline-flex;
  justify-content: center;
}

.index-demo-control {
  border-radius: 999px;
  height: 34px;
  width: 34px;
}

.index-demo-control:hover,
.index-demo-control:focus-visible {
  background: rgba(249, 115, 22, 0.92);
}

.index-demo-control:focus-visible,
.index-demo-dot:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.74);
  outline-offset: 3px;
}

.index-demo-dots {
  align-items: center;
  background: rgba(17, 24, 39, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  display: inline-flex;
  gap: 7px;
  padding: 10px 12px;
}

.index-demo-dot {
  border-radius: 999px;
  height: 9px;
  opacity: 0.72;
  padding: 0;
  transition:
    background 0.2s ease,
    opacity 0.2s ease,
    width 0.2s ease;
  width: 9px;
}

.index-demo-dot.is-active {
  background: var(--tm-action);
  opacity: 1;
  width: 24px;
}

.index-benefits {
  padding: 0 0 72px;
  position: relative;
  z-index: 4;
}

.index-benefits-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: -34px;
}

.index-benefit-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  padding: 24px;
}

.index-benefit-card .bi {
  align-items: center;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  color: var(--tm-action-dark);
  display: inline-flex;
  font-size: 1.2rem;
  height: 42px;
  justify-content: center;
  margin-bottom: 18px;
  width: 42px;
}

.index-benefit-card h2 {
  color: var(--tm-ink);
  font-size: 1.08rem;
  font-weight: 850;
  line-height: 1.25;
  margin: 0 0 8px;
}

.index-benefit-card p {
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.btn-action {
  --bs-btn-bg: var(--tm-action);
  --bs-btn-border-color: var(--tm-action);
  --bs-btn-hover-bg: var(--tm-action-dark);
  --bs-btn-hover-border-color: var(--tm-action-dark);
  --bs-btn-active-bg: var(--tm-action-dark);
  --bs-btn-active-border-color: var(--tm-action-dark);
  --bs-btn-color: #ffffff;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-active-color: #ffffff;
}

.text-action,
.link-action {
  color: var(--tm-action-dark);
}

.link-action:hover {
  color: var(--tm-action);
}

.auth-container {
  padding-top: 56px;
  padding-bottom: 56px;
}

.auth-panel {
  background: #ffffff;
  border: 1px solid var(--tm-border);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.password-field {
  position: relative;
}

.password-field .form-control {
  padding-right: 52px;
}

.password-toggle-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #475569;
  display: inline-flex;
  font-size: 1.05rem;
  height: 34px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
}

.password-toggle-button:hover,
.password-toggle-button:focus-visible {
  color: var(--tm-action-dark);
}

.password-toggle-button:focus-visible {
  outline: 2px solid rgba(217, 119, 6, 0.35);
  outline-offset: 2px;
}

.auth-small-link {
  font-size: 0.88rem;
}

.form-control {
  min-height: 46px;
}

.form-select {
  min-height: 46px;
}

.color-picker-row {
  align-items: center;
  display: flex;
  gap: 12px;
}

.color-picker-row .form-control-color {
  flex: 0 0 64px;
  height: 46px;
  min-height: 46px;
  padding: 6px;
  width: 64px;
}

.color-picker-row span {
  color: #64748b;
  font-size: 0.92rem;
}

.public-settings {
  border-top: 1px solid var(--tm-border);
  padding-top: 20px;
}

.public-settings-grid,
.public-settings-values {
  display: grid;
  gap: 10px;
}

.square-check-option {
  align-items: center;
  color: #334155;
  display: flex;
  font-weight: 600;
  gap: 10px;
}

.info-popover-button {
  align-items: center;
  align-self: center;
  background: transparent;
  border: 0;
  color: var(--tm-action-dark);
  display: inline-flex;
  font-size: 1rem;
  height: 32px;
  justify-content: center;
  padding: 0;
  width: 32px;
}

.info-popover-button:hover,
.info-popover-button:focus-visible {
  color: var(--tm-action);
}

.info-popover-button:focus-visible {
  outline: 2px solid rgba(217, 119, 6, 0.35);
  outline-offset: 2px;
}

.public-info-rule-label {
  align-items: center;
  display: inline-flex;
  gap: 4px;
}

.info-popover-message {
  background: #ffffff;
  border: 1px solid var(--tm-border);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  color: #334155;
  font-size: 0.82rem;
  line-height: 1.4;
  margin: 8px 0 0;
  max-width: 320px;
  padding: 10px 12px;
}

.square-check-input {
  appearance: none;
  background: #ffffff;
  border: 2px solid #94a3b8;
  border-radius: 3px;
  display: grid;
  flex: 0 0 20px;
  height: 20px;
  margin: 0;
  place-content: center;
  width: 20px;
}

.square-check-input::before {
  background: #ffffff;
  clip-path: polygon(14% 44%, 0 58%, 40% 100%, 100% 16%, 84% 0, 37% 62%);
  content: "";
  height: 12px;
  transform: scale(0);
  transition: transform 0.12s ease-in-out;
  width: 12px;
}

.square-check-input:checked {
  background: var(--tm-action);
  border-color: var(--tm-action);
}

.square-check-input:checked::before {
  transform: scale(1);
}

.checked-field {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) 140px;
}

.home-panel,
.menu-preview {
  background: #ffffff;
  border: 1px solid var(--tm-border);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.home-panel {
  padding: 24px;
}

.enterprise-heading {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.enterprise-total,
.enterprise-panel {
  background: #ffffff;
  border: 1px solid var(--tm-border);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.enterprise-total {
  min-width: 210px;
  padding: 18px 20px;
  text-align: right;
}

.enterprise-total span {
  color: #64748b;
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.enterprise-total strong {
  color: #111827;
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-top: 6px;
}

.enterprise-panel {
  overflow: hidden;
}

.enterprise-search {
  border-bottom: 1px solid var(--tm-border);
  display: grid;
  gap: 8px;
  padding: 18px;
}

.enterprise-empty {
  padding: 18px;
}

.enterprise-table {
  font-size: 0.92rem;
}

.enterprise-table thead th {
  background: #f8fafc;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.enterprise-table td {
  color: #334155;
  vertical-align: middle;
}

.enterprise-actions {
  display: flex;
  gap: 8px;
  justify-content: end;
  white-space: nowrap;
}

.guided-tour-button {
  align-items: center;
  background: var(--tm-action);
  border: 0;
  border-radius: 999px;
  bottom: 22px;
  box-shadow: 0 16px 34px rgba(194, 65, 12, 0.26);
  color: #ffffff;
  display: inline-flex;
  font-weight: 800;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  position: fixed;
  right: 22px;
  z-index: 1040;
}

.guided-tour-button:hover,
.guided-tour-button:focus-visible {
  background: var(--tm-action-dark);
}

.guided-tour-button .bi {
  font-size: 1.1rem;
}

.guided-tour-backdrop {
  background: rgba(15, 23, 42, 0.48);
  inset: 0;
  position: fixed;
  z-index: 1045;
}

.guided-tour-card {
  background: #ffffff;
  border: 1px solid var(--tm-border);
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.26);
  max-width: min(360px, calc(100vw - 32px));
  padding: 18px;
  position: fixed;
  z-index: 1055;
}

.guided-tour-card h2 {
  color: #111827;
  font-size: 1rem;
  font-weight: 800;
  margin: 4px 0 8px;
}

.guided-tour-card p {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 0;
}

.guided-tour-step-count {
  color: var(--tm-action-dark);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.guided-tour-actions {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.guided-tour-actions > div {
  display: flex;
  gap: 8px;
}

.guided-tour-link {
  background: transparent;
  border: 0;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px;
}

.guided-tour-link:hover,
.guided-tour-link:focus-visible {
  color: var(--tm-action-dark);
}

.tour-highlight {
  box-shadow:
    0 0 0 4px rgba(249, 115, 22, 0.34),
    0 18px 45px rgba(15, 23, 42, 0.08);
  position: relative;
  z-index: 1050;
}

.company-logo-preview {
  align-items: center;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  color: var(--tm-action-dark);
  display: flex;
  flex: 0 0 64px;
  font-size: 1.6rem;
  font-weight: 800;
  height: 64px;
  justify-content: center;
  overflow: hidden;
  width: 64px;
}

.company-logo-preview-lg {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.72);
  flex-basis: 88px;
  height: 88px;
  width: 88px;
}

.company-logo-preview img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-list span {
  background: #f1f5f9;
  border: 1px solid var(--tm-border);
  border-radius: 999px;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 12px;
}

.category-editor-list,
.product-editor-list {
  display: grid;
  gap: 12px;
}

.category-editor-row,
.product-editor-row {
  align-items: start;
  background: #f8fafc;
  border: 1px solid var(--tm-border);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.category-editor-row {
  grid-template-columns: 1fr;
}

.category-editor-main,
.category-editor-form {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto;
}

.subcategory-editor {
  border-top: 1px solid var(--tm-border);
  display: grid;
  gap: 10px;
  padding-top: 12px;
}

.subcategory-editor-title {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
  text-transform: uppercase;
}

.subcategory-editor-list {
  display: grid;
  gap: 8px;
}

.subcategory-editor-row,
.subcategory-editor-form {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr auto;
}

.category-icon-button {
  align-items: center;
  background: transparent;
  border: 1px solid rgb(2, 43, 39, 0.2);
  border-radius: 5px;
  color: #1f2937;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 700;
  gap: 5px;
  height: 38px;
  justify-content: center;
  padding: 0 4px;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
  white-space: nowrap;
}
.category-icon-button:hover {
  border: 1px solid rgb(2, 43, 39);
}
.category-icon-button .bi {
  font-size: 1.05rem;
}

.category-icon-button:hover,
.category-icon-button:focus-visible {
  color: var(--tm-action-dark);
  transform: translateY(-1px);
}

.category-icon-button:focus-visible {
  outline: 2px solid rgba(217, 119, 6, 0.35);
  outline-offset: 3px;
}

.category-icon-button-danger {
  color: #dc2626;
}

.category-icon-button-danger:hover,
.category-icon-button-danger:focus-visible {
  color: #991b1b;
}

.product-editor-row {
  grid-template-columns: 72px minmax(0, 1fr);
}

.product-editor-category-title {
  color: var(--tm-action-dark);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 10px 0 0;
}

.product-editor-category-title:first-child {
  margin-top: 0;
}

.product-search .input-group-text {
  background: #ffffff;
  border-color: var(--tm-border);
  color: #64748b;
}

.product-search .form-control {
  border-left: 0;
}

.product-search .form-control:focus {
  border-color: #86b7fe;
  box-shadow: none;
}

.product-search .input-group:focus-within .input-group-text {
  border-color: #86b7fe;
  color: var(--tm-action-dark);
}

.product-editor-form {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}

.product-editor-form select,
.product-editor-form input,
.product-editor-form textarea {
  min-width: 0;
}

.product-editor-form input[name="name"],
.product-editor-form input[type="file"],
.product-editor-form button {
  grid-column: span 1;
}

.product-delete-form {
  grid-column: 2;
  justify-self: start;
}

.product-description-input {
  grid-column: 1 / -1;
}

.product-editor-thumb {
  align-items: center;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  color: var(--tm-action-dark);
  display: flex;
  font-size: 1.4rem;
  font-weight: 800;
  height: 72px;
  justify-content: center;
  overflow: hidden;
  width: 72px;
}

.product-editor-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.menu-preview {
  overflow: hidden;
}

.menu-banner {
  background: linear-gradient(135deg, #111827, #7c2d12);
  background-position: center;
  background-size: cover;
  color: #ffffff;
  min-height: 260px;
}

.menu-banner-overlay {
  align-items: end;
  background: linear-gradient(
    180deg,
    rgba(17, 24, 39, 0.12),
    rgba(17, 24, 39, 0.72)
  );
  display: flex;
  gap: 20px;
  min-height: 260px;
  padding: 32px;
}

.menu-contact {
  color: rgba(255, 255, 255, 0.86);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.public-info-panel {
  background: #ffffff;
  border-bottom: 1px solid var(--tm-border);
  display: grid;
  gap: 18px;
  padding: 24px 32px;
}

.public-info-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.public-info-group strong {
  color: #0f172a;
  flex: 0 0 100%;
}

.public-info-chip,
.public-info-items span {
  background: #f8fafc;
  border: 1px solid var(--tm-border);
  border-radius: 15px;
  color: #334155;
  font-weight: 700;
  padding: 9px 12px;
}

.public-info-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.public-info-rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.public-info-rules div {
  background: #f8fafc;
  border: 1px solid var(--tm-border);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 12px;
}

.public-info-rules span {
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
}

.public-info-rules strong {
  flex-basis: auto;
}

.menu-content {
  padding: 28px 32px 34px;
}

.menu-map {
  border-top: 1px solid var(--tm-border);
  background: #f8fafc;
  padding: 24px 32px 32px;
}

.menu-map iframe {
  border: 0;
  border-radius: 8px;
  display: block;
  height: 280px;
  width: 100%;
}

.reservation-panel {
  background: #ffffff;
  border-top: 1px solid var(--tm-border);
  display: grid;
  gap: 18px;
  padding: 28px 32px 34px;
}

.reservation-panel-heading {
  display: grid;
  gap: 6px;
}

.reservation-panel-heading h2 {
  color: #0f172a;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0;
}

.reservation-panel-heading p,
.reservation-unavailable {
  color: #64748b;
  font-weight: 600;
  margin: 0;
}

.reservation-form {
  display: grid;
  gap: 14px;
  grid-template-columns:
    minmax(0, 1.25fr) minmax(150px, 0.65fr)
    minmax(190px, 0.9fr);
}

.reservation-field {
  display: grid;
  gap: 7px;
}

.reservation-field label {
  color: #334155;
  font-weight: 700;
}

.reservation-datetime-control {
  position: relative;
}

.reservation-datetime-control .form-control {
  min-height: 46px;
  padding-left: 48px;
}

.reservation-datetime-placeholder {
  align-items: center;
  color: #64748b;
  display: inline-flex;
  font-weight: 600;
  justify-content: center;
  left: 13px;
  line-height: 1;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 0.16s ease;
  width: 20px;
}

.reservation-datetime-placeholder i {
  color: var(--menu-primary, var(--tm-action));
  flex: 0 0 auto;
  font-size: 1rem;
}

.reservation-datetime-control.has-value .reservation-datetime-placeholder,
.reservation-datetime-control.is-focused .reservation-datetime-placeholder {
  opacity: 0;
}

.reservation-submit {
  align-self: end;
  background: #25d366;
  border: 1px solid #25d366;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 800;
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 46px;
  padding: 10px 18px;
}

.reservation-submit:hover,
.reservation-submit:focus {
  background: #1ebe5d;
  border-color: #1ebe5d;
  filter: none;
}

.reservation-submit:disabled {
  background: #94a3b8;
  border-color: #94a3b8;
  cursor: not-allowed;
  filter: none;
}

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

.menu-category-button {
  background: #ffffff;
  border: 1px solid var(--tm-border);
  border-radius: 999px;
  color: #334155;
  font-weight: 700;
  min-height: 42px;
  padding: 8px 16px;
}

.menu-category-button:hover,
.menu-category-button.active {
  background: var(--menu-primary);
  border-color: var(--menu-primary);
  color: #ffffff;
}

.menu-category + .menu-category {
  border-top: 1px solid var(--tm-border);
  margin-top: 28px;
  padding-top: 28px;
}

.menu-category-panel + .menu-category-panel {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.menu-category h2,
.menu-category h3 {
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.menu-items {
  display: grid;
  gap: 10px;
}

.menu-subcategory-title {
  color: #475569;
  font-size: 0.95rem;
  font-weight: 800;
  margin: 18px 0 10px;
}

.menu-category h2 + .menu-subcategory-title,
.menu-category h3 + .menu-subcategory-title {
  margin-top: 0;
}

.menu-item {
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--tm-border);
  border-radius: 8px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 14px 16px;
}

.menu-item-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.menu-item span,
.menu-item-text span {
  color: #1f2937;
  font-weight: 600;
}

.menu-item-text p {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.35;
  margin: 0;
}

.menu-item-main {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.menu-item-image {
  border-radius: 8px;
  flex: 0 0 64px;
  height: 64px;
  object-fit: cover;
  width: 64px;
}

.menu-item strong {
  color: var(--tm-action-dark);
  white-space: nowrap;
}

.empty-menu {
  padding: 42px 0;
  text-align: center;
}

.share-link-input {
  background: #f8fafc;
  color: #334155;
  font-size: 0.95rem;
}

.public-menu-page {
  max-width: 920px;
}

.public-menu-body {
  background-color: var(--public-menu-bg);
  background-image:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--public-menu-bg) 88%, transparent),
      color-mix(in srgb, var(--public-menu-bg) 70%, #111827)
    ),
    var(--public-menu-banner);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

@media (max-width: 991.98px) {
  .index-hero {
    background-position: center;
  }

  .index-hero-content {
    min-height: auto;
    padding-bottom: 62px;
    padding-top: 62px;
  }

  .index-hero-copy {
    max-width: 720px;
  }

  .index-hero-visual {
    opacity: 0.11;
    right: -20vw;
    width: 88vw;
  }

  .index-demo-slider {
    margin-top: 38px;
    max-width: 520px;
    position: relative;
    right: auto;
    bottom: auto;
  }

  .index-benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .site-footer {
    font-size: 0.86rem;
    padding: 18px 0;
    text-align: center;
  }

  .site-footer-inner {
    flex-direction: column;
    gap: 6px;
    justify-content: center;
  }

  .site-footer-inner span {
    max-width: 100%;
  }

  .main-navbar .navbar-brand img {
    height: auto;
    width: 188px;
  }

  .main-navbar .container {
    gap: 12px;
  }

  .index-hero-content {
    padding-bottom: 48px;
    padding-top: 48px;
  }

  .index-eyebrow {
    align-items: flex-start;
    border-radius: 8px;
    line-height: 1.35;
  }

  .index-hero h1 {
    font-size: clamp(2.7rem, 16vw, 4.1rem);
  }

  .index-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .index-hero-actions .btn {
    justify-content: center;
  }

  .index-hero-highlights {
    grid-template-columns: 1fr;
  }

  .index-demo-controls {
    bottom: 10px;
    left: 10px;
    right: 10px;
  }

  .index-demo-control {
    height: 32px;
    width: 32px;
  }

  .index-benefits {
    padding-bottom: 48px;
  }

  .index-benefit-card {
    padding: 20px;
  }

  .auth-panel {
    padding: 24px;
  }

  .home-panel {
    padding: 20px;
  }

  .enterprise-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .enterprise-total {
    text-align: left;
  }

  .guided-tour-button {
    bottom: 14px;
    min-height: 42px;
    padding: 0 14px;
    right: 14px;
  }

  .guided-tour-card {
    max-width: calc(100vw - 28px);
  }

  .menu-banner-overlay {
    align-items: start;
    flex-direction: column;
    justify-content: end;
    padding: 24px;
  }

  .menu-content {
    padding: 24px;
  }

  .public-info-panel {
    padding: 20px 24px;
  }

  .public-info-rules,
  .checked-field {
    grid-template-columns: 1fr;
  }

  .menu-map {
    padding: 20px 24px 24px;
  }

  .reservation-panel {
    padding: 24px;
  }

  .reservation-form {
    grid-template-columns: 1fr;
  }

  .menu-item {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .category-editor-row,
  .category-editor-main,
  .category-editor-form,
  .subcategory-editor-row,
  .subcategory-editor-form,
  .product-editor-row,
  .product-editor-form {
    grid-template-columns: 1fr;
  }

  .product-delete-form {
    grid-column: 1;
  }

  .product-editor-thumb {
    height: 96px;
    width: 96px;
  }
}
