:root {
  /* Dier Lounge Marka Renk Paleti (Logodaki sıcak kahve, altın & antrasit tonları) */
  --brand-coffee: #8c532b;
  --brand-coffee-dark: #5c351b;
  --brand-coffee-light: #ba7e4f;
  --brand-gold: #c9933b;
  --brand-gold-light: #f5eedf;
  --brand-cream: #faf7f2;
  --brand-cream-card: #ffffff;
  --brand-dark: #22252a;
  --brand-charcoal: #181a1d;
  --brand-muted: #8b857d;
  --brand-border: #ede8df;
  --brand-red: #d33c2a;
  --brand-green: #298d53;

  /* Temel Fontlar & Gölgeler (Inter: Mükemmel okunabilirlik, Outfit: Modern premium başlıklar) */
  --font-serif: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;

  --r-card: 22px;
  --r-sheet: 30px;
  --shadow-sm: 0 4px 14px -4px rgba(92, 53, 27, 0.08);
  --shadow-md: 0 12px 28px -10px rgba(92, 53, 27, 0.14);
  --shadow-lg: 0 24px 48px -16px rgba(24, 26, 29, 0.22);
}

/* ==================== KARANLIK MOD (DARK THEME) DEĞİŞKENLERİ ==================== */
[data-theme="dark"] {
  --brand-coffee: #d89f6d;
  --brand-coffee-dark: #b87a48;
  --brand-coffee-light: #e5b78b;
  --brand-gold: #e2ab55;
  --brand-gold-light: #2c2219;
  --brand-cream: #13110f;
  --brand-cream-card: #1c1815;
  --brand-dark: #f5eedf;
  --brand-charcoal: #0b0a09;
  --brand-muted: #a3998e;
  --brand-border: #2c251e;
  --brand-red: #f87171;
  --brand-green: #34d399;

  --shadow-sm: 0 4px 16px -2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 12px 28px -6px rgba(0, 0, 0, 0.65);
  --shadow-lg: 0 24px 48px -10px rgba(0, 0, 0, 0.85);
}

/* Sıfırlama */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  background: var(--brand-cream);
  color: var(--brand-dark);
  font-family: var(--font-sans);
  overflow-x: clip;
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--brand-cream);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  touch-action: pan-y pinch-zoom;
}

html.locked, body.locked {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

/* Mobil Uygulama Çerçevesi (Temiz, karartısız görünüm) */
.app-container {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--brand-cream);
  position: relative;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}

/* ==================== AÇILIŞ SPLASH EKRANI ==================== */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: radial-gradient(circle at center, #2e1d13 0%, #15110e 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto;
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.6s ease;
}

.splash-screen.hidden {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}

.splash-logo-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: splashPop 0.9s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}

.splash-halo {
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 147, 59, 0.4) 0%, transparent 70%);
  filter: blur(20px);
  animation: splashPulse 3s ease-in-out infinite alternate;
}

.splash-logo-img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 0 4px rgba(201,147,59,0.3);
  position: relative;
  z-index: 2;
}

.splash-title {
  margin-top: 24px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-align: center;
}

.splash-sub {
  color: var(--brand-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  margin-top: 6px;
  opacity: 0.9;
}

.splash-loader {
  margin-top: 36px;
  width: 44px;
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.splash-loader::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: var(--brand-gold);
  animation: splashBar 1.6s ease-in-out infinite;
}

@keyframes splashPop {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes splashPulse {
  from { opacity: 0.3; transform: scale(0.95); }
  to { opacity: 0.65; transform: scale(1.15); }
}
@keyframes splashBar {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* ==================== ÜST HEADER ==================== */
header.app-header {
  position: sticky;
  top: 0;
  z-index: 45;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(237, 232, 223, 0.7);
}

.hdr-btn {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  border: 1px solid var(--brand-border);
  background: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.18s, background 0.18s;
  box-shadow: var(--shadow-sm);
  color: var(--brand-dark);
}
.hdr-btn:active {
  transform: scale(0.92);
  background: #f7f3ec;
}
.hdr-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.1;
  fill: none;
}

.brand-center {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 12px;
  transition: opacity 0.2s;
}
.brand-center:active {
  opacity: 0.75;
}
.brand-logo-small {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--brand-gold);
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-text .title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 18.5px;
  color: var(--brand-dark);
  letter-spacing: -0.3px;
  line-height: 1.1;
}
.brand-text .title span {
  color: var(--brand-coffee);
}
.brand-text .sub {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--brand-gold);
  text-transform: uppercase;
}

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

