/* ==========================================================================
   ÖLÇÜ 3D tanıtım sayfası (urunler/3d-mobilya-tasarim.php) — o3t-
   Taban: css/gorev-tanitim.css (.gv* belirteçleri). 04.12.2026
   ========================================================================== */

/* Çıkartma ikonu (config/tanitim_cizim.php → ozkIkonCizim; kaynak: css/sektor-tanitim.css) */
.o3t .ozk-ikon-cizim {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
    background: var(--zemin, #e8e2f9); border: .045em solid #141414; border-radius: .2em; color: #141414;
    font-size: .46em; box-shadow: .04em .05em 0 #141414;
}
.o3t .gv-float .ozk-ikon-cizim { font-size: 34px; border-width: 2.5px; border-radius: 16px; box-shadow: 3px 3px 0 #141414; }

/* Ortak: ekran görüntüsü çerçevesi + "Tam boyut" hapı */
.o3t-cerceve {
    background: #161616; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden;
    box-shadow: 0 1px 2px rgba(20,20,20,.08), 0 16px 40px -16px rgba(20,20,20,.35);
}
.o3t-cerceve picture { display: block; width: 100%; height: 100%; }
.o3t-cerceve img { display: block; width: 100%; height: 100%; object-fit: cover; }
.o3t-tam {
    display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--ink-2);
    text-decoration: none !important; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 13px;
    white-space: nowrap; background: #fff;
}
.o3t-tam:hover { color: var(--ink); border-color: var(--ink); }

/* --------------------------------------------------------------------------
   Kahramanın altındaki ürün görüntüsü
   -------------------------------------------------------------------------- */
.o3t-vitrin .gv-in { padding: 40px 40px 56px; }
.o3t-pencere { margin: 0; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px -40px rgba(20,20,20,.35); }
.o3t-pencere .gv-win-bar { background: #fafaf9; }
.o3t-gorsel { background: #161616; aspect-ratio: 16 / 10; overflow: hidden; }
.o3t-gorsel picture { display: block; width: 100%; height: 100%; }
.o3t-gorsel img { display: block; width: 100%; height: 100%; object-fit: cover; }
.o3t-alt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: start; padding: 18px 22px; border-top: 1px solid var(--line); }
.o3t-alt b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.005em; margin-bottom: 4px; }
.o3t-alt p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; max-width: 720px; }

/* --------------------------------------------------------------------------
   Akordeon sahnesi: ekran görüntüsü
   -------------------------------------------------------------------------- */
