/* Evimde Dene */
.evd { font-family: var(--f-body); color: var(--c-ink); }
.evd-work { display: none; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: start; }
.evd.has-photo .evd-work { display: grid; }
.evd.has-photo .evd-start { display: none; }
.evd-start { max-width: 640px; margin: 0 auto; text-align: center; padding: 10px 0 30px; }
.evd-steps { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; text-align: left; }
.evd-steps li { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--c-line); border-radius: 6px; padding: 12px 16px; }
.evd-steps b { flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--c-ink); color: #fff; display: grid; place-items: center; font-family: var(--f-display); }
.evd-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.evd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 4px; border: 1.5px solid var(--c-ink); background: #fff; color: var(--c-ink); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.evd-btn.primary { background: var(--c-ink); color: #fff; }
.evd-btn.ghost { border-color: var(--c-line); }
.evd-btn.small { padding: 9px 14px; font-size: 13px; }
.evd-btn:focus-visible, .evd-h:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.evd-privacy { margin: 14px 0 0; font-size: 13px; color: var(--c-ink-soft); }
.evd-stage { position: relative; display: flex; justify-content: center; background: #F3F0EA; border-radius: 4px; touch-action: none; -webkit-user-select: none; user-select: none; min-height: 520px; }
.evd-stage canvas { display: block; max-width: 100%; }
.evd-h { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 0; background: none; padding: 0; cursor: grab; display: none; touch-action: none; }
.evd-h::after { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: #fff; border: 3px solid var(--c-accent); box-shadow: 0 2px 8px rgba(0,0,0,.45); }
.evd.editing .evd-h { display: block; }
.evd-panel { background: #fff; border: 1px solid var(--c-line); border-radius: 6px; padding: 18px; }
.evd-hint { margin: 0 0 12px; font-size: 13.5px; background: #F3F0EA; padding: 10px 12px; border-radius: 4px; }
.evd:not(.editing) .evd-hint { display: none; }
.evd-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.evd-lbl { display: block; font-size: 13px; color: var(--c-ink-soft); margin: 12px 0 6px; }
.evd-lbl b { color: var(--c-ink); }
.evd-select { width: 100%; padding: 10px 12px; font: inherit; border: 1px solid var(--c-line); border-radius: 4px; background: #fff; color: var(--c-ink); }
.evd-sw, .evd-prof { display: flex; flex-wrap: wrap; gap: 6px; }
.evd-sw button, .evd-prof button { width: 34px; height: 34px; padding: 0; border: 1px solid var(--c-line); border-radius: 3px; overflow: hidden; cursor: pointer; background: #fff; }
.evd-sw img { width: 100%; height: 100%; object-fit: cover; display: block; }
.evd-prof span { display: block; width: 100%; height: 100%; }
.evd-sw button.cur, .evd-prof button.cur { outline: 2px solid var(--c-ink); outline-offset: 2px; }
.evd-range { width: 100%; accent-color: var(--c-ink); }
.evd-actions { margin-top: 18px; }
.evd-actions .k-btn { display: flex; text-decoration: none; margin-bottom: 10px; background: var(--c-ink); color: #fff; border-radius: 3px; padding: 13px; font-weight: 600; justify-content: center; }
.evd-note { font-size: 11.5px; color: var(--c-ink-soft); margin: 10px 0 0; }
@media (max-width: 900px) {
  .evd-work { grid-template-columns: 1fr; }
}
.evd-select{box-sizing:border-box;max-width:100%}
.evd-hint2 { margin: 0 0 12px; font-size: 13px; color: var(--c-ink-soft); }
.evd.editing .evd-hint2 { display: none; }
.evd-wins-row { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.evd-wins { display: flex; gap: 6px; flex-wrap: wrap; }
.evd-wins button { padding: 8px 12px; border: 1px solid var(--c-line); border-radius: 999px; background: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.evd-wins button.cur { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.evd:not(.multi) .evd-wins { display: none; }
.evd-btn[disabled] { opacity: .45; cursor: not-allowed; }
.evd-check { display: flex; gap: 8px; align-items: center; font-size: 13px; margin: 12px 0 0; }
.evd-check input { accent-color: var(--c-ink); width: 16px; height: 16px; }
.evd-stage canvas { cursor: ns-resize; }
.evd-range{box-sizing:border-box;max-width:100%;display:block}
/* Sadeleştirilmiş panel ve yardımcılar */
.evd:not(.editing) .evd-editrow { display: none; }
.evd-adv { margin-top: 16px; border-top: 1px solid var(--c-line); padding-top: 10px; }
.evd-adv summary { cursor: pointer; font-weight: 700; font-size: 14px; padding: 6px 0; list-style: none; display: flex; justify-content: space-between; }
.evd-adv summary::after { content: "+"; font-size: 18px; line-height: 1; }
.evd-adv[open] summary::after { content: "−"; }
.evd-adv > .evd-row { margin-top: 8px; }
.evd-coach { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); z-index: 4; pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 8px; background: rgba(59,53,47,.78); color: #fff; padding: 14px 18px; border-radius: 12px; font-size: 14px; font-weight: 600; text-align: center; }
.evd-coach[hidden] { display: none; }
.evd-hand { width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 8px rgba(255,255,255,.25); }
@media (prefers-reduced-motion: no-preference) { .evd-hand { animation: evdHand 1.6s ease-in-out infinite; } }
@keyframes evdHand { 0%,100% { transform: translateY(-14px); } 50% { transform: translateY(14px); } }
.evd-loupe { position: absolute; z-index: 6; width: 120px; height: 120px; border-radius: 50%; box-shadow: 0 6px 20px rgba(0,0,0,.35); pointer-events: none; }
.evd-loupe[hidden] { display: none; }
.evd-toast { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 5; background: rgba(59,53,47,.9); color: #fff; font-size: 13px; padding: 10px 12px; border-radius: 8px; text-align: center; }
.evd-toast[hidden] { display: none; }
@media (max-width: 900px) {
  .evd-sw, .evd-prof { flex-wrap: nowrap; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .evd-sw button, .evd-prof button { flex: 0 0 40px; width: 40px; height: 40px; }
}
.evd-work > *, .evd-panel { min-width: 0; }
.evd-actions .k-btn { box-sizing: border-box; width: 100%; }
@media (max-width: 900px) { .evd.has-photo .evd-stage { position: relative; } }
/* Ürün seçici (perde / sineklik) */
.evd-mode { display: inline-flex; background: #F3F0EA; border-radius: 999px; padding: 4px; margin: 0 auto 18px; }
.evd-mode button { border: 0; background: transparent; font: inherit; font-weight: 800; font-size: 15px; padding: 10px 18px; border-radius: 999px; cursor: pointer; color: var(--c-ink); }
.evd-mode button.on { background: var(--c-ink); color: #fff; }
.evd-mode.small { display: flex; margin: 0 0 14px; } .evd-mode.small button { flex: 1; font-size: 14px; padding: 9px 10px; }
.evd-tul { display: flex; gap: 8px; flex-wrap: wrap; }
.evd-tul button { border: 2px solid var(--c-line); background: #fff; border-radius: 999px; padding: 9px 14px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.evd-tul button.on { border-color: var(--c-ink); background: #F3F0EA; }
.evd-btn.live { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
/* Canlı kamera */
.evd-live { position: fixed; inset: 0; z-index: 200; background: #000; }
.evd-live[hidden] { display: none; }
.evd-live video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.evd-guide { position: absolute; left: 12%; right: 12%; top: 16%; bottom: 26%; border: 3px dashed rgba(255,255,255,.95); border-radius: 6px; box-shadow: 0 0 0 9999px rgba(0,0,0,.35); overflow: hidden; }
.evd-guide-blind { position: absolute; left: 0; top: 0; width: 100%; height: 60%; opacity: .78; background-size: auto, 120px; border-bottom: 6px solid var(--c-surface); border-top: 6px solid var(--c-surface); box-sizing: border-box; }
.evd.sin .evd-guide-blind { border-top: 0; border-bottom: 0; border-right: 6px solid var(--c-surface); }
.evd-live-hint { position: absolute; left: 0; right: 0; top: calc(env(safe-area-inset-top, 0px) + 14px); text-align: center; color: #fff; font-weight: 700; font-size: 16px; text-shadow: 0 1px 4px rgba(0,0,0,.6); margin: 0; }
.evd-live-bar { position: absolute; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + 20px); display: flex; justify-content: space-around; align-items: center; }
.evd-shutter { width: 76px; height: 76px; border-radius: 50%; border: 5px solid #fff; background: transparent; display: grid; place-items: center; cursor: pointer; }
.evd-shutter i { width: 58px; height: 58px; border-radius: 50%; background: #fff; display: block; }
.evd-live-x { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.2); color: #fff; font-size: 30px; cursor: pointer; }
.evd-live-bar span { width: 48px; }
html.evd-live-on, html.evd-live-on body { overflow: hidden; }
/* Perde seçili değilken fotoğraf üzerinde sayfa kaydırılabilir; seçiliyken perde hareket eder */
.evd.has-photo:not(.editing):not(.armed) .evd-stage { touch-action: pan-y; }
.evd.armed .evd-stage, .evd.editing .evd-stage { touch-action: none; }
.evd:not(.editing):not(.armed) .evd-stage canvas { cursor: pointer; }
.evd-selhint { margin: 0 0 12px; font-size: 13.5px; font-weight: 600; color: #24533D; background: #EAF2EC; border: 1px solid #C9DDD0; padding: 9px 12px; border-radius: 8px; }
.evd.armed .evd-selhint { color: #7a4b00; background: #fff4d6; border-color: #f0d890; }
.evd.editing .evd-selhint { display: none; }
/* Fotoğraf üzerindeki araçlar (sade, orta yaşa uygun) */
.evd-tip { position: absolute; top: 10px; left: 10px; z-index: 5; max-width: calc(100% - 160px); background: rgba(59,53,47,.78); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.35; padding: 7px 12px; border-radius: 14px; pointer-events: none; }
.evd-tip.on { background: rgba(138,106,67,.9); }
.evd-fab { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 9px 14px; background: #fff; color: var(--c-ink); font: inherit; font-weight: 800; font-size: 13.5px; box-shadow: 0 3px 12px rgba(0,0,0,.25); cursor: pointer; white-space: nowrap; }
.evd-fab.new { position: absolute; top: 10px; right: 10px; z-index: 5; }
.evd-fabs { position: absolute; left: 10px; bottom: 10px; z-index: 5; display: flex; gap: 8px; flex-wrap: wrap; }
.evd-fab.auto { background: var(--c-ink); color: #fff; }
.evd-fab.done { background: var(--c-success); color: #fff; }
.evd:not(.editing) #evdAuto, .evd:not(.editing) #evdEdit { display: none; }
.evd.editing #evdEditOn { display: none; }
.evd-h.lock::after { border-color: var(--c-success); background: #EAF2EC; box-shadow: 0 0 0 5px rgba(47,107,79,.35), 0 2px 8px rgba(0,0,0,.45); }
@media (max-width: 600px) {
  .evd-tip { font-size: 11.5px; padding: 5px 9px; max-width: calc(100% - 120px); top: 6px; left: 6px; }
  .evd-fab { padding: 7px 10px; font-size: 12px; }
  .evd-fab.new { top: 6px; right: 6px; }
  .evd-fabs { left: 6px; bottom: 6px; gap: 6px; }
}
/* Düzen: ipucu üstte ortada, "Yeni fotoğraf" sağ altta, ayar butonları sol altta */
.evd-tip { left: 50%; transform: translateX(-50%); max-width: calc(100% - 20px); text-align: center; }
.evd-fab.new { top: auto; bottom: 10px; right: 10px; }
.evd:not(.armed):not(.editing) #evdEditOn { display: none; }        /* yalnızca perde seçiliyken görünür */
.evd-toast { bottom: auto; top: 48px; }
@media (max-width: 600px) {
  .evd-tip { max-width: calc(100% - 12px); }
  .evd-fab.new { bottom: 6px; right: 6px; padding: 7px 9px; }
  .evd-fab.new .tx { display: none; }
  .evd-toast { top: 40px; font-size: 12px; padding: 7px 10px; }
}
.evd-tip { transition: opacity .5s ease; }
.evd-tip.fade { opacity: 0; }
/* Sade ipucu (kırmızı değil), yardım butonu ve kutusu */
.evd-tip, .evd-tip.on { background: rgba(59,53,47,.72); font-weight: 600; font-size: 12.5px; padding: 6px 12px; border-radius: 999px; top: auto; bottom: 56px; white-space: normal; }
.evd-fab.help { position: absolute; top: 10px; right: 10px; z-index: 5; width: 36px; height: 36px; padding: 0; justify-content: center; font-size: 18px; }
.evd-helpbox { position: absolute; inset: 0; z-index: 8; background: rgba(20,19,17,.55); display: flex; align-items: center; justify-content: center; padding: 10px; }
.evd-helpbox[hidden] { display: none; }
.evd-help-in { position: relative; background: #fff; border-radius: 12px; padding: 16px 16px 12px; max-width: 360px; width: 100%; font-size: 14px; line-height: 1.45; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.evd-help-in > b { font-size: 16px; display: block; margin-bottom: 8px; }
.evd-help-in ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.evd-help-in li { display: flex; gap: 10px; align-items: flex-start; }
.evd-help-in li span { flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--c-ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.evd-help-x { position: absolute; top: 6px; right: 8px; border: 0; background: none; font-size: 22px; cursor: pointer; line-height: 1; }
@media (max-width: 600px) { .evd-fab.help { top: 6px; right: 6px; width: 32px; height: 32px; font-size: 16px; } .evd-tip, .evd-tip.on { bottom: 46px; font-size: 11.5px; } .evd-help-in { font-size: 13px; padding: 12px; } }
/* "Bu kumaşla yapılandır" siparişe götürür: satın alma rengi (yeşil) */
.evd-actions .k-btn { background: var(--c-success); border-radius: 8px; font-weight: 800; font-size: 16px; padding: 15px; }
.evd-actions .k-btn:hover { filter: brightness(.96); }
/* Telefonda fotoğraf kenardan kenara: daha büyük çalışma alanı */
@media (max-width: 600px) {
  .evd.has-photo .evd-stage { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); border-radius: 0; }
}
/* Kumaş koleksiyonu: tam ekran açılan liste yerine yana kayan görselli kartlar */
.evd-colchips { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.evd-colchips button { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 62px; padding: 4px; border: 2px solid transparent; border-radius: 8px; background: #F8F6F2; cursor: pointer; font: inherit; font-size: 11.5px; scroll-snap-align: start; }
.evd-colchips img { width: 100%; height: 34px; object-fit: cover; border-radius: 6px; display: block; }
.evd-colchips span { line-height: 1.2; text-align: center; }
.evd-colchips button.cur { border-color: var(--c-ink); background: #fff; font-weight: 800; }
@media (min-width: 901px) { .evd-colchips { flex-wrap: wrap; overflow: visible; } }
/* Gelişmiş ayarlar: belirgin açılır kart */
.evd-adv { border: 1.5px solid var(--c-line); border-radius: 10px; padding: 0; background: #F8F6F2; margin-top: 18px; }
.evd-adv summary { display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; list-style: none; }
.evd-adv summary::-webkit-details-marker { display: none; }
.evd-adv summary::after { content: "⌄"; margin-left: auto; font-size: 22px; line-height: 1; transition: transform .2s; }
.evd-adv[open] summary::after { content: "⌄"; transform: rotate(180deg); }
.evd-adv .adv-ic { width: 34px; height: 34px; border-radius: 50%; background: var(--c-ink); color: #fff; display: grid; place-items: center; font-size: 18px; flex: 0 0 34px; }
.evd-adv .adv-tx { display: flex; flex-direction: column; line-height: 1.3; }
.evd-adv .adv-tx b { font-size: 15.5px; }
.evd-adv .adv-tx small { font-size: 12.5px; color: var(--c-ink-soft); font-weight: 400; }
.evd-adv[open] { background: #fff; }
.evd-adv > :not(summary) { margin-left: 14px; margin-right: 14px; }
.evd-adv[open] > :last-child { margin-bottom: 14px; }
.evd-colchips { align-items: flex-start; } .evd-colchips button { height: auto; min-height: 0; justify-content: flex-start; }
/* Örnek pencere seçimi */
.evd-sample-t { margin: 18px 0 8px; font-size: 14px; color: var(--c-ink-soft); }
.evd-samples { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.evd-samples button { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 104px; padding: 6px; border: 2px solid var(--c-line); border-radius: 12px; background: #fff; cursor: pointer; font: inherit; font-weight: 700; font-size: 13.5px; }
.evd-samples img { width: 100%; height: 84px; object-fit: cover; border-radius: 8px; display: block; }
.evd-samples button.cur, .evd-samples button:hover { border-color: var(--c-ink); }
.evd-samples.small { justify-content: flex-start; gap: 8px; }
.evd-samples.small button { width: 74px; font-size: 12px; padding: 4px; }
.evd-samples.small img { height: 52px; }
.evd-sample-row { display: none; margin-bottom: 6px; }
.evd.is-sample .evd-sample-row { display: block; }
.evd-samples button { flex: 1 1 0; width: auto; max-width: 120px; min-width: 0; }

/* ===== Başlangıç ekranı (yeni düzen): büyük örnek pencereler üstte, adımlar altta ===== */
.evd-start { max-width: 860px; }
.evd-start .evd-sample-t { font-size: 1.15rem; font-weight: 600; color: var(--c-ink); margin: 0 0 14px; }
.evd-samples.big { gap: 16px; margin-bottom: 26px; }
.evd-samples.big button { flex: 1 1 0; max-width: 260px; width: auto; padding: 8px; border-radius: 12px; font-size: 15px; font-weight: 700; gap: 8px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.evd-samples.big button:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,.08); }
.evd-samples.big img { height: auto; aspect-ratio: 4 / 5; }
.evd-or { color: var(--c-ink-soft); font-size: 15px; margin: 0 0 12px; }
.evd-steps.row { grid-template-columns: repeat(3, 1fr); margin: 30px 0 18px; }
.evd-steps.row li { flex-direction: column; text-align: center; gap: 8px; padding: 14px 12px; font-size: 14px; }
@media (max-width: 640px) {
  .evd-samples.big { gap: 8px; }
  .evd-samples.big button { font-size: 13px; padding: 5px; }
  .evd-steps.row { grid-template-columns: 1fr; }
  .evd-steps.row li { flex-direction: row; text-align: left; }
}
.evd-steps.row li b { flex: none; width: 32px; height: 32px; }
.evd-start .evd-or, .evd-start .evd-privacy, .evd-start .evd-sample-t { text-align: center; }

/* ===== Başlangıç ekranı ekleri: popüler renkler, güven kutuları, önce/sonra + video, ipuçları ===== */
.evd-sub-t { font-size: 1.05rem; font-weight: 600; color: var(--c-ink); margin: 0 0 12px; text-align: center; }
.evd-pop-wrap { margin: 8px 0 26px; }
.evd-pop { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.evd-pop button { border: 2px solid var(--c-line); background: #fff; border-radius: 10px; padding: 6px; cursor: pointer; font: inherit; font-size: 12.5px; font-weight: 600; display: flex; flex-direction: column; gap: 6px; transition: border-color .2s, transform .2s; }
.evd-pop button:hover { border-color: var(--c-ink); transform: translateY(-2px); }
.evd-pop img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; display: block; }
.evd-trust { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.evd-trust li { display: flex; align-items: center; gap: 12px; text-align: left; background: #F8F6F2; border-radius: 10px; padding: 14px 16px; }
.evd-trust li b { font-size: 22px; line-height: 1; }
.evd-trust li span { display: flex; flex-direction: column; font-size: 13px; color: var(--c-ink-soft); }
.evd-trust li strong { font-size: 15px; color: var(--c-ink); }
.evd-show { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 28px; }
.evd-show .ba { aspect-ratio: 4 / 3; box-shadow: 0 10px 26px rgba(0,0,0,.12); }
.evd-video { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #2c2a26, #46423b); }
.evd-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.evd-video-soon { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #fff; font-weight: 700; font-size: 15px; }
.evd-video-soon .pl { width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: 24px; padding-left: 4px; }
.evd-tips { background: #fff; border: 1px solid var(--c-line); border-radius: 10px; padding: 16px 20px; text-align: left; margin-bottom: 10px; }
.evd-tips .evd-sub-t { text-align: left; margin-bottom: 8px; }
.evd-tips ul { margin: 0; padding-left: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; font-size: 14px; color: var(--c-ink-soft); }
@media (max-width: 640px) {
  .evd-pop { grid-template-columns: repeat(3, 1fr); }
  .evd-trust, .evd-show, .evd-tips ul { grid-template-columns: 1fr; }
}

/* Mobil: fotoğraf üstte hep görünür, renk paneli altında kendi içinde kayar (fotoğrafın altına gizlenmez) */
@media (max-width: 900px) {
  .evd.has-photo .evd-work {
    display: flex; flex-direction: column; gap: 10px;
    height: calc(100vh - var(--evd-sticky, 64px) - 12px);
    height: calc(100dvh - var(--evd-sticky, 64px) - 12px);
  }
  .evd.has-photo .evd-stage { flex: 0 0 auto; min-height: 0; scroll-margin-top: calc(var(--evd-sticky, 64px) + 6px); }
  .evd.has-photo .evd-panel {
    flex: 1 1 auto; min-height: 150px; overflow-y: auto;
    -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    padding: 12px; box-shadow: 0 -4px 12px rgba(0,0,0,.06);
  }
}

/* Masaüstü: renk listesi aşağı kaydırılınca fotoğraf ekranda sabit kalır (telefon kurallarına dokunmaz) */
@media (min-width: 901px) {
  .evd.has-photo .evd-stage {
    position: sticky;
    top: calc(var(--evd-sticky, 80px) + 12px);
    min-height: 0;
    max-height: calc(100vh - var(--evd-sticky, 80px) - 24px);
  }
}

/* Telefon/tablet: panel ekran genişliğini aşmasın (kumaş şeridi kendi içinde kayar) */
@media (max-width: 900px) {
  .evd.has-photo .evd-work { align-items: stretch; }
  .evd-panel, .evd-stage { width: 100%; max-width: 100%; box-sizing: border-box; }
  .evd-panel .evd-colchips, .evd-panel .evd-mode { max-width: 100%; }
}

/* Telefon: "Bu kumaşla yapılandır" düğmesi panelin altında hep görünür (renkler kaydırılsa da) */
@media (max-width: 900px) {
  .evd.has-photo .evd-panel .evd-actions {
    position: sticky; bottom: -12px; z-index: 4;
    margin: 12px -12px -12px; padding: 10px 12px 12px;
    background: #fff; border-top: 1px solid var(--c-line);
    box-shadow: 0 -6px 14px rgba(90,74,56,.08);
  }
  .evd.has-photo .evd-panel .evd-actions .k-btn { margin-bottom: 8px; padding: 12px; font-size: 15px; }
  .evd.has-photo .evd-panel .evd-actions .evd-row { gap: 8px; }
}
   YENİ RENK PALETİ (Ekim 2026, newshades.de ilhamı) — yalnızca bu sayfa
   Düğmeler/vurgu: kahve #735A32 · yüzey: sıcak krem #F8F5EE · vurgu zemini: #F5EED8
   Eski palete dönmek için bu bloğu silmek yeterli.
   ========================================================= */
body {
  --c-bg: #FFFFFF;
  --c-bg-alt: #F8F5EE;
  --c-cream: #F8F5EE;
  --c-surface: #F8F5EE;
  --c-accent: #735A32;
  --c-accent-dark: #5C4727;
  --c-bronze: #735A32;
  --c-bronze-dark: #5C4727;
  --c-sand: #F8F5EE;
  --c-sand-2: #F5EED8;
}
=======

/* ---- Ekim 2026: Stor / Zebra / Jaluzi türleri ve kullanım iyileştirmeleri ---- */
/* "Perdeyi kaldır" düğmeleri (fotoğrafın üstünde ve Gelişmiş ayarlarda) */
.evd .evd-btn.evd-kaldir { border-color: #8E2424; color: #8E2424; background: #fff; }
.evd .evd-btn.evd-kaldir:hover { background: #8E2424; color: #fff; }
.evd .evd-fab.ust-kaldir { position: absolute; top: 10px; left: 10px; z-index: 5; color: #8E2424; }
.evd .evd-fab.ust-kaldir.geri { background: #8E2424; color: #fff; }
.evd.editing .evd-fab.ust-kaldir { display: none; }
@media (max-width: 600px) { .evd .evd-fab.ust-kaldir { top: 6px; left: 6px; } }
/* Beş tür düğmesi (plise, stor, zebra, jaluzi, sineklik) dar ekranda iki satıra iner */
.evd .evd-mode { flex-wrap: wrap; justify-content: center; border-radius: 22px; max-width: 100%; }
.evd .evd-mode button { white-space: nowrap; }
.evd .evd-mode.small button { flex: 1 1 30%; }
@media (max-width: 600px) { .evd .evd-mode { display: flex; } .evd .evd-mode button { flex: 1 1 30%; font-size: 13.5px; padding: 9px 8px; } }
/* Düzenleme açıkken kenar ortası tutamaçları (yandan, üstten, alttan daralt / uzat) */
.evd .evd-h.kenar::after { inset: 12px; background: var(--c-accent); border: 3px solid #fff; }
.evd .evd-h.kenar { cursor: move; }
/* Örnek pencere seçicisi fotoğraf varken her zaman görünür (kendi fotoğrafından örnek pencereye dönülebilsin) */
.evd.has-photo .evd-sample-row { display: block; }
/* Stor ailesinin renk paleti: yuvarlak kutular */
.evd .evd-renk button { border-radius: 50%; border-color: rgba(59,53,47,.35); }
.evd .evd-renk button span { border-radius: 50%; }
.evd .evd-renk .evd-renk-not { margin: 0; flex: 1 1 100%; font-size: 13.5px; line-height: 1.5; color: var(--c-ink-soft); }
.evd .evd-renk button:focus-visible, .evd .evd-prof button:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }
