/**
 * QR menü — mobil öncelikli tema (kategori ızgarası + alt gezinme).
 */
:root {
  --qm-bg: #f1f2f4;
  --qm-surface: #ffffff;
  --qm-text: #0f172a;
  --qm-muted: #64748b;
  --qm-nav: #1a1a1e;
  --qm-nav-muted: #9ca3af;
  --qm-accent: #e11d48;
  --qm-radius: 14px;
  --qm-radius-sm: 10px;
  --qm-safe-bottom: env(safe-area-inset-bottom, 0px);
  --qm-header-h: 52px;
  --qm-bottom-nav: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.qr-menu-body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  background: var(--qm-bg);
  color: var(--qm-text);
  padding-bottom: calc(var(--qm-bottom-nav) + var(--qm-safe-bottom) + 16px);
  -webkit-tap-highlight-color: transparent;
}

.qr-menu-shell {
  max-width: 480px;
  margin: 0 auto;
}

/* Sosyal satırlar (yan menü çekmecesinde) */
.qr-menu-social-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--qm-text);
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 0.88rem;
  font-weight: 600;
}
.qr-menu-drawer__social > .qr-menu-social-row:last-of-type {
  border-bottom: none;
}
.qr-menu-social-row:active {
  opacity: 0.82;
}
.qr-menu-social-row__icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.qr-menu-social-row__icon--ig {
  background: linear-gradient(165deg, #f58529, #dd2a7b, #8134af);
}
.qr-menu-social-row__icon--fb {
  background: #1877f2;
}
.qr-menu-social-row__icon--yt {
  background: #ff0000;
}
.qr-menu-social-row__icon--go {
  background: #1a73e8;
}
.qr-menu-social-row__text {
  min-width: 0;
  word-break: break-word;
}

/* --- Üst bar --- */
.qr-menu-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  background: var(--qm-surface);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.qr-menu-icon-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--qm-text);
  padding: 0;
}
.qr-menu-icon-btn:active {
  background: rgba(15, 23, 42, 0.06);
}
.qr-menu-icon-btn svg {
  width: 22px;
  height: 22px;
}
.qr-menu-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
  max-width: calc(100% - 6.5rem);
  text-decoration: none;
  color: inherit;
  outline: none;
}
.qr-menu-logo-link:focus-visible {
  box-shadow: 0 0 0 2px var(--qm-surface), 0 0 0 4px var(--qm-accent, #e11d48);
  border-radius: 6px;
}
.qr-menu-logo-link:active .qr-menu-logo {
  transform: scale(0.96);
}
.qr-menu-logo {
  display: block;
  height: 38px;
  width: auto;
  max-width: 100%;
  border-radius: 4px;
  object-fit: contain;
  object-position: center;
  background: transparent;
  transition: transform 0.12s ease;
}
.qr-menu-logo--placeholder {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d9488, #0891b2);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
}

/* Soldan açılan beyaz kategori menüsü */
.qr-menu-drawer-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}
.qr-menu-drawer-nav.is-open {
  pointer-events: auto;
  visibility: visible;
}
.qr-menu-drawer-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.qr-menu-drawer-nav.is-open .qr-menu-drawer-nav__backdrop {
  opacity: 1;
}
.qr-menu-drawer-nav__panel {
  position: absolute;
  top: 0;
  left: 0;
  right: auto;
  width: min(88vw, 300px);
  height: 100%;
  max-height: 100%;
  background: var(--qm-surface);
  color: var(--qm-text);
  box-shadow: 8px 0 32px rgba(0, 0, 0, 0.14);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.qr-menu-drawer-nav.is-open .qr-menu-drawer-nav__panel {
  transform: translateX(0);
}
.qr-menu-drawer-nav__head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  padding-top: calc(0.65rem + env(safe-area-inset-top, 0px));
  background: var(--qm-surface);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.qr-menu-drawer-nav__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--qm-text);
}
.qr-menu-drawer-nav__close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--qm-text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}
.qr-menu-drawer-nav__close:active {
  background: rgba(15, 23, 42, 0.1);
}
.qr-menu-drawer-nav__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.85rem 1rem 1.25rem;
  -webkit-overflow-scrolling: touch;
}
.qr-menu-drawer-nav__links {
  display: flex;
  flex-direction: column;
}
.qr-menu-drawer-nav__link {
  display: block;
  padding: 0.72rem 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--qm-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.qr-menu-drawer-nav__link:active {
  color: #0d9488;
}

/* Yan panel — sağdan açılan bilgi çekmecesi */
.qr-menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}
.qr-menu-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}
.qr-menu-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.qr-menu-drawer.is-open .qr-menu-drawer__backdrop {
  opacity: 1;
}
.qr-menu-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  width: min(92vw, 320px);
  height: 100%;
  max-height: 100%;
  background: #2c2c2c;
  color: rgba(255, 255, 255, 0.95);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.35);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.qr-menu-drawer.is-open .qr-menu-drawer__panel {
  transform: translateX(0);
}
.qr-menu-drawer__topbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  padding-top: calc(0.65rem + env(safe-area-inset-top, 0px));
  background: #1a2332;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.qr-menu-drawer__welcome {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.qr-menu-drawer__close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}
