/* Kassel Fırın — taze, ferah renkler: nane yeşili + krem + şeftali */
:root {
  --bg: #FFFBF4;
  --surface: #FFFFFF;
  --mint: #2FA58A;
  --mint-d: #1F7F69;
  --mint-l: #E3F5EE;
  --peach: #FF8A6B;
  --peach-l: #FFEDE6;
  --butter: #FFD98A;
  --butter-l: #FFF6DF;
  --text: #24322E;
  --muted: #6B7B76;
  --line: #EFE7DA;
  --danger: #D9534F;
  --radius: 18px;
  --shadow: 0 6px 20px rgba(47, 66, 60, .08);
  --nav-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --head: 'Fraunces', Georgia, serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.45 'Nunito', system-ui, -apple-system, sans-serif;
  padding-bottom: calc(var(--nav-h) + var(--safe-b) + 16px);
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--mint-d); }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
.wrap { max-width: 980px; margin: 0 auto; padding: 12px 16px 24px; }

/* ── üst bar ── */
.app-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(env(safe-area-inset-top, 0px) + 10px) 16px 10px;
  background: rgba(255, 251, 244, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); min-width: 0; }
.brand img { border-radius: 10px; flex: none; }
.brand b { font-family: var(--head); font-size: 20px; display: block; letter-spacing: -.2px; }
.brand small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lang { display: flex; background: var(--mint-l); border-radius: 999px; padding: 3px; flex: none; }
.lang button { border: 0; background: none; padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--mint-d); }
.lang button.on { background: var(--mint); color: #fff; }
body.is-admin .app-header, body.is-admin .bottom-nav { display: none; }
body.is-admin { padding-bottom: 24px; }

/* ── alt menü ── */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 25;
  display: flex; justify-content: space-around;
  height: calc(var(--nav-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.bottom-nav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 700;
}
.bottom-nav .ic { font-size: 22px; position: relative; filter: grayscale(.6); opacity: .8; }
.bottom-nav a.on { color: var(--mint-d); }
.bottom-nav a.on .ic { filter: none; opacity: 1; transform: translateY(-1px); }
.badge {
  position: absolute; top: -4px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--peach); color: #fff; border-radius: 9px; font: 800 11px/18px 'Nunito', sans-serif; font-style: normal; text-align: center;
}
@media (min-width: 900px) {
  .bottom-nav { max-width: 520px; left: 50%; transform: translateX(-50%); bottom: 16px; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); height: var(--nav-h); padding-bottom: 0; }
}

