/* QR Menü — genel stiller */
:root {
  --bg: #0f0f12;
  --surface: #18181c;
  --surface2: #222228;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --accent: #e8b923;
  --accent-dim: #b8921a;
  --danger: #dc2626;
  --green: #22c55e;
  --radius: 12px;
  --font: system-ui, "Segoe UI", Roboto, Ubuntu, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

code { font-size: 0.9em; background: var(--surface2); padding: 0.1em 0.35em; border-radius: 4px; }

/* Landing */
.landing-header {
  border-bottom: 1px solid var(--surface2);
  padding: 1rem 1.25rem;
}
.landing-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--accent);
  color: #111;
  font-weight: 800;
  border-radius: 8px;
  font-size: 0.85rem;
}
.logo-text { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.landing-nav { margin-left: auto; display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }

/* Dil seçici (bayrak + dropdown) */
.locale-dropdown {
  position: relative;
}
.locale-dropdown__summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--surface2);
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  user-select: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.locale-dropdown__summary::-webkit-details-marker { display: none; }
.locale-dropdown__summary::marker { content: ''; }
.locale-dropdown__summary:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(15, 39, 68, 0.12);
}
.locale-dropdown__current {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.locale-dropdown__flag {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  line-height: 0;
}
.locale-dropdown__flag-img {
  width: 1.4rem;
  height: 1.05rem;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07);
  display: block;
}
.locale-dropdown__option .locale-dropdown__flag-img {
  width: 1.5rem;
  height: 1.1rem;
}
.locale-dropdown__code {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.locale-dropdown__caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.05rem;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.5;
  transition: transform 0.15s ease;
}
.locale-dropdown[open] > .locale-dropdown__summary .locale-dropdown__caret {
  transform: rotate(180deg);
}
.locale-dropdown__list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  min-width: 11rem;
  background: var(--surface);
  border: 1px solid var(--surface2);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(15, 39, 68, 0.12);
  z-index: 100;
}
.locale-dropdown__list li { margin: 0; }
.locale-dropdown__option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
}
.locale-dropdown__option:hover,
.locale-dropdown__option:focus-visible {
  background: var(--surface2);
  outline: none;
}
.locale-dropdown__option.is-active {
  font-weight: 700;
  background: rgba(15, 39, 68, 0.06);
}

.locale-dropdown--landing .locale-dropdown__summary {
  border-color: rgba(220, 228, 238, 0.95);
  background: rgba(255, 255, 255, 0.65);
}
.locale-dropdown--landing .locale-dropdown__summary:hover {
  background: rgba(255, 255, 255, 0.92);
}

.panel-locale-wrap {
  padding: 0 1rem 0.85rem;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid var(--surface2);
}
.locale-dropdown--panel {
  width: 100%;
}
.locale-dropdown--panel .locale-dropdown__summary {
  width: 100%;
  box-sizing: border-box;
  justify-content: space-between;
  background: var(--surface2);
  border-color: var(--surface2);
  color: var(--text);
}
.locale-dropdown--panel .locale-dropdown__summary:hover {
  background: color-mix(in srgb, var(--surface2) 85%, var(--text));
  border-color: transparent;
}
.locale-dropdown--panel .locale-dropdown__list {
  left: 0;
  right: 0;
  min-width: unset;
}
.landing-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  min-width: 0;
}
.landing-brand-px {
  display: flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  flex-shrink: 0;
}
.landing-brand-px:hover {
  text-decoration: none;
  opacity: 0.9;
}
.landing-brand-px:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}
.landing-brand-px-logo {
  height: 36px;
  width: auto;
  max-width: min(200px, 46vw);
  object-fit: contain;
  display: block;
}
.landing-brand-sep {
  width: 1px;
  height: 1.85rem;
  background: var(--surface2);
  flex-shrink: 0;
}
.landing-brand-product {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
a.landing-brand-product {
  text-decoration: none;
  color: inherit;
  line-height: 0;
}
a.landing-brand-product:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 8px;
}
/* QR OKU .com — yatay header logosu */
.site-brand-logo {
  height: 42px;
  width: auto;
  max-width: min(220px, 62vw);
  object-fit: contain;
  display: block;
}
.site-brand-logo--panel {
  height: 34px;
  max-width: 100%;
}
.panel-brand > a {
  display: inline-block;
  line-height: 0;
  max-width: 100%;
}
.landing-main {
  margin: 0 auto;
  padding: 0 1.25rem;
}
.landing-footer {
  text-align: center;
  padding: 2rem 1.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Anasayfa — PiramitX kurumsal paleti (yalnızca .landing) · https://www.piramitx.com/ */
body.landing {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface2: #dce4ee;
  --text: #0f2744;
  --muted: #5c6b7a;
  --accent: #0b5fa5;
  --accent-dim: #094785;
  /* Logo ile uyumlu altın / sarı vurgu */
  --landing-gold: #e8b923;
  background: var(--bg);
  color: var(--text);
}
body.landing .landing-header {
  background: var(--surface);
  border-bottom: 1px solid var(--surface2);
  box-shadow: 0 1px 0 rgba(15, 39, 68, 0.06);
}
body.landing .logo-mark {
  background: #0a0a0a;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
body.landing .logo-text {
  color: var(--text);
  font-weight: 700;
}
body.landing .btn-primary,
body.landing .btn-secondary {
  background: #0a0a0a;
  color: #ffffff;
  border-color: #0a0a0a;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}
body.landing .btn-primary:hover,
body.landing .btn-secondary:hover {
  background: #262626;
  color: #ffffff;
  border-color: #262626;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}
body.landing .btn-primary:focus-visible,
body.landing .btn-secondary:focus-visible {
  outline: 2px solid #0a0a0a;
  outline-offset: 2px;
}
/* Giriş — beyaz zemin, siyah yazı */
body.landing .btn-ghost {
  background: #ffffff;
  color: #0a0a0a;
  border-color: #0a0a0a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
body.landing .btn-ghost:hover {
  background: #f4f4f5;
  color: #0a0a0a;
  border-color: #0a0a0a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
body.landing .btn-ghost:focus-visible {
  outline: 2px solid #0a0a0a;
  outline-offset: 2px;
}
body.landing code {
  background: #e8eef5;
  color: #334155;
}
body.landing a:not(.btn) {
  color: var(--accent);
}
body.landing a:not(.btn):hover {
  color: var(--accent-dim);
}
body.landing .landing-footer {
  border-top: 1px solid var(--surface2);
  background: rgba(255, 255, 255, 0.7);
}
body.landing .landing-footer-lead {
  margin: 0 auto 0.65rem;
  max-width: 28rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
  text-align: center;
}
body.landing .landing-footer-px-mark {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  line-height: 0;
  text-decoration: none;
}
body.landing .landing-footer-px-mark:hover {
  text-decoration: none;
  opacity: 0.88;
}
body.landing .landing-footer-px-mark:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}
body.landing .landing-footer-px-logo {
  display: block;
  height: 32px;
  width: auto;
  max-width: min(132px, 38vw);
  object-fit: contain;
}
body.landing .landing-footer-meta {
  display: block;
  opacity: 0.9;
}

/* ——— Tanıtım ana sayfa (landing-home) — Framer tarzı yaratıcı düzen ——— */
body.landing-home {
  position: relative;
  overflow-x: hidden;
}

.landing-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.landing-bg__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: landing-blob-drift 18s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .landing-bg__blob {
    animation: none;
  }
}
.landing-bg__blob--1 {
  width: min(72vw, 520px);
  height: min(72vw, 520px);
  background: radial-gradient(circle at 30% 30%, rgba(232, 185, 35, 0.45), transparent 55%);
  top: -12%;
  right: -8%;
}
.landing-bg__blob--2 {
  width: min(60vw, 440px);
  height: min(60vw, 440px);
  background: radial-gradient(circle at 50% 50%, rgba(11, 95, 165, 0.28), transparent 60%);
  bottom: 10%;
  left: -15%;
  animation-delay: -6s;
}
.landing-bg__blob--3 {
  width: min(50vw, 360px);
  height: min(50vw, 360px);
  background: radial-gradient(circle at 70% 40%, rgba(15, 39, 68, 0.12), transparent 55%);
  top: 42%;
  left: 35%;
  animation-delay: -12s;
}
@keyframes landing-blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(2%, 3%) scale(1.04); }
  66% { transform: translate(-2%, 1%) scale(0.98); }
}
.landing-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 39, 68, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 39, 68, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, black 20%, transparent 75%);
}

body.landing-home .landing-header--glass {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220, 228, 238, 0.9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

/* Ana sayfa üst şerit: logo + dil + butonlar */
body.landing-home .landing-header {
  padding-left: 0;
  padding-right: 0;
}
body.landing-home .landing-topbar {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  box-sizing: border-box;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  min-height: 3.35rem;
}
body.landing-home .landing-topbar__logo {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  text-decoration: none;
  color: inherit;
  line-height: 0;
}
body.landing-home .landing-topbar__logo:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 8px;
}
body.landing-home .landing-topbar__logo-img {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(260px, 58vw);
  min-width: 0;
  object-fit: contain;
  object-position: left center;
}
body.landing-home .landing-topbar__actions {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
}
body.landing-home .landing-topbar__actions .locale-dropdown {
  flex-shrink: 0;
}
body.landing-home .landing-topbar__actions .locale-dropdown__list {
  white-space: normal;
}
/* Dokunma hedefi ~44px; masaüstü ile uyumlu */
body.landing-home .landing-topbar__btn {
  min-height: 2.75rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  box-sizing: border-box;
}
body.landing-home .locale-dropdown--landing .locale-dropdown__summary {
  min-height: 2.75rem;
  padding: 0.45rem 0.65rem;
  font-size: 0.9rem;
  box-sizing: border-box;
  align-items: center;
}

@media (max-width: 680px) {
  body.landing-home .landing-topbar {
    padding: 0.75rem 1rem;
    gap: 0.5rem;
    min-height: 3.5rem;
  }
  body.landing-home .landing-topbar__logo-img {
    height: clamp(2.25rem, 11vw, 2.75rem);
    max-width: min(220px, 56vw);
  }
  body.landing-home .landing-topbar__actions {
    gap: 0.4rem;
  }
  body.landing-home .landing-topbar__btn {
    min-height: 2.75rem;
    padding: 0.5rem 0.7rem;
    font-size: 0.9rem;
  }
  body.landing-home .locale-dropdown--landing .locale-dropdown__summary {
    min-height: 2.75rem;
    padding: 0.45rem 0.55rem;
    font-size: 0.875rem;
    gap: 0.3rem;
  }
  body.landing-home .locale-dropdown--landing .locale-dropdown__flag-img {
    width: 1.35rem;
    height: 1rem;
  }
}

