/* ==========================================================================
   Typography: Plus Jakarta Sans (Headings/Prices) + Inter (Body/Descriptions)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');
@import url('./ui-tokens.css');

:root {
  /* Dynamic colors will be overridden by inline styles */
  --color-primary: #004225;
  --color-primary-dark: #002d19;
  --color-primary-light: #005c33;
  --color-primary-soft: #e5ece9;
  --color-primary-softer: #f0f5f2;
  --color-background: #f8f9fa;
  --color-surface: #ffffff;
  --color-surface-elevated: #ffffff;
  --color-text: #1e293b;
  --color-text-secondary: #64748b;
  --color-border: #e2e8f0;
  --color-border-light: #f1f5f9;
  --color-success: #10b981;
  --color-danger: #ef4444;
  --color-warning: #f59e0b;
  --color-info: #06b6d4;
  --color-bg: #f8f9fa;
  --color-text-main: #1e293b;
  --color-text-muted: #64748b;
  
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-price: 'Plus Jakarta Sans', 'Inter', tabular-nums, system-ui, sans-serif;
  
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.07), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(0, 0, 0, 0.06), 0 2px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(0, 0, 0, 0.10), 0 4px 12px -2px rgba(0, 0, 0, 0.05);
  --shadow-sheet: 0 -8px 32px rgba(0, 0, 0, 0.14);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --nav-height: 68px;
  --header-height: 76px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --color-background: #0f172a;
  --color-bg: #0f172a;
  --color-surface: #1e293b;
  --color-surface-elevated: #243044;
  --color-text: #f8fafc;
  --color-text-main: #f8fafc;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #94a3b8;
  --color-border: #334155;
  --color-border-light: #1e293b;

  --color-primary-soft: rgba(0, 112, 74, 0.25);
  --color-primary-softer: rgba(0, 112, 74, 0.15);

  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.4), 0 1px 2px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px -2px rgba(0, 0, 0, 0.5), 0 2px 6px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 28px -4px rgba(0, 0, 0, 0.6), 0 4px 12px -2px rgba(0, 0, 0, 0.4);
  --shadow-sheet: 0 -8px 32px rgba(0, 0, 0, 0.6);
}

/* Typography Utility Classes */
.fw-light    { font-weight: 300 !important; }
.fw-regular  { font-weight: 400 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-bold     { font-weight: 700 !important; }
.fw-black    { font-weight: 900 !important; }

* {
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Erişilebilirlik: Hareket hassasiyeti */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Erişilebilirlik: Klavye kullanıcıları için focus halkası */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Focus ring'i fare/dokunmatik kullanıcılarında gizle */
:focus:not(:focus-visible) {
  outline: none;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.5;
  min-height: 100dvh;
  padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom, 20px) + 20px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

h1 { font-size: 1.75rem; font-weight: 900; }
h2 { font-size: 1.45rem; font-weight: 700; }
h3 { font-size: 1.2rem;  font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 600; }
h5 { font-size: 0.95rem; font-weight: 600; }
h6 { font-size: 0.85rem; font-weight: 600; }

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Layout */
.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: border-bottom-color 0.3s, box-shadow 0.3s;
}

.app-header.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.header-logo {
  height: 52px;
  max-width: 180px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.header-logo:hover {
  transform: scale(1.03);
}

.header-title {
  flex: 1;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  color: var(--color-text);
}

.header-action {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-text);
  transition: background-color 0.2s;
  flex-shrink: 0;
  box-sizing: border-box;
}

.header-action:hover {
  background-color: var(--color-primary-soft);
  color: var(--color-primary);
}

.header-lang-btn {
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.header-lang-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: -0.2px;
  border: 1.5px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  pointer-events: none;
}

.lang-option-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--color-border);
  background: var(--color-surface, #ffffff);
  text-decoration: none;
  color: var(--color-text-main);
  transition: all 0.2s ease;
}

.lang-option-card:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
}

.lang-option-card.active {
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
}

@media (max-width: 576px) {
  .header-title {
    font-size: 1rem;
  }
  .header-action {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }
  .header-lang-badge {
    font-size: 0.72rem;
    padding: 2px 6px;
  }
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--color-border);
  padding-bottom: env(safe-area-inset-bottom, 0);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.bottom-nav-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  height: var(--nav-height);
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  font-size: 0.75rem;
  font-weight: 500;
  transition: color 0.2s;
  gap: 4px;
  min-width: 0;
  text-align: center;
}

.nav-item span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  padding: 0 2px;
}

.nav-item svg {
  width: 24px;
  height: 24px;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.nav-item:active svg {
  transform: scale(0.9);
}

.nav-item.active {
  color: var(--color-primary);
}

.nav-item.whatsapp {
  color: var(--color-success);
}

@media (max-width: 400px) {
  .nav-item {
    font-size: 0.75rem;
    font-weight: 500;
    gap: 2px;
  }
  .nav-item svg {
    width: 21px;
    height: 21px;
  }
}

/* Hero Slider */
.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--color-surface);
}

@media (min-width: 768px) {
  .hero-slider {
    aspect-ratio: 1920 / 781;
    border-radius: 16px;
    margin-top: 1rem;
  }
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide-link {
  display: block;
  width: 100%;
  height: 100%;
}

.slide-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.dot.active {
  width: 22px;
  border-radius: 9999px;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* =====================================================
   Modern Campaign Slider & Gradient Cards
   ===================================================== */
.campaign-slider-section {
  position: relative;
}

.campaign-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  user-select: none;
}

.campaign-slider-track {
  position: relative;
  width: 100%;
  min-height: 190px;
}

.campaign-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(20px) scale(0.98);
  pointer-events: none;
  z-index: 1;
}

.campaign-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  pointer-events: auto;
  z-index: 2;
}

.campaign-card {
  position: relative;
  border-radius: 24px;
  padding: 22px 24px;
  color: #ffffff;
  overflow: hidden;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
}

.campaign-card:hover {
  transform: translateY(-2px);
}

.campaign-card-brand img,
.campaign-card-brand div {
  flex-shrink: 0;
}

.campaign-card-badge {
  flex-shrink: 0;
  white-space: nowrap;
}

.campaign-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.campaign-card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.campaign-card-cta {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.campaign-card-link:hover .campaign-card-cta {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
}

.campaign-watermark-wrapper {
  position: absolute;
  right: 12px;
  bottom: 8px;
  width: 84px;
  height: 84px;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  backdrop-filter: blur(4px);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.campaign-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
}

.campaign-slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.campaign-slider-dot.active {
  width: 22px;
  height: 7px;
  border-radius: 4px;
}

@media (max-width: 480px) {
  .campaign-card {
    padding: 18px 18px;
    border-radius: 20px;
    min-height: 180px;
  }
  .campaign-card-title {
    font-size: 1.2rem !important;
  }
  .campaign-card-desc {
    font-size: 0.84rem !important;
    max-width: 90% !important;
  }
  .campaign-card-cta {
    padding: 8px 16px !important;
    font-size: 0.82rem !important;
  }
  .campaign-watermark-wrapper {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    right: 8px;
    bottom: 6px;
  }
  .campaign-watermark-wrapper svg {
    width: 40px !important;
    height: 40px !important;
  }
}

/* =====================================================
   Modern Horizontally Scrollable Campaign Carousel (Uber Eats Style)
   ===================================================== */
.campaign-carousel-section {
  margin-bottom: 2rem;
  position: relative;
}

.campaign-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}

