/* TiyatRol Web — site stilleri. Renkler yalnızca theme.css belirteçlerinden gelir. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1360px, 100% - 2 * clamp(16px, 4vw, 48px)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--ink-2); }
.tiny { font-size: 12.5px; color: var(--ink-3); }

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px;
  border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .16s var(--ease), background .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { box-shadow: 0 8px 22px -8px var(--accent); }
.btn-ghost { border: 1px solid var(--line); background: transparent; }
.btn-ghost:hover { background: var(--accent-soft); }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 14px; white-space: nowrap; transition: background .2s, transform .16s var(--ease);
}
.chip:active { transform: scale(.97); }
.chip.on, .chip:hover { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.chip.on { background: var(--accent); color: var(--accent-ink); border-color: transparent; }

/* ---------- Üst başlık ---------- */
.util { background: var(--surface-2); font-size: 13px; color: var(--ink-2); }
.util .wrap { display: flex; justify-content: space-between; gap: 16px; min-height: 36px; align-items: center; }
.util a:hover { color: var(--ink); }
.util-r { display: flex; gap: 20px; }
.hdr { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hdr-main { display: grid; grid-template-columns: auto auto minmax(240px, 1fr) auto; gap: 20px; align-items: center; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: .06em; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.search { position: relative; max-width: 640px; width: 100%; justify-self: center; }
.search input {
  width: 100%; height: 48px; padding: 0 52px 0 20px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font: inherit; transition: border-color .2s, box-shadow .2s;
}
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.search button { position: absolute; right: 6px; top: 6px; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: none; max-height: 70vh; overflow-y: auto;
}
.suggest.open { display: block; }
.suggest h5 { margin: 0; padding: 10px 16px 4px; font: 600 11px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.suggest a { display: flex; gap: 12px; align-items: center; padding: 8px 16px; }
.suggest a:hover, .suggest a.hl { background: var(--accent-soft); }
.suggest img, .suggest .ph { width: 36px; height: 48px; object-fit: cover; border-radius: 6px; background: var(--surface-2); flex: none; }
.suggest small { color: var(--ink-3); display: block; }
.hdr-act { display: flex; gap: 6px; align-items: center; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background .2s, transform .16s var(--ease); }
.icon-btn:hover { background: var(--accent-soft); }
.icon-btn:active { transform: scale(.95); }
.icon-btn svg { width: 22px; height: 22px; }
.nav { border-top: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; min-height: 48px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 14.5px; color: var(--ink-2); white-space: nowrap; transition: color .2s, background .2s; }
.nav a:hover, .nav a.on { color: var(--ink); background: var(--accent-soft); }
.nav .sp { flex: 1; }
.nav a.hot { color: var(--accent); font-weight: 600; }
@media (max-width: 820px) {
  .util-r { display: none; }
  .util .wrap { justify-content: center; min-height: 30px; text-align: center; }
  .hdr-main { display: flex; flex-wrap: wrap; gap: 10px; min-height: 0; padding-block: 10px; }
  .brand span { display: none; }
  .brand { order: 1; }
  .il-btn { order: 2; min-width: 44px; }
  .hdr-act { order: 3; margin-left: auto; }
  .search { order: 4; flex: 1 0 100%; max-width: none; }
  .search input { height: 42px; }
  .search button { top: 3px; }
  .suggest { position: fixed; top: 142px; left: 16px; right: 16px; max-height: calc(100dvh - 160px); }
  .nav .wrap { width: 100%; padding-inline: 16px; scroll-padding-inline: 16px; }
  .nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .nav .sp { display: none; }
}

@media (max-width: 520px) {
  .wrap { width: min(100% - 32px, 1360px); }
  .brand img { width: 36px; height: 36px; }
  .il-btn { padding-inline: 8px; }
  .il-btn span { display: none; }
  .hdr-act {
    display: grid;
    grid-template-columns: repeat(3, 42px);
    width: 126px;
    max-width: 100%;
    gap: 0;
  }
  .icon-btn { width: 42px; height: 42px; }
  .search input { padding-left: 16px; padding-right: 48px; font-size: 16px; }
  .search kbd { display: none; }
  .suggest { top: 136px; }
}

/* ---------- Başlıklar ---------- */
.sec { padding-block: clamp(36px, 6vw, 72px) 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 38px); position: relative; display: inline-block; }
.sec-head h2 svg { display: block; width: 100%; max-width: 150px; height: 10px; margin-top: 6px; color: var(--accent); }
.sec-head p { color: var(--ink-2); margin-top: 6px; max-width: 56ch; }
.link-more { font-weight: 600; font-size: 14.5px; color: var(--accent); white-space: nowrap; }
.link-more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-radius: 0 0 28px 28px; background: var(--surface); }
.hero-slide { display: none; }
.hero-slide.on { display: block; animation: heroIn .5s var(--ease); }
@keyframes heroIn { from { opacity: 0; transform: scale(1.015); } to { opacity: 1; transform: none; } }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 80px); align-items: center; min-height: clamp(440px, 62vh, 640px); padding-block: 40px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(48px) saturate(1.2); transform: scale(1.25); opacity: .5; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 8%, color-mix(in srgb, var(--bg) 60%, transparent) 60%, transparent); }
.hero .wrap { position: relative; z-index: 1; }
.hero-kicker { font: 600 13px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 76px); margin-bottom: 18px; }
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(.4em); animation: word .6s var(--ease) forwards; }
@keyframes word { to { opacity: 1; transform: none; } }
.hero p.lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); max-width: 52ch; margin-bottom: 26px; }
.hero-meta { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-meta div { display: grid; gap: 2px; }
.hero-meta b { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.hero-meta span { font-weight: 600; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { position: relative; justify-self: center; width: min(100%, 420px); }
.hero-art .poster { aspect-ratio: 2/3; width: 100%; border-radius: 18px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); transform: rotate(2deg); transition: transform .5s var(--ease); object-fit: cover; background: var(--surface-2); }
.hero-art:hover .poster { transform: rotate(0) scale(1.02); }
.hero-art .stamp { position: absolute; left: -18px; bottom: 34px; transform: rotate(-8deg); background: var(--paper); color: var(--paper-ink); padding: 10px 16px; border-radius: 10px; font: 700 13px var(--font-body); letter-spacing: .08em; box-shadow: var(--shadow); text-transform: uppercase; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.hero-dots button { width: 34px; height: 4px; border-radius: 4px; background: color-mix(in srgb, var(--ink) 25%, transparent); overflow: hidden; position: relative; }
.hero-dots button i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.hero-dots button.on i { animation: fill var(--dur, 7s) linear forwards; }
.hero-dots button.done i { transform: scaleX(1); }
@keyframes fill { to { transform: scaleX(1); } }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 28px 56px; min-height: 0; }
  .hero-art { width: min(62%, 260px); order: -1; justify-self: start; }
  .hero-bg::after { background: linear-gradient(180deg, transparent, var(--bg)); }
}

/* ---------- Kategori daireleri ---------- */
.cats { display: flex; gap: 22px; overflow-x: auto; padding: 6px 2px 14px; scrollbar-width: none; }
.cat { display: grid; justify-items: center; gap: 10px; width: 96px; flex: none; font-size: 14px; font-weight: 500; }
.cat .ring { width: 88px; height: 88px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, var(--accent), transparent 70%, var(--accent)); transition: transform .3s var(--ease); }
.cat .ring img, .cat .ring .ph { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--surface-2); border: 3px solid var(--bg); display: grid; place-items: center; font-family: var(--font-display); font-size: 28px; }
.cat:hover .ring { transform: scale(1.06) rotate(8deg); }