.landing-main--creative {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  padding-bottom: 4rem;
}

.landing-hero-creative {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
}
.landing-hero-creative__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .landing-hero-creative__inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.landing-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.85rem 0.35rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
  border: 1px solid rgba(220, 228, 238, 0.95);
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(15, 39, 68, 0.06);
}
.landing-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--landing-gold), #c99a12);
  box-shadow: 0 0 0 3px rgba(232, 185, 35, 0.25);
  flex-shrink: 0;
}

.landing-display {
  margin: 0 0 1.1rem;
  font-size: clamp(2.15rem, 6.5vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
  color: var(--text);
  background: linear-gradient(125deg, #0f2744 0%, #0f2744 45%, #0b5fa5 78%, #c9a227 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
@supports not (background-clip: text) {
  .landing-display {
    background: none;
    -webkit-text-fill-color: unset;
    color: var(--text);
  }
}

.landing-lead {
  margin: 0 0 1.75rem;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 36rem;
}

.landing-hero-cta {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  align-items: stretch;
  margin-bottom: 1.5rem;
  max-width: 100%;
}
.landing-hero-cta .btn {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
  text-align: center;
}
.landing-hero-cta .btn:only-child {
  flex: 0 1 auto;
  align-self: flex-start;
}

/* Kayıt Ol: siyah zemin / beyaz yazı · Oturum Aç: beyaz zemin / siyah yazı */
body.landing-home .landing-hero-cta__btn--dark {
  background: #0a0a0a;
  color: #ffffff;
  border-color: #0a0a0a;
}
body.landing-home .landing-hero-cta__btn--dark:hover {
  background: #262626;
  color: #ffffff;
  border-color: #262626;
}
body.landing-home .landing-hero-cta__btn--dark:focus-visible {
  outline: 2px solid #0a0a0a;
  outline-offset: 2px;
}
body.landing-home .landing-hero-cta__btn--light {
  background: #ffffff;
  color: #0a0a0a;
  border: 1px solid rgba(15, 39, 68, 0.22);
  box-shadow: 0 1px 3px rgba(15, 39, 68, 0.07);
}
body.landing-home .landing-hero-cta__btn--light:hover {
  background: #f4f7fb;
  color: #0a0a0a;
  border-color: rgba(15, 39, 68, 0.35);
}
body.landing-home .landing-hero-cta__btn--light:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.landing-btn-glow {
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 8px 32px rgba(11, 95, 165, 0.22);
}
body.landing-home .landing-btn-glow:hover {
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 12px 40px rgba(11, 95, 165, 0.28);
}

.landing-trust-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.landing-trust-row li {
  position: relative;
  padding-left: 1rem;
}
.landing-trust-row li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--landing-gold);
}

/* Dekoratif cihaz + QR mockup */
.landing-hero-creative__visual {
  display: flex;
  justify-content: center;
  perspective: 900px;
}
.landing-device {
  position: relative;
  transform-style: preserve-3d;
  animation: landing-device-tilt 14s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .landing-device {
    animation: none;
  }
}
@keyframes landing-device-tilt {
  0%, 100% { transform: rotateY(-6deg) rotateX(4deg); }
  50% { transform: rotateY(6deg) rotateX(-2deg); }
}
.landing-device__frame {
  width: min(280px, 78vw);
  padding: 10px;
  border-radius: 28px;
  background: linear-gradient(160deg, #1a1a1e 0%, #0a0a0c 100%);
  box-shadow:
    0 24px 48px rgba(15, 39, 68, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.landing-device__notch {
  width: 36%;
  height: 22px;
  margin: 0 auto 8px;
  border-radius: 0 0 14px 14px;
  background: #0a0a0c;
}
.landing-device__screen {
  border-radius: 20px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  padding: 1rem 0.85rem 1.1rem;
  min-height: 280px;
  border: 1px solid rgba(15, 39, 68, 0.08);
}
.landing-device__menu-bar {
  height: 10px;
  width: 55%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--landing-gold), #d4a520);
  margin-bottom: 1rem;
  opacity: 0.9;
}
.landing-device__menu-row {
  height: 12px;
  border-radius: 6px;
  background: rgba(15, 39, 68, 0.1);
  margin-bottom: 0.55rem;
}
.landing-device__menu-row--short {
  width: 72%;
}
.landing-device__qr {
  margin-top: 1.25rem;
  margin-left: auto;
  margin-right: auto;
  width: 72px;
  height: 72px;
  padding: 8px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(15, 39, 68, 0.1);
  box-shadow: 0 4px 14px rgba(15, 39, 68, 0.08);
}
.landing-device__qr-inner {
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(90deg, #0f2744 25%, transparent 25%, transparent 50%, #0f2744 50%, #0f2744 75%, transparent 75%),
    linear-gradient(#0f2744 25%, transparent 25%, transparent 50%, #0f2744 50%, #0f2744 75%, transparent 75%);
  background-size: 8px 8px;
  border-radius: 4px;
  opacity: 0.85;
}
.landing-device__float {
  position: absolute;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(220, 228, 238, 0.95);
  box-shadow: 0 8px 24px rgba(15, 39, 68, 0.12);
  color: var(--text);
}
.landing-device__float--1 {
  top: 12%;
  right: -6%;
}
.landing-device__float--2 {
  bottom: 18%;
  left: -8%;
  color: var(--accent);
}

.landing-strip {
  margin: 0 -1.25rem 2.5rem;
  padding: 1.25rem 1.25rem;
  background: linear-gradient(135deg, rgba(11, 95, 165, 0.08) 0%, rgba(232, 185, 35, 0.12) 100%);
  border: 1px solid rgba(220, 228, 238, 0.85);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(15, 39, 68, 0.06);
}
.landing-strip__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.25rem;
}
@media (min-width: 640px) {
  .landing-strip__inner {
    grid-template-columns: repeat(4, 1fr);
  }
}
.landing-strip__item {
  text-align: center;
  padding: 0.35rem;
}
.landing-strip__item strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.landing-strip__item span {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.landing-section {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.landing-section__head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2rem;
}
.landing-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.landing-section-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}
.landing-section-desc {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

.landing-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .landing-bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .landing-bento__card--wide {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1024px) {
  .landing-bento {
    grid-template-columns: repeat(3, 1fr);
  }
  .landing-bento__card--wide {
    grid-column: span 2;
  }
}

.landing-bento__card {
  padding: 1.35rem 1.35rem 1.45rem;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(220, 228, 238, 0.95);
  border-radius: 18px;
  box-shadow: 0 4px 28px rgba(15, 39, 68, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.landing-bento__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(15, 39, 68, 0.1);
}
@media (prefers-reduced-motion: reduce) {
  .landing-bento__card {
    transition: none;
  }
  .landing-bento__card:hover {
    transform: none;
  }
}
.landing-bento__card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.landing-bento__card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}
.landing-bento__icon {
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 0.65rem;
  opacity: 0.9;
}
.landing-bento__card--accent {
  background: linear-gradient(145deg, rgba(11, 95, 165, 0.1) 0%, rgba(232, 185, 35, 0.15) 100%);
  border-color: rgba(11, 95, 165, 0.2);
}
.landing-bento__card--accent h3 {
  color: var(--text);
}

.landing-section--steps .landing-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .landing-section--steps .landing-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}
.landing-steps__item {
  display: flex;
  gap: 1rem;
  padding: 1.35rem 1.25rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(220, 228, 238, 0.9);
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(15, 39, 68, 0.05);
}
.landing-steps__num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(145deg, #0a0a0a, #2d2d33);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.landing-steps__item h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.landing-steps__item p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}

.landing-cta-final {
  margin-top: 1rem;
}
.landing-cta-final__card {
  text-align: center;
  padding: clamp(2rem, 4vw, 2.75rem) 1.5rem;
  border-radius: 22px;
  background: linear-gradient(135deg, #0f2744 0%, #0b5fa5 48%, #1a3a5c 100%);
  color: #f1f5f9;
  box-shadow: 0 16px 48px rgba(11, 95, 165, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.landing-cta-final__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}
.landing-cta-final__text {
  margin: 0 auto 1.35rem;
  max-width: 32rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(241, 245, 249, 0.88);
}
body.landing-home .landing-cta-final__card .btn-primary {
  background: #fff;
  color: #0f2744;
  border-color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
body.landing-home .landing-cta-final__card .btn-primary:hover {
  background: #f1f5f9;
  color: #0f2744;
  border-color: #f1f5f9;
}

body.landing-home .landing-footer {
  position: relative;
  z-index: 1;
}

/* Politika sayfaları (kullanım, gizlilik, çerez) */
body.landing.policy-doc .policy-main {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}
body.landing.policy-doc .policy-article {
  background: var(--surface);
  border: 1px solid var(--surface2);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 28px rgba(15, 39, 68, 0.06);
}
body.landing.policy-doc .policy-article-header h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  padding-left: 0.85rem;
  border-left: 4px solid var(--landing-gold);
  color: var(--text);
}
body.landing.policy-doc .policy-lead {
  color: var(--muted);
  margin: 0 0 2rem;
  line-height: 1.6;
  font-size: 1rem;
}
body.landing.policy-doc .policy-section {
  margin-bottom: 1.75rem;
}
body.landing.policy-doc .policy-section:last-child {
  margin-bottom: 0;
}
body.landing.policy-doc .policy-section h2 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}
body.landing.policy-doc .policy-section p,
body.landing.policy-doc .policy-section li {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 0.65rem;
}
body.landing.policy-doc .policy-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}
body.landing.policy-doc .policy-list li {
  margin-bottom: 0.5rem;
}
body.landing.policy-doc .policy-list li:last-child {
  margin-bottom: 0;
}
a.policy-doc-brand-home {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
body.landing.policy-doc a.policy-doc-brand-home:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 6px;
}
.policy-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1rem;
  font-size: 0.88rem;
}
.policy-footer-nav--home {
  margin-bottom: 1.25rem;
}
.policy-footer-nav a {
  font-weight: 600;
  text-decoration: none;
}
.policy-footer-nav a:hover {
  text-decoration: underline;
}
body.landing .policy-footer-nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  pointer-events: none;
}
.policy-footer-sep {
  color: var(--surface2);
  user-select: none;
}
body.landing .policy-footer {
  padding-top: 2.5rem;
}

/* Buttons — tek tip yükseklik + yazı (tüm varyantlar) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.25;
  letter-spacing: 0;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
/* <button> UA fontu; <a> ile birebir aynı tipometri */
a.btn,
button.btn {
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.25;
  letter-spacing: 0;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: #111;
  border-color: transparent;
}
.btn-primary:hover { background: var(--accent-dim); color: #111; }
.btn-secondary {
  background: var(--surface2);
  color: var(--text);
  border-color: transparent;
}
.btn-secondary:hover { background: #2e2e36; }
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--surface2);
}
.btn-ghost:hover { color: var(--text); border-color: var(--muted); }
.btn-danger {
  background: var(--danger);
  color: #fff;
  border-color: transparent;
}
.btn-danger:hover { filter: brightness(1.08); }
.btn-save {
  background: #16a34a;
  color: #fff;
  border-color: transparent;
}
.btn-save:hover {
  background: #15803d;
  color: #fff;
}
.btn-save:focus-visible {
  outline: 2px solid #166534;
  outline-offset: 2px;
}
.btn-sm,
.btn-lg {
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  line-height: 1.25;
}

/* Auth */
.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--surface2);
}
.auth-card-wide {
  max-width: 440px;
}
.auth-card h1 { margin: 0 0 1.25rem; font-size: 1.5rem; }
.stack-form label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.stack-form input[type="text"],
.stack-form input[type="email"],
.stack-form input[type="password"],
.stack-form input[type="number"],
.stack-form input[type="file"],
.stack-form select,
.stack-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--surface2);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}
.stack-form textarea { resize: vertical; min-height: 80px; }
.stack-form button { margin-top: 0.5rem; width: 100%; }
.stack-form .file-upload-field__clear {
  width: 2.5rem;
  min-width: 2.5rem;
  max-width: none;
  margin-top: 0;
}
.auth-links { margin-top: 1.25rem; font-size: 0.9rem; text-align: center; color: var(--muted); }

