/*
 * Turizm paketi ↔ şablon teması (YeniTemplates v2).
 * turizm.css BİREBİR kalır; bu dosya paketin beklediği değişkenleri (--primary, --primary-dark, --heading,
 * --border, --text, --font-head) şablonun tasarım değişkenlerine (--c-*, --f-*) bağlar ve sitenin
 * .book/.price/.btn kalıplarını (tur-site2'de style.css'te olan) rezervasyon kutusu için verir.
 * Paket rengini ayrıca değiştirmek için: .tz { --tz-ana: … } (turizm.css'i düzenlemeyin).
 */
:root {
  --primary: rgb(var(--c-primary, 186 104 39));
  --primary-dark: color-mix(in srgb, rgb(var(--c-primary, 186 104 39)) 80%, #000);
  --heading: rgb(var(--c-foreground, 43 33 24));
  --border: rgb(var(--c-border, 234 220 205));
  --text: rgb(var(--c-muted, 95 86 77));
  --font-head: var(--f-heading, inherit);
}
.tz { --tz-metin: rgb(var(--c-muted, 95 86 77)); --tz-hafif: rgb(var(--c-surface, 251 246 241)); --tz-yaricap: var(--radius-card, 12px); }

/* ── paket sayfaları (sepet / ödeme / kayıt formu) ── */
.yt-tz-banner { background: rgb(var(--c-surface, 244 242 236)); border-bottom: 1px solid var(--border); padding: clamp(28px, 6vw, 56px) 0 clamp(20px, 4vw, 32px); }
.yt-tz-banner__t { margin: 0; font-family: var(--font-head); color: var(--heading); font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.15; }
.yt-tz-sayfa { padding: clamp(24px, 5vw, 48px) 0 clamp(48px, 8vw, 88px); }
.yt-tz-sayfa .tz { max-width: 880px; }

/* ── tur detayı: tarih + kişi seçimi kartı ── */
.yt-book .book { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card, 14px); padding: 22px; box-shadow: 0 12px 32px -18px rgba(0, 0, 0, .25); }
.yt-book .badge { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 999px; background: var(--primary); color: rgb(var(--c-on-primary, 255 255 255)); font-size: .72rem; font-weight: 700; letter-spacing: .02em; }
.yt-book .book__from { margin: 0; color: var(--text); font-size: .82rem; }
.yt-book .book__from del { margin-left: 6px; }
.yt-book .price { display: block; margin: 2px 0 14px; font-family: var(--font-head); color: var(--heading); font-size: 1.7rem; font-weight: 700; line-height: 1.15; }
.yt-book .price--ask { font-size: 1.15rem; }
.yt-book .book__total { display: flex; justify-content: space-between; align-items: baseline; margin: 4px 0 14px; padding-top: 12px; border-top: 1px solid var(--border); color: var(--heading); }
.yt-book .book__total strong { font-size: 1.2rem; }
.yt-book .btn { display: flex; width: 100%; align-items: center; justify-content: center; min-height: 48px; padding: 12px 18px; border: 0; border-radius: 10px; background: var(--primary); color: rgb(var(--c-on-primary, 255 255 255)); font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background .15s; }
.yt-book .btn:hover { background: var(--primary-dark); }
.yt-book .btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 45%, transparent); outline-offset: 2px; }
.yt-book .tz-sayac { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; flex: none; }
.yt-book .tz-sayac button { width: 36px; height: 36px; border: 0; background: rgb(var(--c-surface, 244 242 236)); color: var(--heading); font-size: 1.1rem; cursor: pointer; }
.yt-book .tz-sayac input { width: 44px; height: 36px; border: 0; text-align: center; font: inherit; color: var(--heading); -moz-appearance: textfield; }
.yt-book .tz-sayac input::-webkit-outer-spin-button, .yt-book .tz-sayac input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.yt-book .tz-book__not { margin: 8px 0 0; font-size: .8rem; color: var(--text); }
.yt-book .tz-book__fiyat { color: var(--heading); font-weight: 600; font-size: .86rem; }

/* ── tarihler ve fiyatlar tablosu ── */
.tz-fiyatlar { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-card, 12px); background: #fff; }
.tz-fiyatlar table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tz-fiyatlar th, .tz-fiyatlar td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.tz-fiyatlar thead th { background: rgb(var(--c-surface, 244 242 236)); color: var(--heading); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.tz-fiyatlar tbody th { color: var(--heading); font-weight: 600; white-space: nowrap; }
.tz-fiyatlar small { display: block; color: var(--text); font-weight: 400; font-size: .78rem; }
.tz-fiyatlar small.is-kapali { color: #b3261e; font-weight: 600; }
.tz-fiyatlar td:last-child { white-space: nowrap; font-weight: 600; color: var(--heading); }
.tz-fiyatlar del { color: var(--text); font-weight: 400; margin-right: 4px; }
.tz-fiyatlar tr:last-child > * { border-bottom: 0; }
.yt-tz-bos { color: var(--text); }

/* şablon rezervasyon kutusunu koymadıysa eklenen bölüm */
.yt-tz-detay { padding: clamp(28px, 6vw, 64px) 0; }
.yt-tz-detay h2 { font-family: var(--font-head); color: var(--heading); font-size: 1.5rem; margin: 0 0 14px; }
.yt-tz-detay__grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .yt-tz-detay__grid { grid-template-columns: minmax(0, 1fr) 380px; } .yt-tz-detay__grid aside { position: sticky; top: 96px; } }

/* ── sepet simgesi: şablonun başlığında [data-yt-cart] ya da yüzen düğme ── */
[data-yt-cart] { position: relative; }
[data-yt-cart] > span { position: absolute; top: -4px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--primary); color: rgb(var(--c-on-primary, 255 255 255)); font-size: .68rem; font-weight: 700; line-height: 18px; text-align: center; }
.yt-tz-sepet { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--heading); color: #fff; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45); }
.yt-tz-sepet > span { top: 2px; right: 2px; }
@media print { .yt-tz-sepet { display: none; } }
