:root {
  /* Sıcak Bakery/Cafe Renk Paleti */
  --bg: #F4EFEA;
  --bg-soft: #FAF8F5;
  --panel: #FFFFFF;
  --panel-2: #F9F6F1;
  --line: #D4C4B0;
  --text: #5C3627;
  --muted: #8B6F47;
  --primary: #C07D63;
  --primary-strong: #B86B50;
  --secondary: #E4B39F;
  /* Eski değişkenler uyumluluk için */
  --gold: #C07D63;
  --gold-strong: #B86B50;
  --danger: #C85A5A;
  --success: #6BA876;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html.preload-theme-dark {
  background: #1b1510;
}

html.preload-theme-dark body {
  background: #1b1510;
  color: #f2e7d8;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(192, 125, 99, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(228, 179, 159, 0.06), transparent 25%),
    linear-gradient(180deg, #FAF8F5 0%, #F4EFEA 100%);
  color: var(--text);
  font-family: "Urbanist", sans-serif;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.hidden {
  display: none !important;
}

button,
input,
select,
textarea {
  font: inherit;
}

.hidden {
  display: none !important;
}

.site-shell {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 12px 0 8px;
}

.topbar-utility {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 8px 12px;
  cursor: pointer;
}

.lang-switch button.is-active {
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 700;
}

.topbar-utility {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.theme-toggle-label {
  display: none;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--primary);
  color: var(--primary-strong);
}

.theme-toggle.is-active {
  background: linear-gradient(145deg, #3f3128 0%, #2b211b 100%);
  color: #f8eadc;
  border-color: rgba(255, 255, 255, 0.12);
}

.theme-toggle-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.brand-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.brand img {
  width: 152px;
  height: auto;
  object-fit: contain;
}

.nav-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 8px 0 14px;
  flex-wrap: wrap;
}

.nav-row a {
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.86rem;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

.nav-row a:hover,
.nav-row a.is-active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.hero-section {
  padding: 28px 0 24px;
}

.section {
  padding: 54px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

.section-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  line-height: 0.95;
  color: #5C3627;
}

.section-subtitle {
  margin: 10px 0 0;
  max-width: 74ch;
  color: var(--muted);
  line-height: 1.7;
}

.hero-grid,
.about-grid,
.contact-grid,
.admin-layout {
  display: grid;
  gap: 20px;
}

.hero-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

.gallery-card,
.story-card,
.channel-card,
.social-card,
.contact-card,
.menu-filter-card,
.panel,
.auth-card,
.edit-panel,
.qr-card {
  border: 1px solid var(--line);
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 12px rgba(192, 125, 99, 0.08);
}

.gallery-card {
  padding: 14px;
}

.gallery-frame {
  position: relative;
  border-radius: calc(var(--radius-xl) - 8px);
  overflow: hidden;
  min-height: 540px;
  background: #F9F6F1;
}

.gallery-image {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 8, 6, 0.92) 100%);
}

.gallery-overlay h1,
.gallery-overlay p {
  margin: 0;
}

.gallery-actions {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  padding: 0 14px;
}

.gallery-arrow {
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  cursor: pointer;
}

.gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.26);
}

.gallery-dot.is-active {
  background: var(--gold);
}

.hero-copy,
.story-copy,
.contact-copy,
.panel,
.auth-card,
.edit-panel,
.channel-card,
.social-card,
.menu-filter-card,
.qr-card {
  padding: 22px;
}

.hero-tag {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.74rem;
}

.hero-title,
.story-title,
.panel h2,
.auth-card h2 {
  margin: 10px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 4.3rem);
  line-height: 0.92;
}

.hero-text,
.story-copy p,
.panel p,
.auth-card p,
.contact-copy p,
.menu-intro {
  color: var(--muted);
  line-height: 1.8;
}

.hero-actions,
.inline-actions,
.channel-actions,
.bulk-actions,
.edit-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-main,
.btn-soft,
.btn-line,
.btn-danger,
.btn-chip,
.btn-icon,
.btn-switch,
.btn-mini {
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.22s ease;
  font-weight: 700;
  text-decoration: none;
}

.btn-main {
  background: linear-gradient(145deg, #e6bf71, #b98931);
  color: #1f1507;
  padding: 12px 18px;
}

.btn-main:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(192, 125, 99, 0.15);
}

.btn-soft,
.btn-line,
.btn-danger,
.btn-mini,
.btn-chip {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border-color: rgba(217, 180, 106, 0.16);
}