/* Auth — şifre satırı + alt chip gezinme */
.auth-field-block--password {
  margin-bottom: 0.15rem;
}
.auth-field-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.35rem;
}
.auth-field-block__head label {
  margin-bottom: 0;
}
.auth-link-subtle {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.auth-link-subtle:hover {
  color: var(--accent);
}
.auth-card-footer {
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(15, 39, 68, 0.09);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem 0.85rem;
}
.auth-chip-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  min-height: 2.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  background: rgba(11, 95, 165, 0.09);
  color: var(--accent);
  border: 1px solid rgba(11, 95, 165, 0.12);
  box-shadow: 0 1px 2px rgba(15, 39, 68, 0.04);
}
.auth-chip-link:hover {
  background: rgba(11, 95, 165, 0.16);
  color: var(--accent-dim);
  border-color: rgba(11, 95, 165, 0.22);
}
.auth-chip-link--quiet {
  background: #ffffff;
  color: var(--muted);
  border-color: #e2e8f0;
  box-shadow: none;
  font-weight: 500;
}
.auth-chip-link--quiet:hover {
  background: #f8fafc;
  color: var(--text);
  border-color: #cbd5e1;
}
.auth-chip-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #cbd5e1;
  flex-shrink: 0;
}
.forgot-password-lead {
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Kayıt — anasayfa / PiramitX açık tema */
body.auth-landing-skin {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface2: #dce4ee;
  --text: #0f2744;
  --muted: #5c6b7a;
  --accent: #0b5fa5;
  --accent-dim: #094785;
  --landing-gold: #e8b923;
  background: var(--bg);
  color: var(--text);
}
body.auth-body.auth-landing-skin {
  flex-direction: column;
  gap: 1.25rem;
}
body.auth-landing-skin .auth-card {
  width: 100%;
  max-width: 440px;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--surface2);
  box-shadow: 0 4px 28px rgba(15, 39, 68, 0.08);
  box-sizing: border-box;
}
body.auth-landing-skin .auth-card h1 {
  color: var(--text);
  border-left: 4px solid var(--landing-gold);
  padding-left: 0.85rem;
  margin-left: -0.05rem;
}
body.auth-landing-skin .stack-form label {
  color: var(--muted);
}
body.auth-landing-skin .stack-form input[type="text"],
body.auth-landing-skin .stack-form input[type="email"],
body.auth-landing-skin .stack-form input[type="password"],
body.auth-landing-skin .stack-form input[type="number"],
body.auth-landing-skin .stack-form select,
body.auth-landing-skin .stack-form textarea {
  background: #ffffff;
  border-color: #cbd5e1;
  color: var(--text);
}
body.auth-landing-skin .stack-form input:focus-visible,
body.auth-landing-skin .stack-form select:focus-visible,
body.auth-landing-skin .stack-form textarea:focus-visible {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 95, 165, 0.22);
}
body.auth-landing-skin .stack-form button.btn-primary {
  background: #0a0a0a;
  color: #ffffff;
  border-color: #0a0a0a;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
body.auth-landing-skin .stack-form button.btn-primary:hover {
  background: #262626;
  color: #ffffff;
  border-color: #262626;
}
body.auth-landing-skin .stack-form button.btn-primary:focus-visible {
  outline: 2px solid #0a0a0a;
  outline-offset: 2px;
}
body.auth-landing-skin .stack-form--auth-login .auth-field-block input[type="password"] {
  margin-top: 0;
}
body.auth-landing-skin .auth-turnstile-wrap {
  margin: 1rem 0 0.35rem;
  min-height: 68px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}
body.auth-landing-skin .auth-turnstile-wrap .cf-turnstile {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
body.auth-landing-skin .auth-turnstile-wrap .cf-turnstile iframe {
  width: 100% !important;
  max-width: 100% !important;
}
body.auth-landing-skin .stack-form .btn-auth-primary {
  margin-top: 1.15rem;
  width: 100%;
}
body.auth-landing-skin .auth-field-block__head label {
  color: var(--muted);
  font-size: 0.9rem;
}
body.auth-landing-skin .auth-link-subtle {
  color: #64748b;
}
body.auth-landing-skin .auth-link-subtle:hover {
  color: var(--accent);
}
body.auth-landing-skin .auth-card-footer {
  border-top-color: rgba(15, 39, 68, 0.08);
}
body.auth-landing-skin .auth-feedback {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
  line-height: 1.55;
  border: 1px solid transparent;
  box-sizing: border-box;
}
body.auth-landing-skin .auth-feedback--error {
  background: linear-gradient(145deg, #fef2f2 0%, #fffbfb 100%);
  border-color: rgba(185, 28, 28, 0.22);
  color: #7f1d1d;
  box-shadow: 0 1px 3px rgba(127, 29, 29, 0.06);
}
body.auth-landing-skin .auth-feedback--success {
  background: linear-gradient(145deg, #f0fdf4 0%, #f7fef9 100%);
  border-color: rgba(22, 101, 52, 0.22);
  color: #14532d;
  box-shadow: 0 1px 3px rgba(22, 101, 52, 0.06);
}
body.auth-landing-skin .auth-feedback__icon {
  flex-shrink: 0;
  margin-top: 0.06rem;
  opacity: 0.92;
}
body.auth-landing-skin .auth-feedback__text {
  margin: 0;
  flex: 1;
  min-width: 0;
}
body.auth-landing-skin .success-msg {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(21, 128, 61, 0.35);
  background: rgba(220, 252, 231, 0.65);
  color: #14532d;
  line-height: 1.5;
}
body.auth-landing-skin .auth-policy-nav {
  flex-shrink: 0;
  width: 100%;
  max-width: min(440px, 100%);
  margin: 0;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  padding: 0.55rem 1rem 0.6rem;
  font-size: 0.78rem;
  line-height: 1.45;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(220, 228, 238, 0.95);
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(15, 39, 68, 0.05);
}
body.auth-landing-skin .auth-policy-nav .policy-footer-sep {
  color: #cbd5e1;
  font-weight: 400;
  user-select: none;
}
body.auth-landing-skin .auth-policy-nav a {
  color: #64748b;
  font-weight: 500;
  text-decoration: none;
}
body.auth-landing-skin .auth-policy-nav a:hover {
  color: var(--accent);
  text-decoration: none;
}
body.auth-landing-skin .auth-piramitx-brand {
  margin: 0;
  padding: 0;
  text-align: center;
  flex-shrink: 0;
}
body.auth-landing-skin .auth-piramitx-brand a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 4px;
  opacity: 0.92;
  transition: opacity 0.15s ease;
}
body.auth-landing-skin .auth-piramitx-brand a:hover {
  opacity: 1;
}
body.auth-landing-skin .auth-piramitx-brand a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
body.auth-landing-skin .auth-piramitx-brand-logo {
  height: 32px;
  width: auto;
  max-width: min(160px, 55vw);
  object-fit: contain;
  display: block;
}

/* Messages */
.success-msg { color: var(--green); margin: 0 0 1rem; }
.error-msg { color: #f87171; margin: 0 0 1rem; }
.warning-msg { color: #fbbf24; margin: 0 0 1rem; }
.hint { font-size: 0.85rem; color: var(--muted); margin-top: 1rem; }
.field-hint { display: block; margin-top: 0.35rem; font-size: 0.8rem; color: var(--muted); }
.checkbox-label { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; color: var(--text); }
.checkbox-label input { width: auto; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Panel layout — açık tema; masaüstü: sabit yan menü; mobil/tablet: çekmece + yapışkan üst çubuk */
.panel-body {
  --bg: #f4f4f5;
  --surface: #ffffff;
  --surface2: #e4e4e7;
  --text: #18181b;
  --muted: #71717a;
  --accent: #2563eb;
  --accent-dim: #1d4ed8;
  --danger: #dc2626;
  --green: #15803d;

  background: var(--bg);
  color: var(--text);
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-x: clip;
}

.panel-body .btn-primary {
  color: #ffffff;
}
.panel-body .btn-primary:hover {
  color: #ffffff;
}
.panel-body .btn-save {
  color: #ffffff;
}
.panel-body .btn-save:hover {
  color: #ffffff;
}

.panel-body .btn-secondary:hover {
  background: #d4d4d8;
  color: var(--text);
}

.panel-body .btn-panel-edit {
  background: #18181c;
  color: #ffffff !important;
  border-color: #18181c;
}
.panel-body .btn-panel-edit:hover {
  background: #27272a;
  color: #ffffff !important;
  border-color: #27272a;
}
.panel-body .btn-danger {
  color: #ffffff;
}
.panel-body .btn-danger:hover {
  color: #ffffff;
}

.panel-body .error-msg {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(185, 28, 28, 0.35);
  background: rgba(254, 226, 226, 0.65);
  color: #991b1b;
  line-height: 1.55;
}

.panel-body .warning-msg {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(234, 179, 8, 0.55);
  background: linear-gradient(180deg, rgba(254, 243, 199, 0.95) 0%, rgba(253, 230, 138, 0.45) 100%);
  color: #92400e;
  line-height: 1.55;
  box-shadow: 0 1px 2px rgba(146, 64, 14, 0.06);
}
.panel-body .warning-msg strong {
  color: #78350f;
}
.panel-body .warning-msg a {
  color: #b45309;
  font-weight: 600;
  text-decoration: underline;
}
.panel-body .warning-msg a:hover {
  color: #92400e;
}

.panel-body .danger-zone h2 {
  color: #b91c1c;
}

.panel-body .badge-red {
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
}

/* Yan menü marka + alt başlık (işletme paneli & sistem yönetimi) */
.panel-brand--admin,
.panel-brand--business {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding-bottom: 1.1rem;
}
.panel-brand-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  line-height: 1.2;
}
.admin-sidebar-role {
  font-size: 0.8rem;
  color: var(--muted);
}
.admin-body .panel-nav a.admin-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.admin-body .panel-nav a.admin-nav-item .admin-nav-item__label {
  min-width: 0;
  flex: 1;
}
.admin-nav-badge {
  flex-shrink: 0;
  min-width: 1.4rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  background: rgba(113, 113, 122, 0.2);
  color: var(--muted);
}
/* Sarı — bekleyen */
.admin-nav-badge--pending {
  background: rgba(234, 179, 8, 0.38);
  color: #a16207;
}
/* Yeşil — onaylanmış */
.admin-nav-badge--approved {
  background: rgba(34, 197, 94, 0.22);
  color: #15803d;
}
/* Kırmızı — reddedilen */
.admin-nav-badge--rejected {
  background: rgba(239, 68, 68, 0.2);
  color: #b91c1c;
}
.admin-body .panel-nav a.admin-nav-item[aria-current="page"] .admin-nav-badge--pending {
  background: rgba(234, 179, 8, 0.52);
  color: #854d0e;
}
.admin-body .panel-nav a.admin-nav-item[aria-current="page"] .admin-nav-badge--approved {
  background: rgba(34, 197, 94, 0.38);
  color: #166534;
}
.admin-body .panel-nav a.admin-nav-item[aria-current="page"] .admin-nav-badge--rejected {
  background: rgba(239, 68, 68, 0.32);
  color: #991b1b;
}
.admin-body .panel-nav a[aria-current="page"] {
  background: var(--surface2);
  color: var(--text);
  font-weight: 600;
}
.admin-section-title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.admin-section-title--spaced {
  margin-top: 2.25rem;
}
.admin-section-hint {
  margin-bottom: 0;
}
.admin-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
}
.admin-badge--ok {
  background: rgba(21, 128, 61, 0.12);
  color: #15803d;
}
.admin-badge--off {
  background: rgba(113, 113, 122, 0.2);
  color: var(--muted);
}
.admin-badge--rejected {
  background: rgba(239, 68, 68, 0.14);
  color: #b91c1c;
}
.admin-reject-input {
  min-width: 10rem;
  max-width: min(18rem, 100%);
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--surface2);
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
}
.admin-reject-input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}

.admin-table-actions-col {
  width: 1%;
  white-space: nowrap;
  text-align: right;
}
.admin-table-actions-cell {
  width: 1%;
  white-space: nowrap;
  vertical-align: middle;
  text-align: right;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  box-sizing: border-box;
}
.admin-modal[hidden] {
  display: none !important;
}
.admin-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  cursor: pointer;
}
.admin-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  max-height: min(90vh, 640px);
  overflow: auto;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--surface2);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.22);
}
.admin-modal__head {
  position: relative;
  padding: 1.15rem 2.75rem 0.85rem 1.25rem;
  border-bottom: 1px solid var(--surface2);
}
.admin-modal__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}
.admin-modal__business {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.35;
  word-break: break-word;
}
.admin-modal__business[hidden] {
  display: none !important;
}
.admin-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.admin-modal__close:hover {
  background: var(--surface2);
  color: var(--text);
}
.admin-modal__verification {
  padding: 0 1.25rem 0.85rem;
  margin: 0;
  border-bottom: 1px solid var(--surface2);
  font-size: 0.9rem;
  line-height: 1.45;
}
.admin-modal__verification[hidden] {
  display: none !important;
}
.admin-modal__verification-row {
  margin: 0.35rem 0;
}
.admin-modal__verification-row--warn {
  color: #b42318;
}
.admin-modal__verification-note {
  margin: 0.5rem 0 0;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  background: #fff8e6;
  border: 1px solid #e8d48b;
  color: var(--text);
  font-size: 0.85rem;
}
.admin-modal__verification-note[hidden] {
  display: none !important;
}
.admin-modal__form {
  padding: 1.25rem;
}
.admin-modal__form.stack-form label {
  margin-bottom: 0.35rem;
}
.admin-modal__rejection-wrap {
  margin-top: 0.15rem;
}
.admin-modal__rejection-wrap[hidden] {
  display: none !important;
}
.admin-modal__form.stack-form button {
  width: auto;
  margin-top: 0;
}
.admin-modal__actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.15rem;
  padding-top: 0.25rem;
}
.admin-modal__actions .btn-ghost,
.admin-modal__actions .btn-save {
  flex: 0 0 auto;
  width: auto;
}
.admin-status-select {
  width: 100%;
  max-width: 100%;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--surface2);
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
}
.admin-status-select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.admin-status-note {
  width: 100%;
  box-sizing: border-box;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--surface2);
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
}
.admin-status-note:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.panel-body .stack-form input[type="text"],
.panel-body .stack-form input[type="email"],
.panel-body .stack-form input[type="password"],
.panel-body .stack-form input[type="number"],
.panel-body .stack-form input[type="tel"]:not(.phone-field-modern__input),
.panel-body .stack-form input[type="file"],
.panel-body .stack-form select,
.panel-body .stack-form textarea {
  background: #ffffff;
  border-color: #d4d4d8;
}

