/* tasarim-yukle.html - çoklu yükleme + sırayla 3D (2026-09-25) */
.ty-sayfa { --ty-ok: #3f7d4e; --ty-uyari: #a86a12; --ty-hata: #b3261e; }
.ty-wrap { max-width: 1320px; margin: 0 auto; padding: 18px 24px 64px; box-sizing: border-box; }
.ty-wrap *, .ty-wrap *::before, .ty-wrap *::after { box-sizing: border-box; }
.ty-etiket { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--v-gold); margin-bottom: 8px; }
.ty-bas { max-width: 760px; margin: 18px 0 26px; }
.ty-bas h1 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: -.01em; margin: 0 0 12px; color: var(--v-ink); }
.ty-bas p { color: var(--v-muted); font-size: 15px; line-height: 1.6; margin: 0; }
.ty-kart { background: var(--v-card); border: 1px solid var(--v-line); border-radius: 18px; box-shadow: var(--v-shadow); }
.ty-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--v-ink); background: var(--v-ink); color: #fff; font: 500 14px 'Poppins', sans-serif; cursor: pointer; transition: opacity .2s, background .2s; }
.ty-btn:hover { opacity: .9; }
.ty-btn:disabled { opacity: .35; cursor: not-allowed; }
.ty-btn-cizgi { background: transparent; color: var(--v-ink); }
.ty-hap { display: inline-flex; align-items: center; gap: 4px; min-height: 26px; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.ty-hap.tamam { background: #e6f0e8; color: var(--ty-ok); }
.ty-hap.uyari { background: #f8eedc; color: var(--ty-uyari); }
.ty-hap.hata { background: #fbe4e2; color: var(--ty-hata); }
.ty-hap.bilgi { background: var(--v-bg-2); color: var(--v-muted); }
#tyHazirSayisi { background: #e6f0e8; color: var(--ty-ok); }

/* Yükleme alanı */
.ty-yukle { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 22px; align-items: start; }
.ty-birak-kart { padding: 20px; }
.ty-birak { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 34px 20px; border: 2px dashed #cdbf9f; border-radius: 16px; background: #faf6ee; cursor: pointer; transition: background .2s, border-color .2s; }
.ty-birak:hover, .ty-birak:focus-visible, .ty-birak.uzerinde { background: #f3ead9; border-color: var(--v-gold); outline: none; }
.ty-birak input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ty-ikon { width: 54px; height: 54px; border-radius: 14px; background: var(--v-ink); color: #fff; display: grid; place-items: center; }
.ty-birak b { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: 21px; margin: 12px 0 6px; color: var(--v-ink); }
.ty-birak small { color: var(--v-muted); font-size: 12.5px; }
.ty-ipucu { list-style: none; margin: 16px 0 0; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--v-line); font-size: 12.5px; color: var(--v-ink-2); line-height: 1.5; }
.ty-ipucu li { margin: 3px 0; padding-left: 14px; position: relative; }
.ty-ipucu li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--v-gold); }

.ty-liste-kart { overflow: hidden; }
.ty-liste-bas { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--v-line); }
.ty-liste-bas b { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: 19px; }
.ty-bos { padding: 34px 20px; color: var(--v-muted); font-size: 14px; text-align: center; line-height: 1.6; }
.ty-satir { display: grid; grid-template-columns: 60px minmax(0, 1fr) minmax(0, 250px) 180px 28px; gap: 14px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--v-line); transition: background .2s; }
.ty-satir:last-child { border-bottom: 0; }
.ty-satir.secili { background: #faf6ee; }
.ty-kucuk-resim { width: 60px; height: 60px; padding: 0; border: 1px solid var(--v-line); border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; }
.ty-kucuk-resim img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ty-yok { display: grid; place-items: center; width: 100%; height: 100%; background: #f1ece3; color: var(--v-muted); font-weight: 700; font-size: 12px; }
.ty-dosya-ad { min-width: 0; }
.ty-dosya-ad b { display: block; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ty-dosya-ad small { color: var(--v-muted); font-size: 12px; }
.ty-cubuk { display: block; height: 4px; border-radius: 4px; background: var(--v-bg-2); margin-top: 6px; overflow: hidden; }
.ty-cubuk i { display: block; height: 100%; background: var(--v-gold); transition: width .2s; }
.ty-sec { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ty-sec select, .ty-alan select { width: 100%; min-height: 40px; border: 1px solid var(--v-line); border-radius: 10px; background: #fff; padding: 0 10px; font: 400 13px 'Poppins', sans-serif; color: var(--v-ink); }
.ty-durum { min-width: 0; }
.ty-satir-not { font-size: 11.5px; color: var(--v-muted); margin-top: 5px; line-height: 1.4; }
.ty-satir-not.hata { color: var(--ty-hata); }
.ty-satir-not.uyari { color: var(--ty-uyari); }
.ty-kaldir { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--v-line); background: #fff; color: var(--v-muted); font-size: 16px; line-height: 1; cursor: pointer; }
.ty-kaldir:hover { color: var(--ty-hata); border-color: var(--ty-hata); }
.ty-liste-alt { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 20px; background: #f7f3ec; border-top: 1px solid var(--v-line); font-size: 13px; color: var(--v-muted); }
#tyListeNot.uyari { color: var(--ty-uyari); }

/* Görüntüleyici */
.ty-gor { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 22px; margin-top: 30px; align-items: start; scroll-margin-top: 90px; }
.ty-sahne { position: relative; height: 600px; border-radius: 18px; overflow: hidden; border: 1px solid var(--v-line); background: radial-gradient(ellipse at 50% 35%, #fff 0, #efe9df 72%); }
.ty-sahne-3d { position: absolute; inset: 0 0 110px; }
.ty-sahne-3d .b3-not { bottom: 4px; }
.ty-sayac { position: absolute; left: 18px; top: 18px; z-index: 3; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 36px); background: #fff; border: 1px solid var(--v-line); border-radius: 99px; padding: 5px 14px 5px 5px; font-size: 13px; box-shadow: 0 4px 14px rgba(0,0,0,.05); }
.ty-sayac em { font-style: normal; background: var(--v-ink); color: #fff; border-radius: 99px; padding: 3px 10px; font-weight: 600; white-space: nowrap; }
.ty-sayac span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ty-ok { position: absolute; top: calc(50% - 80px); z-index: 3; width: 50px; height: 50px; border-radius: 50%; background: #fff; border: 1px solid var(--v-line); font-size: 24px; line-height: 1; color: var(--v-ink); cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.ty-ok:disabled { display: none; }
.ty-ok-sol { left: 18px; }
.ty-ok-sag { right: 18px; }
.ty-uyari3d { position: absolute; left: 50%; top: 70px; transform: translateX(-50%); z-index: 3; max-width: min(460px, 86%); padding: 10px 14px; border-radius: 12px; background: #fff8ec; border: 1px solid #efd9b0; color: var(--ty-uyari); font-size: 12.5px; text-align: center; }
.ty-serit { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; gap: 10px; justify-content: center; padding: 14px; overflow-x: auto; background: linear-gradient(transparent, rgba(245,242,237,.96) 35%); scrollbar-width: thin; }
.ty-th { position: relative; flex: 0 0 92px; width: 92px; padding: 6px; border-radius: 12px; background: #fff; border: 1px solid var(--v-line); text-align: center; cursor: pointer; font: 400 11px 'Poppins', sans-serif; color: var(--v-muted); margin-top: 6px; }
.ty-th img, .ty-th .ty-yok { width: 100%; height: 52px; object-fit: cover; border-radius: 7px; display: grid; margin-bottom: 4px; }
.ty-th em { display: block; font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ty-th.secili { border: 2px solid var(--v-ink); color: var(--v-ink); font-weight: 600; padding: 5px; }
.ty-th .n { position: absolute; left: -6px; top: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--v-ink); color: #fff; font: 700 11px/20px 'Poppins', sans-serif; }
.ty-th.uyari .n { background: var(--ty-uyari); }

.ty-panel { padding: 22px; position: sticky; top: 90px; }
.ty-panel h2 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: 24px; margin: 0 0 4px; line-height: 1.15; }
.ty-meta { color: var(--v-muted); font-size: 12.5px; margin: 0 0 14px; word-break: break-word; }
.ty-alan { display: block; margin-bottom: 12px; }
.ty-alan > span { display: block; font-size: 12px; color: var(--v-muted); margin-bottom: 5px; }
.ty-hap-grup { display: flex; flex-wrap: wrap; gap: 6px; }
.ty-hap-grup button { min-height: 34px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--v-line); background: #fff; font: 400 12.5px 'Poppins', sans-serif; color: var(--v-ink); cursor: pointer; }
.ty-hap-grup button[aria-pressed="true"] { background: var(--v-ink); color: #fff; border-color: var(--v-ink); }
.ty-kontrol { list-style: none; margin: 4px 0 14px; padding: 0; font-size: 12.5px; line-height: 1.45; }
.ty-kontrol li { position: relative; padding: 6px 0 6px 22px; border-top: 1px solid var(--v-line); color: var(--v-ink-2); }
.ty-kontrol li::before { position: absolute; left: 0; top: 6px; font-weight: 700; }
.ty-kontrol li.tamam::before { content: '✓'; color: var(--ty-ok); }
.ty-kontrol li.uyari { color: var(--ty-uyari); }
.ty-kontrol li.uyari::before { content: '!'; color: var(--ty-uyari); left: 4px; }
.ty-kontrol li.hata { color: var(--ty-hata); }
.ty-kontrol li.hata::before { content: '×'; color: var(--ty-hata); }
.ty-kontrol li.bilgi::before { content: 'i'; color: var(--v-muted); left: 4px; font-style: italic; font-family: Georgia, serif; }
.ty-fiyat-satir { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 0 12px; }
.ty-fiyat-satir span { color: var(--v-muted); font-size: 13px; }
.ty-fiyat-satir strong { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: 26px; }
.ty-panel .ty-btn { width: 100%; }
.ty-mesaj { font-size: 12.5px; margin: 8px 0 0; min-height: 0; }
.ty-mesaj.tamam { color: var(--ty-ok); }
.ty-mesaj a { color: var(--v-ink); font-weight: 600; }
.ty-ozet { margin: 16px 0 12px; border-top: 1px solid var(--v-line); padding-top: 10px; }
.ty-ozet-satir { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 4px 0; }
.ty-ozet-satir span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ty-ozet-satir b { white-space: nowrap; font-weight: 600; }
.ty-ozet-satir.uyari { color: var(--ty-uyari); }
.ty-ozet-toplam { display: flex; justify-content: space-between; border-top: 1px solid var(--v-line); margin-top: 6px; padding-top: 10px; font-size: 14px; }
.ty-kucuk { font-size: 11.5px; color: var(--v-muted); margin: 10px 0 0; }

.ty-urun-sec { margin-top: 56px; }
.ty-urun-sec h2 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: 28px; margin: 0 0 6px; }
.ty-urun-sec > p { color: var(--v-muted); margin: 0 0 16px; }

@media (max-width: 1100px) {
  .ty-yukle { grid-template-columns: 1fr; }
  .ty-gor { grid-template-columns: 1fr; }
  .ty-panel { position: static; }
}
@media (max-width: 760px) {
  .ty-wrap { padding: 12px 16px 48px; }
  .ty-satir { grid-template-columns: 52px minmax(0, 1fr) 28px; gap: 10px; padding: 12px 14px; }
  .ty-kucuk-resim { width: 52px; height: 52px; }
  .ty-sec, .ty-durum { grid-column: 1 / -1; }
  .ty-kaldir { grid-column: 3; grid-row: 1; }
  .ty-liste-alt { flex-direction: column; align-items: stretch; text-align: center; }
  .ty-liste-alt .ty-btn { width: 100%; }
  .ty-sahne { height: 470px; }
  .ty-sahne-3d { bottom: 104px; }
  .ty-ok { width: 42px; height: 42px; font-size: 20px; top: calc(50% - 70px); }
  .ty-ok-sol { left: 10px; } .ty-ok-sag { right: 10px; }
  .ty-serit { justify-content: flex-start; }
  .ty-th { flex-basis: 80px; width: 80px; }
  .ty-panel { padding: 18px; }
}
.ty-panel a.ty-btn{width:100%;text-decoration:none}.ty-panel [hidden]{display:none!important}
.ty-cubuk[hidden]{display:none}
