/* Kuranı Kerim - sade tasarım */
:root {
  --green: #0f5c4d;
  --green-dark: #0a4439;
  --green-soft: #e6f2ee;
  --gold: #c19a3f;
  --gold-soft: #fbf3dc;
  --bg: #f6f4ee;
  --card: #ffffff;
  --text: #1f2a28;
  --muted: #6b7673;
  --line: #e4e0d4;
  --danger: #b3382c;
  --danger-soft: #fbe9e6;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 40, 35, .06), 0 4px 14px rgba(20, 40, 35, .05);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55;
  color: var(--text); background: var(--bg);
  padding-bottom: 76px;
}
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5rem; color: var(--green-dark); }
h1 { font-size: 1.7rem; } h2 { font-size: 1.25rem; } h3 { font-size: 1.05rem; }
p { margin: 0 0 .8rem; }
.muted { color: var(--muted); } .small { font-size: .875rem; }
.center { text-align: center; }
.container { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 1rem; }
.narrow { max-width: 560px; margin: 0 auto; }
.stack > * + * { margin-top: 1rem; }
.row { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.grid { display: grid; gap: 1rem; }
.grid.cols-2 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.hidden { display: none !important; }

/* Header */
.site-header { background: var(--green); color: #fff; position: sticky; top: 0; z-index: 30; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.site-header .bar { display: flex; align-items: center; gap: 1rem; min-height: 58px; }
.brand { color: #fff; font-weight: 700; font-size: 1.15rem; display: flex; align-items: center; gap: .55rem; }
.brand:hover { text-decoration: none; }
.brand .crescent { color: var(--gold); font-size: 1.4rem; }
.brand-mark { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; display: block; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.brand-text { line-height: 1; }
.auth-brand { text-align: center; margin: 0 0 1.25rem; }
.auth-logo { width: 88px; height: 88px; border-radius: 22px; object-fit: cover; box-shadow: 0 8px 24px rgba(15,92,77,.22); }
.auth-name { margin-top: .85rem; font-size: 1.75rem; font-weight: 800; color: var(--green-dark); letter-spacing: .02em; }
.auth-tagline { margin: .25rem 0 0; font-size: .95rem; }
.main-nav { display: none; gap: .25rem; margin-left: 1rem; }
.main-nav a { color: #d6ece6; padding: .45rem .8rem; border-radius: 999px; font-weight: 500; }
.main-nav a:hover { background: rgba(255,255,255,.12); text-decoration: none; color: #fff; }
.main-nav a.active { background: #fff; color: var(--green-dark); }
.header-right { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.icon-btn { position: relative; color: #fff; padding: .4rem .55rem; border-radius: 10px; font-size: 1.2rem; line-height: 1; }
.icon-btn:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.badge-dot { position: absolute; top: -2px; right: -2px; background: var(--gold); color: #3a2c00; font-size: .68rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.dropdown { position: relative; }
.dropdown > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .4rem; }
.dropdown > summary::-webkit-details-marker { display: none; }
.dropdown .menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; color: var(--text); border-radius: 12px; min-width: 210px; box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: .4rem; z-index: 40; }
.dropdown .menu a, .dropdown .menu button { display: block; width: 100%; text-align: left; padding: .55rem .75rem; border-radius: 8px; color: var(--text); background: none; border: 0; font: inherit; cursor: pointer; }
.dropdown .menu a:hover, .dropdown .menu button:hover { background: var(--green-soft); text-decoration: none; }
.dropdown .menu hr { border: 0; border-top: 1px solid var(--line); margin: .3rem 0; }
.menu-head { padding: .5rem .75rem; font-size: .85rem; color: var(--muted); }

/* Bottom nav (mobil) */
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); display: flex; z-index: 30; padding-bottom: env(safe-area-inset-bottom); }
.bottom-nav a { flex: 1; text-align: center; padding: .5rem 0 .4rem; font-size: .72rem; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.bottom-nav a .ico { font-size: 1.3rem; line-height: 1; }
.bottom-nav a.active { color: var(--green); font-weight: 600; }
.bottom-nav a:hover { text-decoration: none; }

/* Cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
.card-link { display: block; color: inherit; }
.card-link:hover { text-decoration: none; border-color: #c9d8d2; }
.section { margin: 1.6rem 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: .7rem; gap: 1rem; }
.section-head h2 { margin: 0; }
.page-head { padding: 1.4rem 0 .6rem; }
.page-head p { color: var(--muted); margin: 0; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--green) 0%, #14705e 100%); color: #fff; border-radius: 20px; padding: 2rem 1.4rem; margin-top: 1.2rem; position: relative; overflow: hidden; }
.hero::after { content: "☪"; position: absolute; right: -10px; top: -30px; font-size: 11rem; color: rgba(255,255,255,.07); }
.hero h1 { color: #fff; font-size: 1.9rem; }
.hero p { color: #d6ece6; max-width: 560px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .7rem; margin-top: 1rem; }
.stat { background: rgba(255,255,255,.12); border-radius: 12px; padding: .7rem .8rem; }
.stat b { display: block; font-size: 1.4rem; color: #fff; }
.stat span { font-size: .8rem; color: #cfe6df; }

/* Butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 600; cursor: pointer; background: var(--green); color: #fff; transition: background .15s, transform .05s; }
.btn:hover { background: var(--green-dark); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.secondary { background: #fff; color: var(--green); border-color: #bcd3cb; }
.btn.secondary:hover { background: var(--green-soft); }
.btn.gold { background: var(--gold); color: #2e2300; }
.btn.gold:hover { background: #ad8630; }
.btn.danger { background: var(--danger); }
.btn.danger:hover { background: #8f2b21; }
.btn.ghost { background: transparent; color: var(--muted); border-color: var(--line); }
.btn.ghost:hover { background: #f1efe7; }
.btn.small { padding: .35rem .8rem; font-size: .85rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.inline-form { display: inline; }

/* Form */
.field { margin-bottom: 1rem; }
label { display: block; font-weight: 600; margin-bottom: .3rem; font-size: .93rem; }
input:not([type]),
input[type=text], input[type=email], input[type=password], input[type=number], input[type=search],
input[type=tel], input[type=url], input[type=time], input[type=datetime-local], input[type=date],
input[type=file], select, textarea {
  width: 100%; max-width: 100%; box-sizing: border-box;
  padding: .65rem .8rem; border: 1px solid #cfcab8; border-radius: 10px;
  font: inherit; line-height: 1.35; background: #fff; color: var(--text);
  min-height: 2.7rem;
}
select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B7673' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center; padding-right: 2rem;
}
input:focus, select:focus, textarea:focus { outline: 2px solid #9cc7bb; border-color: var(--green); }
textarea { min-height: 110px; resize: vertical; }
.help { font-size: .82rem; color: var(--muted); margin-top: .25rem; }
.error-text { font-size: .85rem; color: var(--danger); margin-top: .25rem; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.check { display: flex; align-items: center; gap: .5rem; font-weight: 500; }
.check input { width: 18px; height: 18px; }
.filters { display: flex; gap: .6rem; flex-wrap: wrap; align-items: end; margin-bottom: 1rem; }
.filters .field { margin: 0; min-width: 140px; flex: 1; }

/* Flash */
.flash { padding: .8rem 1rem; border-radius: 12px; margin: 1rem 0 0; border: 1px solid; font-weight: 500; }
.flash.success { background: var(--green-soft); border-color: #b3d6ca; color: var(--green-dark); }
.flash.error { background: var(--danger-soft); border-color: #efc2bb; color: #7e2218; }
.flash.info { background: var(--gold-soft); border-color: #ecd9a1; color: #6a5217; }

/* Etiketler */
.tag { display: inline-flex; align-items: center; gap: .25rem; padding: .15rem .6rem; border-radius: 999px; background: var(--green-soft); color: var(--green-dark); font-size: .78rem; font-weight: 600; }
.tag.gold { background: var(--gold-soft); color: #6a5217; }
.tag.red { background: var(--danger-soft); color: #7e2218; }
.tag.gray { background: #ecebe4; color: #5d6360; }

/* Avatar */
.avatar { position: relative; display: inline-grid; place-items: center; border-radius: 50%; background: #cfe3dc; color: var(--green-dark); font-weight: 700; flex: none; }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.avatar-sm { width: 32px; height: 32px; font-size: .75rem; }
.avatar-md { width: 44px; height: 44px; font-size: .95rem; }
.avatar-lg { width: 64px; height: 64px; font-size: 1.3rem; }
.avatar-xl { width: 110px; height: 110px; font-size: 2.2rem; }
.avatar-star { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--gold); }
.star-mark { position: absolute; right: -4px; bottom: -4px; background: var(--gold); color: #fff; font-style: normal; border-radius: 50%; width: 18px; height: 18px; font-size: .7rem; display: grid; place-items: center; line-height: 1; }
.avatar-sm .star-mark { width: 14px; height: 14px; font-size: .55rem; }
.user-line { display: flex; align-items: center; gap: .65rem; }
.user-line .name { font-weight: 600; color: var(--text); }
.user-line .sub { font-size: .82rem; color: var(--muted); }

/* Dua / iyilik kartları */
.item-card { display: flex; flex-direction: column; gap: .6rem; }
.item-card h3 { margin: 0; }
.item-meta { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.progress { display: flex; height: 8px; background: #e7e4d8; border-radius: 99px; overflow: hidden; }
.progress > i,
.progress > .seg { display: block; height: 100%; min-width: 0; }
.progress > i,
.progress > .seg.done { background: linear-gradient(90deg, var(--green), #2c9a82); }
.progress > .seg.taken { background: linear-gradient(90deg, var(--gold), #d4b35a); }
.progress-label { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--muted); gap: .5rem; flex-wrap: wrap; }
/* 30 cüz — yatay toggle (3 durum: boş / okunuyor / teslim) */
.cuzzs-wrap {
  flex: 0 0 auto !important;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.cuzzs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: flex-start;
  gap: 6px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  counter-reset: n;
}
.cuzz {
  counter-increment: n;
  position: relative;
  display: block;
  box-sizing: border-box;
  flex: 0 0 46px !important;
  align-self: center !important;
  width: 46px !important;
  height: 24px !important;
  min-width: 46px !important;
  min-height: 24px !important;
  max-width: 46px !important;
  max-height: 24px !important;
  aspect-ratio: 46 / 24;
  border: 0 !important;
  border-radius: 999px !important;
  background: #d1d5db;
  transition: background .3s ease;
  font-size: 0 !important;
  line-height: 0 !important;
  overflow: hidden;
  user-select: none;
  padding: 0 !important;
  margin: 0 !important;
}
.cuzz::after {
  content: counter(n);
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  color: #6b7280;
  transition: left .3s ease, color .3s ease;
}
.cuzz.empty { background: #d1d5db; }
.cuzz.empty::after { left: 3px; color: #6b7280; }
.cuzz.taken,
.cuzz.doing { background: #d4af37; }
.cuzz.taken::after,
.cuzz.doing::after { left: 14px; color: #8a6d0b; }
.cuzz.done { background: #22c55e; }
.cuzz.done::after { left: 25px; color: #15803d; }

.cuzzs-meta {
  margin-top: .7rem;
  margin-bottom: .15rem;
  width: 100%;
}
.cuzzs-legend {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: .35rem;
  width: 100%;
}
.cuzzs-legend-item {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  white-space: nowrap;
  font-size: .78rem;
  color: var(--muted);
  line-height: 1;
  min-width: 0;
}
.cuzzs-legend-item b {
  font-weight: 600;
  color: var(--text, #1f2937);
}
.cuzzs-legend .cuzz {
  flex: 0 0 32px !important;
  width: 32px !important;
  height: 16px !important;
  min-width: 32px !important;
  min-height: 16px !important;
  max-width: 32px !important;
  max-height: 16px !important;
  counter-increment: none;
}
.cuzzs-legend .cuzz::after {
  content: "" !important;
  top: 2px !important;
  left: 2px !important;
  width: 12px !important;
  height: 12px !important;
  font-size: 0 !important;
}
.cuzzs-legend .cuzz.done::after { left: 18px !important; }
.cuzzs-legend .cuzz.taken::after,
.cuzzs-legend .cuzz.doing::after { left: 10px !important; }
.cuzzs-legend .cuzz.empty::after { left: 2px !important; }

/* Dar kartlarda sığdır — legend örneklerini etkilemesin */
@media (max-width: 720px) {
  .cuzzs > .cuzz {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;
    flex-basis: 40px !important;
  }
  .cuzzs > .cuzz::after {
    top: 2px;
    width: 18px;
    height: 18px;
  }
  .cuzzs > .cuzz.empty::after { left: 2px; }
  .cuzzs > .cuzz.taken::after,
  .cuzzs > .cuzz.doing::after { left: 11px; }
  .cuzzs > .cuzz.done::after { left: 20px; }
}
@media (max-width: 420px) {
  .cuzzs > .cuzz {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 20px !important;
    min-height: 20px !important;
    max-height: 20px !important;
    flex-basis: 34px !important;
  }
  .cuzzs > .cuzz::after {
    top: 2px;
    width: 16px;
    height: 16px;
    font-size: 10px;
  }
  .cuzzs > .cuzz.empty::after { left: 2px; }
  .cuzzs > .cuzz.taken::after,
  .cuzzs > .cuzz.doing::after { left: 9px; }
  .cuzzs > .cuzz.done::after { left: 16px; }
}

/* Cüz ızgarası */
.juz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.juz { border: 1px solid var(--line); border-radius: 12px; padding: .7rem; background: #fff; display: flex; flex-direction: column; gap: .35rem; }
.juz .no { font-weight: 700; font-size: 1.05rem; color: var(--green-dark); }
.juz.available { border-color: #b3d6ca; }
.juz.taken { background: var(--gold-soft); border-color: #ecd9a1; }
.juz.delivered { background: var(--green-soft); border-color: #b3d6ca; }
.juz.mine { outline: 2px solid var(--green); }
.juz .st { font-size: .78rem; color: var(--muted); }

/* Post */
.post { display: flex; flex-direction: column; gap: .75rem; }
.post .body { white-space: pre-wrap; word-wrap: break-word; }
.post-quote { background: var(--gold-soft); border-radius: 10px; padding: .6rem .8rem; font-size: .9rem; }
.post-actions { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: .6rem; }
.like-btn { background: none; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; cursor: pointer; font: inherit; color: var(--muted); display: inline-flex; gap: .35rem; align-items: center; }
.like-btn.on { background: var(--green-soft); color: var(--green-dark); border-color: #b3d6ca; font-weight: 600; }
.comment { display: flex; gap: .6rem; padding: .6rem 0; border-top: 1px solid var(--line); }
.comment:first-child { border-top: 0; }

/* Story */
.stories { display: flex; gap: .9rem; overflow-x: auto; padding: .4rem .2rem .8rem; scrollbar-width: none; }
.stories::-webkit-scrollbar { display: none; }
.story-item { flex: none; width: 70px; text-align: center; background: none; border: 0; cursor: pointer; font: inherit; color: var(--text); padding: 0; }
.story-ring { width: 66px; height: 66px; border-radius: 50%; padding: 3px; background: conic-gradient(var(--green), #2c9a82, var(--gold), var(--green)); display: grid; place-items: center; }
.story-ring .avatar { width: 100%; height: 100%; border: 3px solid var(--bg); }
.story-ring.star { background: conic-gradient(var(--gold), #e8c971, var(--gold)); }
.story-item span.n { display: block; font-size: .72rem; margin-top: .25rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.story-add .story-ring { background: #d7d3c3; }
.story-add .plus { width: 100%; height: 100%; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 1.6rem; color: var(--green); border: 3px solid var(--bg); }

.story-viewer { position: fixed; inset: 0; background: rgba(8, 25, 21, .92); z-index: 100; display: none; align-items: center; justify-content: center; padding: 1rem; }
.story-viewer.open { display: flex; }
.story-card { background: linear-gradient(160deg, #0f5c4d, #0a3b32); color: #fff; width: 100%; max-width: 420px; min-height: 480px; max-height: 90vh; border-radius: 22px; padding: 1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: .8rem; position: relative; overflow: hidden; }
.story-bars { display: flex; gap: 4px; }
.story-bars i { flex: 1; height: 3px; background: rgba(255,255,255,.3); border-radius: 2px; overflow: hidden; display: block; }
.story-bars i.done, .story-bars i.cur { background: #fff; }
.story-top { display: flex; align-items: center; gap: .6rem; }
.story-top .name { font-weight: 600; } .story-top .when { opacity: .7; font-size: .8rem; }
.story-close { margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; line-height: 1; }
.story-verse { background: rgba(255,255,255,.1); border-radius: 12px; padding: .6rem .9rem; font-weight: 600; color: #f1dca0; }
.story-body { flex: 1; overflow-y: auto; font-size: 1.05rem; line-height: 1.65; white-space: pre-wrap; }
.story-nav { position: absolute; top: 90px; bottom: 90px; width: 33%; background: none; border: 0; cursor: pointer; }
.story-nav.prev { left: 0; } .story-nav.next { right: 0; }
.story-votes { display: flex; gap: .6rem; }
.story-votes button { flex: 1; padding: .65rem; border-radius: 12px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.story-votes button.on.up { background: #2c9a82; border-color: #2c9a82; }
.story-votes button.on.down { background: #b3382c; border-color: #b3382c; }

/* Liderlik */
.rank-list { list-style: none; padding: 0; margin: 0; }
.rank-list li { display: flex; align-items: center; gap: .7rem; padding: .6rem 0; border-top: 1px solid var(--line); }
.rank-list li:first-child { border-top: 0; }
.rank-no { width: 28px; height: 28px; border-radius: 50%; background: #ecebe4; display: grid; place-items: center; font-weight: 700; font-size: .85rem; flex: none; }
.rank-list li:nth-child(1) .rank-no { background: var(--gold); color: #fff; }
.rank-list li:nth-child(2) .rank-no { background: #b9c3c0; color: #fff; }
.rank-list li:nth-child(3) .rank-no { background: #c98a58; color: #fff; }
.score { margin-left: auto; font-weight: 700; color: var(--green-dark); }

/* Sekme */
.tabs { display: flex; gap: .3rem; background: #ecebe4; padding: .25rem; border-radius: 999px; width: fit-content; max-width: 100%; overflow-x: auto; }
.tabs a { padding: .45rem 1rem; border-radius: 999px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.tabs a.active { background: #fff; color: var(--green-dark); box-shadow: var(--shadow); }
.tabs a:hover { text-decoration: none; }

.two-col { display: grid; gap: 1.2rem; }
.pager { display: flex; justify-content: center; gap: 1rem; align-items: center; margin: 1.2rem 0; }
.empty { text-align: center; padding: 2rem 1rem; color: var(--muted); }
.empty .big { font-size: 2.2rem; }
details.report summary { cursor: pointer; font-size: .82rem; color: var(--muted); list-style: none; }
details.report summary::-webkit-details-marker { display: none; }
details.report form { margin-top: .5rem; display: flex; gap: .4rem; flex-wrap: wrap; }
details.report input { flex: 1; min-width: 160px; }

.site-footer { color: var(--muted); text-align: center; padding: 2rem 1rem 1rem; font-size: .88rem; }
.notif { display: flex; gap: .7rem; padding: .8rem; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.notif.unread { border-color: #b3d6ca; background: var(--green-soft); }

.notice { background: var(--gold-soft); border: 1px solid #ecd9a1; padding: .8rem 1rem; border-radius: 12px; color: #5c4710; }
.credit-pill { background: var(--gold); color: #2e2300; font-weight: 700; padding: .15rem .7rem; border-radius: 999px; font-size: .85rem; white-space: nowrap; }

/* Kayıt — hesap türü seçimi */
.account-type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.account-type-card {
  display: flex; flex-direction: column; gap: .25rem; align-items: flex-start;
  border: 1px solid var(--line); border-radius: 14px; padding: .85rem .9rem; cursor: pointer;
  background: #fff; transition: border-color .15s, background .15s;
}
.account-type-card input { position: absolute; opacity: 0; pointer-events: none; }
.account-type-card .ico { font-size: 1.4rem; line-height: 1; }
.account-type-card.on { border-color: var(--green); background: var(--green-soft); }
.account-type-card:hover { border-color: #b3d6ca; }

/* Askıda — Trendyol yemek menüsü tarzı */
.aski-biz-grid { display: grid; gap: .85rem; grid-template-columns: 1fr; }
.aski-biz-card {
  display: block; background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 1rem; box-shadow: var(--shadow); color: inherit;
}
.aski-biz-card:hover { border-color: #b3d6ca; text-decoration: none; }
.aski-biz-top { display: flex; gap: .75rem; align-items: flex-start; }
.aski-biz-icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--green-soft);
  display: grid; place-items: center; font-size: 1.45rem; flex-shrink: 0;
}
.aski-biz-name { font-weight: 700; font-size: 1.05rem; color: var(--green-dark); }
.aski-badge {
  display: inline-block; margin-top: .2rem; font-size: .72rem; font-weight: 600;
  color: #6a5217; background: var(--gold-soft); padding: .12rem .55rem; border-radius: 999px;
}
.aski-stock-pill {
  flex-shrink: 0; font-size: .75rem; font-weight: 700; padding: .25rem .55rem;
  border-radius: 999px; background: var(--green); color: #fff; white-space: nowrap;
}
.aski-stock-pill.muted-pill { background: #ecebe4; color: var(--muted); }
.aski-biz-meta { margin-top: .55rem; }
.aski-biz-addr { margin-top: .15rem; color: var(--text); }
.aski-hero { margin-bottom: 1rem; }
.aski-menu { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 1.5rem; }
.aski-menu-cat {
  margin: 0 0 .55rem; font-size: .95rem; text-transform: uppercase; letter-spacing: .04em;
  color: var(--muted); font-weight: 700;
}
.aski-product-list { display: flex; flex-direction: column; gap: .55rem; }
.aski-product-card {
  display: flex; gap: .75rem; align-items: center; justify-content: space-between;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .85rem 1rem;
  flex-wrap: wrap;
}
.aski-product-name { font-weight: 700; color: var(--text); }
.aski-product-stock { font-size: .8rem; color: var(--muted); margin-top: .2rem; }
.aski-product-stock.on { color: var(--green); font-weight: 600; }
.aski-donate-form { display: flex; gap: .4rem; align-items: center; }
.aski-donate-form input[type="number"] {
  width: 64px; padding: .4rem .45rem; border: 1px solid var(--line); border-radius: 10px; font: inherit;
}

@media (min-width: 640px) {
  .aski-biz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* QR / masa menüsü — renkler layouts/menu.php inline style ile gelir */
.menu-body {
  background: color-mix(in srgb, var(--ty-bg, #faf8f4) 88%, #000 4%);
  padding-bottom: 0; color: var(--ty-text, #1f2a28);
}
.menu-shell { max-width: 560px; margin: 0 auto; min-height: 100vh; background: var(--ty-bg); }
.menu-shell-poster { max-width: 720px; }
.menu-shell-canva { max-width: 720px; background: transparent; }
.menu-family-poster { background: var(--ty-bg); }
.menu-family-canva { background: #0a0a0a; }
.ty-hero { position: relative; color: #fff; overflow: hidden; }
.ty-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 10%, color-mix(in srgb, var(--ty-accent) 55%, transparent), transparent 45%),
    linear-gradient(145deg, var(--ty-primary) 0%, color-mix(in srgb, var(--ty-primary) 78%, #fff 12%) 55%, color-mix(in srgb, var(--ty-primary) 70%, #000 30%) 100%);
}
.ty-hero-inner { position: relative; padding: 1.6rem 1.15rem 1.25rem; }
.ty-badge {
  display: inline-block; font-size: .72rem; font-weight: 700; background: rgba(255,255,255,.16);
  padding: .2rem .55rem; border-radius: 999px; margin-bottom: .55rem;
}
.ty-name { margin: 0; color: #fff; font-size: 1.65rem; }
.ty-tagline { margin: .4rem 0 0; color: #fff; font-size: 1rem; font-weight: 600; opacity: .95; }
.ty-meta { margin: .35rem 0 0; color: rgba(255,255,255,.78); font-size: .9rem; }
.ty-desc { margin: .55rem 0 0; color: rgba(255,255,255,.88); font-size: .92rem; max-width: 36rem; }
.ty-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .9rem; }
.ty-chip {
  display: inline-flex; align-items: center; gap: .25rem; padding: .4rem .75rem; border-radius: 999px;
  background: #fff; color: var(--ty-primary); font-weight: 700; font-size: .82rem;
}
.ty-chip.ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.ty-chip:hover { text-decoration: none; opacity: .92; }
.ty-cats {
  position: sticky; top: 0; z-index: 20; display: flex; gap: .4rem; overflow-x: auto;
  padding: .65rem 1rem; background: color-mix(in srgb, var(--ty-bg) 92%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--ty-text) 10%, transparent);
  backdrop-filter: blur(8px); -webkit-overflow-scrolling: touch;
}
.ty-cat {
  flex: 0 0 auto; padding: .4rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
  color: color-mix(in srgb, var(--ty-text) 65%, transparent); background: var(--ty-surface);
  border: 1px solid color-mix(in srgb, var(--ty-text) 12%, transparent); white-space: nowrap;
}
.ty-cat.on, .ty-cat:hover { color: #fff; background: var(--ty-primary); border-color: var(--ty-primary); text-decoration: none; }
.ty-menu { padding: .4rem 1rem 2rem; }
.ty-section { scroll-margin-top: 64px; margin-top: 1.1rem; }
.ty-section-title { margin: 0 0 .65rem; font-size: 1.05rem; color: var(--ty-primary); }
.ty-list { display: flex; flex-direction: column; gap: .65rem; }
.ty-item {
  display: flex; gap: .75rem; background: var(--ty-surface);
  border: 1px solid color-mix(in srgb, var(--ty-text) 12%, transparent); border-radius: 16px;
  padding: .85rem; box-shadow: var(--shadow); color: var(--ty-text);
}
.ty-item-body { flex: 1; min-width: 0; }
.ty-item-top { display: flex; justify-content: space-between; gap: .75rem; align-items: flex-start; }
.ty-item-name { margin: 0; font-size: 1rem; font-weight: 700; color: var(--ty-text); }
.ty-price { flex-shrink: 0; font-weight: 800; color: var(--ty-primary); white-space: nowrap; }
.ty-item-desc { margin: .3rem 0 0; color: color-mix(in srgb, var(--ty-text) 62%, transparent); font-size: .86rem; line-height: 1.4; }
.ty-aski-pill {
  display: inline-block; margin-top: .45rem; font-size: .72rem; font-weight: 700;
  color: color-mix(in srgb, var(--ty-accent) 35%, #2e2300); background: color-mix(in srgb, var(--ty-accent) 22%, #fff);
  padding: .15rem .5rem; border-radius: 999px;
}
.ty-aski-pill.muted { opacity: .75; }
.ty-item-visual {
  width: 72px; height: 72px; border-radius: 14px;
  background: color-mix(in srgb, var(--ty-primary) 14%, var(--ty-surface));
  display: grid; place-items: center; font-size: 1.7rem; flex-shrink: 0;
}
.ty-empty { text-align: center; color: color-mix(in srgb, var(--ty-text) 55%, transparent); padding: 2.5rem 1rem; }
.ty-foot { text-align: center; color: color-mix(in srgb, var(--ty-text) 55%, transparent); font-size: .78rem; padding: 0 1rem 1.5rem; }

/* Yerleşimler */
.menu-layout-compact .ty-item { padding: .65rem .75rem; border-radius: 12px; }
.menu-layout-compact .ty-item-visual { display: none; }
.menu-layout-compact .ty-list { gap: .45rem; }
.menu-layout-cards .ty-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem;
}
.menu-layout-cards .ty-item { flex-direction: column; }
.menu-layout-cards .ty-item-visual { width: 100%; height: 72px; }

/* Şablon stilleri */
.menu-style-kraft .menu-shell,
.menu-style-kraft.menu-body { background-image: radial-gradient(rgba(90,60,30,.06) 1px, transparent 1px); background-size: 6px 6px; }
.menu-style-kraft .ty-name { letter-spacing: .02em; }
.menu-style-kraft .ty-item { border-style: dashed; }
.menu-style-board .ty-price { font-size: 1.15rem; }
.menu-style-board .ty-item-name { font-size: 1.05rem; }
.menu-style-board .ty-hero-bg {
  background: linear-gradient(145deg, var(--ty-primary) 0%, color-mix(in srgb, var(--ty-primary) 70%, #000 30%) 100%);
}
.menu-style-board .ty-chip { border-radius: 8px; }
.menu-style-catalog .ty-item { border-radius: 8px; box-shadow: none; }
.menu-style-catalog .ty-item-visual { border-radius: 8px; }
.menu-style-bold .ty-name { font-weight: 800; letter-spacing: -.01em; }
.menu-style-bold .ty-section-title { text-transform: uppercase; font-size: .92rem; letter-spacing: .06em; }

/* Panel: şablon stüdyosu */
.menu-design-studio {
  display: grid; gap: 1rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
}
.menu-design-studio > .biz-qr-wide { grid-column: 1 / -1; }
.menu-preview-pane { align-self: start; position: sticky; top: .75rem; }
.menu-phone {
  margin: .5rem auto 0; width: min(100%, 280px);
  border: 2px solid #2a2a2a; border-radius: 28px; padding: 10px 8px 14px;
  background: #111; box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.menu-phone-screen {
  border-radius: 18px; overflow: hidden; max-height: 460px; overflow-y: auto;
  background: var(--ty-bg, #faf8f4); color: var(--ty-text, #1f2a28);
  transform-origin: top center;
}
.menu-phone-screen .ty-hero-inner { padding: 1rem .85rem .85rem; }
.menu-phone-screen .ty-name { font-size: 1.25rem; }
.menu-phone-screen .ty-menu { padding: .35rem .75rem 1rem; }
.menu-phone-screen .ty-item { padding: .65rem; }
.menu-theme-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; margin-bottom: 1rem;
}
.menu-theme-card {
  position: relative;
  display: flex; flex-direction: column; gap: .3rem; align-items: stretch;
  border: 1px solid var(--line); border-radius: 14px; padding: .55rem; cursor: pointer; background: #fff;
}
.menu-theme-card input { position: absolute; opacity: 0; pointer-events: none; }
.menu-theme-card.on, .menu-theme-card:has(input:checked) {
  border-color: var(--green); box-shadow: 0 0 0 2px color-mix(in srgb, var(--green) 25%, transparent);
}
.menu-theme-swatch {
  display: block; height: 44px; border-radius: 10px;
  background:
    linear-gradient(135deg, var(--sw-p) 0 55%, var(--sw-a) 55% 70%, var(--sw-b) 70% 100%);
}
.menu-theme-name { font-size: .78rem; font-weight: 700; color: var(--green-dark); text-align: center; }
.menu-theme-blurb { font-size: .68rem; color: var(--muted); text-align: center; line-height: 1.3; }
.menu-theme-rec {
  position: absolute; top: .35rem; right: .35rem;
  font-size: .62rem; font-weight: 700; background: var(--green); color: #fff;
  padding: .12rem .4rem; border-radius: 999px;
}
.menu-theme-family {
  font-size: .62rem; font-weight: 700; text-align: center; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted);
}
.menu-theme-card.family-poster .menu-theme-family { color: #8b4513; }
.menu-theme-swatch-poster { position: relative; overflow: hidden; }
.menu-theme-swatch-poster .sw-poster-lines {
  position: absolute; inset: 8px 10px; border: 1px solid rgba(255,255,255,.35);
  border-radius: 4px;
  background: repeating-linear-gradient(
    transparent 0 4px,
    rgba(255,255,255,.2) 4px 5px
  );
  opacity: .7;
}
.menu-layout-grid { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; }
.menu-layout-card {
  border: 1px solid var(--line); border-radius: 999px; padding: .45rem .85rem; cursor: pointer;
  font-size: .85rem; font-weight: 700; background: #fff; color: var(--muted);
}
.menu-layout-card input { position: absolute; opacity: 0; pointer-events: none; }
.menu-layout-card.on, .menu-layout-card:has(input:checked) {
  background: var(--green); color: #fff; border-color: var(--green);
}
.color-row { display: flex; gap: .5rem; align-items: center; }
.color-row input[type=color] {
  width: 48px; height: 42px; padding: 0; border: 1px solid #cfcab8; border-radius: 10px;
  background: #fff; cursor: pointer; flex-shrink: 0;
}
.color-row input[type=text] { flex: 1; min-width: 0; }
@media (max-width: 900px) {
  .menu-design-studio { grid-template-columns: 1fr; }
  .menu-preview-pane { position: static; }
}
@media (max-width: 560px) {
  .menu-theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-layout-cards .ty-list { grid-template-columns: 1fr; }
}

.qr-panel-card img { display: block; background: #fff; }
.qr-print-page { padding: 1.2rem 1rem 2rem; }
.qr-print-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; justify-content: center; }
.qr-print-card {
  max-width: 420px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 1.5rem 1.2rem; text-align: center; box-shadow: var(--shadow);
}
.qr-print-card h1 { margin: .35rem 0 .2rem; font-size: 1.45rem; }
.qr-print-badge { display: inline-block; font-size: .78rem; font-weight: 700; color: #6a5217; background: var(--gold-soft); padding: .2rem .65rem; border-radius: 999px; }
.qr-print-img { width: 280px; height: 280px; margin: 1rem auto; border-radius: 12px; }
.qr-print-url { font-size: .82rem; word-break: break-all; color: var(--muted); }
@media print {
  .no-print, .site-header, .bottom-nav, .site-footer { display: none !important; }
  .menu-body, .menu-shell { background: #fff; }
  .qr-print-card { box-shadow: none; border: 0; }
  .qr-print-img { width: 320px; height: 320px; }
}

/* İşletme paneli */
.biz-body { background: linear-gradient(180deg, #e8f1ee 0%, var(--bg) 220px); }
.biz-header .brand { letter-spacing: .01em; }
.biz-main { padding-top: 1.1rem; padding-bottom: 1.5rem; }
.biz-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff; border-radius: var(--radius); padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
}
.biz-hero h1 { color: #fff; margin: 0 0 .35rem; }
.biz-hero .muted { color: rgba(255,255,255,.78); }
.biz-hero-eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: .35rem;
}
.biz-stat-row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .55rem; margin-top: 1rem;
}
.biz-stat {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px; padding: .65rem .5rem; text-align: center;
}
.biz-stat b { display: block; font-size: 1.25rem; line-height: 1.2; }
.biz-stat span { display: block; font-size: .72rem; opacity: .85; margin-top: .15rem; }
.biz-stat.warn { background: rgba(193,154,63,.28); border-color: rgba(255,220,140,.45); }
.biz-claim {
  display: flex; justify-content: space-between; gap: .75rem; flex-wrap: wrap;
  align-items: flex-start; padding: .85rem; border: 1px solid var(--line);
  border-radius: 12px; background: #fff;
}
.biz-claim.ready {
  background: var(--green-soft); border-color: #b7d7cc;
}
.biz-biz-card { transition: border-color .15s ease, transform .15s ease; }
.biz-biz-card:hover { transform: translateY(-1px); }
@media (max-width: 560px) {
  .biz-stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* İşletme paneli sekmeleri */
.biz-tabs { margin-top: .15rem; }
.biz-tabs-nav {
  display: flex; gap: .35rem; overflow-x: auto; padding: .15rem 0 .85rem;
  margin: 0 0 .15rem; border-bottom: 1px solid var(--line);
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.biz-tabs-nav::-webkit-scrollbar { display: none; }
.biz-tab {
  flex: 0 0 auto; appearance: none; border: 1px solid transparent; background: transparent;
  color: var(--muted); font: inherit; font-weight: 700; font-size: .9rem;
  padding: .55rem .95rem; border-radius: 999px; cursor: pointer; white-space: nowrap;
}
.biz-tab em {
  font-style: normal; font-size: .72rem; font-weight: 800;
  background: var(--gold); color: #2e2300; border-radius: 999px;
  padding: .08rem .4rem; margin-left: .15rem;
}
.biz-tab:hover { color: var(--green-dark); background: var(--green-soft); }
.biz-tab.on {
  color: #fff; background: var(--green); border-color: var(--green);
}
.biz-tab.on em { background: rgba(255,255,255,.22); color: #fff; }
.biz-tab-panel { display: flex; flex-direction: column; gap: 1rem; }
.biz-tab-panel[hidden] { display: none !important; }
.biz-panel-grid.flat { margin: 0; }
.biz-qr-wide { max-width: 420px; }
.biz-subhead {
  margin: 0 0 .55rem; font-size: .82rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted);
}
button.linkish {
  appearance: none; border: 0; background: none; padding: 0; margin: 0;
  color: var(--green); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline;
}

/* İşletme detay paneli */
.biz-panel-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 88% 0%, rgba(193,154,63,.28), transparent 42%),
    linear-gradient(145deg, #0a4439 0%, #0f5c4d 55%, #14705e 100%);
  border-radius: 20px; padding: 1.2rem 1.15rem 1.05rem; margin-bottom: 1rem;
  box-shadow: var(--shadow);
}
.biz-panel-back {
  display: inline-block; color: rgba(255,255,255,.78); font-size: .86rem; font-weight: 600; margin-bottom: .75rem;
}
.biz-panel-back:hover { color: #fff; text-decoration: none; }
.biz-panel-hero-main { display: flex; gap: .9rem; align-items: flex-start; }
.biz-panel-icon {
  width: 56px; height: 56px; border-radius: 16px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1.7rem;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18);
}
.biz-panel-kicker {
  font-size: .78rem; font-weight: 700; letter-spacing: .03em;
  text-transform: uppercase; color: rgba(255,255,255,.72); margin-bottom: .2rem;
}
.biz-panel-hero h1 { margin: 0; color: #fff; font-size: 1.55rem; }
.biz-panel-scores {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .65rem;
}
.biz-panel-scores span {
  display: inline-flex; align-items: center; gap: .2rem;
  padding: .28rem .65rem; border-radius: 999px; font-size: .8rem; font-weight: 700;
  background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.16);
}
.biz-panel-scores span.on { background: rgba(193,154,63,.35); border-color: rgba(255,220,140,.35); }
.biz-panel-scores.solid span {
  background: var(--green-soft); color: var(--green-dark); border-color: #c9ddd5;
}
.biz-panel-links {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem;
}
.biz-panel-links a {
  padding: .42rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 700;
  background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.22);
}
.biz-panel-links a:hover { background: rgba(255,255,255,.2); text-decoration: none; }

.biz-panel-alert {
  background: linear-gradient(180deg, #fff8e8, #fff); border: 1px solid #ecd9a1;
  border-radius: 18px; padding: 1rem 1.05rem; margin-bottom: 1rem;
}
.biz-panel-grid {
  display: grid; gap: 1rem; grid-template-columns: 1fr;
}
.biz-panel-col, .biz-panel-side { display: flex; flex-direction: column; gap: 1rem; }
.biz-panel-block {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 1.05rem 1.1rem; box-shadow: var(--shadow);
}
.biz-panel-block.qr { text-align: center; }
.biz-panel-block h2 { margin: 0; font-size: 1.15rem; }
.biz-panel-sec-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; margin-bottom: .85rem;
}
.biz-panel-sec-head p { margin: .2rem 0 0; }
.biz-panel-steps {
  list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .35rem; margin: 0 0 1rem; padding: 0;
}
.biz-panel-steps li {
  position: relative; text-align: center; font-size: .72rem; font-weight: 700;
  color: var(--green-dark); background: var(--green-soft); border-radius: 10px; padding: .55rem .25rem;
}
.biz-panel-steps li::before {
  content: counter(step); counter-increment: step;
  display: none;
}
.biz-panel-steps { counter-reset: step; }
.biz-panel-form .field { margin-bottom: .75rem; min-width: 0; }
.biz-panel-form.compact .field { margin-bottom: .5rem; }
.biz-panel-form-row {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem;
  align-items: start;
}
.biz-panel-form-row.pair { grid-template-columns: minmax(0, 1fr) 110px; }
.biz-panel-form-row .field { margin-bottom: .75rem; min-width: 0; }
.biz-panel-form-row .field > input,
.biz-panel-form-row .field > select,
.biz-panel-form .field > input,
.biz-panel-form .field > select,
.biz-panel-form .field > textarea {
  width: 100%;
}
.biz-panel-chips {
  display: flex; flex-wrap: wrap; gap: .35rem; margin: -.15rem 0 .85rem;
}
.biz-panel-chips span {
  font-size: .75rem; font-weight: 600; color: var(--green-dark);
  background: var(--green-soft); border-radius: 999px; padding: .28rem .65rem;
}
.biz-panel-hint { margin: -.25rem 0 .85rem; }
.biz-panel-inline {
  display: flex; gap: .55rem; align-items: flex-end; flex-wrap: wrap; margin-bottom: 1rem;
}
.biz-panel-inline .field { margin: 0; flex: 1; min-width: 160px; }
.biz-panel-list { display: flex; flex-direction: column; gap: .55rem; }
.biz-panel-list-gap { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.biz-panel-row {
  display: flex; justify-content: space-between; gap: .75rem; flex-wrap: wrap; align-items: center;
  padding: .75rem .85rem; border-radius: 14px; background: #f8f7f2; border: 1px solid var(--line);
}
.biz-panel-row.ready { background: var(--green-soft); border-color: #b7d7cc; }
.biz-panel-row.bare { background: transparent; border: 0; padding: 0; }
.biz-panel-actions { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.biz-panel-actions.wrap { margin-top: .55rem; }
.biz-box {
  border: 1px solid var(--line); border-radius: 16px; padding: .9rem; background: #fbfaf6;
}
.biz-box.open { background: #fff; border-color: #c9ddd5; }
.biz-box-top { display: flex; justify-content: space-between; gap: .75rem; align-items: flex-start; }
.biz-box-meta {
  display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .35rem;
}
.biz-box-meta span {
  font-size: .74rem; font-weight: 600; color: var(--muted);
  background: #f0eee6; border-radius: 999px; padding: .18rem .5rem;
}
.biz-box .biz-panel-list { margin-top: .7rem; }
.biz-box .muted.small { margin: .35rem 0 0; }
.biz-product {
  border: 1px solid var(--line); border-radius: 14px; padding: .85rem; background: #fff;
}
.biz-qr {
  width: 180px; height: 180px; margin: .75rem auto; border-radius: 14px;
  border: 1px solid var(--line); background: #fff;
}
.biz-qr-url {
  display: block; font-size: .75rem; color: var(--muted); word-break: break-all;
  margin: 0 0 .75rem;
}
.biz-ledger { display: flex; flex-direction: column; gap: .4rem; margin-top: .65rem; }
.biz-ledger div { font-size: .82rem; color: var(--muted); }
.biz-ledger span { color: var(--text); font-weight: 600; margin-right: .2rem; }

@media (min-width: 720px) {
  .biz-panel-form-row:not(.pair) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .biz-panel-grid { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
  .biz-panel-side { position: sticky; top: 74px; }
  .biz-panel-hero h1 { font-size: 1.85rem; }
}

/* Masaüstü */
@media (min-width: 860px) {
  body { padding-bottom: 0; }
  .main-nav { display: flex; }
  .bottom-nav { display: none; }
  .two-col { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
  .hero { padding: 2.6rem 2.2rem; }
  .hero h1 { font-size: 2.3rem; }
  h1 { font-size: 2rem; }
}

/* ========== Afiş (poster) menü şablonları ========== */
.poster {
  --poster-font: "Source Sans 3", "Segoe UI", sans-serif;
  --poster-display: "Playfair Display", Georgia, serif;
  --poster-script: "Caveat", cursive;
  position: relative; min-height: 100vh; padding: 1.4rem 1.1rem 2rem;
  font-family: var(--poster-font); color: var(--ty-text);
  overflow: hidden;
}
.poster-head { text-align: center; margin-bottom: 1.25rem; position: relative; z-index: 1; }
.poster-kicker { margin: 0; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.poster-title {
  margin: .15rem 0 0; font-family: var(--poster-script); font-size: clamp(2.8rem, 12vw, 4.2rem);
  font-weight: 700; line-height: 1; color: var(--ty-primary);
}
.poster-brand { margin: .2rem 0 0; font-family: var(--poster-display); font-size: 1.35rem; font-weight: 700; }
.poster-tagline { margin: .35rem 0 0; font-size: 1rem; opacity: .9; }
.poster-meta { margin: .25rem 0 0; font-size: .85rem; opacity: .65; }
.poster-actions { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: .85rem; }
.poster-chip {
  display: inline-flex; padding: .4rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 700;
  text-decoration: none; background: var(--ty-accent); color: #111;
}
.poster-chip.ghost { background: transparent; color: var(--ty-text); border: 1px solid color-mix(in srgb, var(--ty-text) 35%, transparent); }
.poster-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; position: relative; z-index: 1; }
.poster-cols-1 { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
.poster-section { margin-bottom: 1.15rem; }
.poster-cat {
  margin: 0 0 .55rem; font-family: var(--poster-display); font-size: 1.05rem; font-weight: 700;
  color: var(--ty-accent); letter-spacing: .02em;
}
.poster-list { list-style: none; margin: 0; padding: 0; }
.poster-list > li { margin: 0 0 .55rem; }
.poster-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: .35rem;
  color: inherit; text-decoration: none;
}
.poster-name { font-size: .95rem; font-weight: 600; }
.poster-aski { font-style: normal; font-size: .68rem; font-weight: 700; margin-left: .35rem;
  color: var(--ty-accent); text-transform: uppercase; letter-spacing: .04em; }
.poster-dots {
  border-bottom: 1px dotted color-mix(in srgb, var(--ty-text) 45%, transparent);
  transform: translateY(-.25em); min-width: .75rem;
}
.poster-price { font-size: .92rem; font-weight: 700; white-space: nowrap; color: var(--ty-primary); }
.poster-desc { margin: .15rem 0 0; font-size: .78rem; opacity: .65; line-height: 1.35; }
.poster-empty { text-align: center; opacity: .6; padding: 2rem 0; }
.poster-surprise { margin-bottom: 1rem; position: relative; z-index: 1; }
.poster-foot {
  position: relative; z-index: 1; margin-top: 1.5rem; padding-top: 1rem;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: .75rem; align-items: end;
}
.poster-logo { display: flex; flex-direction: column; gap: .2rem; }
.poster-logo-mark { font-size: 2rem; line-height: 1; }
.poster-logo-text { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.poster-deco {
  height: 110px; border-radius: 18px 18px 0 40%;
  background:
    radial-gradient(circle at 60% 40%, color-mix(in srgb, var(--ty-accent) 55%, transparent), transparent 55%),
    linear-gradient(160deg, color-mix(in srgb, var(--ty-primary) 25%, transparent), transparent 70%);
  opacity: .9;
}
.poster-credit { grid-column: 1 / -1; text-align: center; font-size: .72rem; opacity: .55; margin: .35rem 0 0; }

/* Kara tahta */
.poster-chalkboard {
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255,255,255,.05), transparent 40%),
    radial-gradient(ellipse at 80% 90%, rgba(212,160,23,.08), transparent 45%),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,.015) 2px, rgba(255,255,255,.015) 3px),
    #141414;
}
.poster-chalkboard .poster-title { color: #f5f0e6; text-shadow: 0 2px 0 rgba(0,0,0,.35); }
.poster-chalkboard .poster-cat { color: #d4a017; }
.poster-chalkboard .poster-price { color: #f0e6d2; }
.poster-chalkboard .poster-deco {
  background:
    radial-gradient(circle at 70% 30%, rgba(255,180,80,.35), transparent 50%),
    linear-gradient(200deg, rgba(180,60,40,.45), transparent 65%);
}

/* Kraft kağıt */
.poster-kraft {
  background:
    radial-gradient(rgba(80,50,20,.06) 1px, transparent 1px),
    linear-gradient(180deg, #efe0cb, #e2d0b4);
  background-size: 5px 5px, auto;
}
.poster-kraft .poster-title { font-family: var(--poster-display); font-size: clamp(2.2rem, 9vw, 3.2rem); color: #5c3d2e; }
.poster-kraft .poster-cat { border-bottom: 1px solid color-mix(in srgb, #5c3d2e 30%, transparent); padding-bottom: .25rem; }
.poster-kraft .poster-chip { border-radius: 6px; }

/* Tezgah tabelası */
.poster-board .poster-title {
  font-family: var(--poster-font); font-size: clamp(2rem, 8vw, 2.8rem);
  letter-spacing: .12em; text-transform: uppercase; color: var(--ty-accent);
}
.poster-board .poster-row { grid-template-columns: 1fr auto; }
.poster-board .poster-dots { display: none; }
.poster-board .poster-name { font-size: 1.05rem; }
.poster-board .poster-price { font-size: 1.15rem; color: var(--ty-accent); }
.poster-board .poster-cat {
  background: var(--ty-accent); color: #111; display: inline-block;
  padding: .2rem .55rem; border-radius: 4px; font-family: var(--poster-font);
  text-transform: uppercase; letter-spacing: .06em; font-size: .85rem;
}
.poster-board .poster-foot { grid-template-columns: 1fr; }
.poster-board .poster-deco { display: none; }

/* Fırın vitrin */
.poster-bakery {
  background:
    linear-gradient(180deg, #fff8ee, #f3e6d4);
}
.poster-bakery .poster-title { color: #8b4513; font-family: var(--poster-display); }
.poster-bakery .poster-section {
  background: rgba(255,255,255,.55); border: 1px solid rgba(139,69,19,.12);
  border-radius: 14px; padding: .75rem .85rem;
}
.poster-bakery .poster-deco {
  background: radial-gradient(circle at 50% 50%, rgba(201,162,39,.4), transparent 60%);
}

/* Market katalog */
.poster-catalog .poster-title {
  font-family: var(--poster-font); font-size: 1.8rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ty-primary);
}
.poster-catalog .poster-section { border-top: 2px solid var(--ty-primary); padding-top: .5rem; }
.poster-catalog .poster-cat { color: var(--ty-primary); font-family: var(--poster-font); text-transform: uppercase; font-size: .85rem; }
.poster-catalog .poster-deco { display: none; }
.poster-catalog .poster-foot { grid-template-columns: 1fr; }

@media (max-width: 640px) {
  .poster-cols { grid-template-columns: 1fr; }
  .poster-foot { grid-template-columns: 1fr; }
  .poster-deco { height: 80px; }
}
@media print {
  .poster { min-height: auto; }
  .poster-actions { display: none; }
}

/* Canvas afiş: yazı değişkenleri + arka plan paketleri */
.poster-canvas .poster-title {
  font-family: var(--poster-title-font); color: var(--poster-title-color);
}
.poster-canvas .poster-brand,
.poster-canvas .poster-tagline,
.poster-canvas .poster-meta,
.poster-canvas .poster-name,
.poster-canvas .poster-desc,
.poster-canvas .poster-kicker,
.poster-canvas .poster-logo-text,
.poster-canvas .poster-credit {
  font-family: var(--poster-item-font); color: var(--poster-item-color);
}
.poster-canvas .poster-brand { font-family: var(--poster-cat-font); font-weight: 700; }
.poster-canvas .poster-cat { font-family: var(--poster-cat-font); color: var(--poster-cat-color); }
.poster-canvas .poster-price { font-family: var(--poster-item-font); color: var(--poster-price-color); }
.poster-canvas .poster-dots { border-bottom-color: color-mix(in srgb, var(--poster-item-color) 45%, transparent); }
.poster-logo-img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--poster-item-color) 40%, transparent); }
.poster-hero-wrap { justify-self: end; }
.poster-hero {
  width: min(100%, 200px); height: 140px; object-fit: cover;
  border-radius: 50% 50% 40% 60% / 55% 45% 55% 45%;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
}

.poster-bg-chalkboard {
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255,255,255,.05), transparent 40%),
    radial-gradient(ellipse at 80% 90%, rgba(212,160,23,.08), transparent 45%),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,.015) 2px, rgba(255,255,255,.015) 3px),
    #141414;
}
.poster-bg-slate {
  background:
    linear-gradient(160deg, #323a44, #1c222a 55%, #14181e);
}
.poster-bg-kraft {
  background:
    radial-gradient(rgba(80,50,20,.07) 1px, transparent 1px),
    linear-gradient(180deg, #efe0cb, #e2d0b4);
  background-size: 5px 5px, auto;
}
.poster-bg-linen {
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.03) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(0deg, rgba(0,0,0,.02) 0 1px, transparent 1px 7px),
    #f3eee4;
}
.poster-bg-marble {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.8), transparent 45%),
    radial-gradient(ellipse at 70% 80%, rgba(180,190,200,.35), transparent 50%),
    #eceff3;
}
.poster-bg-night {
  background: radial-gradient(ellipse at 50% 0%, #1e3a5f, #0f1724 55%, #0a1018);
}
.poster-bg-wood {
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.08) 0 2px, transparent 2px 18px),
    linear-gradient(180deg, #7a5238, #5c3d2e 50%, #4a3124);
}
.poster-bg-cream { background: linear-gradient(180deg, #fffdf8, #faf6ee); }

/* Stüdyo kontrolleri */
.canvas-tools { display: grid; gap: .85rem; margin: 1rem 0; }
.canvas-tool-block h4 { margin: 0 0 .45rem; font-size: .85rem; }
.canvas-bg-grid, .canvas-font-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem;
}
.canvas-bg-card, .canvas-font-card {
  position: relative; border: 1px solid var(--line); border-radius: 10px;
  padding: .4rem; cursor: pointer; background: #fff; text-align: center;
}
.canvas-bg-card input, .canvas-font-card input { position: absolute; opacity: 0; pointer-events: none; }
.canvas-bg-card.on, .canvas-font-card.on,
.canvas-bg-card:has(input:checked), .canvas-font-card:has(input:checked) {
  border-color: var(--green); box-shadow: 0 0 0 2px color-mix(in srgb, var(--green) 22%, transparent);
}
.canvas-bg-swatch { display: block; height: 36px; border-radius: 7px; margin-bottom: .3rem; }
.canvas-bg-card span:last-child, .canvas-font-card span { font-size: .68rem; font-weight: 700; color: var(--muted); }
.canvas-font-card { min-height: 52px; display: grid; place-items: center; padding: .55rem .35rem; }
.canvas-font-card .ff { font-size: 1.05rem; color: var(--text); line-height: 1.1; }
@media (max-width: 560px) {
  .canvas-bg-grid, .canvas-font-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