.panel-body .stack-form input[readonly] {
  background: var(--surface2);
  color: var(--muted);
  cursor: default;
}
.panel-body .stack-form input[readonly]:focus-visible {
  outline: none;
  border-color: #d4d4d8;
  box-shadow: none;
}

.panel-body .add-category-form .flex-grow input,
.panel-body .add-category-form .add-category-parent select,
.panel-body .inline-form-row input[type="text"],
.panel-body .size-rows-table input[type="text"] {
  background: #ffffff;
  border-color: #d4d4d8;
}

.panel-sidebar-overlay {
  display: none;
}

.panel-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--surface2);
  display: flex;
  flex-direction: column;
  padding: 1.25rem 0;
  padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
}

.panel-brand {
  padding: 0 1.25rem 1rem;
  font-weight: 800;
  font-size: 1.1rem;
}
.panel-brand a { color: var(--text); text-decoration: none; }
.panel-brand a:hover { color: var(--accent); }

.panel-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0 0.65rem;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.panel-nav a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
  touch-action: manipulation;
}
.panel-nav a:hover,
.panel-nav a:focus-visible {
  background: var(--surface2);
  color: var(--text);
  outline: none;
}

.panel-nav-group {
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--surface2);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.panel-nav-group:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.panel-nav-group-label {
  padding: 0.35rem 0.85rem 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
}

.panel-account-lead {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.panel-sidebar-foot {
  padding: 1rem 1.25rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--surface2);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
}
.panel-sidebar-business {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}
.panel-sidebar-business-logo {
  display: block;
  max-width: 100%;
  max-height: 3.25rem;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}
.panel-sidebar-business-name {
  display: block;
  width: 100%;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  word-break: break-word;
  text-align: center;
}
.panel-sidebar-foot .btn {
  justify-content: center;
}

.panel-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-x: clip;
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
  border-bottom: 1px solid var(--surface2);
  background: var(--bg);
}

.panel-menu-toggle {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--surface2);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  touch-action: manipulation;
}
.panel-menu-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.panel-menu-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 1.2rem;
}
.panel-menu-bar {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.panel-top-heading {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.4rem;
  row-gap: 0.15rem;
}

.panel-top-title {
  margin: 0;
  font-size: clamp(1.05rem, 4vw, 1.35rem);
  line-height: 1.2;
  flex: 0 1 auto;
  min-width: 0;
}

.panel-top-item-preview {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  border: 1px solid var(--surface2);
  background: var(--surface);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  touch-action: manipulation;
  line-height: 1.2;
}
.panel-top-item-preview:hover {
  background: var(--surface2);
  text-decoration: none;
  color: var(--accent-dim);
}
.panel-top-item-preview__icon {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
}
.panel-top-item-preview__icon svg {
  display: block;
  width: 13px;
  height: 13px;
}
@media (max-width: 420px) {
  .panel-top-item-preview__text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .panel-top-item-preview {
    padding: 0.2rem 0.35rem;
  }
}

.toolbar-spacer {
  flex: 1;
  min-width: 0;
}

.toolbar--add-left {
  justify-content: flex-start;
}

/* Panel modal (kategori ekle vb.) */
html.panel-modal-open,
body.panel-modal-open {
  overflow: hidden;
}
.panel-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  box-sizing: border-box;
}
.panel-modal[hidden] {
  display: none !important;
}
.panel-modal:not([hidden]) {
  display: flex;
}
.panel-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 18, 0.45);
}
.panel-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  max-height: min(90vh, 100dvh);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--surface);
  border: 1px solid var(--surface2);
  border-radius: var(--radius);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}
.panel-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--surface2);
}
.panel-modal-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}
.panel-modal-close {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}
.panel-modal-close:hover {
  background: var(--surface2);
  color: var(--text);
}
.panel-modal-body {
  padding: 1rem 1.1rem 1.15rem;
}
.panel-modal-footer {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.85rem;
}
.category-add-modal-form .panel-modal-footer .btn {
  width: auto;
  flex: 0 0 auto;
  margin-top: 0;
}
.category-add-modal-form .hint {
  margin-top: 0.35rem;
  margin-bottom: 0;
}

.panel-modal-dialog--confirm-danger {
  border-color: rgba(220, 38, 38, 0.22);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(220, 38, 38, 0.06);
}
.panel-modal-confirm-lead {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
  font-weight: 600;
}
.panel-modal-confirm-list {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.55;
  color: var(--text);
  font-size: 0.92rem;
}
.panel-modal-confirm-list li {
  margin-bottom: 0.4rem;
}
.panel-modal-confirm-list li:last-child {
  margin-bottom: 0;
}
.panel-modal-footer--confirm {
  padding: 1.05rem 1.1rem 1.15rem;
  margin-top: 0;
  border-top: 1px solid var(--surface2);
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.panel-content {
  flex: 1;
  padding: 1.25rem 1.75rem 2rem;
  padding-left: max(1.75rem, env(safe-area-inset-left));
  padding-right: max(1.75rem, env(safe-area-inset-right));
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
  max-width: 1100px;
  width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  box-sizing: border-box;
}

.panel-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0.25rem 0 1rem;
  border-radius: 10px;
  border: 1px solid var(--surface2);
}
.panel-table-scroll .data-table {
  margin: 0;
  min-width: 520px;
}
.panel-table-scroll .size-rows-table {
  min-width: 0;
  width: 100%;
}
.panel-table-scroll .data-table th:first-child,
.panel-table-scroll .data-table td:first-child {
  padding-left: 1rem;
}
.panel-table-scroll .data-table th:last-child,
.panel-table-scroll .data-table td:last-child {
  padding-right: 1rem;
}

