/* PrimeGezi - formlar, pencereler, yasal metin. site.css'ten sonra yuklenir. */

.bolum-form { padding-top: 0; }
.form-yan { margin-top: 20px; }

.talep-form fieldset { margin: 0 0 14px; padding: 22px 20px 8px; border: 0; border-radius: var(--r); background: #fff; }
.talep-form legend { float: left; width: 100%; margin-bottom: 16px; padding: 0; font-size: 17px; font-weight: 600; }
.talep-form legend + * { clear: both; }

.alan { display: block; margin-bottom: 16px; }
.alan > span, .alan-ad { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--gri-koyu); }
.alan em { font-style: normal; font-weight: 400; color: var(--gri); }
.alan input, .alan select, .alan textarea, .sayac input {
  display: block; width: 100%; height: 52px; padding: 0 16px; border: 1px solid #dedede; border-radius: var(--r-orta);
  background: #fff; color: var(--metin); font: inherit; font-size: 16px; -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.alan textarea { height: auto; min-height: 96px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.alan select { padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.alan input:focus, .alan select:focus, .alan textarea:focus, .sayac input:focus { outline: none; border-color: var(--siyah); box-shadow: 0 0 0 3px rgba(14, 14, 14, .08); }
.alan [aria-invalid="true"], .onay input[aria-invalid="true"] + span { border-color: var(--uyari); }
.alan [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(163, 70, 26, .14); }

.secili-tur { margin-bottom: 16px; padding: 14px 16px; border-radius: var(--r-orta); background: var(--zemin); }
.secili-tur p strong { display: block; font-size: 16px; font-weight: 500; line-height: 1.35; }
.secili-tur p span { display: block; margin-top: 2px; font-size: 13px; color: var(--gri); }
.bag-dugme { margin-top: 8px; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

.tarih-secim { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-gap: 8px; }
.tarih-secenek { position: relative; display: block; cursor: pointer; }
.tarih-secenek input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tarih-secenek span { display: flex; flex-direction: column; justify-content: center; min-height: 64px; padding: 10px 14px; border: 1px solid #dedede; border-radius: var(--r-orta); background: #fff; transition: border-color .2s, background-color .2s, color .2s; }
.tarih-secenek b { font-size: 15px; font-weight: 500; line-height: 1.3; }
.tarih-secenek small { margin-top: 2px; font-size: 13px; color: var(--gri); }
.tarih-secenek input:checked + span { border-color: var(--siyah); background: var(--siyah); color: #fff; }
.tarih-secenek input:checked + span small { color: rgba(255, 255, 255, .75); }
.tarih-secenek input:focus + span { box-shadow: 0 0 0 3px rgba(14, 14, 14, .12); }
.tarih-secenek-esnek { grid-column: 1 / -1; }
.tarih-yok { font-size: 14px; color: var(--gri); }

.sayac { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sayac label strong { display: block; font-size: 16px; font-weight: 500; }
.sayac label span { display: block; font-size: 13px; color: var(--gri); }
.sayac-kontrol { display: flex; align-items: center; flex: none; }
.sayac-kontrol button { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #dedede; border-radius: 50%; background: #fff; font-size: 20px; line-height: 1; transition: border-color .2s, opacity .2s; }
.sayac-kontrol button:disabled { opacity: .35; cursor: default; }
.sayac-kontrol button:not(:disabled):hover { border-color: var(--siyah); }
.sayac input { width: 56px; height: 44px; margin: 0 6px; padding: 0; border-color: transparent; text-align: center; font-size: 17px; font-weight: 500; -moz-appearance: textfield; }
.sayac input::-webkit-outer-spin-button, .sayac input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.onay { display: flex; align-items: flex-start; margin: 4px 0 16px; font-size: 14px; line-height: 1.45; color: var(--gri-koyu); cursor: pointer; }
.onay input { flex: none; width: 22px; height: 22px; margin: 0 12px 0 0; accent-color: var(--siyah); }
.onay a { text-decoration: underline; text-underline-offset: 2px; color: var(--siyah); }

/* bal kupu: ekranda yok, botlar doldurur */
.bal { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-hata { margin-bottom: 14px; padding: 12px 14px; border-radius: var(--r-orta); background: #fbefe8; color: var(--uyari); font-size: 14px; }
.dugme-gonder { height: 54px; font-size: 16px; }
.dugme-gonder[disabled] { opacity: .6; cursor: progress; }
.form-not { margin-top: 10px; font-size: 13px; text-align: center; color: var(--gri); }

.basari { padding: 32px 22px; border-radius: var(--r); background: #fff; text-align: center; outline: none; }
.basari-ikon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; background: #e7f3ec; color: var(--yesil); }
.basari-ikon .ikon { width: 28px; height: 28px; }
.basari h2 { font-size: 26px; font-weight: 500; letter-spacing: -.01em; }
.basari p { margin-top: 10px; color: var(--gri-koyu); }
.basari .dugme-sira { display: flex; flex-direction: column; align-items: stretch; margin-top: 22px; }
.basari .dugme-sira .dugme { margin: 0 0 10px; }

.ozet-kart, .konus-kart { margin-bottom: 14px; border-radius: var(--r); background: #fff; overflow: hidden; }
.ozet-gorsel { position: relative; padding-top: 56%; background: #dcdcdc; }
.ozet-gorsel img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.ozet-ic { display: flex; flex-direction: column; padding: 16px 18px 18px; }
.ozet-dest { font-size: 13px; color: var(--gri); }
.ozet-ic strong { margin: 2px 0 4px; font-size: 17px; font-weight: 500; line-height: 1.3; }
.ozet-ic span { font-size: 14px; color: var(--gri-koyu); }
.ozet-fiyat { margin-top: 6px; font-weight: 500; }
.konus-kart { padding: 20px; background: var(--siyah); color: #fff; }
.konus-kart > strong { display: block; font-size: 17px; font-weight: 500; }
.konus-kart > p { margin: 4px 0 16px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.konus-kart .dugme { margin-bottom: 10px; }
.iletisim-kart dl { margin-top: 12px; }
.iletisim-kart dt { margin-top: 12px; font-size: 12px; color: rgba(255, 255, 255, .5); }
.iletisim-kart dd { margin-top: 2px; font-size: 15px; }

/* ---------- pencereler (KVKK, fiyat icin sorun) ---------- */
body.pencere-acik { overflow: hidden; }
.pencere { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 120; display: flex; align-items: flex-end; justify-content: center; background: rgba(10, 10, 10, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); -webkit-animation: pencereSol .25s ease-out; animation: pencereSol .25s ease-out; }
.pencere-kart { position: relative; width: 100%; max-height: 92vh; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 28px 20px calc(20px + env(safe-area-inset-bottom)); border-radius: var(--r-buyuk) var(--r-buyuk) 0 0; background: var(--zemin); -webkit-animation: pencereAlttan .35s var(--gecis); animation: pencereAlttan .35s var(--gecis); }
.pencere-kart h2 { padding-right: 40px; font-size: 24px; font-weight: 500; letter-spacing: -.01em; line-height: 1.15; }
.pencere-aciklama { margin: 8px 0 18px; font-size: 15px; color: var(--gri-koyu); }
.pencere-kapat { position: absolute; top: 14px; right: 14px; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #ebebeb; }
.pencere .talep-form .alan input { background: #fff; }
.pencere .basari { background: transparent; padding: 12px 0 0; }
.pencere-uzun .yasal-metin { margin: 16px 0 20px; }
@-webkit-keyframes pencereSol { from { opacity: 0; } to { opacity: 1; } }
@keyframes pencereSol { from { opacity: 0; } to { opacity: 1; } }
@-webkit-keyframes pencereAlttan { from { -webkit-transform: translateY(40px); opacity: 0; } to { -webkit-transform: none; opacity: 1; } }
@keyframes pencereAlttan { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

.yasal-metin { font-size: 15px; line-height: 1.65; color: var(--gri-koyu); }
.yasal-metin h2, .yasal-metin h3 { margin: 22px 0 8px; font-size: 18px; font-weight: 600; color: var(--siyah); }
.yasal-metin p, .yasal-metin ul, .yasal-metin ol { margin-bottom: 12px; }
.yasal-metin ul { padding-left: 20px; list-style: disc; }
.yasal-metin ol { padding-left: 20px; list-style: decimal; }
.yasal-metin a { text-decoration: underline; }
.yasal-sayfa { padding: 28px 22px; border-radius: var(--r); background: #fff; }

@media (min-width: 700px) {
  .pencere { align-items: center; padding: 24px; }
  .pencere-kart { max-width: 460px; padding: 32px 28px 28px; border-radius: var(--r-buyuk); }
  .pencere-uzun { max-width: 680px; }
  .tarih-secim { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .basari .dugme-sira { flex-direction: row; justify-content: center; }
  .basari .dugme-sira .dugme { margin: 0 6px; }
  .yasal-sayfa { padding: 40px 44px; }
}

@media (min-width: 1000px) {
  .form-duzen { display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-column-gap: 48px; align-items: start; }
  .form-yan { position: -webkit-sticky; position: sticky; top: calc(var(--ust-y) + 24px); margin-top: 0; }
  .talep-form fieldset { padding: 26px 28px 12px; }
}