/* ── genel ── */
.page-title { font-family: var(--head); font-size: 28px; margin: 8px 0 16px; }
.title-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hint { color: var(--muted); font-size: 14px; margin: 6px 0; }
.demo-bar { background: var(--butter-l); border: 1px dashed var(--butter); color: #7A5A12; font-size: 13px; padding: 8px 12px; border-radius: 12px; margin-bottom: 12px; }
.banner { background: var(--peach-l); color: #9A3A22; padding: 12px 14px; border-radius: 14px; margin-bottom: 12px; font-weight: 700; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; border-radius: 14px; padding: 12px 18px; font-weight: 800; text-decoration: none;
  transition: transform .1s, background .2s;
}
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--mint); color: #fff; box-shadow: 0 4px 14px rgba(47, 165, 138, .3); }
.btn.primary:hover { background: var(--mint-d); }
.btn.primary:disabled { opacity: .6; }
.btn.ghost { background: var(--surface); color: var(--mint-d); border: 1.5px solid var(--mint-l); }
.btn.danger { background: #FDECEC; color: var(--danger); }
.btn.sm { padding: 8px 12px; font-size: 14px; border-radius: 12px; }
.btn.wide { width: 100%; }
.grow { flex: 1; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px;
  padding: 8px 14px; font-weight: 700; font-size: 14px; white-space: nowrap;
}
.chip.on { background: var(--mint); border-color: var(--mint); color: #fff; }

/* ── ürün kartları ── */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card-open { border: 0; padding: 0; background: none; display: block; width: 100%; }
.ph, .sheet-img, .line-img, .pthumb {
  display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--mint-l);
}
.ph { aspect-ratio: 4 / 3; }
.ph img, .sheet-img img, .line-img img, .pthumb img { width: 100%; height: 100%; object-fit: cover; }
.ph .emoji { font-size: 48px; }
.cat-cakes, .cat-desserts { background: var(--peach-l); }
.cat-bread, .cat-savory { background: var(--butter-l); }
.cat-cookies, .cat-pastries { background: #FDF0DC; }
.card .body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card h3 { font-size: 15px; font-weight: 800; cursor: pointer; }
.desc { margin: 0; color: var(--muted); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.lead { font-size: 12px; color: #9A5B10; background: var(--butter-l); border-radius: 8px; padding: 2px 8px; align-self: flex-start; margin: 2px 0; }
.card .row { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 6px; }
.price { font-weight: 800; color: var(--mint-d); font-size: 16px; }
.price small { color: var(--muted); font-weight: 600; font-size: 12px; }
.price.big { font-size: 22px; margin: 4px 0; }
.add-btn {
  width: 36px; height: 36px; border-radius: 12px; border: 0; background: var(--mint); color: #fff;
  font-size: 22px; font-weight: 800; line-height: 1; box-shadow: 0 3px 10px rgba(47, 165, 138, .3);
}
.stepper { display: inline-flex; align-items: center; background: var(--mint-l); border-radius: 14px; }
.stepper button { width: 44px; height: 44px; border: 0; background: none; font-size: 22px; font-weight: 800; color: var(--mint-d); }
.stepper b { min-width: 30px; text-align: center; }
.stepper.sm button { width: 32px; height: 34px; font-size: 18px; }
.stepper.sm b { min-width: 22px; font-size: 14px; }

.float-cart {
  position: fixed; left: 16px; right: 16px; bottom: calc(var(--nav-h) + var(--safe-b) + 10px); z-index: 15;
  max-width: 520px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--text); color: #fff; text-decoration: none; padding: 14px 18px; border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2); font-weight: 800;
}
@media (min-width: 900px) { .float-cart { bottom: calc(var(--nav-h) + 28px); } }

.install { display: flex; align-items: center; gap: 12px; background: var(--mint-l); border-radius: 16px; padding: 12px; margin-bottom: 12px; position: relative; }
.install img { border-radius: 10px; flex: none; }
.install div { flex: 1; }
.install b { display: block; font-size: 15px; }
.install small { color: var(--muted); font-size: 13px; }
.install .x { border: 0; background: none; font-size: 14px; color: var(--muted); padding: 4px; align-self: flex-start; }

.empty { text-align: center; padding: 48px 16px; color: var(--muted); }
.empty .big { font-size: 56px; margin-bottom: 8px; }
.empty h2 { color: var(--text); font-family: var(--head); margin-bottom: 4px; }
.empty .btn { margin-top: 12px; }
.spin { animation: spin 1.4s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── alt pencere (sheet) ── */
.sheet-bd { position: fixed; inset: 0; z-index: 50; background: rgba(20, 30, 27, .45); opacity: 0; pointer-events: none; transition: opacity .25s; display: flex; align-items: flex-end; justify-content: center; }
.sheet-bd.open { opacity: 1; pointer-events: auto; }
.sheet {
  position: relative; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; background: var(--surface);
  border-radius: 24px 24px 0 0; transform: translateY(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
  padding-bottom: calc(var(--safe-b) + 12px);
}
.sheet-bd.open .sheet { transform: none; }
@media (min-width: 700px) { .sheet-bd { align-items: center; } .sheet { border-radius: 24px; } }
.handle { width: 40px; height: 5px; border-radius: 3px; background: rgba(0, 0, 0, .15); position: absolute; top: 8px; left: 50%; transform: translateX(-50%); z-index: 2; }
.sheet-x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); box-shadow: var(--shadow); font-size: 14px; }
.sheet-img { aspect-ratio: 16 / 10; }
.sheet-img .emoji { font-size: 80px; }
.sheet-body { padding: 18px 18px 8px; }
.sheet-body h2 { font-family: var(--head); font-size: 24px; padding-right: 36px; }
.full-desc { color: var(--muted); white-space: pre-line; }
.sheet-actions { display: flex; gap: 10px; align-items: center; margin-top: 14px; position: sticky; bottom: 0; background: var(--surface); padding: 8px 0; }

/* ── form ── */
.field { display: flex; flex-direction: column; gap: 6px; margin: 12px 0; }
.field span { font-weight: 700; font-size: 14px; }
.field input, .field textarea, .field select, textarea.solo, .adm-filters select, .adm-filters input, .hol-add input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; background: #fff;
  font-size: 16px; outline: none; transition: border-color .2s;
}
.field input:focus, .field textarea:focus, textarea.solo:focus, .field select:focus { border-color: var(--mint); }
textarea { resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.two .field { margin: 6px 0; }
.check-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-weight: 600; }
.check-row input, .consent input { width: 20px; height: 20px; accent-color: var(--mint); flex: none; }

/* ── sepet ── */
.lines { display: flex; flex-direction: column; gap: 10px; }
.line { display: flex; gap: 12px; background: var(--surface); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow); }
.line-img { width: 72px; height: 72px; border-radius: 14px; flex: none; font-size: 32px; }
.line-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.line-main small { color: var(--muted); }
.line-note { border: 1.5px dashed var(--line); border-radius: 10px; padding: 6px 10px; font-size: 14px; background: var(--bg); }
.line-note:focus { outline: none; border-color: var(--mint); }
.line-row { display: flex; justify-content: space-between; align-items: center; }
.line-sum { color: var(--mint-d); }
.sticky-bar {
  position: sticky; bottom: calc(var(--nav-h) + var(--safe-b) + 8px); z-index: 10; margin-top: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--surface); padding: 12px 12px 12px 18px; border-radius: 18px; box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
}
.sticky-bar small { display: block; color: var(--muted); font-size: 12px; }
.sticky-bar b { font-size: 20px; }
body.is-admin .sticky-bar { bottom: 12px; }