.btn-soft,
.btn-line,
.btn-danger,
.btn-mini {
  padding: 11px 16px;
}

.btn-chip {
  padding: 10px 14px;
}

.btn-soft:hover,
.btn-line:hover,
.btn-mini:hover,
.btn-chip:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-danger {
  border-color: rgba(214, 107, 107, 0.24);
  color: #f2aaaa;
}

.btn-danger:hover {
  border-color: rgba(214, 107, 107, 0.52);
}

.menu-filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.chip {
  border-radius: 999px;
  border: 1px solid rgba(217, 180, 106, 0.14);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  padding: 10px 14px;
  cursor: pointer;
}

.chip.is-active,
.chip:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.menu-grid,
.channel-grid,
.social-grid,
.badge-list {
  display: grid;
  gap: 16px;
}

.menu-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  background: linear-gradient(170deg, rgba(36, 27, 20, 0.98), rgba(22, 17, 13, 0.96));
  border: 1px solid rgba(217, 180, 106, 0.12);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-media {
  position: relative;
  height: 230px;
  background: #0a0908;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-title {
  margin: 0;
  font-size: 1.55rem;
  font-family: "Cormorant Garamond", serif;
}

.product-desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price {
  color: var(--gold);
  font-weight: 800;
  font-size: 1.05rem;
}

.price-input {
  max-width: 110px;
  margin-right: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(217, 180, 106, 0.08);
  color: #f1dbb6;
  border: 1px solid rgba(217, 180, 106, 0.18);
  font-size: 0.78rem;
}

.badge.is-bestseller {
  background: rgba(114, 196, 140, 0.10);
  color: #c8efd1;
  border-color: rgba(114, 196, 140, 0.22);
}

.allergen-btn {
  border: 0;
  background: rgba(217, 180, 106, 0.12);
  color: #f6e7c8;
  border-radius: 999px;
  padding: 9px 12px;
  cursor: pointer;
}

.split-2,
.about-grid,
.contact-grid,
.admin-layout,
.panel-grid {
  display: grid;
  gap: 18px;
}

.split-2,
.about-grid,
.contact-grid {
  grid-template-columns: 1fr 1fr;
}

.story-card,
.contact-card,
.channel-card,
.social-card,
.menu-filter-card,
.panel,
.auth-card,
.edit-panel,
.qr-card {
  padding: 22px;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(217, 180, 106, 0.14);
  background: #fff;
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: contain;
  background: #fff;
}

.social-grid,
.channel-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.social-card,
.channel-card {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(217, 180, 106, 0.12);
}

.social-link,
.channel-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(217, 180, 106, 0.12);
  border: 1px solid rgba(217, 180, 106, 0.18);
  color: var(--gold);
  flex: 0 0 auto;
}

.social-embed {
  border: 1px solid rgba(217, 180, 106, 0.10);
  border-radius: var(--radius-md);
  padding: 18px;
  background: rgba(0, 0, 0, 0.16);
}

.form-grid,
.admin-form-grid,
.edit-grid,
.bulk-grid,
.category-grid {
  display: grid;
  gap: 12px;
}

.form-grid,
.admin-form-grid,
.edit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid .full,
.admin-form-grid .full,
.edit-grid .full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 6px;
  color: #5C3627;
  font-size: 0.84rem;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--text);
  padding: 12px 14px;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

select {
  appearance: none;
}

.notice {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(192, 125, 99, 0.08);
  border: 1px solid var(--line);
  color: #5C3627;
}

.qr-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  align-items: center;
}

.qr-card img {
  width: 100%;
  border-radius: var(--radius-md);
  background: #fff;
  padding: 10px;
}

.qr-link {
  display: inline-block;
  word-break: break-all;
  color: var(--gold);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(0, 0, 0, 0.4);
  z-index: 250;
  padding: 16px;
}

.modal-backdrop.is-open {
  display: grid;
}

.modal-card {
  width: min(540px, 100%);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: #FFFFFF;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.modal-card ul {
  margin: 12px 0 18px;
  padding-left: 18px;
  color: var(--text);
}

.modal-close {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  padding: 10px 14px;
  cursor: pointer;
  transition: 0.2s ease;
}

