/* ============================================================
   TUNAY KANTİN — style.css
   Tek parça, temiz, responsive
   Son güncelleme: 2026-10-24 (takvim UI)
   ============================================================ */

/* ============================================================
   1) DEĞİŞKENLER & RESET
   ============================================================ */
:root {
  --cream: #fbf6ed;
  --paper: #fffdf8;
  --brown: #3d281c;
  --muted: #8a7465;
  --orange: #ca5528;
  --line: #e8ddd0;
  --peach: #f5e8d7;
  --green: #36785e;
  --shadow: 0 18px 50px #5f34150a;

  /* Sidebar */
  --sidebar-width: 260px;
  --sidebar-bg: #3b291e;
  --sidebar-fg: #ceb9a7;
  --sidebar-muted: #a58c77;
  --sidebar-active-bg: #bb552b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: wait; }
button:focus-visible, a:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #d18f48;
  outline-offset: 3px;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 600;
  letter-spacing: -1.8px;
  line-height: 1.08;
}
h1 { font-size: clamp(46px, 5.4vw, 76px); }
h2 { font-size: 42px; }
h3 { font-size: 19px; line-height: 1.35; }
p { color: var(--muted); }
small { font-size: 12px; }

img { max-width: 100%; }
input, textarea, select { min-width: 0; max-width: 100%; }
[hidden] { display: none !important; }

/* ============================================================
   2) LAYOUT / KAP
   ============================================================ */
.container {
  max-width: 1240px;
  width: calc(100% - 96px);
  margin-inline: auto;
}

/* ============================================================
   3) HEADER (PUBLIC SITE)
   ============================================================ */
.topbar {
  background: var(--brown);
  color: #f4dfc6;
  text-align: center;
  font-size: 10px;
  letter-spacing: 2px;
  padding: 9px 25px;
}
.topbar span { margin-left: 60px; letter-spacing: .5px; color: #dbc0a7; }

.site-header {
  max-width: 1440px;
  padding: 26px 48px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 25px;
  line-height: 1.2;
  white-space: nowrap;
}
.brand small {
  display: block;
  font-family: 'Segoe UI', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 3px;
  margin-top: 7px;
}
.brand-icon {
  width: 47px;
  height: 47px;
  background: #eedbc4;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 25px;
  flex-shrink: 0;
}

.site-header nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
  flex-wrap: wrap;
}
.site-header nav a { padding-block: 8px; position: relative; }
.site-header nav a.active:after {
  content: '';
  position: absolute;
  height: 3px;
  width: 16px;
  background: var(--orange);
  left: 0;
  bottom: 0;
}

/* ============================================================
   4) BUTONLAR & FORM
   ============================================================ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  background: var(--orange);
  border: 1px solid var(--orange);
  color: #fff;
  border-radius: 8px;
  padding: 15px 23px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  transition: background .2s, transform .2s;
}
.button:hover { background: #ab4120; transform: translateY(-1px); }
.button.outline { background: transparent; color: var(--brown); border-color: #bca18c; }
.button.outline:hover { background: #f0e2d2; }
.button.small { padding: 10px 17px; font-size: 12px; }
.button.tiny { padding: 6px 10px; font-size: 11px; }

label {
  font-size: 12px;
  font-weight: 600;
  display: block;
  margin-bottom: 7px;
}
input, textarea, select {
  border: 1px solid #ded1c2;
  border-radius: 7px;
  background: #fffdf9;
  color: var(--brown);
  padding: 11px 13px;
  width: 100%;
  font-size: 13px;
}
textarea { resize: vertical; }

.checkbox {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-weight: 400;
}
.checkbox input { width: 16px; flex: 0 0 16px; margin-top: 3px; }

.stack-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}
.stack-form label { margin: 7px 0 0; }
.stack-form small { color: var(--muted); font-size: 10px; }
.stack-form .button { margin-top: 16px; }

.inline-form {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-block: 25px;
  flex-wrap: wrap;
}
.inline-form label { white-space: nowrap; margin: 0; }
.inline-form input { max-width: 400px; }
.inline-form .button { white-space: nowrap; }

.settings-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 25px;
}
.settings-form .button { justify-self: start; }
.settings-form > div,
.full-width { min-width: 0; }
.full-width { grid-column: 1 / -1; }

/* Telefon alanı (+90 prefix) */
.phone-field { display: flex; align-items: stretch; width: 100%; min-width: 0; }
.phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: #f5e9dc;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  flex: 0 0 auto;
  font-weight: 600;
}
.phone-field input { flex: 1; width: 0; min-width: 0; border-radius: 0 8px 8px 0; }

