/* Mağaza / koleksiyon sayfaları (store.twig, partials/store_card.twig). Renk ve yazı tipleri app.css değişkenleri. */
.st { max-width: var(--content-max); margin: 0 auto; padding: 22px var(--gutter) 0; }
.st-dim { color: var(--fg-2); }

.st-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; color: var(--fg-2); }
.st-crumbs a { color: var(--fg-2); }
.st-crumbs a:hover { color: #FFFFFF; }
.st-crumbs [aria-current] { color: var(--fg-0); }

.st-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-top: 10px; }
.st-h1 { margin: 0; font-family: var(--font-display); font-weight: 700; font-stretch: 88%; font-size: clamp(30px, 4vw, 40px); line-height: 1.05; letter-spacing: -.02em; color: #FFFFFF; }
.st-sub { margin: 0; color: var(--fg-1); font-size: 15px; font-variant-numeric: tabular-nums; }

/* Ürün tipi: bölüm geçişi */
.st-types { display: flex; gap: 4px; margin-top: 20px; border-bottom: 1px solid var(--stroke-1); overflow-x: auto; scrollbar-width: none; }
.st-types::-webkit-scrollbar { display: none; }
.st-type { display: flex; align-items: baseline; gap: 8px; padding: 10px 14px 12px; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--fg-1); font-weight: 600; white-space: nowrap; }
.st-type:hover { color: #FFFFFF; }
.st-type.is-on { color: #FFFFFF; border-bottom-color: var(--cobalt-300); }
.st-type__n { font-size: 12.5px; font-weight: 500; color: var(--fg-2); font-variant-numeric: tabular-nums; }

.st-body { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 40px; margin-top: 24px; }
.st-results { flex: 999 1 560px; min-width: 0; }

/* ── Filtre sütunu ── */
.st-filters { flex: 0 1 248px; min-width: 220px; display: flex; flex-direction: column; }
.st-sheet__head, .st-sheet__foot { display: none; }
.st-field { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px; border-radius: 9px; background: var(--bg-1); border: 1px solid rgba(120,160,255,.16); color: var(--fg-2); }
.st-field:focus-within { border-color: var(--green-500); }
.st-field input { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; outline: none; color: var(--fg-0); font: inherit; font-size: 14.5px; }
.st-field input::placeholder { color: #7E8BA5; }
.st-field input::-webkit-outer-spin-button, .st-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.st-field input[type=number] { -moz-appearance: textfield; }
.st-field--sm { flex: 1; min-width: 0; height: 38px; padding: 0 10px; gap: 6px; font-size: 14px; }

.st-sec { padding: 20px 0; border-bottom: 1px solid rgba(120,160,255,.12); }
.st-sec:last-child { border-bottom: 0; }
.st-search + .st-sec { padding-top: 22px; }
.st-sec__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.st-sec__title { margin: 0; font-size: 15px; font-weight: 600; color: #FFFFFF; }
.st-sec__clear { font-size: 13px; color: var(--fg-2); }
.st-sec__clear:hover { color: #FFFFFF; }

.st-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; }
.st-opt { position: relative; display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 10px; margin: 0 -10px; border-radius: 7px; color: var(--fg-1); font-size: 14.5px; overflow: hidden; }
.st-opt:hover { background: #142A5C; color: #FFFFFF; }
.st-opt.is-on { background: var(--bg-2); color: #FFFFFF; }
.st-opt__l { position: relative; flex: 1; min-width: 0; }
.st-opt__n { position: relative; font-size: 12.5px; color: var(--fg-2); font-variant-numeric: tabular-nums; }

.st-radio { flex: none; width: 14px; height: 14px; border-radius: 50%; box-sizing: border-box; border: 1.5px solid #5D6B87; background: var(--bg-0); }
.is-on > .st-radio { border: 4px solid var(--green-500); }
.st-check { flex: none; width: 15px; height: 15px; border-radius: 4px; box-sizing: border-box; border: 1.5px solid #5D6B87; display: grid; place-items: center; color: var(--bg-0); }
.st-check svg { opacity: 0; }
.is-on > .st-check { border: 0; background: var(--green-500); }
.is-on > .st-check svg { opacity: 1; }

.st-more__btn { display: inline-block; margin-top: 6px; font-size: 13.5px; font-weight: 600; color: #6EEAA1; cursor: pointer; list-style: none; }
.st-more__btn::-webkit-details-marker { display: none; }
.st-more__o, .st-more[open] .st-more__c { display: none; }
.st-more[open] .st-more__o { display: inline; }
.st-more[open] > .st-list { margin-top: 1px; }
.st-more[open] { display: flex; flex-direction: column-reverse; }

/* Fiyat: aralık başına ürün sayısı çubuğu */
.st-bucket { min-height: 38px; font-variant-numeric: tabular-nums; }
.st-bucket__bar { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(120,160,255,.08); border-radius: 7px 0 0 7px; }
.st-bucket.is-on .st-bucket__bar { background: rgba(34,224,122,.22); }
.st-range { display: flex; align-items: center; gap: 8px; margin-top: 12px; }

.st-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: inherit; }
.st-toggle__text { display: flex; flex-direction: column; font-size: 13px; }
.st-switch { flex: none; position: relative; width: 40px; height: 24px; border-radius: 12px; background: #2A3654; transition: background .15s ease; }
.st-switch span { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #FFFFFF; transition: left .15s ease; }
.st-toggle.is-on .st-switch { background: var(--green-500); }
.st-toggle.is-on .st-switch span { left: 19px; }
.st-toggle:hover .st-switch { box-shadow: 0 0 0 3px rgba(120,160,255,.14); }

.st-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.st-chip { display: flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 8px; border-radius: 8px; border: 1px solid rgba(120,160,255,.18); background: var(--bg-1); color: var(--fg-1); font-size: 13.5px; font-weight: 600; text-align: center; }
.st-chip:hover { border-color: rgba(120,160,255,.5); color: #FFFFFF; }
.st-chip.is-on { border-color: var(--cobalt-300); background: var(--cobalt-500); color: #FFFFFF; }

/* ── Sonuçlar ── */
.st-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.st-sort { display: flex; gap: 2px; padding: 4px; border-radius: 10px; background: var(--bg-1); border: 1px solid var(--stroke-1); overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.st-sort::-webkit-scrollbar { display: none; }
.st-sort__o { display: flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 7px; color: var(--fg-1); font-size: 14px; font-weight: 600; white-space: nowrap; }
.st-sort__o:hover { color: #FFFFFF; }
.st-sort__o.is-on { background: var(--cobalt-500); color: #FFFFFF; }
.st-count { margin: 0; font-size: 14px; color: var(--fg-1); font-variant-numeric: tabular-nums; }
.st-count strong { color: #FFFFFF; font-weight: 600; }

.st-active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.st-pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px 0 12px; border-radius: 16px; background: var(--bg-2); border: 1px solid rgba(120,160,255,.22); color: var(--fg-0); font-size: 13.5px; font-weight: 600; }
.st-pill svg { color: var(--fg-1); }
.st-pill:hover { background: var(--bg-3); color: #FFFFFF; }
.st-active__clear { padding: 0 6px; font-size: 13.5px; color: var(--fg-2); text-decoration: underline; text-underline-offset: 3px; }
.st-active__clear:hover { color: #FFFFFF; }

.st-grid { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 28px 18px; }

/* Kart */
.sc { position: relative; }
.sc__link { display: flex; flex-direction: column; gap: 10px; color: inherit; }
.sc__art { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 10px; overflow: hidden; background: var(--bg-1); transition: transform .16s ease, box-shadow .16s ease; }
.sc:hover .sc__art, .sc:focus-within .sc__art { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(232,238,249,.28), 0 18px 36px -18px rgba(0,0,0,.9); }

/* Üzerine gelince alttan kayan eylemler (kapağın üstünde; kart bağlantısının kardeşi, iç içe bağlantı yok) */
.sc__acts { display: none; }
@media (hover: hover) and (pointer: fine) {
  .sc__acts { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 2 / 3; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 10px; box-sizing: border-box; border-radius: 10px; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .18s ease, transform .16s ease; background: linear-gradient(180deg, rgba(8,16,32,0) 45%, rgba(8,16,32,.94) 100%); }
  .sc__act { pointer-events: auto; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 10px; border-radius: 8px; background: rgba(232,238,249,.1); border: 1px solid rgba(232,238,249,.22); color: #FFFFFF; font-size: 13px; font-weight: 600; text-align: center; transform: translateY(8px); transition: transform .18s ease, background .12s ease; }
  .sc__act:hover { background: rgba(232,238,249,.18); color: #FFFFFF; }
  .sc__act--go { background: var(--green-500); border-color: var(--green-500); color: var(--bg-0); }
  .sc__act--go:hover { background: #3DEA8E; color: var(--bg-0); }
  .sc:hover .sc__acts, .sc:focus-within .sc__acts { opacity: 1; transform: translateY(-2px); }
  .sc:hover .sc__act, .sc:focus-within .sc__act { transform: none; }
}
.sc__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(18px) brightness(.5); transform: scale(1.15); }
.sc__fit { position: absolute; left: 0; right: 0; top: 50%; width: 100%; height: auto; transform: translateY(-50%); }
.sc__ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 44px; color: var(--fg-3); background: repeating-linear-gradient(135deg, #112452 0 12px, #172239 12px 24px); }
.sc__off { position: absolute; left: 8px; top: 8px; padding: 3px 7px; border-radius: 5px; background: var(--amber-500); color: var(--amber-ink); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sc__name { font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--fg-0); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc:hover .sc__name { color: #FFFFFF; }
.sc__row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: -6px; }
.sc__price { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--green-500); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sc__stores { font-size: 12.5px; color: var(--fg-2); white-space: nowrap; }

.st-empty { margin-top: 20px; padding: 56px 24px; border-radius: 12px; border: 1px dashed rgba(120,160,255,.24); text-align: center; }
.st-empty__t { margin: 0 0 6px; font-size: 17px; font-weight: 600; color: #FFFFFF; }
.st-empty .st-dim { margin: 0 0 16px; }
.st-empty__go { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 9px; background: var(--green-500); color: var(--bg-0); font-weight: 700; }
.st-empty__go:hover { color: var(--bg-0); filter: brightness(1.08); }

.st-pager { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 40px; font-size: 13px; font-variant-numeric: tabular-nums; }
.st-pager__more { display: inline-flex; align-items: center; height: 44px; padding: 0 26px; border-radius: 10px; background: var(--bg-2); border: 1px solid rgba(120,160,255,.24); color: #FFFFFF; font-weight: 600; font-size: 15px; }
.st-pager__more:hover { background: var(--bg-3); color: #FFFFFF; }
.st-pager__more[aria-busy="true"] { opacity: .6; pointer-events: none; }
.st-pager[hidden], .st-grid[hidden], .st-empty[hidden] { display: none; }

/* Steam'den ucuz (steam_ucuz.twig, partials/vs_card.twig) */
.st-lead { max-width: 72ch; margin: 12px 0 0; color: var(--fg-1); font-size: 15px; line-height: 1.55; }
.st-sec--first { padding-top: 0; }
.st-grid--vs { grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 16px; }
.vc__link { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: start; border-radius: 10px; overflow: hidden; background: var(--bg-1); border: 1px solid var(--stroke-1); color: inherit; transition: border-color .15s ease, transform .16s ease; }
.vc__link:hover { border-color: rgba(232,238,249,.24); transform: translateY(-2px); color: inherit; }
.vc__art { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; background: var(--bg-0); }
.vc__body { align-self: stretch; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 14px 14px 12px; }
.vc__name { font-weight: 600; font-size: 15px; color: var(--fg-0); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc__link:hover .vc__name { color: #FFFFFF; }
.vc__rows { display: flex; flex-direction: column; gap: 4px; }
.vc__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--fg-1); font-variant-numeric: tabular-nums; }
.vc__row s { color: var(--fg-2); }
.vc__row--best b { color: var(--green-500); font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.vc__store .slogo { --slogo-h: 26px; }
.vc__save { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: auto; font-size: 12.5px; color: var(--fg-1); font-variant-numeric: tabular-nums; }
.vc__pct { padding: 3px 7px; border-radius: 4px; background: rgba(34,224,122,.14); color: var(--green-500); font-weight: 700; }

/* Abonelik merkezi bölümleri */
.st-hub + .st-hub { margin-top: 44px; }
.st-hub__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.st-hub__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-stretch: 88%; font-size: 24px; letter-spacing: -.01em; color: #FFFFFF; }
.st-hub__more { font-size: 14px; font-weight: 600; color: #6EEAA1; white-space: nowrap; }
.st-hub__more:hover { color: #FFFFFF; }
.st-hub .st-grid { margin-top: 16px; }

/* Telefon: araç çubuğu + alttan panel */
.st-bar, .st-sorts, .st-scrim { display: none; }

@media (max-width: 900px) {
  .st { padding-top: 16px; }
  .st-types { margin-top: 12px; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 calc(var(--gutter) - 6px); }
  .st-type { padding: 10px 8px 11px; }
  .st-type__n { display: none; }
  .st-body { display: block; margin-top: 0; }
  .st-top .st-sort { display: none; }
  .st-top { margin-top: 14px; }

  .st-bar { position: sticky; top: var(--st-top, 0px); z-index: 30; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 calc(-1 * var(--gutter)); padding: 10px var(--gutter); background: rgba(10,18,34,.96); border-bottom: 1px solid rgba(120,160,255,.1); }
  .st-bar__btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 10px; background: var(--bg-1); border: 1px solid rgba(120,160,255,.2); color: #FFFFFF; font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; }
  .st-bar__btn .st-dim { font-weight: 500; }
  .st-bar__n { min-width: 20px; height: 20px; padding: 0 6px; box-sizing: border-box; border-radius: 10px; background: var(--green-500); color: var(--bg-0); font-size: 12.5px; font-weight: 700; display: grid; place-items: center; }

  .st-filters, .st-sorts { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; min-width: 0; max-height: 86vh; display: flex; flex-direction: column; background: #111A2C; border-radius: 18px 18px 0 0; border-top: 1px solid rgba(120,160,255,.2); transform: translateY(105%); visibility: hidden; transition: transform .22s ease, visibility 0s linear .22s; }
  .st-filters.is-open, .st-sorts.is-open { transform: none; visibility: visible; transition: transform .22s ease; }
  .st-sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 8px 6px var(--gutter); }
  .st-sheet__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: #FFFFFF; }
  .st-sheet__x { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--fg-0); cursor: pointer; }
  .st-sheet__x svg { width: 18px; height: 18px; }
  .st-sheet__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--gutter) 8px; }
  .st-sheet__foot { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 12px var(--gutter) calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--stroke-1); }
  .st-sheet__clear { display: flex; align-items: center; height: 48px; padding: 0 12px; color: var(--fg-0); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
  .st-sheet__go { height: 48px; border-radius: 11px; border: 0; background: var(--green-500); color: var(--bg-0); font: inherit; font-weight: 700; cursor: pointer; }
  .st-opt { min-height: 44px; }
  .st-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .st-chip { min-height: 40px; }

  .st-sorts { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
  .st-sorts__list { list-style: none; margin: 0; padding: 0 var(--gutter); }
  .st-sorts__o { display: flex; align-items: center; justify-content: space-between; height: 50px; border-bottom: 1px solid rgba(120,160,255,.1); color: var(--fg-1); font-size: 15.5px; font-weight: 600; }
  .st-sorts__o.is-on { color: #FFFFFF; }
  .st-sorts__o .st-radio { width: 16px; height: 16px; }
  .st-sorts__o.is-on .st-radio { border-width: 5px; }

  .st-filters--static { position: static; transform: none; visibility: visible; max-height: none; background: none; border: 0; border-radius: 0; transition: none; margin-top: 16px; }
  .st-filters--static .st-sheet__head { display: none; }
  .st-filters--static .st-sheet__body { padding: 0; overflow: visible; }

  .st-scrim { display: block; position: fixed; inset: 0; z-index: 110; background: rgba(4,8,16,.66); }
  .st-scrim[hidden] { display: none; }

  .st-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; margin-top: 16px; }
  .st-grid--vs { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .vc__link { grid-template-columns: 96px minmax(0, 1fr); }
  .vc__body { padding: 10px 12px; gap: 8px; }
  .st-lead { font-size: 14px; }
  .st-sec--first { padding-top: 8px; }
  .sc__price { font-size: 17px; }
  .sc__name { font-size: 14.5px; }
}
@media (min-width: 901px) {
  .st-filters { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .st-filters, .st-sorts, .sc__art, .sc__acts, .sc__act, .st-switch, .st-switch span { transition: none; }
}
