/* ============================================================
   NexHost Görsel Site Stüdyosu — v1.45.0
   1) Ön yüz blok stilleri (.nx-st-*) — yayınlanan stüdyo sayfaları
   2) Editör arayüzü (.st-*) — /admin/studio editör kabuğu
   Tema token'ları --nx-* değişkenlerinden beslenir (StudioThemeService).
   ============================================================ */

/* ---------- 1) Ön yüz blokları ---------- */
.nx-st { position: relative; padding-block: 56px; }
.nx-st-p-sm { padding-block: 28px; }
.nx-st-p-lg { padding-block: 88px; }
.nx-st-bg-surface { background: var(--nx-surface); border-block: 1px solid var(--nx-border); }
.nx-st-bg-primary { background: linear-gradient(135deg, var(--nx-primary), var(--nx-accent)); color: #fff; }
.nx-st-bg-primary .nx-st-h, .nx-st-bg-primary .nx-st-hsub, .nx-st-bg-primary .nx-st-card-title, .nx-st-bg-primary .nx-st-card-text { color: #fff; }
.nx-st-bg-primary .nx-st-card { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); }
.nx-st-bg-dark { background: #0f172a; color: #e2e8f0; }
.nx-st-bg-dark .nx-st-h, .nx-st-bg-dark .nx-st-card-title { color: #fff; }
.nx-st-narrow { max-width: 760px; margin-inline: auto; }

.nx-st-h { font-weight: 800; letter-spacing: -.02em; color: var(--nx-text); font-size: clamp(24px, 3.4vw, 38px); margin-bottom: 8px; }
.nx-st-hsub { color: var(--nx-muted); font-size: 17px; max-width: 720px; margin-inline: auto; }
.nx-st-text .nx-st-body { color: var(--nx-muted); font-size: 16.5px; line-height: 1.75; }

.nx-st-card { background: var(--nx-surface); border: 1px solid var(--nx-border); border-radius: var(--nx-radius); padding: 22px; box-shadow: var(--nx-shadow-sm); transition: transform .18s ease, box-shadow .18s ease; display: block; color: inherit; }
a.nx-st-card:hover { transform: translateY(-3px); box-shadow: var(--nx-shadow-md); text-decoration: none; }
.nx-st-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(var(--nx-primary-rgb), .1); color: var(--nx-primary); font-size: 21px; margin-bottom: 12px; }
.nx-st-card-title { font-size: 17px; font-weight: 700; color: var(--nx-text); margin-bottom: 6px; }
.nx-st-card-text { font-size: 14.5px; color: var(--nx-muted); }

.nx-st-figure { margin: 0; }
.nx-st-figure-narrow { max-width: 640px; margin-inline: auto; }
.nx-st-img { max-width: 100%; height: auto; border-radius: var(--nx-radius-lg); box-shadow: var(--nx-shadow-md); }
.nx-st-caption { font-size: 13.5px; color: var(--nx-muted); margin-top: 10px; text-align: center; }

.nx-st-hero { position: relative; padding: 30px 0 10px; }
.nx-st-hero-gradient { position: relative; }
.nx-st-hero-gradient::before { content: ''; position: absolute; inset: -56px -48px -12px; background:
  radial-gradient(600px 320px at 15% 0%, rgba(var(--nx-primary-rgb), .16), transparent 65%),
  radial-gradient(520px 300px at 90% 10%, rgba(var(--nx-accent-rgb), .14), transparent 60%); z-index: -1; }
.nx-st-hero-surface { background: var(--nx-surface); border: 1px solid var(--nx-border); border-radius: var(--nx-radius-xl); padding: 34px; }
.nx-st-hero-dark { background: #0f172a; border-radius: var(--nx-radius-xl); padding: 34px; color: #e2e8f0; }
.nx-st-hero-dark .nx-st-hero-title, .nx-st-hero-dark .nx-st-hero-sub { color: #fff; }
.nx-st-hero-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--nx-primary); background: rgba(var(--nx-primary-rgb), .1); padding: 5px 14px; border-radius: 999px; }
.nx-st-hero-title { font-size: clamp(30px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.03em; color: var(--nx-text); margin: 14px 0 10px; }
.nx-st-hero-highlight { background: linear-gradient(135deg, var(--nx-primary), var(--nx-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nx-st-hero-sub { font-size: 18px; color: var(--nx-muted); max-width: 640px; }
.nx-st-hero-search { max-width: 560px; }
.nx-st-hero-img { max-width: 100%; height: auto; border-radius: var(--nx-radius-lg); box-shadow: var(--nx-shadow-md); }
.nx-st-tldchip { display: inline-flex; align-items: baseline; gap: 5px; font-size: 13.5px; font-weight: 700; color: var(--nx-text); background: var(--nx-surface); border: 1px solid var(--nx-border); padding: 6px 12px; border-radius: 999px; text-decoration: none; }
.nx-st-tldchip span { color: var(--nx-muted); font-weight: 600; font-size: 12.5px; }
.nx-st-tldchip:hover { border-color: var(--nx-primary); color: var(--nx-primary); }

.nx-st-cta { background: linear-gradient(135deg, var(--nx-primary), var(--nx-accent)); border-radius: var(--nx-radius-lg); padding: 30px 34px; color: #fff; box-shadow: var(--nx-glow); }
.nx-st-cta-text { font-size: 21px; font-weight: 800; }
.nx-st-cta-note { font-size: 13.5px; opacity: .85; }

.nx-st-faq .accordion-item { border: 1px solid var(--nx-border); border-radius: var(--nx-radius) !important; overflow: hidden; margin-bottom: 10px; }
.nx-st-faq .accordion-button { font-weight: 700; color: var(--nx-text); }
.nx-st-faq .accordion-button:not(.collapsed) { background: rgba(var(--nx-primary-rgb), .05); color: var(--nx-primary); box-shadow: none; }
.nx-st-faq .accordion-body { color: var(--nx-muted); }

.nx-st-trust { background: var(--nx-surface); border: 1px solid var(--nx-border); border-radius: var(--nx-radius); padding: 22px; text-align: center; }
.nx-st-trust-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(var(--nx-primary-rgb), .1); color: var(--nx-primary); font-size: 23px; margin-bottom: 10px; }
.nx-st-trust-title { font-size: 16px; font-weight: 700; color: var(--nx-text); }
.nx-st-trust-text { font-size: 13.5px; color: var(--nx-muted); }

.nx-st-stat .v { display: block; font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -.02em; color: var(--nx-primary); }
.nx-st-stat .l { font-size: 13.5px; color: var(--nx-muted); font-weight: 600; }

.nx-st-price { position: relative; background: var(--nx-surface); border: 1px solid var(--nx-border); border-radius: var(--nx-radius-lg); padding: 26px; box-shadow: var(--nx-shadow-sm); }
.nx-st-price-hot { border-color: var(--nx-primary); box-shadow: var(--nx-glow); }
.nx-st-price-badge { position: absolute; top: -12px; left: 22px; background: linear-gradient(135deg, var(--nx-primary), var(--nx-accent)); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.nx-st-price-name { font-size: 19px; font-weight: 800; color: var(--nx-text); }
.nx-st-price-tagline { font-size: 13.5px; color: var(--nx-muted); min-height: 20px; }
.nx-st-price-row { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--nx-border); }
.nx-st-price-row .c { font-size: 13px; color: var(--nx-muted); min-width: 64px; }
.nx-st-price-row .p { font-weight: 700; color: var(--nx-text); }
.nx-st-price-main .p { font-size: 22px; font-weight: 800; color: var(--nx-primary); }
.nx-st-price-row .setup { font-size: 12px; color: var(--nx-muted); }
.nx-st-price-note { font-size: 12.5px; color: var(--nx-muted); margin: 10px 0 0; }
.nx-st-price-features { list-style: none; padding: 0; margin: 14px 0 0; }
.nx-st-price-features li { font-size: 14px; color: var(--nx-muted); padding: 4px 0; }
.nx-st-price-features i { color: #16a34a; margin-right: 6px; }

.nx-st-specs th { font-weight: 600; color: var(--nx-muted); font-size: 14px; }
.nx-st-specs td { font-weight: 600; color: var(--nx-text); font-size: 14px; }
.nx-st-compare th { font-size: 14px; }

.nx-st-config { padding: 26px 0; }
.nx-st-divider { border: 0; border-top: 1px solid var(--nx-border); opacity: 1; }

/* ---------- 2) Editör arayüzü ---------- */
.st-wrap { --st-bar: #0f172a; --st-panel: #1e293b; --st-line: #334155; --st-accent: #6366f1; }
.st-topbar { display: flex; align-items: center; gap: 10px; background: var(--st-bar); color: #fff; padding: 8px 14px; border-radius: 12px 12px 0 0; flex-wrap: wrap; position: sticky; top: 0; z-index: 1100; }
.st-topbar .btn { --bs-btn-padding-y: .28rem; --bs-btn-padding-x: .7rem; --bs-btn-font-size: .82rem; }
.st-canvas-frame { background: #94a3b8; border-radius: 0 0 12px 12px; padding: 18px; min-height: 70vh; display: flex; justify-content: center; }
.st-canvas-clip { width: 100%; max-width: 100%; transition: max-width .25s ease; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 18px 50px rgba(15,23,42,.35); }
.st-device-tablet .st-canvas-clip { max-width: 768px; }
.st-device-mobile .st-canvas-clip { max-width: 390px; }
.st-canvas-clip iframe { width: 100%; height: 72vh; border: 0; display: block; background: #fff; }

.st-layout { display: grid; grid-template-columns: 260px 1fr 320px; gap: 14px; align-items: start; }
@media (max-width: 1100px) { .st-layout { grid-template-columns: 1fr; } }
.st-panel { background: var(--st-panel); border: 1px solid var(--st-line); border-radius: 12px; color: #e2e8f0; max-height: 76vh; overflow: auto; }
.st-panel-h { position: sticky; top: 0; background: var(--st-panel); z-index: 5; padding: 10px 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #94a3b8; border-bottom: 1px solid var(--st-line); }
.st-palette-search { margin: 10px 12px; }
.st-palette-search input { background: #0f172a; border-color: var(--st-line); color: #e2e8f0; font-size: .84rem; }
.st-palette-search input:focus { background: #0f172a; color: #fff; box-shadow: 0 0 0 .2rem rgba(99,102,241,.25); border-color: var(--st-accent); }
.st-pcat { padding: 8px 14px 2px; font-size: 11.5px; font-weight: 700; color: #64748b; letter-spacing: .05em; text-transform: uppercase; }
.st-pitem { display: flex; align-items: center; gap: 10px; padding: 8px 14px; cursor: grab; font-size: 13.5px; color: #e2e8f0; border-left: 3px solid transparent; user-select: none; }
.st-pitem:hover { background: rgba(99,102,241,.14); border-left-color: var(--st-accent); }
.st-pitem i { color: #818cf8; font-size: 16px; }
.st-pitem.dragging { opacity: .5; }

.st-layers { padding: 8px 6px; }
.st-layer { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; font-size: 13px; cursor: pointer; color: #e2e8f0; }
.st-layer:hover { background: rgba(99,102,241,.12); }
.st-layer.active { background: rgba(99,102,241,.28); }
.st-layer .st-layer-type { color: #64748b; font-size: 11px; margin-left: auto; }
.st-layer .st-layer-badge { font-size: 10px; color: #fbbf24; }
.st-layer-empty { color: #64748b; font-size: 12.5px; padding: 14px; text-align: center; }

.st-inspector { padding: 12px 14px; }
.st-inspector .form-label { color: #94a3b8; font-size: 12px; font-weight: 700; margin-bottom: 3px; }
.st-inspector .form-control, .st-inspector .form-select { background: #0f172a; border-color: var(--st-line); color: #e2e8f0; font-size: .85rem; }
.st-inspector .form-control:focus, .st-inspector .form-select:focus { background: #0f172a; color: #fff; border-color: var(--st-accent); box-shadow: 0 0 0 .2rem rgba(99,102,241,.25); }
.st-inspector .form-check-input:checked { background-color: var(--st-accent); border-color: var(--st-accent); }
.st-field { margin-bottom: 12px; }
.st-field-hint { font-size: 11px; color: #64748b; margin-top: 2px; }
.st-inspector-empty { color: #64748b; text-align: center; padding: 30px 14px; font-size: 13px; }
.st-list-item { border: 1px solid var(--st-line); border-radius: 10px; padding: 10px; margin-bottom: 10px; background: rgba(15,23,42,.5); }
.st-list-item-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; font-size: 12px; color: #818cf8; font-weight: 700; }
.st-canvas-empty { color: #475569; text-align: center; padding: 60px 20px; font-size: 14px; }

/* Kanvas içindeki blok seçim imları (editör modu) */
body.st-editor-body [data-studio-id] { outline: 0; }
.st-hover-outline { outline: 2px dashed rgba(99,102,241,.65) !important; outline-offset: -2px; }
.st-selected-outline { outline: 2.5px solid #6366f1 !important; outline-offset: -2px; }
.st-block-toolbar { position: absolute; top: 6px; right: 8px; z-index: 30; display: none; gap: 4px; background: #0f172a; border-radius: 8px; padding: 4px; box-shadow: 0 6px 18px rgba(15,23,42,.4); }
[data-studio-id] { position: relative; }
.st-selected .st-block-toolbar, .st-hovered .st-block-toolbar { display: inline-flex; }
.st-block-toolbar button { border: 0; background: transparent; color: #cbd5e1; width: 26px; height: 24px; border-radius: 6px; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.st-block-toolbar button:hover { background: #334155; color: #fff; }
.st-block-toolbar button.st-del:hover { background: #7f1d1d; }
.st-block-label { position: absolute; top: 6px; left: 8px; z-index: 30; background: #6366f1; color: #fff; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px; display: none; }
.st-selected .st-block-label, .st-hovered .st-block-label { display: inline-block; }
.st-drop-hint { position: absolute; left: 0; right: 0; height: 3px; background: #6366f1; z-index: 40; border-radius: 2px; box-shadow: 0 0 8px rgba(99,102,241,.8); }
.st-canvas-dragover { box-shadow: inset 0 0 0 3px rgba(99,102,241,.6); }

/* Medya seçici modal grid */
.st-media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.st-media-cell { border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: #f1f5f9; position: relative; }
.st-media-cell img { width: 100%; height: 78px; object-fit: cover; display: block; }
.st-media-cell:hover { border-color: var(--st-accent); }
.st-media-cell.selected { border-color: #6366f1; box-shadow: 0 0 0 2px rgba(99,102,241,.35); }
.st-modal-note { font-size: 12.5px; color: #64748b; }

/* ============================================================
   v1.46.0 Faz 2 — gömülü sahne (giriş/kayıt sol sahnesi)
   Stüdyo blokları nx-auth-side dar kolonuna taşınırken bölüm
   dolguları nötrlenir; kart/başlık stilleri korunur.
   ============================================================ */
.nx-auth-studio { display: flex; flex-direction: column; gap: 6px; }
.nx-auth-studio .nx-st { padding: 6px 0; }
.nx-auth-studio .nx-st:first-child { padding-top: 0; }
.nx-auth-studio .nx-container { width: 100%; padding: 0; }
.nx-auth-studio .nx-st-h { font-size: 20px; color: #fff; }
.nx-auth-studio .nx-st-card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.nx-auth-studio .nx-st-card-title { color: #fff; }
.nx-auth-studio .nx-st-card-text { color: rgba(255,255,255,.78); }
.nx-auth-studio .nx-st-lead, .nx-auth-studio p { color: rgba(255,255,255,.85); }

/* ============================================================
   v1.47.0 Faz 3 — kapsayıcı (section), çoklu seçim, sağ tık menüsü,
   dil görünürlüğü, auth kanvas kabuğu
   ============================================================ */

/* ---- Ön yüz: kapsayıcı + çocuklar ---- */
.nx-st-sec-body { display: flex; flex-direction: column; gap: 8px; }
.nx-st-sec.nx-st-cols-2 .nx-st-sec-body { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.nx-st-sec.nx-st-cols-3 .nx-st-sec-body { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 767.98px) {
  .nx-st-sec.nx-st-cols-2 .nx-st-sec-body,
  .nx-st-sec.nx-st-cols-3 .nx-st-sec-body { grid-template-columns: 1fr; }
}
.nx-st-sec-center .nx-st-sec-heading { text-align: center; }
.nx-st-sec-heading { font-weight: 800; letter-spacing: -.02em; color: var(--nx-text); font-size: clamp(20px, 2.6vw, 30px); margin: 0 0 14px; }
.nx-st-bg-primary .nx-st-sec-heading, .nx-st-bg-dark .nx-st-sec-heading { color: #fff; }
.nx-st-child { min-width: 0; }
.nx-st-child .nx-st { padding: 0; }
.nx-st-child .nx-st-child { padding: 0; }
.nx-st-sec > .nx-container > .nx-st-child > .nx-st { padding: 0; }

/* ---- Editör: katman ağacı ---- */
.st-layer-child { margin-left: 18px; position: relative; }
.st-layer-child::before { content: ''; position: absolute; left: -12px; top: 0; bottom: 50%; width: 10px; border-left: 1px solid #475569; border-bottom: 1px solid #475569; border-bottom-left-radius: 6px; }
.st-layer-empty-c { color: #475569; font-style: italic; font-size: 12px; cursor: default; }
.st-layer-empty-c:hover { background: transparent; }
.st-multihint { margin: 8px 8px 4px; padding: 7px 10px; border-radius: 8px; background: rgba(99,102,241,.14); color: #c7d2fe; font-size: 12px; }

/* ---- Editör: sağ tık menüsü (kanvas VE panel sayfasında çalışır) ---- */
.st-ctx-menu { position: absolute; z-index: 4000; background: #0f172a; border: 1px solid #334155; border-radius: 10px; padding: 6px; min-width: 210px; box-shadow: 0 18px 40px rgba(2,6,23,.55); }
.st-ctx-menu button { display: flex; align-items: center; gap: 9px; width: 100%; border: 0; background: transparent; color: #e2e8f0; font-size: 13px; padding: 7px 10px; border-radius: 7px; text-align: left; }
.st-ctx-menu button:hover { background: rgba(99,102,241,.2); color: #fff; }
.st-ctx-menu button.st-ctx-danger:hover { background: #7f1d1d; }
.st-ctx-menu button i { color: #818cf8; width: 16px; }
.st-ctx-menu button.st-ctx-danger i { color: #f87171; }
.st-ctx-sep { height: 1px; background: #334155; margin: 5px 4px; }

/* ---- Editör: dil kutuları ---- */
.st-langs { display: flex; flex-wrap: wrap; gap: 2px 6px; }

/* ---- Editör: auth kanvası — gerçek giriş ekranı bağlamı ---- */
.st-auth-ctx-note { position: sticky; top: 0; z-index: 1200; background: rgba(15,23,42,.92); color: #cbd5e1; font-size: 12.5px; padding: 7px 14px; }
.st-auth-ctx-note i { color: #818cf8; margin-right: 6px; }
.nx-auth-canvas-side .nx-st { padding: 6px 0; }
.nx-auth-canvas-form { display: flex; align-items: center; justify-content: center; padding: 3rem 1.5rem; min-height: 70vh; }
.nx-auth-canvas-form .nx-auth-canvas-card { background: var(--nx-surface); border: 1px dashed var(--nx-border); border-radius: var(--nx-radius-xl); padding: 38px 34px; max-width: 430px; width: 100%; color: var(--nx-muted); font-size: 14px; text-align: center; }
.nx-auth-canvas-card i { font-size: 30px; color: var(--nx-primary); display: block; margin-bottom: 10px; }
.nx-auth-canvas-card h3 { font-size: 17px; font-weight: 800; color: var(--nx-text); margin-bottom: 6px; }

/* ============================================================
   v1.48.0 — A/B + SDK + kapsayıcı hizalama/genişlik + koyu kanvas
   ============================================================ */

/* ---- Ön yüz: kapsayıcı dikey hizalama + çocuk sütun kapsamı ---- */
.nx-st-sec.nx-st-valign-center .nx-st-sec-body { align-items: center; }
.nx-st-sec.nx-st-valign-stretch .nx-st-sec-body { align-items: stretch; }
.nx-st-w-full { grid-column: 1 / -1; }
.nx-st-cols-2 .nx-st-w-span2 { grid-column: span 2; }
.nx-st-cols-3 .nx-st-w-span2 { grid-column: span 2; }
.nx-st-cols-3 .nx-st-w-span3 { grid-column: span 3; }
@media (max-width: 767.98px) {
  /* tek sütuna düşen düzenlerde kapsam doğal olarak tam genişliktir */
  .nx-st-w-span2, .nx-st-w-span3 { grid-column: auto; }
}

/* ---- Ön yüz: SDK sözleşme stilleri ---- */
.nx-st-sdk-card .nx-st-sdk-img { max-width: 100%; height: auto; border-radius: var(--nx-radius); }
.nx-st-sdk-list { border: 1px solid var(--nx-border); overflow: hidden; }
.nx-st-pref-note { margin-top: 4px; }
/* v1.49.0: banner sözleşmesi görsel alanı — şerit içinde sabit yükseklikli küçük görsel */
.nx-st-sdk-banner-img { height: 56px; width: auto; max-width: 100%; object-fit: contain; border-radius: var(--nx-radius); }

/* ---- Editör: koyu mod kanvas çerçevesi (yalnız kabuk göstergesi) ---- */
.st-mode-dark { box-shadow: 0 18px 50px rgba(2,6,23,.6); outline: 2px solid #334155; }
[data-mode="dark"] .bi-moon-stars { color: #a5b4fc; }

/* ============================================================
   v1.51.0 — sayfa düzenleyici geliştirme turu:
   palet sekmeleri + hazır şablonlar + son kullanılanlar,
   katman sürükleme göstergesi, ürün çipleri, ikon seçici,
   kısayol tablosu
   ============================================================ */

/* ---- Palet sekmeleri ---- */
.st-palette-tabs { display: flex; gap: 4px; }
.st-ptab { flex: 1; border: 0; background: transparent; color: #94a3b8; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 10px 6px; border-bottom: 2px solid transparent; }
.st-ptab:hover { color: #e2e8f0; }
.st-ptab.active { color: #c7d2fe; border-bottom-color: var(--st-accent); }
.st-recent-head { color: #818cf8 !important; }

/* ---- Hazır şablonlar ---- */
.st-preset-note { padding-bottom: 4px; }
.st-preset-item { display: flex; align-items: center; gap: 12px; padding: 9px 14px; cursor: pointer; font-size: 13.5px; color: #e2e8f0; border-left: 3px solid transparent; user-select: none; }
.st-preset-item:hover { background: rgba(99,102,241,.14); border-left-color: var(--st-accent); }
.st-preset-item i { color: #818cf8; font-size: 18px; }
.st-preset-label { font-weight: 600; }
.st-preset-type { font-size: 11.5px; color: #64748b; }

/* ---- Katman sürükleme göstergesi ---- */
.st-layer[draggable="true"] { cursor: grab; }
.st-layer.dragging { opacity: .45; }
.st-layer.drop-before { box-shadow: inset 0 3px 0 #6366f1; }
.st-layer.drop-after { box-shadow: inset 0 -3px 0 #6366f1; }

/* ---- Ürün seçici çipleri ---- */
.st-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.st-chips-empty { font-size: 12px; color: #64748b; font-style: italic; }
.st-chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(99,102,241,.16); border: 1px solid rgba(99,102,241,.4); color: #e2e8f0; font-size: 12px; padding: 3px 6px 3px 9px; border-radius: 999px; max-width: 100%; }
.st-chip i { color: #818cf8; font-size: 12px; }
.st-chip-x { border: 0; background: transparent; color: #cbd5e1; padding: 0 2px; line-height: 1; border-radius: 50%; }
.st-chip-x:hover { color: #fff; background: #7f1d1d; }
.st-prod { position: relative; }
.st-prod-results { position: absolute; top: 100%; left: 0; right: 0; z-index: 60; background: #0f172a; border: 1px solid var(--st-line); border-radius: 8px; margin-top: 3px; max-height: 220px; overflow: auto; box-shadow: 0 14px 32px rgba(2,6,23,.5); }
.st-prod-item { display: flex; align-items: center; gap: 7px; width: 100%; border: 0; background: transparent; color: #e2e8f0; font-size: 12.5px; text-align: left; padding: 7px 10px; }
.st-prod-item:hover { background: rgba(99,102,241,.2); color: #fff; }
.st-prod-item i { color: #818cf8; }
.st-prod-sku { color: #64748b; font-size: 11px; }
.st-prod-id { margin-left: auto; color: #818cf8; font-size: 11px; }
.st-prod-empty { padding: 8px 10px; color: #64748b; font-size: 12px; }

/* ---- İkon seçici ---- */
.st-icon-wrap { display: flex; gap: 6px; align-items: stretch; position: relative; }
.st-icon-wrap input[data-ftype="icon"] { flex: 1; }
.st-icon-browse { white-space: nowrap; }
.st-icon-pop { position: absolute; top: calc(100% + 4px); left: 0; z-index: 70; width: 262px; background: #0f172a; border: 1px solid var(--st-line); border-radius: 10px; padding: 8px; box-shadow: 0 16px 36px rgba(2,6,23,.55); }
.st-icon-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; max-height: 190px; overflow: auto; margin-top: 6px; }
.st-icon-cell { border: 0; background: transparent; color: #cbd5e1; font-size: 15px; padding: 6px 0; border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.st-icon-cell:hover { background: rgba(99,102,241,.25); color: #fff; }

/* ---- Kısayol tablosu ---- */
.st-shortcut-grid { display: grid; grid-template-columns: auto 1fr; gap: 7px 14px; font-size: 13px; align-items: center; }
.st-shortcut-grid kbd { background: #0f172a; border: 1px solid #475569; border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; font-size: 11.5px; color: #e2e8f0; }

/* ---- v1.52.0: Tam sayfa şablonları ---- */
.st-tpl-group { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: #94a3b8; padding: 10px 14px 4px; }
.st-tpl-item { margin: 6px 10px; border: 1px solid var(--st-line); border-radius: 10px; padding: 10px; background: rgba(15,23,42,.35); }
.st-tpl-item:hover { border-color: rgba(99,102,241,.55); }
.st-tpl-head { display: flex; gap: 9px; align-items: flex-start; }
.st-tpl-head > i { color: #818cf8; font-size: 17px; margin-top: 2px; }
.st-tpl-txt { flex: 1; min-width: 0; }
.st-tpl-label { font-size: 13px; font-weight: 600; color: #e2e8f0; }
.st-tpl-desc { font-size: 11.5px; color: #94a3b8; margin-top: 2px; line-height: 1.45; }
.st-tpl-meta { font-size: 10.5px; color: #64748b; margin-top: 3px; text-transform: uppercase; letter-spacing: .04em; }
.st-tpl-actions { display: flex; gap: 6px; margin-top: 8px; }

/* ---- v1.52.0: Kanvas içi sürükle-sırala göstergeleri (iframe içinde) ---- */
[data-studio-id].st-drop-before { box-shadow: inset 0 4px 0 #6366f1, 0 0 0 2px rgba(99,102,241,.35); }
[data-studio-id].st-drop-after { box-shadow: inset 0 -4px 0 #6366f1, 0 0 0 2px rgba(99,102,241,.35); }
[data-studio-id].st-dragging { opacity: .45; outline: 2px dashed #6366f1; }

/* ============================================================
   v1.53.0 — adan zeye envanter turu:
   (a) YENİ BLOKLARIN ÖN YÜZ stilleri (steps, testimonials, logos,
       countdown, video, gallery, team, quote, timeline, social)
   (b) Editör envanter UX: palet daraltma + favoriler, preset/
       şablon arama-gruplama, katman blok sayacı, liste-ler arası
       sürükleme göstergeleri
   ============================================================ */

/* ---- (a) Adım kartları ---- */
.nx-st-step { position: relative; padding-top: 34px; }
.nx-st-step-no { position: absolute; top: 12px; right: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--nx-primary, #4f46e5); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
/* ---- Müşteri yorumları ---- */
.nx-st-quote-card { padding: 18px; }
.nx-st-stars { color: #f59e0b; font-size: 13.5px; letter-spacing: 2px; margin-bottom: 8px; }
.nx-st-quote-text { font-size: 14.5px; line-height: 1.55; color: inherit; }
.nx-st-quote-by { font-size: 12.5px; }
/* ---- Referans logoları ---- */
.nx-st-logos-head { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.nx-st-logo { height: 34px; max-width: 140px; object-fit: contain; opacity: .85; }
.nx-st-logo-gray { filter: grayscale(1); opacity: .7; transition: opacity .2s; }
.nx-st-logo-gray:hover { opacity: 1; }
/* ---- Geri sayım bandı ---- */
.nx-st-cd { text-align: center; border-radius: 14px; padding: 26px 18px; color: #fff; background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.nx-st-cd-surface { background: var(--bs-body-bg, #fff); color: inherit; border: 1px solid rgba(100,116,139,.25); }
.nx-st-cd-dark { background: #0f172a; color: #e2e8f0; }
.nx-st-cd-heading { font-size: 17px; font-weight: 700; }
.nx-st-cd-note { font-size: 13px; opacity: .85; }
.nx-st-cd-unit { min-width: 62px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); border-radius: 10px; padding: 8px 4px; display: inline-flex; flex-direction: column; }
.nx-st-cd-unit b { font-size: 22px; font-variant-numeric: tabular-nums; }
.nx-st-cd-unit small { font-size: 10.5px; opacity: .8; text-transform: uppercase; letter-spacing: .05em; }
.nx-st-cd-surface .nx-st-cd-unit { background: rgba(79,70,229,.08); border-color: rgba(79,70,229,.25); }
.nx-st-cd-expired { font-weight: 600; }
/* ---- Video ---- */
.nx-st-video { position: relative; width: 100%; padding-top: 56.25%; border-radius: 12px; overflow: hidden; background: #0f172a; }
.nx-st-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nx-st-video-caption { text-align: center; }
/* ---- Galeri ---- */
.nx-st-gallery-item { position: relative; border-radius: 10px; overflow: hidden; background: rgba(100,116,139,.12); }
.nx-st-gallery-item img { width: 100%; height: 170px; object-fit: cover; display: block; }
.nx-st-gallery-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 10px; font-size: 12px; color: #fff; background: linear-gradient(transparent, rgba(2,6,23,.72)); }
/* ---- Ekip kartları ---- */
.nx-st-member-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin: 8px auto 10px; display: block; border: 3px solid rgba(99,102,241,.35); }
.nx-st-member-initial { width: 84px; height: 84px; border-radius: 50%; margin: 8px auto 10px; display: flex; align-items: center; justify-content: center; background: rgba(99,102,241,.16); color: #818cf8; font-size: 30px; font-weight: 700; }
.nx-st-member-name { font-size: 15px; }
.nx-st-member-role { font-size: 12.5px; }
/* ---- Alıntı bandı ---- */
.nx-st-quote { border-left: 4px solid #6366f1; background: rgba(99,102,241,.08); border-radius: 0 12px 12px 0; padding: 20px 22px; margin: 0; }
.nx-st-quote-primary { background: var(--nx-primary, #4f46e5); color: #fff; border-left-color: rgba(255,255,255,.6); }
.nx-st-quote-dark { background: #0f172a; color: #e2e8f0; border-left-color: #6366f1; }
.nx-st-quote-body { font-size: 17px; line-height: 1.6; font-style: italic; }
.nx-st-quote-footer { font-size: 12.5px; opacity: .85; }
/* ---- Zaman çizelgesi ---- */
.nx-st-timeline { position: relative; padding-left: 6px; }
.nx-st-tl-item { position: relative; padding: 0 0 18px 26px; border-left: 2px solid rgba(99,102,241,.35); margin-left: 8px; }
.nx-st-tl-item:last-child { border-left-color: transparent; padding-bottom: 2px; }
.nx-st-tl-dot { position: absolute; left: -8px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #6366f1; border: 3px solid var(--bs-body-bg, #fff); }
.nx-st-tl-date { font-variant-numeric: tabular-nums; }
.nx-st-tl-title { font-size: 14.5px; }
/* ---- Sosyal bağlantı şeridi ---- */
.nx-st-social-link i { font-size: 14px; }

/* ---- (b) Palet: daraltılabilir kategori + favoriler ---- */
.st-pcat { display: flex; align-items: center; gap: 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #64748b; padding: 12px 14px 5px; user-select: none; }
.st-pcat[data-collapsible="1"] { cursor: pointer; }
.st-pcat[data-collapsible="1"]:hover { color: #94a3b8; }
.st-pcat-caret { font-size: 10px; transition: transform .15s; }
.st-pcat.collapsed-cat .st-pcat-caret { transform: rotate(-90deg); }
.st-pgroup-items { overflow: hidden; }
.st-pgroup-items.cat-hidden { display: none; }
.st-pitem { display: flex; align-items: center; gap: 9px; padding: 7px 10px 7px 14px; cursor: grab; font-size: 13px; color: #e2e8f0; border-left: 3px solid transparent; user-select: none; }
.st-pitem:hover { background: rgba(99,102,241,.14); border-left-color: var(--st-accent); }
.st-pitem .st-pitem-star { margin-left: auto; border: 0; background: transparent; color: #475569; font-size: 12px; padding: 2px 4px; line-height: 1; }
.st-pitem .st-pitem-star:hover, .st-pitem .st-pitem-star.on { color: #fbbf24; }
.st-recent-head { color: #818cf8 !important; }
.st-fav-head { color: #fbbf24 !important; }
.st-pcat-count { margin-left: auto; font-size: 10px; color: #475569; background: rgba(100,116,139,.18); border-radius: 999px; padding: 1px 7px; }

/* ---- (b) Palet/preset/şablon arama kutuları ---- */
.st-pane-search { padding: 10px 12px 0; }
/* ---- Katman blok sayacı ---- */
.st-layer-count { font-size: 10.5px; color: #64748b; padding: 6px 14px 2px; }
/* ---- Liste-ler arası sürükleme (kapsayıcı hedefi) ---- */
.st-layer.drop-into { box-shadow: inset 0 0 0 2px #22c55e; background: rgba(34,197,94,.08); }
.st-layer.drop-into .st-layer-into-hint { display: inline; }
.st-layer-into-hint { display: none; font-size: 9.5px; color: #22c55e; margin-left: 4px; text-transform: uppercase; }
.st-layer.cross-list-target { outline: 1px dashed rgba(99,102,241,.6); outline-offset: -1px; }