/* Uyarılar */
.alert { padding: 14px 18px; border-radius: 8px; font-size: 13px; margin-bottom: 20px; }
.alert.error { background: #f9e3dc; color: #a33025; }
.alert.success { background: #e5efe5; color: #356b41; }

/* ============================================================
   5) HERO / ANA SAYFA
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 20px;
  align-items: center;
  min-height: 625px;
  padding-block: 55px 65px;
}
.hero-copy { padding-right: 20px; min-width: 0; }

.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--orange);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 20px;
}
.eyebrow i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  margin-right: 7px;
}

.hero h1 { max-width: 580px; margin-bottom: 25px; }
.hero-copy > p {
  font-size: 16px;
  max-width: 440px;
  line-height: 1.8;
  margin-bottom: 30px;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-proof {
  display: flex;
  gap: 17px;
  align-items: center;
  font-size: 12px;
  margin-top: 38px;
  flex-wrap: wrap;
}
.hero-proof small { display: block; color: var(--muted); margin-top: 3px; }
.mini-avatars {
  background: #f0e1cd;
  padding: 8px 12px;
  border-radius: 30px;
  letter-spacing: -4px;
  font-size: 19px;
}

.hero-art {
  position: relative;
  min-height: 475px;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at center, #f2dfc4 0%, #f8eddd 55%, transparent 70%);
  overflow: hidden;
}
.hero-food { width: 110%; max-width: 640px; transform: rotate(-4deg); }
.hero-custom {
  width: 100%;
  max-width: 100%;
  transform: none;
  border-radius: 18px;
  object-fit: contain;
}
.orbit-text {
  position: absolute;
  top: 4px;
  left: 80px;
  transform: rotate(-9deg);
  font-size: 10px;
  letter-spacing: 4px;
  color: #af7954;
}
.sticker {
  position: absolute;
  right: 0;
  top: 70px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #e9a33d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.35;
  font-size: 15px;
  transform: rotate(12deg);
  box-shadow: 4px 6px 0 #dfa05930;
}
.sticker strong { font-family: Georgia, serif; font-size: 24px; }
.fresh-note {
  position: absolute;
  bottom: 15px;
  left: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px 24px;
  font-size: 13px;
  transform: rotate(-5deg);
  box-shadow: var(--shadow);
}
.fresh-note span {
  float: left;
  font-size: 31px;
  color: var(--orange);
  margin-right: 15px;
}

.benefit-strip {
  display: flex;
  justify-content: center;
  gap: 70px;
  background: #efe0cb;
  border-block: 1px solid #e7d3b8;
  padding: 19px 20px;
  color: #775139;
  font-size: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   6) BÖLÜM / KARTLAR
   ============================================================ */
.section { padding-block: 75px 85px; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 30px;
  gap: 20px;
  flex-wrap: wrap;
}
.section-heading > div { min-width: 0; }
.section-heading h2 { margin-bottom: 12px; }
.section-heading .eyebrow { margin-bottom: 14px; }
.section-heading p { margin: 0; }
.text-link {
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 1px solid #c2a389;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-grid > * { min-width: 0; }

.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.product-card:hover { transform: translateY(-4px); }

.product-image {
  background: #f2e6d6;
  position: relative;
  height: auto;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; }

.tag {
  position: absolute;
  left: 14px;
  top: 14px;
  font-size: 9px;
  background: #ffffffbd;
  border: 1px solid #fff;
  border-radius: 30px;
  padding: 3px 10px;
  max-width: calc(100% - 16px);
  white-space: normal;
  line-height: 1.4;
}

.product-body { padding: 21px; min-width: 0; }
.product-body > small { color: #ab7751; font-size: 9px; letter-spacing: .8px; }
.product-body h3 {
  margin: 6px 0 9px;
  font-family: Georgia, serif;
  font-size: 22px;
  overflow-wrap: anywhere;
}
.product-body p {
  font-size: 12px;
  min-height: 40px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
}
.product-bottom strong { font-size: 17px; }

.product-quantity {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.product-quantity button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f4e4d2;
  color: var(--orange);
  font-size: 22px;
  line-height: 1;
}
.product-quantity button:hover { background: var(--orange); color: #fff; }
.product-count {
  min-width: 20px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.add-product {
  background: #f4e4d2;
  color: var(--orange);
  border: 0;
  border-radius: 50%;
  height: 33px;
  width: 33px;
  font-size: 22px;
}
.add-product:hover { background: var(--orange); color: #fff; }

/* ============================================================
   7) HAKKIMIZDA / İÇERİK
   ============================================================ */
.about-teaser {
  background: #f0e3d2;
  border-radius: 17px;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 65px;
  padding: 45px 70px;
  margin-bottom: 85px;
}
.about-teaser p { max-width: 520px; font-size: 14px; }
.about-teaser h2 { font-size: 36px; line-height: 1.2; }

.about-illustration { position: relative; display: grid; place-items: center; }
.about-illustration img {
  width: 240px;
  transform: rotate(-10deg);
  border-radius: 50%;
}
.about-illustration span {
  font-family: Georgia, serif;
  font-size: 22px;
  line-height: 1.3;
  position: absolute;
  bottom: 5px;
  right: 0;
  transform: rotate(-6deg);
}

.content-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  padding-bottom: 90px;
}
.content-split > * { min-width: 0; }
.content-split h2 { font-size: 36px; }

.story-art {
  background: #eee0cd;
  border-radius: 20px;
  display: grid;
  place-items: center;
}
.story-art img { width: 100%; }

.preserve { white-space: pre-line; }

.values { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 20px; }
.values strong { font-size: 13px; }
.values p { font-size: 13px; margin-top: 3px; }

/* ============================================================
   8) İLETİŞİM
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.contact-grid > * { min-width: 0; }

.contact-card {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
  padding: 32px;
  overflow-wrap: anywhere;
}
.contact-card > span { font-size: 32px; color: var(--orange); }
.contact-card h3 { margin-top: 20px; }
.contact-card p, .contact-card a { font-size: 14px; }

.contact-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  background: #f0e2d1;
  border-radius: 16px;
  margin-bottom: 80px;
  gap: 20px;
  flex-wrap: wrap;
}
.contact-banner h2 { margin-bottom: 10px; }
.contact-banner p { margin: 0; }

/* ============================================================
   9) FOOTER
   ============================================================ */
footer {
  background: #3b291e;
  color: #f5e7d5;
  padding: 50px 0 0;
}
footer p { color: #c4ae9a; font-size: 12px; }
footer .brand-icon { background: #644938; }
footer .brand { font-size: 23px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 45px;
}
.footer-grid > * { min-width: 0; }
.footer-grid > div > strong {
  display: block;
  font-size: 12px;
  margin-bottom: 16px;
  color: #f0d1b1;
}
.footer-grid > div > a:not(.brand) {
  display: block;
  font-size: 12px;
  color: #c4ae9a;
  margin-bottom: 8px;
}
.footer-grid > div:first-child p { margin-top: 20px; }
.footer-grid small { font-size: 9px; color: #ac8a6f; }

.footer-bottom {
  border-top: 1px solid #644a38;
  padding-block: 20px;
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #b69a82;
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================================
   10) SAYFA INTRO / MENÜ
   ============================================================ */
.page-intro { padding-block: 65px 40px; }
.page-intro h1 { font-size: 60px; margin-bottom: 22px; overflow-wrap: anywhere; }
.page-intro p { max-width: 620px; }

.menu-section { padding-bottom: 80px; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.filters button {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 30px;
  padding: 10px 22px;
  color: var(--brown);
  font-size: 12px;
}
.filters button.selected {
  background: var(--brown);
  color: #fff;
  border-color: var(--brown);
}

/* ============================================================
   11) SEPET / SOHBET MODAL
   ============================================================ */
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
  width: 420px;
  max-width: calc(100vw - 28px);
  max-height: 85vh;
  box-shadow: 0 25px 100px #3d281c40;
  color: var(--brown);
  background: var(--paper);
}
dialog::backdrop {
  background: #35201060;
  backdrop-filter: blur(3px);
}

.chat-header {
  display: flex;
  justify-content: space-between;
  background: var(--brown);
  color: #fff;
  padding: 20px;
}
.chat-header strong { font-size: 15px; }
.chat-header small { display: block; color: #d9bda3; }
.chat-header button {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 26px;
}

.bubble {
  font-size: 13px;
  background: #f3e8d9;
  border-radius: 10px;
  padding: 13px;
  color: var(--brown);
  max-width: 93%;
  margin-bottom: 12px;
}
.bubble.user {
  background: #c65c32;
  color: #fff;
  margin-left: auto;
  max-width: 80%;
}

#chat-messages { padding: 20px 20px 0; max-height: 240px; overflow: auto; }
#chat-form, #chat-picker { padding: 0 20px 20px; }
#chat-restart { margin: 0 20px 20px; }
.chat-input-row {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 8px;
}
.chat-input-row input { min-width: 0; }
.chat-input-row .button { padding: 12px; }
.chat-input-row input[type=number] { width: 70px; }
.chat-input-row label { margin: 0; }
#chat-picker select { margin-bottom: 8px; }
#chat-error { font-size: 12px; color: #ae342b; margin: 9px 0; }
#place-order { width: 100%; }

#cart-items { padding: 0; list-style: none; font-size: 12px; }
#cart-items li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
#cart-items li > span:first-child {
  flex: 1;
  min-width: 140px;
  overflow-wrap: anywhere;
}
#cart-items button {
  border: 0;
  background: transparent;
  font-size: 18px;
  color: var(--orange);
}
.cart-controls { display: flex; gap: 6px; }
.cart-controls button {
  width: 36px;
  min-height: 36px;
  border: 1px solid var(--line) !important;
  border-radius: 6px;
  background: var(--cream) !important;
}
#cart-total { font-size: 14px; }

#cart-feedback {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: var(--brown);
  color: #fff;
  border-radius: 12px;
  padding: 14px 20px;
  width: max-content;
  max-width: calc(100vw - 32px);
  box-shadow: 0 8px 30px #0003;
  font-size: 14px;
  pointer-events: none;
  margin: 0;
  text-align: center;
}
#cart-feedback:empty { display: none; }

.cart-icon { flex-shrink: 0; vertical-align: middle; }
.chat-float { display: flex; align-items: center; gap: 8px; }

/* ============================================================
   12) LOGIN
   ============================================================ */
.login-page {
  min-height: 100vh;
  background: radial-gradient(ellipse at top, #f1d3ac, transparent 65%), var(--cream);
  display: grid;
  place-items: center;
  padding: 60px 20px;
  grid-template-columns: minmax(0, 1fr);
}
.back-link { position: absolute; left: 35px; top: 30px; font-size: 13px; }

.login-card {
  width: min(430px, 100%);
  min-width: 0;
  padding: 40px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 19px;
  box-shadow: var(--shadow);
  text-align: center;
  justify-self: center;
  overflow-wrap: anywhere;
}
.login-card form { min-width: 0; }
.login-symbol { display: block; font-size: 40px; margin-bottom: 12px; }
.login-card .eyebrow { margin-bottom: 15px; }
.login-card h1 { font-size: 34px; letter-spacing: -1px; }
.login-card p { font-size: 13px; }
.login-card form { text-align: left; margin-top: 25px; }
.login-card input { margin-bottom: 18px; }
.login-card .button { width: 100%; margin-top: 3px; }
.login-card > small {
  display: block;
  margin-top: 25px;
  color: var(--muted);
  font-size: 10px;
}

.account-login { margin-inline: auto; max-width: 100%; }

/* ============================================================
   13) ADMIN — SIDEBAR
   ============================================================ */
.admin-page { background: #f7f3ec; }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  background: var(--sidebar-bg);
  color: #f1e2d0;
  z-index: 50;
  overflow: hidden;
  padding: 0;
}

.sidebar .brand {
  flex: 0 0 auto;
  padding: 22px 20px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  line-height: 1.2;
  white-space: normal;
}
.sidebar .brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 2px;
  color: #bda18b;
  margin-top: 4px;
}
.sidebar .brand-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #614533;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
}

.sidebar .sidebar-label {
  flex: 0 0 auto;
  padding: 6px 20px 4px;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--sidebar-muted);
  text-transform: uppercase;
}

.sidebar nav {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 4px 10px 12px;
  display: block;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.18) transparent;
}
.sidebar nav::-webkit-scrollbar { width: 6px; }
.sidebar nav::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.18);
  border-radius: 3px;
}

.sidebar-group-label {
  display: block;
  padding: 14px 8px 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--sidebar-muted);
  text-transform: uppercase;
}
.sidebar-group-label:first-child { padding-top: 4px; }

.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  margin: 1px 0;
  font-size: 13px;
  line-height: 1.25;
  color: var(--sidebar-fg);
  text-decoration: none;
  border-radius: 7px;
  transition: background .12s;
}
.sidebar nav a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.sidebar nav a.active {
  background: var(--sidebar-active-bg);
  color: #fff;
  font-weight: 600;
}

