/* Föylük sayfaları (Views/Urunler/HazirFoyluk.cshtml): tasarım L tipi şeffaf pleksi standın içinde, masa üstünde.
   Stand görünümü anasayfadakiyle aynı (urun-aileleri.css .foyluk); yatayda da dikeyde de satırda 3 tasarım
   (yatay 08.11.2026'da 2'den 3'e, kullanıcı: "ürün listesi 3'lü sıra olsun"); 900 px altı 2, telefonda yatay 1 / dikey 2.
   KULLANAN: Views/Urunler/HazirFoyluk.cshtml, Views/Urunler/KarekodsuzFoyluk.cshtml, Views/Urunler/_FoylukYonSecici.cshtml (.yon-*),
   Views/Home/Index.cshtml (Tasarımlar bölümü föylük sekmeleri), Views/Shared/_FoylukKardes.cshtml (.hy-kardes). BAĞIMLI OLDUĞU: css/tokenlar.css, anasayfa.css (.tk, .tk-alt, .tk-ad). */
/* Yön seçici (10.11.2026, Views/Urunler/_FoylukYonSecici.cshtml; kullanıcı: "Kategoriler ile karışıyor. Boydan boya uzatalım col-6 gibi
   ama bunlar kare gibi olsun, kategorilerden bağımsız"): tam genişlikte iki eşit kutu, köşesi az yuvarlak (kategori çipleri hap biçiminde).
   Solda yönü gösteren çizim (yatay / dikey dikdörtgen + karekod yeri), seçili kutu koyu, sağda işaret. Eski .hy-yon kuralları kalktı. */
/* 10.11.2026 ikinci istek ("yüksekliklerini düşürelim, ürünler aşağıda kalıyor"): 96 px → 64 px, çizim ve yazılar küçüldü */
.yon-secici { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--urun-bosluk); margin: 0 0 1rem; }
.yon-kutu { display: flex; align-items: center; gap: .85rem; min-height: 64px; padding: .5rem 1rem; border: 1.5px solid var(--cizgi); border-radius: var(--t-yaricap-2); background: #fff; color: var(--metin); text-decoration: none; transition: border-color var(--t-sure-hizli), box-shadow var(--t-sure-hizli), background-color var(--t-sure-hizli); }
.yon-kutu:hover { border-color: var(--birincil); box-shadow: var(--golge-1); }
.yon-kutu[aria-current="page"] { border-color: var(--metin); background: var(--metin); color: #fff; box-shadow: var(--golge-2); }
.yon-sekil { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--zemin-vurgu); color: var(--birincil); }
.yon-sekil::before { content: ""; width: 32px; height: 20px; border: 2px solid currentColor; border-radius: 3px; background: linear-gradient(currentColor, currentColor) 78% 50% / 7px 7px no-repeat; }
.yon-sekil--dikey::before { width: 20px; height: 32px; background-position: 50% 72%; }
.yon-kutu[aria-current="page"] .yon-sekil { background: rgb(255 255 255 / .12); color: var(--vurgu); }
.yon-metin { display: grid; gap: .1rem; min-width: 0; }
.yon-metin strong { font: 700 1.05rem/1.2 var(--yazi-baslik); }
.yon-metin small { color: var(--metin-ikincil); font-size: .82rem; }
.yon-kutu[aria-current="page"] .yon-metin small { color: rgb(255 255 255 / .75); }
.yon-isaret { margin-left: auto; color: var(--birincil); font-size: 1.3rem; }
.yon-kutu[aria-current="page"] .yon-isaret { color: var(--vurgu); }
@media (max-width: 640px) {
    .yon-kutu { min-height: 56px; gap: .55rem; padding: .45rem .65rem; }
    .yon-sekil { width: 36px; height: 36px; }
    .yon-sekil::before { width: 26px; height: 16px; background-size: 6px 6px; }
    .yon-sekil--dikey::before { width: 16px; height: 26px; }
    .yon-metin strong { font-size: 1rem; }
    .yon-metin small { font-size: .78rem; }
    .yon-isaret { font-size: 1.05rem; }
}

.hy-izgara { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--urun-bosluk); margin: 0; padding: 0; list-style: none; }

.hy-gorsel {
    container-type: inline-size;
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: end center;
    aspect-ratio: 16 / 10;
    padding-bottom: 7cqw;
    overflow: hidden;
    background: var(--zemin-vurgu);
}
.hy-izgara--dikey .hy-gorsel { aspect-ratio: 5 / 6; }
/* Masa yüzeyi */
.hy-gorsel::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; height: 24%; background: #DCEAF0; }

.hy-foyluk { width: 72%; filter: drop-shadow(0 1.2cqw 1.6cqw rgb(16 41 74 / .2)); }
.hy-izgara--dikey .hy-foyluk { width: 58%; }
.hy-plaka {
    position: relative;
    padding: 3.5%;
    border-radius: .5cqw;
    background: linear-gradient(160deg, rgb(255 255 255 / .8), rgb(255 255 255 / .4));
    box-shadow: inset 0 0 0 .25cqw rgb(255 255 255 / .95), 0 0 0 .2cqw rgb(16 41 74 / .14);
    transform: perspective(70cqw) rotateX(5deg);
    transform-origin: 50% 100%;
}
.hy-plaka::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(112deg, transparent 36%, rgb(255 255 255 / .42) 45%, transparent 55%); pointer-events: none; }
.hy-plaka img { display: block; width: 100%; height: auto; }
.hy-ayak { display: block; height: 3.4cqw; margin-inline: -7%; background: linear-gradient(to bottom, rgb(255 255 255 / .95), rgb(214 234 241 / .55)); clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%); }

@media (max-width: 900px) {
    .hy-izgara { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .hy-izgara:not(.hy-izgara--dikey) { grid-template-columns: 1fr; }
    .tk-alt { flex-wrap: wrap; padding: .6rem; }
    .tk-ad { flex-basis: 100%; }
    .tk-sec { flex: 1; padding: 0 .5rem; }
}

/* "Yatayı da var" / "Dikeyi de var" (Views/Shared/_FoylukKardes.cshtml, 08.11.2026): ad altında, öteki yönün sayfasına */
.hy-kardes {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    width: fit-content;
    margin-top: .15rem;
    padding-block: .1rem;
    color: var(--birincil-ust);
    font-size: .825rem;
    font-weight: 700;
    text-decoration: none;
}
.hy-kardes:hover,
.hy-kardes:focus-visible { color: var(--birincil-bas); text-decoration: underline; }
/* Öteki boyut (21.11.2026, A7 ↔ A6): "A6'sı da var" / "A7'si de var" — yön bağlantısının altında, ayrı satır */
.hy-kardes--boyut { display: flex; color: var(--birincil); }
.hy-boyut-gecis { display: flex; align-items: center; gap: .4rem; margin-top: .35rem; font-weight: 600; }
.hy-boyut-gecis a { font-weight: 700; }
/* Kart üstünde ölçü (21.11.2026, "cm her yerde") */
.hy-olcu { display: block; color: var(--metin-ikincil); font-size: .8rem; font-weight: 600; }

/* Öteki yönden gelinince (#t-<id>) tasarım görünür yere iner ve vurgulanır */
.hy-izgara > .tk { scroll-margin-top: calc(var(--ust-yukseklik) + 24px); }
.hy-izgara > .tk:target { outline: 3px solid var(--birincil); outline-offset: 3px; }
