/* Tarif ve koleksiyon sayfalari (scripts/tarifler/uret.mjs). Taban /assets/styles.css (renk, yazi, dugme, altbilgi);
   burada yalniz bu sayfalarin duzeni. Tasarim 3 (K-325): kart yalniz nesneye (tarif karti), rakam Archivo dar ve kalin,
   tek ana dugme. Ulke secici: .tr-us / .tr-uk, :has ile (desteklemeyen tarayicida ABD gorunur). */
.tr-ust-link { font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none; }
.tr-ust-link:hover { text-decoration: underline; }
.tr-ust { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 12px; min-height: 30px; }
.tr-iz { margin: 0; min-width: 0; }
.tr-iz a { color: var(--muted); }

.tr-ulke { position: relative; display: inline-flex; flex: none; padding: 2px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--rule); }
.tr-ulke input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.tr-ulke label { font-size: 13px; font-weight: 700; line-height: 1; padding: 6px 10px; border-radius: 6px; color: var(--muted); cursor: pointer; transition: background var(--t-small) var(--ease), color var(--t-small) var(--ease); }
.tr-ulke input:checked + label,
.tr:has(#ulke-uk:checked) label[for="ulke-uk"] { background: var(--ink); color: #fff; }
.tr:has(#ulke-uk:checked) label[for="ulke-us"] { background: none; color: var(--muted); }
.tr-ulke input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }
.tr-uk { display: none; }
.tr:has(#ulke-uk:checked) .tr-uk { display: revert; }
.tr:has(#ulke-uk:checked) .tr-us { display: none; }

.tr-kahraman { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--sunk); }
.tr-ad { font-size: clamp(32px, 8.6vw, 48px); margin: 16px 0 8px; }
.tr-ukad { font-size: 14px; color: var(--muted); margin: 0 0 8px; }

.tr-olgu { list-style: none; margin: 12px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.tr-olgu li { display: flex; flex-direction: column; gap: 3px; padding: 11px 6px 11px 0; min-width: 0; }
.tr-olgu li + li { padding-left: 10px; border-left: 1px solid var(--rule); }
.tr-olgu strong { font-family: var(--display); font-weight: 800; font-stretch: 68%; font-size: 23px; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
.tr-olgu li > span { font-size: 13px; color: var(--muted); line-height: 1.2; }
.tr-dugme-alt { font-size: 14px; line-height: 1.4; color: var(--muted); margin: 10px 0 0; }
.tr-ozet { font-size: 17px; line-height: 1.5; margin: 18px 0 0; color: var(--text); }

.tr-bolum { margin-top: 40px; }
.tr-bolum h2 { font-size: clamp(24px, 6.2vw, 30px); }
.tr-tarif h2 { margin-top: 32px; }
.tr-tarif > div > h2:first-child { margin-top: 0; }
.tr-not { font-size: 15px; color: var(--muted); margin: -2px 0 8px; }
.tr-malz { list-style: none; margin: 0; padding: 0; }
.tr-malz li { padding: 9px 0; border-top: 1px solid var(--rule); font-size: 16px; line-height: 1.4; }
.tr-malz li:first-child { border-top: 0; }
.tr-alerjen { margin: 10px 0 0; }
.tr-adim { list-style: none; margin: 0; padding: 0; counter-reset: adim; }
.tr-adim li { counter-increment: adim; display: grid; grid-template-columns: 28px 1fr; gap: 6px; padding: 9px 0; font-size: 16px; line-height: 1.5; }
.tr-adim li::before { content: counter(adim); font-family: var(--display); font-weight: 800; font-stretch: 68%; font-size: 21px; line-height: 1.2; color: var(--ink); }
.tr-tarif .tip { margin-top: 12px; }
.tr-saklama { margin: 12px 0 0; }

.tr-besin { width: 100%; border-collapse: collapse; font-size: 16px; }
.tr-besin th { text-align: left; font-weight: 500; padding: 8px 0; }
.tr-besin td { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; padding: 8px 0; }
.tr-besin tr + tr > * { border-top: 1px solid var(--rule); }
.tr-kaynak { margin: 12px 0 0; }
.tr-kaynak a { color: inherit; }
.tr-hafta { margin: 0; padding-left: 20px; }
.tr-hafta li { margin-bottom: 6px; }

.tr .band { margin-top: 44px; }
.tr .band .btn { width: auto; display: inline-flex; padding-left: 28px; padding-right: 28px; }

/* Tarif kartlari (koleksiyon ve "More ..."): fotograf, ad, sure ve kcal, porsiyon fiyati */
.tr-giris { font-size: 17px; line-height: 1.5; margin: 0 0 18px; color: var(--text); }
.tr-izgara { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; margin-top: 12px; }
.tr-kart { display: flex; flex-direction: column; gap: 3px; min-width: 0; color: inherit; text-decoration: none; }
.tr-kart img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: var(--sunk); margin-bottom: 7px; }
.tr-kart-ad { font-weight: 700; font-size: 15.5px; line-height: 1.25; color: var(--ink); text-wrap: pretty; }
.tr-kart:hover .tr-kart-ad { text-decoration: underline; }
.tr-kart-bilgi { font-size: 13px; color: var(--muted); line-height: 1.3; }
.tr-kart-fiyat { font-size: 14px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.tr-tumu { margin: 16px 0 0; font-weight: 700; }
.tr-tumu a { color: var(--ink); }

/* Dizin (/recipes) ve koleksiyon listesi */
.tr-kol-izgara { display: flex; flex-direction: column; }
.tr-kol { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--rule); color: inherit; text-decoration: none; }
.tr-kol:first-child { border-top: 0; }
.tr-kol img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; background: var(--sunk); }
.tr-kol-ad { font-weight: 700; line-height: 1.3; color: var(--ink); }
.tr-kol:hover .tr-kol-ad { text-decoration: underline; }
.tr-kol-n { font-size: 14px; color: var(--muted); white-space: nowrap; }
.tr-kol-liste { list-style: none; margin: 0; padding: 0; }
.tr-kol-liste li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); }
.tr-kol-liste li:first-child { border-top: 0; }
.tr-kol-liste a { color: var(--ink); font-weight: 600; }
.tr-kol-liste span { color: var(--muted); font-size: 14px; }
.tr-az { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.tr-az li { padding: 7px 0; border-top: 1px solid var(--rule); }
.tr-az li:first-child { border-top: 0; }
.tr-az a { color: var(--ink); }

@media (min-width: 560px) {
  .tr-olgu strong { font-size: 28px; }
}
@media print {
  .tr-ulke, .tr-dugme, .no-print, .skip, .tr-ust-link, .tr-izgara, .tr-tumu { display: none !important; }
  .tr-kahraman { max-width: 50%; }
}