.campaign-carousel-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #111827;
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.campaign-carousel-view-all {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.campaign-carousel-view-all:hover {
  color: var(--color-primary, #e60067);
  opacity: 0.85;
}

.campaign-carousel-wrapper {
  position: relative;
  width: 100%;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1e293b;
  z-index: 10;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
}

.carousel-nav-btn:hover {
  background: #ffffff;
  color: var(--color-primary, #000);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.carousel-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-nav-prev {
  left: -12px;
}

.carousel-nav-next {
  right: -12px;
}

@media (max-width: 768px) {
  .carousel-nav-btn {
    display: none !important;
  }
}

.campaign-carousel-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  -webkit-overflow-scrolling: touch;
  padding-top: 4px;
  padding-bottom: 12px;
  cursor: grab;
}

.campaign-carousel-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.campaign-carousel-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.campaign-carousel-card {
  flex: 0 0 290px;
  width: 290px;
  aspect-ratio: 16 / 9;
  max-height: 180px;
  border-radius: var(--uber-radius-lg, 16px);
  overflow: hidden;
  scroll-snap-align: start;
  position: relative;
  text-decoration: none;
  background: var(--uber-gray-50, #f1f5f9);
  border: 1px solid var(--uber-gray-100, #eeeeee);
  box-shadow: var(--uber-shadow-card, 0 2px 8px rgba(0, 0, 0, 0.05));
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease;
  display: block;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.campaign-carousel-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--uber-shadow-md, 0 8px 20px rgba(0, 0, 0, 0.10));
}

.campaign-carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

/* Uber Eats Campaign Overlay */
.campaign-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.78) 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.campaign-card-badge {
  display: inline-flex;
  width: fit-content;
  background: var(--uber-green, #06c167);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.campaign-card-title {
  color: #ffffff;
  font-family: var(--uber-font-sans, var(--font-heading));
  font-size: 1rem;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.campaign-carousel-fallback {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px;
  text-align: left;
  color: #ffffff;
  position: relative;
}

.campaign-carousel-fallback .fallback-icon {
  font-size: 2rem;
  margin-bottom: 6px;
  opacity: 0.9;
}

.campaign-carousel-fallback .fallback-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

@media (max-width: 640px) {
  .campaign-carousel-title {
    font-size: 1.15rem;
    font-weight: 700;
  }
  .campaign-carousel-view-all {
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
  .campaign-carousel-card {
    flex: 0 0 78vw;
    width: 78vw;
    max-width: 290px;
    aspect-ratio: 16 / 9;
    border-radius: var(--uber-radius-md, 12px);
  }
  .campaign-carousel-img,
  .campaign-carousel-fallback {
    border-radius: var(--uber-radius-md, 12px);
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 99px;
  font-weight: 600;
  transition: background-color 0.2s, transform 0.1s;
}

.btn-primary:active {
  transform: scale(0.98);
}
.btn-primary:hover {
  background-color: var(--color-primary-dark);
}

/* Category Cards */
.category-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.category-card {
  display: flex;
  align-items: center;
  background: var(--color-surface);
  border-radius: 12px;
  padding: 0.75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: transparent;
  transition: background-color 0.2s;
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.category-card:hover::before {
  background-color: var(--color-primary);
}

.category-thumb {
  width: 68px;
  height: 68px;
  border-radius: 8px;
  object-fit: cover;
  background-color: var(--color-primary-soft);
}

.category-info {
  flex: 1;
  margin-left: 1rem;
}

.category-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  line-height: 1.25;
  color: var(--color-text);
}

.category-count {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.category-arrow {
  color: var(--color-border);
  margin-left: 0.5rem;
}

/* Product Cards */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.75rem;
}

.product-card {
  display: flex;
  background: var(--uber-white, #ffffff);
  border: 1px solid var(--uber-gray-100, #eeeeee);
  border-radius: var(--uber-radius-lg, 16px);
  padding: 0.95rem 1rem;
  box-shadow: var(--uber-shadow-card, 0 2px 8px rgba(0, 0, 0, 0.04));
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  user-select: none;
  min-width: 0;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--uber-shadow-md, 0 4px 14px rgba(0, 0, 0, 0.08));
  border-color: var(--uber-gray-300, #cccccc);
}

.product-card:active {
  transform: scale(0.985);
  box-shadow: var(--shadow-xs);
}

/* Tükendi (Out of Stock) - Uber Eats Benchmark */
.product-card--out-of-stock {
  opacity: 0.68;
  cursor: pointer;
  position: relative;
}
.product-card--out-of-stock .product-thumb {
  filter: grayscale(85%);
}
.product-card--out-of-stock .btn-quick-add,
.product-card--out-of-stock .card-inline-stepper {
  display: none !important;
}
.product-stock-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}
.badge-out-of-stock {
  background: rgba(18, 18, 18, 0.88);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.product-thumb-wrapper {
  position: relative;
  width: 96px;
  height: 96px;
  min-width: 96px;
  aspect-ratio: 1 / 1;
  border-radius: var(--uber-radius-md, 12px);
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--uber-gray-50, #f6f6f6);
}

.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.product-card:hover .product-thumb {
  transform: scale(1.06);
}

.product-info {
  flex: 1;
  margin-left: 0.95rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  word-break: break-word;
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.product-name {
  font-family: var(--uber-font-sans, var(--font-heading));
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1.35;
  color: var(--uber-dark, var(--color-text));
}

.product-desc {
  font-size: 0.875rem;
  color: var(--uber-gray-500, var(--color-text-secondary));
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.45rem;
  line-height: 1.4;
}

.product-footer {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}

.product-price {
  font-family: var(--uber-font-sans, var(--font-price));
  font-weight: 800;
  color: var(--uber-dark, var(--color-primary));
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.product-price.discounted {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.product-price.discounted .price-current {
  color: var(--uber-green, #06c167);
  font-weight: 800;
}
.product-price.discounted .original,
.product-price.discounted .price-original {
  text-decoration: line-through;
  color: var(--uber-gray-400, #9e9e9e);
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.85;
}

/* Badges - Uber Eats Style */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1.25;
}

.badge-discount,
.badge-uber-promo {
  background: var(--uber-green, #06c167) !important;
  color: #ffffff !important;
}

.badge-options {
  background: var(--uber-gray-100, #eeeeee);
  color: var(--uber-gray-700, #333333);
}

.badge-popular {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #ffedd5;
}

.badge-new {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #dbeafe;
}

.badge-recommended {
  background: #fdf2f8;
  color: #be185d;
  border: 1px solid #fce7f3;
}
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
}

.badge svg {
  flex-shrink: 0;
  stroke: currentColor;
}

.badge-popular {
  font-size: 0.75rem;
  font-weight: 600;
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-recommended {
  font-size: 0.75rem;
  font-weight: 600;
  background-color: #ede9fe;
  color: #5b21b6;
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.badge-new {
  font-size: 0.75rem;
  font-weight: 600;
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.badge-discount {
  font-size: 0.75rem;
  font-weight: 600;
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

/* Sticky Category Navigation Bar (Uber Eats Style) */
.sticky-category-bar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--uber-white, #ffffff);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--uber-gray-100, #eeeeee);
  padding: 0.65rem 0;
  margin-left: -1rem;
  margin-right: -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.category-pill-track {
  display: flex;
  overflow-x: auto;
  gap: 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  padding: 2px;
}

.category-pill-track::-webkit-scrollbar {
  display: none;
}

.category-pill {
  white-space: nowrap;
  min-height: 44px;
  height: 44px;
  padding: 0 1.15rem;
  border-radius: var(--uber-radius-pill, 9999px);
  background: var(--uber-gray-50, #f6f6f6);
  color: var(--uber-dark, #141414);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  box-sizing: border-box;
  user-select: none;
}

.category-pill:hover {
  background: var(--uber-gray-100, #eeeeee);
  color: var(--uber-black, #000000);
  transform: translateY(-1px);
}

.category-pill.active {
  background: var(--uber-black, #000000);
  color: #ffffff;
  border-color: var(--uber-black, #000000);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
}

.category-pill-count {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--uber-gray-200, #e2e2e2);
  color: var(--uber-gray-700, #333333);
  padding: 2px 7px;
  border-radius: 9999px;
  line-height: 1;
}

.category-pill.active .category-pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* All-in-One Menu Category Sections (Uber Eats Benchmark) */
.menu-category-section {
  scroll-margin-top: 75px;
  margin-bottom: 2rem;
}

.menu-category-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--color-border);
}

.menu-category-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text);
  margin: 0;
  letter-spacing: -0.01em;
}

.menu-category-count {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  font-weight: 600;
}

.menu-category-desc {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.85rem;
  line-height: 1.4;
}

/* Quick In-Menu Search Bar */
.menu-search-bar {
  margin-bottom: 0.85rem;
  position: relative;
}

.menu-search-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: 0.9rem;
  color: var(--color-text);
  outline: none;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.menu-search-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}

.menu-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-secondary);
  pointer-events: none;
}

/* Filter Bar (Subcategories) */
.filter-bar {
  display: flex;
  overflow-x: auto;
  gap: 0.45rem;
  padding: 0.5rem 0 0.75rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  white-space: nowrap;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  color: var(--color-text-secondary);
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--color-border);
  transition: all 0.2s ease;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.filter-pill.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  font-weight: 700;
}

/* Diet & Allergen Quick Filter Track (Madde 8 & 17) */
.diet-filter-bar {
  margin-bottom: 0.85rem;
  width: 100%;
}

.diet-filter-track {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 2px 6px 2px;
}

.diet-filter-track::-webkit-scrollbar {
  display: none;
}

.diet-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 38px;
  padding: 0.45rem 0.95rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-xs);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

.diet-pill:hover {
  background: var(--color-primary-softer);
  color: var(--color-primary);
  border-color: var(--color-primary-soft);
}

.diet-pill.active {
  background: var(--color-text);
  color: var(--color-surface);
  border-color: var(--color-text);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.diet-pill:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}


/* Product Modal (Bottom Sheet) */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-overlay.open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-background);
  border-radius: 24px 24px 0 0;
  z-index: 1001;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .bottom-sheet {
    max-width: 600px;
    margin: 0 auto;
  }
}

.bottom-sheet.open {
  transform: translateY(0);
}

.sheet-handle {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 12px 0;
  cursor: grab;
}

.sheet-handle::after {
  content: '';
  width: 40px;
  height: 4px;
  background: var(--color-border);
  border-radius: 4px;
}

.sheet-content {
  overflow-y: auto;
  padding-bottom: 2rem;
}

.sheet-hero-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #eee;
}

/* Product Detail Modal Customization (Full bleed Hero Image) */
.product-sheet {
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

.product-sheet .sheet-handle {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  padding: 0;
  z-index: 20;
  pointer-events: none;
  display: flex;
  justify-content: center;
}

.product-sheet .sheet-handle::after {
  content: '';
  width: 44px;
  height: 5px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 100px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.product-sheet .close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: rgba(255, 255, 255, 0.94);
  color: #141414;
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  z-index: 25;
  cursor: pointer;
  padding: 0;
  transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
}

.product-sheet .close-btn svg {
  stroke: #141414;
  stroke-width: 2.5;
}

.product-sheet .close-btn:hover {
  background: #ffffff;
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.product-sheet .close-btn:active {
  transform: scale(0.94);
}

.product-sheet .sheet-content {
  padding-top: 0;
  padding-bottom: 0;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  overscroll-behavior: contain;
}

.product-sheet .sheet-hero-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #141414;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}

.product-sheet .sheet-hero-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: 2;
}

.product-sheet .sheet-hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 40vh;
  object-fit: cover;
  display: block;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}

.product-sheet #modalLoader {
  margin: 4rem auto;
  min-height: 160px;
}

.sheet-body {
  padding: 1.5rem;
}

.sheet-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.sheet-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.sheet-desc {
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

.detail-section {
  background: var(--color-surface);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.detail-title {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 0.5rem;
}

/* Ürün Detay Metrik Kartları (Porsiyon & Kalori Yan Yana Tek Satır) */
.product-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.product-metric-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md, 14px);
  padding: 0.65rem 0.95rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-xs);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-metric-card:hover {
  box-shadow: var(--shadow-sm);
}

.product-metric-icon {
  font-size: 1.35rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-metric-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.product-metric-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.product-metric-value {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  margin-top: 1px;
}

/* İçindekiler Alanı */
.product-ingredients-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md, 14px);
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.85rem;
  box-shadow: var(--shadow-xs);
}

.product-ingredients-title {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.product-ingredients-text {
  font-size: 0.85rem;
  color: var(--color-text);
  line-height: 1.45;
}

/* Alerjenler (Hap Şeklinde Küçük Yan Yana) */
.product-allergens-section {
  background: #fef2f2;
  border: 1px solid #fee2e2;
  border-radius: var(--radius-md, 14px);
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.85rem;
}

.product-allergens-title {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #991b1b;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.allergen-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.allergen-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  color: #b91c1c;
  border: 1px solid #fca5a5;
  border-radius: var(--radius-full, 9999px);
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(185, 28, 28, 0.06);
  line-height: 1.3;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 10;
}

/* Info Page */
.info-card {
  background: var(--color-surface);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.info-card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-card-title svg {
  color: var(--color-primary);
}

.wifi-box {
  background: var(--color-primary-soft);
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.wifi-pass {
  font-family: monospace;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-row svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.social-btn svg {
  width: 22px;
  height: 22px;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.social-btn.social-instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #fff;
  border-color: transparent;
}

.social-btn.social-facebook:hover {
  background: #1877F2;
  color: #fff;
  border-color: #1877F2;
}

.social-btn.social-twitter:hover {
  background: #000000;
  color: #fff;
  border-color: #000000;
}

.social-btn.social-tiktok:hover {
  background: #000000;
  color: #fff;
  border-color: #000000;
}

/* Delivery Platform Grid */
.delivery-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.delivery-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.delivery-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.delivery-btn-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.delivery-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
}

.delivery-label {
  font-size: 0.95rem;
  font-weight: 600;
  display: block;
}

.delivery-subtext {
  font-size: 0.75rem;
  font-weight: normal;
  color: var(--color-text-muted);
  display: block;
}

.delivery-arrow {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  transition: transform 0.2s ease;
}

.delivery-btn:hover .delivery-arrow {
  transform: translateX(4px);
  color: var(--color-primary);
}

.delivery-yemeksepeti:hover {
  border-color: #ea004b;
}

.delivery-getiryemek:hover {
  border-color: #5d3ebc;
}

.delivery-ubereats:hover {
  border-color: #06c167;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: calc(var(--nav-height) + 20px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: #333;
  color: #fff;
  padding: 12px 24px;
  border-radius: 99px;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  animation: toastIn 0.3s forwards, toastOut 0.3s forwards 2.7s;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(20px); }
}

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }

/* Loader */
.loader {
  border: 3px solid var(--color-primary-soft);
  border-top: 3px solid var(--color-primary);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 2rem auto;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Skeleton Screen Animation (Uber Eats Style Shimmer) */
.skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.4s ease-in-out infinite;
  border-radius: var(--radius-sm, 8px);
}
@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-hero {
  width: 100%;
  height: 180px;
  border-radius: 16px;
  margin-bottom: 1rem;
}
.skeleton-line {
  height: 14px;
  border-radius: 6px;
  margin-bottom: 0.6rem;
}
.skeleton-line--title {
  height: 22px;
  width: 65%;
  margin-bottom: 0.85rem;
}
.skeleton-line--price {
  height: 18px;
  width: 30%;
  margin-bottom: 1rem;
}
.skeleton-line--short {
  width: 45%;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-text-secondary);
}
.empty-state svg {
  width: 48px;
  height: 48px;
  color: var(--color-border);
  margin-bottom: 1rem;
}

/* Search input */
.search-input-wrapper {
  position: relative;
  margin: 1rem 0;
}
.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  font-size: 1rem;
  background: var(--color-surface);
  outline: none;
  transition: border-color 0.2s;
}
.search-input:focus {
  border-color: var(--color-primary);
}
.search-icon-inside {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-secondary);
}

/* Arama Temizle Butonu */
.search-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: #e2e8f0;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s;
}
.search-clear-btn:hover {
  background: #cbd5e1;
  color: #334155;
}

/* Son Aramalar */
.recent-searches-box {
  margin-bottom: 1rem;
}
.recent-searches-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.recent-searches-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
}
.recent-searches-clear {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}
.recent-searches-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.recent-search-chip {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.8rem;
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.2s;
}
.recent-search-chip:hover {
  background: var(--color-primary-soft);
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

/* ==========================================================================
   FAZ 4B — MOBİL SEPET & MASA SİPARİŞ ARAYÜZÜ (MODERN UI/UX)
   ========================================================================== */

/* Hızlı Ekle Butonu (Ürün Kartı - Uber Eats Style) */
.btn-quick-add {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: var(--uber-black, #000000);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.btn-quick-add:hover {
  transform: scale(1.08);
  background: var(--uber-charcoal, #1f1f1f);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.btn-quick-add:active {
  transform: scale(0.92);
}

.btn-quick-add.added {
  background: var(--uber-green, #06c167) !important;
  animation: quickAddPulse 0.4s ease-out;
}

@keyframes quickAddPulse {
  0% { transform: scale(0.85); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Card Inline Stepper (Uber Eats Benchmark) */
.product-action-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.card-inline-stepper {
  display: inline-flex;
  align-items: center;
  background: var(--uber-black, #000000);
  border-radius: var(--uber-radius-pill, 9999px);
  padding: 2px 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  gap: 6px;
  animation: stepperPopIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 44px;
  height: 44px;
}

@keyframes stepperPopIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.stepper-btn {
  background: rgba(255, 255, 255, 0.18);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.stepper-btn:hover {
  background: rgba(255, 255, 255, 0.32);
}

.stepper-btn:active {
  transform: scale(0.90);
}

.stepper-count {
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  min-width: 20px;
  text-align: center;
  user-select: none;
}

/* Yüzen Alt Sepet Çubuğu (Floating Cart Bar) */
/* Yüzen Alt Sepet Çubuğu (Floating Cart Bar - Uber Eats Style) */
.floating-cart-bar {
  position: fixed;
  bottom: calc(var(--nav-height, 64px) + env(safe-area-inset-bottom, 0px) + 12px);
  left: 1rem;
  right: 1rem;
  max-width: 500px;
  margin: 0 auto;
  background: var(--uber-black, #000000);
  color: #ffffff;
  padding: 0.65rem 1.15rem;
  min-height: 52px;
  border-radius: var(--uber-radius-pill, 9999px);
  box-shadow: var(--uber-shadow-float, 0 8px 28px rgba(0, 0, 0, 0.28));
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 95;
  animation: slide-up-bar 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.floating-cart-bar:active {
  transform: scale(0.985);
}

@keyframes slide-up-bar {
  from { transform: translateY(120px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.cart-bar-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-bar-badge {
  background: var(--uber-green, #06c167);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.875rem;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-bar-badge.bounce {
  animation: cartBadgeBounce 0.4s ease;
}

@keyframes cartBadgeBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.cart-bar-text {
  display: flex;
  flex-direction: column;
}

.cart-bar-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cart-bar-price {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
  font-family: var(--uber-font-sans, var(--font-price));
}

.btn-cart-view {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  padding: 0.5rem 1rem;
  min-height: 40px;
  border-radius: var(--uber-radius-pill, 9999px);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  user-select: none;
}

.btn-cart-view:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}

.btn-cart-view:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: translateX(2px);
}

/* Sepet Çekmecesi (Cart Sheet) */
.cart-sheet {
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  border-radius: 28px 28px 0 0;
  box-shadow: var(--shadow-sheet);
}

.sheet-header-custom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 1.5rem 0.85rem 1.5rem;
  border-bottom: 1px solid var(--color-border-light);
}

.cart-table-badge {
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.cart-sheet-content {
  overflow-y: auto;
  padding: 1.25rem 1.5rem 2rem 1.5rem;
  flex: 1;
}

/* Cart Threshold Progress Bar (Uber Eats Benchmark) */
.cart-threshold-progress {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 0.85rem;
}

.cart-threshold-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}

.cart-threshold-track {
  height: 6px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.cart-threshold-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary) 0%, #10b981 100%);
  border-radius: 999px;
  transition: width 0.3s ease;
}

/* Sepet Kampanya & Promosyon Teşvik Kutusu */
.cart-campaign-promo-notice {
  margin-bottom: 0.85rem;
}

.cart-promo-badge-incentive {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 10px 14px;
  border-radius: var(--radius-md, 12px);
  animation: fadeIn 0.3s ease;
}

.cart-promo-badge-incentive .promo-badge-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.cart-promo-badge-incentive .promo-badge-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-promo-badge-incentive .promo-badge-content strong {
  font-size: 0.82rem;
  color: #92400e;
  font-weight: 700;
}

.cart-promo-badge-incentive .promo-badge-content small {
  font-size: 0.76rem;
  color: #b45309;
}

.cart-promo-badge-success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  border-left: 4px solid #16a34a;
  padding: 10px 14px;
  border-radius: var(--radius-md, 12px);
  animation: fadeIn 0.3s ease;
}

.cart-promo-badge-success .promo-badge-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.cart-promo-badge-success .promo-badge-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-promo-badge-success .promo-badge-content strong {
  font-size: 0.82rem;
  color: #166534;
  font-weight: 700;
}

.cart-promo-badge-success .promo-badge-content small {
  font-size: 0.76rem;
  color: #15803d;
}

/* Cart Upsell Carousel */
.cart-upsell-section {
  margin: 1.25rem 0;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--color-border);
}

.cart-upsell-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 0.65rem;
}

.cart-upsell-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.cart-upsell-track::-webkit-scrollbar {
  display: none;
}

.cart-upsell-card {
  flex: 0 0 150px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s ease;
}

.cart-upsell-thumb {
  width: 100%;
  height: 75px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
}

.cart-upsell-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.25;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-upsell-price {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--color-primary);
}

.btn-upsell-add {
  margin-top: 6px;
  width: 100%;
  padding: 5px 8px;
  border-radius: var(--radius-full);
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  border: 1px solid var(--color-primary-light);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.btn-upsell-add:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Sipariş Kanalı Seçici (Order Channel Selector) */
.order-type-selector {
  margin-bottom: 1.15rem;
}

.order-type-pills {
  display: flex;
  background: var(--color-surface-soft, #f1f5f9);
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
}

.order-type-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-secondary, #64748b);
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
}

.order-type-btn:hover {
  color: var(--color-text);
}

.order-type-btn.active {
  background: #ffffff;
  color: var(--color-primary-dark, #0f172a);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.dine-in-warning-box {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: #b45309;
}

.dine-in-warning-box .warning-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  line-height: 1;
}

.dine-in-warning-box strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
  color: #92400e;
}

.dine-in-warning-box p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #78350f;
}

/* Sepet Kalemleri */
.cart-items-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.85rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  gap: 0.75rem;
}

.cart-item-thumb {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm, 8px);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--color-border-light);
  background: var(--color-bg);
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-text);
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-notes {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  background: var(--color-primary-softer);
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 2px;
}

.cart-item-price {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-primary);
  font-family: var(--font-price);
  margin-top: 0.2rem;
}

/* Miktar Kontrolleri (Stepper) */
.modal-qty-stepper,
.cart-qty-stepper {
  display: inline-flex;
  align-items: center;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 3px 4px;
  gap: 4px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.modal-qty-stepper {
  height: 46px;
  background: var(--color-surface);
  border-color: var(--color-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-qty-step {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border-radius: var(--radius-full);
  border: none;
  background: var(--color-background);
  color: var(--color-text);
  font-weight: 800;
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xs);
  transition: transform 0.1s ease, background-color 0.15s ease;
  line-height: 1;
  padding: 0;
  box-sizing: border-box;
}

.btn-qty-step:hover {
  background: var(--color-border-light);
}

.btn-qty-step:active {
  transform: scale(0.9);
}

.modal-qty-val,
.cart-qty-val {
  font-weight: 800;
  font-size: 1rem;
  min-width: 24px;
  text-align: center;
  font-family: var(--font-price);
  color: var(--color-text);
}

/* Bahşiş Çipleri (Tip Chips) */
.tip-chips-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 6px 0 12px 0;
}

.tip-chip {
  padding: 8px 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.tip-chip:hover {
  border-color: var(--color-primary);
}

.tip-chip.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Form alanları */
.form-label-sm {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-secondary);
  margin-bottom: 0.35rem;
  display: block;
}

.form-control-sm {
  width: 100%;
  padding: 0.6rem 0.85rem;
  font-size: 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.form-control-sm:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}

/* iOS Form Input Auto-Zoom Prevention (minimum 16px font-size on mobile viewports) */
@media screen and (max-width: 768px) {
  .menu-search-input,
  .form-control-sm,
  .product-note-textarea,
  .tracker-feedback-input,
  .search-input,
  input.form-control-sm,
  textarea.form-control-sm {
    font-size: 16px !important;
  }
}

/* Sepet Özeti ve Buton */
.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 0.85rem 0;
  border-top: 1px dashed var(--color-border);
  margin-top: 0.85rem;
}

.cart-total-amount {
  color: var(--color-primary);
  font-size: 1.35rem;
  font-weight: 900;
  font-family: var(--font-price);
}

/* Sepet Sipariş Onay Butonu */
.btn-submit-order {
  width: 100%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 1.02rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: opacity 0.15s, transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.15s;
}

.btn-submit-order:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
}

.btn-submit-order:active {
  transform: scale(0.98);
}

.btn-submit-order:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ==========================================================================
   Uber Eats Product Modal Controls & Option Groups
   ========================================================================== */
.modal-controls-divider {
  border: none;
  border-top: 1px solid var(--uber-gray-100, #eeeeee);
  margin: 1.25rem 0;
}

.modal-option-groups-container {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.modal-option-group {
  background: var(--uber-gray-50, #f6f6f6) !important;
  padding: 1rem 1.15rem !important;
  border-radius: var(--uber-radius-md, 12px) !important;
  border: 1px solid var(--uber-gray-100, #eeeeee) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.modal-option-group label {
  min-height: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9375rem;
  cursor: pointer;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  user-select: none;
  transition: color 0.15s ease;
}

.modal-option-group label:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.modal-option-group input[type="radio"],
.modal-option-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--uber-black, #000000);
  cursor: pointer;
  flex-shrink: 0;
}

.grp-req-badge {
  color: var(--uber-green, #06c167) !important;
  background: var(--uber-green-soft, #ebfbf2);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.72rem !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Modal Özel İstek / Not Alanı (iOS 16px Koruma) */
.uber-textarea,
#modalProductNotes {
  font-size: 16px !important;
  border-radius: var(--uber-radius-md, 12px);
  border: 1px solid var(--uber-gray-200, #e2e2e2);
  padding: 10px 14px;
  background: var(--uber-white, #ffffff);
  color: var(--uber-dark, #141414);
  line-height: 1.4;
  resize: vertical;
}

/* Modal Miktar Stepper (Uber Eats Style) */
.modal-qty-stepper {
  display: inline-flex;
  align-items: center;
  background: var(--uber-gray-50, #f6f6f6);
  border: 1px solid var(--uber-gray-200, #e2e2e2);
  border-radius: var(--uber-radius-pill, 9999px);
  padding: 3px;
  height: 48px;
  min-height: 48px;
  flex-shrink: 0;
}

.btn-qty-step {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border-radius: 50%;
  border: none;
  background: transparent;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--uber-dark, #141414);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  user-select: none;
}

.btn-qty-step:hover {
  background: var(--uber-gray-200, #e2e2e2);
}

.btn-qty-step:active {
  transform: scale(0.92);
}

.modal-qty-val {
  min-width: 32px;
  text-align: center;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--uber-dark, #141414);
  font-family: var(--uber-font-sans, var(--font-price));
}

/* Modal Sepete Ekle Butonu (Uber Eats Style) */
.btn-modal-add-cart {
  flex: 1;
  min-width: 0;
  height: 48px;
  min-height: 48px;
  background: var(--uber-black, #000000);
  color: #ffffff;
  border: none;
  padding: 0 1.25rem;
  border-radius: var(--uber-radius-pill, 9999px);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.20);
  transition: opacity 0.15s, transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.15s, background-color 0.18s;
  box-sizing: border-box;
}

.btn-modal-add-cart:hover {
  background: var(--uber-charcoal, #1f1f1f);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
}

.btn-modal-add-cart:active {
  transform: scale(0.98);
}

.btn-modal-add-cart:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#modalAddPriceText {
  font-family: var(--uber-font-sans, var(--font-price));
  font-weight: 800;
  font-size: 1rem;
  white-space: nowrap;
}

/* Ürün Modalı Sticky Alt Eylem Çubuğu (Uber Eats Style) */
.modal-sticky-footer {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--uber-white, #ffffff);
  border-top: 1px solid var(--uber-gray-100, #eeeeee);
  padding: 0.85rem 1.25rem;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  margin-bottom: -1.5rem;
  margin-top: 1.25rem;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
}

/* ==========================================================================
   Product Detail Standalone Page (product.php - Madde 9 & 18)
   ========================================================================== */
.product-detail-page {
  max-width: 640px;
  margin: 0 auto;
  padding-bottom: 120px;
}

.product-detail-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg, 20px);
  box-shadow: var(--shadow-md);
  margin-bottom: 1.25rem;
  background: var(--color-surface);
}

.product-detail-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

.product-campaign-callout {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(239, 68, 68, 0.04) 100%);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-md, 14px);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-campaign-callout-content {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.product-campaign-title {
  color: var(--color-danger);
  font-size: 0.88rem;
  font-weight: 700;
  display: block;
}

.product-campaign-subtitle {
  color: var(--color-text-secondary);
  font-size: 0.78rem;
}

.product-campaign-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-danger);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.product-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.product-detail-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-text);
  margin: 0;
  line-height: 1.25;
}

.product-detail-pricing {
  text-align: right;
  white-space: nowrap;
}

.product-detail-price {
  font-family: var(--font-price);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
}

.product-detail-price-original {
  font-family: var(--font-price);
  font-size: 0.88rem;
  text-decoration: line-through;
  color: var(--color-text-secondary);
}

.product-detail-badges {
  margin-bottom: 1rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.product-detail-desc {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* Option Groups on Standalone Page */
.product-options-container {
  margin-bottom: 1.5rem;
}

.product-options-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.45rem;
}

.option-group-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md, 14px);
  padding: 1rem;
  margin-bottom: 0.875rem;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s ease;
}

.option-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.option-group-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  color: var(--color-text);
}

.option-group-badge-req {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-danger);
  background: rgba(239, 68, 68, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.option-group-badge-opt {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

.option-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.option-item-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm, 8px);
  border: 1px solid var(--color-border-light);
  background: var(--color-background);
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.option-item-label:hover {
  border-color: var(--color-primary-soft);
  background: var(--color-primary-softer);
}

.option-item-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.product-opt-input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--color-primary);
}

.option-item-name {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text);
}

.option-item-price {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-secondary);
}

.option-item-price--extra {
  color: var(--color-primary);
}

/* Custom Note */
.product-note-section {
  margin-bottom: 1.5rem;
}

.product-note-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.product-note-textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm, 10px);
  padding: 0.6rem 0.85rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: var(--color-surface);
  color: var(--color-text);
  resize: vertical;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.product-note-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-softer);
}

/* Back navigation buttons */
.product-detail-footer-nav {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.btn-detail-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-sm, 10px);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.btn-detail-nav:hover {
  background: var(--color-primary-softer);
  color: var(--color-primary);
  border-color: var(--color-primary-soft);
}

/* Directional Icon RTL Mirroring (Madde 15) */
.icon-back-dir,
.icon-forward-dir {
  transition: transform 0.2s ease;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

[dir="rtl"] .icon-back-dir,
[dir="rtl"] .icon-forward-dir {
  transform: scaleX(-1);
}

/* Müstakil Ürün Sayfası (product.php) Sticky Alt Bar */
.product-page-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--color-surface, #ffffff);
  border-top: 1px solid var(--color-border);
  padding: 0.85rem 1rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  padding-bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
}

.product-page-actions-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Sipariş Başarı Modalı */
.order-success-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 400px;
  background: var(--color-surface);
  border-radius: 24px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  z-index: 1100;
  animation: pop-modal 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes pop-modal {
  from { transform: translate(-50%, -40%) scale(0.85); opacity: 0; }
  to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
.order-success-icon {
  font-size: 3.5rem;
  margin-bottom: 0.75rem;
}
.order-success-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.order-success-desc {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
  margin-bottom: 1.25rem;
}
.order-success-box {
  background: var(--color-primary-soft);
  border: 1px dashed var(--color-primary);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.order-code-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: 0.06em;
}
.order-code-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin: 0.25rem 0;
}
.order-total-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
}
.btn-success-close {
  width: 100%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 0.75rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================================================
   FAZ 4C — MÜŞTERİ CANLI SİPARİŞ TAKİP ARAYÜZÜ (LIVE ORDER TRACKER)
   ========================================================================== */

/* ==========================================================================
   CANLI SİPARİŞ TAKİP SİSTEMİ (MODERN FLOATING WIDGET & DETAYLI DİALOG)
   ========================================================================== */

/* 1. Yüzen Takip Butonu / Widget (Non-Intrusive Floating Capsule) */
.live-order-tracker-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 390px;
  width: calc(100% - 48px);
  margin: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50px;
  padding: 8px 14px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 950;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  animation: slide-up-tracker 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.live-order-tracker-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  border-color: var(--color-primary-soft);
}

@keyframes slide-up-tracker {
  from { transform: translateY(40px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

@media (max-width: 767px) {
  .live-order-tracker-banner {
    bottom: calc(var(--nav-height) + env(safe-area-inset-bottom, 0px) + 10px);
    left: 14px;
    right: 14px;
    width: auto;
    max-width: none;
    padding: 7px 12px;
    z-index: 94;
    transition: bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  /* Sepet barı açıkken tracker banner'ı onun üstüne taşı */
  body.has-cart-bar .live-order-tracker-banner {
    bottom: calc(var(--nav-height) + 68px + env(safe-area-inset-bottom, 0px) + 10px);
  }
}

.tracker-banner-icon-box {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tracker-banner-icon {
  font-size: 1.25rem;
  line-height: 1;
  position: relative;
  z-index: 2;
}

.tracker-banner-pulse-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  opacity: 0.7;
  animation: banner-pulse 1.8s infinite ease-out;
  z-index: 1;
}

@keyframes banner-pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.live-order-tracker-banner.ready-pulse .tracker-banner-pulse-ring {
  border-color: #10b981;
}

.live-order-tracker-banner.ready-pulse {
  border-color: #10b981;
  background: rgba(240, 253, 244, 0.98);
}

.tracker-banner-text {
  flex: 1;
  min-width: 0;
}

.tracker-banner-status {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--color-text);
  margin-bottom: 0.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tracker-banner-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-tracker-open {
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.45rem 0.9rem;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-tracker-open:hover {
  background: var(--color-primary-dark);
  transform: scale(1.03);
}

/* 2. Takip Modalı / Dialog Container */
.tracker-sheet {
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.28);
}

/* Desktop Ortalanmış Modal Düzeni */
@media (min-width: 768px) {
  .tracker-sheet {
    position: fixed;
    top: 50%;
    left: 50%;
    bottom: auto;
    right: auto;
    transform: translate(-50%, -46%) scale(0.96);
    width: 90%;
    max-width: 540px;
    max-height: 88vh;
    border-radius: 24px;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    z-index: 1001;
  }

  .tracker-sheet.open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .tracker-sheet .sheet-handle {
    display: none;
  }
}

/* Modal Başlık Çubuğu */
.tracker-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.25rem 0.9rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
  gap: 0.5rem;
}

.tracker-header-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.tracker-icon-badge {
  width: 38px;
  height: 38px;
  background: var(--color-primary-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.tracker-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tracker-meta-sub {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tracker-header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.tracker-channel-pill {
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 0.76rem;
  padding: 0.35rem 0.7rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  white-space: nowrap;
}

.tracker-close-btn {
  background: #f1f5f9;
  border: none;
  color: #64748b;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
}

.tracker-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.tracker-sheet-content {
  padding: 1.15rem 1.25rem 2rem 1.25rem;
  overflow-y: auto;
  max-height: calc(88vh - 75px);
}

@media (max-width: 576px) {
  .tracker-sheet-content {
    padding: 1rem 1rem 2.25rem 1rem;
    max-height: calc(90vh - 70px);
  }
}

/* 3. Modern 4 Adımlı Görsel İlerleme Çubuğu (Stepper) */
.order-stepper {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0.75rem 0 1.5rem 0;
  padding: 0 0.5rem;
}

.stepper-track-bg {
  position: absolute;
  top: 20px;
  left: 36px;
  right: 36px;
  height: 4px;
  background: #e2e8f0;
  border-radius: 4px;
  z-index: 1;
}

.stepper-track-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary) 0%, #10b981 100%);
  border-radius: 4px;
  transition: width 0.4s ease;
}

.stepper-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 72px;
  text-align: center;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #64748b;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 0.4rem;
  line-height: 1.25;
  transition: color 0.3s;
}

.stepper-step.completed .step-circle {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
}

.stepper-step.completed .step-label {
  color: var(--color-text);
  font-weight: 700;
}

.stepper-step.active .step-circle {
  background: #ffffff;
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: scale(1.15);
  box-shadow: 0 0 0 4px var(--color-primary-soft), 0 4px 12px rgba(0, 0, 0, 0.12);
}

.stepper-step.active .step-label {
  color: var(--color-primary);
  font-weight: 800;
}

/* 4. Anlık Durum Vurgu Kartı (Status Hero) */
.tracker-status-hero {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.status-hero-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.status-hero-body {
  flex: 1;
  min-width: 0;
}

.status-hero-title {
  margin: 0 0 0.2rem 0;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--color-text);
}

.status-hero-desc {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  line-height: 1.35;
}

/* 5. Sipariş Kalemleri Kartları & Tablo */
.tracker-items-box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.15rem;
  margin-bottom: 1.25rem;
}

.tracker-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.tracker-box-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.tracker-items-count {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  padding: 2px 8px;
  border-radius: 12px;
}

.tracker-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tracker-item-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
  gap: 0.75rem;
}

.tracker-item-info {
  flex: 1;
  min-width: 0;
}

.tracker-item-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}

.tracker-qty-badge {
  display: inline-block;
  font-weight: 800;
  color: var(--color-primary);
  margin-right: 4px;
}

.tracker-item-notes {
  font-size: 0.76rem;
  color: #64748b;
  margin-top: 3px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.tracker-opt-tag {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
}

.tracker-item-price {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-primary);
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}

/* Finansal Özet Tablosu */
.tracker-summary-table {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.tracker-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: #64748b;
  font-weight: 600;
}

.tracker-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text);
  padding-top: 0.5rem;
  margin-top: 0.35rem;
  border-top: 1px solid var(--color-border);
}

.tracker-total-price {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--color-primary);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* 6. Hızlı Garson & Masa Talepleri Butonları */
.tracker-waiter-actions {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.15rem;
  margin-bottom: 1.25rem;
}

.tracker-action-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.btn-tracker-call {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.7rem 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--color-text);
  min-width: 0;
  overflow: hidden;
}

.btn-tracker-call:hover {
  background: #ffffff;
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.btn-tracker-call:active {
  transform: scale(0.96);
}

.call-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.call-text {
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  text-align: center;
  line-height: 1.2;
}

.tracker-call-toast {
  margin-top: 0.65rem;
  padding: 0.6rem 0.85rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  animation: fade-in 0.25s;
}

/* 7. Değerlendirme & Feedback */
.tracker-feedback-box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.15rem;
  margin-bottom: 1.25rem;
}

.tracker-feedback-sub {
  margin: 0.25rem 0 0.75rem 0;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

.star-rating-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.star-btn {
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  transition: transform 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.star-icon {
  width: 32px;
  height: 32px;
  fill: #e2e8f0;
  stroke: #cbd5e1;
  stroke-width: 1.5;
  stroke-linejoin: round;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.star-btn.active .star-icon {
  fill: #f59e0b;
  stroke: #d97706;
  filter: drop-shadow(0 2px 6px rgba(245, 158, 11, 0.4));
}

.star-btn:hover .star-icon {
  transform: scale(1.18);
}

.tracker-feedback-input {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  font-size: 0.95rem;
  color: var(--color-text);
  background: #f8fafc;
  resize: vertical;
  margin-bottom: 0.65rem;
  box-sizing: border-box;
}

.tracker-feedback-input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #ffffff;
}

.btn-submit-feedback {
  width: 100%;
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  padding: 0.75rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-submit-feedback:hover {
  background: var(--color-primary-dark);
}

.feedback-success-msg {
  padding: 0.65rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  margin-top: 0.5rem;
}

.btn-tracker-dismiss {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  padding: 0.75rem;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-tracker-dismiss:hover {
  background: #f1f5f9;
  color: #0f172a;
}

/* ==========================================================================
   FAZ 4D — BAHŞİŞ (TIP), DEĞERLENDİRME & GARSON ÇAĞRI ARAYÜZÜ
   ========================================================================== */

/* Bahşiş (Tip) Hapları */
.cart-tip-section {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--color-border);
}
.tip-chips-group {
  display: flex;
  gap: 0.5rem;
}
.tip-chip {
  flex: 1;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 0.45rem 0.25rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.tip-chip.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

/* ═══ Paylaşımlı Hesap Modalı (Shared Bill Modal) ═══ */
.sb-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 99999;
  align-items: flex-end;
  justify-content: center;
}

.sb-modal-sheet {
  background: #fff;
  width: 100%;
  max-width: 540px;
  max-height: 85vh;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.2);
  animation: slideUpSheet 0.3s ease-out;
}

@keyframes slideUpSheet {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.sb-modal-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
}

.sb-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sb-header-icon {
  font-size: 1.4rem;
}

.sb-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
}

.sb-subtitle {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

.sb-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sb-btn-icon {
  background: #e2e8f0;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.sb-btn-icon:hover {
  background: #cbd5e1;
}

.sb-btn-close {
  background: #f1f5f9;
  font-size: 1rem;
  color: #64748b;
  font-weight: bold;
}

.sb-lock-banner {
  display: none;
  background: #fef3c7;
  border-bottom: 1px solid #fde68a;
  padding: 8px 1.25rem;
  font-size: 0.8rem;
  color: #92400e;
  font-weight: 600;
}

.sb-balance-row {
  padding: 1rem 1.25rem 0.5rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 8px;
}

.sb-balance-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.75rem;
}

.sb-balance-card--primary {
  background: var(--color-primary-soft);
  border-color: var(--color-primary-light);
}

.sb-balance-label {
  font-size: 0.72rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
}

.sb-balance-card--primary .sb-balance-label {
  color: var(--color-primary-dark);
}

.sb-balance-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: #334155;
  margin-top: 2px;
}

.sb-balance-value--primary {
  font-size: 1.35rem;
  color: var(--color-primary);
}

.sb-tabs {
  display: flex;
  gap: 8px;
  padding: 0.5rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
}

.bill-view-tab {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  background: transparent;
  color: #64748b;
  transition: all 0.2s ease;
}

.bill-view-tab.active {
  background: var(--color-primary);
  color: #fff;
}

.sb-modal-body {
  padding: 1rem 1.25rem;
  overflow-y: auto;
  flex: 1;
}

.sb-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sb-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
}

.sb-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sb-qty-badge {
  background: var(--color-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sb-item-name {
  font-size: 0.9rem;
  color: #1e293b;
}

.sb-item-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
}

.sb-order-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
}

.sb-order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 4px;
}

.sb-customer-name {
  font-size: 0.88rem;
  color: #1e293b;
}

.sb-order-time {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-left: 4px;
}

.sb-status-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0284c7;
  background: #e0f2fe;
  padding: 2px 6px;
  border-radius: 4px;
}

.sb-order-detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #475569;
  padding: 3px 0;
}

.sb-item-notes {
  color: #94a3b8;
}

.sb-order-total {
  text-align: right;
  margin-top: 6px;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--color-primary);
}

.sb-modal-footer {
  padding: 0.875rem 1.25rem;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sb-footer-info {
  font-size: 0.75rem;
  color: #64748b;
}

.sb-btn-close-footer {
  padding: 8px 16px;
  border-radius: 8px;
  background: #334155;
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.sb-btn-close-footer:hover {
  background: #1e293b;
}

.sb-empty-state {
  text-align: center;
  padding: 2rem 0;
  color: #94a3b8;
}

.sb-empty-state.sb-error {
  color: #ef4444;
}

/* ═══ Garson Çağırma Modalı (Waiter Modal) ═══ */
.waiter-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.waiter-modal-card {
  background: white;
  border-radius: 20px;
  max-width: 380px;
  width: 100%;
  padding: 24px;
  text-align: center;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
  animation: popIn 0.25s ease;
}

@keyframes popIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.waiter-modal-icon {
  width: 54px;
  height: 54px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.waiter-modal-title {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.waiter-modal-subtitle {
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.waiter-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.waiter-modal-actions .btn-primary,
.waiter-modal-actions .btn-secondary {
  padding: 12px;
  font-size: 0.95rem;
  justify-content: center;
}

.waiter-modal-actions .btn-secondary {
  border: 1px solid var(--color-border);
}

.waiter-modal-cancel {
  background: none;
  border: none;
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 6px;
}

/* ═══ Masa Bilgi Çubuğu (Table Badge Bar - Header) ═══ */
.table-badge-bar {
  background: var(--color-primary-soft);
  border-bottom: 1px solid var(--color-primary-softer);
  padding: 8px 16px;
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-primary-dark);
  font-weight: 600;
}

.table-badge-bar .btn-waiter-quick {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  min-height: 32px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.table-badge-bar .btn-waiter-quick:hover {
  background: var(--color-primary-dark);
  transform: scale(1.02);
}

.table-badge-bar .btn-waiter-quick:active {
  transform: scale(0.96);
}

.table-badge-bar .btn-bill-quick {
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  border: 1px solid var(--color-primary-light);
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 0.95rem;
  min-height: 32px;
  min-width: 34px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  transition: all 0.2s ease;
}

.table-badge-bar .btn-bill-quick:hover {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.05);
}

.table-badge-bar .btn-bill-quick:active {
  transform: scale(0.96);
}

/* ═══ Floating Table Dock (Uber Eats / Modern QR Benchmark) ═══ */
/* ═══ Floating Table Dock & Unified Floating Stack (Uber Eats Benchmark) ═══ */
.table-dock-floating {
  position: fixed;
  bottom: calc(var(--nav-height) + env(safe-area-inset-bottom, 0px) + 12px);
  right: 1rem;
  z-index: 96;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transition: bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Sepet veya Canlı Takip açıkken masa butonunu yukarı kaydır (Çakışma Önleyici) */
body.has-cart-bar .table-dock-floating {
  bottom: calc(var(--nav-height) + 68px + env(safe-area-inset-bottom, 0px) + 12px);
}
body.has-live-tracker .table-dock-floating {
  bottom: calc(var(--nav-height) + 68px + env(safe-area-inset-bottom, 0px) + 12px);
}
body.has-cart-bar.has-live-tracker .table-dock-floating {
  bottom: calc(var(--nav-height) + 136px + env(safe-area-inset-bottom, 0px) + 12px);
}

/* Müstakil ürün sayfasında alt nav olmadığında koordinasyon */
body.page-product .floating-cart-bar {
  bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
}
body.page-product .table-dock-floating {
  bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
}
body.page-product.has-cart-bar .table-dock-floating {
  bottom: calc(140px + env(safe-area-inset-bottom, 0px)) !important;
}

/* Sayfa Sonu İçerik Kırpılmasını Önleme (Bottom Scroll Padding) */
body.has-cart-bar {
  padding-bottom: calc(var(--nav-height) + 80px + env(safe-area-inset-bottom, 20px) + 20px) !important;
}
body.has-live-tracker {
  padding-bottom: calc(var(--nav-height) + 80px + env(safe-area-inset-bottom, 20px) + 20px) !important;
}
body.has-cart-bar.has-live-tracker {
  padding-bottom: calc(var(--nav-height) + 148px + env(safe-area-inset-bottom, 20px) + 20px) !important;
}

/* Tükendi Ürün Modalı Bilgi Şeridi */
.modal-out-of-stock-banner {
  background: #fef2f2;
  border: 1.5px solid #f87171;
  color: #991b1b;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  margin: 1rem 0;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.08);
}

/* Form Doğrulama Hata Vurgusu */
.input-field-error {
  border-color: var(--color-danger, #ef4444) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18) !important;
  animation: fieldShake 0.25s ease-in-out;
}

@keyframes fieldShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* ═══════════════════════════════════════════════════════════════════
   KAMPANYALAR & KAMPANYA KOŞULLARI (BENCHMARK UI/UX)
   ═══════════════════════════════════════════════════════════════════ */

/* Sayfa Konteyneri */
.campaigns-page-container {
  max-width: 640px;
  margin: 0 auto;
  padding-left: 12px;
  padding-right: 12px;
  padding-bottom: 96px;
}

/* 2-Column Grid (Image 1 Benchmark) */
.campaigns-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 600px) {
  .campaigns-grid {
    gap: 16px;
  }
}

.campaign-grid-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #ededed;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.campaign-grid-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.campaign-grid-card:active {
  transform: scale(0.98);
}

.campaign-grid-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  background: #f8fafc;
  overflow: hidden;
}

.campaign-grid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.campaign-grid-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
  text-align: center;
  color: #ffffff;
}

.campaign-grid-fallback .fallback-icon {
  font-size: 2.5rem;
  margin-bottom: 6px;
}

.campaign-grid-fallback .fallback-title {
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.25;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.campaign-grid-info {
  padding: 10px 10px 14px 10px;
  background: #ffffff;
  flex: 1;
  display: flex;
  align-items: flex-start;
}

.campaign-grid-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.28;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.01em;
}

/* ═══ Kampanya Koşulları Detay Sayfası (Image 2 Benchmark) ═══ */
.campaign-detail-page-container {
  max-width: 640px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 100px;
  background: #ffffff;
}

.campaign-detail-header-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  margin-bottom: 24px;
}

.campaign-detail-thumb-wrap {
  width: 105px;
  height: 105px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f1f5f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.campaign-detail-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.campaign-detail-thumb.fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #ffffff;
}

.campaign-detail-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
  margin: 0;
  letter-spacing: -0.01em;
}