.qr-menu-drawer__close:active {
  background: rgba(255, 255, 255, 0.14);
}
.qr-menu-drawer__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.15rem 1rem 1.5rem;
  -webkit-overflow-scrolling: touch;
}
.qr-menu-drawer__brand {
  text-align: center;
  margin-bottom: 1.35rem;
}
.qr-menu-drawer__brand-logo {
  width: auto;
  height: auto;
  max-width: min(100%, 180px);
  max-height: 96px;
  border-radius: 6px;
  object-fit: contain;
  object-position: center;
  border: none;
  display: block;
  margin: 0 auto 0.75rem;
}
.qr-menu-drawer__brand-logo--ph {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(145deg, #3d3d44, #1f1f24);
  color: #fff;
  font-weight: 800;
  font-size: 2rem;
}
.qr-menu-drawer__brand-caption {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}
.qr-menu-drawer__section {
  margin-bottom: 1.35rem;
}
.qr-menu-drawer__section-title {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}
.qr-menu-drawer__facts {
  list-style: none;
  margin: 0;
  padding: 0;
}
.qr-menu-drawer__fact {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}
.qr-menu-drawer__fact:last-child {
  margin-bottom: 0;
}
.qr-menu-drawer__fact-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.75);
}
.qr-menu-drawer__fact-text {
  min-width: 0;
}
.qr-menu-drawer__fact-link {
  color: #7dd3fc;
  text-decoration: none;
  word-break: break-word;
  min-width: 0;
}
.qr-menu-drawer__fact-link:active {
  opacity: 0.85;
}
.qr-menu-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.qr-menu-drawer__nav-link {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.qr-menu-drawer__nav-link:active {
  color: #fff;
}
.qr-menu-drawer__mesai {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.15rem 0 0.35rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}
.qr-menu-drawer__mesai-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.75);
}
.qr-menu-drawer__mesai-text {
  min-width: 0;
}
.qr-menu-drawer__social {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.qr-menu-drawer__social .qr-menu-social-row {
  padding: 0.42rem 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.qr-menu-drawer__social .qr-menu-social-row__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}
.qr-menu-drawer__social .qr-menu-social-row__icon svg {
  width: 18px;
  height: 18px;
}
.qr-menu-drawer__at {
  opacity: 0.75;
  margin-right: 0.15rem;
}
.qr-menu-drawer__note {
  margin-top: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}

/* Öne çıkanlar */
.qr-menu-featured {
  margin: 0.65rem 0.75rem 0.35rem;
  background: var(--qm-surface);
  border-radius: var(--qm-radius);
  padding: 0.65rem 0.85rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.05);
}
.qr-menu-featured__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.qr-menu-featured__title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--qm-muted);
  margin: 0;
}
.qr-menu-car-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(13, 148, 136, 0.1);
  color: #0d9488;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.qr-menu-car-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.qr-menu-car {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.35rem;
  margin: 0 -0.15rem;
  scrollbar-width: none;
}
.qr-menu-car::-webkit-scrollbar {
  display: none;
}
.qr-menu-car-card {
  /* Aynı anda en az 3 kart: iki ara boşluk (gap) düşülür */
  flex: 0 0 calc((100% - 2 * 0.65rem) / 3);
  max-width: none;
  min-width: 0;
  scroll-snap-align: start;
  background: linear-gradient(145deg, #fff, #f8fafc);
  border-radius: var(--qm-radius-sm);
  border: 1px solid rgba(15, 23, 42, 0.07);
  padding: 0.45rem 0.4rem 0.5rem;
  min-height: 0;
}
.qr-menu-car-card__img-wrap {
  width: 100%;
  height: clamp(64px, 18vw, 90px);
  margin: 0 0 0.35rem;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.qr-menu-car-card__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}
.qr-menu-car-card__name {
  font-weight: 700;
  font-size: 0.72rem;
  margin: 0 0 0.15rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.qr-menu-car-card__cat {
  font-size: 0.62rem;
  color: var(--qm-muted);
  margin: 0 0 0.2rem;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.qr-menu-car-card__price {
  font-weight: 800;
  font-size: 0.78rem;
  color: #0d9488;
  margin: 0;
}
.qr-menu-car-card__price-stack {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.12rem;
}
.qr-menu-car-card__price-extra {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  color: #2563eb;
  line-height: 1.2;
  word-break: break-word;
}

.qr-menu-biz-slider {
  margin: 0 -0.05rem;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.qr-menu-biz-slider__track {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: var(--qm-radius-sm);
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(15, 23, 42, 0.04);
}
.qr-menu-biz-slider__track::-webkit-scrollbar {
  display: none;
}
.qr-menu-biz-slider__slide {
  flex: 0 0 100%;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.qr-menu-biz-slider__img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.07);
}
.qr-menu-biz-slider__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.qr-menu-biz-slider__caption {
  margin: 0;
  padding: 0.55rem 0.65rem 0.6rem;
  font-size: 0.8rem;
  line-height: 1.45;
  font-weight: 600;
  color: var(--qm-text);
  background: linear-gradient(180deg, #fafafa, #fff);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.qr-menu-biz-slider__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
}
.qr-menu-biz-slider__dot {
  width: 7px;
  height: 7px;
  border: none;
  border-radius: 50%;
  padding: 0;
  background: rgba(15, 23, 42, 0.2);
  cursor: pointer;
}
.qr-menu-biz-slider__dot.is-active {
  background: #0d9488;
}

/* Kategori ızgarası */
.qr-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0.65rem 0.75rem 0.25rem;
}
.qr-menu-cat {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 108px;
  border-radius: var(--qm-radius);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.qr-menu-cat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.65) 100%);
  z-index: 0;
}
.qr-menu-cat__label {
  position: relative;
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0.5rem 0.45rem;
  line-height: 1.25;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

/* Kategori kutusu: yazı her zaman ortada, siyah etiket satır içi style ile de gelir */
.qr-menu-cat--boxed {
  justify-content: center;
  align-items: center;
  padding: 7px;
}
.qr-menu-cat--boxed::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.18) 100%);
}

