/* Bidokun — bal ve lacivert, dokunuş halkaları */

:root {
  --paper: #F6F5F2;
  --surface: #FFFFFF;
  --ink: #1B1E20;
  --ink-2: #4A4E52;
  --ink-3: #686C71;
  --line: #E2DFD8;
  --honey: #C98F36;
  --ok: #146C43;
  --err: #B3261E;
  --accent: #C98F36;
  --on-accent: #1B1E20;
  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.theme-bal      { --accent: #C98F36; --on-accent: #1B1E20; }
.theme-lacivert { --accent: #1F3A6E; --on-accent: #FFFFFF; }
.theme-zumrut   { --accent: #0E7C66; --on-accent: #FFFFFF; }
.theme-kiraz    { --accent: #C8283C; --on-accent: #FFFFFF; }
.theme-erik     { --accent: #6B3FA0; --on-accent: #FFFFFF; }
.theme-petrol   { --accent: #0B6E8A; --on-accent: #FFFFFF; }
.theme-kor      { --accent: #C4531F; --on-accent: #FFFFFF; }

/* koyu sayfa: yalnızca müşteri sayfasında (panelde seçici noktası etkilenmesin) */
.bp-body.theme-kor {
  --paper: #17120F; --surface: #241A14; --ink: #F4EDE6; --ink-2: #CDBFB3; --ink-3: #A39384; --line: #3A2B21;
  color-scheme: dark;
  background: radial-gradient(ellipse 90% 45% at 50% 100%, #3B1E10 0, transparent 70%) fixed, var(--paper);
}
.bp-body.theme-kor .row:hover { background: #2D2119; }
.bp-body.theme-kor .bp-foot .wm-img { filter: brightness(0) invert(1); opacity: .65; }
.bp-body.theme-kor .bp-head h1, .bp-body.theme-kor .menu-head h1 { text-transform: uppercase; letter-spacing: 0; }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
a { color: inherit; }
img, svg { max-width: 100%; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- marka ---------- */

.wm { font-weight: 800; letter-spacing: -0.02em; font-size: 1.35rem; white-space: nowrap; }
.wm b {
  font-weight: 800; background: var(--honey); color: var(--ink);
  padding: 0 0.22em; margin-right: 0.08em; border-radius: 0.35em;
}
.wm-link { color: inherit; text-decoration: none; display: inline-block; line-height: 0; }
.wm-img { height: 38px; width: auto; display: block; }
.wm-big { height: auto; width: min(240px, 66vw); margin-bottom: 8px; }
.bp-foot .wm-img { height: 20px; display: inline-block; vertical-align: -5px; }
.pc-wm .wm-img { height: 28px; margin-inline: auto; }

/* ---------- düğmeler ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 18px; border-radius: 12px;
  border: 1px solid transparent; font: inherit; font-weight: 650;
  text-decoration: none; cursor: pointer; background: transparent; color: var(--ink);
}
.btn-honey { background: var(--honey); color: var(--ink); }
.btn-honey:hover { filter: brightness(0.96); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #24304A; }
.btn-ghost { border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { background: #EEF1F6; }
.btn-danger { border-color: #E8B4B0; color: var(--err); background: var(--surface); }
.btn-danger:hover { background: #FCEEEC; }
.btn-wide { width: 100%; }
.icon-btn { min-width: 46px; padding: 0; font-size: 1.1rem; }

.copy {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px;
  border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  font: inherit; font-weight: 650; cursor: pointer; color: var(--ink);
}
.copy:hover { background: #EEF1F6; }
.copy.done { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- halkalar (dokunuş) ---------- */

.rings { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.rings i {
  --w: 140px; --o: 0.5;
  position: absolute; width: var(--w); height: var(--w);
  right: calc(var(--w) / -2 + 28px); top: calc(var(--w) / -2 + 28px);
  border-radius: 50%; border: 2px solid var(--accent); opacity: var(--o);
  animation: ripple 1.1s cubic-bezier(.2, .7, .2, 1) both;
}
.rings i:nth-child(1) { --w: 130px; --o: .55; animation-delay: .05s; }
.rings i:nth-child(2) { --w: 240px; --o: .32; animation-delay: .2s; }
.rings i:nth-child(3) { --w: 370px; --o: .16; animation-delay: .35s; }

@keyframes ripple {
  from { transform: scale(.4); opacity: 0; }
  to   { transform: scale(1);  opacity: var(--o); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- genel sayfa kalıpları ---------- */

.narrow { max-width: 420px; margin: 0 auto; padding: 48px 20px 64px; }
.narrow h1 { font-size: 2.25rem; margin: 28px 0 8px; }
.lead { color: var(--ink-2); font-size: 1.0625rem; margin: 0 0 20px; max-width: 56ch; }

.stack { display: grid; gap: 16px; max-width: 520px; }

.field label, .field legend {
  display: block; font-weight: 650; font-size: .9375rem; margin-bottom: 6px; padding: 0;
}
.field input[type=text], .field input[type=email], .field input[type=password],
.field input[type=tel], .field input:not([type]), .field input[type=url] {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #BAC3D3;
  border-radius: 12px; background: #fff; font: inherit; color: inherit;
}
.field input:focus { border-color: var(--ink); }
.field fieldset, fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.has-err input { border-color: var(--err) !important; }
.msg { margin: 6px 0 0; color: var(--ink-3); font-size: .875rem; }
.msg.err { color: var(--err); font-weight: 650; }
.static { margin: 0; padding: 12px 14px; background: #EAEEF4; border-radius: 12px; color: var(--ink-2); overflow-wrap: anywhere; }

.check { display: flex; align-items: center; gap: 10px; font-weight: 650; min-height: 44px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--ink); margin: 0; }

.flash { padding: 12px 14px; border-radius: 12px; margin: 0 0 16px; font-weight: 650; }
.flash.ok  { background: #E1F3E8; color: #0F5132; }
.flash.err { background: #FCE8E6; color: #8C1D18; }

.empty { color: var(--ink-3); padding: 8px 0 16px; }
.sub { font-size: 1.125rem; margin: 28px 0 10px; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- tanıtım sayfası ---------- */

.land { max-width: 1040px; margin: 0 auto; padding: 20px 20px 40px; }
.land-top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
.land section { position: relative; }
.land h2 { font-size: clamp(1.6rem, 5.5vw, 2.3rem); letter-spacing: -0.025em; font-weight: 760; margin: 0 0 14px; }
.btn-lg { min-height: 54px; padding: 0 24px; font-size: 1.0625rem; border-radius: 14px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-onink { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }

/* kahraman alan */
.hero2 { display: grid; gap: 40px; padding: 44px 0 56px; margin-inline: calc(50% - 50vw); padding-inline: calc(50vw - 50%); overflow: hidden; }
.hero2 .rings { inset: 0; }
.hero2 .rings i { right: calc(var(--w) / -2 + 6vw); top: calc(var(--w) / -2 + 55%); }
.hero2 .rings i:nth-child(1) { --w: 260px; }
.hero2 .rings i:nth-child(2) { --w: 460px; }
.hero2 .rings i:nth-child(3) { --w: 700px; }
.hero2-txt { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px 6px 10px; border-radius: 999px; background: color-mix(in srgb, var(--honey) 18%, transparent); font-size: .875rem; font-weight: 700; letter-spacing: .01em; }
.eyebrow svg { width: 20px; height: 20px; color: #8A5A12; }
.hero2 h1 { margin: 0 0 18px; font-size: clamp(2.4rem, 9.5vw, 4.4rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; }
.hero2 h1 em { font-style: normal; color: #A8701F; }
.hero2 .lead { font-size: clamp(1.0625rem, 3.6vw, 1.25rem); max-width: 36em; color: var(--ink-2); margin: 0; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-weight: 560; }
.ticks svg { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--honey); color: var(--ink); margin-top: 1px; }

/* telefon örneği */
.hero2-vis { position: relative; display: grid; place-items: center; min-height: 460px; }
.phone {
  width: min(270px, 74vw); padding: 9px; border-radius: 40px; background: var(--ink); transform: rotate(-3deg);
  box-shadow: 0 30px 60px -20px rgba(27,30,32,.45), 0 0 0 1px rgba(255,255,255,.08) inset;
  animation: float 7s ease-in-out infinite alternate;
}
.ph-screen { border-radius: 32px; background: var(--paper); padding: 30px 14px 18px; min-height: 420px; }
.ph-name { margin: 0; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; }
.ph-tag { margin: 2px 0 14px; color: var(--ink-3); font-size: .8125rem; }
.ph-main, .ph-row { display: flex; align-items: center; gap: 10px; border-radius: 16px; font-weight: 700; font-size: .9375rem; }
.ph-main { background: var(--honey); color: var(--ink); padding: 14px; min-height: 58px; }
.ph-row { background: #fff; border: 1px solid var(--line); margin-top: 9px; padding: 9px 12px; }
.ph-row > span:nth-child(2) { flex: 1; }
.ph-row > svg { width: 18px; height: 18px; color: var(--ink-3); }
.ph-ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--honey); color: var(--ink); }
.ph-ico svg { width: 18px; height: 18px; }
.nfc-tag {
  position: absolute; left: 0; bottom: 36px; width: 104px; height: 104px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #E3B160, #B8802E 62%, #8D5E1B); color: #fff;
  display: grid; place-items: center; box-shadow: 0 18px 34px -10px rgba(141,94,27,.6);
  animation: float 6s ease-in-out infinite alternate-reverse;
}
.nfc-tag::before, .nfc-tag::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid var(--honey); opacity: .5; animation: pulse 3s ease-out infinite; }
.nfc-tag::after { animation-delay: 1.5s; }
.nfc-tag svg { width: 46px; height: 46px; }
.qr-card { position: absolute; right: 0; top: 18px; width: 108px; padding: 8px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transform: rotate(6deg); box-shadow: 0 16px 30px -12px rgba(27,30,32,.35); animation: float 8s ease-in-out infinite alternate; }
.qr-card svg { display: block; width: 100%; height: auto; }
@keyframes float { to { translate: 0 -12px; } }
@keyframes pulse { 0% { transform: scale(.85); opacity: .6; } 100% { transform: scale(1.5); opacity: 0; } }

/* bölümler */
.problem { padding: 12px 0 56px; max-width: 760px; }
.problem p { margin: 0; font-size: 1.1875rem; color: var(--ink-2); }

.land-steps { padding-bottom: 56px; }
.land-steps ol { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.land-steps li { display: grid; gap: 6px; padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.land-steps li strong { color: var(--ink); font-size: 1.1875rem; }
.st-ico, .f-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: var(--honey); margin-bottom: 6px; }
.st-ico svg, .f-ico svg { width: 26px; height: 26px; }

.feat { padding-bottom: 56px; }
.feat ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.feat li { display: grid; gap: 4px; padding: 20px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); transition: transform .2s ease, box-shadow .2s ease; }
.feat li:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -16px rgba(27,30,32,.35); }
.feat li strong { color: var(--ink); font-size: 1.0625rem; }
.f-ico { background: color-mix(in srgb, var(--honey) 22%, transparent); color: #7A4F10; }

.who { padding-bottom: 56px; }
.chips-static { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.chips-static span { padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 650; }

.stats-band { display: grid; gap: 28px; padding: 32px 24px; border-radius: 28px; background: var(--ink); color: #F4EEE6; margin-bottom: 56px; overflow: hidden; }
.stats-band h2 { color: #fff; }
.stats-band p { margin: 0; color: #CFC6BA; font-size: 1.0625rem; }
.sb-vis { padding: 20px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.sb-k { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--honey); }
.sb-k svg { width: 20px; height: 20px; }
.sb-bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; margin-top: 16px; }
.sb-bars i { flex: 1; border-radius: 8px 8px 3px 3px; background: linear-gradient(var(--honey), #8D5E1B); transform-origin: bottom; animation: grow 1.2s cubic-bezier(.2,.7,.2,1) both; }
.sb-bars i:nth-child(1) { height: 34%; } .sb-bars i:nth-child(2) { height: 52%; animation-delay: .06s; } .sb-bars i:nth-child(3) { height: 44%; animation-delay: .12s; }
.sb-bars i:nth-child(4) { height: 70%; animation-delay: .18s; } .sb-bars i:nth-child(5) { height: 62%; animation-delay: .24s; } .sb-bars i:nth-child(6) { height: 88%; animation-delay: .3s; } .sb-bars i:nth-child(7) { height: 100%; animation-delay: .36s; }
@keyframes grow { from { transform: scaleY(.05); } }

.cta-band { text-align: center; padding: 44px 22px; border-radius: 28px; background: linear-gradient(135deg, #C98F36, #A8701F); color: var(--ink); }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { margin: 0; font-size: 1.125rem; }
.cta-band .actions { justify-content: center; }
.cta-band .btn-honey { background: var(--ink); color: #fff; }
.cta-band .btn-onink { color: var(--ink); border-color: rgba(27,30,32,.45); }
.land-foot { margin-top: 40px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--ink-3); font-size: .9rem; }

@media (min-width: 880px) {
  .hero2 { grid-template-columns: 1.15fr .85fr; align-items: center; padding-top: 64px; }
  .stats-band { grid-template-columns: 1.1fr .9fr; align-items: center; padding: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .phone, .nfc-tag, .qr-card, .sb-bars i, .nfc-tag::before, .nfc-tag::after { animation: none; }
  .feat li { transition: none; }
}

/* ---------- işletme sayfası (müşterinin gördüğü) ---------- */

.bp { max-width: 480px; margin: 0 auto; padding: 0 16px calc(32px + env(safe-area-inset-bottom)); }
/* başlık alanı ekranın iki kenarına kadar uzar; halkalar kenarda kesilir */
.bp-head { position: relative; margin-inline: calc(50% - 50vw); padding: 68px calc(50vw - 50% + 4px) 28px; }
.bp-head h1 {
  position: relative; margin: 0; max-width: 11em;
  font-size: clamp(2.1rem, 9.5vw, 2.9rem); line-height: 1.04; letter-spacing: -0.03em; font-weight: 780;
  overflow-wrap: anywhere;
}
.bp-head .tag { position: relative; margin: .7em 0 0; color: var(--ink-2); font-size: 1.0625rem; max-width: 30ch; }

.main-btn, .alt-btn {
  display: flex; align-items: center; gap: 14px; text-decoration: none; border-radius: 20px;
  padding: 16px 18px; position: relative;
}
.main-btn { background: var(--accent); color: var(--on-accent); min-height: 76px; }
.main-btn .ico {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: color-mix(in srgb, var(--on-accent) 16%, transparent);
}
.main-btn .ico svg { width: 26px; height: 26px; }
.main-btn .txt strong { display: block; font-size: 1.1875rem; font-weight: 720; line-height: 1.2; }
.main-btn .txt small { display: block; margin-top: 2px; font-size: .9375rem; opacity: .85; }

.alt-btn { margin-top: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); min-height: 64px; }
.alt-btn .ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.alt-btn .txt { flex: 1; }
.alt-btn .txt strong { font-size: 1.0625rem; font-weight: 680; }
.alt-btn .chev, .row .chev { color: var(--ink-3); display: grid; place-items: center; }
.main-btn:active, .alt-btn:active, .row:active { transform: scale(.992); }

.gh { font-size: .9375rem; font-weight: 650; color: var(--ink-2); margin: 28px 4px 8px; letter-spacing: 0; }
.sheet { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.row {
  display: grid; grid-template-columns: 44px 1fr 20px; gap: 14px; align-items: center;
  padding: 12px 16px; min-height: 68px; text-decoration: none; color: var(--ink);
  border-top: 1px solid var(--line);
}
.sheet > .row:first-child, .sheet > summary.row { border-top: 0; }
.row:hover { background: #F9FAFC; }
.row .ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.row .txt { min-width: 0; }
.row .txt strong { display: block; font-size: 1.0625rem; font-weight: 650; }
.row .txt small { display: block; color: var(--ink-3); font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .chev svg { width: 20px; height: 20px; }

details.pay summary { list-style: none; cursor: pointer; }
details.pay summary::-webkit-details-marker { display: none; }
details.pay[open] summary .chev svg { transform: rotate(90deg); }
.pay-body { padding: 4px 18px 20px; border-top: 1px solid var(--line); }
.pay-body .k { font-size: .875rem; color: var(--ink-3); margin: 14px 0 2px; }
.pay-body .v { margin: 0; font-size: 1.125rem; font-weight: 620; overflow-wrap: anywhere; }
.pay-body .iban { font-variant-numeric: tabular-nums; letter-spacing: .02em; word-spacing: .15em; user-select: all; }
.pay-body .copy { margin-top: 16px; }

.bp-foot { margin-top: 40px; text-align: center; color: var(--ink-3); font-size: .9rem; }
.bp-foot a { text-decoration: none; }
.bp-foot .wm { font-size: 1rem; color: var(--ink); }

/* menü */
.menu-head { padding: 24px 0 8px; }
.back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--ink-2); text-decoration: none; font-weight: 650; }
.back svg { width: 20px; height: 20px; }
.menu-head h1 { margin: 4px 0 0; font-size: 2.6rem; letter-spacing: -0.03em; font-weight: 780; }
.chips {
  display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 12px; position: sticky; top: 0;
  background: var(--paper); z-index: 2; scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chips a {
  flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); text-decoration: none; font-weight: 650; font-size: .9375rem; white-space: nowrap;
}
.cat h2 { font-size: 1.5rem; margin: 28px 0 10px; scroll-margin-top: 64px; }
.items { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.items li { padding: 14px 18px; border-top: 1px solid var(--line); }
.items li:first-child { border-top: 0; }
.line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.line .n { font-weight: 640; font-size: 1.0625rem; }
.line .p { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.items .d { margin: 4px 0 0; color: var(--ink-2); font-size: .9375rem; }

/* menü kategorileri: iki sütunlu kutular, seçilince yalnızca o kategori açılır */
.tiles-h { font-size: 1.5rem; text-align: center; margin: 22px 0 16px; text-transform: uppercase; letter-spacing: .01em; scroll-margin-top: 8px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tiles a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center;
  min-height: 112px; padding: 18px 10px; border-radius: 20px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  font-weight: 700; font-size: .9375rem; letter-spacing: .04em; text-transform: uppercase; overflow-wrap: anywhere;
}
.tiles a svg { width: 34px; height: 34px; color: var(--accent); stroke-width: 1.6; }
.tiles a:active { transform: scale(.98); }
.menu-tiles .chips { display: none; }
.menu-tiles .cat { display: none; }
.menu-tiles .cat:target { display: block; }
.menu-tiles:has(.cat:target) .tiles, .menu-tiles:has(.cat:target) .tiles-h { display: none; }
.cat .all { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin-top: 8px; color: var(--ink-2); text-decoration: none; font-weight: 650; }
.cat .all svg { width: 20px; height: 20px; }


/* ---------- sakin arka plan hareketi (müşteri sayfaları) ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-fx i {
  position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; opacity: .16; will-change: transform;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 45%, transparent) 0, transparent 66%);
  animation: drift 40s ease-in-out infinite alternate;
}
.bg-fx i:nth-child(1) { left: -25vmax; top: -22vmax; }
.bg-fx i:nth-child(2) { right: -30vmax; top: 28vh; animation-duration: 52s; animation-direction: alternate-reverse; }
.bg-fx i:nth-child(3) { left: -5vmax; bottom: -38vmax; animation-duration: 64s; }
@keyframes drift { to { transform: translate3d(9vmax, 7vmax, 0) scale(1.18); } }
.bp-body.theme-kor .bg-fx i { opacity: .3; }
.bg-fx b { display: none; }
.bp-body.theme-kor .bg-fx b { display: block; }
.bg-fx u {
  position: absolute; bottom: -12px; width: 4px; height: 4px; border-radius: 50%; background: #E8843F; opacity: 0;
  box-shadow: 0 0 8px 2px rgba(232, 132, 63, .45); animation: rise 16s linear infinite;
}
.bg-fx u:nth-child(1) { left: 6%;  animation-delay: 0s;  animation-duration: 15s; }
.bg-fx u:nth-child(2) { left: 16%; animation-delay: 4s;  animation-duration: 19s; width: 3px; height: 3px; }
.bg-fx u:nth-child(3) { left: 27%; animation-delay: 9s;  animation-duration: 14s; }
.bg-fx u:nth-child(4) { left: 38%; animation-delay: 2s;  animation-duration: 21s; width: 5px; height: 5px; }
.bg-fx u:nth-child(5) { left: 47%; animation-delay: 7s;  animation-duration: 17s; }
.bg-fx u:nth-child(6) { left: 58%; animation-delay: 12s; animation-duration: 18s; width: 3px; height: 3px; }
.bg-fx u:nth-child(7) { left: 67%; animation-delay: 1s;  animation-duration: 22s; }
.bg-fx u:nth-child(8) { left: 76%; animation-delay: 6s;  animation-duration: 16s; width: 5px; height: 5px; }
.bg-fx u:nth-child(9) { left: 85%; animation-delay: 10s; animation-duration: 20s; }
.bg-fx u:nth-child(10){ left: 94%; animation-delay: 3s;  animation-duration: 18s; width: 3px; height: 3px; }
@keyframes rise {
  0%   { transform: translate3d(0, 0, 0); opacity: 0; }
  12%  { opacity: .7; }
  100% { transform: translate3d(22px, -105vh, 0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bg-fx i, .bg-fx u { animation: none; }
  .bg-fx u { display: none; }
}

/* ---------- menüde ürün seçme ve sipariş listesi ---------- */
.items li.has-q { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.qty { display: flex; align-items: center; gap: 4px; }
.q-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); font: inherit; font-size: 1.35rem; line-height: 1; font-weight: 700; cursor: pointer;
  display: grid; place-items: center; padding: 0;
}
.q-btn.q-add { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.q-btn:active { transform: scale(.94); }
.q-n { min-width: 26px; text-align: center; font-weight: 750; font-variant-numeric: tabular-nums; }
.bp-menu.has-bar { padding-bottom: 110px; }
.order-bar {
  position: fixed; z-index: 20; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  max-width: 456px; margin: 0 auto; min-height: 56px; padding: 0 20px; border: 0; border-radius: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 750; font-size: 1.0625rem; cursor: pointer;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .28);
}
.order-bar[hidden], .order-sheet[hidden] { display: none; }
.ob-r { font-variant-numeric: tabular-nums; }
.order-sheet { position: fixed; inset: 0; z-index: 30; display: flex; align-items: flex-end; justify-content: center; }
.os-back { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.os-panel {
  position: relative; width: 100%; max-width: 480px; max-height: 82vh; overflow: auto;
  background: var(--paper); color: var(--ink); border-radius: 24px 24px 0 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
}
.os-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.os-head h2 { margin: 0; font-size: 1.5rem; }
.os-close { min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; font-weight: 650; cursor: pointer; }
.os-list { list-style: none; margin: 12px 0 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.os-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); }
.os-row:first-child { border-top: 0; }
.os-n { font-weight: 640; overflow-wrap: anywhere; }
.os-p { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.os-total { margin: 14px 4px 0; font-size: 1.375rem; font-weight: 780; text-align: right; }
.os-note { margin: 10px 4px 0; color: var(--ink-3); font-size: .9rem; }
.os-acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.os-acts .btn { flex: 1; }
body.no-scroll { overflow: hidden; }

/* ---------- panel ---------- */

.shell { max-width: 760px; margin: 0 auto; padding: 0 16px 64px; }
.shell.wide { max-width: 1040px; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; }
.top-r { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.admin-bar {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 12px; margin: 0 0 12px; font-size: .9375rem;
}
.admin-bar a { color: var(--honey); font-weight: 650; }

.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 22px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  padding: 12px 14px; color: var(--ink-2); text-decoration: none; font-weight: 650; white-space: nowrap;
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current=page] { color: var(--ink); border-bottom-color: var(--honey); }

.panel-main h1 { font-size: 2rem; margin: 0 0 6px; font-weight: 760; }

.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.sw { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 64px; cursor: pointer; font-size: .8125rem; font-weight: 650; margin: 0; }
.sw input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sw .dot { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.sw input:checked + .dot { box-shadow: 0 0 0 3px var(--ink); }
.sw input:focus-visible + .dot { outline: 3px solid var(--ink); outline-offset: 4px; }

.inline-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.inline-form .grow { flex: 1; min-width: 200px; }
.inline-form input[name=name] { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #BAC3D3; border-radius: 12px; font: inherit; background: #fff; }

.menu-cat { margin-top: 30px; }
.cat-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: space-between; padding-bottom: 4px; }
.cat-name { display: flex; gap: 8px; flex: 1; min-width: 240px; }
.cat-name input { flex: 1; min-width: 0; min-height: 48px; padding: 10px 14px; border: 1px solid #BAC3D3; border-radius: 12px; font: inherit; font-weight: 720; background: #fff; }
.tools { display: flex; gap: 6px; flex-wrap: wrap; }
.item { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 12px; margin-top: 10px; display: grid; gap: 10px; }
.item.is-hidden { opacity: .65; }
.item-form { display: grid; grid-template-columns: 1fr 110px; gap: 10px; align-items: end; }
.item-form .wide { grid-column: 1 / -1; }
.item-form .field input { width: 100%; min-height: 46px; padding: 8px 12px; border: 1px solid #BAC3D3; border-radius: 12px; font: inherit; background: #fff; }
.item-form.add { border: 1px dashed #AEB8CB; border-radius: 14px; padding: 12px; margin-top: 10px; }
.item-form.add .btn { grid-column: 1 / -1; }

.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0; max-width: 560px; }
.numbers div { border-top: 3px solid var(--ink); padding-top: 10px; }
.numbers strong { display: block; font-size: 2.4rem; line-height: 1; font-weight: 780; font-variant-numeric: tabular-nums; }
.numbers span { color: var(--ink-2); font-size: .9375rem; }
.bars { width: 100%; max-width: 560px; height: auto; }
.bars rect { fill: var(--ink); }
.bars text { fill: var(--ink-3); font-family: var(--font); }
.meter { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; max-width: 560px; }
.meter li { display: grid; grid-template-columns: 150px 1fr 44px; gap: 12px; align-items: center; }
.meter svg { width: 100%; height: 8px; display: block; }
.meter rect { fill: var(--honey); }
.meter rect.bg { fill: #E4E9F1; }
.meter .ct { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

.qr-box { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; margin: 8px 0 24px; }
.qr-img { width: 240px; max-width: 100%; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.qr-img svg { display: block; width: 100%; height: auto; }
.qr-side { flex: 1; min-width: 220px; display: grid; gap: 12px; }
.copyline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 12px 0 6px; }
.copyline code, .msg code { background: #E8ECF3; padding: 6px 10px; border-radius: 8px; overflow-wrap: anywhere; font-size: .9rem; }

.print-card { position: relative; width: min(100%, 340px); margin: 28px 0; line-height: 0; }
.print-card > img { display: block; width: 100%; height: auto; border-radius: 4%/2.7%; box-shadow: 0 18px 40px -18px rgba(0,0,0,.5); }
/* karekod, tasarımdaki beyaz kutunun üstüne yüzde ile oturur (kutu: 299,543 → 727,946 / 1024×1536) */
.pc-qrbox { position: absolute; left: 29.2%; top: 35.35%; width: 41.8%; height: 26.2%; background: #fff; border-radius: 2.2%; display: grid; place-items: center; }
.pc-qrbox svg { display: block; height: 94%; width: auto; aspect-ratio: 1; }

/* ---------- yönetim ---------- */

.cred { background: #FFF6D8; border: 1px solid #EBCB6B; border-radius: 16px; padding: 16px; margin: 0 0 20px; }
.cred h2 { margin: 0 0 4px; font-size: 1.125rem; }
.cred p { margin: 0 0 10px; color: var(--ink-2); }
.cred textarea { width: 100%; font: inherit; padding: 12px; border: 1px solid #D8BF68; border-radius: 12px; background: #fff; margin-bottom: 10px; resize: vertical; }
.grid-form { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: end; }
.table-wrap { overflow-x: auto; }
.list { width: 100%; border-collapse: collapse; }
.list th { text-align: left; padding: 10px 8px; border-bottom: 2px solid var(--ink); font-size: .9rem; }
.list td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.list .num { text-align: right; font-variant-numeric: tabular-nums; }
.acts { display: flex; gap: 6px; flex-wrap: wrap; }
.acts .btn { min-height: 38px; padding: 0 12px; font-size: .9rem; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8125rem; font-weight: 700; }
.pill.on  { background: #DDF2E5; color: #0F5132; }
.pill.off { background: #E8ECF3; color: var(--ink-2); }

@media (max-width: 720px) {
  .list thead { display: none; }
  .list tr { display: block; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; padding: 8px; background: #fff; }
  .list td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 6px 8px; text-align: right; }
  .list td::before { content: attr(data-l); color: var(--ink-3); font-weight: 650; text-align: left; }
  .list td:last-child { display: block; text-align: left; }
  .meter li { grid-template-columns: 110px 1fr 36px; }
}

/* ---------- yazdırma ---------- */

@media print {
  .no-print { display: none !important; }
  body { background: #fff; }
  .shell { padding: 0; max-width: none; }
  .panel-main > h1, .panel-main > .lead { display: none; }
  @page { margin: 0; }
  .print-card { width: 10cm; margin: 1cm auto; }
  .print-card > img { box-shadow: none; border-radius: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .pc-qrbox { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.os-acts .btn-honey { background: var(--accent); color: var(--on-accent); }
