/* Çelebi Lounge — Gece Divanı (koyu, varsayılan) + Nahit taşı (açık) */
:root {
  --bg: #062e25;
  --bg-deep: #04241d;
  --card: #0a3b30;
  --line: #1e5a49;
  --ph: #0e4537;
  --gold: #d4a64a;
  --gold-2: #ebcb86;
  --gold-line: rgba(212, 166, 74, .7);
  --gold-soft: rgba(212, 166, 74, .5);
  --text: #f2e8d2;
  --body: #d3ded8;
  --muted: #9db5aa;
  --pattern: #0f4637;
  --pattern-gold: rgba(212, 166, 74, .07);
  --on-gold: #062e25;
  --shadow: 0 12px 40px rgba(0, 0, 0, .28);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --col: 480px;
  --nav-h: 64px;
  color-scheme: dark;
}
:root[data-mode="light"] {
  --bg: #ece6da;
  --bg-deep: #e5ded0;
  --card: #f5f1e8;
  --line: #d9d0bf;
  --ph: #e2daca;
  --gold: #9a7b45;
  --gold-2: #7d6438;
  --gold-line: rgba(154, 123, 69, .65);
  --gold-soft: rgba(154, 123, 69, .45);
  --text: #2e3b35;
  --body: #3f4a44;
  --muted: #7b847d;
  --pattern: #e3dbcb;
  --pattern-gold: rgba(154, 123, 69, .08);
  --on-gold: #fbf8f1;
  --shadow: 0 12px 40px rgba(60, 50, 30, .12);
  color-scheme: light;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg-deep); }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg-deep);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
input, textarea, select { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

/* Desktop: side pattern around the phone column */
.backdrop {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-color: var(--pattern-gold);
  -webkit-mask: url("../img/pattern.svg") 0 0 / 52px 52px repeat;
  mask: url("../img/pattern.svg") 0 0 / 52px 52px repeat;
}
.app {
  position: relative; z-index: 1;
  max-width: var(--col); margin: 0 auto; min-height: 100vh;
  background: var(--bg);
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom));
}
@media (min-width: 560px) {
  .app { box-shadow: var(--shadow); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
}

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 14px 0 12px; }
.brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.brand img { height: 38px; width: auto; }
.brand b { font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--text); white-space: nowrap; }
.tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--gold-2); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle {
  display: flex; align-items: center; gap: 2px; padding: 3px; height: 30px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--card);
}
.theme-toggle span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: background .2s, color .2s; }
.theme-toggle span svg { width: 15px; height: 15px; }
.theme-toggle span.on { background: var(--gold); color: var(--on-gold); }
.lang { height: 30px; min-width: 36px; padding: 0 8px; border: 1px solid var(--line); border-radius: 16px; font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--gold-2); background: var(--card); }

/* Category rows */
.rows { position: relative; }
.row1, .row2 { display: flex; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.row1::-webkit-scrollbar, .row2::-webkit-scrollbar { display: none; }
.row1 { padding: 0; }
.row1 .r1-main { flex: 0 0 auto; min-width: 100%; display: flex; justify-content: space-between; gap: 2px; padding: 0 8px; }
.row1 > a { margin-right: 10px; }
.row1 a { flex: 0 0 auto; padding: 11px 5px 10px; font-size: 14px; color: var(--muted); position: relative; white-space: nowrap; }
.row1 a.on { color: var(--gold); font-weight: 600; }
.row1 a.on::after { content: ""; position: absolute; left: 5px; right: 5px; bottom: 0; height: 2px; border-radius: 2px; background: var(--gold); }
.row2 { border-top: 1px solid var(--line); padding: 2px 0; display: block; overflow: visible; }
.row2 .ln { display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; padding: 0 6px; }
.row2 .ln::-webkit-scrollbar { display: none; }
.row2 .ln a { padding: 7px 10px 6px; }
.row2 .sec-l { flex: 0 0 auto; margin: 0 4px 0 6px; padding: 2px 7px; border: 1px solid var(--line); border-radius: 8px; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); opacity: .85; }
.row2 a { flex: 0 0 auto; padding: 10px 10px 9px; font-size: 13px; color: var(--muted); white-space: nowrap; position: relative; }
.row2 a small { font-size: 10px; opacity: .75; margin-left: 2px; }
.row2 a.on { color: var(--gold); font-weight: 600; }
.row2 a.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; background: var(--gold); }