/* Tema Değiştirici Buton (Karanlık / Aydınlık Mod) */
.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--brand-border);
  background: var(--brand-cream-card);
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s cubic-bezier(0.2, 0.9, 0.3, 1), background-color 0.25s, border-color 0.25s, color 0.25s;
  position: relative;
  overflow: hidden;
}
.theme-toggle-btn:active {
  transform: scale(0.9);
}
.theme-toggle-btn:hover {
  border-color: var(--brand-gold);
}
.theme-toggle-btn svg {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s;
}
/* Aydınlık modda: Ay ikonu göster, Güneş gizle */
html:not([data-theme="dark"]) .theme-toggle-btn .theme-icon-sun {
  display: none;
}
html:not([data-theme="dark"]) .theme-toggle-btn .theme-icon-moon {
  display: block;
  transform: rotate(0deg);
}
/* Karanlık modda: Güneş ikonu göster, Ay gizle */
html[data-theme="dark"] .theme-toggle-btn .theme-icon-moon {
  display: none;
}
html[data-theme="dark"] .theme-toggle-btn .theme-icon-sun {
  display: block;
  transform: rotate(0deg);
  color: #fbbf24;
}

/* Yan Menü (Drawer) İçindeki Tema Kutusu */
.drawer-theme-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  margin-bottom: 20px;
  background: var(--brand-cream);
  border: 1.5px solid var(--brand-border);
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.drawer-theme-box:hover {
  border-color: var(--brand-gold);
}
.drawer-theme-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.drawer-theme-icon {
  font-size: 20px;
  line-height: 1;
}
.drawer-theme-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--brand-dark);
}
.drawer-theme-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-muted);
}
.theme-switch-pill {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: #d4cdc3;
  position: relative;
  transition: background-color 0.25s;
}
.theme-switch-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
html[data-theme="dark"] .theme-switch-pill {
  background: var(--brand-coffee);
}
html[data-theme="dark"] .theme-switch-thumb {
  transform: translateX(20px);
}

.lang-selector-wrap {
  position: relative;
}
.lang-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  border: 1.5px solid var(--brand-border);
  background: var(--brand-cream-card);
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--brand-dark);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 6px;
  min-width: 140px;
  display: none;
  z-index: 60;
  flex-direction: column;
}
.lang-dropdown.open {
  display: flex;
}
.lang-dropdown button {
  background: none;
  border: none;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-dark);
  text-align: left;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lang-dropdown button:hover, .lang-dropdown button.active {
  background: var(--brand-gold-light);
  color: var(--brand-coffee);
}

/* ==================== MARQUEE BANNER ==================== */
.announcement-bar {
  background: linear-gradient(90deg, #f7ede0, #faf3e8);
  border-bottom: 1px solid var(--brand-border);
  height: 38px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.announcement-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: marqueeTrack 28s linear infinite;
  will-change: transform;
}
.announcement-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-coffee-dark);
  padding: 0 24px;
}
.announcement-item::before {
  content: '☕';
  font-size: 13px;
}
@keyframes marqueeTrack {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==================== ARAMA ÇUBUĞU ==================== */
.search-container {
  padding: 14px 18px 8px;
}
.search-box {
  background: #ffffff;
  border: 1.5px solid var(--brand-border);
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-box:focus-within {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(201, 147, 59, 0.18);
}
.search-box svg {
  width: 19px;
  height: 19px;
  stroke: var(--brand-coffee);
  fill: none;
  stroke-width: 2.2;
}
.search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--brand-dark);
  width: 100%;
}
.search-box input::placeholder {
  color: var(--brand-muted);
}
.search-clear {
  background: none;
  border: none;
  color: var(--brand-muted);
  cursor: pointer;
  display: none;
  padding: 2px;
}
.search-clear.visible {
  display: block;
}

/* ==================== KATEGORİ ŞERİDİ (TABS) ==================== */
.category-tabs-wrapper {
  position: sticky;
  top: 66px;
  z-index: 40;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 16px 8px;
  display: none; /* prods görünümünde açılır */
  border-bottom: 1px solid var(--brand-border);
}
.app-container.prods-mode .category-tabs-wrapper {
  display: block;
}
.tabs-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.tabs-scroll::-webkit-scrollbar {
  display: none;
}
.tab-btn {
  flex: 0 0 auto;
  border: 1px solid var(--brand-border);
  background: #fff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-dark);
  padding: 8px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tab-btn.back-to-cats {
  background: #f0e9df;
  border-color: #dfd4c5;
  color: var(--brand-coffee-dark);
}
.tab-btn.active {
  background: var(--brand-coffee);
  color: #fff;
  border-color: var(--brand-coffee);
  box-shadow: 0 4px 14px rgba(140, 83, 43, 0.35);
  transform: translateY(-1px);
}

/* ==================== GÖRÜNÜM 1: KATEGORİ KARTLARI (ANA EKRAN) ==================== */
.cats-view {
  padding: 10px 18px 24px;
}
.section-headline {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.section-headline small {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand-muted);
}

.cats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.cat-card {
  background: #ffffff;
  border-radius: var(--r-card);
  padding: 12px;
  border: 1px solid var(--brand-border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}
.cat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.cat-card:active {
  transform: scale(0.97);
}
.cat-card .cat-pic {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 16px;
  overflow: hidden;
  background: #f4eee6;
  margin-bottom: 12px;
}
.cat-card .cat-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.cat-card:hover .cat-pic img {
  transform: scale(1.05);
}
.cat-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-dark);
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}
.cat-card .cat-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.cat-card .cat-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-muted);
}
.cat-card .cat-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-gold-light);
  display: grid;
  place-items: center;
  color: var(--brand-coffee);
}
.cat-card .cat-arrow svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
}
.cat-card .cat-delivery {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--brand-border);
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-coffee-dark);
}
.cat-card .cat-delivery svg {
  width: 14px;
  height: 14px;
  stroke: var(--brand-coffee);
  fill: none;
}