.campaign-terms-body {
  margin-bottom: 20px;
}

.campaign-terms-text {
  font-size: 0.88rem;
  color: #374151;
  line-height: 1.65;
}

.campaign-terms-text p {
  margin-bottom: 12px;
  margin-top: 0;
}

.campaign-terms-text p:last-child {
  margin-bottom: 0;
}

.btn-hide-terms {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #111827;
  border-radius: 9999px;
  color: #111827;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 20px;
  text-align: center;
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 28px;
  transition: all 0.2s ease;
  display: block;
}

.btn-hide-terms:hover {
  background: #f8fafc;
}

.btn-hide-terms:active {
  transform: scale(0.98);
  background: #f1f5f9;
}

.campaign-included-products {
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}

.campaign-products-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.campaign-products-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111827;
  margin: 0;
}

.campaign-products-count {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 600;
}

/* ==========================================================================
   RTL (RIGHT-TO-LEFT) ARABIC & HEBREW LAYOUT ENGINE
   ========================================================================== */

[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] body {
  font-family: 'Cairo', 'Tajawal', 'Inter', system-ui, -apple-system, sans-serif;
  letter-spacing: 0 !important;
}

[dir="rtl"] h1, 
[dir="rtl"] h2, 
[dir="rtl"] h3, 
[dir="rtl"] h4, 
[dir="rtl"] h5, 
[dir="rtl"] h6,
[dir="rtl"] .sheet-title,
[dir="rtl"] .product-name {
  font-family: 'Cairo', 'Tajawal', 'Plus Jakarta Sans', system-ui, sans-serif;
  letter-spacing: 0 !important;
}