.modal-close:hover {
  background: rgba(192, 125, 99, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

.auth-card {
  max-width: 560px;
}

.panel {
  border-radius: var(--radius-xl);
}

.bulk-toolbar,
.category-toolbar,
.admin-section {
  display: grid;
  gap: 16px;
}

.bulk-toolbar {
  padding: 18px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: #F9F6F1;
}

.bulk-controls {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr auto;
  gap: 12px;
}

.category-toolbar {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.badge-list {
  grid-template-columns: repeat(auto-fit, minmax(150px, max-content));
}

.category-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 140px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--text);
  transition: 0.2s ease;
}

.category-badge:hover {
  background: rgba(192, 125, 99, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

.admin-list {
  display: grid;
  gap: 12px;
}

.table-wrap {
  overflow: auto;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(217, 180, 106, 0.12);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1000px;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(217, 180, 106, 0.12);
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--gold);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

tr:last-child td {
  border-bottom: 0;
}

.drag-handle {
  cursor: grab;
  color: var(--gold);
  font-size: 1.15rem;
  user-select: none;
}

.admin-row.is-dragging {
  opacity: 0.5;
}

.row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.row-check {
  width: 18px;
  height: 18px;
}

.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 58px;
  height: 32px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(217, 180, 106, 0.14);
  transition: 0.2s ease;
}

.switch-slider::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  left: 4px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
  transition: 0.2s ease;
}

.switch input:checked + .switch-slider {
  background: rgba(114, 196, 140, 0.22);
  border-color: rgba(114, 196, 140, 0.34);
}

.switch input:checked + .switch-slider::before {
  transform: translateX(26px);
  background: #e7fff0;
}

.dropzone {
  border: 1.6px dashed rgba(217, 180, 106, 0.36);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  padding: 18px;
  text-align: center;
  color: var(--muted);
  cursor: pointer;
  transition: 0.2s ease;
}

.dropzone.dragover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(217, 180, 106, 0.08);
}

.dropzone strong {
  display: block;
  color: var(--text);
  margin-bottom: 6px;
}