/* Page heads */
.page { padding: 18px 16px 28px; }
.head { padding: 6px 4px 14px; }
.head h1, .head h2 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.1; color: var(--text); }
.head p { margin: 4px 0 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 16px; color: var(--gold-2); }
.sec-title { display: flex; align-items: center; gap: 8px; margin: 26px 4px 10px; font-family: var(--serif); font-weight: 600; font-size: 25px; color: var(--text); }
.sec-title svg { width: 15px; height: 15px; color: #e06b4f; }
.sec-sub { margin: -8px 4px 12px; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 15px; color: var(--gold-2); }
.label { margin: 22px 2px 10px; font-size: 13px; color: var(--muted); letter-spacing: .02em; }

/* ONE card template (Ürün kartı) — identical everywhere */
.list { display: flex; flex-direction: column; gap: 10px; }
.card {
  display: flex; align-items: center; gap: 14px;
  height: 100px; padding: 12px 14px 12px 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  width: 100%; text-align: left; position: relative;
  transition: transform .12s ease, border-color .2s;
}
.card:active { transform: scale(.985); }
@media (hover: hover) { .card:hover { border-color: var(--gold-soft); } }
.thumb {
  position: relative; flex: 0 0 76px; width: 76px; height: 76px;
  border: 1px solid var(--gold-line); border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 5px;
}
.thumb .ph {
  position: absolute; left: 2px; top: 2px; width: 70px; height: 70px; border-radius: 7px; overflow: hidden;
  background: var(--ph);
}
.thumb .ph img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.thumb .ph img.in { opacity: 1; }
.thumb .ph.cut { background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--gold) 22%, var(--ph)) 0%, var(--ph) 70%); }
.thumb .ph.cut img { object-fit: contain; padding: 3px; }
.thumb .ph.none { display: grid; place-items: center; }
.thumb .ph.none img { width: 46px; height: auto; object-fit: contain; opacity: .38 !important; filter: saturate(.7); }
.chip {
  position: relative; z-index: 1;
  background: var(--bg); border: 1px solid var(--gold-soft); border-radius: 6px;
  padding: 1px 6px; font-size: 9px; font-weight: 500; color: var(--gold); white-space: nowrap; max-width: 72px; overflow: hidden; text-overflow: ellipsis;
}
.txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.txt .t { font-size: 15px; font-weight: 500; height: 22px; line-height: 22px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.txt .d { font-size: 12px; line-height: 16px; height: 32px; color: var(--muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.side { flex: 0 0 64px; width: 64px; height: 40px; display: flex; align-items: center; justify-content: flex-end; gap: 2px; white-space: nowrap; }
.price { font-size: 16px; font-weight: 600; color: var(--gold-2); }
.cur { font-size: 11.2px; color: var(--muted); margin-left: 1px; }
.side .ikram { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.side .ikram small { font-size: 10px; color: var(--muted); }
.side .ikram b { font-size: 13px; font-weight: 600; color: var(--gold-2); }
.side svg { width: 20px; height: 20px; color: var(--gold-2); }
.side .out { font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; }
.card.sold .thumb .ph img { filter: grayscale(.7) brightness(.8); }
.card.sold .t { color: var(--muted); }

/* Wide card: menu lists, search, Keşfet */
.card.wide { height: 200px; padding: 12px 16px 12px 12px; gap: 16px; align-items: stretch; border-radius: 24px; }
.card.wide .thumb { flex: 0 0 176px; width: 176px; height: 176px; border-radius: 16px; padding-bottom: 8px; }
.card.wide .thumb .ph { left: 3px; top: 3px; width: 168px; height: 168px; border-radius: 13px; }
.card.wide .thumb .ph.none img { width: 96px; }
.card.wide .chip { font-size: 10.5px; padding: 2px 8px; border-radius: 7px; max-width: 150px; }
.wtxt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; padding: 6px 0 2px; }
.wtxt .t { font-size: 16.5px; font-weight: 500; line-height: 21px; height: 42px; color: var(--text); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.wtxt .d { margin-top: 6px; font-size: 12.5px; line-height: 17px; height: 51px; color: var(--muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.wline { margin-top: auto; height: 1px; background: linear-gradient(to right, var(--gold-soft), color-mix(in srgb, var(--gold-soft) 15%, transparent)); }
.wtxt .side { flex: none; width: auto; height: 40px; justify-content: flex-start; align-items: center; }
.wtxt .price { font-size: 20px; }
.wtxt .cur { font-size: 13px; margin-left: 2px; }
.wtxt .cta { display: inline-flex; align-items: center; gap: 2px; font-size: 13.5px; font-weight: 500; color: var(--gold-2); }
.wtxt .cta svg { width: 17px; height: 17px; }
.card.wide.sold .wtxt .t { color: var(--muted); }
@media (max-width: 360px) {
  .card.wide { height: 180px; gap: 12px; }
  .card.wide .thumb { flex-basis: 156px; width: 156px; height: 156px; }
  .card.wide .thumb .ph { width: 148px; height: 148px; }
}

/* Cover (shared by product detail + story) */
.cover { position: relative; width: 100%; aspect-ratio: 1 / 1; background: var(--bg); overflow: hidden; }
.slides { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; position: relative; background: var(--ph); }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide img.lo { position: absolute; inset: 0; filter: blur(14px); transform: scale(1.06); }
.slide img.hi { position: relative; opacity: 0; transition: opacity .45s; }
.slide img.hi.in { opacity: 1; }
.slide.cut { background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--gold) 26%, var(--ph)) 0%, var(--ph) 62%, var(--bg) 100%); }
.slide.cut img { object-fit: contain; padding: 9% 9% 13%; }
.slide.cut img.lo { display: none; }
.slide.none { display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, var(--card) 0%, var(--bg) 75%); }
.slide.none img { width: 52%; height: auto; opacity: .55; }
.cover .fade { position: absolute; left: 0; right: 0; bottom: 0; height: 18%; pointer-events: none;
  background: linear-gradient(to bottom,
    color-mix(in srgb, var(--bg) 0%, transparent) 0%, color-mix(in srgb, var(--bg) 6%, transparent) 18%,
    color-mix(in srgb, var(--bg) 20%, transparent) 38%, color-mix(in srgb, var(--bg) 45%, transparent) 58%,
    color-mix(in srgb, var(--bg) 75%, transparent) 78%, color-mix(in srgb, var(--bg) 93%, transparent) 92%, var(--bg) 100%); }
.back {
  position: absolute; left: 16px; top: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px 6px 6px; border-radius: 20px;
  background: color-mix(in srgb, var(--bg-deep) 88%, transparent); color: var(--gold-2); font-size: 12px; font-weight: 500;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.back svg { width: 20px; height: 20px; }
.counter { position: absolute; right: 16px; top: 18px; z-index: 3; padding: 4px 10px; border-radius: 14px; font-size: 11px; color: var(--text); background: color-mix(in srgb, var(--bg-deep) 80%, transparent); }
.dots { position: absolute; left: 0; right: 0; bottom: 13%; display: flex; justify-content: center; gap: 5px; z-index: 3; }
.dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .55); transition: width .2s, background .2s; }
.dots i.on { width: 18px; background: var(--gold); }

/* Product detail */
.detail { position: relative; }
.pat-wrap { position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.35) 30px, #000 80px, #000 35%, rgba(0,0,0,.55) 65%, rgba(0,0,0,.2) 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.35) 30px, #000 80px, #000 35%, rgba(0,0,0,.55) 65%, rgba(0,0,0,.2) 85%, transparent 100%); }
.pat-wrap::before {
  content: ""; position: absolute; inset: 0; opacity: .7;
  background-color: var(--pattern);
  -webkit-mask: url("../img/pattern.svg") 0 0 / 52px 52px repeat;
  mask: url("../img/pattern.svg") 0 0 / 52px 52px repeat;
}
.dbody { position: relative; z-index: 2; padding: 4px 22px 30px; }
.badge-solid { display: inline-block; margin-bottom: 10px; padding: 3px 8px; border-radius: 5px; background: var(--gold); color: var(--on-gold); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.dhead { display: flex; align-items: flex-start; gap: 12px; }
.dhead h1 { flex: 1; margin: 0; font-family: var(--serif); font-weight: 600; font-size: 31px; line-height: 1.08; color: var(--text); }
.dhead .p { flex: 0 0 auto; padding-top: 4px; }
.dhead .p .price { font-size: 24px; }
.dhead .p .cur { font-size: 15px; }
.soldout { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; }
.desc { margin-top: 12px; font-size: 15px; line-height: 1.65; color: var(--body); }
.desc.clamp { max-height: calc(1.65em * 8); overflow: hidden; }
.desc p { margin: 0 0 10px; }
.desc p:last-child { margin-bottom: 0; }
.desc h3 { margin: 14px 0 6px; font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--text); }
.desc ul { margin: 6px 0 10px; padding-left: 20px; }
.desc strong { color: var(--text); font-weight: 600; }
.desc blockquote { margin: 14px 0; padding: 4px 0 4px 14px; border-left: 2px solid var(--gold); font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 21px; line-height: 1.25; color: var(--gold-2); }
.more { margin-top: 8px; display: inline-flex; align-items: center; gap: 4px; color: var(--gold); font-size: 14px; font-weight: 500; }
.more svg { width: 14px; height: 14px; }
.story-link {
  margin-top: 14px; display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--card) 70%, transparent);
  font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 16px; color: var(--gold-2);
}
.story-link svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--gold); }
.story-link span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.divider { height: 1px; background: var(--line); margin: 26px 0 0; }
.after { position: relative; z-index: 2; padding: 0 22px 30px; }