/* Kategori içi ürün listesi */
.qr-menu-page-head {
  padding: 0.85rem 0.75rem 0.5rem;
}
.qr-menu-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0d9488;
  text-decoration: none;
  margin-bottom: 0.35rem;
}
.qr-menu-page-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
}
.qr-menu-products {
  padding: 0.35rem 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.qr-menu-product {
  background: var(--qm-surface);
  border-radius: var(--qm-radius-sm);
  padding: 0.85rem 1rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.qr-menu-product__row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
}
.qr-menu-product__img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  background: rgba(15, 23, 42, 0.06);
  display: block;
}
.qr-menu-product__img-wrap {
  flex-shrink: 0;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 12px;
  line-height: 0;
  -webkit-tap-highlight-color: transparent;
}
.qr-menu-product__img-wrap:focus-visible {
  outline: 2px solid #0d9488;
  outline-offset: 2px;
}
.qr-menu-product__img-wrap:active {
  opacity: 0.92;
}
.qr-menu-product__body {
  flex: 1;
  min-width: 0;
}
.qr-menu-product__name {
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 0.2rem;
}
.qr-menu-product__desc {
  font-size: 0.8rem;
  color: var(--qm-muted);
  margin: 0;
  line-height: 1.4;
}
.qr-menu-product__price {
  font-weight: 800;
  color: #0d9488;
  white-space: nowrap;
  font-size: 0.95rem;
}
.qr-menu-product__price-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.14rem;
  text-align: right;
  flex-shrink: 0;
  max-width: 44%;
}
.qr-menu-product__price-stack .qr-menu-product__price {
  line-height: 1.15;
}
.qr-menu-product__price-extra {
  font-size: 0.74rem;
  font-weight: 700;
  color: #2563eb;
  line-height: 1.28;
  max-width: 10rem;
  word-break: break-word;
}