/* Kategori / ürün listesi kartı (beyaz zemin + gölge + kenar boşluğu) */
.panel-table-scroll--categories,
.panel-table-scroll--items {
  background: var(--surface);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  margin: 0.15rem 0 0.65rem;
}
.panel-table-scroll--items .data-table--items,
.panel-table-scroll--categories .data-table--categories {
  margin: 0;
}
.panel-table-scroll--items .data-table--items {
  width: 100%;
  table-layout: fixed;
}
.panel-table-scroll--items .data-table--items th,
.panel-table-scroll--items .data-table--items td {
  vertical-align: middle;
}
.panel-table-scroll--items .data-table--items th:first-child,
.panel-table-scroll--items .data-table--items td:first-child {
  padding-left: 0.85rem;
  padding-right: 0.35rem;
  width: 4.75rem;
  max-width: 4.75rem;
  white-space: nowrap;
}
.panel-table-scroll--items .data-table--items th:nth-child(2),
.panel-table-scroll--items .data-table--items td:nth-child(2) {
  padding-left: 0.35rem;
  width: auto;
  min-width: 0;
}
.panel-table-scroll--items .data-table--items th:nth-child(3),
.panel-table-scroll--items .data-table--items td:nth-child(3) {
  width: 28%;
  min-width: 0;
}
.panel-table-scroll--items .data-table--items th:nth-child(4),
.panel-table-scroll--items .data-table--items td:nth-child(4) {
  width: 7.5rem;
  white-space: nowrap;
}
.panel-table-scroll--items .data-table--items th:last-child,
.panel-table-scroll--items .data-table--items td:last-child {
  padding-right: 0.85rem;
  width: 12rem;
  text-align: right;
  white-space: normal;
}
.panel-table-scroll--items .data-table--items td:last-child .cell-actions-row {
  justify-content: flex-end;
  width: 100%;
}
.panel-table-scroll--items .data-table--items .item-title-line {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  min-width: 0;
  vertical-align: middle;
}
.panel-table-scroll--items .data-table--items .item-title-line .cat-status-dot {
  flex-shrink: 0;
}
.panel-table-scroll--items .data-table--items .item-title-line strong {
  vertical-align: middle;
}
.panel-table-scroll--categories .data-table--categories .item-title-line {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  min-width: 0;
  vertical-align: middle;
}
.panel-table-scroll--categories .data-table--categories .item-title-line .cat-status-dot {
  flex-shrink: 0;
}
.panel-table-scroll--categories .data-table--categories .item-title-line strong {
  vertical-align: middle;
}
.panel-table-scroll--categories .data-table--categories {
  width: 100%;
  table-layout: fixed;
}
.panel-table-scroll--categories .data-table--categories th,
.panel-table-scroll--categories .data-table--categories td {
  vertical-align: middle;
}
.panel-table-scroll--categories .data-table--categories th:first-child,
.panel-table-scroll--categories .data-table--categories td:first-child {
  padding-left: 0.85rem;
  padding-right: 0.35rem;
  width: 4.75rem;
  max-width: 4.75rem;
  white-space: nowrap;
}
.panel-table-scroll--categories .data-table--categories th:nth-child(2),
.panel-table-scroll--categories .data-table--categories td:nth-child(2) {
  padding-left: 0.35rem;
  width: auto;
  min-width: 0;
}
.panel-table-scroll--categories .data-table--categories th:last-child,
.panel-table-scroll--categories .data-table--categories td:last-child {
  padding-right: 0.85rem;
  width: 12rem;
  text-align: right;
  white-space: normal;
}
.panel-table-scroll--categories .data-table--categories .cat-name-cell {
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.4;
}

@media (max-width: 1023px) {
  .panel-sidebar-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 180;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }
  .panel-nav-open .panel-sidebar-overlay {
    opacity: 1;
    visibility: visible;
  }

  .panel-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 200;
    width: min(18.5rem, 88vw);
    max-width: 100%;
    padding-top: max(1rem, env(safe-area-inset-top));
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.45);
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    border-right: 1px solid var(--surface2);
  }
  .panel-nav-open .panel-sidebar {
    transform: translateX(0);
  }

  @media (prefers-reduced-motion: reduce) {
    .panel-sidebar,
    .panel-sidebar-overlay {
      transition: none;
    }
  }

  .panel-menu-toggle {
    display: flex;
  }

  .panel-top {
    position: sticky;
    top: 0;
    z-index: 150;
    background: var(--bg);
    box-shadow: 0 1px 0 var(--surface2);
  }

  .stack-form input[type="text"],
  .stack-form input[type="email"],
  .stack-form input[type="password"],
  .stack-form input[type="number"],
  .stack-form select,
  .stack-form textarea,
  .filter-form select,
  .inline-form-row input[type="text"],
  .add-category-form .flex-grow input,
  .add-category-form .add-category-parent select,
  .size-rows-table input[type="text"] {
    font-size: 1rem;
  }

  .cards-row {
    flex-direction: column;
  }
  .stat-card,
  .stat-card-wide {
    width: 100%;
    min-width: 0;
  }

  .toolbar {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .toolbar .filter-form {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-self: stretch;
    display: block;
  }
  .toolbar .filter-form label {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .toolbar .filter-form select {
    margin-left: 0;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    min-height: 2.75rem;
    font-size: 1rem;
  }
  .toolbar .btn {
    width: 100%;
    justify-content: center;
  }

  /* Kategoriler: ad tam genişlik; üst kategori + Ekle aynı satır */
  .inline-form-row.add-category-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "catname catname"
      "parent  addbtn";
    gap: 0.65rem 0.75rem;
    align-items: end;
  }
  .add-category-form .add-category-row .flex-grow {
    grid-area: catname;
    flex: none;
    width: 100%;
    min-width: 0;
    margin-bottom: 0;
  }
  .add-category-form .add-category-row .add-category-parent {
    grid-area: parent;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    min-width: 0;
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
  }
  .add-category-form .add-category-row .add-category-parent select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 2.75rem;
    font-size: 1rem;
    margin-top: 0;
    margin-left: 0;
    box-sizing: border-box;
  }
  .add-category-form .add-category-row .add-category-btn-wrap {
    grid-area: addbtn;
    padding-bottom: 0;
    align-self: end;
  }
  .add-category-form .add-category-row .add-category-btn-wrap .btn {
    width: auto;
    min-width: 5.5rem;
    justify-content: center;
  }

  .actions-row .btn {
    flex: 1 1 auto;
    min-width: calc(50% - 0.25rem);
    justify-content: center;
  }

  .form-max {
    max-width: none;
  }

  .stat-link {
    display: block;
    padding: 0.4rem 0;
    line-height: 1.45;
  }

  .qr-box {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  /* Liste tabloları: yatay kaydırma yerine kart düzeni (uzun ürün adları taşmaz) */
  .panel-table-scroll--cards-mobile {
    overflow-x: visible;
    border: none;
    background: transparent;
    margin-left: 0;
    margin-right: 0;
  }

  .panel-table-scroll--cards-mobile .data-table--stack-on-mobile {
    display: block;
    width: 100%;
    min-width: 0 !important;
  }

  .panel-table-scroll--cards-mobile .data-table--stack-on-mobile thead {
    display: none;
  }

  .panel-table-scroll--cards-mobile .data-table--stack-on-mobile tbody {
    display: block;
  }

  .panel-table-scroll--cards-mobile .data-table--stack-on-mobile tbody tr {
    display: block;
    margin-bottom: 0.85rem;
    padding: 0.9rem 1rem;
    background: var(--surface);
    border: 1px solid var(--surface2);
    border-radius: 12px;
  }

  .panel-table-scroll--cards-mobile .data-table--stack-on-mobile tbody td {
    display: block;
    width: 100% !important;
    max-width: 100%;
    padding: 0.4rem 0 !important;
    border: none;
    text-align: left !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* Masaüstü tablo padding’i (özellikle td:last-child 1rem) kartta kaymaya yol açmasın */
  .panel-table-scroll--cards-mobile .data-table tbody td:first-child,
  .panel-table-scroll--cards-mobile .data-table tbody td:last-child {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .panel-table-scroll--cards-mobile .data-table--stack-on-mobile tbody td.stack-mobile-no-label::before {
    display: none;
    content: none;
  }

  .panel-table-scroll--cards-mobile .data-table--stack-on-mobile tbody td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.25rem;
  }

  .panel-table-scroll--cards-mobile .data-table--stack-on-mobile tbody td.stack-mobile-actions {
    padding: 0.65rem 0 0 !important;
    margin-top: 0.35rem;
    border-top: 1px solid var(--surface2);
    text-align: center;
  }

  .panel-table-scroll--cards-mobile .data-table--stack-on-mobile tbody td.stack-mobile-actions .cell-actions-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
    justify-content: stretch;
  }
  .panel-table-scroll--cards-mobile .data-table--stack-on-mobile tbody td.stack-mobile-actions .cell-actions-row > .btn-panel-edit {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 0;
    width: auto;
    max-width: none;
    justify-content: center;
    margin: 0;
    box-sizing: border-box;
  }
  .panel-table-scroll--cards-mobile .data-table--stack-on-mobile tbody td.stack-mobile-actions .cell-actions-row > .btn-danger {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 0;
    width: auto;
    max-width: none;
    justify-content: center;
    margin: 0;
    box-sizing: border-box;
  }

  /* Ürünler: üstte küçük görsel + başlık grid; altında etiketli satırlar */
  .panel-table-scroll--cards-mobile .data-table--items tbody tr {
    display: grid;
    grid-template-columns: 4rem 1fr;
    column-gap: 0.85rem;
    row-gap: 0.15rem;
    align-items: start;
  }

  .panel-table-scroll--cards-mobile .data-table--items tbody td.cell-thumb {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
  }

  .panel-table-scroll--cards-mobile .data-table--items tbody td.stack-mobile-item-title {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    align-self: center;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .panel-table-scroll--cards-mobile .data-table--items tbody td.stack-mobile-item-title .item-title-line {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    min-width: 0;
    width: 100%;
  }

  .panel-table-scroll--cards-mobile .data-table--items tbody td.stack-mobile-item-title strong {
    font-size: 1rem;
    line-height: 1.35;
    max-width: 100%;
  }

  .panel-table-scroll--cards-mobile .data-table--items tbody td:nth-child(3) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .panel-table-scroll--cards-mobile .data-table--items tbody td.stack-mobile-price {
    grid-column: 1 / -1;
    grid-row: 3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
  }

  .panel-table-scroll--cards-mobile .data-table--items tbody td.stack-mobile-actions {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  .panel-table-scroll--cards-mobile .data-table--items .cell-thumb img {
    width: 4rem;
    height: 4rem;
    object-fit: cover;
    border-radius: 10px;
    display: block;
  }

  /* Kategoriler: ürün listesiyle aynı mobil kart (görsel + ad üstte, Düzenle altta) */
  .panel-table-scroll--cards-mobile .data-table--categories tbody tr {
    display: grid;
    grid-template-columns: 4rem 1fr;
    column-gap: 0.85rem;
    row-gap: 0.15rem;
    align-items: start;
  }

  .panel-table-scroll--cards-mobile .data-table--categories tbody td.cell-thumb {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
  }

  .panel-table-scroll--cards-mobile .data-table--categories tbody td.stack-mobile-item-title {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    align-self: center;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .panel-table-scroll--cards-mobile .data-table--categories tbody td.stack-mobile-item-title .item-title-line {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    min-width: 0;
    width: 100%;
  }

  .panel-table-scroll--cards-mobile .data-table--categories tbody td.stack-mobile-item-title strong {
    font-size: 1rem;
    line-height: 1.35;
    max-width: 100%;
  }

  .panel-table-scroll--cards-mobile .data-table--categories tbody td.stack-mobile-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 0.65rem 0 0 !important;
    margin-top: 0.35rem;
    border-top: 1px solid var(--surface2);
    text-align: center;
  }

  .panel-table-scroll--cards-mobile .data-table--categories .cell-thumb img {
    width: 4rem;
    height: 4rem;
    object-fit: cover;
    border-radius: 10px;
    display: block;
  }
}

@media (min-width: 1024px) {
  .panel-menu-toggle {
    display: none !important;
  }
  .panel-sidebar-overlay {
    display: none !important;
  }
  .panel-top-title {
    font-size: 1.35rem;
  }
}

/* Cards & tables */
.cards-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
.stat-card {
  background: var(--surface);
  border: 1px solid var(--surface2);
  border-radius: var(--radius);
  padding: 1.25rem;
  min-width: 140px;
}
.stat-card-wide { flex: 1; min-width: 200px; }
.stat-value { display: block; font-size: 1.75rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 0.85rem; color: var(--muted); }
.stat-link { word-break: break-all; font-size: 0.85rem; }
.actions-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.data-table th,
.data-table td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--surface2);
}
.data-table th { color: var(--muted); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.cell-actions { white-space: nowrap; }
.cell-actions-row {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}
.cell-thumb img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.cell-thumb-sm img { width: 40px; height: 40px; }
.field-block { margin-bottom: 1rem; }
.thumb-placeholder { color: var(--muted); }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.filter-form label { font-size: 0.85rem; color: var(--muted); }
.filter-form select {
  margin-left: 0.35rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--surface2);
  background: var(--surface);
  color: var(--text);
  box-sizing: border-box;
}