/* ---------- Raylar ve kartlar ---------- */
.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 18px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.rail > * { scroll-snap-align: start; }
.rail-wrap { position: relative; }
.rail-btn { position: absolute; top: 38%; z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: none; place-items: center; }
.rail-btn.l { left: -14px; } .rail-btn.r { right: -14px; }
@media (hover: hover) and (min-width: 900px) { .rail-wrap:hover .rail-btn { display: grid; } }
.card { flex: none; width: clamp(160px, 17vw, 220px); display: block; position: relative; }
.card .pic { position: relative; aspect-ratio: 2/3; border-radius: 14px; overflow: hidden; background: var(--surface-2); box-shadow: 0 6px 18px -10px rgba(0,0,0,.5); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .pic { transform: translateY(-4px); box-shadow: 0 18px 34px -14px rgba(0,0,0,.6); }
.card:hover .pic img { transform: scale(1.04); }
.card:active .pic { transform: scale(.97); }
.badge { position: absolute; left: 10px; top: 10px; background: var(--accent); color: var(--accent-ink); font: 700 11px var(--font-body); letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; }
.badge.alt { background: var(--paper); color: var(--paper-ink); }
.badge.dim { background: rgba(0,0,0,.65); color: #fff; }
.card h3 { font-size: 17px; margin: 12px 0 4px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.card .sub { font-size: 13.5px; color: var(--ink-2); }
.card .price { font-size: 14px; font-weight: 600; margin-top: 4px; }
.ph-poster { display: grid; place-items: center; height: 100%; padding: 18px; text-align: center; font-family: var(--font-display); font-size: 20px; color: var(--ink-2); background: linear-gradient(160deg, var(--surface-2), var(--surface)); }

/* ---------- Top 10 ---------- */
.top10 { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 18px; scrollbar-width: thin; }
.t10 { flex: none; display: flex; align-items: end; width: clamp(220px, 22vw, 290px); }
.t10 .n { font: 800 clamp(120px, 12vw, 170px)/0.8 var(--font-display); color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, var(--ink) 40%, transparent); margin-right: -26px; z-index: 0; transition: -webkit-text-stroke-color .3s; }
.t10:hover .n { -webkit-text-stroke-color: var(--accent); }
.t10 .card { width: clamp(130px, 13vw, 170px); z-index: 1; }

/* ---------- Ajanda ---------- */
.dates { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 14px; scrollbar-width: none; }
.day { flex: none; width: 74px; padding: 12px 0; text-align: center; border: 1.5px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 16px; transition: background .2s, transform .16s var(--ease); display: grid; gap: 2px; }
.day:active { transform: scale(.97); }
.day small { font-size: 12px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; }
.day b { font: 700 26px var(--font-display); }
.day.on { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.day.on small { color: inherit; opacity: .85; }
.agenda { border-top: 1px solid var(--line); margin-top: 8px; }
.ag-row { display: grid; grid-template-columns: 76px 64px 1fr 1fr auto; gap: 20px; align-items: center; padding: 14px 8px; border-bottom: 1px solid var(--line); transition: background .2s; }
.ag-row:hover { background: var(--accent-soft); }
.ag-row .t { font: 700 20px var(--font-display); }
.ag-row img, .ag-row .ph { width: 52px; height: 72px; object-fit: cover; border-radius: 8px; background: var(--surface-2); }
.ag-row .nm { font-weight: 600; }
.ag-row .vn { color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 760px) { .ag-row { grid-template-columns: 56px 52px 1fr; } .ag-row .vn, .ag-row .btn { display: none; } }

/* ---------- Bütçe ---------- */
.budget { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 36px; align-items: center; }
.budget-box { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.budget-box output { display: block; font: 800 48px var(--font-display); color: var(--accent); margin: 6px 0 14px; }
input[type=range] { width: 100%; accent-color: var(--accent); height: 32px; }
@media (max-width: 860px) { .budget { grid-template-columns: 1fr; } }

/* ---------- Mekân / oyuncu ---------- */
.venues { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.venue { position: relative; border-radius: 18px; overflow: hidden; min-height: 240px; display: flex; align-items: end; background: var(--surface-2); isolation: isolate; }
.venue img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.venue::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.78)); }
.venue:hover img { transform: scale(1.05); }
.venue div { padding: 18px; color: #fff; }
.venue h3 { font-size: 22px; } .venue small { opacity: .85; }
.people { display: flex; gap: 26px; overflow-x: auto; padding: 8px 2px 18px; scrollbar-width: none; }
.person { flex: none; width: 124px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.flower { width: 112px; height: 124px; overflow: hidden; background: var(--surface-2); border-radius: 56px 56px 50px 50px / 62px 62px 46px 46px; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px color-mix(in srgb, var(--accent) 55%, transparent); transition: transform .35s var(--ease), border-radius .5s var(--ease); display: grid; place-items: center; font: 700 30px var(--font-display); color: var(--ink-2); }
.flower img { width: 100%; height: 100%; object-fit: cover; }
.person:hover .flower { transform: translateY(-4px) rotate(-2deg); border-radius: 50%; }
.person b { font-weight: 600; font-size: 14.5px; line-height: 1.25; }

/* ---------- Rehber / afiş şeridi ---------- */
.guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 36px; }
.guide h3 { font-size: 22px; margin-bottom: 10px; }
.guide p { color: var(--ink-2); }
.guide .n { font: 800 44px var(--font-display); color: color-mix(in srgb, var(--accent) 60%, transparent); }

/* ---------- Altbilgi ---------- */
.ftr { margin-top: clamp(56px, 8vw, 110px); background: var(--surface); border-top: 1px solid var(--line); padding-block: 56px 28px; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.ftr h4 { font: 600 12px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.ftr a { display: block; padding: 5px 0; color: var(--ink-2); }
.ftr a:hover { color: var(--ink); }
.ftr-bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 820px) { .ftr-grid { grid-template-columns: 1fr 1fr; } .ftr-grid > :first-child { grid-column: 1/-1; } }
@media (max-width: 560px) {
  .ftr { padding-block: 40px 24px; }
  .ftr-grid { grid-template-columns: 1fr; gap: 28px; }
  .ftr-grid > :first-child { grid-column: auto; }
  .ftr a { min-height: 44px; display: flex; align-items: center; padding-block: 8px; }
  .ftr-bot { flex-direction: column; }
}

/* ---------- Tema paneli ---------- */
.drawer-bg { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer-bg.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 100%); background: var(--surface); z-index: 81; transform: translateX(100%); transition: transform .3s var(--ease); padding: 26px; overflow-y: auto; border-left: 1px solid var(--line); }
.drawer.open { transform: none; }
.drawer h3 { font-size: 24px; margin-bottom: 4px; }
.drawer .grp { margin-top: 26px; }
.drawer .grp > b { display: block; font: 600 12px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.seg { display: grid; grid-auto-flow: column; gap: 6px; background: var(--bg); padding: 4px; border-radius: 999px; border: 1px solid var(--line); }
.seg button { padding: 9px 10px; border-radius: 999px; font-size: 14px; transition: background .2s; }
.seg button.on { background: var(--accent); color: var(--accent-ink); }
.swatches { display: grid; gap: 8px; }
.sw { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); text-align: left; transition: border-color .2s, transform .16s var(--ease); }
.sw:active { transform: scale(.98); }
.sw i { width: 26px; height: 26px; border-radius: 50%; flex: none; }
.sw.on { border-color: var(--accent); background: var(--accent-soft); }
.drawer input[type=color] { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); padding: 4px; }

/* ---------- Yükleniyor / boş ---------- */
.skel { background: linear-gradient(90deg, var(--surface-2), var(--surface), var(--surface-2)); background-size: 200% 100%; animation: sh 1.4s linear infinite; border-radius: 14px; }
@keyframes sh { to { background-position: -200% 0; } }
.empty { padding: 48px 20px; text-align: center; color: var(--ink-2); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty h3 { color: var(--ink); margin-bottom: 8px; font-size: 22px; }
.err { padding: 20px; border: 1px solid color-mix(in srgb, var(--err) 50%, transparent); border-radius: var(--radius); background: color-mix(in srgb, var(--err) 8%, transparent); }

/* ---------- Katalog ---------- */
.cat-layout { display: grid; grid-template-columns: 290px 1fr; gap: 40px; padding-top: 32px; align-items: start; }
.side { position: sticky; top: 140px; display: grid; gap: 22px; }
.side .box { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.side h4 { font: 600 12px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.side label { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; }
.side input[type=radio], .side input[type=checkbox] { accent-color: var(--accent); width: 18px; height: 18px; }
.side input[type=search], .side select { width: 100%; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); padding: 0 14px; font: inherit; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 28px 20px; }
.grid .card { width: auto; }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
@media (max-width: 960px) { .cat-layout { grid-template-columns: 1fr; } .side { position: static; grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .cat-layout { gap: 22px; padding-top: 20px; min-width: 0; }
  .cat-layout > *, .bar > *, .grid > * { min-width: 0; }
  .side { gap: 12px; }
  .side .box { padding: 14px 16px; }
  .side label { min-height: 44px; padding-block: 8px; }
  .bar { align-items: stretch; }
  .bar > * { width: 100%; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .grid .card { width: 100%; }
  .card h3 { font-size: 15px; }
  .card .sub, .card .price { font-size: 12.5px; }
}

@media (max-width: 360px) {
  .grid { grid-template-columns: 1fr; }
}

/* ---------- Detay sayfaları: program ve bilet ---------- */
.det { display: grid; grid-template-columns: 380px 1fr; gap: clamp(28px, 4vw, 64px); padding-top: 36px; align-items: start; }
.ticket { position: sticky; top: 140px; background: var(--paper); color: var(--paper-ink); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.ticket .head { display: flex; justify-content: space-between; padding: 12px 18px; font: 700 11px var(--font-body); letter-spacing: .16em; text-transform: uppercase; border-bottom: 1.5px dashed rgba(29,20,16,.35); }
.ticket .poster { aspect-ratio: 2/3; width: 100%; object-fit: cover; background: #ddd; }
.ticket .body { padding: 18px; display: grid; gap: 14px; }
.ticket .perf { position: relative; height: 0; border-top: 1.5px dashed rgba(29,20,16,.35); margin: 0 -18px; }
.ticket .perf::before, .ticket .perf::after { content: ''; position: absolute; top: -11px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); }
.ticket .perf::before { left: -11px; } .ticket .perf::after { right: -11px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fld small { display: block; font: 700 10px var(--font-body); letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.fld b { font: 700 17px var(--font-display); }
.ticket .btn-primary { background: var(--paper-ink); color: var(--paper); border-radius: 12px; min-height: 52px; font-size: 16px; letter-spacing: .04em; }
.ticket .bars { height: 38px; background: repeating-linear-gradient(90deg, var(--paper-ink) 0 2px, transparent 2px 5px, var(--paper-ink) 5px 6px, transparent 6px 10px); opacity: .85; border-radius: 2px; }
.crumbs { font-size: 13.5px; color: var(--ink-3); margin-bottom: 14px; }
.crumbs a:hover { color: var(--ink); }
.prog h1 { font-size: clamp(34px, 5vw, 64px); margin-bottom: 18px; }
.prog h1 .w { display: inline-block; opacity: 0; transform: translateY(.4em); animation: word .6s var(--ease) forwards; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.bar-nav { position: sticky; top: 124px; z-index: 5; display: flex; gap: 4px; overflow-x: auto; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); margin: 28px 0 8px; scrollbar-width: none; }
.bar-nav a { padding: 14px 16px; font-size: 14.5px; color: var(--ink-2); border-bottom: 2px solid transparent; white-space: nowrap; }
.bar-nav a.on { color: var(--ink); border-color: var(--accent); }
.block { padding-top: 40px; scroll-margin-top: 190px; }
.block > h2 { font-size: 28px; margin-bottom: 18px; }
.story { color: var(--ink-2); font-size: 17.5px; line-height: 1.75; max-width: 70ch; white-space: pre-line; }
.story::first-letter { float: left; font: 700 64px/0.9 var(--font-display); padding: 6px 10px 0 0; color: var(--accent); }
.sessions { display: grid; gap: 10px; }
.sess { display: grid; grid-template-columns: 74px 1fr auto auto; gap: 18px; align-items: center; padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .2s, transform .16s var(--ease); }
.sess:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.sess .d { text-align: center; line-height: 1; } .sess .d b { display: block; font: 800 30px var(--font-display); } .sess .d small { font-size: 12px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .08em; }
.sess .past { opacity: .5; }
@media (max-width: 640px) { .sess { grid-template-columns: 60px 1fr; } .sess .pr, .sess .btn { grid-column: 2; justify-self: start; } }
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gal img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; cursor: zoom-in; transition: transform .35s var(--ease); }
.gal img:hover { transform: scale(1.02); }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 120; display: none; place-items: center; }
.lightbox.open { display: grid; } .lightbox img { max-width: 92vw; max-height: 90vh; border-radius: 10px; }
.map { width: 100%; height: 280px; border: 0; border-radius: 16px; background: var(--surface-2); }
.info-row { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 960px) { .det { grid-template-columns: 1fr; } .ticket { position: static; max-width: 440px; } }
@media (max-width: 640px) {
  .det { padding-top: 22px; gap: 24px; }
  .ticket { width: 100%; max-width: none; }
  .prog h1 { font-size: clamp(32px, 11vw, 46px); overflow-wrap: anywhere; }
  .bar-nav { top: 132px; margin-inline: -16px; padding-inline: 16px; }
  .block { padding-top: 30px; }
  .story { font-size: 16px; }
  .gal { grid-template-columns: 1fr 1fr; }
}

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

/* ---------- Metin sayfaları ---------- */
.metin { max-width: 760px; padding-block: 48px 0; }
.metin h1 { font-size: clamp(32px, 4.5vw, 52px); margin-bottom: 12px; }
.metin h2 { font-size: 24px; margin: 34px 0 10px; }
.metin p, .metin li { color: var(--ink-2); line-height: 1.75; margin-bottom: 12px; }
.metin a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.metin .btn { text-decoration: none; }
.metin .btn-primary { color: var(--accent-ink); }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::after { content: '+'; color: var(--accent); font-size: 24px; line-height: 1; transition: transform .2s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 10px; }