[dir="rtl"] p,
[dir="rtl"] span,
[dir="rtl"] label,
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select,
[dir="rtl"] button {
  letter-spacing: normal !important;
}

/* 1. Header & Navigation (RTL) */
[dir="rtl"] .header-back-btn svg,
[dir="rtl"] .header-action.header-back-btn svg {
  transform: scaleX(-1);
}

[dir="rtl"] .header-lang-badge {
  right: auto;
  left: -2px;
}

[dir="rtl"] .table-badge-bar {
  flex-direction: row;
}

/* 2. Search Box (RTL) */
[dir="rtl"] .search-icon-inside {
  left: auto;
  right: 0.85rem;
}

[dir="rtl"] .search-input {
  padding: 0.75rem 2.65rem 0.75rem 1rem;
  text-align: right;
}

/* 3. Product Cards & Lists (RTL) */
[dir="rtl"] .product-card {
  flex-direction: row;
}

[dir="rtl"] .product-info {
  margin-left: 0;
  margin-right: 0.85rem;
  text-align: right;
}

[dir="rtl"] .product-header {
  flex-direction: row;
  justify-content: space-between;
}

[dir="rtl"] .product-price-row {
  flex-direction: row;
  justify-content: space-between;
}

[dir="rtl"] .badge svg {
  margin-right: 0;
  margin-left: 3px;
}