.sidebar nav a .nav-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar nav a .nav-arrow {
  flex: 0 0 auto;
  font-size: 11px;
  color: #b49376;
  opacity: .6;
}
.sidebar nav a.active .nav-arrow { opacity: .95; color: #fff; }

.sidebar .inbox-badge {
  flex: 0 0 auto;
  min-width: 20px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  color: #fff !important;
  background: #cd532b;
  border-radius: 999px;
}
.sidebar .inbox-badge[hidden] { display: none !important; }

.sidebar .sidebar-bottom {
  flex: 0 0 auto;
  padding: 14px 20px 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  margin-top: 0;
}
.sidebar .sidebar-bottom a {
  color: #d6bdab;
  text-decoration: none;
  font-size: 12px;
}
.sidebar .sidebar-bottom a:hover { color: #fff; }
.sidebar .sidebar-bottom .logout {
  background: none;
  border: 0;
  color: #d6bdab;
  padding: 0;
  font: inherit;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}
.sidebar .sidebar-bottom .logout:hover { color: #fff; }
.sidebar .sidebar-bottom small { color: var(--sidebar-muted); font-size: 9px; }

.sidebar-toggle {
  display: none;
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 60;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--sidebar-active-bg);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  align-items: center;
  justify-content: center;
}

.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 45;
}

.admin-main {
  margin-left: var(--sidebar-width);
  padding: 40px 45px;
  max-width: 1700px;
  min-width: 0;
  min-height: 100vh;
}

/* ============================================================
   14) ADMIN — İÇERİK
   ============================================================ */
.admin-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-heading > div { min-width: 0; }
.admin-heading .eyebrow { margin-bottom: 14px; font-size: 9px; }
.admin-heading h1 {
  font-size: clamp(27px, 5vw, 41px);
  margin-bottom: 0;
  overflow-wrap: anywhere;
}
.admin-user {
  font-size: 11px;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 9px 16px;
  color: var(--green);
  background: var(--paper);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}
.stats article {
  background: var(--paper);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 0;
}
.stats article span { display: block; font-size: 12px; color: var(--muted); }
.stats strong {
  font-family: Georgia, serif;
  font-size: clamp(22px, 2.6vw, 39px);
  display: block;
  margin-block: 6px;
  overflow-wrap: anywhere;
}
.stats small { font-size: 10px; color: var(--muted); }

.admin-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.admin-panel h2 {
  font-family: 'Segoe UI', sans-serif;
  letter-spacing: -.4px;
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}
.admin-panel p { font-size: 12px; }

.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}
.panel-title > div { min-width: 0; }

