/* ============================================================
   assets/baski/editor.css — Online tasarım editörü (tam ekran)
   Düzen: koyu üst çubuk + koyu araç rayı | açık panel | cetvelli sahne | katlanır özellik kartları
   ============================================================ */
:root {
  --e-mor: #2563eb; --e-mor2: #3b82f6; --e-mor-a: #e8f0fe; --e-mavi: #0891b2;
  --e-koyu: #0b1f3b; --e-koyu2: #12305a; --e-metin: #1f2937; --e-soluk: #6b7280; --e-cizgi: #e5e9f2;
  --e-zemin: #f3f5f9; --e-sahne: #eceff5; --e-kart: #ffffff; --e-kirmizi: #dc2626; --e-yesil: #059669; --e-turuncu: #d97706;
  --e-golge: 0 10px 30px rgba(11,31,59,.10), 0 2px 6px rgba(11,31,59,.06);
  --e-cetvel: 24px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; }
body { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--e-metin); background: var(--e-zemin); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font-family: inherit; }
[hidden] { display: none !important; }

.ed {
  display: grid; height: 100vh; height: 100dvh;
  grid-template-columns: 84px 300px minmax(0, 1fr) 312px;
  grid-template-rows: 60px minmax(0, 1fr) 48px;
  grid-template-areas: "ust ust ust ust" "ray panel sahne ozellik" "ray alt alt alt";
}
body.ed-oz-kapali .ed { grid-template-columns: 84px 300px minmax(0, 1fr) 0; }
body.ed-oz-kapali .ed-ozellik { display: none; }