/* ── sipariş formu ── */
.sec { background: var(--surface); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; box-shadow: var(--shadow); }
.sec h2 { font-size: 17px; font-weight: 800; }
.sec h3 { font-size: 15px; margin: 16px 0 8px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 8px 2px 6px; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.day {
  flex: none; width: 68px; padding: 8px 4px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.day b { font-size: 22px; font-family: var(--head); }
.day small { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: capitalize; }
.day.on { background: var(--mint); border-color: var(--mint); color: #fff; box-shadow: 0 4px 12px rgba(47, 165, 138, .3); }
.day.on small { color: rgba(255, 255, 255, .9); }
.day.off { opacity: .45; background: repeating-linear-gradient(-45deg, #fff, #fff 6px, #F7F2EA 6px, #F7F2EA 12px); cursor: not-allowed; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.method { border: 2px solid var(--line); background: #fff; border-radius: 16px; padding: 14px 10px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.method .m-ic { font-size: 28px; }
.method small { color: var(--muted); font-size: 12px; }
.method.on { border-color: var(--mint); background: var(--mint-l); }
.pay p { margin: 6px 0 0; color: var(--muted); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); padding: 4px 4px 8px; }
.summary { padding: 4px 6px; font-size: 14px; color: var(--muted); }
.summary div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }

.toast {
  position: fixed; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 14px); transform: translate(-50%, -150%); z-index: 100;
  background: var(--text); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 700; font-size: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2); transition: transform .3s; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { transform: translate(-50%, 0); }
.toast.err { background: var(--danger); }

/* ── tamamlandı ── */
.done { text-align: center; padding: 32px 8px; }
.check { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; background: var(--mint); color: #fff; font-size: 44px; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(47, 165, 138, .35); animation: pop .4s ease; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.done h1 { font-family: var(--head); font-size: 28px; }
.done p { color: var(--muted); }
.code-box { display: inline-flex; flex-direction: column; background: var(--butter-l); border: 1.5px dashed var(--butter); border-radius: 16px; padding: 10px 24px; margin: 8px 0; }
.code-box b { font-size: 26px; letter-spacing: 2px; }
.code-box small { color: var(--muted); }
.done-actions { display: flex; flex-direction: column; gap: 10px; max-width: 320px; margin: 16px auto 0; }

/* ── sipariş kartları ── */
.ocard { background: var(--surface); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 12px; box-shadow: var(--shadow); }
.ocard p { margin: 4px 0; font-size: 14px; }
.otop { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.otop b { font-size: 17px; letter-spacing: .5px; }
.when { color: var(--muted); }
.pill { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--mint-l); color: var(--mint-d); white-space: nowrap; }
.pill.st-new { background: var(--peach-l); color: #B5432A; }
.pill.st-preparing { background: var(--butter-l); color: #8A6100; }
.pill.st-ready { background: var(--mint); color: #fff; }
.pill.st-delivered { background: #EEF0EF; color: var(--muted); }
.pill.st-cancelled { background: #FDECEC; color: var(--danger); }
.progress { display: flex; gap: 4px; margin: 8px 0; }
.progress span { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.progress span.on { background: var(--mint); }
.oitems { list-style: none; padding: 0; margin: 8px 0; border-top: 1px solid var(--line); }
.oitems li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.oitems em { flex-basis: 100%; font-style: normal; color: #9A3A22; background: var(--peach-l); padding: 4px 8px; border-radius: 8px; font-size: 13px; }
.onote { background: var(--butter-l); padding: 8px 10px; border-radius: 10px; }
.obottom { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.obottom b { font-size: 17px; color: var(--mint-d); }
.obottom small { color: var(--muted); }

/* ── iletişim ── */
.contact-hero { display: flex; gap: 14px; align-items: center; background: var(--mint-l); padding: 16px; border-radius: var(--radius); margin-bottom: 14px; }
.contact-hero img { border-radius: 14px; flex: none; }
.contact-hero p { margin: 0; font-weight: 600; }
.cgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.cbtn { background: var(--surface); border-radius: var(--radius); padding: 16px 10px; box-shadow: var(--shadow); text-decoration: none; color: var(--text); display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 28px; text-align: center; }
.cbtn span { font-size: 15px; font-weight: 800; }
.cbtn small { font-size: 12px; color: var(--muted); word-break: break-all; }
.cbtn.wa { background: #E7F8EE; }
.cbtn.ig { background: var(--peach-l); }

/* ── YÖNETİM ── */
.adm-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0 12px; flex-wrap: wrap; }
.adm-links { display: flex; gap: 8px; }
.adm-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; background: var(--surface); padding: 5px; border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 14px; }
.adm-tabs button { border: 0; background: none; padding: 9px 2px; border-radius: 12px; font-weight: 800; font-size: 12.5px; white-space: nowrap; position: relative; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 560px) { .adm-tabs { grid-template-columns: repeat(6, minmax(0, 1fr)); } .adm-tabs button { font-size: 14px; padding: 10px 6px; } }
.adm-tabs button.on { background: var(--mint); color: #fff; }
.adm-tabs .badge { position: static; display: inline-block; margin-left: 6px; }
.adm-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.adm-filters .chips { flex: 1 1 100%; padding-bottom: 2px; }
.adm-filters select, .adm-filters input { width: auto; padding: 8px 12px; font-size: 15px; }
.cnt { font-style: normal; background: var(--peach); color: #fff; border-radius: 8px; padding: 0 6px; font-size: 11px; margin-left: 2px; }
.day-head { font-family: var(--head); font-size: 18px; margin: 18px 0 8px; text-transform: capitalize; }
.adm-o { border-left: 5px solid var(--mint-l); }
.adm-o.st-new { border-left-color: var(--peach); }
.adm-o.st-preparing { border-left-color: var(--butter); }
.adm-o.st-ready { border-left-color: var(--mint); }
.adm-o.st-delivered, .adm-o.st-cancelled { opacity: .7; }
.links a { font-weight: 700; }
.st-btns { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.st-btns button { border: 1.5px solid var(--line); background: #fff; padding: 7px 10px; border-radius: 10px; font-size: 13px; font-weight: 700; }
.st-btns button.on { background: var(--mint); border-color: var(--mint); color: #fff; }
.st-btns button.s-cancelled.on { background: var(--danger); border-color: var(--danger); }
.adm-login { max-width: 380px; margin: 40px auto; text-align: center; }
.adm-login img { margin: 0 auto 12px; border-radius: 18px; }
.adm-login h1 { font-family: var(--head); margin-bottom: 8px; }
.adm-login form { text-align: left; }
.adm-login .back { display: inline-block; margin-top: 16px; }

.prod-title { font-family: var(--head); font-size: 22px; margin-top: 8px; text-transform: capitalize; }
.ptable { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); margin: 8px 0 16px; }
.ptable th, .ptable td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.ptable th { background: var(--mint-l); font-size: 13px; color: var(--mint-d); }
.ptable td small { display: block; color: var(--muted); font-size: 12px; }
.ptable td:last-child { white-space: nowrap; }
.pnotes { list-style: none; padding: 0; }
.pnotes li { background: var(--peach-l); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
.pnotes small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }

.plist { display: flex; flex-direction: column; gap: 8px; }
.prow { display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 16px; padding: 10px; box-shadow: var(--shadow); }
.prow.inactive { opacity: .55; }
.prow .btn.icon { padding: 8px 10px; }
.pinfo b { white-space: normal !important; font-size: 15px; }
.pthumb { width: 56px; height: 56px; border-radius: 12px; flex: none; font-size: 26px; }
.pthumb.big { width: 96px; height: 96px; font-size: 34px; }
.pinfo { flex: 1; min-width: 0; }
.pinfo b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pinfo small { color: var(--muted); font-size: 12px; }
.switch { position: relative; width: 46px; height: 28px; flex: none; }
.switch input { opacity: 0; width: 100%; height: 100%; position: absolute; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; background: #D9DDDB; border-radius: 14px; transition: .2s; }
.switch span::after { content: ''; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.switch input:checked + span { background: var(--mint); }
.switch input:checked + span::after { transform: translateX(18px); }
.img-pick { display: flex; gap: 14px; align-items: center; margin-bottom: 4px; }
.img-pick > div:last-child { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.form-actions { display: flex; gap: 10px; margin-top: 16px; position: sticky; bottom: 0; background: var(--surface); padding: 10px 0; }
.daygrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.hol-add { display: flex; gap: 8px; }
.hol-add input { padding: 8px 12px; width: auto; flex: 1; }
.sform .sticky-bar .hint { margin: 0; }

@media print {
  .no-print, .adm-top, .adm-tabs, .demo-bar, .app-header, .bottom-nav, .toast { display: none !important; }
  body { background: #fff; padding: 0; }
  .ptable, .pnotes li { box-shadow: none; border: 1px solid #ccc; }
}

/* ── Kendi pastanı oluştur ── */
.cb-promo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text);
  background: linear-gradient(120deg, var(--peach-l), var(--butter-l)); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 12px; box-shadow: var(--shadow); }
.cb-promo .cb-ic { font-size: 34px; }
.cb-promo div { flex: 1; }
.cb-promo b { display: block; font-family: var(--head); font-size: 18px; }
.cb-promo small { color: var(--muted); font-size: 13px; }
.cb-promo .cb-go { width: 34px; height: 34px; border-radius: 50%; background: var(--peach); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.cb-hero { position: relative; border-radius: var(--radius); overflow: hidden; margin: 4px 0 14px; box-shadow: var(--shadow); }
.cb-hero img { width: 100%; height: 190px; object-fit: cover; }
.cb-hero div { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; color: #fff; background: linear-gradient(transparent, rgba(30, 20, 15, .75)); }
.cb-hero h1 { font-family: var(--head); font-size: 26px; }
.cb-hero p { margin: 4px 0 0; font-size: 14px; opacity: .95; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { border: 2px solid var(--line); background: #fff; border-radius: 16px; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; transition: border-color .15s, background .15s; }
.tile .t-emoji { font-size: 26px; line-height: 1.2; }
.tile b { font-size: 14px; line-height: 1.25; }
.tile small { color: var(--muted); font-size: 12px; }
.tile em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--mint-d); }
.tile.on { border-color: var(--mint); background: var(--mint-l); }
.tile.dis { opacity: .4; cursor: not-allowed; }
.solo-input { width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 16px; margin-top: 10px; outline: none; }
.solo-input:focus { border-color: var(--mint); }
.cb-sum { color: #8A5A2B !important; background: var(--butter-l); border-radius: 8px; padding: 4px 8px; font-size: 12px; line-height: 1.4; }
.bottom-nav a span:last-child { white-space: nowrap; }

.off-tag { color: var(--danger) !important; font-weight: 800; }
.call-info { background: var(--mint-l); color: var(--mint-d); font-weight: 700; padding: 12px 14px; border-radius: 14px; margin: 4px 0 8px; }
.tbd-box { background: var(--butter-l); border: 1.5px dashed var(--butter); border-radius: 12px; padding: 10px; margin: 6px 0; font-size: 14px; }
.tbd-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tbd-row input, .tbd-row select { border: 1.5px solid var(--line); border-radius: 10px; padding: 7px 8px; font-size: 15px; background: #fff; }

/* ── Açık / kapalı durumu ── */
.open-st { display: flex !important; align-items: center; gap: 5px; font-weight: 800; }
.open-st i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.open-st.is-open { color: var(--mint-d) !important; } .open-st.is-open i { background: var(--mint); box-shadow: 0 0 0 3px var(--mint-l); }
.open-st.is-closed { color: #B4533A !important; } .open-st.is-closed i { background: var(--peach); }
table.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
table.hours td { padding: 7px 4px; border-bottom: 1px solid var(--line); }
table.hours td:last-child { text-align: right; font-weight: 700; }
table.hours tr.now td { color: var(--mint-d); font-weight: 800; }

/* ── Alerjen ── */
.al-icons { font-size: 13px; letter-spacing: 1px; }
.al-box { background: var(--butter-l); border-radius: 12px; padding: 10px 12px; margin: 8px 0 12px; }
.al-box b { display: block; font-size: 14px; margin-bottom: 4px; }
.al-box small { color: var(--muted); }
.al-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.al-chips span { background: #fff; border-radius: 999px; padding: 3px 10px; font-size: 13px; font-weight: 700; }

/* ── Vitrin / öneri ── */
.ph { position: relative; }
.feat-tag { position: absolute; top: 8px; left: 8px; z-index: 1; background: var(--butter); color: #6A4A06; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; }
.feat { margin: 4px 0 14px; }
.feat h2 { font-family: var(--head); font-size: 19px; margin: 0 0 8px; }
.feat.up { margin-top: 18px; }
.hscroll { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.mini { flex: none; width: 138px; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); padding: 8px; display: flex; flex-direction: column; gap: 6px; scroll-snap-align: start; }
.mini-img { border: 0; padding: 0; background: none; }
.mini .line-img { width: 100%; height: 88px; border-radius: 12px; }
.mini b { font-size: 13px; line-height: 1.25; cursor: pointer; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 32px; }
.mini-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.mini .price { font-size: 14px; }
.add-btn.sm { width: 30px; height: 30px; font-size: 18px; }
.last-card { display: flex; align-items: center; gap: 10px; background: var(--mint-l); border-radius: 16px; padding: 10px 12px; margin-bottom: 12px; }
.last-card .l-ic { width: 34px; height: 34px; border-radius: 50%; background: var(--mint); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; flex: none; }
.last-card div { flex: 1; min-width: 0; }
.last-card b { display: block; font-size: 14px; }
.last-card small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Haftalık sabit sipariş ── */
.chips.wrap { flex-wrap: wrap; overflow: visible; }
.rep-on { color: var(--mint-d); font-weight: 800; margin: 8px 0 0; }
.rep-box { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; background: var(--mint-l); border-radius: 12px; padding: 8px 10px; margin: 6px 0; font-weight: 700; font-size: 14px; color: var(--mint-d); }
.rep-tag { display: inline-block; background: var(--mint-l); color: var(--mint-d); font-weight: 800; font-size: 12px; border-radius: 999px; padding: 3px 10px; margin: 2px 0 4px; }
.occ { color: var(--mint-d); font-size: 12px; }

/* ── Yönetim: WhatsApp, yıldız, saatler, özet ── */
.linkbtn { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--mint-d); text-decoration: underline; cursor: pointer; }
.wa-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.wa-item { display: block; text-decoration: none; color: var(--text); border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.wa-item.sug { border-color: #25D366; background: #EAFBF0; }
.wa-item b { display: block; font-size: 15px; } .wa-item b small { color: #128C4A; }
.wa-item > small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.star { border: 0; background: none; font-size: 24px; line-height: 1; color: #C9C2B4; padding: 4px; flex: none; }
.star.on { color: #F2B200; }
.chip.chk { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.chip.chk input { margin: 0; accent-color: var(--mint); }
.chip.chk:has(input:checked) { background: var(--mint-l); border-color: var(--mint); }
.hgrid { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 12px; }
.hrow { display: flex; align-items: center; gap: 8px; }
.hrow b { width: 84px; font-size: 14px; }
.hrow input[type=time] { flex: 1; min-width: 0; padding: 7px 6px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: 14px; background: #fff; }
.hrow.off input[type=time], .hrow.off span { opacity: .3; pointer-events: none; }
.hrow.off b { color: var(--muted); text-decoration: line-through; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 8px 0 12px; }
@media (min-width: 640px) { .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kpi { background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); padding: 12px; }
.kpi small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.kpi b { font-size: 20px; font-family: var(--head); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 150px; padding-top: 18px; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 3px; min-width: 0; }
.bar i { display: block; width: 100%; max-width: 38px; background: var(--mint); border-radius: 8px 8px 3px 3px; min-height: 3px; }
.bar small { font-size: 9px; color: var(--muted); white-space: nowrap; }
.bar span { font-size: 11px; font-weight: 700; color: var(--muted); }