.admin-columns {
  display: grid;
  grid-template-columns: minmax(270px, .7fr) minmax(300px, 1.3fr);
  gap: 25px;
  align-items: start;
}
.admin-columns > * { min-width: 0; }

.table-wrap {
  overflow: auto;
  max-width: 100%;
  overscroll-behavior-x: contain;
  margin-top: 12px;
}
table { border-collapse: collapse; width: 100%; font-size: 12px; }
th {
  text-align: left;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .7px;
  font-weight: 500;
  border-block: 1px solid var(--line);
  padding: 14px 10px;
  white-space: nowrap;
}
td {
  padding: 20px 10px;
  border-bottom: 1px solid #f0e8dd;
  vertical-align: middle;
  overflow-wrap: anywhere;
}
td small { display: block; margin-top: 5px; font-size: 10px; color: var(--muted); }

.status-form { display: flex; gap: 6px; align-items: center; }
.status-form select { min-width: 120px; font-size: 11px; padding: 8px; }
.status-form .button { padding: 8px; font-size: 10px; }

.status-badge {
  display: inline-block;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  line-height: 1.5;
  white-space: nowrap;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 16px 0;
}
.filter-bar label {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  min-width: 0;
}
.filter-bar label input,
.filter-bar label select { min-width: 0; }
.filter-bar label input[type=search] { min-width: 180px; }
.filter-bar .button { align-self: flex-end; }

.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin: 0 0 20px;
}
.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.stat-card:hover { border-color: var(--orange); }
.stat-num {
  font-size: 28px;
  font-weight: 700;
  font-family: Georgia, serif;
  overflow-wrap: anywhere;
}
.stat-label { font-size: 12px; color: var(--muted); }
.stat-today { background: #FFFBEB; }

.bulk-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 12px;
}
.bulk-bar .button { padding: 7px 12px; font-size: 11px; }

.bulk-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin: 18px 0;
}
.bulk-actions .checkbox { margin: 0; }
.order-select { width: 20px; height: 20px; }

.order-filter {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
}
.order-filter select { width: 180px; }
.order-filter label { margin: 0; }

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
  font-size: 12px;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid transparent;
}
.pagination a { border-color: var(--line); }
.pagination a.active {
  background: var(--brown);
  color: #fff;
  border-color: var(--brown);
  font-weight: 600;
}

.admin-product-list article {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.admin-product-list article > div:nth-child(2) { flex: 1; min-width: 0; }
.admin-product-list img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  background: var(--peach);
  border-radius: 8px;
  flex-shrink: 0;
}
.admin-product-list h3 { font-size: 14px; margin: 0 0 5px; overflow-wrap: anywhere; }
.admin-product-list small { color: var(--muted); font-size: 10px; }
.admin-product-list strong { display: block; font-size: 13px; margin-top: 5px; }

.row-actions {
  font-size: 11px;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex-shrink: 0;
}
.danger-link {
  background: none;
  border: 0;
  padding: 0;
  color: #b04432;
  font-size: 11px;
}

.edit-photo {
  height: 100px;
  width: 130px;
  object-fit: cover;
  border-radius: 6px;
}

.category-list article {
  display: flex;
  gap: 20px;
  align-items: center;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  padding-block: 8px;
}
.category-list .inline-form { flex: 1; margin-block: 17px; min-width: 0; }
.category-list small { min-width: 50px; color: var(--muted); }

.password-panel { margin-top: 25px; }
.password-panel .inline-form label { flex: 1; }
.password-panel input { display: block; margin-top: 9px; }

.empty-state { text-align: center; padding: 65px 20px; }
.empty-state > span { font-size: 45px; }
.empty-state h3 { margin-top: 15px; font-family: Georgia, serif; font-size: 25px; }
.empty-state p { font-size: 13px; }

.photo-preview {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--cream);
}
#photo-status { font-size: 12px; margin: 5px 0; color: var(--green); }

/* ============================================================
   15) BÜLTEN / BANNER / SOSYAL / ETKİNLİK
   ============================================================ */
.bulletin-section { padding-block: 36px; }
.bulletin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.bulletin-grid > * { min-width: 0; overflow-wrap: anywhere; }
.bulletin-edit {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 30px;
}
.banner-preview { width: 100%; max-width: 500px; border-radius: 12px; }