/* 4. Floating Cart Bar (RTL) */
[dir="rtl"] .floating-cart-bar {
  flex-direction: row;
}

[dir="rtl"] .btn-cart-view svg {
  transform: scaleX(-1);
}

[dir="rtl"] .btn-cart-view:hover {
  transform: translateX(-2px);
}

/* 5. Modals & Bottom Sheets (RTL) */
[dir="rtl"] .close-btn,
[dir="rtl"] .product-sheet .close-btn,
[dir="rtl"] .tracker-close-btn {
  right: auto;
  left: 14px;
}

[dir="rtl"] #langBottomSheet .close-btn {
  right: auto;
  left: 16px;
}

[dir="rtl"] .lang-card-arrow {
  transform: scaleX(-1);
}

[dir="rtl"] .sheet-header-custom {
  flex-direction: row;
}

[dir="rtl"] .cart-item-row {
  flex-direction: row;
}

[dir="rtl"] .cart-item-info {
  text-align: right;
}

[dir="rtl"] .cart-summary-line,
[dir="rtl"] .cart-total-row {
  flex-direction: row;
}

[dir="rtl"] .dine-in-warning-box {
  text-align: right;
}

/* 6. Product Detail & Modal (RTL) */
[dir="rtl"] .detail-section {
  text-align: right;
}