/* Alt gezinme */
.qr-menu-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  padding-bottom: var(--qm-safe-bottom);
}
.qr-menu-bottom__bar {
  margin: 0 auto;
  max-width: 480px;
  background: var(--qm-nav);
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 0.35rem 0.25rem 0.5rem;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18);
}
.qr-menu-bottom__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-decoration: none;
  color: var(--qm-nav-muted);
  font-size: 0.62rem;
  font-weight: 600;
  padding: 0.25rem;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}
.qr-menu-bottom__item svg {
  width: 22px;
  height: 22px;
  opacity: 0.9;
}
.qr-menu-bottom__item--active {
  color: #fff;
}
.qr-menu-bottom__fab-wrap {
  position: relative;
  flex: 0 0 56px;
  height: 28px;
}
.qr-menu-bottom__fab {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--qm-accent);
  border: 4px solid var(--qm-nav);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.45);
  text-decoration: none;
  cursor: pointer;
}
.qr-menu-bottom__fab svg {
  width: 26px;
  height: 26px;
}
.qr-menu-bottom__item--garson {
  font-size: 0.52rem;
  line-height: 1.15;
}
.qr-menu-bottom__garson-label {
  display: block;
  text-align: center;
  font-weight: 600;
}

.qr-menu-empty {
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--qm-muted);
  font-size: 0.9rem;
}

/* Wi‑Fi modal */
.qr-wifi-modal {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0.5rem;
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s;
}
.qr-wifi-modal.is-open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}
.qr-wifi-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
}
.qr-wifi-modal__panel {
  position: relative;
  width: 100%;
  max-width: 22rem;
  background: var(--qm-surface);
  border-radius: 16px;
  padding: 1.15rem 1.25rem 1.25rem;
  box-shadow: 0 -8px 40px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(15, 23, 42, 0.08);
  max-height: min(70vh, 24rem);
  overflow-y: auto;
}
.qr-wifi-modal__title {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--qm-text);
  padding-right: 2rem;
}
.qr-wifi-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--qm-muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}
.qr-wifi-modal__close:hover {
  background: rgba(15, 23, 42, 0.1);
  color: var(--qm-text);
}
.qr-wifi-modal__hint {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  color: var(--qm-muted);
  line-height: 1.4;
}
.qr-wifi-modal__row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.85rem;
}
.qr-wifi-modal__row:last-of-type {
  margin-bottom: 0;
}
.qr-wifi-modal__label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--qm-muted);
}
.qr-wifi-modal__value {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.qr-wifi-modal__text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--qm-text);
  word-break: break-word;
  flex: 1;
  min-width: 0;
}
.qr-wifi-modal__text--muted {
  font-weight: 500;
  color: var(--qm-muted);
  font-style: italic;
}
.qr-wifi-modal__copy {
  flex-shrink: 0;
  padding: 0.35rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid rgba(13, 148, 136, 0.35);
  background: rgba(13, 148, 136, 0.1);
  color: #0f766e;
  cursor: pointer;
  font-family: inherit;
}
.qr-wifi-modal__copy:active {
  opacity: 0.85;
}
.qr-wifi-modal__empty {
  margin: 0;
  font-size: 0.88rem;
  color: var(--qm-muted);
  line-height: 1.45;
}