[data-slide][hidden] { display: none !important; }
.banner-rotator { width: 100%; min-width: 0; }
.banner-rotator .hero-food { aspect-ratio: 4 / 3; object-fit: contain; }
.rotator-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 0;
  position: relative;
  z-index: 3;
}
.rotator-dot {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: #dfc4ae;
  cursor: pointer;
}
.rotator-dot[aria-pressed=true] { background: var(--orange, #ce552d); }
.rotator-pause {
  border: 1px solid #dfc4ae;
  background: var(--cream, #fff8f0);
  border-radius: 12px;
  padding: 6px 12px;
  cursor: pointer;
}
.bulletin-grid.bulletin-rotator { display: block; }
.bulletin-rotator .contact-card {
  min-height: 180px;
  overflow-wrap: anywhere;
}
.banner-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 20px;
  margin-top: 24px;
}
.banner-gallery img { aspect-ratio: 4 / 3; object-fit: contain; }
.rotator-dot:focus-visible, .rotator-pause:focus-visible {
  outline: 3px solid #40271c;
  outline-offset: 2px;
}

.event-grid { display: flex; flex-direction: column; gap: 20px; }
.event-list-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px;
  scroll-margin-top: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.event-list-image {
  aspect-ratio: 4 / 3;
  background: #faf3eb;
  border-radius: 12px;
  overflow: hidden;
}
.event-list-image img { width: 100%; height: 100%; object-fit: contain; }
.event-list-main { min-width: 0; }
.event-list-content {
  max-height: 180px;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.event-list-content h2 { font-size: 26px; margin: 0 0 12px; }
.event-list-content ul { margin-bottom: 0; line-height: 1.9; padding-left: 24px; }
.event-list-item.is-expanded .event-list-content { max-height: none; overflow: visible; }
.event-expand {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 12px 0;
  text-align: left;
  min-height: 44px;
  color: var(--orange);
  font-weight: 600;
}
.event-expand[hidden] { display: none; }
.event-list-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
}
.event-price {
  margin: 0;
  padding: 0;
  font-size: 24px;
  color: var(--orange);
}
.event-list-footer .button { max-width: 100%; white-space: normal; }

.social-intro { padding-bottom: 25px; }
.social-intro p { max-width: 660px; }
.social-section { padding-bottom: 85px; max-width: 950px; }
.social-tabs { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.social-tabs button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 25px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--brown);
  font-size: 14px;
}
.social-tabs button span { font-size: 22px; line-height: 1; }
.social-tabs button[aria-selected=true] {
  background: var(--brown);
  color: var(--cream);
  border-color: var(--brown);
}
.social-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.social-profile-heading {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 24px;
  overflow-wrap: anywhere;
}
.social-profile-heading > div { min-width: 0; }
.social-avatar {
  height: 60px;
  width: 60px;
  flex-shrink: 0;
  border-radius: 17px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 38px;
}
.social-avatar.instagram {
  background: linear-gradient(135deg, #7949ba, #c94579, #e9a449);
}
.social-avatar.tiktok {
  background: #282125;
  text-shadow: 2px 1px #e85876, -2px -1px #53cfc8;
}
.social-profile-heading h2 {
  font-size: 27px;
  margin: 0 0 6px;
  letter-spacing: -.7px;
  overflow-wrap: anywhere;
}
.social-profile-heading span { font-size: 12px; color: var(--muted); }
.social-platform-label {
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 6px 15px;
}
.social-demo-label {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--orange);
  background: #f9eadb;
  border-radius: 4px;
  padding: 5px 10px;
}
.social-bio { font-size: 13px; line-height: 1.8; margin: 16px 0 22px; }
.social-demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.social-demo-post {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: var(--peach);
  aspect-ratio: 1;
}
.social-demo-post img { width: 100%; height: 100%; object-fit: cover; }
.social-post-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, #3d281cd0);
  color: #fff;
  padding: 30px 14px 13px;
  font-size: 12px;
}
.video-grid .social-demo-post { aspect-ratio: 3 / 4; }
.video-grid img { height: 100%; object-fit: cover; }
.social-play {
  position: absolute;
  top: 42%;
  left: calc(50% - 22px);
  height: 44px;
  width: 44px;
  border-radius: 50%;
  background: #fff8;
  color: var(--brown);
  display: grid;
  place-items: center;
  padding-left: 3px;
}
.social-setup-note {
  background: #f7efe4;
  border: 1px solid var(--line);
  padding: 17px 20px;
  border-radius: 10px;
  margin-top: 24px;
  font-size: 12px;
}
.social-setup-note p { font-size: 12px; margin: 6px 0 0; }
.social-live { min-height: 360px; display: flex; justify-content: center; overflow: hidden; }
.instagram-media { width: 100%; max-width: 540px; margin: 0; }
.tiktok-embed { width: 100%; max-width: 720px; min-width: 288px; margin: 0; }
.embed-note { margin: 18px 0 10px; font-size: 11px; }
.social-panel .text-link { font-size: 11px; }

.instagram-post-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.instagram-post-grid .instagram-media {
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 !important;
}
.instagram-post-grid > * { min-width: 0; }

/* ============================================================
   16) ETKİNLİK TALEBİ (PUBLIC FORM)
   ============================================================ */
.event-request-page { max-width: 820px; }
.event-request-page h1 { font-size: clamp(26px, 6vw, 40px); }
.event-request-page .event-price { display: block; margin-bottom: 24px; }
.event-request-page .checkbox input { flex: 0 0 20px; width: 20px; }
.event-request-page select { width: 100%; max-width: 100%; }
.event-request-page input[type=file] { max-width: 100%; }

.payment-iban { overflow-wrap: anywhere; font-size: 18px; }
dt { font-weight: 700; }
dd { margin: 4px 0 16px; overflow-wrap: anywhere; }

.detail-dl { margin: 0; }
.detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 25px;
  margin-bottom: 20px;
}
.detail-grid > * { min-width: 0; }