.inline-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.add-category-form .add-category-row {
  align-items: flex-end;
}
/* Satırdaki label’larda stack-form’un margin-bottom’u flex-end ile üst sütunu yukarı iter */
.add-category-form .add-category-row > label {
  margin-bottom: 0;
}
.add-category-form .flex-grow {
  flex: 1 1 200px;
  margin-bottom: 0;
}
.add-category-form .flex-grow input {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--surface2);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  min-height: 2.625rem;
  box-sizing: border-box;
  line-height: 1.35;
}
.add-category-form .add-category-parent {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.add-category-form .add-category-parent select {
  min-width: 160px;
  margin-top: 0.35rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--surface2);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  min-height: 2.625rem;
  box-sizing: border-box;
  line-height: 1.35;
}
.add-category-btn-wrap {
  padding-bottom: 0;
  display: flex;
  align-items: flex-end;
}
.add-category-form .add-category-row .add-category-btn-wrap .btn {
  box-sizing: border-box;
}
.cat-cell-sub {
  color: inherit;
  padding-left: 0.25rem;
}
.cat-sub-mark {
  color: var(--muted);
  font-size: 0.95em;
  font-weight: 500;
}

.cat-name-cell {
  vertical-align: middle;
}
.cat-status-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  margin-right: 0.4rem;
  vertical-align: middle;
  position: relative;
  top: -0.06em;
  flex-shrink: 0;
}
.cat-status-dot--active {
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.22);
}
.cat-status-dot--inactive {
  background: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

.panel-click-row {
  cursor: pointer;
}
.panel-click-row:hover td {
  background: rgba(37, 99, 235, 0.05);
}
.panel-click-row:focus {
  outline: none;
}
.panel-click-row:focus-visible td {
  box-shadow: inset 0 0 0 2px var(--accent);
}
.size-rows-section h2 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}
.size-rows-table input[type="text"] {
  width: 100%;
  padding: 0.45rem 0.5rem;
  border-radius: 6px;
  border: 1px solid var(--surface2);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}
.size-rows-table input[type="text"]::placeholder {
  color: var(--muted);
  opacity: 0.5;
}
.size-rows-table td {
  vertical-align: middle;
}

.item-badges-hint {
  margin: 0 0 0.65rem;
}
.item-badges-field .field-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.item-badges-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
  min-height: 0;
}
/* stack-form button { width:100% } chip içindeki ×’i genişletip etiket metnini sıfır genişliğe sıkıştırıyordu */
.stack-form .item-badges-field > .item-badges-add-row button,
.stack-form .item-badges-field .item-badges-quick button {
  width: auto;
  max-width: none;
  margin-top: 0;
}

.item-badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.35rem 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--surface2);
  color: var(--text);
  max-width: 100%;
}
.item-badge-chip-label {
  color: var(--text);
  flex: 0 1 auto;
  min-width: max-content;
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.item-badge-chip-remove {
  flex-shrink: 0;
  width: 1.35rem;
  min-width: 1.35rem;
  max-width: 1.35rem;
  height: 1.35rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  margin-top: 0;
}
.item-badge-chip-remove:hover {
  background: var(--surface2);
  color: var(--text);
}
.stack-form .item-badges-field .item-badge-chip .item-badge-chip-remove {
  width: 1.35rem;
  min-width: 1.35rem;
  max-width: 1.35rem;
  margin-top: 0;
}
.item-badges-add-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 0.65rem;
}
.item-badges-input {
  flex: 1;
  min-width: 10rem;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--surface2);
  background: #ffffff;
  color: var(--text);
  font: inherit;
}
.item-badges-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.inline-form-row input[type="text"] {
  flex: 1;
  min-width: 200px;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--surface2);
  background: var(--bg);
  color: var(--text);
}

.field-readonly {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--surface2);
  border-radius: var(--radius);
}
.field-readonly .field-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.field-readonly .field-hint {
  display: block;
  margin-top: 0.5rem;
  line-height: 1.45;
}
.stack-form-row-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.75rem 0.65rem;
  margin-bottom: 1rem;
  align-items: start;
}
.stack-form-row-2 > label {
  margin-bottom: 0;
}

.form-max { max-width: 560px; }
.category-edit-footer {
  margin-top: 1.25rem;
}
.category-edit-actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}
.category-edit-actions-row--save-only {
  justify-content: flex-end;
}
.category-edit-delete-form {
  margin: 0;
}
.category-edit-save-btn {
  flex-shrink: 0;
}
.form-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.form-actions .btn { width: auto; }
.business-profile-actions {
  margin-top: 0.35rem;
  justify-content: flex-end;
}
.business-profile-actions .btn-primary,
.business-profile-actions .btn-save {
  flex-shrink: 0;
  box-sizing: border-box;
  margin-top: 0;
}
.stack-form .btn-primary,
.stack-form .btn-save {
  width: auto;
}

.thumb-preview { margin-top: 0.5rem; }
.thumb-preview img { max-height: 120px; border-radius: 8px; }
.thumb-preview-wide img { max-height: 160px; width: 100%; max-width: 400px; object-fit: cover; }

.tax-document-field {
  margin-bottom: 1rem;
}
.tax-document-field__label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.tax-document-field__hint {
  margin: 0 0 0.5rem;
}
.tax-document-field__current {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin: 0 0 0.5rem;
}
.tax-document-field__remove {
  font-size: 0.9rem;
  cursor: pointer;
}
.tax-document-field input[type="file"] {
  max-width: 100%;
}

.panel-table-scroll--tax-doc {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}
.panel-table-scroll--tax-doc .data-table--tax-doc {
  min-width: 0;
  width: 100%;
}
.panel-table-scroll--tax-doc .data-table--tax-doc th,
.panel-table-scroll--tax-doc .data-table--tax-doc td {
  vertical-align: middle;
}
.panel-table-scroll--tax-doc .data-table--tax-doc .tax-doc-table-actions {
  width: 1%;
  white-space: nowrap;
  text-align: right;
}
.panel-body .stack-form .panel-table-scroll--tax-doc .tax-doc-remove-btn {
  margin: 0;
  width: auto;
}

