/* ============================================================================
 * TOPTANCI BAYİ (toptancibayi.com) — KURUMSAL B2B AÇIK / LACİVERT-MAVİ-TURUNCU TEMA
 * Tenant-Protected Theme Override (Loaded last in RootLayout via /tenant/theme.css)
 * Ana Mockup Referansları:
 * - Kurumsal Açık Zemin: #F8FAFC / #FFFFFF / #F1F5F9 (Çerçeve: #E2E8F0, Metin: #0F172A)
 * - Kurumsal Derin Lacivert (Header, Footer, Koyu Kartlar, Müşteri Paneli): #0A1122 / #0B132B / #0F172A / #1E293B
 * - Kurumsal Kraliyet Mavisi (Primary): #1D4ED8 / #2563EB / #1E40AF
 * - Toptancı Canlı Turuncu (Accent / CTA / Rozet): #EA580C / #F97316 / #FB923C
 * ============================================================================ */

:root {
	/* Toptancı Bayi B2B Brand Tokens (Light Slate & Crisp White Canvas + Navy, Blue & Orange) */
	--background: 0.985 0.004 250;          /* #F8FAFC - Kurumsal Açık Gri/Beyaz Zemin */
	--foreground: 0.200 0.030 255;          /* #0F172A - Koyu Kurumsal Lacivert Metin */
	--card: 1 0 0;                          /* #FFFFFF - Beyaz Ürün & İçerik Kartları */
	--card-foreground: 0.200 0.030 255;     /* #0F172A */
	--popover: 1 0 0;                       /* #FFFFFF */
	--popover-foreground: 0.200 0.030 255;  /* #0F172A */

	/* Primary: Royal Corporate Blue (#1D4ED8 / #2563EB) */
	--primary: 0.540 0.195 258;
	--primary-foreground: 0.990 0.002 250;

	/* Secondary & Muted: Clean Slate Surfaces (#F1F5F9 / #E2E8F0) */
	--secondary: 0.955 0.008 250;
	--secondary-foreground: 0.240 0.035 255;
	--muted: 0.950 0.008 250;
	--muted-foreground: 0.480 0.025 255;

	/* Accent: Wholesale Vibrant Orange (#EA580C / #F97316) */
	--accent: 0.660 0.200 42;
	--accent-foreground: 0.995 0.002 250;

	/* Brand Utility Tokens */
	--brand-blue: 0.540 0.195 258;
	--brand-orange: 0.660 0.200 42;
	--brand-turquoise: 0.540 0.195 258;
	--brand-navy: 0.160 0.040 258;
	--bestseller: 0.660 0.200 42;

	--destructive: 0.560 0.200 28;
	--destructive-foreground: 0.990 0.005 90;

	--border: 0.895 0.012 250;              /* #E2E8F0 - Kurumsal İnce Çerçeve */
	--input: 0.895 0.012 250;
	--ring: 0.540 0.195 258;                /* #2563EB */

	/* Custom B2B Hex Variables for Direct Use */
	--tb-navy-950: #0A1122;
	--tb-navy-900: #0F172A;
	--tb-navy-800: #1E293B;
	--tb-blue-700: #1D4ED8;
	--tb-blue-600: #2563EB;
	--tb-orange-600: #EA580C;
	--tb-orange-500: #F97316;
	--tb-surface-bg: #F8FAFC;
	--tb-surface-alt: #F1F5F9;
	--tb-card-bg: #FFFFFF;
	--tb-border: #E2E8F0;
}

/* 1. ANA MAĞAZA ZEMİNİ (Kurumsal Açık Gri / Beyaz B2B Vitrin) */
html,
body {
	background-color: #F8FAFC;
	color: #0F172A;
}

main.flex-1 {
	background-color: #F8FAFC !important;
	color: #0F172A !important;
}

div.flex.min-h-\[calc\(100dvh-var\(--chrome-offset\)\)\].flex-col {
	background-color: #F8FAFC !important;
	color: #0F172A !important;
}

/* 2. ÜST DUYURU BANDI (B2B Lacivert & Turuncu Kurumsal Şerit) */
aside[data-announcement-bar] {
	background: linear-gradient(90deg, #0A1122 0%, #1E3A8A 50%, #0A1122 100%) !important;
	color: #FFFFFF !important;
	border-bottom: 1px solid rgba(249, 115, 22, 0.35) !important;
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.12) !important;
}

aside[data-announcement-bar] span {
	color: #F8FAFC !important;
}

/* 3. KURUMSAL B2B HEADER (Derin Lacivert #0B132B & Turuncu/Mavi Vurgular) */
header#storefront-header,
header.z-40 {
	background: rgba(11, 19, 43, 0.97) !important;
	border-bottom: 1px solid rgba(37, 99, 235, 0.24) !important;
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.14) !important;
}

/* 4. ANA SAYFA VITRIN ALANLARI (Açık & Ferah Kurumsal B2B Zemin) */
#homepage-showcase,
#homepage-showcase > div {
	background-color: #F8FAFC !important;
}

#koleksiyonlar {
	background-color: #FFFFFF !important;
	color: #0F172A !important;
	border-top: 1px solid #E2E8F0 !important;
}

#cok-satanlar {
	background-color: #F8FAFC !important;
	color: #0F172A !important;
	border-top: 1px solid #E2E8F0 !important;
}

#rehber {
	background-color: #FFFFFF !important;
	color: #0F172A !important;
	border-top: 1px solid #E2E8F0 !important;
}

#yeni-gelenler {
	background-color: #F8FAFC !important;
	color: #0F172A !important;
	border-top: 1px solid #E2E8F0 !important;
}

/* 5. FOOTER (Kurumsal Koyu Lacivert #0A1122 & B2B Güven Rozetleri) */
footer#storefront-footer {
	background-color: #0A1122 !important;
	border-top: 1px solid rgba(37, 99, 235, 0.25) !important;
}

footer#storefront-footer > div:last-child {
	background-color: #070C18 !important;
	border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}