.receipt-preview {
  width: 100%;
  height: 500px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.inbox-badge {
  background: #cd532b;
  color: #fff !important;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 12px;
}
.inbox-badge[hidden], .request-new[hidden] { display: none !important; }

.request-mail {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 12px;
  overflow: hidden;
}
.request-mail summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  list-style: none;
}
.request-mail summary::-webkit-details-marker { display: none; }
.request-mail summary:after { content: '⌄'; }
.request-mail[open] summary:after { content: '⌃'; }
.request-mail-title { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.request-mail-title small { display: block; }
.request-mail time { font-size: 12px; }
.request-mail.is-unread summary { background: #fff0e2; }
.request-new {
  background: #cd532b;
  color: #fff;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 11px;
}
.request-mail-body {
  padding: 20px;
  border-top: 1px solid var(--line);
}

.request-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #187b59;
  color: #fff;
  margin-left: auto;
}
.request-whatsapp:hover { background: #125e44; }
.request-whatsapp svg { display: block; width: 24px; height: 24px; }

.card-explanation { margin-bottom: 24px; }
.card-explanation .preserve { line-height: 1.8; overflow-wrap: anywhere; }

/* ============================================================
   17) YARDIMCI / DİĞER
   ============================================================ */
.content-photo {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 18px;
  background: #faf3eb;
}

.customer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}
.customer-name {
  max-width: 180px;
  overflow-wrap: anywhere;
  font-weight: 700;
}
.customer-actions .button { white-space: nowrap; flex-shrink: 0; }
.customer-login { justify-self: end; }

.live-orders-status { color: var(--green); font-size: 12px; margin: -12px 0 24px; }
.whatsapp-float svg { display: block; }
.site-header > button.open-chat { gap: 5px; }

.floating-actions {
  position: fixed;
  right: 25px;
  bottom: 24px;
  display: flex;
  gap: 10px;
  z-index: 10;
}
.chat-float, .whatsapp-float {
  box-shadow: 0 8px 22px #46280c20;
  border: 0;
  background: var(--orange);
  color: #fff;
  border-radius: 30px;
  padding: 14px 20px;
  font-weight: 600;
  font-size: 13px;
}
.whatsapp-float {
  background: var(--green);
  width: 49px;
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 23px;
}

/* ============================================================
   18) TAKVİM
   ============================================================ */

.calendar-legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
}
.calendar-legend .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.calendar-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* Yaklaşan şerit */
.upcoming-strip {
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 12px;
}
.upcoming-strip strong {
  display: block;
  margin-bottom: 8px;
  color: #1e40af;
}
.upcoming-strip ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.upcoming-strip li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  font-size: 11px;
  color: var(--brown);
  text-decoration: none;
}
.upcoming-strip li a:hover { border-color: #3b82f6; }
.upcoming-strip .upcoming-date { font-weight: 700; }
.upcoming-strip .upcoming-time { color: var(--muted); }
.upcoming-strip .upcoming-title { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upcoming-strip .upcoming-student { color: var(--muted); font-style: italic; }

/* Ana yerleşim: takvim + gün paneli */
.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: start;
}

/* Takvim navigasyonu */
.calendar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.calendar-nav strong {
  font-size: 16px;
  font-family: Georgia, serif;
}

/* Grid */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px;
}
.calendar-wd {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--muted);
  padding: 6px 0;
  background: var(--paper);
  border-radius: 6px;
}

/* ============================================================
   TAKVİM — ETKİNLİKLİ GÜN HÜCRELERİ (havalı)
   ============================================================ */

.calendar-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 96px;
  padding: 8px 9px 8px 14px;          /* solda renk şeridi için ekstra */
  background: var(--paper);
  border-radius: 8px;
  color: var(--brown);
  text-decoration: none;
  font-size: 12px;
  border: 1px solid transparent;
  transition: background .15s, box-shadow .15s, transform .15s;
  overflow: hidden;
}

/* Sol renkli şerit — sadece etkinlikli günlerde */
.calendar-cell.has-events::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--day-color, #9CA3AF);
  border-radius: 8px 0 0 8px;
}

.calendar-cell:hover {
  background: #fff7ec;
  border-color: var(--orange);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.calendar-cell.is-empty {
  background: transparent;
  cursor: default;
  min-height: 96px;
}
.calendar-cell.is-empty:hover {
  background: transparent;
  border-color: transparent;
  transform: none;
  box-shadow: none;
}

.calendar-cell.is-today {
  box-shadow: inset 0 0 0 2px var(--orange);
}
.calendar-cell.is-selected {
  background: #fff2df;
  border-color: var(--orange);
}
.calendar-cell.has-events {
  background: linear-gradient(180deg, #fffdf8 0%, #fffaf3 100%);
}
.calendar-cell.has-events.is-selected {
  background: #ffe8cf;
}

/* Hücre içi parçalar */
.calendar-day-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.calendar-day-num {
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}
.calendar-cell.is-today .calendar-day-num {
  color: var(--orange);
  font-size: 16px;
}

.calendar-time-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--day-color, #9CA3AF);
  color: #fff;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.calendar-event-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-top: 2px;
}

.calendar-count {
  display: flex;
  align-items: baseline;
  gap: 3px;
  line-height: 1;
}
.calendar-count-num {
  font-size: 16px;
  font-weight: 800;
  color: var(--day-color, var(--brown));
  font-family: Georgia, serif;
}
.calendar-count-label {
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
}

.calendar-status-dots {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
}
.calendar-status-dots i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #fff;
}

.calendar-preview {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  font-size: 10px;
  color: var(--brown);
  line-height: 1.2;
  padding: 3px 6px;
  background: rgba(255,255,255,0.7);
  border-radius: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.calendar-preview strong {
  font-weight: 600;
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.calendar-preview-more {
  font-size: 9px;
  color: var(--muted);
  font-weight: 700;
  margin-left: auto;
  padding: 1px 4px;
  background: #f0e8dd;
  border-radius: 4px;
}

/* Gün paneli */
.calendar-day-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  position: sticky;
  top: 20px;
}
.calendar-day-panel h3 {
  margin: 0 0 14px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.today-tag {
  font-size: 10px;
  background: var(--orange);
  color: #fff;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
}
.calendar-empty {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  padding: 24px 0;
}

.event-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.event-card-mini {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fffdf8;
}
.event-card-mini header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 8px;
}
.event-card-mini .event-time {
  font-size: 16px;
  font-weight: 700;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}
.event-card-mini h4 {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.35;
  font-family: 'Segoe UI', sans-serif;
  font-weight: 700;
}
.event-card-mini dl {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 4px 8px;
  margin: 0 0 10px;
  font-size: 11px;
}
.event-card-mini dt {
  color: var(--muted);
  font-weight: 600;
}
.event-card-mini dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.event-card-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* ============================================================
   19) RESPONSIVE
   ============================================================ */

