/* Saray — geleneksel tatlıcı ve baklavacı: zümrüt yeşili başlık, altın geometrik desen, mücevher tonlarında üst üste dizilen kartlar (deste şablonu) */
.theme-saray {
  --bg: #f6f1e4; --surface: #fffcf3; --surface-2: #eee6d0; --text: #1f2d24; --muted: #54604f; --faint: #959c8c;
  --line: rgba(31, 45, 36, .12); --line-strong: rgba(31, 45, 36, .24); --radius: 6px; --price: var(--primary-ink);
  --gold: #b8913a; --gold-l: #e3c477;
  --p0: #e6efe8; --p1: #f6e7e4; --p2: #e6ebf4; --p3: #f4ecd6; --p4: #eee7f2;
  --nav-h: 58px;
  /* Sekiz köşeli yıldız benzeri altın desen */
  --star: conic-gradient(from 45deg at 50% 50%, var(--gold-l) 0 25%, transparent 0 50%, var(--gold-l) 0 75%, transparent 0) 50% 50% / 26px 26px,
    conic-gradient(from 0deg at 50% 50%, color-mix(in srgb, var(--gold-l) 55%, transparent) 0 25%, transparent 0 50%, color-mix(in srgb, var(--gold-l) 55%, transparent) 0 75%, transparent 0) 50% 50% / 26px 26px;
}
.theme-saray [data-section] { scroll-margin-top: calc(var(--nav-h) + 8px); }
.theme-saray h1, .theme-saray h2, .theme-saray h3 { font-weight: 400; }

/* Başlık: zümrüt bant, desenli şerit, altın çerçeveli kapak */
.dh { position: relative; padding: calc(14px + var(--safe-t)) max(18px, calc((100% - 684px) / 2)) 24px; background: var(--primary); color: var(--on-primary); text-align: center; }
.dh::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 12px; background: var(--star); opacity: .55; }
.dh-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: start; }
.dh-logo { width: 54px; height: 54px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--surface); color: var(--primary); font-family: var(--font-head); font-size: 26px; box-shadow: 0 0 0 2px var(--gold-l), 0 0 0 5px color-mix(in srgb, var(--on-primary) 12%, transparent); }
.dh .tool { background: color-mix(in srgb, var(--on-primary) 12%, transparent); color: var(--on-primary); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold-l) 60%, transparent); backdrop-filter: none; -webkit-backdrop-filter: none; }
.dh h1 { font-size: clamp(34px, 10.4vw, 56px); letter-spacing: .02em; line-height: 1.04; margin-top: 22px; text-wrap: balance; }
.dh h1::after { content: '✦'; display: block; margin-top: 10px; font-size: 14px; color: var(--gold-l); letter-spacing: 0; }
.tagline { color: color-mix(in srgb, var(--on-primary) 86%, transparent); font-size: 16px; margin-top: 8px; }
.meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.meta .status-pill, .meta .table-pill { background: color-mix(in srgb, var(--on-primary) 12%, transparent); color: var(--on-primary); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold-l) 50%, transparent); }
.meta .table-pill { background: var(--gold-l); color: #2a2208; box-shadow: none; }
.dh-cover { margin-top: 18px; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 2px var(--gold-l), 0 0 0 6px color-mix(in srgb, var(--on-primary) 10%, transparent); }
.dh-cover img { width: 100%; height: 100%; object-fit: cover; }

.acts { max-width: 720px; margin: 0 auto; padding: 16px 18px 0; gap: 8px; }
.act { height: 40px; padding: 0 14px 0 10px; border-radius: 4px; background: var(--surface); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 55%, transparent); font-size: 13.5px; font-weight: 700; }
.act-ic { color: var(--primary-ink); }
.act-ic .icon { width: 16px; height: 16px; }
.banner { max-width: 684px; margin: 14px 18px 0; border-radius: 4px; background: var(--primary); color: var(--on-primary); box-shadow: inset 0 0 0 1px var(--gold-l); }
.banner-ic { background: var(--gold-l); color: #2a2208; }
.camps { max-width: 640px; margin-inline: auto; padding-inline: 16px; }
.camp { border-radius: 4px; background: var(--surface); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 55%, transparent); }
.camp-ic { border-radius: 4px; }
@media (min-width: 720px) { .banner { margin-inline: auto; } }

/* Kategori şeridi */
.dnav { position: sticky; top: 0; z-index: 30; height: var(--nav-h); display: flex; align-items: center; margin-top: 18px; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 color-mix(in srgb, var(--gold) 45%, transparent); }
.dnav-row { flex: 1; display: flex; gap: 6px; overflow-x: auto; padding: 0 16px; }
.dnav-row a { flex-shrink: 0; height: 38px; display: grid; place-items: center; padding: 0 16px; border-radius: 4px; font-family: var(--font-head); font-size: 18px; color: var(--muted); white-space: nowrap; transition: background .25s, color .25s; }
.dnav-row a.active { background: var(--primary); color: var(--on-primary); box-shadow: inset 0 -2px 0 var(--gold-l); }