/* Story */
.kicker { margin: 4px 0 12px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.story h1 { margin: 0 0 14px; font-family: var(--serif); font-weight: 600; font-size: 31px; line-height: 1.08; color: var(--text); }
.story .desc { margin-top: 0; }
.story .list { margin-top: 20px; }

/* Keşfet hero */
.hero { position: relative; height: 340px; text-align: center; }
.hero .pg { position: fixed; inset: 0; z-index: 0; pointer-events: none; background-color: var(--pattern-gold);
  -webkit-mask: url("../img/pattern.svg") 0 0 / 52px 52px repeat; mask: url("../img/pattern.svg") 0 0 / 52px 52px repeat; }
.hero + .page { position: relative; z-index: 1; }
.hero .glow { position: absolute; left: -15px; right: -15px; top: 20px; height: 280px; background: radial-gradient(ellipse at 50% 40%, color-mix(in srgb, #1f7a5e 55%, transparent) 0%, transparent 65%); }
:root[data-mode="light"] .hero .glow { background: radial-gradient(ellipse at 50% 40%, rgba(255, 252, 244, .9) 0%, transparent 65%); }
.hero .logo { position: relative; width: 220px; margin: 24px auto 0; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .25)); }
.hero h2 { position: relative; margin: 12px 0 0; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 29px; color: var(--text); }
.hero p { position: relative; margin: 8px 0 0; font-weight: 300; font-size: 13px; color: var(--muted); }
.orn { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; }
.orn i { width: 110px; height: 1px; background: var(--gold); opacity: .5; }
.orn svg { width: 14px; height: 14px; color: var(--gold); }

/* İletişim */
.ig-card {
  display: flex; align-items: center; gap: 14px; padding: 18px 16px;
  border-radius: 20px; border: 1px solid var(--gold-soft);
  background: linear-gradient(120deg, color-mix(in srgb, var(--gold) 16%, var(--card)), var(--card) 60%);
}
.ig-card .ic { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 14px; background: var(--gold); color: var(--on-gold); display: grid; place-items: center; }
.ig-card .ic svg { width: 26px; height: 26px; }
.ig-card .m { flex: 1; min-width: 0; }
.ig-card small { display: block; font-size: 12px; color: var(--muted); }
.ig-card b { display: block; font-family: var(--serif); font-size: 23px; font-weight: 600; color: var(--text); }
.ig-card em { display: block; font-style: normal; font-size: 11px; color: var(--muted); }
.ig-card > svg { width: 20px; height: 20px; color: var(--gold-2); }
.box { margin-top: 14px; padding: 18px 16px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); }
.box.gold { border-color: var(--gold-soft); }
.box-k { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.box-k svg { width: 17px; height: 17px; }
.phone-big { margin: 12px 0 16px; font-family: var(--sans); font-size: 26px; font-weight: 500; letter-spacing: .03em; font-variant-numeric: tabular-nums lining-nums; color: var(--text); }
.btns { display: flex; gap: 10px; }
.btn { flex: 1; height: 46px; border-radius: 23px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 500; }
.btn svg { width: 18px; height: 18px; }
.btn.fill { background: var(--gold); color: var(--on-gold); }
.btn.ghost { border: 1px solid var(--gold); color: var(--gold-2); }
.field { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg-deep); display: flex; align-items: center; gap: 10px; }
.field div { flex: 1; min-width: 0; }
.field small { display: block; font-size: 11px; color: var(--muted); }
.field b { display: block; margin-top: 2px; font-size: 17px; font-weight: 500; letter-spacing: .02em; color: var(--text); word-break: break-all; }
.copy { padding: 8px 14px; border-radius: 16px; background: var(--gold); color: var(--on-gold); font-size: 13px; font-weight: 600; }
.hours-h { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; color: var(--text); }
.hours-h svg { width: 19px; height: 19px; color: var(--gold); }
.hours { margin-top: 10px; }
.hours div { display: flex; justify-content: space-between; padding: 9px 10px; font-size: 13px; color: var(--body); border-radius: 8px; }
.hours div.today { background: var(--bg-deep); color: var(--gold); font-weight: 600; }
.hours span:last-child { color: var(--muted); }
.hours div.today span:last-child { color: var(--gold); }
.map-card { display: block; }
.map-card svg { width: 20px; height: 20px; color: var(--gold); }
.map-card b { display: block; margin-top: 10px; font-weight: 500; }
.map-card small { color: var(--muted); font-size: 12px; }
.credit { position: relative; margin: 40px auto 6px; padding: 18px 0; width: 160px; display: flex; flex-direction: column; align-items: center; gap: 0; text-align: center; color: var(--muted); user-select: none; -webkit-user-select: none; }
.credit .ct-mark { position: absolute; left: 50%; top: 50%; width: 92px; height: auto; transform: translate(-50%, -50%) rotate(-8deg); color: var(--gold); opacity: .09; pointer-events: none; }
.credit button, .credit a { position: relative; }
.credit button { padding: 2px 6px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; opacity: .5; }
.credit a { position: relative; padding: 2px 6px; font-size: 13px; font-weight: 500; letter-spacing: .02em; opacity: .7; }
.privacy-link { display: block; margin: 0 auto 10px; font-size: 11px; color: var(--muted); opacity: .55; text-decoration: underline; text-underline-offset: 2px; }

/* Bottom nav */
.nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 30;
  width: 100%; max-width: var(--col);
  display: flex; justify-content: space-around;
  padding: 9px 30px calc(12px + env(safe-area-inset-bottom));
  background: var(--bg-deep); border-top: 1px solid var(--line);
}
.nav a { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 64px; font-size: 10.5px; color: var(--muted); }
.nav a svg { width: 22px; height: 22px; }
.nav a.on { color: var(--gold); font-weight: 600; }