/* ==================== GÖRÜNÜM 2: ÜRÜN BÖLÜMLERİ ==================== */
.prods-view {
  display: none;
  padding: 6px 18px 30px;
}
.app-container.prods-mode .prods-view {
  display: block;
}
.app-container.prods-mode .cats-view {
  display: none;
}

.category-section {
  margin-bottom: 28px;
  scroll-margin-top: 130px;
}
.category-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 8px 2px 14px;
  border-bottom: 1.5px solid var(--brand-border);
  margin-bottom: 16px;
}
.category-section-header h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-dark);
  letter-spacing: -0.4px;
  position: relative;
}
.category-section-header h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 32px;
  height: 3px;
  background: var(--brand-coffee);
  border-radius: 3px;
}
.category-section-header span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-muted);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.product-card {
  background: #ffffff;
  border-radius: var(--r-card);
  padding: 12px;
  border: 1px solid var(--brand-border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.product-card:active {
  transform: scale(0.97);
}
.product-card.soldout {
  opacity: 0.65;
  cursor: default;
}
.product-card .p-pic {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 16px;
  overflow: hidden;
  background: #f4eee6;
  margin-bottom: 10px;
}
.product-card .p-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .p-pic img {
  transform: scale(1.06);
}
.badge-vurgu {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: rgba(24, 26, 29, 0.85);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 8px;
  backdrop-filter: blur(4px);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.badge-vurgu.populer {
  background: linear-gradient(135deg, #ba7e4f, #8c532b);
}
.soldout-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(24, 26, 29, 0.88);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 30px;
  z-index: 3;
  letter-spacing: 0.5px;
}

.product-card h4 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--brand-dark);
  letter-spacing: -0.3px;
  line-height: 1.25;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card p.p-desc {
  font-size: 12px;
  color: var(--brand-muted);
  line-height: 1.4;
  margin-bottom: 10px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card .p-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.product-card .p-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-coffee-dark);
  font-variant-numeric: tabular-nums;
}
.product-card .p-add-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-gold-light);
  color: var(--brand-coffee);
  display: grid;
  place-items: center;
  transition: all 0.15s;
}
.product-card:hover .p-add-icon {
  background: var(--brand-coffee);
  color: #fff;
}
.product-card .p-add-icon svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
}

/* ==================== MODALLAR & BOTTOM SHEETS ==================== */
.modal-scrim {
  position: fixed;
  inset: 0;
  background: rgba(30, 25, 20, 0.35);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-scrim.visible {
  opacity: 1;
  pointer-events: auto;
}

.bottom-sheet {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 100%);
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  z-index: 85;
  border-radius: var(--r-sheet) var(--r-sheet) 0 0;
  box-shadow: none;
  border-top: 1.5px solid var(--brand-border);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  max-height: 90dvh;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  touch-action: pan-y;
  overscroll-behavior: contain;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
  will-change: transform;
}
.bottom-sheet.open {
  transform: translate(-50%, 0) !important;
}
#tableModal, #pinModal {
  z-index: 92;
}
.bottom-sheet.dragging {
  transition: none !important;
}
.sheet-grip {
  width: 44px;
  height: 5px;
  border-radius: 10px;
  background: rgba(0,0,0,0.22);
  margin: 10px auto 6px;
  cursor: grab;
  touch-action: none;
}
.sheet-hero {
  touch-action: pan-y;
  cursor: grab;
}