@media (min-width: 1500px) {
  .hero { min-height: 670px; }
  .site-header { padding-inline: 80px; }
}

@media (max-width: 1100px) {
  .container { width: calc(100% - 60px); }
  .site-header { padding-inline: 30px; }
  .site-header nav { gap: 18px; }
  .hero { min-height: 580px; }
  .hero-art { min-height: 400px; }
  .benefit-strip { gap: 30px; }
  .product-grid { gap: 15px; }
  .product-image { height: auto; }
  .product-body { padding: 17px; }
  .product-body h3 { font-size: 19px; }
  .about-teaser { padding: 40px; gap: 35px; }
  .admin-page { --sidebar-width: 220px; }
  .sidebar .brand { font-size: 18px; padding: 18px 16px 12px; }
  .sidebar .brand-icon { width: 36px; height: 36px; font-size: 20px; }
  .sidebar nav a { font-size: 12.5px; padding: 8px 10px; }
  .sidebar-group-label { font-size: 9.5px; padding: 12px 8px 4px; }
  .admin-main { padding: 30px 25px; }
  .admin-columns { grid-template-columns: 1fr; }
  .stats { gap: 12px; }
  .stats article { padding: 18px; }
  .detail-grid { grid-template-columns: 1fr; }
  .instagram-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calendar-layout { grid-template-columns: 1fr; }
  .calendar-day-panel { position: static; }
}

@media (max-width: 900px) {
  .sidebar {
    width: 280px;
    transform: translateX(-100%);
    transition: transform .22s ease;
    box-shadow: 2px 0 24px rgba(0,0,0,0.35);
  }
  .sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; padding: 64px 20px 30px; }
  .sidebar-toggle { display: flex; }
  .sidebar-backdrop.show { display: block; }
  .calendar-cell {
    min-height: 84px;
    padding: 6px 7px 6px 12px;
  }
  .calendar-time-badge { font-size: 9px; padding: 1px 4px; }
  .calendar-count-num { font-size: 14px; }
  .calendar-count-label { font-size: 9px; }
  .calendar-preview { font-size: 9px; padding: 2px 4px; }
  .calendar-preview strong { font-size: 9px; }
  .calendar-status-dots i { width: 6px; height: 6px; }
}