.qr-garson-modal__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--qm-muted);
  margin: 0.5rem 0 0.35rem;
}
.qr-garson-modal__select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.65rem;
  font-size: 0.95rem;
  font-family: inherit;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: var(--qm-text);
}
.qr-garson-modal__err {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: #b91c1c;
}
.qr-garson-modal__submit {
  width: 100%;
  margin-top: 1rem;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  background: linear-gradient(135deg, #0f766e, #0d9488);
  color: #fff;
}
.qr-garson-modal__submit:active {
  opacity: 0.92;
}

/* Ürün detay (büyük görsel) */
.qr-urun-detail {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.22s ease, visibility 0.22s;
}
.qr-urun-detail.is-open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}
.qr-urun-detail__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
}
.qr-urun-detail__panel {
  position: relative;
  width: 100%;
  max-width: 22rem;
  max-height: min(92vh, 640px);
  background: var(--qm-surface);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
}
.qr-urun-detail__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--qm-text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.12);
}
.qr-urun-detail__close:active {
  opacity: 0.9;
}
.qr-urun-detail__img-wrap {
  flex: 0 0 auto;
  width: 100%;
  min-height: 12rem;
  max-height: min(48vh, 360px);
  background: linear-gradient(180deg, #f1f5f9, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-urun-detail__img {
  width: 100%;
  height: 100%;
  max-height: min(48vh, 360px);
  object-fit: contain;
  display: block;
}
.qr-urun-detail__info {
  padding: 1rem 1.15rem 1.2rem;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
}
.qr-urun-detail__title {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--qm-text);
  line-height: 1.25;
  padding-right: 2rem;
}
.qr-urun-detail__price {
  margin: 0 0 0.2rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0d9488;
}
.qr-urun-detail__price-extra {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #2563eb;
  line-height: 1.35;
}
.qr-urun-detail__price-extra[hidden] {
  display: none !important;
}
.qr-urun-detail__desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--qm-muted);
  line-height: 1.5;
}
.qr-urun-detail__desc.is-empty {
  display: none;
}
.qr-urun-detail__img-wrap.is-empty {
  min-height: 0;
  max-height: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.qr-urun-detail__vote-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin: 0.85rem 0 1rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.qr-urun-detail__vote-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--qm-muted);
  width: 100%;
}
.qr-urun-vote {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  font-family: inherit;
  color: var(--qm-text);
  line-height: 1.2;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}
.qr-vote-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.52rem;
  height: 1.52rem;
  border-radius: 9px;
  flex-shrink: 0;
  color: #fff;
}
.qr-vote-chip--sm {
  width: 1.22rem;
  height: 1.22rem;
  border-radius: 7px;
}
.qr-vote-chip--sm svg {
  width: 11px !important;
  height: 11px !important;
}
.qr-vote-chip--up {
  background: linear-gradient(150deg, #4ade80, #059669);
  box-shadow: 0 3px 8px rgba(5, 150, 105, 0.28);
}
.qr-vote-chip--down {
  background: linear-gradient(155deg, #fb7185, #e11d48);
  box-shadow: 0 3px 8px rgba(225, 29, 72, 0.26);
}
.qr-menu-product__vote-up,
.qr-menu-product__vote-down {
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
}
.qr-urun-vote__n {
  font-variant-numeric: tabular-nums;
  min-width: 1.1rem;
}
.qr-urun-vote.is-active {
  border-color: #0d9488;
  background: rgba(13, 148, 136, 0.12);
  color: #0f766e;
}
.qr-urun-detail__yorum-baslik {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--qm-muted);
  margin: 0 0 0.45rem;
}
.qr-urun-detail__yorum-list {
  max-height: 11rem;
  overflow-y: auto;
  margin-bottom: 0.85rem;
  padding-right: 0.15rem;
}
.qr-urun-yorum {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.qr-urun-yorum:last-child {
  border-bottom: none;
}
.qr-urun-yorum__meta {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--qm-muted);
  margin-bottom: 0.2rem;
}
.qr-urun-yorum__text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--qm-text);
}
.qr-urun-detail__yorum-empty {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: var(--qm-muted);
}
.qr-urun-detail__yorum-form {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.25rem;
}
.qr-urun-detail__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--qm-text);
}
.qr-urun-detail__opt {
  font-weight: 500;
  color: var(--qm-muted);
}
.qr-urun-detail__input,
.qr-urun-detail__textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  font-size: 0.85rem;
  font-family: inherit;
  background: #fff;
  color: var(--qm-text);
}
.qr-urun-detail__textarea {
  resize: vertical;
  min-height: 4rem;
}
.qr-urun-detail__submit {
  margin-top: 0.2rem;
  align-self: flex-start;
  padding: 0.45rem 1rem;
  border: none;
  border-radius: 999px;
  background: var(--qm-accent, #e11d48);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: inherit;
}
.qr-urun-detail__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.qr-urun-detail__msg {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
}
.qr-urun-detail__msg--ok {
  color: #0d9488;
}
.qr-urun-detail__msg--err {
  color: #be123c;
}
.qr-urun-detail__loading {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--qm-muted);
}
.qr-menu-product__placeholder {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border: none;
  border-radius: 12px;
  padding: 0;
  background: rgba(15, 23, 42, 0.06);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}