/* Gerekli Bilgiler — modern telefon alanı */
.panel-body .phone-field-modern {
  margin-bottom: 1rem;
}
.panel-body .phone-field-modern__label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}
.panel-body .phone-field-modern__shell {
  display: flex;
  align-items: stretch;
  min-height: 3rem;
  border-radius: 12px;
  border: 1px solid #d4d4d8;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(24, 24, 27, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  overflow: hidden;
}
.panel-body .phone-field-modern__shell:hover {
  border-color: #c4c4cc;
}
.panel-body .phone-field-modern__shell:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
.panel-body .phone-field-modern__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3.15rem;
  background: linear-gradient(180deg, #fafafa 0%, #f4f4f5 100%);
  border-right: 1px solid #e4e4e7;
  color: var(--muted);
}
.panel-body .phone-field-modern__shell:focus-within .phone-field-modern__icon {
  color: var(--accent);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.06) 0%, rgba(37, 99, 235, 0.04) 100%);
  border-right-color: rgba(37, 99, 235, 0.15);
}
.panel-body .phone-field-modern__input {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0.65rem 0.9rem;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  box-shadow: none;
}
.panel-body .phone-field-modern__input::placeholder {
  color: #a1a1aa;
  font-variant-numeric: normal;
  letter-spacing: 0.04em;
  word-spacing: 0.35em;
}
.panel-body .phone-field-modern__input:focus {
  outline: none;
}
.panel-body .phone-field-modern__hint {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Panel: modern görsel yükleme (sürükle-bırak + tıklama; önizleme tek kutuda) */
.file-upload-field {
  display: block;
  margin-bottom: 1rem;
}
.file-upload-field__caption {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.file-upload-field__zone {
  display: block;
  position: relative;
  min-height: 5.5rem;
  border-radius: 12px;
  border: 2px dashed var(--surface2);
  background: var(--surface);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.file-upload-field__zone:not(.file-upload-field__zone--has-preview) {
  padding: 1rem 1.1rem;
}
.file-upload-field__zone--has-preview {
  border-style: solid;
  border-width: 1px;
  border-color: var(--surface2);
  padding: 0;
  min-height: 6.5rem;
}
.file-upload-field__zone--hero.file-upload-field__zone--has-preview {
  min-height: 9.5rem;
}
.file-upload-field__zone:hover {
  border-color: var(--muted);
}
.file-upload-field__zone:not(.file-upload-field__zone--has-preview):hover {
  background: var(--bg);
}
.file-upload-field__zone:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.file-upload-field__zone--hero:not(.file-upload-field__zone--has-preview) {
  min-height: 7rem;
}
.file-upload-field__zone--drag {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
}
.file-upload-field__zone--drag:not(.file-upload-field__zone--has-preview) {
  background: rgba(37, 99, 235, 0.06);
}
.file-upload-field__zone--drag.file-upload-field__zone--has-preview {
  background: rgba(37, 99, 235, 0.08);
}
.file-upload-field__preview[hidden],
.file-upload-field__empty[hidden],
.file-upload-field__swap[hidden] {
  display: none !important;
}
.file-upload-field__preview {
  position: absolute;
  inset: 0;
  background: var(--bg);
  pointer-events: none;
}
.file-upload-field__preview:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
}
.file-upload-field__preview img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
}
.file-upload-field__zone--hero.file-upload-field__zone--has-preview .file-upload-field__preview img {
  width: 100%;
  height: 100%;
  max-height: none;
  max-width: none;
  object-fit: cover;
}
.file-upload-field__empty:not([hidden]) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3.25rem;
  text-align: center;
  pointer-events: none;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.4;
  max-width: 16rem;
  margin: 0 auto;
}
.file-upload-field__icon {
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.85;
}
.file-upload-field__swap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 0.55rem 0.75rem 0.5rem;
  background: linear-gradient(to top, rgba(24, 24, 27, 0.82), rgba(24, 24, 27, 0.45) 55%, transparent);
  pointer-events: none;
  text-align: center;
}
.file-upload-field__swap-text {
  display: block;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #fafafa;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.file-upload-field__swap .file-upload-field__filename {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  line-height: 1.3;
  color: rgba(250, 250, 250, 0.92);
  word-break: break-all;
}
.file-upload-field__filename:empty,
.file-upload-field__filename[hidden] {
  margin-top: 0;
}
.file-upload-field__shell {
  position: relative;
  display: block;
}
.file-upload-field__clear {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 10;
  box-sizing: border-box;
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.98);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.97);
  color: #52525b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 4px 14px rgba(0, 0, 0, 0.14);
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.12s ease;
}
.file-upload-field__clear svg {
  flex-shrink: 0;
  display: block;
}
.file-upload-field__clear:hover {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #dc2626;
  box-shadow:
    0 2px 6px rgba(220, 38, 38, 0.15),
    0 8px 22px rgba(0, 0, 0, 0.12);
  transform: scale(1.06);
}
.file-upload-field__clear:active {
  transform: scale(0.96);
}
.file-upload-field__clear:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.file-upload-field__clear[hidden] {
  display: none !important;
}
.stack-form .file-upload-field input[type="file"].sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.panel-body .stack-form .file-upload-field input[type="file"] {
  background: transparent;
  border: 0;
}

.panel-subsection {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--surface2);
}
.panel-subsection h2 { font-size: 1rem; margin: 0 0 0.75rem; }
.inline-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.danger-zone h2 { color: #f87171; }

.badge {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: var(--surface2);
  color: var(--muted);
  margin-left: 0.35rem;
  vertical-align: middle;
}
.badge-green { background: rgba(34, 197, 94, 0.2); color: var(--green); }
.badge-red { background: rgba(220, 38, 38, 0.2); color: #f87171; }
.badge-blue { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.badge-amber { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.badge-muted { background: rgba(113, 113, 122, 0.25); color: #a1a1aa; }

.qr-box {
  background: #fff;
  padding: 1rem;
  border-radius: var(--radius);
  display: inline-block;
  margin: 1rem 0;
}
.qr-img { display: block; max-width: 100%; height: auto; }

/* Public menu */
.menu-public { background: #121214; color: #eee; }
.menu-public-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 2rem;
  text-align: center;
  color: var(--muted);
}
.menu-public-empty-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  max-width: 22rem;
}
.menu-public-empty-logo-link {
  display: inline-flex;
  line-height: 0;
  text-decoration: none;
  border-radius: 6px;
}
.menu-public-empty-logo-link:hover .menu-public-empty-logo {
  opacity: 1;
}
.menu-public-empty-logo-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.menu-public-empty-logo {
  display: block;
  max-width: min(160px, 70vw);
  width: auto;
  height: auto;
  opacity: 0.92;
  transition: opacity 0.15s ease;
}
.menu-public-empty-msg {
  margin: 0;
  line-height: 1.5;
}

@media (prefers-reduced-motion: no-preference) {
  html.menu-public-root {
    scroll-behavior: smooth;
  }
}

.menu-cat-showcase {
  max-width: 640px;
  margin: 0 auto;
  padding: 1.25rem 1rem 0.5rem;
}
.menu-cat-showcase-heading {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #a1a1aa;
  text-align: center;
}
.menu-cat-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
@media (min-width: 420px) {
  .menu-cat-showcase-grid {
    grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  }
}
.menu-cat-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 18px;
  overflow: hidden;
  background: #1c1c21;
  border: 1px solid #2e2e36;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.menu-cat-card:hover,
.menu-cat-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(232, 185, 35, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  outline: none;
}
.menu-cat-card-media {
  position: relative;
  aspect-ratio: 1 / 1.05;
  background: #2a2a32;
}
@media (min-width: 400px) {
  .menu-cat-card-media {
    aspect-ratio: 4 / 3;
  }
}
.menu-cat-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.menu-cat-card-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #3d3528 0%, #252018 45%, #1a1814 100%);
}
.menu-cat-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.95) 0%, rgba(10, 10, 12, 0.35) 40%, transparent 65%);
  pointer-events: none;
}
.menu-cat-card-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 2.5rem 0.9rem 0.95rem;
  font-size: clamp(0.95rem, 3.5vw, 1.15rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fafafa;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}
.menu-public .menu-section {
  scroll-margin-top: 1.25rem;
}

.menu-hero {
  position: relative;
  min-height: 200px;
  background: linear-gradient(145deg, #2a2418 0%, #1a1814 50%, #0f0e0c 100%);
  background-size: cover;
  background-position: center;
}
.menu-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #121214 0%, transparent 55%);
  pointer-events: none;
}
.menu-hero-inner {
  position: relative;
  z-index: 1;
  padding: 2rem 1.25rem 3rem;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.menu-logo {
  display: block;
  margin: 0 auto 1rem;
  max-width: min(85vw, 260px);
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  border: none;
}
.menu-hero h1 {
  margin: 0;
  font-size: clamp(1.5rem, 5vw, 2rem);
  letter-spacing: -0.02em;
}
.menu-tagline {
  margin: 0.75rem 0 0;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
}

.menu-main {
  max-width: 640px;
  margin: -1.5rem auto 0;
  padding: 0 1rem 3rem;
  position: relative;
  z-index: 2;
}
/* Kategori vitrininden sonra negatif margin, ilk bölüm başlığını kartların üstüne taşır */
.menu-main.menu-main--with-showcase {
  margin-top: 1rem;
}
.menu-empty { text-align: center; color: var(--muted); padding: 2rem; }
.menu-section { margin-bottom: 2rem; }
.menu-cat-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #2a2a30;
}
.menu-cat-banner {
  margin: 0 0 0.85rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #2a2a32;
}
.menu-cat-banner img {
  display: block;
  width: 100%;
  max-height: 180px;
  object-fit: cover;
}
.menu-subcat-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0 0.5rem;
}
.menu-section > .menu-subcat-head:first-of-type {
  margin-top: 0.35rem;
}
.menu-subcat-head .menu-subcat-title {
  margin: 0;
  padding-left: 0;
}
.menu-subcat-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #d4d4d8;
  margin: 1.25rem 0 0.5rem;
  padding-left: 0.15rem;
}
.menu-section > .menu-subcat-title:first-of-type {
  margin-top: 0.35rem;
}
.menu-subcat-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  border: 1px solid #2a2a32;
}
.menu-subcat-muted {
  font-weight: 500;
  color: #71717a;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.menu-item-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; }

.menu-item-card {
  padding: 0;
  background: #1c1c21;
  border-radius: 14px;
  border: 1px solid #2a2a32;
  overflow: hidden;
}
.menu-item-card-link {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.85rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.menu-item-card-link:hover {
  background: rgba(255, 255, 255, 0.04);
}
.menu-item-card-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.menu-item-card.is-featured { border-color: rgba(232, 185, 35, 0.45); box-shadow: 0 0 0 1px rgba(232, 185, 35, 0.12); }
.menu-item-img {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  background: #2a2a32;
}
.menu-item-img img { width: 100%; height: 100%; object-fit: cover; }
.menu-item-body { flex: 1; min-width: 0; }
.menu-item-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}
.menu-item-head h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}
.menu-size-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.menu-size-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.92rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid #2a2a32;
}
.menu-size-list li:last-child {
  border-bottom: none;
}
.menu-size-label {
  color: #d4d4d8;
}
.menu-size-price {
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
.menu-price {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--accent);
  font-size: 0.95rem;
}
.menu-badges { margin-top: 0.35rem; }
.menu-badges .badge { margin-left: 0; margin-right: 0.35rem; }
.menu-desc {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: #a1a1aa;
  line-height: 1.45;
}

/* Müşteri menüsü — ızgara görünümü (fotoğraf, ad, fiyat) */
.menu-item-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (min-width: 420px) {
  .menu-item-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 720px) {
  .menu-item-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}
