/* =========================================================================
   Stokwerk — distribütörler için B2B bayi portalı.
   Gece laciverti zemin, sinyal turuncusu eylem, Space Grotesk başlık.
   İmza öğe: hero'daki "stok dosyası kontrolü" kartı.
   ========================================================================= */
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('fonts/space-grotesk.woff2') format('woff2'); }

body.fv-stokwerk {
	--display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
	--govde: 'Schibsted Grotesk', 'Segoe UI', system-ui, sans-serif;
	--s-gece: #0B2545;
	--s-gece-2: #13315C;
	--s-murekkep: #0E1A2E;
	--s-turuncu: #FA4E1D;
	--s-turuncu-koyu: #D93C0E;
	--s-beton: #EEF1F4;
	--s-cizgi: #D5DCE4;
	--s-gri: #4E5B6E;
	--s-yesil: #13A26B;
	--odak: #FA4E1D;
	color: var(--s-murekkep);
	background: #fff;
}

/* ürün menüsü — koyu */
.sw-ust { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; background: var(--s-gece); transition: box-shadow .3s; }
.sw-ust.is-kaydi { box-shadow: 0 1px 0 rgba(255, 255, 255, .08), 0 10px 30px -20px rgba(0, 0, 0, .6); }
.sw-ust-ic { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 70px; }
.sw-marka { flex: none; }
.sw-marka img { height: 28px; width: auto; }
body.fv-stokwerk .fv-menu a { color: #B9C6DA; }
body.fv-stokwerk .fv-menu a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
body.fv-stokwerk .fv-ust-sag .fv-dil a { color: #B9C6DA; }
body.fv-stokwerk .fv-ust-sag .fv-dil [aria-current] { background: rgba(255, 255, 255, .12); color: #fff; }
body.fv-stokwerk .fv-hamburger { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #fff; }
body.fv-stokwerk .fv-hamburger span { background: #fff; }
@media (max-width: 960px) {
	.fv-ust-sag .sw-ust-cta { display: none; }
	body.fv-stokwerk .fv-menu { background: var(--s-gece); }
}

.sw-btn { display: inline-flex; align-items: center; justify-content: center; padding: .95em 1.45em; border-radius: 8px; font: 600 .97rem/1 var(--govde); border: 1.5px solid transparent; transition: background .2s, border-color .2s, color .2s; white-space: nowrap; min-height: 46px; }
.sw-btn-turuncu { background: #D93D0F; color: #fff; }
.sw-btn-turuncu:hover { background: #B8330B; }
.sw-btn-hayalet { border-color: rgba(255, 255, 255, .28); color: #fff; }
.sw-btn-hayalet:hover { border-color: #fff; }
.sw-btn-kucuk { padding: .7em 1.05em; font-size: .9rem; min-height: 0; }

.sw-h1, .sw-h2 { font-family: var(--display); letter-spacing: -.025em; text-wrap: balance; }
.sw-h1 { font-size: clamp(2.3rem, 4.3vw, 3.9rem); font-weight: 700; line-height: 1.02; color: #fff; }
.sw-h2 { font-size: clamp(1.85rem, 3vw, 2.6rem); font-weight: 700; line-height: 1.08; color: var(--s-gece); }

/* hero */
.sw-hero { background: var(--s-gece); color: #C9D4E5; padding-block: clamp(40px, 6vw, 84px) clamp(70px, 8vw, 120px); overflow: hidden; position: relative; }
.sw-hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 1px; background: rgba(255, 255, 255, .08); }
.sw-hero-ic { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.sw-hero-metin { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; min-width: 0; }
.sw-cip { color: #FFB59E; font-size: .92rem; font-weight: 600; }
.sw-alt { font-size: 1.12rem; max-width: 34em; }
.sw-btnler { display: flex; flex-wrap: wrap; gap: 12px; }
.sw-kisa { display: flex; flex-direction: column; gap: 8px; font-size: .92rem; color: #9FB0C9; }
.sw-kisa li { display: flex; align-items: center; gap: 10px; }
.sw-kisa li::before { content: ''; width: 14px; height: 2px; background: var(--s-turuncu); }

.sw-sahne { position: relative; padding-bottom: 48px; min-width: 0; }
.sw-pencere { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--s-cizgi), 0 30px 60px -30px rgba(11, 37, 69, .45); }
.sw-pencere-ust { display: flex; gap: 6px; align-items: center; height: 28px; padding-inline: 12px; background: #F4F6F9; border-bottom: 1px solid var(--s-cizgi); }
.sw-pencere-ust i { width: 9px; height: 9px; border-radius: 50%; background: #CBD3DE; }
.sw-pencere-ust b { margin-left: 10px; font: 500 .72rem var(--govde); color: #7A879A; }
.sw-pencere img { display: block; width: 100%; height: auto; }
.sw-hero .sw-pencere { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -30px rgba(0, 0, 0, .7); }
.sw-pencere-ana { transform: perspective(1800px) rotateY(-7deg) rotateX(3deg); transform-origin: left center; }

/* imza öğe: stok dosyası kontrol kartı */
.sw-kontrol { position: absolute; left: -7%; bottom: 0; width: min(330px, 62%); background: #fff; color: var(--s-murekkep); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 0 0 1px var(--s-cizgi), 0 30px 60px -20px rgba(0, 0, 0, .55); }
.sw-kontrol-bas { display: flex; gap: 12px; align-items: center; }
.sw-dosya { flex: none; width: 40px; height: 40px; border-radius: 8px; background: #E5F6EE; color: var(--s-yesil); display: grid; place-items: center; font: 700 .7rem var(--govde); }
.sw-kontrol-bas b { display: block; font-size: 1rem; }
.sw-kontrol-bas small { display: block; color: var(--s-gri); font-size: .8rem; }
.sw-fark { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sw-fark li { border-radius: 8px; padding: 8px 10px; font-size: .74rem; color: var(--s-gri); display: flex; flex-direction: column; }
.sw-fark b { font: 700 1.3rem/1.1 var(--display); color: var(--s-murekkep); font-variant-numeric: tabular-nums; }
.sw-fark .art { background: #E8F3FD; } .sw-fark .az { background: #EEEBFD; } .sw-fark .sif { background: #FFF1E9; }
.sw-uyari { display: flex; gap: 8px; align-items: flex-start; font-size: .8rem; font-weight: 500; line-height: 1.35; color: #B42318; background: #FEF1F0; border-radius: 8px; padding: 9px 11px; }
.sw-uyari::before { content: '!'; flex: none; width: 18px; height: 18px; border-radius: 50%; background: #D92D20; color: #fff; display: grid; place-items: center; font-size: .72rem; font-weight: 700; }
/* tek seferlik giriş: sayaçlar dolar, ardından uyarı belirir */
.sw-kontrol.is-bekle .sw-uyari { opacity: 0; transform: translateY(6px); }
.sw-kontrol .sw-uyari { transition: opacity .45s ease, transform .45s ease; }

@media (max-width: 1020px) {
	.sw-hero-ic { grid-template-columns: 1fr; }
	.sw-pencere-ana { transform: none; }
	.sw-kontrol { left: 0; }
}
@media (max-width: 560px) {
	.sw-sahne { padding-bottom: 0; display: flex; flex-direction: column; gap: 14px; }
	.sw-kontrol { position: static; width: 100%; }
}

/* bölümler */
.sw-bolum { padding-block: clamp(70px, 8vw, 116px); }
.sw-bas { display: flex; flex-direction: column; gap: 14px; max-width: 46em; }
.sw-bas p { color: var(--s-gri); font-size: 1.06rem; }

.sw-koruma { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.sw-koruma-metin { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.sw-koruma-metin > p { color: var(--s-gri); font-size: 1.05rem; }
.sw-kurallar { margin: 6px 0 0; display: flex; flex-direction: column; }
.sw-kurallar div { display: grid; grid-template-columns: 9.5em 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--s-cizgi); }
.sw-kurallar dt { font-weight: 700; color: var(--s-gece); display: flex; align-items: baseline; gap: 8px; }
.sw-kurallar dt::before { content: ''; flex: none; width: 8px; height: 8px; background: var(--s-turuncu); transform: translateY(-1px); }
.sw-kurallar dd { margin: 0; color: var(--s-gri); font-size: .96rem; }
@media (max-width: 900px) { .sw-koruma { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .sw-kurallar div { grid-template-columns: 1fr; gap: 2px; } }

.sw-bayi { background: var(--s-beton); }
.sw-akis { counter-reset: adim; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: 40px; }
.sw-akis li { counter-increment: adim; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sw-akis b { font: 700 1.2rem var(--display); color: var(--s-gece); display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.sw-akis b::before { content: counter(adim); flex: none; width: 28px; height: 28px; border-radius: 6px; background: var(--s-turuncu); color: #fff; display: grid; place-items: center; font-size: .9rem; }
.sw-akis p { color: var(--s-gri); font-size: .96rem; }
.sw-kirp { margin: 0; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--s-cizgi), 0 20px 40px -26px rgba(11, 37, 69, .45); aspect-ratio: 4 / 3; max-width: 100%; }
.sw-kirp { position: relative; }
.sw-kirp img { position: absolute; top: 0; left: 0; width: var(--z, 150%); max-width: none; height: auto; display: block; }
.sw-kirp-sag { --z: 190%; }
.sw-kirp-sag img { left: auto; right: 0; }
@media (max-width: 900px) { .sw-akis { grid-template-columns: 1fr; gap: 36px; } }

.sw-yonetim { background: var(--s-gece); color: #C9D4E5; }
.sw-yonetim .sw-h2 { color: #fff; }
.sw-panel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 3vw, 44px); align-items: start; margin-top: 36px; }
.sw-sekmeler { display: flex; flex-direction: column; gap: 4px; }
.sw-sekmeler button { text-align: left; background: none; border: 0; border-left: 2px solid rgba(255, 255, 255, .14); color: #9FB0C9; padding: 14px 18px; cursor: pointer; font: inherit; display: flex; flex-direction: column; gap: 4px; transition: border-color .2s, background .2s, color .2s; }
.sw-sekmeler button b { font: 700 1.08rem var(--display); color: #DCE4F0; }
.sw-sekmeler button span { font-size: .92rem; line-height: 1.45; display: none; }
.sw-sekmeler button:hover { background: rgba(255, 255, 255, .04); }
.sw-sekmeler button[aria-selected="true"] { border-left-color: var(--s-turuncu); background: rgba(255, 255, 255, .06); color: #C9D4E5; }
.sw-sekmeler button[aria-selected="true"] b { color: #fff; }
.sw-sekmeler button[aria-selected="true"] span { display: block; }
.sw-panel-ekran [role="tabpanel"] { display: none; }
.sw-panel-ekran [role="tabpanel"].is-aktif { display: block; }
.sw-yonetim .sw-pencere { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -30px rgba(0, 0, 0, .7); }
@media (max-width: 900px) { .sw-panel { grid-template-columns: 1fr; } .sw-sekmeler button { padding: 12px 14px; } }

.sw-teknik { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.sw-teknik-metin { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.sw-teknik-metin p { color: var(--s-gri); font-size: 1.06rem; }
.sw-ozet { margin: 0; border-top: 2px solid var(--s-gece); }
.sw-ozet div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--s-cizgi); }
.sw-ozet dt { color: var(--s-gri); }
.sw-ozet dd { margin: 0; font-weight: 500; }
@media (max-width: 900px) { .sw-teknik { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .sw-ozet div { grid-template-columns: 1fr; gap: 2px; } }

@media (prefers-reduced-motion: reduce) {
	.sw-kontrol .sw-uyari { transition: none; }
}