/* Deste: mücevher tonlarında kartlar */
.main { max-width: 640px; margin: 0 auto; padding: 0 16px 30px; }
.sec { padding-top: 28px; }
.sec-head { display: flex; align-items: center; gap: 12px; padding: 0 4px 6px; }
.sec-head span { position: relative; display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; font-size: 13px; font-weight: 700; color: color-mix(in srgb, var(--gold) 70%, #000); }
.sec-head span::before { content: ''; position: absolute; inset: 6px; transform: rotate(45deg); box-shadow: inset 0 0 0 1px var(--gold); }
.sec-head h2 { font-size: 30px; line-height: 1.1; color: var(--text); }
.sec-desc { color: var(--muted); font-size: 15px; padding: 2px 4px 0; }
.sec .sec-closed { margin: 6px 4px 0; }
.stack { display: flex; flex-direction: column; gap: 18px; padding-top: 12px; padding-bottom: 30px; }
.card { position: sticky; top: calc(var(--nav-h) + 10px + var(--k) * 12px); border-radius: var(--radius); overflow: hidden; background: var(--p0); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 50%, transparent), 0 -14px 30px -20px rgba(31, 45, 36, .45); transition: transform .3s var(--ease); }
.card.c1 { background: var(--p1); } .card.c2 { background: var(--p2); } .card.c3 { background: var(--p3); } .card.c4 { background: var(--p4); }
.card:active { transform: scale(.985); }
.card-img { aspect-ratio: 16 / 10; margin: 8px 8px 0; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, .5); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img .ph { background: var(--star), rgba(255, 255, 255, .5); }
.card-img .ph b { font-family: var(--font-head); font-weight: 400; font-size: 60px; color: var(--primary); }
.card.no-img .card-img { aspect-ratio: 16 / 5; }
.card-body { padding: 14px 18px 18px; }
.card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card h3 { font-size: 23px; line-height: 1.15; }
.card .price { font-weight: 700; font-size: 17px; white-space: nowrap; color: var(--price); }
.desc { color: var(--muted); font-size: 14.5px; line-height: 1.45; margin-top: 4px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.add.pill { display: inline-flex; width: auto; height: 38px; padding: 0 16px 0 12px; gap: 6px; border-radius: 4px; background: var(--primary); color: var(--on-primary); font-size: 13.5px; font-weight: 700; margin-inline-start: auto; box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--gold-l) 70%, transparent); }
.add.pill .icon { width: 16px; height: 16px; }
.tag { border-radius: 3px; background: rgba(255, 255, 255, .7); color: var(--text); }
.unavailable .stack { opacity: .55; }

/* Pencereler */
.sheet-panel { border-radius: 12px 12px 0 0; box-shadow: 0 -2px 0 var(--gold-l), 0 -10px 40px -10px rgba(0, 0, 0, .3); }
.sheet-body > h2, .p-body h2 { font-weight: 400; font-size: 28px; }
.cta { border-radius: 4px; box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--gold-l) 70%, transparent); }
.cart-bar { background: var(--primary); color: var(--on-primary); border-radius: 6px; box-shadow: 0 0 0 1px var(--gold-l), 0 18px 40px -14px rgba(0, 0, 0, .5); }
.cart-count { background: var(--gold-l); color: #2a2208; border-radius: 4px; }
.foot-name { font-weight: 400; font-size: 22px; }
.foot-social a { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 55%, transparent); }

body.dm-on { --p0: #1f3328; --p1: #3a2522; --p2: #1f2a3c; --p3: #3a321c; --p4: #2e2536; }
body.dm-on .tag { background: rgba(255, 255, 255, .12); color: var(--text); }
body.dm-on .sec-head span { color: var(--gold-l); }
body.dm-on .card-img, body.dm-on .card-img .ph { background: rgba(255, 255, 255, .06); }
@media (prefers-color-scheme: dark) {
  body.dm-auto { --p0: #1f3328; --p1: #3a2522; --p2: #1f2a3c; --p3: #3a321c; --p4: #2e2536; }
  body.dm-auto .tag { background: rgba(255, 255, 255, .12); color: var(--text); }
  body.dm-auto .sec-head span { color: var(--gold-l); }
}
/* Happy hour rozeti açık zeminlerde AA kontrastta */
.tag.b-happy { color: #92400e; }