.menu-item-grid-card {
  display: flex;
  flex-direction: column;
  background: #1c1c21;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #2a2a32;
}
.menu-item-grid-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.menu-item-grid-link:hover .menu-item-grid-media img {
  opacity: 0.92;
}
.menu-item-grid-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.menu-item-grid-link .menu-item-grid-media img {
  transition: opacity 0.15s ease;
}
.menu-item-grid-card.is-featured {
  border-color: rgba(232, 185, 35, 0.45);
  box-shadow: 0 0 0 1px rgba(232, 185, 35, 0.12);
}
.menu-item-grid-media {
  aspect-ratio: 4 / 3;
  background: #2a2a32;
  position: relative;
}
.menu-item-grid-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.menu-item-grid-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.75rem;
  font-weight: 700;
  color: #52525b;
  text-transform: uppercase;
}
.menu-item-grid-body {
  padding: 0.65rem 0.7rem 0.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 0;
}
.menu-item-grid-body h3 {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.menu-item-grid-price {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.25;
}

/* Müşteri menüsü — ürün detay sayfası */
.menu-item-detail-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}
.menu-item-detail-top {
  padding: 1rem 1.1rem 0.35rem;
  max-width: 32rem;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.menu-item-detail-cat {
  margin: 0;
  font-size: 0.82rem;
  color: #71717a;
}
.menu-item-detail-backbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(26, 26, 30, 0.97) 0%,
    rgba(26, 26, 30, 0.9) 45%,
    rgba(26, 26, 30, 0) 100%
  );
}
.menu-item-detail-backbar .menu-item-detail-back {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: min(20rem, calc(100vw - 2rem));
  padding: 0.9rem 1.5rem;
  border-radius: 9999px;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #18181b;
  background: #ffffff;
  text-decoration: none;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.25),
    0 12px 28px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.35);
}
.menu-item-detail-backbar .menu-item-detail-back:hover {
  background: #f4f4f5;
  text-decoration: none;
}
.menu-item-detail-backbar .menu-item-detail-back:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}
.menu-item-detail-main {
  flex: 1;
  max-width: 32rem;
  margin: 0 auto;
  width: 100%;
  padding: 0.5rem 1rem 2rem;
  box-sizing: border-box;
}
.menu-item-detail-hero {
  border-radius: 16px;
  overflow: hidden;
  background: #2a2a32;
  margin-bottom: 1.15rem;
}
.menu-item-detail-hero img {
  width: 100%;
  display: block;
  max-height: min(70vh, 28rem);
  object-fit: cover;
}
.menu-item-detail-title {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.25;
}
.menu-item-detail-flag {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  color: #e8b923;
  font-weight: 600;
}
.menu-item-detail-badges {
  margin: 0.45rem 0 0.65rem;
}
.menu-item-detail-subhd {
  margin: 1.15rem 0 0.45rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #71717a;
  font-weight: 600;
}
.menu-item-detail-prices .menu-item-detail-subhd:first-child {
  margin-top: 0;
}
.menu-item-detail-base-price {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}
.menu-item-detail-base-note {
  margin: 0 0 0.6rem;
  font-size: 0.88rem;
  color: #a1a1aa;
  line-height: 1.45;
}
.menu-item-detail-size-list {
  margin-top: 0;
}
.menu-item-detail-desc-block {
  margin-top: 0.35rem;
}
.menu-item-detail-desc {
  margin: 0;
}

.menu-footer {
  text-align: center;
  padding: 1.5rem;
  color: #52525b;
  font-size: 0.8rem;
}
.menu-footer-credit {
  margin: 0 0 0rem;
}
.menu-footer-credit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #a1a1aa;
  max-width: 100%;
}
.menu-footer-credit-link:hover,
.menu-footer-credit-link:focus-visible {
  color: #d4d4d8;
  outline: none;
}
.menu-footer-credit-link:hover .menu-footer-credit-logo,
.menu-footer-credit-link:focus-visible .menu-footer-credit-logo {
  opacity: 1;
}
.menu-footer-credit-logo {
  max-width: min(140px, 70vw);
  height: auto;
  max-height: 26px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
}
.menu-back-top-fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #ffffff;
  color: #18181b;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.2),
    0 10px 24px rgba(0, 0, 0, 0.32);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}
.menu-back-top-fab.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.menu-back-top-fab:hover,
.menu-back-top-fab:focus-visible {
  background: #f4f4f5;
  border-color: rgba(0, 0, 0, 0.16);
  outline: none;
  color: #18181b;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.22),
    0 10px 24px rgba(0, 0, 0, 0.36);
}
.menu-back-top-fab:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}
.menu-back-top-fab[hidden] {
  display: none !important;
}
.menu-back-top-fab-icon {
  font-size: 1.1rem;
  line-height: 1;
}

/* Müşteri menüsü — açık tema (işletme profilinden) */
.menu-public.menu-theme-light {
  /* Açık zeminde sarı #e8b923 okunmaz; koyu kehribar/tarçın */
  --accent: #92400e;
  --accent-dim: #78350f;
  background: #f4f4f5;
  color: #18181b;
}
.menu-public.menu-theme-light .menu-cat-showcase-heading {
  color: #71717a;
}
.menu-public.menu-theme-light .menu-cat-card {
  background: #fff;
  border-color: #e4e4e7;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.menu-public.menu-theme-light .menu-cat-card:hover,
.menu-public.menu-theme-light .menu-cat-card:focus-visible {
  border-color: rgba(146, 64, 14, 0.45);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}
.menu-public.menu-theme-light .menu-cat-card-media {
  background: #e4e4e7;
}
.menu-public.menu-theme-light .menu-cat-card-shade {
  background: linear-gradient(to top, rgba(24, 24, 27, 0.88) 0%, rgba(24, 24, 27, 0.3) 42%, transparent 65%);
}
.menu-public.menu-theme-light .menu-cat-title {
  border-bottom-color: #d4d4d8;
}
.menu-public.menu-theme-light .menu-hero h1 {
  color: #18181b;
}
.menu-public.menu-theme-light .menu-tagline {
  color: #52525b;
}
.menu-public.menu-theme-light .menu-hero-overlay {
  background: linear-gradient(to top, #f4f4f5 0%, rgba(244, 244, 245, 0.5) 40%, transparent 62%);
}
.menu-public.menu-theme-light .menu-hero {
  background: linear-gradient(145deg, #faf8f3 0%, #f0ebe3 50%, #e8e4dc 100%);
}
.menu-public.menu-theme-light .menu-cat-banner {
  border-color: #d4d4d8;
}
.menu-public.menu-theme-light .menu-subcat-title {
  color: #3f3f46;
}
.menu-public.menu-theme-light .menu-subcat-muted {
  color: #71717a;
}
.menu-public.menu-theme-light .menu-subcat-img {
  border-color: #d4d4d8;
}
.menu-public.menu-theme-light .menu-item-card {
  background: #fff;
  border-color: #e4e4e7;
}
.menu-public.menu-theme-light .menu-item-card.is-featured {
  border-color: rgba(146, 64, 14, 0.5);
  box-shadow: 0 0 0 1px rgba(146, 64, 14, 0.15);
}
.menu-public.menu-theme-light .menu-item-card-link:hover {
  background: rgba(0, 0, 0, 0.04);
}
.menu-public.menu-theme-light .menu-item-img {
  background: #e4e4e7;
}
.menu-public.menu-theme-light .menu-item-head h3 {
  color: #18181b;
}
.menu-public.menu-theme-light .menu-size-list li {
  border-bottom-color: #e4e4e7;
}
.menu-public.menu-theme-light .menu-size-label {
  color: #3f3f46;
}
.menu-public.menu-theme-light .menu-desc {
  color: #71717a;
}
.menu-public.menu-theme-light .badge-muted {
  background: rgba(63, 63, 70, 0.12);
  color: #52525b;
}
.menu-public.menu-theme-light .badge-blue {
  background: rgba(37, 99, 235, 0.15);
  color: #1d4ed8;
}
.menu-public.menu-theme-light .badge-amber {
  background: rgba(180, 83, 9, 0.15);
  color: #b45309;
}
.menu-public.menu-theme-light .menu-footer {
  color: #71717a;
}
.menu-public.menu-theme-light .menu-footer-credit-link {
  color: #52525b;
}
.menu-public.menu-theme-light .menu-footer-credit-link:hover,
.menu-public.menu-theme-light .menu-footer-credit-link:focus-visible {
  color: #18181b;
}
.menu-public.menu-theme-light .menu-back-top-fab {
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.12);
  color: #fafafa;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.15),
    0 10px 24px rgba(0, 0, 0, 0.2);
}
.menu-public.menu-theme-light .menu-back-top-fab:hover,
.menu-public.menu-theme-light .menu-back-top-fab:focus-visible {
  background: #27272a;
  border-color: rgba(255, 255, 255, 0.18);
  color: #fafafa;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.18),
    0 10px 24px rgba(0, 0, 0, 0.24);
}
.menu-public.menu-theme-light .menu-back-top-fab:focus-visible {
  outline: 2px solid #fafafa;
  outline-offset: 2px;
}
.menu-public.menu-theme-light .menu-item-grid-card {
  background: #fff;
  border-color: #e4e4e7;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.menu-public.menu-theme-light .menu-item-grid-card.is-featured {
  border-color: rgba(146, 64, 14, 0.4);
  box-shadow: 0 0 0 1px rgba(146, 64, 14, 0.1);
}
.menu-public.menu-theme-light .menu-item-grid-media {
  background: #e4e4e7;
}
.menu-public.menu-theme-light .menu-item-grid-ph {
  color: #a1a1aa;
}
.menu-public.menu-theme-light .menu-item-grid-body h3 {
  color: #18181b;
}
.menu-public.menu-theme-light .menu-item-detail-backbar {
  background: linear-gradient(
    to top,
    rgba(244, 244, 245, 0.98) 0%,
    rgba(244, 244, 245, 0.92) 45%,
    rgba(244, 244, 245, 0) 100%
  );
}
.menu-public.menu-theme-light .menu-item-detail-backbar .menu-item-detail-back {
  color: #fafafa;
  background: #18181b;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.18),
    0 12px 28px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(0, 0, 0, 0.2);
}
.menu-public.menu-theme-light .menu-item-detail-backbar .menu-item-detail-back:hover {
  background: #27272a;
}
.menu-public.menu-theme-light .menu-item-detail-backbar .menu-item-detail-back:focus-visible {
  outline: 2px solid #fafafa;
  outline-offset: 3px;
}
.menu-public.menu-theme-light .menu-item-detail-hero {
  background: #e4e4e7;
}
.menu-public.menu-theme-light .menu-item-detail-title {
  color: #18181b;
}
.menu-public.menu-theme-light .menu-item-detail-cat,
.menu-public.menu-theme-light .menu-item-detail-subhd {
  color: #71717a;
}
.menu-public.menu-theme-light .menu-item-detail-base-note {
  color: #52525b;
}
.menu-public.menu-theme-light .menu-item-detail-desc {
  color: #3f3f46;
}
.menu-public.menu-theme-light .menu-empty {
  color: #71717a;
}

.muted { color: var(--muted); }
