/* =========================================================
   Mağaza › 3MF → STL çevirici
   ========================================================= */
.sp-hero { padding: 48px 0 28px; background: radial-gradient(120% 120% at 0% 0%, #eaf1ff, transparent 60%), radial-gradient(80% 100% at 100% 0%, #f0f9ff, transparent 60%); }
.sp-hero__inner { display: grid; justify-items: center; gap: 12px; max-width: 760px; text-align: center; }
.sp-eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: #fff; color: var(--color-primary); font-size: 13px; font-weight: 700; box-shadow: 0 6px 18px -10px rgba(1, 88, 247, 0.6); }
.sp-eyebrow .lucide { width: 15px; height: 15px; }
.sp-hero h1 { font-size: clamp(1.75rem, 4.5vw, 2.75rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; }
.sp-hero h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sp-hero p { max-width: 640px; color: #52627a; font-size: 1.02rem; line-height: 1.6; }

.sp { display: grid; gap: 18px; max-width: 1080px; padding-bottom: 40px; }

/* Yükleme */
.sp-drop { display: grid; justify-items: center; gap: 8px; padding: 48px 24px 40px; border: 2px dashed #b9cdf9; border-radius: 24px; background: #fff; text-align: center; cursor: pointer; box-shadow: 0 20px 50px -34px rgba(15, 23, 42, 0.45); transition: border-color 200ms ease, background 200ms ease, transform 200ms ease; }
.sp-drop[hidden] { display: none; }
.sp-drop:hover, .sp.is-drag .sp-drop { border-color: var(--color-primary); background: #f5f8ff; }
.sp.is-drag .sp-drop { transform: scale(1.01); }
.sp.is-out .sp-drop { cursor: not-allowed; opacity: 0.75; }
.sp-drop__icon { display: grid; place-items: center; width: 70px; height: 70px; margin-bottom: 6px; border-radius: 22px; background: var(--grad); color: #fff; box-shadow: 0 16px 30px -14px rgba(1, 88, 247, 0.8); }
.sp-drop__icon .lucide { width: 32px; height: 32px; }
.sp-drop b { font-size: 1.2rem; }
.sp-drop small { color: #7a889c; font-size: 14px; }
.sp-drop__btn { margin-top: 8px; pointer-events: none; }
.sp-left { margin-top: 6px; color: #15803d; font-size: 13px; font-weight: 700; }
.sp-left:empty { display: none; }
.sp-left.is-out { color: #dc2626; }

/* İşleniyor */
.sp-busy { display: flex; align-items: center; gap: 16px; padding: 24px; border: 1px solid #e3e9f2; border-radius: 20px; background: #fff; }
.sp-busy[hidden] { display: none; }
.sp-busy > div { display: grid; flex: 1; gap: 4px; min-width: 0; }
.sp-busy b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-busy small { color: #52627a; font-size: 14px; }
.sp-spin { flex-shrink: 0; width: 36px; height: 36px; border: 3px solid #dbe7ff; border-top-color: var(--color-primary); border-radius: 50%; animation: sp-spin 0.9s linear infinite; }
@keyframes sp-spin { to { transform: rotate(360deg); } }
.sp-bar { height: 6px; margin-top: 4px; overflow: hidden; border-radius: 99px; background: #eef2f7; }
.sp-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--color-primary); transition: width 200ms ease; }
.sp-bar i.is-busy { width: 100%; background: linear-gradient(90deg, #0158f7 0%, #7fb0ff 50%, #0158f7 100%); background-size: 200% 100%; animation: sp-flow 1.2s linear infinite; }
@keyframes sp-flow { to { background-position: -200% 0; } }

/* Hata */
.sp-err { display: flex; gap: 12px; padding: 16px 20px; border: 1px solid #fecaca; border-radius: 18px; background: #fef2f2; }
.sp-err[hidden] { display: none; }
.sp-err__icon { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: #dc2626; color: #fff; }
.sp-err b { color: #991b1b; }
.sp-err p { margin-top: 2px; color: #7f1d1d; font-size: 14px; line-height: 1.5; }

/* Sonuç */
.sp-result { display: grid; gap: 18px; }
.sp-result[hidden] { display: none; }
@media (min-width: 900px) { .sp-result { grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr); align-items: start; } }
.sp-view { position: relative; overflow: hidden; height: 420px; border: 1px solid #e3e9f2; border-radius: 24px; background: radial-gradient(120% 90% at 50% 10%, #f8fafc, #e2e8f0); }
@media (max-width: 640px) { .sp-view { height: 300px; } }
.sp-view canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.sp-view__msg { position: absolute; inset: 0; display: grid; place-items: center; color: #7a889c; font-size: 14px; pointer-events: none; }
.sp-view__msg[hidden] { display: none; }
.sp-view__hint { position: absolute; left: 12px; bottom: 10px; padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.85); color: #7a889c; font-size: 12px; pointer-events: none; }
.sp-sum { display: grid; gap: 16px; padding: 22px; border: 1px solid #e3e9f2; border-radius: 24px; background: #fff; }
.sp-sum__ok { display: flex; align-items: center; gap: 12px; }
.sp-sum__icon { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 14px; background: #16a34a; color: #fff; }
.sp-sum__ok div { display: grid; }
.sp-sum__ok small { color: #7a889c; font-size: 13px; }
.sp-objs { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid #e3e9f2; }
.sp-objs li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #e3e9f2; }
.sp-objs__name { display: grid; min-width: 0; }
.sp-objs__name b { font-size: 15px; }
.sp-objs__name small { color: #7a889c; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.sp-objs__size { flex-shrink: 0; padding: 3px 9px; border-radius: 99px; background: #eef2f7; color: #52627a; font-size: 12px; font-weight: 700; white-space: nowrap; }
.sp-objs__size.is-same { background: #f0fdf4; color: #15803d; }
.sp-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-actions .btn[hidden] { display: none; }
@media (max-width: 480px) { .sp-actions { display: grid; } .sp-actions .btn { justify-content: center; } }

/* Bilgiler */
.sp-points { display: grid; gap: 12px; margin: 6px 0 0; padding: 0; list-style: none; }
@media (min-width: 800px) { .sp-points { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sp-points li { display: flex; gap: 10px; padding: 14px 16px; border: 1px solid #e3e9f2; border-radius: 16px; background: #fff; color: #52627a; font-size: 14px; line-height: 1.5; }
.sp-points .lucide { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; color: var(--color-primary); }
.sp-points b { color: #0f172a; }
.sp-faq { padding: 16px 20px; border: 1px solid #e3e9f2; border-radius: 16px; background: #fff; color: #52627a; font-size: 14px; line-height: 1.6; }
.sp-faq summary { color: #0f172a; font-weight: 700; cursor: pointer; }
.sp-faq ol { margin: 10px 0 8px; padding-left: 20px; }

/* Ücretsiz modeller */
.sp-free { padding-bottom: 56px; }
.sp-free__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sp-free__head h2 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.sp-free__head a { display: inline-flex; align-items: center; gap: 4px; color: var(--color-primary); font-weight: 700; text-decoration: none; }
.sp-free__head .lucide { width: 16px; height: 16px; }
.sp-free__rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
