/* Cam Tavan Konfigüratörü — WordPress plugin styles */
.ctk-root { font-family: 'Barlow', sans-serif; color: #212528; display: flex; justify-content: center; padding: 24px 8px; background: transparent; }
.ctk-root *, .ctk-root *::before, .ctk-root *::after { box-sizing: border-box; }
.ctk-shell { width: 100%; max-width: 1220px; background: #f6f5f2; box-shadow: 0 30px 80px -30px rgba(20,24,26,.45); border: 1px solid #e4e1db; }

/* header */
.ctk-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 40px; border-bottom: 1px solid #e6e3dd; flex-wrap: wrap; }
.ctk-brand { display: flex; align-items: center; gap: 12px; }
.ctk-logo { width: 22px; height: 22px; background: #26292c; position: relative; flex-shrink: 0; }
.ctk-logo::after { content: ''; position: absolute; inset: 5px; border: 1.5px solid #f6f5f2; }
.ctk-title { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: -.3px; margin: 0; }
.ctk-sub { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 2.5px; color: #9a9488; margin-top: 2px; }
.ctk-header-right { display: flex; align-items: center; gap: 12px; }
.ctk-teklif-label { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 2px; color: #9a9488; text-align: right; }
.ctk-teklif-no { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 16px; text-align: right; }
.ctk-olcu-badge { background: #26292c; color: #f6f5f2; font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 1.5px; padding: 8px 14px; white-space: nowrap; }

/* layout */
.ctk-grid { display: grid; grid-template-columns: 1fr 580px; }
@media (max-width: 1024px) {
  .ctk-grid { grid-template-columns: 1fr; }
  .ctk-side { order: -1; border-bottom: 1px solid #e6e3dd; }
  .ctk-form { border-right: none; }
}
.ctk-form { padding: 30px 34px 40px; border-right: 1px solid #e6e3dd; display: flex; flex-direction: column; gap: 32px; }
.ctk-side { background: #f0efec; display: flex; flex-direction: column; }

/* sections */
.ctk-sec-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.ctk-sec-no { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #c07a2c; font-weight: 600; }
.ctk-sec-title { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 17px; margin: 0; white-space: nowrap; }
.ctk-sec-title small { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: #9a9488; font-weight: 400; }
.ctk-hint { margin: -8px 0 14px; font-size: 13px; color: #8a8478; }

/* inputs */
.ctk-input { border: 1px solid #d8d4cc; background: #fff; padding: 11px 13px; font-family: 'Barlow', sans-serif; font-size: 14px; color: #212528; width: 100%; border-radius: 0; }
.ctk-input:focus { outline: 2px solid #c07a2c; outline-offset: -1px; }
.ctk-input--mono { font-family: 'IBM Plex Mono', monospace; font-size: 15px; font-weight: 600; }
.ctk-input--small { padding: 9px 11px; font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 400; }
.ctk-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ctk-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ctk-grid3--tight { gap: 10px; }
.ctk-span2 { grid-column: 1 / -1; }
.ctk-field-label { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 1.5px; color: #9a9488; margin-bottom: 5px; }

/* buttons */
.ctk-btn { padding: 9px 15px; cursor: pointer; font-family: 'Barlow', sans-serif; font-size: 13px; font-weight: 600; background: #f0efec; color: #4a4a44; border: 1px solid #ddd9d2; border-radius: 0; }
.ctk-btn.is-on { background: #26292c; color: #f6f5f2; border-color: #26292c; }
.ctk-btn-row { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; align-items: center; }
.ctk-select { appearance: none; -webkit-appearance: none; border: 1px solid #d8d4cc; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236f6a60' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center; padding: 10px 34px 10px 13px; font-family: 'Barlow', sans-serif; font-size: 14px; font-weight: 600; color: #212528; border-radius: 0; cursor: pointer; min-width: 180px; }
.ctk-select:focus { outline: 2px solid #c07a2c; outline-offset: -1px; }
.ctk-swatch--sel { width: 18px; height: 18px; flex-shrink: 0; border: 1px solid #d8d4cc; }
.ctk-chip { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 0; background: none; border: 0; cursor: pointer; }
.ctk-chip-renk { display: block; width: 46px; height: 34px; border: 1px solid rgba(0,0,0,.25); }
.ctk-chip.is-on .ctk-chip-renk { outline: 2px solid #c07a2c; outline-offset: 2px; }
.ctk-chip-ad { font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: .5px; color: #8a8478; }
.ctk-chip.is-on .ctk-chip-ad { color: #26292c; font-weight: 600; }

/* yerleşim cards */
.ctk-yer-btn { text-align: center; padding: 9px 8px; cursor: pointer; font-family: 'Barlow', sans-serif; background: #fff; color: #212528; border: 1px solid #d8d4cc; }
.ctk-yer-btn.is-on { background: #26292c; color: #f6f5f2; border-color: #26292c; }
.ctk-yer-mini { position: relative; width: 42px; height: 24px; border: 1.5px solid #26292c; margin: 0 auto 6px; }
.ctk-yer-btn.is-on .ctk-yer-mini { border-color: #f6f5f2; }
.ctk-yer-mini .w-top { position: absolute; top: -1.5px; left: -1.5px; right: -1.5px; height: 5px; }
.ctk-yer-mini .w-left { position: absolute; top: -1.5px; bottom: -1.5px; left: -1.5px; width: 5px; }
.ctk-wall-fill { background: repeating-linear-gradient(45deg, #9a9488 0 3px, transparent 3px 6px); }
.ctk-yer-ad { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 12.5px; }
.ctk-yer-alt { font-size: 10.5px; color: #8a8478; margin-top: 2px; }

/* cephe rows */
.ctk-cepheler { display: flex; flex-direction: column; gap: 10px; }
.ctk-cephe-row { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #e4e1db; padding: 12px 16px; }
.ctk-cephe-ad { width: 105px; flex-shrink: 0; }
.ctk-cephe-ad b { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 14px; display: block; }
.ctk-cephe-ad span { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; color: #9a9488; }
.ctk-duvar-note { flex: 1; font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: 1.5px; color: #8a8478; background: repeating-linear-gradient(45deg, #edeae4 0 6px, #e3dfd8 6px 12px); padding: 10px 14px; }

/* donanım */
.ctk-don-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.ctk-don-label { width: 105px; flex-shrink: 0; font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 1.5px; color: #9a9488; }
.ctk-don-ozet { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: #8a8478; }

/* right panel */
.ctk-panel-sec { padding: 22px 28px 8px; }
.ctk-panel-label { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 2px; color: #6f6a60; margin-bottom: 14px; }
.ctk-panel-label-alt { letter-spacing: .4px; text-transform: none; color: #9a9488; font-size: 10.5px; }
.ctk-3d-stage { container: ctkstage / inline-size; background: linear-gradient(180deg, #f1f3f1 0%, #e6eae5 70%, #dde2db 100%); border: 1px solid #dcdcd4; height: min(72vh, 680px); min-height: 520px; display: flex; align-items: center; justify-content: center; perspective: 1400px; perspective-origin: 52% 38%; overflow: hidden; position: relative; }
.ctk-3d-etiket { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 2px; color: #6f6a60; }
.ctk-plan-stage { background: linear-gradient(180deg, #eef0ee, #e0e3df); border: 1px solid #dcdcd4; height: 148px; display: flex; align-items: center; justify-content: center; position: relative; }
/* interaktif plan — kenar tıklama alanları + sistem menüsü */
.ctk-plan-hit { cursor: pointer; }
.ctk-plan-hit:hover { background: rgba(38,41,44,.09); outline: 1px dashed #26292c; }
.ctk-plan-hit[data-locked] { cursor: not-allowed; }
.ctk-plan-hit[data-locked]:hover { background: rgba(154,148,136,.12); outline-color: #9a9488; }
.ctk-plan-pop { position: absolute; z-index: 30; background: #fff; border: 1px solid #26292c; box-shadow: 0 12px 28px rgba(20,20,20,.22); padding: 5px; min-width: 158px; }
.ctk-plan-pop-head { font-family: 'IBM Plex Mono', monospace; font-size: 9.5px; letter-spacing: 1.2px; color: #6f6a60; padding: 4px 8px 6px; border-bottom: 1px solid #eae7e1; margin-bottom: 4px; white-space: nowrap; }
.ctk-plan-pop-not { font-family: 'Barlow', sans-serif; font-size: 12px; color: #5a564e; padding: 6px 8px; white-space: nowrap; }
.ctk-plan-pop button { display: flex; width: 100%; align-items: center; gap: 8px; padding: 7px 9px; background: none; border: none; font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 1px; color: #3a3a34; cursor: pointer; text-align: left; }
.ctk-plan-pop button:hover { background: #f0efec; }
.ctk-plan-pop button.is-on { background: #26292c; color: #fff; }
.ctk-plan-pop button i { width: 11px; height: 11px; flex: none; }
.ctk-legend { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.ctk-legend span { display: flex; align-items: center; gap: 5px; font-family: 'IBM Plex Mono', monospace; font-size: 10px; color: #6f6a60; }
.ctk-legend i { width: 14px; height: 5px; display: inline-block; }

/* maliyet */
.ctk-maliyet-wrap { padding: 10px 28px 26px; display: flex; flex-direction: column; flex: 1; }
.ctk-maliyet { background: #fff; border: 1px solid #e4e1db; }
.ctk-m-sys { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 2px; color: #6f6a60; background: #f4f2ee; padding: 8px 15px; border-bottom: 1px solid #eae7e1; border-top: 1px solid #eae7e1; font-weight: 600; }
.ctk-maliyet .ctk-m-sys:first-child { border-top: none; }
.ctk-m-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 15px; border-bottom: 1px solid #f0ede8; }
.ctk-m-row:last-child { border-bottom: none; }
.ctk-m-ad { font-size: 13.5px; font-weight: 600; }
.ctk-m-detay { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; color: #9a9488; margin-top: 1px; }
.ctk-m-tutar { font-family: 'IBM Plex Mono', monospace; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.ctk-m-sub { font-size: 13px; color: #6f6a60; }
.ctk-m-subval { font-family: 'IBM Plex Mono', monospace; font-size: 13px; }
.ctk-total { background: #26292c; color: #f6f5f2; display: flex; justify-content: space-between; align-items: center; padding: 15px 17px; margin-top: 12px; }
.ctk-total-label { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 2px; color: #8f9296; }
.ctk-total-musteri { font-size: 12px; color: #b8bbbe; margin-top: 2px; }
.ctk-total-tutar { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 23px; }
.ctk-print-btn { margin-top: 12px; background: #c07a2c; color: #fff; border: none; padding: 13px; font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .5px; cursor: pointer; width: 100%; }
.ctk-print-btn:hover { background: #a96a22; }
.ctk-teklif-btn { margin-top: 12px; background: #5c6b4f; color: #fff; border: none; padding: 14px; font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .5px; cursor: pointer; width: 100%; }
.ctk-teklif-btn:hover { background: #4c593f; }
.ctk-teklif-btn:disabled { opacity: .6; cursor: default; }
.ctk-teklif-msg { margin-top: 10px; padding: 12px 14px; font-size: 13px; line-height: 1.5; }
.ctk-teklif-msg.is-ok { background: #eef2ea; border: 1px solid #5c6b4f; color: #3d4834; }
.ctk-teklif-msg.is-err { background: #f7ecec; border: 1px solid #b0563f; color: #7d3c2b; }

/* seçilen sistem fiyatları */
.ctk-sys-fiyat { margin-top: 12px; border: 1px solid #d8d4cc; background: #fbfaf8; padding: 12px 14px; }
.ctk-sys-title { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 2px; color: #8a8478; margin-bottom: 8px; }
.ctk-sys-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 4px 0; font-size: 12.5px; color: #3d4045; }
.ctk-sys-row b { font-family: 'IBM Plex Mono', monospace; font-weight: 600; font-size: 13px; white-space: nowrap; }
.ctk-sys-row span { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: 1px; }
.ctk-sys-total { border-top: 1px solid #d8d4cc; margin-top: 6px; padding-top: 9px; }
.ctk-sys-total span { font-weight: 700; color: #26292c; }
.ctk-sys-total small { font-weight: 400; color: #8a8478; letter-spacing: .5px; }
.ctk-sys-total b { font-size: 17px; color: #26292c; }

/* 3D canlı ölçü etiketleri */
.ctk-3d-tabs { position: absolute; left: 10px; top: 10px; z-index: 4; display: flex; gap: 6px; flex-wrap: wrap; max-width: calc(100% - 140px); }
.ctk-3d-tab { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: 1px; padding: 7px 13px; background: rgba(255,255,255,.94); border: 1px solid #c9c5bd; color: #6f6a60; cursor: pointer; }
.ctk-3d-tab:hover { border-color: #26292c; color: #26292c; }
.ctk-3d-tab.is-on { background: #26292c; border-color: #26292c; color: #fff; }
.ctk-3d-dim { position: absolute; transform: translate(-50%, -50%); font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; font-weight: 600; letter-spacing: .5px; padding: 2px 6px; background: rgba(255,255,255,.94); border: 1px solid currentColor; pointer-events: none; white-space: nowrap; z-index: 3; }
.ctk-3d-dim[data-dim="L1"], .ctk-3d-dim[data-dim="L2"] { color: #3f6f33; }
.ctk-3d-dim[data-dim="H1"], .ctk-3d-dim[data-dim="H2"] { color: #b0402f; }

/* gerçek ürün galerisi */
.ctk-galeri { padding: 26px 40px 32px; border-top: 1px solid #e6e3dd; background: #fbfaf8; }
.ctk-galeri-head { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 2.5px; color: #8a8478; margin-bottom: 14px; }
.ctk-galeri-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 800px) { .ctk-galeri-grid { grid-template-columns: 1fr; } }
.ctk-galeri-item { margin: 0; background: #fff; border: 1px solid #e4e1db; }
.ctk-galeri-item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ctk-galeri-item figcaption { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 1.5px; color: #6f6a60; padding: 8px 10px; text-transform: uppercase; }

/* BOM */
.ctk-bom { padding: 28px 40px 36px; border-top: 1px solid #e6e3dd; }
.ctk-print-area { display: none; background: #fff; }
.ctk-prn-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 3px solid #26292c; padding-bottom: 10px; margin-bottom: 8px; }
.ctk-prn-title { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 20px; color: #212528; }
.ctk-prn-tarih { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: #6f6a60; }
.ctk-prn-meta { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 4px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: #6f6a60; }
.ctk-musteri-not { background: #fff; border: 1px solid #e4e1db; padding: 16px 18px; font-size: 13px; color: #5a564e; line-height: 1.6; margin-top: 12px; }
.ctk-bom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .ctk-bom-grid { grid-template-columns: 1fr; } }
.ctk-bom-head { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 2px; color: #6f6a60; padding: 8px 0; border-bottom: 2px solid #26292c; }
.ctk-bom-row { display: grid; grid-template-columns: 42px 88px 1fr 104px 46px 46px; gap: 8px; padding: 6px 0; border-bottom: 1px solid #eae7e1; align-items: center; }
.ctk-bom-img { height: 32px; display: flex; align-items: center; justify-content: center; }
.ctk-bom-img img { max-width: 40px; max-height: 32px; object-fit: contain; }
.ctk-bom-olcu { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: #3a3a34; text-align: right; }
.ctk-bom-kod { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: #c07a2c; font-weight: 600; }
.ctk-bom-ad { font-size: 13px; color: #3a3a34; }
.ctk-bom-birim { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: #9a9488; text-align: right; }
.ctk-bom-miktar { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; font-weight: 600; text-align: right; }

/* footer */
.ctk-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 40px; background: #26292c; flex-wrap: wrap; }
.ctk-footer span { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: 1.5px; color: #8f9296; }

/* badges & swatches */
.ctk-badges { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid #e6e3dd; background: #fbfaf8; }
.ctk-badge { padding: 14px 10px; text-align: center; border-right: 1px solid #eeebe5; }
.ctk-badge:last-child { border-right: none; }
.ctk-badge b { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 16px; color: #212528; display: block; }
.ctk-badge span { font-family: 'IBM Plex Mono', monospace; font-size: 9.5px; letter-spacing: 1.5px; color: #9a9488; }
.ctk-swatch { width: 14px; height: 14px; display: inline-block; border: 1px solid rgba(0,0,0,.25); margin-right: 8px; vertical-align: -2px; }

/* profil sistemi */
.ctk-prof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 800px) { .ctk-prof-grid { grid-template-columns: repeat(2, 1fr); } }
.ctk-prof-card { border: 1px solid #e0ddd6; background: #fff; }
.ctk-prof-img { height: 92px; background: #f4f3f1; display: flex; align-items: center; justify-content: center; padding: 8px; border-bottom: 1px solid #eceae5; }
.ctk-prof-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ctk-prof-meta { padding: 8px 11px; }
.ctk-prof-kod { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: #c07a2c; font-weight: 600; }
.ctk-prof-ad { font-size: 12px; color: #3a3a34; margin-top: 2px; }
.ctk-prof-detail { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-top: 18px; }
@media (max-width: 800px) { .ctk-prof-detail { grid-template-columns: 1fr; } }
.ctk-prof-wide { border: 1px solid #e0ddd6; background: #fff; padding: 12px; height: 260px; display: flex; align-items: center; justify-content: center; }
.ctk-prof-wide img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ctk-prof-foto { position: relative; border: 1px solid #e0ddd6; height: 260px; overflow: hidden; }
.ctk-prof-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ctk-prof-cap { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 1.5px; color: #9a9488; margin-top: 8px; }

.ctk-btn--sm { padding: 6px 12px; font-size: 12px; }

/* ürün seçimi */
.ctk-urunler { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ctk-urun { text-align: left; padding: 12px 13px; cursor: pointer; background: #fff; color: #212528; border: 1px solid #d8d4cc; border-radius: 0; font-family: 'Barlow', sans-serif; display: flex; flex-direction: column; gap: 4px; }
.ctk-urun.is-on { background: #26292c; color: #f6f5f2; border-color: #26292c; }
.ctk-urun:disabled { opacity: .45; cursor: not-allowed; }
.ctk-urun-ad { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 13.5px; }
.ctk-urun-alt { font-size: 11.5px; opacity: .78; line-height: 1.35; }
.ctk-urun-tag { font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: 1px; color: #c07a2c; margin-top: 2px; }
.ctk-urun.is-on .ctk-urun-tag { color: #e0a563; }
.ctk-urun-sifirla { margin-top: 10px; background: none; border: none; cursor: pointer; font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 1.5px; color: #8a8478; text-decoration: underline; padding: 0; }

/* ürün seçimi — dönen 3D önizleme kartları (form içi) */
.ctk-urun-prevs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ctk-urun-prevs-note { grid-column: 1 / -1; font-family: 'IBM Plex Mono', monospace; font-size: 9.5px; letter-spacing: 1px; color: #9a9488; }
.ctk-bos-kart { cursor: pointer; background: linear-gradient(180deg, #eef1f3, #f8f8f6); border: 1px solid #d8d4cc; border-radius: 0; padding: 0 0 12px; display: flex; flex-direction: column; gap: 3px; font-family: 'Barlow', sans-serif; color: #212528; transition: border-color .15s, box-shadow .15s; }
.ctk-bos-kart:hover { border-color: #26292c; box-shadow: 0 6px 18px rgba(20, 22, 24, .16); }
.ctk-bos-kart-3d { display: block; height: 170px; position: relative; overflow: hidden; }
.ctk-bos-kart-3d canvas { display: block; margin: 0 auto; }
.ctk-bos-kart-3d.is-fail::after { content: '3D önizleme yok'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: 'IBM Plex Mono', monospace; font-size: 10px; color: #9a9488; }
.ctk-bos-kart-ad { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 13.5px; }
.ctk-bos-kart-tag { font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: 1px; color: #c07a2c; }

/* sürükle-bırak cephe sistemi çipleri */
.ctk-drag-row { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 8px; }
.ctk-drag-label { font-family: 'Barlow', sans-serif; font-size: 12.5px; color: #6f6a60; }
.ctk-3d-ctrl { position: absolute; right: 8px; top: 8px; z-index: 6; display: flex; flex-direction: column; gap: 5px; }
.ctk-3d-ctrl button { width: 36px; height: 34px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.94); border: 1px solid #c9c5bd; color: #26292c; font-family: 'Barlow', sans-serif; font-size: 17px; font-weight: 600; line-height: 1; cursor: pointer; }
.ctk-3d-ctrl button:hover { background: #26292c; border-color: #26292c; color: #fff; }
.ctk-3d-hint { position: absolute; left: 10px; bottom: 10px; z-index: 4; font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: .8px; color: #6f6a60; background: rgba(255,255,255,.85); border: 1px solid #ddd9d2; padding: 5px 9px; pointer-events: none; }
.ctk-3d-views { position: absolute; right: 52px; bottom: 8px; z-index: 6; display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; max-width: calc(100% - 70px); }
/* dar stage'de ipucu metni buton satırıyla çakışmasın — kapsayıcı sorgusu */
@container ctkstage (max-width: 730px) { .ctk-3d-hint { display: none; } }
.ctk-3d-views button { font-family: 'IBM Plex Mono', monospace; font-size: 9.5px; letter-spacing: 1px; padding: 8px 10px; background: rgba(255,255,255,.94); border: 1px solid #c9c5bd; color: #6f6a60; cursor: pointer; }
.ctk-3d-views button:hover { border-color: #26292c; color: #26292c; }
.ctk-3d-views button.is-on { background: #26292c; border-color: #26292c; color: #fff; }
.ctk-drag-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ctk-drag-chip { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #fff; border: 1px solid #d8d4cc; font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .5px; cursor: grab; user-select: none; box-shadow: 0 2px 0 rgba(20,22,24,.06); }
.ctk-drag-chip:active { cursor: grabbing; }
.ctk-drag-chip i { width: 13px; height: 13px; display: block; }
.ctk-drag-grip { color: #b5b0a6; font-size: 13px; line-height: 1; }
.ctk-drag-chip:hover { border-color: #26292c; transform: translateY(-1px); }
.ctk-drag-chip.is-armed { background: #26292c; color: #f6f5f2; border-color: #26292c; }
.ctk-drag-chip.is-armed .ctk-drag-grip { color: #8b8b8b; }
.ctk-cephe-durum { display: flex; gap: 6px; flex-wrap: wrap; }
.ctk-cephe-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; background: #f0efec; border: 1px solid #d8d4cc; font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: .8px; color: #4a463e; cursor: pointer; }
.ctk-cephe-pill i { width: 9px; height: 9px; display: inline-block; }
.ctk-cephe-pill .ctk-cephe-x { color: #b0483a; font-weight: 700; margin-left: 2px; }
.ctk-cephe-pill.is-kilit { cursor: default; opacity: .65; }
.ctk-cephe-pill:not(.is-kilit):hover { border-color: #b0483a; }
.ctk-drop-hint { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); background: #26292c; color: #f6f5f2; font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: 1px; padding: 7px 14px; z-index: 4; pointer-events: none; white-space: nowrap; box-shadow: 0 6px 18px rgba(20,22,24,.25); }
.ctk-3d-bos-t { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.ctk-3d-bos-p { font-family: 'Barlow', sans-serif; font-size: 12.5px; color: #6f6a60; line-height: 1.45; margin: 0 0 14px; }
.ctk-3d-bos-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.ctk-3d-bos-note { margin-top: 12px; font-family: 'IBM Plex Mono', monospace; font-size: 9.5px; letter-spacing: 1px; color: #9a9488; }
.ctk-3d-stage model-viewer { background: transparent; }

/* --- "nasıl çalışır?" tanıtım popup'ı + animasyonu --- */
.ctk-demo-ac { width: 20px; height: 20px; margin-left: 4px; vertical-align: middle; border: 1px solid #c9c5bd; background: #fff; color: #6f6a60; font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 700; cursor: pointer; border-radius: 50%; line-height: 1; }
.ctk-demo-ac:hover { background: #26292c; border-color: #26292c; color: #fff; }
.ctk-demo-scrim { position: fixed; inset: 0; z-index: 900; background: rgba(24,25,27,.55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.ctk-demo { position: relative; width: 430px; max-width: 100%; background: #f6f5f2; border: 1px solid #26292c; box-shadow: 0 24px 60px rgba(15,15,15,.4); padding: 20px 20px 18px; }
.ctk-demo-kapat { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border: none; background: none; color: #6f6a60; font-size: 20px; cursor: pointer; line-height: 1; }
.ctk-demo-kapat:hover { color: #26292c; }
.ctk-demo-baslik { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 2.5px; color: #6f6a60; margin-bottom: 12px; }
.ctk-demo-sahne { position: relative; height: 190px; background: linear-gradient(180deg, #eef0ee, #e0e3df); border: 1px solid #dcdcd4; overflow: hidden; }
.ctk-demo-plan { position: absolute; right: 26px; top: 26px; width: 168px; height: 100px; border: 2px solid #26292c; background: repeating-linear-gradient(90deg, rgba(38,41,44,.12) 0 2px, rgba(38,41,44,0) 2px 34px), linear-gradient(120deg, rgba(150,170,175,.18), rgba(120,145,150,.09)); }
.ctk-demo-plan-ad { position: absolute; top: -18px; left: 0; font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: 1.2px; color: #8a8478; white-space: nowrap; }
.ctk-demo-edge { position: absolute; left: -2px; right: -2px; bottom: -3px; height: 6px; border: 2px dashed #9a9488; border-left: none; border-right: none; }
.ctk-demo-edge-fill { position: absolute; left: -2px; right: -2px; bottom: -3px; height: 7px; background: #26292c; opacity: 0; }
.ctk-demo-check { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%) scale(0); width: 20px; height: 20px; border-radius: 50%; background: #2e7d43; color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; opacity: 0; }
.ctk-demo-chip { position: absolute; left: 14px; top: 16px; display: flex; align-items: center; gap: 6px; padding: 8px 11px; background: #fff; border: 1px solid #d8d4cc; font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 10.5px; letter-spacing: 1px; color: #3a3a34; box-shadow: 0 2px 6px rgba(20,20,20,.12); opacity: 0; }
.ctk-demo-chip span { color: #b5b0a6; font-size: 12px; }
.ctk-demo-chip i { width: 11px; height: 11px; display: block; }
.ctk-demo-el { position: absolute; left: 40px; top: 30px; width: 15px; height: 15px; border-radius: 50%; border: 2.5px solid #26292c; background: rgba(255,255,255,.7); box-shadow: 0 1px 4px rgba(20,20,20,.25); opacity: 0; z-index: 5; }
.ctk-demo-teklif { position: absolute; left: 14px; bottom: 14px; padding: 9px 14px; background: #26292c; color: #f6f5f2; font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 1.5px; }
.ctk-demo-fiyat { position: absolute; left: 108px; bottom: 16px; padding: 6px 10px; background: #2e7d43; color: #fff; font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 1px; opacity: 0; transform: scale(.6); }
.ctk-demo-adimlar { margin: 14px 0 14px; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 6px; font-family: 'Barlow', sans-serif; font-size: 13px; line-height: 1.45; color: #5a564e; }
.ctk-demo-adimlar b { font-family: 'Archivo', sans-serif; font-size: 11px; letter-spacing: 1px; color: #26292c; }
.ctk-demo-basla { width: 100%; padding: 12px; background: #26292c; border: 1px solid #26292c; color: #f6f5f2; font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 1.5px; cursor: pointer; }
.ctk-demo-basla:hover { background: #3a3f44; }
/* zaman çizelgesi — 9 sn döngü: ekle (sabit) → çıkar (açık) → teklif al */
.is-play .ctk-demo-c1 { animation: ctkDemoC1 9s ease-in-out infinite; }
.is-play .ctk-demo-c2 { animation: ctkDemoC2 9s ease-in-out infinite; }
.is-play .ctk-demo-edge-fill { animation: ctkDemoFill 9s linear infinite; }
.is-play .ctk-demo-check { animation: ctkDemoCheck 9s ease infinite; }
.is-play .ctk-demo-el { animation: ctkDemoEl 9s ease-in-out infinite; }
.is-play .ctk-demo-teklif { animation: ctkDemoTeklif 9s ease infinite; }
.is-play .ctk-demo-fiyat { animation: ctkDemoFiyat 9s ease infinite; }
@keyframes ctkDemoC1 { 0% { opacity: 0; transform: translate(0,0) scale(1); } 3% { opacity: 1; } 8% { transform: translate(0,0) scale(1.06); } 24% { opacity: 1; transform: translate(158px,112px) scale(1.06); } 27% { transform: translate(158px,112px) scale(1); } 31% { opacity: 0; } 100% { opacity: 0; } }
@keyframes ctkDemoC2 { 0%, 37% { opacity: 0; transform: translate(0,0) scale(1); } 41% { opacity: 1; } 45% { transform: translate(0,0) scale(1.06); } 57% { opacity: 1; transform: translate(158px,112px) scale(1.06); } 60% { transform: translate(158px,112px) scale(1); } 64% { opacity: 0; } 100% { opacity: 0; } }
@keyframes ctkDemoFill { 0%, 23% { opacity: 0; } 27%, 57% { opacity: 1; } 61%, 100% { opacity: 0; } }
@keyframes ctkDemoCheck { 0%, 24% { opacity: 0; transform: translateX(-50%) scale(0); } 29% { opacity: 1; transform: translateX(-50%) scale(1.15); } 32%, 54% { opacity: 1; transform: translateX(-50%) scale(1); } 58%, 100% { opacity: 0; transform: translateX(-50%) scale(0); } }
@keyframes ctkDemoEl { 0%, 64% { opacity: 0; transform: translate(120px,90px) scale(1); } 68% { opacity: 1; } 78% { opacity: 1; transform: translate(4px,124px) scale(1); } 81% { transform: translate(4px,124px) scale(.72); } 84% { opacity: 1; transform: translate(4px,124px) scale(1); } 88%, 100% { opacity: 0; transform: translate(4px,124px) scale(1); } }
@keyframes ctkDemoTeklif { 0%, 78% { transform: scale(1); background: #26292c; } 81% { transform: scale(.94); background: #2e7d43; } 84%, 100% { transform: scale(1); } }
@keyframes ctkDemoFiyat { 0%, 82% { opacity: 0; transform: scale(.6); } 86% { opacity: 1; transform: scale(1.08); } 89%, 97% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }

/* mobil */
@media (max-width: 640px) {
  .ctk-root { padding: 0; }
  .ctk-shell { border: none; box-shadow: none; }
  .ctk-header { padding: 14px 16px; gap: 10px; }
  .ctk-title { font-size: 17px; }
  .ctk-olcu-badge { font-size: 10.5px; padding: 6px 10px; }
  .ctk-form { padding: 20px 14px 28px; gap: 26px; }
  .ctk-panel-sec { padding: 16px 12px 6px; }
  .ctk-maliyet-wrap { padding: 8px 12px 20px; }
  .ctk-3d-stage { height: 440px; min-height: 440px; }
  .ctk-3d-hint { display: none; }
  .ctk-plan-stage { height: 130px; }
  .ctk-grid2, .ctk-grid3 { gap: 8px; }
  .ctk-grid3 { grid-template-columns: 1fr 1fr; }
  .ctk-grid3[data-r="yerlesim"] { grid-template-columns: repeat(3, 1fr); }
  .ctk-btn { padding: 11px 13px; }
  .ctk-cephe-row { flex-wrap: wrap; gap: 8px; padding: 10px 12px; }
  .ctk-urunler { grid-template-columns: 1fr; }
  .ctk-cephe-ad { width: 100%; display: flex; align-items: baseline; gap: 8px; }
  .ctk-don-label { width: 100%; }
  .ctk-badges { grid-template-columns: repeat(2, 1fr); }
  .ctk-badge { border-bottom: 1px solid #eeebe5; }
  .ctk-galeri { padding: 20px 14px 24px; }
  .ctk-bom { padding: 20px 14px 28px; }
  .ctk-bom-row { grid-template-columns: 30px 66px 1fr 88px 34px 40px; gap: 6px; }
  .ctk-bom-olcu, .ctk-bom-kod { font-size: 10px; }
  .ctk-footer { padding: 14px 16px; }
  .ctk-total-tutar { font-size: 19px; }
}

@media print {
  body * { visibility: hidden; }
  #ctk-prn, #ctk-prn * { visibility: visible; }
  #ctk-prn { display: block !important; position: absolute; left: 0; top: 0; width: 100%; border: none; }
  .ctk-prn-3d { break-inside: avoid; }
  .ctk-bom-row { break-inside: avoid; }
  .ctk-bom-img img { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Teklif PDF — 3D & izometrik görüntüler */
.ctk-prn-3d { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0 20px; }
.ctk-prn-3d figure { margin: 0; border: 1px solid #d8d4cc; background: #fff; }
.ctk-prn-3d img { width: 100%; display: block; }
.ctk-prn-3d figcaption { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 1.2px; color: #6f6a60; padding: 6px 9px; border-top: 1px solid #d8d4cc; }

/* --- Weinor tarzı eklemeler: akordeon + kilitli eğim + kamera --- */
.ctk-form .ctk-sec-head { cursor: pointer; user-select: none; }
.ctk-sec-chev { margin-left: auto; align-self: center; font-size: 10px; color: #9a9488; transition: transform .18s ease; }
.ctk-form > div.is-closed > *:not(.ctk-sec-head) { display: none !important; }
.ctk-form > div.is-closed > .ctk-sec-head { margin-bottom: 0; }
.ctk-form > div.is-closed .ctk-sec-chev { transform: rotate(-90deg); }
.ctk-lock { display: inline-block; font-size: 8px; letter-spacing: 1px; background: #eae7e1; color: #6f6a60; padding: 1px 5px; border-radius: 2px; margin-left: 3px; vertical-align: 1px; }
.ctk-input[readonly] { background: #f0efec; color: #6f6a60; pointer-events: none; }
.ctk-cam-btn { position: absolute; right: 8px; bottom: 8px; z-index: 6; width: 36px; height: 30px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.88); border: 1px solid #c9c6bf; color: #26292c; cursor: pointer; padding: 0; }
.ctk-cam-btn:hover { background: #26292c; border-color: #26292c; color: #fff; }

/* ---- SEO metni + noscript ---- */
.ctk-seo-text { max-width: 1220px; margin: 18px auto 0; padding: 20px 26px; background: #fbfaf8; border: 1px solid #e6e3dd; font: 14.5px/1.7 'Barlow', sans-serif; color: #4a4640; }
.ctk-seo-text h2, .ctk-seo-text h3 { font-family: 'Archivo', sans-serif; font-size: 17px; letter-spacing: -.2px; color: #212528; margin: 0 0 8px; }
.ctk-seo-text p { margin: 0 0 10px; }
.ctk-seo-text p:last-child { margin-bottom: 0; }
.ctk-noscript { display: block; padding: 22px; background: #fff7ea; border: 1px solid #e8d9bd; font: 14px/1.6 'Barlow', sans-serif; color: #5a4a2f; }