@media (max-width: 760px) {
  .topbar { font-size: 8px; }
  .topbar span { display: none; }

  .site-header {
    flex-wrap: wrap;
    padding: 18px 20px;
    gap: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
  .site-header .brand {
    min-width: 0;
    white-space: normal;
    font-size: clamp(18px, 4.6vw, 22px);
    gap: 9px;
  }
  .site-header .brand > span:last-child { min-width: 0; overflow-wrap: anywhere; }
  .site-header .brand small { font-size: 8px; letter-spacing: 1.5px; }
  .site-header .brand-icon { width: 38px; height: 38px; font-size: 22px; }
  .site-header > button {
    max-width: 100%;
    padding: 10px 12px;
    gap: 4px;
    font-size: 12px;
    white-space: nowrap;
    min-height: 44px;
  }
  .site-header nav {
    grid-column: 1 / -1;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 4px 16px;
  }
  .site-header nav a {
    font-size: 12px;
    min-height: 40px;
    white-space: nowrap;
    display: flex;
    align-items: center;
  }
  .customer-name { max-width: 110px; font-size: 12px; }
  .customer-actions { gap: 8px; }
  .customer-actions .button { font-size: 12px; padding: 10px; }
  .site-header .customer-actions { justify-self: end; }

  .container { width: calc(100% - 40px); }

  .hero {
    grid-template-columns: 1fr;
    padding-block: 40px 30px;
    gap: 0;
  }
  .hero-copy { padding: 0; }
  .hero h1, .page-intro h1 {
    font-size: clamp(36px, 10vw, 50px);
    overflow-wrap: anywhere;
  }
  .hero-copy > p { font-size: 14px; }
  .hero-art {
    min-height: 300px;
    max-width: 500px;
    width: 100%;
    margin: 30px auto 0;
  }
  .hero-food { width: 100%; }
  .sticker { width: 80px; height: 80px; right: 15px; font-size: 12px; }
  .sticker strong { font-size: 19px; }
  .orbit-text { top: 0; left: 40px; font-size: 8px; }
  .fresh-note { bottom: 4px; font-size: 11px; max-width: 85%; left: 8px; padding: 10px 15px; }

  .benefit-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    font-size: 10px;
    text-align: center;
  }

  .section { padding-block: 50px; }
  .section-heading { gap: 14px; align-items: flex-start; }
  .section-heading h2 { font-size: 33px; }
  .section-heading p { font-size: 12px; }
  .section-heading .text-link { font-size: 10px; white-space: normal; }

  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .product-image { height: auto; }
  .product-body { padding: 14px 12px; }
  .product-body h3 { font-size: 18px; }
  .product-body p { font-size: 11px; min-height: 0; }
  .product-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .product-bottom strong { font-size: 15px; }
  .product-quantity { margin-left: 0; max-width: 100%; gap: 4px; }
  .product-quantity button { width: 40px; height: 40px; min-width: 40px; }
  .product-count { min-width: 18px; }
  .tag { font-size: 8px; left: 9px; top: 9px; padding: 3px 8px; }
  .add-product { width: 44px; height: 44px; flex-shrink: 0; }

  .about-teaser {
    grid-template-columns: 1fr;
    padding: 30px;
    gap: 25px;
    margin-bottom: 50px;
  }
  .about-illustration { min-height: 225px; }
  .about-illustration span { right: 20px; }
  .about-teaser h2 { font-size: 31px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-grid .brand { white-space: normal; }
  .footer-grid .brand small { letter-spacing: 1.5px; }
  .footer-bottom { flex-direction: column; gap: 7px; padding-bottom: 85px; }

  .floating-actions { right: 15px; bottom: 15px; }

  .page-intro { padding-block: 45px 25px; }
  .page-intro h1 { font-size: 45px; }
  .page-intro p { font-size: 13px; }

  .content-split { grid-template-columns: 1fr; gap: 35px; padding-bottom: 50px; }
  .story-art { max-height: 330px; }
  .story-art img { max-height: 330px; }

  .contact-grid { grid-template-columns: 1fr; gap: 15px; }
  .contact-card { padding: 25px; }
  .contact-card h3 { margin-top: 10px; }
  .contact-card a { overflow-wrap: anywhere; }
  .contact-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    margin-bottom: 50px;
  }
  .contact-banner h2 { font-size: 35px; }

  .login-page { padding: 80px 20px 32px; min-height: 100svh; }
  .login-card { padding: 28px 24px; }
  .login-card input, .login-card button { font-size: 16px; }
  .back-link { left: 20px; top: 24px; }

  .admin-heading { gap: 12px; }
  .admin-heading h1 { font-size: clamp(27px, 8vw, 33px); }
  .admin-user { font-size: 10px; padding: 7px 12px; }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats article { padding: 16px 12px; }
  .stats strong { font-size: 25px; }

  .admin-panel { padding: 20px; }
  .admin-columns { display: block; }
  .admin-columns .admin-panel { margin-bottom: 22px; }
  .settings-form { grid-template-columns: 1fr; gap: 20px; }

  .inline-form { flex-wrap: wrap; gap: 12px; }
  .category-list article { gap: 12px; padding-block: 12px; }
  .category-list .inline-form { flex-basis: 100%; min-width: 0; margin: 0; }
  .category-list input { width: 100%; }
  .password-panel .inline-form { flex-direction: column; align-items: stretch; }

  .admin-product-list img { width: 55px; height: 55px; }
  .admin-product-list article { gap: 10px; }
  .order-filter { gap: 10px; flex-wrap: wrap; }

  .admin-heading, .panel-title, .section-heading { flex-wrap: wrap; }
  .admin-main { min-width: 0; }

  h2 { font-size: 33px; }

  .social-section { padding-bottom: 50px; }
  .social-panel { padding: 20px; }
  .social-avatar { height: 46px; width: 46px; font-size: 30px; }
  .social-profile-heading { gap: 12px; flex-wrap: wrap; }
  .social-profile-heading h2 { font-size: 23px; }
  .social-platform-label { display: none; }
  .social-tabs button { padding: 11px 20px; font-size: 12px; }
  .social-demo-grid { gap: 7px; }
  .social-post-caption { padding: 22px 7px 8px; font-size: 9px; }
  .social-play { height: 33px; width: 33px; left: calc(50% - 16px); font-size: 12px; }
  .social-setup-note { padding: 15px; }
  .social-live { min-width: 0; }
  .tiktok-embed { min-width: 0 !important; }
  .social-live iframe { max-width: 100% !important; }

  .site-header nav { flex-wrap: wrap; gap: 8px 12px; }

  .bulletin-grid { grid-template-columns: minmax(0, 1fr); }
  .account-login { padding: 24px; }
  .account-login h1 { font-size: 30px; }
  .account-login input { font-size: 16px; }

  .event-list-item { grid-template-columns: minmax(0, 1fr); padding: 20px; gap: 16px; }
  .event-list-image { width: 100%; height: 180px; aspect-ratio: auto; }
  .event-list-content { max-height: 180px; }
  .event-list-content h2 { font-size: 24px; }
  .event-list-footer .button { width: 100%; text-align: center; }

  .request-mail summary { flex-wrap: wrap; padding: 14px; }
  .request-mail time { flex-basis: 100%; margin-left: 32px; }
  .request-mail-body { padding: 16px; }
  .request-mail summary .request-whatsapp { order: 2; margin-left: auto; }
  .request-mail summary time { order: 3; }

  .receipt-preview { height: 350px; }

  .hero-art { overflow: hidden; }

  .instagram-post-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .calendar-cell {
    min-height: 64px;
    padding: 5px 5px 5px 10px;
    gap: 2px;
  }
  .calendar-cell::before { width: 4px; }
  .calendar-cell.is-empty { min-height: 64px; }
  .calendar-day-num { font-size: 12px; }
  .calendar-cell.is-today .calendar-day-num { font-size: 14px; }
  .calendar-time-badge {
    font-size: 8px;
    padding: 1px 3px;
    border-radius: 4px;
  }
  .calendar-count-num { font-size: 12px; }
  .calendar-count-label { display: none; }
  .calendar-preview { display: none; }
  .calendar-status-dots { gap: 1px; }
  .calendar-status-dots i { width: 5px; height: 5px; }
  .calendar-wd { font-size: 9px; }
  .upcoming-strip ul { flex-direction: column; }
  .upcoming-strip li a { width: 100%; }
}

@media (max-width: 480px) {
  .admin-main { padding: 60px 14px 24px; }
  .sidebar nav a { font-size: 14px; padding: 10px 12px; }
  .sidebar .sidebar-bottom { flex-direction: row; flex-wrap: wrap; gap: 14px; }
  .sidebar .sidebar-bottom small { display: none; }
}

@media (max-width: 430px) {
  .site-header .customer-actions {
    grid-column: 1 / -1;
    justify-self: end;
    flex-wrap: wrap;
  }
  .customer-name { max-width: 200px; }
}

@media (max-width: 380px) {
  .product-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: 44px; }
  .page-intro h1 { font-size: 39px; }
  .brand { font-size: 19px; }
  .brand-icon { width: 38px; height: 38px; }
  .site-header { gap: 12px; }
  .site-header > button { padding: 9px 10px; gap: 8px; }
  .login-card h1 { font-size: 29px; }
  .login-card { padding: 24px 18px; }
  .contact-banner, .about-teaser { padding: 24px; }
  .social-panel { padding: 16px; }
  .social-tabs { flex-wrap: wrap; }
  .social-profile-heading h2 { font-size: 21px; }
  .admin-product-list article { flex-wrap: wrap; }
  .row-actions { flex-direction: row; flex-basis: 100%; justify-content: flex-end; }
}

@media (max-width: 360px) {
  .container { width: calc(100% - 32px); }
  .site-header { padding-inline: 16px; gap: 12px 8px; }
  .site-header > button { font-size: 11px; padding: 9px; }
  .site-header nav { gap: 4px 12px; }
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { min-height: 270px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}