.qr-menu-product__placeholder-icon {
  font-size: 1.35rem;
  color: var(--qm-muted);
  line-height: 1;
}
.qr-menu-product__name-btn {
  display: block;
  width: 100%;
  margin: 0 0 0.2rem;
  padding: 0;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.qr-menu-product__name-btn .qr-menu-product__name {
  margin: 0;
}
.qr-menu-product__votes {
  margin: 0.35rem 0 0;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--qm-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}
.qr-menu-product__rating,
.qr-menu-car-card__rating {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  margin: 0.28rem 0 0.15rem;
}
.qr-menu-product__yorum-say,
.qr-menu-car-card__yorum-say {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--qm-muted);
  line-height: 1.2;
}
.qr-stars {
  display: inline-flex;
  gap: 0.02rem;
  line-height: 1;
}
.qr-stars--sm .qr-star {
  font-size: 0.74rem;
}
.qr-stars--md .qr-star {
  font-size: 1.05rem;
}
.qr-star {
  color: #d1d5db;
}
.qr-star.is-full {
  color: #f59e0b;
}
.qr-star.is-half {
  color: #fbbf24;
  opacity: 0.62;
}
.qr-menu-car-card.js-urun-detail-open {
  cursor: pointer;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.qr-menu-car-card.js-urun-detail-open:active {
  transform: scale(0.985);
}
.qr-urun-detail__stars-block {
  margin: 0.85rem 0 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.qr-stars-pick {
  display: flex;
  gap: 0.15rem;
  margin: 0.35rem 0 0.25rem;
}
.qr-star-pick {
  border: none;
  background: none;
  font-size: 1.75rem;
  line-height: 1;
  color: #d1d5db;
  cursor: pointer;
  padding: 0 0.06rem;
  font-family: inherit;
}
.qr-star-pick.is-active {
  color: #fbbf24;
}
.qr-star-pick.is-mine {
  color: #f59e0b;
  transform: scale(1.06);
}
.qr-star-pick:disabled {
  opacity: 0.45;
  cursor: wait;
}
.qr-urun-detail__stars-hint {
  margin: 0.2rem 0 0.15rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--qm-text);
  line-height: 1.35;
}
.qr-urun-detail__stars-meta {
  margin: 0.15rem 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--qm-muted);
}
.qr-urun-detail__stars-avg {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  margin-bottom: 0.35rem;
}
.qr-urun-detail__stars-avg-txt {
  font-size: 0.78rem;
  color: var(--qm-muted);
  font-weight: 600;
}

.qr-menu-ad-slot {
  margin: 0.85rem 0 1rem;
  padding: 0.6rem;
  border-radius: 12px;
  border: 1px dashed rgba(15, 23, 42, 0.18);
  background: rgba(255, 255, 255, 0.96);
}
.qr-menu-ad-slot iframe,
.qr-menu-ad-slot img {
  max-width: 100%;
}
.qr-menu-ad-popup {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}
.qr-menu-ad-popup.is-open {
  display: block;
}
.qr-menu-ad-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
}
.qr-menu-ad-popup__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 540px);
  max-height: 86vh;
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  padding: 1rem 0.85rem 0.85rem;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.34);
}
.qr-menu-ad-popup__close {
  position: absolute;
  right: 0.55rem;
  top: 0.45rem;
  border: none;
  background: rgba(241, 245, 249, 0.95);
  color: #0f172a;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.qr-menu-ad-popup__content {
  margin-top: 1.75rem;
}