/* ÜRÜN DETAY MODAL DÜZENİ */
.sheet-hero {
  position: relative;
  width: 100%;
  height: 240px;
  background: #2a1f18;
  overflow: hidden;
  flex-shrink: 0;
}
.sheet-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sheet-close-btn {
  position: absolute;
  top: 14px;
  left: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(24, 26, 29, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
}
.sheet-close-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}
.sheet-kcal-badge {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(24, 26, 29, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 10;
}

.sheet-scroll-body {
  padding: 22px 20px 30px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  overscroll-behavior-y: contain;
  flex: 1;
}
.sheet-product-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-dark);
  letter-spacing: -0.4px;
  line-height: 1.2;
}
.sheet-product-price {
  font-size: 22px;
  font-weight: 900;
  color: var(--brand-coffee-dark);
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.sheet-product-desc {
  font-size: 13.5px;
  color: var(--brand-muted);
  line-height: 1.5;
  margin-top: 8px;
}

/* Seçenek Grupları (Zorunlu / Opsiyonel) */
.options-group-box {
  margin-top: 20px;
  background: #fbf9f6;
  border: 1.5px solid var(--brand-border);
  border-radius: 18px;
  overflow: hidden;
}
.options-group-header {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  background: #fbf9f6;
  user-select: none;
}
.options-group-header .og-title {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-weight: 800;
  font-size: 13.5px;
  color: var(--brand-dark);
  flex: 1;
}
.badge-required {
  font-size: 9.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f0e1d5;
  color: var(--brand-coffee-dark);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
}
.options-group-header .og-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.options-group-header .og-arrow {
  transition: transform 0.25s;
}
.options-group-box.expanded .og-arrow {
  transform: rotate(180deg);
}
.options-group-list {
  padding: 4px 14px 12px;
  display: none;
  flex-direction: column;
  gap: 8px;
  border-top: 1px dashed var(--brand-border);
}
.options-group-box.expanded .options-group-list {
  display: flex;
}
.option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #ffffff;
  border: 1.5px solid var(--brand-border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.16s ease;
}
.option-row:hover {
  border-color: var(--brand-coffee-light);
}
.option-row.selected {
  border-color: var(--brand-coffee);
  background: var(--brand-gold-light);
}
.option-row .opt-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.opt-radio-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--brand-border);
  display: grid;
  place-items: center;
}
.option-row.selected .opt-radio-circle {
  border-color: var(--brand-coffee);
}
.option-row.selected .opt-radio-circle::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-coffee);
}
.opt-checkbox-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid var(--brand-border);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
  color: transparent;
  transition: all 0.15s;
}
.option-row.checked-yes .opt-checkbox-box {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #ffffff;
}
.option-row.checked-no .opt-checkbox-box {
  background: #fee2e2;
  border-color: #fca5a5;
  color: var(--brand-red);
}
.option-row.checked-no {
  background: #fff8f8;
  border-color: #fecaca;
}
.option-row .opt-diff {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-coffee-dark);
}

/* Yanında Yakışır / Çapraz Öneri Kartları */
.cross-sell-section {
  margin-top: 24px;
}
.cross-sell-section h5 {
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 10px;
}
.cross-sell-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.cross-sell-slider::-webkit-scrollbar {
  display: none;
}
.cross-sell-card {
  flex: 0 0 130px;
  background: #fbf9f6;
  border: 1px solid var(--brand-border);
  border-radius: 14px;
  padding: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.cross-sell-card img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 6px;
}
.cross-sell-card b {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cross-sell-card span {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--brand-coffee);
  margin-top: 2px;
}

/* Modal Alt Ekleme Butonu */
.sheet-action-footer {
  margin-top: 24px;
}
.btn-primary-add {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 16px;
  background: var(--brand-coffee);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(140, 83, 43, 0.35);
  transition: all 0.2s;
}
.btn-primary-add:active {
  transform: scale(0.98);
}
.btn-primary-add.disabled {
  background: #8e8a84;
  cursor: not-allowed;
  box-shadow: none;
}
.btn-primary-add.added {
  background: var(--brand-green);
  box-shadow: 0 8px 24px rgba(41, 141, 83, 0.35);
}

/* ==================== GELİŞTİRİCİ İMZASI & FOOTER (alonehuntert.com) ==================== */
.app-credit-footer {
  padding: 18px 20px 24px;
  text-align: center;
  margin-top: auto;
}
.credit-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-cream-card);
  border: 1px solid var(--brand-border);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12px;
  color: var(--brand-muted);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.credit-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--brand-coffee);
  text-decoration: none;
  font-weight: 800;
  transition: color 0.2s;
}
.credit-link:hover {
  color: var(--brand-gold);
  text-decoration: underline;
}