.o3t .o3t-sahne { padding: 44px 32px; }
.o3t .gv-scene.o3t-kare { max-width: none; margin: 0; position: relative; }
.o3t-kare .o3t-tam { position: absolute; right: 12px; bottom: 12px; padding: 5px 11px; font-size: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.o3t-kare.is-on .o3t-cerceve img { animation: o3tGir .35s ease; }
@keyframes o3tGir { from { opacity: .35; } to { opacity: 1; } }

/* --------------------------------------------------------------------------
   DENEYİN: gardırop → kesim listesi
   -------------------------------------------------------------------------- */
.o3t-app {
    margin: 0 40px 64px; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; background: #fff;
    box-shadow: 0 30px 70px -40px rgba(20,20,20,.3);
}
.o3t-app .gv-win-bar { background: #fafaf9; }
.o3t-app-body {
    display: grid; grid-template-columns: 250px minmax(0, 1fr);
    grid-template-areas: "ayar cizim" "liste liste";
}
.o3t-ayar { grid-area: ayar; padding: 20px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.o3t-alan { display: flex; flex-direction: column; gap: 8px; }
.o3t-alan > span { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 500; color: var(--ink); }
.o3t-alan output { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.o3t-alan input[type="range"] { width: 100%; accent-color: var(--ink); margin: 0; height: 18px; cursor: pointer; }
.o3t-sayac { flex-direction: row; align-items: center; justify-content: space-between; }
.o3t-sayac > div { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.o3t-sayac button {
    width: 32px; height: 30px; border: 0; background: #fff; font-size: 16px; line-height: 1; color: var(--ink); cursor: pointer;
}
.o3t-sayac button:hover:not(:disabled) { background: var(--soft); }
.o3t-sayac button:disabled { color: var(--ink-3); cursor: default; }
.o3t-sayac b { min-width: 28px; text-align: center; font-family: var(--mono); font-size: 13px; font-weight: 500; }
.o3t-seg { align-self: flex-start; }
.o3t-ic { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.o3t-ic input { accent-color: var(--ink); width: 15px; height: 15px; margin: 0; }
.o3t-ic.is-pasif { opacity: .45; pointer-events: none; }
.o3t-alan button:focus-visible, .o3t-alan input:focus-visible, .o3t-ic input:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }

.o3t-cizim {
    grid-area: cizim; display: flex; align-items: center; justify-content: center; padding: 18px 24px; min-height: 340px;
    background-color: var(--cream);
    background-image: linear-gradient(rgba(20,20,20,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(20,20,20,.045) 1px, transparent 1px);
    background-size: 20px 20px;
}
.o3t-cizim svg { width: 100%; max-width: 560px; height: auto; display: block; overflow: visible; }
.o3t-cizim text { font-family: var(--mono); font-size: 10px; fill: var(--ink-2); }

.o3t-liste {
    grid-area: liste; border-top: 1px solid var(--line); padding: 20px;
    display: grid; grid-template-columns: minmax(0, 1fr) 250px; grid-template-areas: "bas bas" "tablo yan"; gap: 14px 20px;
}
.o3t-liste-bas { grid-area: bas; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.o3t-liste-bas b { font-size: 15px; font-weight: 600; }
.o3t-liste-bas span { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.o3t-tablo-kap { grid-area: tablo; overflow-x: auto; min-width: 0; }
.o3t-tablo { width: 100%; border-collapse: collapse; font-size: 13px; }
.o3t-tablo th {
    font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
    color: var(--ink-3); text-align: left; padding: 0 8px 8px; border-bottom: 1px solid var(--line-2); white-space: nowrap;
}
.o3t-tablo td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink); }
.o3t-tablo tr:last-child td { border-bottom: 0; }
.o3t-tablo .sag { text-align: right; }
.o3t-tablo td.kod, .o3t-tablo td.sag, .o3t-tablo td.o3t-bant { font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.o3t-tablo td.kod { color: var(--ink-3); }
.o3t-tablo td small { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); margin-top: 2px; white-space: normal; }
.o3t-tablo td.o3t-bant { color: var(--ink-2); }
.o3t-tablo tr.is-yeni td { animation: o3tSatir .5s ease; }
@keyframes o3tSatir { from { background: #fbf0e8; } to { background: transparent; } }
.o3t-yan { grid-area: yan; display: flex; flex-direction: column; gap: 12px; }
.o3t-kutu { background: var(--soft); border-radius: 12px; padding: 14px; }
.o3t-kutu h4 { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 8px; }
.o3t-kutu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.o3t-kutu li { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; line-height: 1.35; }
.o3t-kutu li b { font-family: var(--mono); font-size: 12px; font-weight: 500; white-space: nowrap; }
.o3t-dipnot { padding: 14px 20px; font-size: 12.5px; line-height: 1.55; color: var(--ink-3); border-top: 1px solid var(--line); background: #fafaf9; }

/* --------------------------------------------------------------------------
   3 adım görselleri
   -------------------------------------------------------------------------- */
.o3t-mini { display: grid; gap: 0; }
.o3t-mini-sat { display: flex; justify-content: space-between; padding: 8px 4px; border-bottom: 1px solid var(--line); font-size: 12px; }
.o3t-mini-sat span { color: var(--ink-2); }
.o3t-mini-sat b { font-family: var(--mono); font-weight: 500; }
.o3t-mini-cip { display: flex; flex-wrap: wrap; gap: 5px; padding: 10px 2px 2px; }
.o3t-mini-cip i { font-style: normal; font-size: 11px; background: var(--soft); border-radius: 6px; padding: 3px 7px; color: var(--ink-2); }
.o3t-dosya { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 4px; border-bottom: 1px solid var(--line); font-size: 12px; }
.o3t-dosya:last-child { border-bottom: 0; }
.o3t-dosya i { color: var(--ink); font-size: 12px; text-align: center; }
.o3t-dosya b { font-family: var(--mono); font-weight: 500; font-size: 10.5px; color: var(--ink-2); }
.o3t-adim-gorsel { padding: 24px; }
.o3t-adim-gorsel .o3t-cerceve { width: 100%; max-width: 320px; }

/* --------------------------------------------------------------------------
   Sektör kartları (bağlantı)
   -------------------------------------------------------------------------- */
.o3t-sektorler a.gv-det { text-decoration: none !important; color: inherit; transition: background .15s ease; }
.o3t-sektorler a.gv-det:hover { background: #fafaf9; }
.o3t-git { display: inline-block; margin-top: 10px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.o3t-sektorler a.gv-det:hover .o3t-git { color: var(--ink); }

/* Karşılaştırma: iki sütun */
.o3t-cmp td:first-child { width: 30%; }

/* Siyah bant bağlantıları */
.o3t .gv-dark-list a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); }
.o3t .gv-dark-list a:hover { text-decoration-color: #fff; }

/* --------------------------------------------------------------------------
   Duyarlı
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
    .o3t-app-body { grid-template-columns: 1fr; grid-template-areas: "ayar" "cizim" "liste"; }
    .o3t-ayar { border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
    .o3t-liste { grid-template-columns: 1fr; grid-template-areas: "bas" "tablo" "yan"; }
    .o3t-yan { flex-direction: row; }
    .o3t-yan .o3t-kutu { flex: 1; }
}
@media (max-width: 760px) {
    .o3t-vitrin .gv-in { padding: 24px 16px 40px; }
    .o3t-pencere { border-radius: 12px; }
    .o3t-pencere .gv-win-bar span, .o3t-app .gv-win-bar span { display: none; }
    .o3t-alt { grid-template-columns: 1fr; gap: 10px; padding: 16px; }
    .o3t-alt .o3t-tam { justify-self: start; }
    .o3t .o3t-sahne { padding: 24px 16px; min-height: 0; }
    .o3t-kare .o3t-tam { right: 8px; bottom: 8px; }
    .o3t-app { margin: 0 16px 40px; border-radius: 12px; }
    /* telefonda önce çizim: kaydırıcı oynarken sonuç ekranda kalsın */
    .o3t-app-body { grid-template-areas: "cizim" "ayar" "liste"; }
    .o3t-ayar { grid-template-columns: 1fr 1fr; gap: 14px 16px; padding: 16px; border-bottom: 0; border-top: 1px solid var(--line); }
    .o3t-ayar > label.o3t-alan, .o3t-ayar > .o3t-alan:not(.o3t-sayac), .o3t-ic { grid-column: 1 / -1; }
    .o3t-ayar > .o3t-alan:not(.o3t-sayac):not(label) { flex-direction: row; align-items: center; justify-content: space-between; }
    .o3t-alan { gap: 6px; }
    .o3t-cizim { min-height: 0; padding: 12px 8px; }
    .o3t-liste { padding: 16px; }
    .o3t-tablo .o3t-kal, .o3t-tablo .o3t-bant { display: none; }
    .o3t-yan { flex-direction: column; }
    .o3t-dipnot { padding: 12px 16px; }
    .o3t-adim-gorsel { padding: 20px 16px; }
    .o3t-cmp td.us { order: 1 !important; padding-bottom: 10px !important; }
    .o3t-cmp td:nth-child(2) { order: 2; padding-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .o3t-kare.is-on .o3t-cerceve img, .o3t-tablo tr.is-yeni td { animation: none; }
}
