/* Form sayfaları (satın al, giriş, kayıt...) için ortak bileşenler. site.css ile birlikte yüklenir. */
.btn-dark { color: var(--ink); background: var(--bg); }
.b-top { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 46px var(--m) 0; }
.b-top .toplink { position: static; }
.b-top .mark { position: static; }

/* ---------- alanlar ---------- */
.f-group { margin: 0 0 72px; padding: 0; border: 0; min-width: 0; }
.f-group legend { margin-bottom: 18px; padding: 0; color: var(--ink); font-size: var(--t2); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.f-field { min-width: 0; }
.f-field.wide { grid-column: 1 / -1; }
.f-field label { display: block; margin-bottom: 8px; color: var(--ink); font-size: 15px; font-weight: 500; }
.f-field input, .f-field textarea, .f-field select { width: 100%; padding: 15px 18px; border: 0; border-radius: var(--radius); color: var(--ink); background: var(--surface); font: inherit; font-size: var(--t1); transition: background-color .15s; }
.f-field textarea { resize: vertical; }
.f-field input::placeholder, .f-field textarea::placeholder { color: #8a8d93; }
.f-field input:hover, .f-field textarea:hover { background: var(--tile); }
.f-field input:focus, .f-field textarea:focus { background: var(--tile); outline: 3px solid var(--accent); outline-offset: 0; }
.f-field input[readonly] { color: var(--muted); cursor: not-allowed; }
.f-hint { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }
.f-error { display: block; margin-top: 6px; color: #ff7a59; font-size: 14px; }
.f-error:empty { display: none; }
.input-validation-error { outline: 3px solid #ff7a59; }
.f-alert { margin-bottom: 28px; padding: 16px 20px; border-radius: var(--radius); color: var(--accent-ink); background: var(--accent); font-weight: 500; }
.f-alert:empty, .f-alert.validation-summary-valid { display: none; }
.f-alert ul { margin: 0; padding-left: 1.1em; }
.f-note { max-width: 62ch; margin-top: 12px; color: #c9cbcf; font-size: 16px; }
.f-check { display: grid; grid-template-columns: 24px minmax(0, 66ch); gap: 14px; align-items: start; margin: 8px 0 6px; font-size: 16px; cursor: pointer; }
.f-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.f-check a { text-underline-offset: 3px; }
.f-submit { display: block; width: 100%; margin-top: 28px; padding: 18px 24px; border: 0; border-radius: 0; color: var(--accent-ink); background: var(--accent); font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; transition: background-color .15s, transform .15s var(--ease); }
.f-submit:hover { background: #ff6238; transform: translateY(-2px); }
.f-submit:active { transform: translateY(1px); }
.f-submit[disabled] { opacity: .6; cursor: progress; }

/* ---------- paket seçimi ve yöntem kutuları ---------- */
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.chip { position: relative; display: block; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span { display: block; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); font-weight: 500; transition: background-color .15s, color .15s; }
.chip small { display: block; color: var(--muted); font-size: 14px; font-weight: 400; transition: color .15s; }
.chip:hover span { background: var(--tile); }
.chip input:checked + span { color: var(--accent-ink); background: var(--accent); }
.chip input:checked + span small { color: var(--accent-ink); }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.opt { position: relative; display: block; margin-bottom: 8px; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; }
.opt-body { display: block; padding: 18px 22px; border-radius: var(--radius); background: var(--surface); transition: background-color .15s, color .15s; }
.opt-body strong { display: block; font-size: 18px; font-weight: 500; }
.opt-body small { display: block; margin-top: 4px; color: #c9cbcf; font-size: 16px; line-height: 1.5; transition: color .15s; }
.opt:hover .opt-body { background: var(--tile); }
.opt input:checked + .opt-body { color: var(--accent-ink); background: var(--accent); }
.opt input:checked + .opt-body small { color: var(--accent-ink); }
.opt input:focus-visible + .opt-body { outline: 3px solid var(--ink); outline-offset: 2px; }
.opt input:disabled + .opt-body { opacity: .4; cursor: not-allowed; }

/* ---------- satın al düzeni ---------- */
.pc { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 20px; align-items: start; padding: 110px var(--m) 160px; }
.pc-main { grid-column: 1 / span 7; }
.pc-main h1 { max-width: 14ch; margin-bottom: 22px; font-size: var(--t3); line-height: 1.02; letter-spacing: -.035em; }
.pc-main .mask { display: block; }
.pc-lead { max-width: 54ch; margin-bottom: 48px; }
.pc-account { margin-bottom: 40px; padding: 16px 20px; border-radius: var(--radius); background: var(--surface); }
.pc-account a { margin-left: 8px; text-underline-offset: 3px; }
.pc-side { grid-column: 9 / span 4; position: sticky; top: 40px; padding: 30px; border-radius: var(--radius); background: var(--surface); }
.pc-side-name { font-size: var(--t2); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.pc-price { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 10px; }
.pc-price strong { font-size: clamp(48px, 5vw, 76px); font-weight: 500; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.pc-price span { color: var(--muted); font-size: 18px; }
.pc-cap { margin-bottom: 16px; font-size: 18px; }
.pc-side ul { margin: 0; padding-left: 1.1em; }
.pc-side li { margin-bottom: 6px; }
.pc-side li::marker { color: var(--accent); }

/* ---------- tamamlandı / sonuç ---------- */
.f-done { display: grid; align-content: center; gap: 22px; max-width: 760px; min-height: 70svh; padding: 100px var(--m) 140px; }
.f-done h1 { font-size: var(--t3); line-height: 1.02; letter-spacing: -.035em; }
.f-done .mask { display: block; }
.f-done p { max-width: 54ch; }
.order { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 48px; margin: 10px 0 0; padding: 22px 26px; border-radius: var(--radius); background: var(--surface); }
.order dt { color: var(--muted); font-size: 15px; }
.order dd { margin: 2px 0 0; font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; }
.f-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.btn-line { color: var(--ink); background: var(--surface); }
.btn-line:hover { background: var(--tile); }

@media (max-width: 900px) {
  .pc { grid-template-columns: 1fr; padding: 70px var(--m) 100px; }
  .pc-main, .pc-side { grid-column: 1; }
  .pc-main h1 { max-width: none; font-size: 9.4vw; }
  .pc-side { position: static; padding: 22px; }
  .pc-price strong { font-size: 18vw; }
  .f-grid { grid-template-columns: 1fr; }
  .chips { grid-template-columns: 1fr 1fr; }
  .f-submit { padding: 20px 24px; }
  .order { grid-template-columns: 1fr; }
  .f-done { min-height: 60svh; padding: 70px var(--m) 100px; }
  .f-done h1 { font-size: 9.4vw; }
}

.pc-pic { margin: 0 0 22px; }
.pc-pic img { width: 100%; height: auto; filter: grayscale(1) contrast(1.05); }
.pc-pic figcaption { margin-top: 8px; color: #c9cbcf; font-size: 14px; }

.pc-trust { padding: 0 var(--m) 160px; }
.pc-trust h2 { margin-bottom: 32px; font-size: var(--t2); }
.pc-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.pc-trust figure { margin: 0; }
.pc-trust img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.pc-trust figcaption { max-width: 46ch; margin-top: 14px; color: #c9cbcf; font-size: 16px; line-height: 1.6; }
.pc-trust figcaption strong { color: var(--ink); font-weight: 500; }
@media (max-width: 900px) {
  .pc-trust { padding-bottom: 100px; }
  .pc-trust-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (min-width: 901px) and (max-width: 1200px) { .pc-trust-grid { grid-template-columns: 1fr 1fr; } }
.pc-side-name { position: relative; z-index: 2; }
.pc-price { position: relative; z-index: 1; pointer-events: none; }

/* ---------- giriş / kayıt düzeni: solda form, sağda fotoğraf mozaiği ---------- */
.auth { display: grid; grid-template-columns: 1fr 1.25fr; min-height: 100svh; }
.auth-main { display: flex; flex-direction: column; min-width: 0; }
.auth-main .b-top { padding-bottom: 0; }
.auth-box { width: 100%; max-width: 600px; margin: 0; padding: clamp(40px, 10svh, 110px) var(--m) 100px; }
.auth-box h1 { margin-bottom: 20px; font-size: clamp(30px, 3.1vw, 46px); line-height: 1.06; letter-spacing: -.03em; }
.auth-box .mask { display: block; }
.auth-lead { max-width: 46ch; margin-bottom: 40px; }
.auth-pics { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 3fr 1fr; gap: 8px; margin: var(--m) var(--m) var(--m) 0; min-height: 0; }
.auth-pics img { width: 100%; height: 100%; min-height: 0; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.f-stack .f-field { margin-bottom: 22px; }
.f-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 4px 0 6px; font-size: 16px; }
.f-row label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.f-row input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--accent); }
.f-info { margin-bottom: 28px; padding: 16px 20px; border-radius: var(--radius); background: var(--tile); }
.f-foot { margin-top: 32px; font-size: 16px; line-height: 1.9; }
.f-foot a { color: var(--ink); text-underline-offset: 4px; }
.f-foot a:hover { color: var(--accent); }
.auth-done-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; min-height: 0; }
  .auth-pics { display: none; }
  .auth-box { padding: 56px var(--m) 80px; }
  .auth-box h1 { font-size: 7.4vw; }
}
.auth-pics img:first-child { grid-column: 1 / -1; }

.auth-pics img { animation: picIn .9s var(--ease) both; }
.auth-pics img:nth-child(2) { animation-delay: .12s; }
.auth-pics img:nth-child(3) { animation-delay: .24s; }
.auth-pics img:nth-child(4) { animation-delay: .36s; }
@keyframes picIn { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .auth-pics img { animation: none; } }
.b-top > * { animation: fadeUp .7s var(--ease) .1s both; }
@media (prefers-reduced-motion: reduce) { .b-top > * { animation: none; } }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ortak üst menü yüksekliği ve fotoğraflar: üzerine gelince renkli */
.auth { min-height: calc(100svh - var(--head-h)); }
.a-head { min-height: calc(100svh - var(--head-h)); }
.auth-pics img, .pc-trust img { transition: filter .5s ease; }
.auth-pics img:hover, .pc-trust img:hover { filter: grayscale(0) contrast(1); }
@media (max-width: 900px) { .auth { min-height: 0; } .a-head { min-height: 0; } }