/* Yan Menü (Drawer) İmzası */
.drawer-credit-box {
  margin-top: auto;
  padding: 16px 14px;
  border-top: 1px solid var(--brand-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11.5px;
  color: var(--brand-muted);
}
.drawer-credit-box a {
  color: var(--brand-coffee);
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  transition: color 0.2s;
}
.drawer-credit-box a:hover {
  color: var(--brand-gold);
}

/* ==================== ALT SABİT NAVİGASYON (BOTTOM NAV) ==================== */
.bottom-nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 480px;
  height: 72px;
  background: #ffffff;
  border-top: 1.5px solid var(--brand-border);
  border-radius: 24px 24px 0 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 16px;
  z-index: 55;
}
.b-nav-item {
  flex: 1;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--brand-muted);
  transition: color 0.2s, transform 0.15s;
}
.b-nav-item:active {
  transform: scale(0.92);
}
.b-nav-item.active, .b-nav-item:hover {
  color: var(--brand-coffee);
}
.b-nav-item svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}
.b-nav-item span {
  font-size: 11px;
  font-weight: 700;
}
.nav-badge-wrap {
  position: relative;
}
.cart-count-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--brand-coffee);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fff;
}

/* ==================== SEPET MODALI (SİPARİŞLERİM) ==================== */
.cart-modal {
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  max-height: 82vh;
}
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cart-header h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-dark);
}
.pos-table-bar {
  background: #f7f3ec;
  border: 1px solid var(--brand-border);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  margin-bottom: 14px;
}
.pos-table-bar .pt-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--brand-dark);
}
.pos-table-bar .pt-change {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--brand-coffee);
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.cart-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fbf9f6;
  border: 1px solid var(--brand-border);
  border-radius: 16px;
  padding: 8px 12px;
}
.cart-item-row img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}
.cart-item-info {
  flex: 1;
}
.cart-item-info .cin-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--brand-dark);
  line-height: 1.2;
}
.cart-item-info .cin-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-coffee);
  margin-top: 2px;
}
.cart-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: 20px;
  padding: 2px 8px;
}
.cart-stepper button {
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-dark);
  cursor: pointer;
  padding: 4px;
}
.cart-stepper span {
  font-size: 13px;
  font-weight: 800;
  min-width: 14px;
  text-align: center;
}

.cart-total-box {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 2px;
  border-top: 1px dashed var(--brand-border);
  margin-bottom: 12px;
}
.cart-total-box span {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-muted);
}
.cart-total-box b {
  font-size: 22px;
  font-weight: 900;
  color: var(--brand-dark);
}

.cart-btn-primary {
  width: 100%;
  padding: 15px;
  border-radius: 14px;
  border: none;
  background: var(--brand-coffee);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(140, 83, 43, 0.35);
}

/* ==================== YAN MENÜ (DRAWER) ==================== */
.side-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 300px;
  max-width: 82vw;
  background: #ffffff;
  z-index: 95;
  box-shadow: 16px 0 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.side-drawer.open {
  transform: translateX(0);
  pointer-events: auto;
}
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--brand-border);
  margin-bottom: 20px;
}
.drawer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.drawer-logo-wrap img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}
.drawer-logo-wrap b {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--brand-dark);
}
.drawer-close {
  background: #f7f3ec;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.drawer-cats-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  overflow-y: auto;
}
.drawer-cat-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 14px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  transition: background 0.15s;
}
.drawer-cat-btn:hover {
  background: var(--brand-gold-light);
}
.drawer-cat-btn img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}
.drawer-cat-btn .d-info {
  flex: 1;
}
.drawer-cat-btn .d-info b {
  display: block;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-dark);
}
.drawer-cat-btn .d-info small {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--brand-muted);
}

/* ==================== MEKÂN BİLGİ MODALI (ABOUT) ==================== */
.about-sheet-content {
  padding: 16px 20px 30px;
  overflow-y: auto;
  max-height: calc(90dvh - 30px);
}
.about-brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.about-brand-row img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid var(--brand-gold);
}
.about-brand-row h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 800;
}
.about-brand-row .rating-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-coffee-dark);
  margin-top: 4px;
}
.about-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.about-act-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 6px;
  background: #fbf9f6;
  border: 1px solid var(--brand-border);
  border-radius: 16px;
  text-decoration: none;
  color: var(--brand-dark);
  cursor: pointer;
  transition: transform 0.15s;
}
.about-act-btn:active {
  transform: scale(0.94);
}
.about-act-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}
.about-act-btn span {
  font-size: 11.5px;
  font-weight: 700;
}
.info-list-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fbf9f6;
  border-radius: 14px;
  border: 1px solid var(--brand-border);
}
.info-row b {
  font-size: 13.5px;
  font-weight: 700;
}
.info-row span {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-coffee-dark);
}

