/* Bento — farklı boyutlu yuvarlatılmış kutulardan oluşan ızgara */
.theme-bento {
  --bg: #f2f2f4; --surface: #ffffff; --surface-2: #e9e9ee; --text: #111114; --muted: #67676e; --faint: #a1a1aa;
  --line: rgba(17, 17, 20, .08); --radius: 26px; --gap: 10px; --price: var(--text);
}
.theme-bento [data-section] { scroll-margin-top: 64px; }

/* Giriş */
.bhead { max-width: 980px; margin: 0 auto; padding: calc(14px + var(--safe-t)) 14px 0; }
.bhead-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.b-logo { width: 46px; height: 46px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: var(--text); color: var(--bg); font-weight: 800; font-size: 20px; }
.bhead .tool { background: var(--surface); color: var(--text); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.bhead h1 { font-size: clamp(34px, 10vw, 60px); font-weight: 800; letter-spacing: -.05em; line-height: .98; margin-top: 26px; text-wrap: balance; }
.tagline { color: var(--muted); font-size: 16px; margin-top: 10px; max-width: 520px; }
.hero-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: var(--gap); margin-top: 20px; }
.cell { position: relative; border-radius: 22px; background: var(--surface); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 12px; min-height: 84px; text-align: start; transition: transform .25s var(--spring); }
.cell:active { transform: scale(.96); }
.c-cover { grid-column: span 4; aspect-ratio: 16 / 10; padding: 0; }
.c-cover img { width: 100%; height: 100%; object-fit: cover; }
.c-status { grid-column: span 2; background: var(--text); color: var(--bg); }
.c-status .live-dot { width: 10px; height: 10px; }
.c-status b { font-size: 22px; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-top: auto; }
.c-status small { font-size: 12px; opacity: .7; margin-top: 3px; }
.c-table { grid-column: span 2; background: var(--primary); color: var(--on-primary); }
.c-table small { font-size: 12px; font-weight: 600; opacity: .85; }
.c-table b { font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.c-act { aspect-ratio: 1; justify-content: space-between; }
.c-act .ci { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--primary) 12%, var(--surface)); color: var(--primary); }
.c-act .ci .icon { width: 17px; height: 17px; }
.c-act .cl { font-size: 11.5px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.banner { max-width: 952px; margin: var(--gap) 14px 0; border-radius: 22px; background: var(--surface); box-shadow: none; }
@media (min-width: 980px) { .banner { margin-inline: auto; } }

/* Bölüm seçici */
.seg-wrap { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 8px; padding: 10px 14px; margin-top: 22px; background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); }
.seg { flex: 1; display: flex; gap: 2px; overflow-x: auto; padding: 4px; border-radius: 16px; background: var(--surface-2); }
.seg a { flex-shrink: 0; padding: 8px 14px; border-radius: 12px; font-size: 14px; font-weight: 700; color: var(--muted); white-space: nowrap; transition: background .25s var(--ease), color .25s, box-shadow .25s; }
.seg a.active { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 2px 8px -2px rgba(0,0,0,.12); }
.seg-search { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); flex-shrink: 0; }

.main { max-width: 980px; margin: 0 auto; padding: 0 14px 30px; }

/* Bento ızgarası */
.sec { padding-top: 28px; container-type: inline-size; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0 4px 12px; }
.sec-head h2 { font-size: 28px; font-weight: 800; letter-spacing: -.045em; }
.sec-head span { color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.sec-desc { color: var(--muted); font-size: 14px; margin: -6px 4px 12px; }
.sec .sec-closed { margin: 0 4px 12px; }
.items { --cols: 2; --cell: calc((100cqi - (var(--cols) - 1) * var(--gap)) / var(--cols)); display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-auto-rows: var(--cell); grid-auto-flow: dense; gap: var(--gap); }
@container (min-width: 620px) { .items { --cols: 4; } }
.box { position: relative; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; background: var(--surface); color: var(--text); transition: transform .3s var(--ease); }
.box:active { transform: scale(.975); }
.b-xl { grid-column: span 2; grid-row: span 2; }
.b-wide { grid-column: span 2; }
.box > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.box:hover > img { transform: scale(1.04); }
.box.has-img { color: #fff; }
.box.has-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.72)); }
.box-in { position: relative; z-index: 1; padding: 14px; padding-inline-end: 52px; }
.box h3 { font-family: var(--font-body); font-size: 15px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.b-xl h3 { font-size: 26px; letter-spacing: -.04em; }
.b-wide h3 { font-size: 19px; }
.box .desc { font-size: 12.5px; opacity: .82; margin-top: 4px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.box .price { display: block; font-weight: 800; font-size: 14px; margin-top: 4px; }
.b-xl .price { font-size: 18px; }
.box .tags { margin-bottom: 8px; }
.box.has-img .tag { background: rgba(255,255,255,.2); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.box .add { position: absolute; z-index: 2; inset-inline-end: 10px; bottom: 10px; width: 34px; height: 34px; background: rgba(255,255,255,.92); color: #111; }
.box.no-img .add { background: var(--text); color: var(--bg); }
/* Fotoğrafsız kutular renkli */
.box.no-img.k0 { background: color-mix(in srgb, var(--primary) 14%, var(--surface)); }
.box.no-img.k1 { background: var(--surface); }
.box.no-img.k2 { background: color-mix(in srgb, var(--primary) 85%, #000); color: #fff; }
.box.no-img.k3 { background: var(--surface-2); }
.box.no-img.k2 .add { background: #fff; color: #111; }
.unavailable .items { opacity: .55; }

.cta { border-radius: 16px; }
.cart-bar { border-radius: 22px; background: var(--text); }
.cart-count { border-radius: 12px; }
.footer .foot-social a { box-shadow: none; }
body.dm-on .c-status, body.dm-on .b-logo { background: #f4f1ea; color: #0c0c0e; }
@media (prefers-color-scheme: dark) { body.dm-auto .c-status, body.dm-auto .b-logo { background: #f4f1ea; color: #0c0c0e; } }