[dir="rtl"] .detail-title {
  text-align: right;
}

/* 7. Tracker & Shared Bill (RTL) */
[dir="rtl"] .tracker-qty-badge {
  margin-right: 0;
  margin-left: 4px;
}

[dir="rtl"] .tracker-item-price {
  text-align: left;
}

[dir="rtl"] .tracker-summary-row {
  flex-direction: row;
}

[dir="rtl"] .tracker-step::after {
  left: auto;
  right: 19px;
}

[dir="rtl"] .tracker-step-icon {
  margin-right: 0;
  margin-left: 12px;
}

/* 8. Forms & Inputs (RTL) */
[dir="rtl"] .form-group label,
[dir="rtl"] .form-label,
[dir="rtl"] .form-label-sm {
  text-align: right;
  display: block;
}

[dir="rtl"] .form-control,
[dir="rtl"] .form-control-sm {
  text-align: right;
}

[dir="rtl"] input[type="tel"] {
  direction: ltr;
  text-align: right;
}

[dir="rtl"] .info-card-title svg {
  margin-left: 0.5rem;
  margin-right: 0;
}

/* 9. Category & Filter Tabs (RTL) */
[dir="rtl"] .category-scroll-wrapper,
[dir="rtl"] .filter-pills-scroll {
  direction: rtl;
}