/* Search sheet */
.sheet { position: fixed; inset: 0; z-index: 50; display: flex; justify-content: center; background: rgba(0, 0, 0, .45); animation: fade .15s; }
.sheet-in { width: 100%; max-width: var(--col); height: 100%; background: var(--bg); display: flex; flex-direction: column; }
.search-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg-deep); }
.search-bar svg { width: 20px; height: 20px; color: var(--gold-2); flex: 0 0 auto; }
.search-bar input { flex: 1; min-width: 0; height: 40px; border: 0; outline: 0; background: transparent; font-size: 17px; color: var(--text); }
.search-bar input::placeholder { color: var(--muted); }
.search-res { flex: 1; overflow-y: auto; padding: 14px 16px 40px; }
.empty { padding: 40px 10px; text-align: center; color: var(--muted); font-size: 14px; }
@keyframes fade { from { opacity: 0; } }

/* Privacy notice */
.notice {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--nav-h) + 12px + env(safe-area-inset-bottom)); z-index: 40;
  width: calc(100% - 24px); max-width: calc(var(--col) - 24px);
  padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: 12px; line-height: 1.5; color: var(--body);
}
.notice .r { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.notice button { padding: 6px 12px; border-radius: 14px; font-size: 12px; font-weight: 500; }
.notice .ok { background: var(--gold); color: var(--on-gold); }
.notice .no { color: var(--muted); }
.notice a { color: var(--gold-2); text-decoration: underline; }
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .5); display: flex; align-items: flex-end; justify-content: center; animation: fade .15s; }
.modal-in { width: 100%; max-width: var(--col); max-height: 85vh; overflow-y: auto; background: var(--bg); border-radius: 22px 22px 0 0; padding: 22px 22px 34px; color: var(--body); font-size: 14px; line-height: 1.6; }
.modal-in h2 { margin: 0 0 10px; font-family: var(--serif); font-size: 26px; color: var(--text); }
.modal-in .btn { margin-top: 16px; width: 100%; }

.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 24px); transform: translateX(-50%); z-index: 70; padding: 10px 16px; border-radius: 20px; background: var(--gold); color: var(--on-gold); font-size: 13px; font-weight: 500; animation: fade .2s; }
.loading { display: grid; place-items: center; min-height: 60vh; }
.loading img { width: 120px; opacity: .8; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.noscript-menu { max-width: var(--col); margin: 0 auto; padding: 20px; color: var(--body); }

/* One-page menu sections */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cat-sec + .cat-sec, .sec-div + .cat-sec { margin-top: 22px; }
.cat-sec { scroll-margin-top: 140px; }
.sec-div { display: flex; align-items: center; gap: 12px; margin: 30px 2px 8px; }
.sec-div:first-child { margin-top: 2px; }
.sec-div i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.sec-div span { font-family: var(--serif); font-style: italic; font-size: 15px; letter-spacing: .04em; color: var(--gold-2); }