.preview-box {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.preview-image {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid rgba(217, 180, 106, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.admin-login-error {
  color: #f0b1b1;
  margin: 6px 0 0;
}

.muted {
  color: var(--muted);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 260;
  background: rgba(27, 21, 16, 0.96);
  border: 1px solid rgba(217, 180, 106, 0.14);
  border-radius: 14px;
  padding: 12px 16px;
  color: var(--text);
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: 0.22s ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  margin-top: 34px;
  background: rgba(192, 125, 99, 0.03);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 0.75s ease forwards;
}

.reveal.delay-1 {
  animation-delay: 0.14s;
}

.reveal.delay-2 {
  animation-delay: 0.22s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .topbar-inner,
  .hero-grid,
  .split-2,
  .about-grid,
  .contact-grid,
  .social-grid,
  .channel-grid,
  .bulk-controls,
  .category-toolbar,
  .form-grid,
  .admin-form-grid,
  .edit-grid,
  .qr-card {
    grid-template-columns: 1fr;
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topbar-utility {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 20px, 1220px);
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .gallery-frame,
  .gallery-image {
    min-height: 360px;
  }

  .product-media {
    height: 210px;
  }

  .nav-row {
    gap: 12px;
  }

  .hero-title,
  .section-title,
  .story-title,
  .panel h2,
  .auth-card h2 {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }
}

body.theme-dark {
  --bg: #120e0b;
  --bg-soft: #17120f;
  --panel: #1f1915;
  --panel-2: #251e18;
  --line: #433429;
  --text: #f4e7d8;
  --muted: #c9ae90;
  --primary: #d89a68;
  --primary-strong: #e4af7e;
  --secondary: #8f6247;
  --gold: #d89a68;
  --gold-strong: #e4af7e;
  --success: #79b98c;
  --danger: #cf7b7b;
  background:
    radial-gradient(circle at top left, rgba(216, 154, 104, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(143, 98, 71, 0.10), transparent 24%),
    linear-gradient(180deg, #17120f 0%, #120e0b 100%);
  color: var(--text);
}

body.theme-dark .topbar {
  background: rgba(24, 19, 15, 0.95);
  border-bottom-color: rgba(216, 154, 104, 0.18);
}

body.theme-dark .nav-row a,
body.theme-dark .section-subtitle,
body.theme-dark .hero-text,
body.theme-dark .social-embed,
body.theme-dark .section-head p,
body.theme-dark .contact-card p,
body.theme-dark .story-card p,
body.theme-dark .menu-intro,
body.theme-dark .footer-inner,
body.theme-dark .admin-login-error {
  color: var(--muted);
}

body.theme-dark .gallery-card,
body.theme-dark .story-card,
body.theme-dark .channel-card,
body.theme-dark .social-card,
body.theme-dark .contact-card,
body.theme-dark .menu-filter-card,
body.theme-dark .panel,
body.theme-dark .auth-card,
body.theme-dark .edit-panel,
body.theme-dark .qr-card,
body.theme-dark .bulk-toolbar,
body.theme-dark .product-card,
body.theme-dark .modal-card {
  background: linear-gradient(180deg, rgba(31, 25, 20, 0.98), rgba(25, 20, 16, 0.98));
  border-color: rgba(216, 154, 104, 0.16);
  color: var(--text);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

body.theme-dark .gallery-frame {
  background: #201913;
}

body.theme-dark .gallery-overlay {
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.88) 100%);
}

body.theme-dark .gallery-arrow,
body.theme-dark .chip,
body.theme-dark .btn-soft,
body.theme-dark .btn-line,
body.theme-dark .btn-mini,
body.theme-dark .btn-danger,
body.theme-dark .modal-close,
body.theme-dark .allergen-btn,
body.theme-dark .theme-toggle {
  border-color: rgba(216, 154, 104, 0.20);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

body.theme-dark .btn-soft:hover,
body.theme-dark .btn-line:hover,
body.theme-dark .btn-mini:hover,
body.theme-dark .chip:hover,
body.theme-dark .modal-close:hover,
body.theme-dark .theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

body.theme-dark .btn-main {
  background: linear-gradient(145deg, #d89a68, #ba7447);
  color: #1d120b;
}

body.theme-dark .hero-tag,
body.theme-dark .price,
body.theme-dark .badge.is-bestseller,
body.theme-dark .nav-row a:hover,
body.theme-dark .nav-row a.is-active,
body.theme-dark .lang-switch button.is-active,
body.theme-dark .channel-link:hover,
body.theme-dark .social-link:hover {
  color: var(--primary);
}

body.theme-dark .badge.is-bestseller {
  background: rgba(216, 154, 104, 0.12);
  border-color: rgba(216, 154, 104, 0.24);
}

body.theme-dark .badge,
body.theme-dark .category-badge,
body.theme-dark .notice,
body.theme-dark .social-embed,
body.theme-dark .dropzone,
body.theme-dark input,
body.theme-dark select,
body.theme-dark textarea,
body.theme-dark .switch-slider,
body.theme-dark .table-wrap {
  border-color: rgba(216, 154, 104, 0.18);
}

body.theme-dark .section-title,
body.theme-dark .story-title,
body.theme-dark .hero-title,
body.theme-dark .banner-title,
body.theme-dark .panel h2,
body.theme-dark .auth-card h2 {
  color: #fff1e2;
}

body.theme-dark .hero-copy-panel,
body.theme-dark .hero-social-panel,
body.theme-dark .about-showcase-copy {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(216, 154, 104, 0.16);
}

body.theme-dark .about-showcase-image {
  border-color: rgba(216, 154, 104, 0.16);
  background: #17120f;
}

body.theme-dark .about-copy p,
body.theme-dark .banner-caption {
  color: var(--muted);
}

body.theme-dark .social-embed,
body.theme-dark .social-card,
body.theme-dark .channel-card {
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.30);
}

body.theme-dark .gallery-dots .gallery-dot {
  background: rgba(255, 255, 255, 0.24);
}

body.theme-dark .gallery-dots .gallery-dot.is-active {
  background: #fff;
}

body.theme-dark .footer {
  background: rgba(255, 255, 255, 0.02);
  border-top-color: rgba(216, 154, 104, 0.16);
}

body.theme-dark .footer-logos a:hover,
body.theme-dark .footer-settings:hover {
  border-color: rgba(216, 154, 104, 0.36);
  background: rgba(255, 255, 255, 0.06);
}

body.theme-dark .map-card iframe,
body.theme-dark iframe[title*="Konum"],
body.theme-dark iframe[title*="Map"] {
  filter: invert(0.9) hue-rotate(180deg) saturate(0.75) contrast(0.92) brightness(0.88);
}

body {
  background:
    radial-gradient(circle at top left, rgba(255, 214, 160, 0.35), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 162, 90, 0.18), transparent 24%),
    linear-gradient(180deg, #f6f1e8 0%, #efe2d0 100%);
  color: #3c2716;
}

.topbar {
  background: rgba(248, 242, 233, 0.92);
  border-bottom-color: rgba(223, 153, 72, 0.20);
}

.nav-row a,
.section-subtitle,
.hero-text,
.social-embed,
.section-head p,
.contact-card p,
.story-card p,
.menu-intro,
.footer-inner,
.admin-login-error {
  color: #6d523a;
}

.gallery-card,
.story-card,
.channel-card,
.social-card,
.contact-card,
.menu-filter-card,
.panel,
.auth-card,
.edit-panel,
.qr-card,
.bulk-toolbar,
.product-card,
.modal-card {
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.98), rgba(248, 238, 226, 0.98));
  border-color: rgba(223, 153, 72, 0.16);
  color: #3f2818;
}

.gallery-frame {
  background: #f8f2eb;
}

.gallery-overlay {
  background: linear-gradient(180deg, transparent 0%, rgba(82, 46, 20, 0.78) 100%);
}

.gallery-arrow,
.chip,
.btn-soft,
.btn-line,
.btn-mini,
.btn-danger,
.modal-close,
.allergen-btn {
  border-color: rgba(201, 121, 39, 0.20);
  color: #6a4324;
  background: rgba(255, 255, 255, 0.72);
}

.btn-soft:hover,
.btn-line:hover,
.btn-mini:hover,
.chip:hover,
.modal-close:hover {
  border-color: #cf7b2d;
  color: #cf7b2d;
}

.btn-main {
  background: linear-gradient(145deg, #e9a85d, #cf7727);
  color: #fff9f2;
}

.btn-main:hover {
  box-shadow: 0 14px 30px rgba(207, 119, 39, 0.24);
}

.hero-tag,
.price,
.badge.is-bestseller,
.nav-row a:hover,
.nav-row a.is-active,
.lang-switch button.is-active,
.channel-link:hover,
.social-link:hover {
  color: #cf7727;
}

.badge.is-bestseller {
  background: rgba(207, 119, 39, 0.12);
  border-color: rgba(207, 119, 39, 0.24);
}

.badge,
.category-badge,
.notice,
.social-embed,
.dropzone,
input,
select,
textarea,
.switch-slider,
.table-wrap {
  border-color: rgba(207, 119, 39, 0.18);
}

.section-title,
.story-title,
.hero-title,
.banner-title,
.panel h2,
.auth-card h2 {
  color: #432717;
}

.hero-copy-grid,
.about-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.hero-copy-panel,
.hero-social-panel,
.about-showcase-copy {
  border-radius: var(--radius-xl);
  padding: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(223, 153, 72, 0.16);
}

.banner-frame {
  margin-bottom: 18px;
}

.banner-gallery {
  min-height: 620px;
}

.banner-title {
  margin: 12px 0 10px;
  max-width: 12ch;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.9;
}

.banner-caption {
  margin: 0;
  max-width: 52ch;
  color: rgba(255, 248, 239, 0.92);
  font-size: 1.02rem;
}

.banner-kicker {
  color: #ffd496;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  margin-bottom: 6px;
}

.about-showcase {
  align-items: center;
}

.about-showcase-image {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(223, 153, 72, 0.16);
  background: #fff;
}

.about-showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.about-showcase-image--tall img {
  min-height: 560px;
}

.about-copy p {
  margin: 0 0 16px;
  line-height: 1.95;
  color: #5e4430;
}

.about-copy p:first-child {
  font-weight: 700;
  color: #3d2516;
}

.social-embed,
.social-card,
.channel-card {
  box-shadow: 0 16px 38px rgba(184, 124, 59, 0.10);
}

.gallery-dots {
  z-index: 2;
}

.gallery-dot {
  background: rgba(255, 255, 255, 0.35);
}

.gallery-dot.is-active {
  background: #fff;
}

.gallery-arrow {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(85, 46, 18, 0.26);
}

@media (max-width: 900px) {
  .hero-copy-grid,
  .about-showcase {
    grid-template-columns: 1fr;
  }

  .banner-gallery {
    min-height: 480px;
  }

  .banner-title {
    max-width: 100%;
  }

  .about-showcase-image--tall img {
    min-height: 340px;
  }
}

body {
  background:
    radial-gradient(circle at top left, rgba(255, 214, 160, 0.35), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 162, 90, 0.18), transparent 24%),
    linear-gradient(180deg, #f6f1e8 0%, #efe2d0 100%);
  color: #3c2716;
}

.topbar {
  background: rgba(248, 242, 233, 0.92);
  border-bottom-color: rgba(223, 153, 72, 0.20);
}

.nav-row a,
.section-subtitle,
.hero-text,
.social-embed,
.section-head p,
.contact-card p,
.story-card p,
.menu-intro,
.footer-inner,
.admin-login-error {
  color: #6d523a;
}

.gallery-card,
.story-card,
.channel-card,
.social-card,
.contact-card,
.menu-filter-card,
.panel,
.auth-card,
.edit-panel,
.qr-card,
.bulk-toolbar,
.product-card,
.modal-card {
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.98), rgba(248, 238, 226, 0.98));
  border-color: rgba(223, 153, 72, 0.16);
  color: #3f2818;
}

.gallery-frame {
  background: #f8f2eb;
}

.gallery-overlay {
  background: linear-gradient(180deg, transparent 0%, rgba(82, 46, 20, 0.78) 100%);
}

.gallery-arrow,
.chip,
.btn-soft,
.btn-line,
.btn-mini,
.btn-danger,
.modal-close,
.allergen-btn {
  border-color: rgba(201, 121, 39, 0.20);
  color: #6a4324;
  background: rgba(255, 255, 255, 0.72);
}

.btn-soft:hover,
.btn-line:hover,
.btn-mini:hover,
.chip:hover,
.modal-close:hover {
  border-color: #cf7b2d;
  color: #cf7b2d;
}

.btn-main {
  background: linear-gradient(145deg, #e9a85d, #cf7727);
  color: #fff9f2;
}

.btn-main:hover {
  box-shadow: 0 14px 30px rgba(207, 119, 39, 0.24);
}

.hero-tag,
.price,
.badge.is-bestseller,
.nav-row a:hover,
.nav-row a.is-active,
.lang-switch button.is-active,
.channel-link:hover,
.social-link:hover {
  color: #cf7727;
}

.badge.is-bestseller {
  background: rgba(207, 119, 39, 0.12);
  border-color: rgba(207, 119, 39, 0.24);
}

.badge,
.category-badge,
.notice,
.social-embed,
.dropzone,
input,
select,
textarea,
.switch-slider,
.table-wrap {
  border-color: rgba(207, 119, 39, 0.18);
}

.section-title,
.story-title,
.hero-title,
.banner-title,
.panel h2,
.auth-card h2 {
  color: #432717;
}

.hero-copy-grid,
.about-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.hero-copy-panel,
.hero-social-panel,
.about-showcase-copy {
  border-radius: var(--radius-xl);
  padding: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(223, 153, 72, 0.16);
}

.banner-frame {
  margin-bottom: 18px;
}

.banner-gallery {
  min-height: 620px;
}

.banner-title {
  margin: 12px 0 10px;
  max-width: 12ch;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.9;
}

.banner-caption {
  margin: 0;
  max-width: 52ch;
  color: rgba(255, 248, 239, 0.92);
  font-size: 1.02rem;
}

.banner-kicker {
  color: #ffd496;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  margin-bottom: 6px;
}

.about-showcase {
  align-items: center;
}

.about-showcase-image {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(223, 153, 72, 0.16);
  background: #fff;
}

.about-showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.about-showcase-image--tall img {
  min-height: 560px;
}

.about-copy p {
  margin: 0 0 16px;
  line-height: 1.95;
  color: #5e4430;
}

.about-copy p:first-child {
  font-weight: 700;
  color: #3d2516;
}

.social-embed,
.social-card,
.channel-card {
  box-shadow: 0 16px 38px rgba(184, 124, 59, 0.10);
}

.gallery-dots {
  z-index: 2;
}

.gallery-dot {
  background: rgba(255, 255, 255, 0.35);
}

.gallery-dot.is-active {
  background: #fff;
}

.gallery-arrow {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(85, 46, 18, 0.26);
}

@media (max-width: 900px) {
  .hero-copy-grid,
  .about-showcase {
    grid-template-columns: 1fr;
  }

  .banner-gallery {
    min-height: 480px;
  }

  .banner-title {
    max-width: 100%;
  }

  .about-showcase-image--tall img {
    min-height: 340px;
  }
}

/* Button Dark Mode Fixes */
html.preload-theme-dark body .btn-main { color: #ffffff; }
html.preload-theme-dark body .btn-ghost { color: #ffffff; border-color: rgba(255, 255, 255, 0.4); }
html.preload-theme-dark body .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
html.preload-theme-dark body .btn-soft { color: #ffffff; }
