/*
 * Turizm site paketi — form / ödeme sayfaları.
 * Renk ve yazı tipi sitenin değişkenlerinden gelir; yoksa aşağıdaki yedekler.
 * Siteye uydurmak için yalnız --tz-* değişkenlerini ezin.
 */
.tz {
  --tz-ana: var(--primary, #ba6827);
  --tz-ana-koyu: var(--primary-dark, #9a5420);
  --tz-baslik: var(--heading, #2b2118);
  --tz-metin: #5f564d;
  --tz-soluk: #8c8279;
  --tz-zemin: #fff;
  --tz-hafif: #fbf6f1;
  --tz-cizgi: var(--border, #eadccd);
  --tz-ok: #2f7d4f;
  --tz-ok-zemin: #eaf6ee;
  --tz-uyari: #9a6a12;
  --tz-uyari-zemin: #fdf4e1;
  --tz-hata: #b3261e;
  --tz-hata-zemin: #fdecea;
  --tz-yaricap: 12px;
  --tz-baslik-font: var(--font-head, inherit);
  max-width: 760px;
  margin: 0 auto;
  color: var(--tz-metin);
  font-size: 15px;
  line-height: 1.55;
}
.tz *, .tz *::before, .tz *::after { box-sizing: border-box; }
.tz h1, .tz h2 { font-family: var(--tz-baslik-font); color: var(--tz-baslik); margin: 0; line-height: 1.2; }

/* Üst özet */
.tz-ust { background: var(--tz-zemin); border: 1px solid var(--tz-cizgi); border-radius: var(--tz-yaricap); padding: 28px 28px 24px; margin-bottom: 18px; }
.tz-ust__ust { margin: 0 0 6px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--tz-ana); }
.tz-ust h1 { font-size: clamp(1.45rem, 3.4vw, 1.9rem); }
.tz-ust__metin { margin: 8px 0 0; }
.tz-ust__metin strong { color: var(--tz-baslik); }
.tz-ozet { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px dashed var(--tz-cizgi); }
.tz-ozet div { min-width: 0; }
.tz-ozet dt { font-size: .74rem; color: var(--tz-soluk); text-transform: uppercase; letter-spacing: .05em; }
.tz-ozet dd { margin: 2px 0 0; font-weight: 600; color: var(--tz-baslik); }
.tz-tutar { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 14px 18px; border-radius: 10px; background: var(--tz-hafif); }
.tz-tutar span { font-size: .85rem; }
.tz-tutar strong { font-family: var(--tz-baslik-font); font-size: 1.6rem; color: var(--tz-baslik); white-space: nowrap; }

/* Bildirimler */
.tz-bildirim { border-radius: 10px; padding: 14px 18px; margin-bottom: 18px; outline: none; }
.tz-bildirim strong { color: inherit; }
.tz-bildirim ul { margin: 8px 0 0 18px; padding: 0; list-style: disc; }
.tz-bildirim li { margin: 2px 0; }
.tz-bildirim a { color: inherit; text-decoration: underline; }
.tz-bildirim p { margin: 8px 0 0; }
.tz-bildirim--ok { background: var(--tz-ok-zemin); color: var(--tz-ok); }
.tz-bildirim--hata { background: var(--tz-hata-zemin); color: var(--tz-hata); }
.tz-aciklama { margin-bottom: 18px; padding: 14px 18px; border-left: 3px solid var(--tz-ana); background: var(--tz-hafif); border-radius: 0 10px 10px 0; }

/* Kartlar ve alanlar */
.tz-kart { background: var(--tz-zemin); border: 1px solid var(--tz-cizgi); border-radius: var(--tz-yaricap); padding: 24px 28px; margin-bottom: 18px; }
.tz-kart h2 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 18px; }
.tz-kart > p { margin: 0 0 12px; }
.tz-no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--tz-ana); color: #fff; font-size: .8rem; font-weight: 700; flex: none; }
.tz-kimlik { display: grid; gap: 2px; padding: 12px 14px; border-radius: 10px; background: var(--tz-hafif); margin-bottom: 18px; }
.tz-kimlik span, .tz-kimlik small { font-size: .78rem; color: var(--tz-soluk); }
.tz-kimlik strong { color: var(--tz-baslik); font-size: 1.05rem; }
.tz-izgara { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.tz-alan { min-width: 0; margin: 0; padding: 0; border: 0; }
.tz-alan--tam { grid-column: 1 / -1; }
.tz-alan > label, .tz-alan > legend { display: block; margin-bottom: 6px; font-size: .86rem; font-weight: 600; color: var(--tz-baslik); padding: 0; }
.tz-z { color: var(--tz-hata); }
.tz-ib { font-weight: 400; color: var(--tz-soluk); font-size: .8rem; }
.tz input[type=text], .tz input[type=tel], .tz input[type=email], .tz input[type=date], .tz textarea {
  display: block; width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid var(--tz-cizgi); border-radius: 8px;
  background: #fff; color: var(--tz-baslik); font: inherit; font-size: 16px; /* iOS yakınlaştırmasın */
  transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.tz textarea { resize: vertical; min-height: 90px; }
.tz input:focus, .tz textarea:focus { outline: none; border-color: var(--tz-ana); box-shadow: 0 0 0 3px rgba(186, 104, 39, .15); }
.tz [aria-invalid=true] { border-color: var(--tz-hata) !important; }
.tz-hata { margin: 6px 0 0; color: var(--tz-hata); font-size: .82rem; }
.tz-not { margin: 14px 0 0; font-size: .82rem; color: var(--tz-soluk); }
.tz-not--ust { margin: -8px 0 16px; }
.tz-secenekler { display: flex; gap: 10px; }
.tz-secenek { flex: 1; display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; border: 1px solid var(--tz-cizgi); border-radius: 8px; cursor: pointer; color: var(--tz-baslik); }
.tz-secenek:has(input:checked) { border-color: var(--tz-ana); background: var(--tz-hafif); }
.tz-secenek input, .tz-onay input { accent-color: var(--tz-ana); width: 18px; height: 18px; margin: 0; }
.tz-onay { display: flex; gap: 10px; align-items: flex-start; font-weight: 500 !important; cursor: pointer; }
.tz-banka { padding: 14px 18px; border: 1px dashed var(--tz-ana); border-radius: 10px; background: var(--tz-hafif); color: var(--tz-baslik); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92rem; line-height: 1.7; word-break: break-word; }

/* Belgeler */
.tz-belgeler { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tz-belge { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 14px 16px; border: 1px solid var(--tz-cizgi); border-left-width: 4px; border-radius: 10px; }
.tz-belge--ok { border-left-color: var(--tz-ok); }
.tz-belge--bekliyor { border-left-color: var(--tz-uyari); }
.tz-belge--red, .tz-belge--hatali { border-left-color: var(--tz-hata); }
.tz-belge--eksik { border-left-color: var(--tz-cizgi); }
.tz-belge__bilgi { min-width: 0; }
.tz-belge__bilgi strong { color: var(--tz-baslik); }
.tz-belge__bilgi p { margin: 2px 0 0; font-size: .84rem; }
.tz-belge__durum { font-weight: 500; }
.tz-belge--ok .tz-belge__durum { color: var(--tz-ok); }
.tz-belge--bekliyor .tz-belge__durum { color: var(--tz-uyari); }
.tz-belge--red .tz-belge__durum { color: var(--tz-hata); }
.tz-belge--eksik .tz-belge__durum { color: var(--tz-soluk); }
.tz-rozet { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 99px; background: var(--tz-hafif); color: var(--tz-ana); font-size: .7rem; font-weight: 600; vertical-align: 2px; }
.tz-dosya { position: relative; flex: none; display: grid; justify-items: end; gap: 4px; cursor: pointer; max-width: 46%; }
.tz-dosya input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.tz-dosya__dugme { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--tz-ana); border-radius: 8px; color: var(--tz-ana); font-weight: 600; font-size: .86rem; white-space: nowrap; transition: background .15s, color .15s; }
.tz-dosya:hover .tz-dosya__dugme, .tz-dosya:focus-within .tz-dosya__dugme { background: var(--tz-ana); color: #fff; }
.tz-dosya:focus-within .tz-dosya__dugme { box-shadow: 0 0 0 3px rgba(186, 104, 39, .25); }
.tz-dosya__ad { font-size: .76rem; color: var(--tz-ok); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tz-dosya--secili .tz-dosya__ad::before { content: "✓ "; }

/* Gönder */
.tz-gonder { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0 8px; }
.tz-gonder p { margin: 0; font-size: .84rem; color: var(--tz-soluk); }
.tz-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 30px; border: 0; border-radius: 8px; background: var(--tz-ana); color: #fff !important; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s; }
.tz-btn:hover { background: var(--tz-ana-koyu); }
.tz-btn:disabled { opacity: .6; cursor: progress; }

/* Boş / hata ekranı */
.tz-bos { text-align: center; padding: 48px 28px; }
.tz-bos__ikon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; background: var(--tz-hafif); color: var(--tz-ana); font-size: 1.5rem; font-weight: 700; }
.tz-bos h2 { display: block; margin-bottom: 8px; }
.tz-bos p { max-width: 440px; margin: 0 auto 18px; }

@media (max-width: 640px) {
  .tz-ust, .tz-kart { padding: 20px 18px; }
  .tz-izgara { grid-template-columns: 1fr; }
  .tz-belge { flex-direction: column; align-items: stretch; }
  .tz-dosya { max-width: none; justify-items: stretch; }
  .tz-dosya__dugme { justify-content: center; }
  .tz-gonder { flex-direction: column-reverse; align-items: stretch; text-align: center; }
  .tz-tutar strong { font-size: 1.35rem; }
}

/* ---------------------------------------------------------- 5. aşama: sepet + sipariş */
.tz--genis { max-width: 860px; }
.tz-gizli { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tz-ust-bosluk { margin-top: 16px; }
.tz-ozet--ust0 { margin-top: 0; padding-top: 0; border-top: 0; }
.tz-tutar--ust0 { margin-top: 0; }
.tz-baglanti { color: var(--tz-soluk); text-decoration: underline; font-size: .84rem; padding: 4px 0; background: none; border: 0; cursor: pointer; }
.tz-baglanti:hover { color: var(--tz-hata); }
.tz-gonder > a:not(.tz-btn) { color: var(--tz-ana); font-weight: 500; }

.tz-sepet { list-style: none; margin: 0; padding: 0; }
.tz-sepet__ust { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.tz-sepet__ust h2 { margin-bottom: 4px; }
.tz-sepet__ust h2 a { color: inherit; }
.tz-sepet__tarih { margin: 0; color: var(--tz-soluk); font-size: .9rem; }
.tz-sepet__kalem--sorun { border-color: var(--tz-hata); }
.tz-tablo { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: .92rem; }
.tz-tablo th, .tz-tablo td { padding: 9px 0; border-bottom: 1px dashed var(--tz-cizgi); text-align: left; font-weight: 400; vertical-align: top; }
.tz-tablo th { color: var(--tz-baslik); }
.tz-tablo td { padding-left: 12px; white-space: nowrap; }
.tz-tablo__tutar { text-align: right !important; color: var(--tz-baslik); font-weight: 600 !important; }
.tz-tablo tfoot th, .tz-tablo tfoot td { border-bottom: 0; font-weight: 600; padding-top: 12px; }

.tz-sepet-ozet { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.tz-sepet-ozet li { display: flex; justify-content: space-between; gap: 14px; font-size: .9rem; }
.tz-sepet-ozet strong { color: var(--tz-baslik); }
.tz-sepet-ozet b { color: var(--tz-baslik); white-space: nowrap; }
.tz-yolcular { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.tz-yolcular:last-child { margin-bottom: 0; }
.tz-yolcular legend { font-family: var(--tz-baslik-font); font-weight: 600; color: var(--tz-baslik); margin-bottom: 12px; padding: 0; }
.tz-secenek--tek { display: inline-flex; flex: none; cursor: default; border-color: var(--tz-ana); background: var(--tz-hafif); }
.tz-metin { margin: 0 0 12px; border: 1px solid var(--tz-cizgi); border-radius: 8px; }
.tz-metin summary { cursor: pointer; padding: 10px 14px; color: var(--tz-ana); font-weight: 500; }
.tz-metin > div { max-height: 260px; overflow: auto; padding: 0 14px 12px; font-size: .86rem; }
.tz-metin p { margin: 0 0 8px; }
.tz-kart > .tz-alan + .tz-alan, .tz-kart > .tz-metin + .tz-alan { margin-top: 12px; }

@media (max-width: 640px) {
  .tz-sepet__ust { flex-direction: column; gap: 6px; }
  .tz-sepet-ozet li { flex-direction: column; gap: 2px; }
  .tz-secenekler { flex-direction: column; }
  .tz-tablo td { white-space: normal; }
}

/* Tur detayı: tarih + kişi seçimi (sitenin .book kartının içinde) */
.tz-book .price { margin-bottom: 14px; }
.tz-book .tz-hata { margin: 0 0 12px; color: #b3261e; font-size: .84rem; }
.tz-book__bos { margin: 6px 0 16px; }
.tz-book fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.tz-book legend { font-size: .82rem; font-weight: 600; color: var(--heading, #3b2414); margin-bottom: 8px; padding: 0; }
.tz-book__donemler { display: grid; gap: 8px; max-height: 340px; overflow: auto; }
.tz-book label.tz-book__donem { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 12px; border: 1px solid var(--border, #f0dfcf); border-radius: 10px; cursor: pointer; font-weight: 400; }
.tz-book label.tz-book__donem:has(input:checked) { border-color: var(--primary, #ba6827); background: #fffaf6; box-shadow: 0 0 0 1px var(--primary, #ba6827); }
.tz-book label.tz-book__donem.is-kapali { opacity: .55; cursor: not-allowed; }
.tz-book .tz-book__donem input { display: inline; width: 18px; height: 18px; margin: 0; padding: 0; flex: none; accent-color: var(--primary, #ba6827); }
.tz-book__donem span { flex: 1; min-width: 0; display: grid; line-height: 1.35; }
.tz-book__donem strong { color: var(--heading, #3b2414); font-weight: 600; font-size: .9rem; }
.tz-book__donem small { color: var(--text, #7a7a7a); font-size: .76rem; }
.tz-book__donem em { font-style: normal; font-size: .74rem; color: var(--text, #7a7a7a); }
.tz-book__donem em.is-az { color: #b3261e; font-weight: 600; }
.tz-book__donem em.is-erken { color: #2f7d4f; font-weight: 600; }
.tz-book__donem b { color: var(--heading, #3b2414); font-size: .9rem; white-space: nowrap; }
.tz-book__kalem { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--border, #f0dfcf); }
.tz-book__kalem label { margin: 0 !important; display: grid !important; line-height: 1.35; }
.tz-book__kalem small { font-weight: 400; color: var(--text, #7a7a7a); font-size: .74rem; }
.tz-book__fiyat { font-weight: 400; color: var(--text, #7a7a7a); font-size: .8rem; }
.tz-book__fiyat del { opacity: .7; }
.tz-sayac { display: inline-flex; align-items: center; border: 1px solid var(--border, #f0dfcf); border-radius: 30px; flex: none; }
.tz-sayac button { width: 34px; height: 34px; font-size: 1.1rem; color: var(--primary, #ba6827); border-radius: 50%; }
.tz-sayac button:hover { background: #fffaf6; }
.tz-book .tz-sayac input { width: 36px; margin: 0; padding: 4px 0; border: 0; background: none; text-align: center; font-weight: 600; -moz-appearance: textfield; }
.tz-sayac input::-webkit-outer-spin-button, .tz-sayac input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tz-book__not { margin: 10px 0 0; font-size: .78rem; }

/* Tur detayı → Ücret: tarih / fiyat tablosu */
.tz-fiyatlar { overflow-x: auto; margin-bottom: 18px; border: 1px solid var(--border, #f0dfcf); border-radius: 10px; }
.tz-fiyatlar table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tz-fiyatlar th, .tz-fiyatlar td { padding: 10px 14px; text-align: left; border-top: 1px solid var(--border, #f0dfcf); vertical-align: top; }
.tz-fiyatlar thead th { border-top: 0; background: #fffaf6; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text, #7a7a7a); font-weight: 600; }
.tz-fiyatlar tbody th { color: var(--heading, #3b2414); font-weight: 600; white-space: nowrap; }
.tz-fiyatlar tbody tr:not(.is-ilk) td { border-top-style: dashed; }
.tz-fiyatlar small { display: block; font-weight: 400; color: var(--text, #7a7a7a); font-size: .76rem; }
.tz-fiyatlar td:last-child { white-space: nowrap; color: var(--heading, #3b2414); font-weight: 600; }
.tz-fiyatlar del { font-weight: 400; color: var(--text, #7a7a7a); }