/* ---- Üst çubuk (koyu) ---- */
.ed-ust { grid-area: ust; display: flex; align-items: center; gap: 14px; padding: 0 16px 0 10px; background: linear-gradient(90deg, #0b1f3b 0%, #0f2a52 100%); color: #fff; z-index: 7; }
.ed-logo { display: flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; padding: 6px 8px; border-radius: 12px; flex: none; }
.ed-logo:hover { background: rgba(255,255,255,.08); }
.ed-logo img { width: 38px; height: auto; display: block; }
.ed-logo span { font-weight: 800; font-size: .95rem; line-height: 1.05; letter-spacing: -.01em; }
.ed-logo-geri { font-size: .8rem; opacity: .55; width: 0; overflow: hidden; transition: width .15s; }
.ed-logo:hover .ed-logo-geri { width: 12px; }
.ed-ust-ayrac { width: 1px; height: 28px; background: rgba(255,255,255,.16); flex: none; }
.ed-baslik { display: flex; align-items: center; gap: 4px; min-width: 130px; flex: 1 1 220px; max-width: 260px; }
.ed-ad { border: 1px solid transparent; border-radius: 8px; padding: 5px 8px; font-weight: 700; font-size: .92rem; color: #fff; background: transparent; min-width: 0; width: 100%; text-overflow: ellipsis; }
.ed-ad:hover { border-color: rgba(255,255,255,.18); }
.ed-ad:focus { outline: none; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
.ed-ad-kalem { color: rgba(255,255,255,.65); font-size: .8rem; cursor: pointer; padding: 6px; }
.ed-ad-kalem:hover { color: #fff; }
.ed-gecmis { display: flex; gap: 2px; flex: none; }
.ed-ust .ed-ikon { color: #fff; }
.ed-ust .ed-ikon:hover:not(:disabled) { background: rgba(255,255,255,.1); }
.ed-bicim { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 340px; padding: 7px 12px; border-radius: 10px; background: #fff; color: var(--e-koyu); font-size: .8rem; font-weight: 600; flex: 0 1 auto; }
.ed-bicim span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-bicim i { font-size: 1.05rem; color: var(--e-mor); flex: none; }
.ed-bicim .fa-instagram { color: #e1306c; }
.ed-bicim .fa-facebook, .ed-bicim .fa-facebook-f { color: #1877f2; }
.ed-bicim .fa-youtube { color: #ff0000; }
.ed-bicim .fa-pinterest { color: #e60023; }
.ed-bicim .fa-x-twitter { color: #000; }
.ed-yuzler { display: flex; background: rgba(255,255,255,.1); border-radius: 10px; padding: 3px; flex: none; }
.ed-yuzler button { border: 0; background: transparent; padding: 6px 12px; border-radius: 8px; font-weight: 700; font-size: .78rem; cursor: pointer; color: rgba(255,255,255,.75); }
.ed-yuzler button.aktif { background: #fff; color: var(--e-mor); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.ed-kayit { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; color: rgba(255,255,255,.85); font: inherit; font-size: .78rem; font-weight: 600; padding: 7px 10px; border-radius: 9px; cursor: pointer; white-space: nowrap; min-width: 36px; flex: 0 1 auto; overflow: hidden; }
.ed-kayit span { overflow: hidden; text-overflow: ellipsis; }
.ed-kayit:hover { background: rgba(255,255,255,.08); color: #fff; }
.ed-kayit i { font-size: .95rem; }
.ed-kayit.durum-kayitli i { color: #22c55e; }
.ed-kayit.durum-kirli i, .ed-kayit.durum-yeni i { color: #fbbf24; }
.ed-kayit.durum-hata i { color: #f87171; }
.ed-kayit:disabled { cursor: progress; }
.ed-ust-araclar { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
.ed-ust-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 10px; background: rgba(255,255,255,.04); color: #fff; font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.ed-ust-btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); }
.ed-ust-btn i { font-size: .95rem; }
.ed-bolunmus { position: relative; display: inline-flex; }
.ed-bolunmus > .ed-btn { height: 40px; border-radius: 10px 0 0 10px; }
.ed-bolunmus > .ed-btn-ok { border-radius: 0 10px 10px 0; padding: 0 12px; margin-left: 1px; }
.ed-acilir { position: absolute; right: 0; top: calc(100% + 8px); min-width: 250px; background: #fff; border: 1px solid var(--e-cizgi); border-radius: 14px; box-shadow: 0 18px 50px rgba(11,31,59,.2); padding: 6px; z-index: 30; }
.ed-acilir button { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; padding: 10px 12px; border-radius: 9px; font: inherit; font-size: .86rem; color: var(--e-metin); text-align: left; cursor: pointer; }
.ed-acilir button i { width: 18px; text-align: center; color: var(--e-mor); }
.ed-acilir button:hover { background: var(--e-zemin); }
.ed-ikon { width: 36px; height: 36px; border: 0; border-radius: 9px; background: transparent; cursor: pointer; color: var(--e-koyu); display: inline-flex; align-items: center; justify-content: center; }
.ed-ikon:hover:not(:disabled) { background: var(--e-zemin); }
.ed-ikon:disabled { opacity: .35; cursor: default; }
.ed-ikon.aktif { background: var(--e-mor-a); color: var(--e-mor); }
.ed-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 10px; padding: 9px 15px; background: var(--e-mor); color: #fff; font-weight: 700; font-size: .84rem; cursor: pointer; white-space: nowrap; box-shadow: 0 6px 16px rgba(37,99,235,.25); }
.ed-btn:hover { background: #1d4ed8; }
.ed-btn:disabled { opacity: .6; cursor: progress; }
.ed-btn-ikincil { background: var(--e-zemin); color: var(--e-koyu); box-shadow: none; }
.ed-btn-ikincil:hover { background: #e7ebf3; }
.ed-btn-tehlike { background: #fee2e2; color: var(--e-kirmizi); box-shadow: none; }
.ed-btn-tam { width: 100%; }
.ed-btn-fiyat { font-style: normal; opacity: .9; }

/* ---- Sol araç rayı (koyu) ---- */
.ed-ray { grid-area: ray; background: var(--e-koyu); display: flex; flex-direction: column; gap: 2px; padding: 8px 0; overflow-y: auto; scrollbar-width: none; z-index: 6; }
.ed-ray::-webkit-scrollbar { display: none; }
.ed-ray button { position: relative; border: 0; background: transparent; color: rgba(255,255,255,.72); padding: 11px 2px 9px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .7rem; font-weight: 600; flex: none; }
.ed-ray button i { font-size: 1.22rem; }
.ed-ray button:hover { background: rgba(255,255,255,.06); color: #fff; }
.ed-ray button.aktif { background: var(--e-koyu2); color: #fff; }
.ed-ray button.aktif::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--e-mor2); }
.ed-ray button.aktif i { color: #93c5fd; }
.ed-ray-alt { margin-top: auto !important; }

/* ---- Paneller ---- */
.ed-panel, .ed-ozellik { background: var(--e-kart); overflow-y: auto; }
.ed-panel { grid-area: panel; border-right: 1px solid var(--e-cizgi); padding: 18px 16px; }
.ed-panel-baslik { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.ed-panel-baslik h2 { margin: 0; }
.ed-panel-sayi { font-size: .74rem; color: var(--e-soluk); font-weight: 600; }
.ed-panel h2, .ed-ozellik h2 { font-size: 1.05rem; margin: 0 0 10px; color: var(--e-koyu); letter-spacing: -.01em; }
.ed-panel h3 { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--e-soluk); margin: 18px 0 8px; }
.ed-not { font-size: .76rem; color: var(--e-soluk); line-height: 1.5; margin: 6px 0 12px; }
.ed-etiket { display: block; font-size: .76rem; font-weight: 700; color: var(--e-koyu); margin: 10px 0 6px; }
.ed-girdi { width: 100%; border: 1px solid var(--e-cizgi); border-radius: 10px; padding: 9px 11px; font-size: .84rem; background: #fff; color: var(--e-metin); transition: border-color .15s, box-shadow .15s; }
.ed-girdi:focus { outline: none; border-color: var(--e-mor2); box-shadow: 0 0 0 3px rgba(59,130,246,.15); }
select.ed-girdi { appearance: none; background-image: 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' stroke='%230b1f3b' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 30px; }
textarea.ed-girdi { resize: vertical; min-height: 64px; }
.ed-renk { width: 100%; height: 38px; border: 1px solid var(--e-cizgi); border-radius: 10px; padding: 2px; background: #fff; cursor: pointer; }
.ed-satir { display: flex; gap: 8px; align-items: center; }
.ed-satir > * { flex: 1; min-width: 0; }
.ed-yan-yana { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.ed-yan-yana > * { flex: 1; min-width: 0; }
.ed-kucuk-satir { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ed-uyari { background: #fef3c7; color: #92400e; border-radius: 10px; padding: 9px 11px; font-size: .78rem; margin-top: 10px; line-height: 1.45; }
.ed-uyari.kirmizi { background: #fee2e2; color: #991b1b; }
.ed-uyari.yesil { background: #d1fae5; color: #065f46; }
.ed-yukleniyor { padding: 24px; text-align: center; color: var(--e-soluk); grid-column: 1 / -1; }

/* Arama kutusu ve çipler */
.ed-ara { display: flex; align-items: center; gap: 8px; border: 1px solid var(--e-cizgi); border-radius: 12px; padding: 0 12px; background: #fff; margin-bottom: 10px; }
.ed-ara:focus-within { border-color: var(--e-mor2); box-shadow: 0 0 0 3px rgba(59,130,246,.15); }
.ed-ara i { color: var(--e-soluk); font-size: .85rem; }
.ed-ara input { flex: 1; min-width: 0; border: 0; outline: none; padding: 11px 0; font-size: .86rem; background: transparent; color: var(--e-metin); }
.ed-cipler { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 12px; scrollbar-width: none; }
.ed-cipler::-webkit-scrollbar { display: none; }
.ed-cipler button { flex: none; border: 1px solid var(--e-cizgi); background: #fff; border-radius: 999px; padding: 6px 13px; font: inherit; font-size: .76rem; font-weight: 600; color: var(--e-koyu); cursor: pointer; }
.ed-cipler button:hover { border-color: var(--e-mor2); }
.ed-cipler button.aktif { background: var(--e-mor); border-color: var(--e-mor); color: #fff; }

.ed-sablonlar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
.ed-sablon { position: relative; border: 0; border-radius: 12px; padding: 0; background: var(--e-zemin); cursor: pointer; overflow: hidden; text-align: left; box-shadow: 0 1px 2px rgba(11,31,59,.08); transition: transform .15s, box-shadow .15s; }
.ed-sablon:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(11,31,59,.16); }
.ed-sablon img { width: 100%; display: block; min-height: 60px; background: var(--e-zemin); }
.ed-sablon span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; font-size: .68rem; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(11,31,59,.75)); opacity: 0; transition: opacity .15s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-sablon:hover span, .ed-sablon:focus-visible span { opacity: 1; }

.ed-yukle-alan { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 14px; border: 1.5px dashed #bfd0ee; border-radius: 14px; background: #f7faff; color: var(--e-koyu); cursor: pointer; font: inherit; }
.ed-yukle-alan:hover { border-color: var(--e-mor2); background: var(--e-mor-a); }
.ed-yukle-alan i { font-size: 1.6rem; color: var(--e-mor); }
.ed-yukle-alan b { font-size: .88rem; }
.ed-yukle-alan small { font-size: .74rem; color: var(--e-soluk); }

.ed-metin-hazir { display: block; width: 100%; text-align: left; border: 1px solid var(--e-cizgi); background: #fff; border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; cursor: pointer; color: var(--e-koyu); }
.ed-metin-hazir:hover { border-color: var(--e-mor2); background: #f7faff; }
.ed-ikili { display: grid; gap: 8px; }
.ed-ikili button { border: 1px solid var(--e-cizgi); background: #fff; border-radius: 12px; padding: 10px 12px; cursor: pointer; text-align: left; color: var(--e-koyu); }
.ed-ikili button:hover { border-color: var(--e-mor2); }
.ed-ikili b { display: block; font-size: 1.05rem; line-height: 1.2; }
.ed-ikili small { font-size: .78rem; color: var(--e-soluk); }

.ed-gorsel-izgara { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.ed-gorsel-izgara button { border: 1px solid var(--e-cizgi); border-radius: 10px; background: var(--e-zemin); padding: 4px; cursor: pointer; aspect-ratio: 1; overflow: hidden; width: 100%; }
.ed-gorsel-izgara button:hover { border-color: var(--e-mor2); }
.ed-gorsel-izgara img { width: 100%; height: 100%; object-fit: contain; }
.ed-ilerleme { height: 5px; background: var(--e-zemin); border-radius: 3px; overflow: hidden; margin-top: 8px; }
.ed-ilerleme div { height: 100%; width: 0; background: var(--e-mor); transition: width .2s; }

.ed-sekil-izgara { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ed-sekil-izgara button { aspect-ratio: 1; border: 1px solid var(--e-cizgi); border-radius: 12px; background: #fff; cursor: pointer; padding: 10px; }
.ed-sekil-izgara button:hover { border-color: var(--e-mor2); background: #f7faff; }
.ed-sekil-izgara svg { width: 100%; height: 100%; fill: var(--e-mor2); stroke: var(--e-mor2); }

.ed-renkler { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 8px; }
.ed-renkler button { aspect-ratio: 1; border-radius: 9px; border: 1px solid rgba(0,0,0,.08); cursor: pointer; padding: 0; }
.ed-renkler button:hover { transform: scale(1.08); }

.ed-katmanlar { list-style: none; margin: 0; padding: 0; }
.ed-katmanlar li { display: flex; align-items: center; gap: 6px; padding: 8px; border-radius: 10px; border: 1px solid transparent; font-size: .8rem; cursor: pointer; }
.ed-katmanlar li:hover { background: var(--e-zemin); }
.ed-katmanlar li.secili { border-color: var(--e-mor2); background: var(--e-mor-a); }
.ed-katmanlar li .ed-k-ad { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ed-katmanlar li i.ed-k-tur { width: 16px; color: var(--e-soluk); text-align: center; }
.ed-katmanlar li button { border: 0; background: transparent; cursor: pointer; color: var(--e-soluk); width: 24px; height: 24px; border-radius: 6px; }
.ed-katmanlar li button:hover { background: #fff; color: var(--e-koyu); }

.ed-liste-menu { display: grid; gap: 4px; }
.ed-liste-menu a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: var(--e-koyu); text-decoration: none; font-size: .86rem; font-weight: 600; }
.ed-liste-menu a:hover { background: var(--e-zemin); }
.ed-liste-menu i { width: 18px; text-align: center; color: var(--e-mor); }
.ed-kisayollar td:last-child { font-weight: 600; color: var(--e-soluk); }

/* ---- Özellik paneli (sağ) ---- */
.ed-ozellik { grid-area: ozellik; border-left: 1px solid var(--e-cizgi); display: flex; flex-direction: column; }
.ed-oz-ust { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 10px; }
.ed-oz-ust h2 { margin: 0; font-size: 1.15rem; }
.ed-oz-sekmeler { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 16px 12px; padding: 4px; border-radius: 12px; background: var(--e-zemin); }
.ed-oz-sekmeler button { border: 0; background: transparent; padding: 9px; border-radius: 9px; font: inherit; font-size: .84rem; font-weight: 700; color: var(--e-soluk); cursor: pointer; }
.ed-oz-sekmeler button.aktif { background: #fff; color: var(--e-mor); box-shadow: 0 1px 4px rgba(11,31,59,.1); }
.ed-oz-govde { padding: 0 14px 18px; flex: 1; }
.ed-oz-grup { border: 1px solid var(--e-cizgi); border-radius: 14px; background: #fff; margin-bottom: 10px; }
.ed-oz-grup-bas { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 0; background: none; padding: 13px 14px; font: inherit; font-size: .9rem; font-weight: 800; color: var(--e-koyu); cursor: pointer; text-align: left; }
.ed-oz-grup-bas i { font-size: .72rem; color: var(--e-soluk); transition: transform .2s; }
.ed-oz-grup.kapali .ed-oz-grup-bas i { transform: rotate(180deg); }
.ed-oz-grup-ic { padding: 0 14px 14px; }
.ed-oz-grup.kapali .ed-oz-grup-ic { display: none; }
.ed-oz-grup-ic > .ed-etiket:first-child, .ed-oz-grup-ic > *:first-child > .ed-etiket:first-child { margin-top: 0; }
.ed-oz-ikili { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ed-oz-ikili .ed-oz-grup { margin-bottom: 10px; }
.ed-oz-ikili .ed-dugmeler button { min-width: 30px; }
.ed-oz-baslik { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.ed-oz-baslik i { width: 30px; height: 30px; border-radius: 8px; background: var(--e-mor-a); color: var(--e-mor); display: flex; align-items: center; justify-content: center; }
.ed-oz-baslik strong { font-size: .9rem; color: var(--e-koyu); }
.ed-dugmeler { display: flex; gap: 4px; flex-wrap: wrap; }
.ed-dugmeler button { flex: 1; min-width: 34px; height: 36px; border: 1px solid var(--e-cizgi); background: #fff; border-radius: 9px; cursor: pointer; color: var(--e-koyu); font-size: .82rem; }
.ed-dugmeler button:hover { border-color: var(--e-mor2); }
.ed-dugmeler button.aktif { background: var(--e-mor-a); border-color: var(--e-mor2); color: var(--e-mor); }
.ed-kaydirici { display: flex; align-items: center; gap: 10px; }
.ed-kaydirici input[type=range] { flex: 1; accent-color: var(--e-mor); min-width: 0; }
.ed-kaydirici output { font-size: .74rem; color: var(--e-soluk); min-width: 38px; text-align: right; }
.ed-sayi-kutu { position: relative; flex: 0 0 76px; }
.ed-sayi-kutu input { padding: 7px 22px 7px 9px; text-align: right; font-weight: 600; }
.ed-sayi-kutu span { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); font-size: .74rem; color: var(--e-soluk); pointer-events: none; }
.ed-sayi-kutu input::-webkit-inner-spin-button { display: none; }
.ed-adimli { display: flex; align-items: stretch; border: 1px solid var(--e-cizgi); border-radius: 10px; overflow: hidden; background: #fff; }
.ed-adimli button { width: 34px; border: 0; background: none; color: var(--e-koyu); cursor: pointer; font-size: .78rem; }
.ed-adimli button:hover { background: var(--e-zemin); }
.ed-adimli input { flex: 1; min-width: 0; border: 0 !important; border-radius: 0; text-align: center; padding: 8px 2px; font-weight: 700; box-shadow: none !important; }
.ed-adimli input::-webkit-inner-spin-button { display: none; }
.ed-dolgu { display: block; width: 100%; min-width: 0; }
.ed-dolgu-yok { width: 100%; min-height: 44px; margin-top: 10px; }
.ed-dolgu-yok[aria-pressed=true] { border-color: var(--e-mor); background: var(--e-mor-a); color: var(--e-mor); }
.ed-renk-alan { display: flex; align-items: center; gap: 8px; width: 100%; min-width: 0; }
.ed-renk-kutu { position: relative; flex: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--e-cizgi); overflow: hidden; box-shadow: inset 0 0 0 2px #fff; }
.ed-renk-kutu.ed-renk-seffaf { background-image: linear-gradient(45deg,#e5e9f2 25%,transparent 25%),linear-gradient(-45deg,#e5e9f2 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e5e9f2 75%),linear-gradient(-45deg,transparent 75%,#e5e9f2 75%); background-color: #fff; background-size: 12px 12px; background-position: 0 0,0 6px,6px -6px,-6px 0; }
.ed-renk-kutu input[type=color] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.ed-hex { flex: 1; min-width: 0; min-height: 44px; font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; text-transform: uppercase; font-size: .9rem; }
.ed-damla { flex: none; width: 44px; height: 44px; border: 1px solid var(--e-cizgi); border-radius: 10px; background: #fff; color: var(--e-koyu); cursor: pointer; }
.ed-damla:hover { border-color: var(--e-mor2); color: var(--e-mor); }
.ed-paletim { display: grid; grid-template-columns: repeat(auto-fit,minmax(44px,1fr)); gap: 8px; width: 100%; min-width: 0; margin: 10px 0 4px; }
.ed-paletim button { position: relative; min-height: 44px; aspect-ratio: 1; border-radius: 10px; border: 1px solid rgba(11,31,59,.18); cursor: pointer; padding: 0; transition: transform .12s; }
.ed-paletim button:hover { transform: scale(1.04); }
.ed-paletim button[aria-pressed=true] { outline: 2px solid var(--e-mor); outline-offset: 2px; box-shadow: inset 0 0 0 2px #fff; }
.ed-paletim button[aria-pressed=true]::after { content: '\2713'; display: grid; place-items: center; position: absolute; right: 3px; bottom: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; color: var(--e-koyu); font: 700 12px/1 sans-serif; }
.ed-paletim button:focus-visible,.ed-damla:focus-visible,.ed-dolgu-yok:focus-visible,.ed-renk-kutu:focus-within { outline: 3px solid var(--e-mor); outline-offset: 3px; }
.ed-efektler { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ed-efektler button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 8px; border: 1px solid var(--e-cizgi); border-radius: 12px; background: #fff; cursor: pointer; font: inherit; }
.ed-efektler button:hover { border-color: var(--e-mor2); }
.ed-efektler button.aktif { border-color: var(--e-mor); box-shadow: 0 0 0 2px rgba(37,99,235,.18); background: #f7faff; }
.ed-efektler b { font-size: 1.35rem; font-weight: 800; color: var(--e-koyu); line-height: 1.1; }
.ed-efektler span { font-size: .68rem; color: var(--e-soluk); font-weight: 600; }
.ed-efektler .ef-golge { text-shadow: 2px 3px 4px rgba(0,0,0,.35); }
.ed-efektler .ef-isik { color: #fff; text-shadow: 0 0 6px #60a5fa, 0 0 12px #60a5fa; }
.ed-efektler .ef-kontur { color: #fff; -webkit-text-stroke: 1.2px #0b1f3b; }
.ed-efektler .ef-egik { font-style: italic; transform: skewX(-12deg); }
.ed-efektler .ef-parilti { color: #f0abfc; text-shadow: 0 0 4px #e879f9, 0 0 10px #e879f9; }
.ed-efektler .ef-vurgu { background: #fde047; padding: 0 4px; border-radius: 3px; }
.ed-efekt-ayar, .ed-efekt-guc { margin-top: 4px; }
.ed-dpi { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; padding: 6px 10px; border-radius: 8px; margin-bottom: 8px; }
.ed-dpi.iyi { background: #d1fae5; color: #065f46; }
.ed-dpi.orta { background: #fef3c7; color: #92400e; }
.ed-dpi.kotu { background: #fee2e2; color: #991b1b; }
.ed-yer-tutucu-btn { margin: 4px 0 14px; padding: 14px; font-size: .9rem; }
.ed-bos-durum { text-align: center; color: var(--e-soluk); font-size: .82rem; padding: 10px 6px; line-height: 1.6; }
.ed-bos-durum i { font-size: 1.6rem; color: #93c5fd; display: block; margin-bottom: 8px; }
.ed-bilgi-tablo { width: 100%; font-size: .78rem; border-collapse: collapse; }
.ed-bilgi-tablo td { padding: 6px 0; border-bottom: 1px dashed var(--e-cizgi); }
.ed-bilgi-tablo td:last-child { text-align: right; font-weight: 700; color: var(--e-koyu); }

/* Markam */
.ed-marka-renkler { display: flex; flex-wrap: wrap; gap: 8px; }
.ed-marka-renk, .ed-marka-logo { position: relative; }
.ed-marka-renk > button:first-child { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(11,31,59,.14); cursor: pointer; }
.ed-marka-sil { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; border: 0; background: #0b1f3b; color: #fff; font-size: .6rem; cursor: pointer; display: none; align-items: center; justify-content: center; }
.ed-marka-renk:hover .ed-marka-sil, .ed-marka-logo:hover .ed-marka-sil { display: flex; }
.ed-marka-ekle { position: relative; width: 38px; height: 38px; border-radius: 10px; border: 1.5px dashed #bfd0ee; display: flex; align-items: center; justify-content: center; color: var(--e-mor); cursor: pointer; }
.ed-marka-ekle input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ed-marka-logo > button:first-child { width: 100%; }

/* ---- Çalışma alanı: cetveller + sahne ---- */
.ed-calisma { grid-area: sahne; position: relative; display: grid; grid-template-columns: var(--e-cetvel) minmax(0, 1fr); grid-template-rows: var(--e-cetvel) minmax(0, 1fr); min-width: 0; min-height: 0; background: var(--e-sahne); }
.ed-cetvel { display: block; width: 100%; height: 100%; background: #f8fafc; }
.ed-cetvel.ust { grid-column: 2; grid-row: 1; border-bottom: 1px solid var(--e-cizgi); }
.ed-cetvel.sol { grid-column: 1; grid-row: 2; border-right: 1px solid var(--e-cizgi); }
.ed-cetvel-kose { grid-column: 1; grid-row: 1; display: flex; align-items: center; justify-content: center; font-size: .58rem; font-weight: 700; color: var(--e-soluk); background: #f8fafc; border-right: 1px solid var(--e-cizgi); border-bottom: 1px solid var(--e-cizgi); }
.ed-sahne { grid-column: 2; grid-row: 2; overflow: auto; position: relative; min-width: 0; min-height: 0; background: var(--e-sahne); }
.ed-tuval-kap { display: inline-block; margin: 48px; box-shadow: 0 18px 50px rgba(11,31,59,.16), 0 2px 8px rgba(11,31,59,.06); background: #fff; line-height: 0; }
.ed-sahne.ortala { display: flex; align-items: center; justify-content: center; }
.ed-sahne.ortala .ed-tuval-kap { margin: auto; }
.ed-nesne-cubuk { position: absolute; z-index: 8; display: flex; align-items: center; gap: 2px; padding: 4px; background: #fff; border: 1px solid var(--e-cizgi); border-radius: 12px; box-shadow: 0 10px 28px rgba(11,31,59,.16); }
.ed-nc-ad { font-size: .82rem; font-weight: 700; color: var(--e-koyu); padding: 0 10px 0 8px; border-right: 1px solid var(--e-cizgi); margin-right: 2px; white-space: nowrap; }
.ed-nesne-cubuk button { width: 34px; height: 32px; border: 0; background: none; border-radius: 8px; color: var(--e-koyu); cursor: pointer; font-size: .92rem; }
.ed-nesne-cubuk button:hover { background: var(--e-zemin); }
.ed-nesne-cubuk button[data-nc="sil"]:hover { color: var(--e-kirmizi); background: #fef2f2; }

/* ---- Alt çubuk ---- */
.ed-alt-cubuk { grid-area: alt; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 14px; background: var(--e-kart); border-top: 1px solid var(--e-cizgi); font-size: .78rem; color: var(--e-soluk); gap: 10px; }
.ed-alt-sol { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ed-alt-btn { display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; padding: 7px 10px; border-radius: 9px; font: inherit; font-size: .82rem; font-weight: 600; color: var(--e-koyu); cursor: pointer; position: relative; }
.ed-alt-btn:hover { background: var(--e-zemin); }
.ed-alt-btn.dolu::after { content: ''; position: absolute; top: 6px; left: 20px; width: 7px; height: 7px; border-radius: 50%; background: #f59e0b; }
.ed-lejant { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; min-width: 0; }
.ed-lejant span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.ed-lj { display: inline-block; width: 16px; height: 0; border-top: 2px dashed; }
.ed-lj.kesim { border-color: #db2777; }
.ed-lj.guvenli { border-color: #0891b2; }
.ed-lj.tasma { height: 10px; border: 0; background: rgba(220,38,38,.18); }
.ed-sayfalar { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--e-koyu); }
.ed-sayfalar .ed-ikon { width: 30px; height: 30px; border: 1px solid var(--e-cizgi); border-radius: 50%; font-size: .72rem; }
.ed-alt-sag { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.ed-anahtar { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 600; color: var(--e-koyu); white-space: nowrap; }
.ed-anahtar input { accent-color: var(--e-mor); }
.ed-zoom { display: flex; align-items: center; gap: 4px; }
.ed-zoom .ed-ikon { width: 28px; height: 28px; font-size: .74rem; }
.ed-zoom input[type=range] { width: 120px; accent-color: var(--e-mor); }
.ed-zoom-deger { border: 0; background: var(--e-zemin); border-radius: 8px; padding: 6px 10px; font-weight: 700; font-size: .76rem; cursor: pointer; min-width: 58px; color: var(--e-koyu); }

/* ---- Modal & bildirim ---- */
.ed-modal { position: fixed; inset: 0; background: rgba(11,18,40,.55); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 16px; }
.ed-modal-kutu { background: #fff; border-radius: 20px; padding: 24px; width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; box-shadow: var(--e-golge); }
.ed-modal-kutu.genis { max-width: 920px; }
.ed-modal-kutu h2 { margin: 0 0 12px; font-size: 1.15rem; color: var(--e-koyu); }
.ed-modal-btnler { display: flex; gap: 8px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }
.ed-kontrol { list-style: none; padding: 0; margin: 0; }
.ed-kontrol li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--e-cizgi); font-size: .86rem; line-height: 1.45; }
.ed-kontrol li i { margin-top: 3px; }
.ed-kontrol .tamam i { color: var(--e-yesil); }
.ed-kontrol .uyari i { color: var(--e-turuncu); }
.ed-kontrol .hata i { color: var(--e-kirmizi); }
.ed-onizleme-alani { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; background: var(--e-zemin); border-radius: 12px; padding: 16px; }
.ed-onizleme-alani figure { margin: 0; text-align: center; font-size: .78rem; color: var(--e-soluk); }
.ed-onizleme-alani img { max-width: 100%; max-height: 52vh; box-shadow: 0 8px 26px rgba(11,31,59,.18); display: block; margin-bottom: 6px; background: #fff; }
.ed-bildirim { position: fixed; left: 50%; bottom: 64px; transform: translateX(-50%); background: var(--e-koyu); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: .84rem; font-weight: 600; z-index: 60; box-shadow: var(--e-golge); max-width: calc(100% - 32px); text-align: center; }
.ed-bildirim.hata { background: var(--e-kirmizi); }

/* Önizleme: platform çerçevesi */
.sx-mock { display: flex; justify-content: center; padding: 6px 0 2px; }
.sx-mock-kap { width: min(420px, 100%); background: #fff; border: 1px solid var(--e-cizgi); border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px rgba(11,31,59,.16); }
.sx-mock-gorsel { position: relative; display: flex; align-items: center; justify-content: center; background: var(--e-zemin); color: var(--e-soluk); }
.sx-mock-gorsel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sx-avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #feda75, #d62976, #4f5bd5); box-shadow: inset 0 0 0 2px #fff; flex: none; }
.sx-ig-ust { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: .84rem; }
.sx-ig-ust i { margin-left: auto; color: var(--e-soluk); }
.sx-ig-alt { display: flex; gap: 16px; padding: 10px 12px 4px; font-size: 1.15rem; color: var(--e-koyu); }
.sx-ig-alt i:last-child { margin-left: auto; }
.sx-ig-metin { padding: 2px 12px 14px; font-size: .84rem; color: var(--e-metin); }
.sx-mock-hikaye .sx-mock-kap { position: relative; width: min(300px, 100%); border-radius: 26px; background: #000; border: 6px solid #111; }
.sx-mock-hikaye .sx-mock-gorsel { background: #111; }
.sx-hk-cubuk { position: absolute; left: 10px; right: 10px; top: 10px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); z-index: 2; overflow: hidden; }
.sx-hk-cubuk i { display: block; width: 40%; height: 100%; background: #fff; }
.sx-hk-ust { position: absolute; left: 12px; right: 12px; top: 20px; display: flex; align-items: center; gap: 8px; color: #fff; font-size: .8rem; z-index: 2; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.sx-hk-ust small { opacity: .8; }
.sx-hk-alt { position: absolute; left: 12px; right: 12px; bottom: 14px; display: flex; align-items: center; gap: 12px; color: #fff; z-index: 2; }
.sx-hk-alt span { flex: 1; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; padding: 7px 12px; font-size: .78rem; }
.sx-mock-duz .sx-mock-kap { width: min(640px, 100%); border-radius: 12px; }

/* ---- Mobil ---- */
@media (max-width: 1200px) {
  .ed { grid-template-columns: 76px 264px minmax(0, 1fr) 280px; }
  body.ed-oz-kapali .ed { grid-template-columns: 76px 264px minmax(0, 1fr) 0; }
  .ed-logo span, .ed-kayit span { display: none; }
  .ed-zoom input[type=range] { width: 80px; }
}
@media (max-width: 1440px) {
  body.ed-baski .ed-kayit span { display: none; }
  body.ed-baski .ed-bicim { max-width: 220px; }
}
@media (max-width: 1024px) {
  .ed-bicim { display: none; }
  .ed-ust-btn span { display: none; }
  .ed-ust-btn { padding: 0 11px; }
  .ed-anahtar i { display: none; }
}
@media (max-width: 900px) {
  .ed, body.ed-oz-kapali .ed {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 56px minmax(0, 1fr) auto auto 64px;
    grid-template-areas: "ust" "sahne" "ozellik" "panel" "ray";
  }
  body.ed-oz-kapali .ed-ozellik { display: flex; }
  .ed-ust { gap: 8px; padding: 0 8px; }
  .ed-logo { padding: 4px; }
  .ed-logo img { width: 32px; }
  .ed-ust-ayrac, .ed-ad-kalem, .ed-kayit span, #paylasBtn, .ed-bolunmus .ed-btn span, .ed-btn-fiyat { display: none; }
  .ed-gecmis .ed-ikon { width: 32px; }
  .ed-baslik { flex: 1 1 auto; min-width: 0; max-width: none; }
  .ed-ad { font-size: .86rem; padding: 5px 4px; }
  .ed-kayit { padding: 7px 6px; min-width: 30px; }
  .ed-ust-araclar { gap: 5px; }
  .ed-ust-btn, .ed-bolunmus > .ed-btn { height: 38px; }
  .ed-ray { flex-direction: row; padding: 4px; overflow-x: auto; gap: 0; }
  .ed-ray button { padding: 7px 4px; min-width: 64px; font-size: .62rem; }
  .ed-ray button.aktif::before { left: 10px; right: 10px; top: auto; bottom: 0; width: auto; height: 3px; border-radius: 3px 3px 0 0; }
  .ed-ray-alt { margin-top: 0 !important; }
  .ed-panel { max-height: 32vh; border: 0; border-top: 1px solid var(--e-cizgi); }
  .ed-ozellik { max-height: 30vh; border: 0; border-top: 1px solid var(--e-cizgi); }
  .ed-oz-ust, .ed-oz-sekmeler { display: none; }
  .ed-oz-govde { padding-top: 12px; }
  .ed-ozellik.ed-oz-sayfa { display: none !important; } /* boşta sayfa bilgisi tuvali küçültmesin */
  body.ed-panel-acik .ed-ozellik { display: none !important; } /* aynı anda tek alt panel */
  .ed-panel.kapali { display: none; }
  .ed-alt-cubuk { display: none; }
  .ed-calisma { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
  .ed-cetvel, .ed-cetvel-kose, .ed-nesne-cubuk { display: none !important; }
  .ed-sahne { grid-column: 1; grid-row: 1; }
  .ed-yuzler { position: absolute; top: 64px; left: 50%; transform: translateX(-50%); z-index: 4; box-shadow: var(--e-golge); background: #fff; }
  .ed-yuzler button { color: var(--e-soluk); }
  .ed-tuval-kap { display: block; width: fit-content; margin: 54px auto 16px; }
  .ed-sahne.ortala .ed-tuval-kap { margin: auto; }
  .ed-oz-ikili { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .ed-ust { gap: 4px; padding: 0 6px; }
  .ed-gecmis .ed-ikon { width: 28px; }
  .ed-ust-btn { width: 36px; padding: 0; justify-content: center; }
  #onizleSosyal, #onizleBtn, .ed-logo img { display: none; }
  .ed-bolunmus > .ed-btn { padding: 0 12px; }
  .ed-bolunmus > .ed-btn-ok { padding: 0 9px; }
}

/* iOS Safari 16 px'ten küçük form kutusuna dokununca sayfayı yakınlaştırır: mobilde en az 16 px */
@media (max-width:900px) {
  input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not([type=submit]):not([type=button]), select, textarea { font-size:16px !important; }
}

/* Sağ tık menüsü (Canva tarzı) */
.ed-baglam { position: fixed; z-index: 1000; min-width: 260px; max-width: 320px; padding: 8px; background: #fff; border: 1px solid var(--e-cizgi); border-radius: 16px; box-shadow: 0 18px 50px rgba(11,31,59,.18), 0 2px 8px rgba(11,31,59,.06); font-size: .9rem; color: var(--e-metin); user-select: none; }
.ed-baglam[hidden] { display: none; }
.ed-baglam-oge { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 40px; padding: 7px 10px; border: 0; border-radius: 10px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.ed-baglam-oge > i:first-child { width: 20px; text-align: center; font-size: 1rem; color: var(--e-koyu); }
.ed-baglam-oge > span { flex: 1; white-space: nowrap; }
.ed-baglam-oge kbd { font-family: inherit; font-size: .74rem; color: var(--e-soluk); background: #f3f4f6; border-radius: 7px; padding: 3px 8px; white-space: nowrap; }
.ed-baglam-oge:hover:not([disabled]), .ed-baglam-oge:focus-visible { background: #f1f5f9; outline: none; }
.ed-baglam-oge[disabled] { opacity: .42; cursor: default; }
.ed-baglam-oge.tehlike:hover:not([disabled]) { background: #fef2f2; color: var(--e-kirmizi); }
.ed-baglam-oge.tehlike:hover > i:first-child { color: var(--e-kirmizi); }
.ed-baglam-ok { font-size: .72rem; color: var(--e-soluk); }
.ed-baglam-ayirici { height: 1px; background: var(--e-cizgi); margin: 6px 6px; }
.ed-baglam-alt { position: absolute; left: calc(100% + 6px); top: -8px; min-width: 220px; }
.ed-baglam-alt.sola { left: auto; right: calc(100% + 6px); }
.ed-baglam-alt::before { content: ''; position: absolute; top: 0; bottom: 0; left: -10px; width: 10px; }
.ed-baglam-alt.sola::before { left: auto; right: -10px; }
@media (max-width: 600px) {
  .ed-baglam { min-width: 220px; font-size: .86rem; }
  .ed-baglam-oge kbd { display: none; }
  .ed-baglam-alt { left: 12px; top: calc(100% - 4px); right: 12px; min-width: 0; }
  .ed-baglam-alt.sola { left: 12px; right: 12px; }
}

/* İkon kütüphanesi */
.ed-ikon-ayar { display: grid; gap: 8px; margin: 10px 0 8px; }
.ed-segment { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: var(--e-zemin); border-radius: 10px; }
.ed-segment button { border: 0; background: transparent; border-radius: 7px; padding: 7px 6px; font: inherit; font-size: .78rem; font-weight: 700; color: var(--e-soluk); cursor: pointer; }
.ed-segment button.aktif { background: #fff; color: var(--e-mor); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.ed-ikon-ayar .ed-satir { justify-content: space-between; }
.ed-renk.ed-renk-kucuk { width: 40px; height: 32px; flex: 0 0 auto; }
.ed-ikon-kategoriler { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 6px; }
.ed-ikon-kategoriler button { border: 1.5px solid var(--e-cizgi); background: #fff; border-radius: 999px; padding: 5px 11px; font: inherit; font-size: .74rem; font-weight: 600; color: var(--e-metin); cursor: pointer; }
.ed-ikon-kategoriler button.aktif { border-color: var(--e-mor); background: var(--e-mor-a); color: var(--e-mor); }
#ikonListesi h3 { margin-top: 14px; }
.ed-ikon-izgara { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.ed-ikon-izgara button { aspect-ratio: 1; border: 1.5px solid transparent; border-radius: 10px; background: #f8fafc; cursor: pointer; padding: 9px; display: flex; align-items: center; justify-content: center; }
.ed-ikon-izgara button:hover, .ed-ikon-izgara button:focus-visible { border-color: var(--e-mor2); background: #fff; outline: none; }
.ed-ikon-izgara svg { width: 100%; height: 100%; display: block; }
.ed-ikon-lisans { font-size: .66rem; margin-top: 16px; }

/* Ücretsiz stok fotoğraflar */
.ed-stok { margin-top: 6px; }
.ed-stok-ara { display: flex; gap: 6px; }
.ed-stok-ara .ed-girdi, .ed-stok-ara .ed-ara { flex: 1; min-width: 0; margin-bottom: 0; }
.ed-stok-ara .ed-btn { flex: 0 0 auto; padding: 9px 12px; }
.ed-stok-etiketler { display: flex; gap: 6px; overflow-x: auto; padding: 8px 0 10px; scrollbar-width: none; }
.ed-stok-etiketler::-webkit-scrollbar { display: none; }
.ed-stok-etiketler button { flex: 0 0 auto; border: 1.5px solid var(--e-cizgi); background: #fff; border-radius: 999px; padding: 4px 10px; font: inherit; font-size: .72rem; font-weight: 600; color: var(--e-metin); cursor: pointer; }
.ed-stok-etiketler button:hover { border-color: var(--e-mor2); color: var(--e-mor); }
.ed-stok-izgara { columns: 2; column-gap: 6px; }
.ed-stok-izgara .ed-yukleniyor { column-span: all; }
.ed-stok-oge { position: relative; display: block; width: 100%; margin: 0 0 6px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; cursor: pointer; break-inside: avoid; }
.ed-stok-oge img { display: block; width: 100%; height: auto; }
.ed-stok-oge span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 7px 5px; font-size: .62rem; color: #fff; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.6)); opacity: 0; transition: opacity .15s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-stok-oge:hover span, .ed-stok-oge:focus-visible span { opacity: 1; }
.ed-stok-oge:focus-visible { outline: 2px solid var(--e-mor2); outline-offset: 2px; }
.ed-stok-oge.ed-stok-bekliyor { opacity: .5; pointer-events: none; }
.ed-stok-oge.ed-stok-bekliyor::after { content: '\f110'; font: 900 1.2rem 'Font Awesome 6 Free'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; animation: fa-spin 1s linear infinite; }
.ed-stok-tur { margin: 0 0 10px; }
.ed-stok-tur button { font-size: .7rem; padding: 6px 4px; }

/* Görsel filtreleri */
.ed-filtreler { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ed-filtreler button { border: 2px solid transparent; border-radius: 10px; background: none; padding: 0; cursor: pointer; font: inherit; color: var(--e-metin); }
.ed-filtreler img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: var(--e-zemin); }
.ed-filtreler span { display: block; font-size: .62rem; font-weight: 600; padding: 3px 0 2px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-filtreler button.aktif { border-color: var(--e-mor); }
.ed-filtreler button.aktif span { color: var(--e-mor); }
.ed-filtreler button:hover img { outline: 2px solid var(--e-mor-a); }
.ed-ayar-ac { margin-top: 10px; border: 1px solid var(--e-cizgi); border-radius: 10px; padding: 4px 12px 10px; }
.ed-ayar-ac summary { cursor: pointer; font-size: .78rem; font-weight: 700; padding: 6px 0; color: var(--e-metin); }

/* Kırpma */
.ed-oranlar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ed-oranlar button { border: 1.5px solid var(--e-cizgi); background: #fff; border-radius: 8px; padding: 7px 4px; font: inherit; font-size: .74rem; font-weight: 700; color: var(--e-metin); cursor: pointer; }
.ed-oranlar button.aktif { border-color: var(--e-mor); background: var(--e-mor-a); color: var(--e-mor); }
.ed-kirp-dugmeler { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; margin-top: 16px; }
.ed-kirp-dugmeler kbd { font: inherit; font-size: .64rem; opacity: .7; margin-left: 2px; }

/* Ekiple paylaş formu */
.ed-uyari-kutu { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 4px; padding: 10px 12px; border-radius: 10px; background: #fff7ed; color: #9a3412; font-size: .8rem; line-height: 1.45; }
.ed-uyari-kutu i { margin-top: 2px; }
.ed-onay { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: .8rem; line-height: 1.45; color: var(--e-metin); cursor: pointer; }
.ed-onay input { margin-top: 3px; flex: none; }

/* ---- Sosyal medya aracı: animasyon paneli ve indir/paylaş ---- */
.ed-ipucu-kutu { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--e-mor-a); color: #1e3a8a; font-size: .8rem; line-height: 1.45; }
.ed-ipucu-kutu i { margin-top: 2px; }
.an-ilerleme { height: 4px; border-radius: 4px; background: var(--e-zemin); margin-top: 8px; overflow: hidden; }
.an-ilerleme i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--e-mor), #db2777); }
.an-hazir { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.an-hazir button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border: 1px solid var(--e-cizgi); border-radius: 12px; background: #fff; font: inherit; font-size: .78rem; font-weight: 700; color: var(--e-koyu); cursor: pointer; transition: border-color .15s, background .15s; }
.an-hazir button i { font-size: 1.05rem; color: var(--e-mor); }
.an-hazir button:hover { border-color: var(--e-mor2); background: var(--e-mor-a); }
.an-secili-ad { font-weight: 700; font-size: .85rem; color: var(--e-koyu); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.an-secili-ad i { color: var(--e-mor); margin-right: 4px; }
.an-zaman input[type=range] { width: 100%; }
.an-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.an-liste li[data-i] { display: grid; grid-template-columns: minmax(0, 1fr) 90px; gap: 8px; align-items: center; padding: 7px 8px; border-radius: 9px; background: var(--e-zemin); cursor: pointer; font-size: .76rem; }
.an-liste li[data-i]:hover { background: var(--e-mor-a); }
.an-ad { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; color: var(--e-koyu); }
.an-ad small { display: block; font-weight: 500; color: var(--e-soluk); overflow: hidden; text-overflow: ellipsis; }
.an-cubuk { position: relative; height: 8px; border-radius: 4px; background: #e5e7eb; }
.an-cubuk i { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: linear-gradient(90deg, var(--e-mor), #db2777); }
.an-cubuk em { position: absolute; top: -2px; width: 4px; height: 12px; border-radius: 2px; background: #f59e0b; transform: translateX(-2px); }
.sx-secenekler { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sx-secenek { display: flex; gap: 10px; align-items: flex-start; text-align: left; padding: 14px; border: 1.5px solid var(--e-cizgi); border-radius: 14px; background: #fff; font: inherit; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.sx-secenek > i { font-size: 1.3rem; color: var(--e-mor); margin-top: 2px; }
.sx-secenek b { display: block; font-size: .9rem; color: var(--e-koyu); }
.sx-secenek small { display: block; font-size: .74rem; color: var(--e-soluk); line-height: 1.4; margin-top: 2px; }
.sx-secenek:hover:not(:disabled), .sx-secenek.aktif { border-color: var(--e-mor2); box-shadow: 0 6px 18px rgba(37,99,235,.12); }
.sx-secenek:disabled { opacity: .6; cursor: default; }
.sx-durum { margin-top: 14px; display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--e-soluk); }
.sx-cubuk { flex: 1; height: 8px; border-radius: 6px; background: var(--e-zemin); overflow: hidden; }
.sx-cubuk i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--e-mor), #db2777); transition: width .2s; }
.sx-sonuc:not(:empty) { margin-top: 16px; }
.sx-onizleme { display: flex; justify-content: center; background: repeating-conic-gradient(#eef0f6 0 25%, #f8f9fc 0 50%) 0 0 / 18px 18px; border-radius: 12px; padding: 14px; }
.sx-onizleme img, .sx-onizleme video { max-width: 100%; max-height: 46vh; box-shadow: 0 8px 26px rgba(11,31,59,.18); display: block; background: #fff; }
.sx-dugmeler { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 12px; }
.sx-dugmeler .ed-btn { text-decoration: none; }
@media (max-width: 640px) {
  .sx-secenekler { grid-template-columns: 1fr; }
  .sx-secenek { padding: 11px 12px; }
  .sx-onizleme img, .sx-onizleme video { max-height: 36vh; }
}