/* ==================== TOAST ==================== */
.toast-notice {
  position: fixed;
  bottom: 86px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(24, 26, 29, 0.92);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 700;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.toast-notice.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==================== GÜVENLİK & MASA DOĞRULAMA STİLLERİ ==================== */
.sec-banner-status {
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.sec-banner-status.verified {
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  color: #065f46;
}
.sec-banner-status.unverified {
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  color: #92400e;
}

.pin-verify-box {
  background: #fbf9f6;
  border: 1px solid var(--brand-border);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
}
.pin-verify-box label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-coffee-dark);
}
.btn-verify-pin {
  padding: 12px 18px;
  border-radius: 12px;
  border: none;
  background: var(--brand-coffee);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn-verify-pin:active {
  opacity: 0.85;
}

.qr-admin-card {
  background: #fbf9f6;
  border: 1px solid var(--brand-border);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.qr-admin-card b {
  font-size: 13.5px;
  color: var(--brand-dark);
}
.qr-admin-card .q-sub {
  font-size: 11.5px;
  color: var(--brand-muted);
  margin-top: 2px;
}
.qr-copy-btn {
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid var(--brand-border);
  background: #fff;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--brand-coffee);
  cursor: pointer;
  white-space: nowrap;
}

/* ================= RESPONSIVE DESIGN ADJUSTMENTS ================= */
@media (max-width: 480px) {
  .app-container {
    width: 100vw;
    max-width: 100vw;
    box-shadow: none;
  }

  .splash-screen {
    width: 100vw;
    max-width: 100vw;
  }

  .app-header {
    padding: 10px 14px;
  }

  .brand-center .brand-logo-small {
    width: 32px;
    height: 32px;
  }

  .brand-center .brand-text .title {
    font-size: 16px;
  }

  .search-container {
    padding: 10px 14px;
  }

  .cats-view, .prods-view {
    padding-left: 14px;
    padding-right: 14px;
  }

  .bottom-sheet {
    max-width: 100vw;
    border-radius: 24px 24px 0 0;
  }

  .sheet-scroll-body {
    padding: 16px;
  }

  .cart-pin-section {
    padding: 10px !important;
  }

  .btn-check-geo {
    padding: 8px 10px !important;
    font-size: 11px !important;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .app-container {
    max-width: 520px;
  }
  .bottom-sheet {
    max-width: 520px;
  }
}

/* ==================== KARANLIK MOD KAPSAMLI BİLEŞEN STİLLERİ ==================== */
html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="dark"] body {
  background: #0f0d0b;
}

/* Header */
html[data-theme="dark"] header.app-header {
  background: rgba(19, 17, 15, 0.92);
  border-bottom: 1px solid rgba(44, 37, 30, 0.9);
}

html[data-theme="dark"] .hdr-btn {
  background: #1c1815;
  border-color: #2c251e;
  color: #f5eedf;
}
html[data-theme="dark"] .hdr-btn:active {
  background: #25201c;
}

/* Duyuru Bandı */
html[data-theme="dark"] .announcement-bar {
  background: linear-gradient(90deg, #1c1815, #221c17);
  border-bottom: 1px solid #2c251e;
  color: #d89f6d;
}

/* Arama Kutusu */
html[data-theme="dark"] .search-box {
  background: #1c1815;
  border-color: #2c251e;
}
html[data-theme="dark"] .search-box input {
  color: #f5eedf;
}
html[data-theme="dark"] .search-box input::placeholder {
  color: #7d7367;
}
html[data-theme="dark"] .search-box svg {
  stroke: #a3998e;
}

/* Masa Barı (POS / Table Bar) */
html[data-theme="dark"] .pos-table-bar {
  background: #1c1815;
  border-color: #2c251e;
  color: #f5eedf;
}

/* Kategori Kartları & Ürün Kartları (Resim 1 Düzeltmesi) */
html[data-theme="dark"] .cat-card,
html[data-theme="dark"] .product-card {
  background: #1c1815 !important;
  border: 1px solid #2c251e !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.45);
}
html[data-theme="dark"] .cat-card:hover,
html[data-theme="dark"] .product-card:hover {
  border-color: #d89f6d !important;
}
html[data-theme="dark"] .cat-card h3 {
  color: #f5eedf !important;
}
html[data-theme="dark"] .cat-card .cat-count {
  color: #a3998e !important;
}
html[data-theme="dark"] .cat-card .cat-delivery {
  border-top: 1px dashed #2c251e !important;
  color: #d89f6d !important;
}
html[data-theme="dark"] .cat-card .cat-delivery span {
  color: #d89f6d !important;
}
html[data-theme="dark"] .cat-card .cat-delivery svg {
  stroke: #d89f6d !important;
}
html[data-theme="dark"] .cat-card .cat-arrow {
  background: #25201b !important;
  color: #d89f6d !important;
}

/* Kategori Sekmeleri Barı & Butonları (Resim 2 Düzeltmesi) */
html[data-theme="dark"] .category-tabs-wrapper {
  background: rgba(19, 17, 15, 0.94) !important;
  border-bottom: 1px solid #2c251e !important;
}
html[data-theme="dark"] .tab-btn {
  background: #1c1815 !important;
  border: 1px solid #2c251e !important;
  color: #a3998e !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
html[data-theme="dark"] .tab-btn.back-to-cats {
  background: #25201a !important;
  border-color: #382d22 !important;
  color: #d89f6d !important;
}
html[data-theme="dark"] .tab-btn.active {
  background: #d89f6d !important;
  color: #13110f !important;
  border-color: #d89f6d !important;
  box-shadow: 0 4px 14px rgba(216, 159, 109, 0.35) !important;
}

/* Seçenek Grupları & İçerik Tercihleri (Resim 3 Düzeltmesi) */
html[data-theme="dark"] .options-group-box {
  background: #181512 !important;
  border: 1.5px solid #2c251e !important;
}
html[data-theme="dark"] .options-group-header {
  background: #181512 !important;
}
html[data-theme="dark"] .options-group-header .og-title {
  color: #f5eedf !important;
}
html[data-theme="dark"] .badge-required {
  background: #2c2219 !important;
  color: #d89f6d !important;
}
html[data-theme="dark"] .options-group-list {
  border-top: 1px dashed #2c251e !important;
}
html[data-theme="dark"] .option-row {
  background: #1c1815 !important;
  border-color: #2c251e !important;
  color: #f5eedf !important;
}
html[data-theme="dark"] .option-row.checked-yes {
  background: #1c1815 !important;
  border-color: #2c251e !important;
}
html[data-theme="dark"] .option-row.checked-no {
  background: #221414 !important;
  border-color: #4a2020 !important;
}
html[data-theme="dark"] .option-row.selected {
  background: #2a2016 !important;
  border-color: #d89f6d !important;
}
html[data-theme="dark"] .option-row .opt-name {
  color: #f5eedf !important;
}
html[data-theme="dark"] .opt-radio-circle {
  border-color: #3d342a !important;
}
html[data-theme="dark"] .opt-checkbox-box {
  border-color: #3d342a !important;
}

/* Yan Menü (Drawer) ve Kapatma Butonu (Resim 4 Düzeltmesi) */
html[data-theme="dark"] .side-drawer {
  background: #161311 !important;
  border-right: 1px solid #2c251e !important;
}
html[data-theme="dark"] .drawer-header {
  border-bottom: 1px solid #2c251e !important;
}
html[data-theme="dark"] .drawer-logo-wrap b {
  color: #f5eedf !important;
}
html[data-theme="dark"] .drawer-close {
  background: #25201b !important;
  color: #f5eedf !important;
}
html[data-theme="dark"] .drawer-close:hover {
  background: #332b24 !important;
}
html[data-theme="dark"] .drawer-cat-btn {
  color: #f5eedf !important;
}
html[data-theme="dark"] .drawer-cat-btn:hover {
  background: #25201a !important;
}
html[data-theme="dark"] .drawer-cat-btn .d-info b {
  color: #f5eedf !important;
}
html[data-theme="dark"] .drawer-cat-btn .d-info small {
  color: #a3998e !important;
}
html[data-theme="dark"] .drawer-cat-btn svg {
  stroke: #a3998e !important;
}

/* Hakkımızda Modalı Butonları ve Bilgi Satırları (Resim 5 Düzeltmesi) */
html[data-theme="dark"] .about-sheet-content {
  background: #181512;
}
html[data-theme="dark"] .about-brand-row h3 {
  color: #f5eedf !important;
}
html[data-theme="dark"] .about-brand-row .rating-chip {
  color: #d89f6d !important;
}
html[data-theme="dark"] .about-act-btn {
  background: #1c1815 !important;
  border: 1px solid #2c251e !important;
  color: #f5eedf !important;
}
html[data-theme="dark"] .about-act-btn:hover {
  border-color: #d89f6d !important;
}
html[data-theme="dark"] .about-act-btn span {
  color: #f5eedf !important;
}
html[data-theme="dark"] .info-row {
  background: #1c1815 !important;
  border: 1px solid #2c251e !important;
}
html[data-theme="dark"] .info-row b {
  color: #f5eedf !important;
}
html[data-theme="dark"] .info-row span {
  color: #d89f6d !important;
}

/* Alt Gezinti Barı (Bottom Nav) */
html[data-theme="dark"] .bottom-nav {
  background: rgba(19, 17, 15, 0.94) !important;
  border-top: 1px solid #2c251e !important;
}
html[data-theme="dark"] .b-nav-item {
  color: #a3998e !important;
}
html[data-theme="dark"] .b-nav-item.active,
html[data-theme="dark"] .b-nav-item:hover {
  color: #d89f6d !important;
}

/* Alt Açılır Pencereler (Bottom Sheet Modals) */
html[data-theme="dark"] .bottom-sheet {
  background: #181512 !important;
  border-top: 1px solid #2c251e !important;
}
html[data-theme="dark"] .sheet-grip {
  background: #3a3229 !important;
}
html[data-theme="dark"] .sheet-close-btn {
  background: #25201b !important;
  color: #f5eedf !important;
}
html[data-theme="dark"] .cross-sell-card {
  background: #1c1815 !important;
  border: 1px solid #2c251e !important;
}
html[data-theme="dark"] .cross-sell-card b {
  color: #f5eedf !important;
}

/* Sepet & Dialoglar */
html[data-theme="dark"] .cart-item-row {
  background: #1c1815 !important;
  border: 1px solid #2c251e !important;
}
html[data-theme="dark"] .cart-item-info .cin-title {
  color: #f5eedf !important;
}
html[data-theme="dark"] .cart-stepper {
  background: #25201b !important;
  border: 1px solid #352b22 !important;
}
html[data-theme="dark"] .cart-stepper button {
  color: #f5eedf !important;
}
html[data-theme="dark"] .cart-stepper span {
  color: #f5eedf !important;
}
html[data-theme="dark"] .cart-pin-section {
  background: #1c1815 !important;
  border-color: #2c251e !important;
}
html[data-theme="dark"] .order-type-switch {
  background: #25201b !important;
}
html[data-theme="dark"] .order-type-btn {
  color: #a3998e !important;
}
html[data-theme="dark"] .order-type-btn.active {
  background: #d89f6d !important;
  color: #13110f !important;
}

/* Dil Açılır Menüsü */
html[data-theme="dark"] .lang-dropdown {
  background: #1c1815 !important;
  border-color: #2c251e !important;
}
html[data-theme="dark"] .lang-dropdown button {
  color: #f5eedf !important;
}
html[data-theme="dark"] .lang-dropdown button:hover,
html[data-theme="dark"] .lang-dropdown button.active {
  background: #2c2219 !important;
  color: #d89f6d !important;
}

/* PIN & Masa Seçim Modalları */
html[data-theme="dark"] #pinModal,
html[data-theme="dark"] #tableModal {
  background: #181512 !important;
  color: #f5eedf !important;
}
html[data-theme="dark"] #cafeOrderPinInput,
html[data-theme="dark"] #directCartPinInput {
  background: #1c1815 !important;
  color: #f5eedf !important;
  border-color: #d89f6d !important;
}
html[data-theme="dark"] .cart-kurye-section,
html[data-theme="dark"] .cart-pin-section {
  background: #1c1815 !important;
  border-color: #2c251e !important;
}
html[data-theme="dark"] .cart-kurye-section label,
html[data-theme="dark"] #kuryeInfoHeading,
html[data-theme="dark"] #cartPinSectionTitle {
  color: #f5eedf !important;
}
html[data-theme="dark"] .cart-kurye-section input,
html[data-theme="dark"] .cart-kurye-section textarea {
  background: #25201b !important;
  color: #f5eedf !important;
  border: 1.5px solid #3d342a !important;
}
html[data-theme="dark"] .cart-kurye-section input:focus,
html[data-theme="dark"] .cart-kurye-section textarea:focus {
  border-color: #d89f6d !important;
}
html[data-theme="dark"] .cart-kurye-section input::placeholder,
html[data-theme="dark"] .cart-kurye-section textarea::placeholder {
  color: #7d7265 !important;
}
html[data-theme="dark"] #kuryePhoneNote,
html[data-theme="dark"] #geoStatusBadgeText {
  color: #9d9183 !important;
}
html[data-theme="dark"] #tableModal .option-row {
  background: #1c1815 !important;
  border-color: #2c251e !important;
  color: #f5eedf !important;
}
html[data-theme="dark"] #tableModal .option-row:hover,
html[data-theme="dark"] #tableModal .option-row.selected {
  background: #28211b !important;
  border-color: #d89f6d !important;
}
html[data-theme="dark"] #tableModal .option-row .opt-name {
  color: #f5eedf !important;
}
html[data-theme="dark"] #tableModal .option-row .opt-diff {
  color: #9d9183 !important;
}
html[data-theme="dark"] #tableModal .opt-radio-circle {
  border-color: #55483d !important;
  background: transparent !important;
}
html[data-theme="dark"] #tableModal .option-row.selected .opt-radio-circle {
  border-color: #d89f6d !important;
  background: #d89f6d !important;
}


