/* ==========================================================================
   volifyB2B – COMMERCIAL MIXED E-COMMERCE DESIGN SYSTEM
   Modern, Profesyonel, Ticari Odaklı B2B Bayi Portalı Stilleri
   ========================================================================== */

:root {
    /* volifyB2B Merkezi Renk Paleti */
    --vf-primary: #2867C7;
    --vf-primary-hover: #1E55A8;
    --vf-primary-light: #E6EFFB;
    --vf-navy: #18365B;
    --vf-navy-dark: #102540;
    --vf-bg: #F5F7FA;
    --vf-card-bg: #FFFFFF;
    --vf-border: #E5EAF1;
    --vf-text-primary: #26364A;
    --vf-text-secondary: #718096;
    --vf-campaign-orange: #F29B38;
    --vf-campaign-orange-hover: #DD8422;
    --vf-campaign-orange-light: #FFF4E5;
    --vf-success: #269B68;
    --vf-success-light: #E8F7F0;
    --vf-danger: #E05252;
    --vf-danger-light: #FDECEC;

    /* Mevcut --b2b-* değişkenlerinin volifyB2B paletine eşlenmesi */
    --b2b-navy: #18365B;
    --b2b-navy-light: #26364A;
    --b2b-primary: #2867C7;
    --b2b-primary-hover: #1E55A8;
    --b2b-accent: #F29B38;
    --b2b-accent-hover: #DD8422;
    --b2b-emerald: #269B68;
    --b2b-bg: #F5F7FA;
    --b2b-surface: #FFFFFF;
    --b2b-border: #E5EAF1;
    --b2b-text: #26364A;
    --b2b-text-muted: #718096;
    --b2b-radius: 12px;
    --b2b-shadow: 0 4px 16px rgba(24, 54, 91, 0.05), 0 1px 3px rgba(24, 54, 91, 0.03);

    /* UI_UX_STANDARDS.md Değişken Eşlemesi */
    --form-input-height: 32px;
    --form-input-height-sm: 32px;
    --ui-primary: var(--vf-primary);
    --ui-primary-hover: var(--vf-primary-hover);
    --ui-border: var(--vf-border);
}

/* ==========================================================================
   1. GENEL SAYFA YAPISI
   ========================================================================== */
html,
body.b2b-layout {
    background-color: var(--vf-bg) !important;
    color: var(--vf-text-primary) !important;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1380px !important;
    padding: 0 24px !important;
}

/* ==========================================================================
   2. HEADER & MARKA ALANI (volifyB2B Header)
   ========================================================================== */
.b2b-header {
    background: var(--vf-card-bg) !important;
    box-shadow: 0 2px 12px rgba(24, 54, 91, 0.06) !important;
    border-bottom: 1px solid var(--vf-border);
}

.header-topbar {
    background-color: var(--vf-navy) !important;
    color: #DCE6F2 !important;
    font-size: 0.78rem !important;
    padding: 7px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-main {
    padding: 16px 0 !important;
    background: var(--vf-card-bg) !important;
    border-bottom: 1px solid var(--vf-border) !important;
}

.header-main-inner {
    gap: 28px !important;
}

/* volifyB2B Marka Logosu */
.header-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
}

.brand-logo-badge {
    width: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, var(--vf-primary) 0%, var(--vf-navy) 100%) !important;
    color: #FFFFFF !important;
    font-weight: 800 !important;
    font-size: 1.05rem !important;
    box-shadow: 0 4px 12px rgba(40, 103, 199, 0.25) !important;
    position: relative;
}

.brand-logo-badge::after {
    content: '';
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--vf-campaign-orange);
}

.brand-text strong {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: var(--vf-navy) !important;
    letter-spacing: -0.3px !important;
    line-height: 1.15 !important;
}

.brand-text strong .brand-accent {
    color: var(--vf-primary);
}

.brand-text span {
    font-size: 0.74rem !important;
    color: var(--vf-text-secondary) !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px;
}

/* Geniş Ürün Arama Alanı */
.header-search-wrap {
    position: relative;
    flex: 1 !important;
    max-width: 640px !important;
}

.header-search {
    width: 100%;
    border: 2px solid var(--vf-border) !important;
    border-radius: 10px !important;
    background: var(--vf-bg) !important;
    transition: all 0.2s ease !important;
    box-shadow: inset 0 1px 2px rgba(24, 54, 91, 0.03);
}

.header-search:focus-within {
    border-color: var(--vf-primary) !important;
    background: var(--vf-card-bg) !important;
    box-shadow: 0 0 0 4px rgba(40, 103, 199, 0.12) !important;
}

.header-search input {
    padding: 11px 16px !important;
    font-size: 0.92rem !important;
    color: var(--vf-text-primary) !important;
}

.header-search input::placeholder {
    color: var(--vf-text-secondary) !important;
}

.header-search button {
    background: var(--vf-primary) !important;
    color: #FFFFFF !important;
    padding: 11px 24px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    border-radius: 0 7px 7px 0 !important;
    transition: background 0.18s ease !important;
}

.header-search button:hover {
    background: var(--vf-primary-hover) !important;
}

/* Sağ Aksiyonlar: Favorilerim, Sipariş Sepeti ve Hesabım (Tek Tip Uyumlu Buton Dili) */
.header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.fav-header-widget,
.cart-summary-widget,
.btn-account-profile {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    height: 46px !important;
    padding: 0 14px 0 10px !important;
    border-radius: 10px !important;
    border: 1px solid #E2E8F0 !important;
    background: #FFFFFF !important;
    text-decoration: none !important;
    cursor: pointer !important;
    user-select: none !important;
    box-sizing: border-box !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.fav-header-widget:hover,
.cart-summary-widget:hover,
.btn-account-profile:hover,
.btn-account-profile.open {
    border-color: var(--vf-primary) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(40, 103, 199, 0.08) !important;
}

.header-action-icon-box {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fav-icon-box {
    background: #FFF5F5 !important;
    color: #DC2626 !important;
}

.cart-icon-box {
    background: #EFF6FF !important;
    color: var(--vf-primary) !important;
}

.account-icon-box {
    background: #F1F5F9 !important;
    color: #334155 !important;
}

.header-action-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #EF4444;
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFFFF;
    line-height: 1;
}

.cart-badge-orange {
    background: var(--vf-campaign-orange) !important;
}

.header-action-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.15;
}

.header-action-label {
    font-size: 0.70rem;
    color: #64748B;
    font-weight: 600;
}

.header-action-title {
    font-size: 0.82rem;
    color: #1E293B;
    font-weight: 700;
    white-space: nowrap;
}

.header-action-title.primary-text {
    color: var(--vf-primary);
    font-weight: 800;
}

/* ==========================================================================
   3. KATEGORİ NAVİGASYON BARI (.header-nav) VE AÇILIR LİSTELER (DROPDOWN)
   ========================================================================== */
.header-nav {
    background: linear-gradient(180deg, #FFFFFF 0%, #F9FBFE 100%) !important;
    border-top: 1px solid #EEF2F7 !important;
    border-bottom: 1px solid var(--vf-border) !important;
    box-shadow: 0 3px 10px rgba(24, 54, 91, 0.03) !important;
}

.header-nav-inner {
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
}

.nav-links {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Sol Baştaki Vurgulu "Kategoriler" Ana Butonu */
.categories-hamburger-li {
    margin-right: 6px !important;
    padding-right: 10px !important;
    border-right: 1px solid var(--vf-border) !important;
}

.btn-categories-hamburger {
    background: var(--vf-primary) !important;
    border: 1px solid var(--vf-primary) !important;
    color: #FFFFFF !important;
    padding: 8px 16px !important;
    border-radius: 9px !important;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1px !important;
    box-shadow: 0 2px 8px rgba(40, 103, 199, 0.22) !important;
    transition: all 0.18s ease !important;
}

.btn-categories-hamburger:hover,
.btn-categories-hamburger.open {
    background: var(--vf-navy) !important;
    border-color: var(--vf-navy) !important;
    box-shadow: 0 4px 12px rgba(24, 54, 91, 0.24) !important;
    transform: translateY(-1px);
}

/* Yatay Ana Kategori Butonları */
.nav-links a.nav-cat-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: var(--vf-text-primary) !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    font-size: 0.87rem !important;
    font-weight: 600 !important;
    padding: 7px 14px !important;
    border-radius: 9px !important;
    transition: all 0.18s ease !important;
}

.nav-links a.nav-cat-btn .nav-caret {
    font-size: 0.72rem !important;
    color: var(--vf-text-secondary) !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
    display: inline-block !important;
}

.nav-item-has-children:hover > a.nav-cat-btn,
.nav-links a.nav-cat-btn:hover,
.nav-links a.nav-cat-btn.active {
    background: var(--vf-primary-light) !important;
    border-color: #C8DDF8 !important;
    color: var(--vf-primary) !important;
}

.nav-item-has-children:hover > a.nav-cat-btn .nav-caret,
.nav-links a.nav-cat-btn:hover .nav-caret {
    color: var(--vf-primary) !important;
    transform: rotate(180deg);
}

/* Açılır Alt Kategori Menüsü (Dropdown & Flyout) */
.nav-sub-dropdown,
.nav-sub-nested,
.categories-dropdown-panel,
.cat-panel-sublist,
.cat-panel-sublist-nested {
    background: #FFFFFF !important;
    border: 1px solid var(--vf-border) !important;
    border-radius: 12px !important;
    box-shadow: 0 14px 32px rgba(24, 54, 91, 0.12), 0 4px 10px rgba(24, 54, 91, 0.05) !important;
    padding: 8px !important;
}

.nav-sub-dropdown {
    min-width: 235px !important;
    top: calc(100% + 5px) !important;
    animation: vfDropdownFade 0.16s ease-out;
}

@keyframes vfDropdownFade {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cat-panel-all-link {
    background: var(--vf-primary-light) !important;
    color: var(--vf-primary) !important;
    border: 1px solid #C8DDF8 !important;
    border-radius: 8px !important;
    padding: 9px 14px !important;
    margin-bottom: 6px !important;
    font-weight: 700 !important;
    transition: all 0.16s ease !important;
}

.cat-panel-all-link:hover {
    background: var(--vf-primary) !important;
    color: #FFFFFF !important;
    border-color: var(--vf-primary) !important;
}

.nav-sub-link,
.cat-panel-root-link,
.cat-panel-sub-link {
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    color: var(--vf-text-primary) !important;
    transition: all 0.15s ease !important;
}

.nav-sub-item:hover > .nav-sub-link,
.nav-sub-link:hover,
.cat-panel-group:hover > .cat-panel-root-link,
.cat-panel-root-link:hover,
.cat-panel-sub-group:hover > .cat-panel-sub-link,
.cat-panel-sub-link:hover {
    background: var(--vf-primary-light) !important;
    color: var(--vf-primary) !important;
    padding-left: 15px !important;
}

.nav-sub-arrow,
.cat-panel-arrow {
    color: var(--vf-text-secondary) !important;
    transition: color 0.15s ease, transform 0.15s ease !important;
}

.nav-sub-item:hover > .nav-sub-link .nav-sub-arrow,
.cat-panel-group:hover > .cat-panel-root-link .cat-panel-arrow,
.cat-panel-sub-group:hover > .cat-panel-sub-link .cat-panel-arrow {
    color: var(--vf-primary) !important;
    transform: translateX(2px);
}

/* ==========================================================================
   4. ANA SAYFA HIZLI ERİŞİM VE TİCARİ BİLGİ ŞERİDİ
   ========================================================================== */
.vf-quick-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-bottom: 4px;
}

.vf-quick-card {
    background: var(--vf-card-bg);
    border: 1px solid var(--vf-border);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 6px rgba(24, 54, 91, 0.03);
    text-decoration: none;
    color: var(--vf-text-primary);
    transition: all 0.18s ease;
}

.vf-quick-card:hover {
    border-color: var(--vf-primary);
    box-shadow: 0 4px 12px rgba(40, 103, 199, 0.08);
    transform: translateY(-2px);
}

.vf-quick-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--vf-primary-light);
    color: var(--vf-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vf-quick-icon.orange {
    background: var(--vf-campaign-orange-light);
    color: var(--vf-campaign-orange);
}

.vf-quick-icon.green {
    background: var(--vf-success-light);
    color: var(--vf-success);
}

.vf-quick-icon.navy {
    background: #EBF0F7;
    color: var(--vf-navy);
}

.vf-quick-text strong {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--vf-text-primary);
}

.vf-quick-text span {
    display: block;
    font-size: 0.75rem;
    color: var(--vf-text-secondary);
}

/* Hızlı Kategori Çipleri (Ana Sayfa Kategori Erişimi) */
.vf-category-pills-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 6px;
    scrollbar-width: none;
}

.vf-category-pills-bar::-webkit-scrollbar {
    display: none;
}

.vf-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: var(--vf-card-bg);
    border: 1px solid var(--vf-border);
    border-radius: 999px;
    color: var(--vf-text-primary);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.16s ease;
    box-shadow: 0 1px 2px rgba(24, 54, 91, 0.02);
}

.vf-cat-pill:hover,
.vf-cat-pill.active {
    background: var(--vf-primary);
    border-color: var(--vf-primary);
    color: #FFFFFF;
}

/* ==========================================================================
   5. KAMPANYA VİTRİNİ (CAROUSEL) & SLIDER BÖLÜMLERİ
   ========================================================================== */
.body-three-sliders-container {
    gap: 24px !important;
}

.banner-slider {
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(24, 54, 91, 0.10) !important;
    border: 1px solid var(--vf-border);
}

.banner-theme-navy {
    background: linear-gradient(135deg, var(--vf-navy) 0%, var(--vf-primary) 100%) !important;
}

.banner-theme-orange {
    background: linear-gradient(135deg, #8C4600 0%, var(--vf-campaign-orange) 100%) !important;
}

.banner-theme-emerald {
    background: linear-gradient(135deg, #0F4C35 0%, var(--vf-success) 100%) !important;
}

.banner-discount-pill {
    background: var(--vf-campaign-orange) !important;
    color: #FFFFFF !important;
    font-weight: 800 !important;
}

.btn-banner-cta {
    background: var(--vf-campaign-orange) !important;
    color: #FFFFFF !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-weight: 700 !important;
    border: none;
    box-shadow: 0 4px 14px rgba(242, 155, 56, 0.35);
    transition: all 0.18s ease !important;
}

.btn-banner-cta:hover {
    background: var(--vf-campaign-orange-hover) !important;
    transform: translateY(-2px);
}

/* Vitrin Bölüm Kartları */
.home-slider-section {
    background: var(--vf-card-bg) !important;
    border: 1px solid var(--vf-border) !important;
    border-radius: 14px !important;
    padding: 22px 24px !important;
    box-shadow: var(--b2b-shadow) !important;
}

.home-slider-header {
    border-bottom: 1px solid var(--vf-border) !important;
    padding-bottom: 14px !important;
    margin-bottom: 18px !important;
}

.home-slider-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-slider-title-group h2 {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: var(--vf-navy) !important;
    position: relative;
    padding-left: 12px;
}

.home-slider-title-group h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    border-radius: 4px;
    background: var(--vf-primary);
}

.row-slider-btn {
    border: 1px solid var(--vf-border) !important;
    background: var(--vf-card-bg) !important;
    color: var(--vf-text-primary) !important;
    border-radius: 8px !important;
    transition: all 0.16s ease !important;
}

.row-slider-btn:hover {
    background: var(--vf-primary-light) !important;
    border-color: var(--vf-primary) !important;
    color: var(--vf-primary) !important;
}

/* ==========================================================================
   6. TİCARİ ÜRÜN KARTLARI (PRODUCT CARDS - HOME & KATALOG)
   ========================================================================== */
.product-card {
    background: var(--vf-card-bg) !important;
    border: 1px solid var(--vf-border) !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(24, 54, 91, 0.03) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 24px rgba(24, 54, 91, 0.09) !important;
    border-color: #C8DDF8 !important;
}

/* Favori Butonu */
.btn-fav-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--vf-border);
    color: var(--vf-text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    transition: all 0.16s ease;
    padding: 0;
}

.btn-fav-toggle:hover {
    color: var(--vf-danger);
    border-color: #FCD2D2;
    background: #FFF5F5;
    transform: scale(1.06);
}

.btn-fav-toggle.active {
    color: var(--vf-danger);
    background: #FFF5F5;
    border-color: #FCD2D2;
}

.btn-fav-toggle.active svg {
    fill: var(--vf-danger);
}

/* Rozetler */
.badge-campaign {
    background: var(--vf-primary-light) !important;
    color: var(--vf-primary) !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    padding: 3px 9px !important;
    border-radius: 6px !important;
}

.badge-discount {
    background: var(--vf-campaign-orange) !important;
    color: #FFFFFF !important;
    font-size: 0.73rem !important;
    font-weight: 800 !important;
    padding: 3px 9px !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 6px rgba(242, 155, 56, 0.25);
}

/* Ürün Görsel Kutusu */
.product-visual-box {
    background: #F9FBFD !important;
    border: 1px solid #F0F4F9 !important;
    border-radius: 10px !important;
    overflow: hidden;
}

.product-visual-box img {
    transition: transform 0.25s ease;
}

.product-card:hover .product-visual-box img {
    transform: scale(1.04);
}

/* SKU ve Kategori Etiketleri */
.logo-stock-code {
    background: #F0F4F9 !important;
    color: var(--vf-navy) !important;
    border: 1px solid var(--vf-border);
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    border-radius: 5px !important;
}

.product-category-tag {
    color: var(--vf-text-secondary) !important;
    font-size: 0.74rem !important;
    font-weight: 600 !important;
}

.product-title {
    color: var(--vf-text-primary) !important;
    font-size: 0.94rem !important;
    font-weight: 700 !important;
    line-height: 1.38 !important;
}

/* Fiyat Kutusu (Liste Fiyatı & Bayiye Özel Fiyat) */
.product-pricing-box {
    background: #F8FAFD !important;
    border: 1px solid var(--vf-border) !important;
    border-radius: 9px !important;
    padding: 9px 12px !important;
}

.price-label {
    color: var(--vf-text-secondary) !important;
    font-size: 0.68rem !important;
    font-weight: 600;
}

.campaign-label {
    color: var(--vf-primary) !important;
    font-weight: 700 !important;
}

.price-old {
    color: var(--vf-text-secondary) !important;
    font-size: 0.84rem !important;
}

.price-campaign {
    color: var(--vf-navy) !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
}

/* Adet Seçici ve Sepete Ekle Butonu */
.qty-selector {
    border: 1px solid var(--vf-border) !important;
    border-radius: 8px !important;
    background: #FFFFFF !important;
}

.qty-btn {
    background: #F5F7FA !important;
    color: var(--vf-text-primary) !important;
    transition: background 0.15s ease;
}

.qty-btn:hover {
    background: var(--vf-primary-light) !important;
    color: var(--vf-primary) !important;
}

.qty-input {
    color: var(--vf-text-primary) !important;
    background: #FFFFFF !important;
}

.btn-add-cart:not(.btn-out-of-stock) {
    background: var(--vf-primary) !important;
    color: #FFFFFF !important;
}

.btn-add-cart {
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.86rem !important;
    box-shadow: 0 2px 6px rgba(40, 103, 199, 0.22);
    transition: all 0.18s ease !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-add-cart:not(.btn-out-of-stock):hover {
    background: var(--vf-primary-hover) !important;
    box-shadow: 0 4px 12px rgba(40, 103, 199, 0.32);
    transform: translateY(-1px);
}

.btn-add-cart.btn-out-of-stock,
.btn-add-cart.btn-out-of-stock:hover,
.btn-add-cart[disabled] {
    background: #FEE2E2 !important;
    color: #B91C1C !important;
    border: 1px solid #FECACA !important;
    box-shadow: none !important;
    transform: none !important;
    cursor: not-allowed !important;
}

/* ==========================================================================
   7. FOOTER (.b2b-footer)
   ========================================================================== */
.b2b-footer {
    background: var(--vf-navy) !important;
    color: #DCE6F2 !important;
    border-top: 1px solid var(--vf-border);
}

/* ==========================================================================
   8. GİRİŞ SAYFASI (/Account/Login) UYUMU
   ========================================================================== */
body.login-page-body {
    background: linear-gradient(135deg, var(--vf-navy-dark) 0%, var(--vf-navy) 100%) !important;
}

.login-brand-panel {
    background: linear-gradient(155deg, var(--vf-navy) 0%, var(--vf-primary) 100%) !important;
}

.btn-login-submit {
    background: var(--vf-primary) !important;
    box-shadow: 0 6px 18px rgba(40, 103, 199, 0.3) !important;
}

.btn-login-submit:hover {
    background: var(--vf-primary-hover) !important;
}

/* ==========================================================================
   9. MOBİL UYGULAMA (APP-LIKE UI) BİLEŞENLERİ VE RESPONSIVE KURALLAR
   ========================================================================== */

/* Masaüstünde Mobil Özel Bileşenleri Gizle */
.mob-app-hamburger-btn,
.mob-compact-currency-bar,
.mob-category-stories-bar,
.mob-bottom-nav,
.mob-open-filter-btn,
.mob-filter-close-btn,
.mob-filter-overlay {
    display: none;
}

/* --- Mobil Çekmece Menü (Offcanvas App Drawer) --- */
.mob-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    z-index: 10060;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mob-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mob-app-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 86vw;
    max-width: 340px;
    background: #FFFFFF;
    z-index: 10070;
    display: flex;
    flex-direction: column;
    box-shadow: 12px 0 32px rgba(15, 23, 42, 0.22);
    transform: translateX(-102%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.mob-app-drawer.open {
    transform: translateX(0);
}

.mob-drawer-header {
    background: linear-gradient(135deg, var(--b2b-topbar-bg, var(--vf-navy-dark)) 0%, var(--b2b-primary, var(--vf-primary)) 100%);
    color: #FFFFFF;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-shrink: 0;
}

.mob-drawer-user-info {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.mob-drawer-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    flex-shrink: 0;
}

.mob-drawer-avatar .lucide {
    width: 16px;
    height: 16px;
}

.mob-drawer-user-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.mob-drawer-greeting {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 500;
    line-height: 1.1;
}

.mob-drawer-username {
    font-size: 0.84rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mob-drawer-code-badge {
    display: inline-block;
    margin-top: 2px;
    font-size: 0.62rem;
    font-weight: 700;
    background: rgba(242, 155, 56, 0.25);
    border: 1px solid rgba(242, 155, 56, 0.50);
    color: #FDE68A;
    padding: 0 6px;
    border-radius: 4px;
    width: fit-content;
    line-height: 1.45;
}

.mob-drawer-close-btn {
    background: rgba(255, 255, 255, 0.14);
    border: none;
    color: #FFFFFF;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    font-size: 1.2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.mob-drawer-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mob-drawer-section {
    padding: 0 14px;
}

.mob-drawer-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.70rem;
    font-weight: 800;
    color: #64748B;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
    padding: 0 4px;
}

.mob-drawer-all-link {
    color: var(--vf-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.74rem;
}

.mob-drawer-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    overflow: hidden;
    background: #FFFFFF;
}

.mob-drawer-cat-item,
.mob-drawer-cat-list > li {
    border-bottom: 1px solid #F1F5F9;
}

.mob-drawer-cat-list > li:last-child {
    border-bottom: none;
}

.mob-drawer-cat-root.mob-drawer-cat-highlight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    background: #EFF6FF;
    color: var(--vf-primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
}

.mob-drawer-cat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mob-drawer-cat-link {
    flex: 1;
    padding: 11px 14px;
    color: #1E293B;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.mob-drawer-cat-toggle {
    width: 42px;
    height: 40px;
    border: none;
    border-left: 1px solid #F1F5F9;
    background: transparent;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mob-drawer-caret {
    transition: transform 0.2s ease;
    font-size: 0.8rem;
}

.mob-drawer-cat-item.expanded .mob-drawer-caret {
    transform: rotate(180deg);
    color: var(--vf-primary);
}

.mob-drawer-subcat-list {
    display: none;
    list-style: none;
    margin: 0;
    padding: 6px 12px 10px 22px;
    background: #F8FAFC;
    border-top: 1px solid #F1F5F9;
}

.mob-drawer-cat-item.expanded .mob-drawer-subcat-list {
    display: block;
}

.mob-drawer-subcat-link {
    display: block;
    padding: 7px 8px;
    color: #334155;
    font-size: 0.80rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
}

.mob-drawer-subcat-link.mob-drawer-subcat-all {
    color: var(--vf-primary);
    font-weight: 700;
}

.mob-drawer-subcat-level3 {
    list-style: none;
    margin: 0;
    padding: 2px 0 4px 12px;
}

.mob-drawer-subcat-link3 {
    display: block;
    padding: 5px 6px;
    color: #64748B;
    font-size: 0.76rem;
    text-decoration: none;
}

.mob-drawer-quick-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mob-drawer-qlink {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    color: #1E293B;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.mob-drawer-qlink .lucide {
    width: 16px;
    height: 16px;
    color: var(--vf-primary);
    flex-shrink: 0;
}

.mob-drawer-qlink-admin {
    grid-column: 1 / -1;
    background: #EFF6FF;
    border-color: #BFDBFE;
    color: var(--vf-primary);
}

.mob-drawer-info-card {
    background: var(--b2b-topbar-bg, #0F172A);
    color: var(--b2b-topbar-color, #E2E8F0);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mob-drawer-rates-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
}

.mob-drawer-rates-row strong {
    color: var(--b2b-topbar-accent, #FBBF24);
}

.mob-drawer-support-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    text-decoration: none;
    padding: 8px;
    border-radius: 7px;
    font-size: 0.76rem;
    font-weight: 700;
}

.mob-drawer-footer {
    padding: 12px 14px;
    border-top: 1px solid #E2E8F0;
    background: #F8FAFC;
    flex-shrink: 0;
}

.mob-drawer-logout-btn {
    width: 100%;
    height: 38px;
    border: 1px solid #FECACA;
    background: #FEF2F2;
    color: #DC2626;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

/* ==========================================================================
   TABLET VE MOBİL CİHAZ KURALLARI (< 991px)
   ========================================================================== */
@media (max-width: 991px) {
    html,
    body.b2b-layout {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    .container {
        padding: 0 6px !important;
    }

    .b2b-body {
        padding: 8px 0 24px !important;
    }

    .home-slider-section {
        padding: 14px 8px !important;
        border-radius: 12px !important;
    }

    .home-slider-header {
        margin-bottom: 10px !important;
        padding-bottom: 8px !important;
        gap: 8px !important;
    }

    .single-row-slider-track {
        padding: 2px 0 6px !important;
    }

    /* 1. Admin Ayarı: Mobilde TopBar Gizle / Göster */
    body.mob-hide-topbar .header-topbar {
        display: none !important;
    }

    body.mob-show-topbar .header-topbar-inner {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 6px 12px !important;
        font-size: 0.72rem !important;
        text-align: center;
    }

    /* 2. Admin Ayarı: Mobilde Yatay Kategori Çubuğunu Gizle / Göster */
    body.mob-hide-catnav .header-nav {
        display: none !important;
    }

    body.mob-show-catnav .header-nav {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    body.mob-show-catnav .header-nav-inner .nav-links {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 6px !important;
        padding: 6px 0 !important;
        scrollbar-width: none;
    }

    body.mob-show-catnav .categories-hamburger-li {
        display: none !important;
    }

    /* 3. Mobil App Header Düzeni (2 Katmanlı: Üstte Menü+Logo+Sepet, Altta Arama) */
    .header-main {
        padding: 10px 0 !important;
        position: sticky;
        top: 0;
        z-index: 950;
    }

    .header-main-inner {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px 10px !important;
    }

    .mob-app-hamburger-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        border: 1px solid #E2E8F0;
        background: #F8FAFC;
        color: var(--vf-navy);
        cursor: pointer;
        flex-shrink: 0;
        order: 1;
    }

    .mob-app-hamburger-btn:active {
        background: #EFF6FF;
        border-color: var(--vf-primary);
    }

    .header-brand {
        order: 2;
        margin-right: auto !important;
        gap: 8px !important;
    }

    .brand-logo-badge {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.90rem !important;
        border-radius: 8px !important;
    }

    .brand-text strong {
        font-size: 1.15rem !important;
    }

    .brand-text span {
        display: none !important;
    }

    .header-custom-logo {
        max-height: 32px !important;
        max-width: 140px !important;
    }

    .header-actions {
        order: 3;
        gap: 6px !important;
    }

    .header-actions .header-action-text,
    .header-actions .account-caret {
        display: none !important;
    }

    .fav-header-widget,
    .cart-summary-widget,
    .btn-account-profile {
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        justify-content: center !important;
        border-radius: 10px !important;
    }

    .header-search-wrap {
        order: 4 !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .header-search {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        border-radius: 9px !important;
    }

    .header-search input {
        padding: 8px 12px !important;
        font-size: 0.86rem !important;
        height: 38px !important;
    }

    .header-search button {
        padding: 0 16px !important;
        height: 38px !important;
        font-size: 0.84rem !important;
    }

    /* Mini Sepet ve Hesabım Dropdownlarının Mobilde Ekrana Sığması */
    .mini-cart-dropdown {
        position: fixed !important;
        top: 60px !important;
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        max-width: none !important;
        z-index: 10020 !important;
    }

    .account-dropdown-menu {
        position: fixed !important;
        top: 60px !important;
        right: 10px !important;
        left: auto !important;
        width: 250px !important;
        max-width: calc(100vw - 20px) !important;
        z-index: 10020 !important;
    }

    /* 4. Mobil Kompakt Döviz Şeridi */
    .mob-compact-currency-bar {
        display: block !important;
        background: var(--b2b-topbar-bg, var(--vf-navy));
        color: var(--b2b-topbar-color, #E2E8F0);
        font-size: 0.72rem;
        padding: 5px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .mob-compact-currency-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .mob-curr-items {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .mob-curr-items strong {
        color: var(--b2b-topbar-accent, #FBBF24);
        font-weight: 700;
    }

    .mob-curr-sep {
        opacity: 0.45;
    }

    .mob-curr-code {
        font-size: 0.70rem;
        color: var(--b2b-topbar-color, #CBD5E1);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 140px;
    }

    .mob-curr-code strong {
        color: var(--b2b-topbar-accent, #FFFFFF);
    }

    /* 5. Mobil Yuvarlak Kategori Balonları (Stories) */
    .mob-category-stories-bar {
        display: block !important;
        background: #FFFFFF;
        border-bottom: 1px solid var(--vf-border);
        padding: 10px 0 8px;
    }

    .mob-category-stories-track {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .mob-category-stories-track::-webkit-scrollbar {
        display: none;
    }

    .mob-story-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        width: 64px;
        flex-shrink: 0;
        text-decoration: none;
        text-align: center;
    }

    .mob-story-ring {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        background: #F8FAFC;
        border: 2px solid #CBD5E1;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--vf-navy);
        font-weight: 800;
        font-size: 0.78rem;
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
        transition: all 0.2s ease;
    }

    .mob-story-all .mob-story-ring {
        background: #EFF6FF;
        border-color: var(--vf-primary);
        color: var(--vf-primary);
    }

    .mob-story-ring .lucide {
        width: 20px;
        height: 20px;
    }

    .mob-story-label {
        font-size: 0.68rem;
        font-weight: 600;
        color: #334155;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        max-width: 64px;
    }

    /* 6. Mobil Alt Navigasyon Çubuğu (Bottom Navigation Bar) */
    .mob-bottom-nav {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr);
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 58px;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: #FFFFFF;
        border-top: 1px solid #E2E8F0;
        box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
        z-index: 990;
    }

    body.mob-show-bottomnav {
        padding-bottom: 64px !important;
    }

    .mob-bottom-nav-item {
        background: none;
        border: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: #64748B;
        font-size: 0.66rem;
        font-weight: 600;
        text-decoration: none;
        cursor: pointer;
        padding: 4px 2px;
    }

    .mob-bottom-nav-item .lucide {
        width: 19px;
        height: 19px;
    }

    .mob-bottom-nav-item.active,
    .mob-bottom-nav-item:active {
        color: var(--vf-primary);
        font-weight: 700;
    }

    .mob-bottom-icon-wrap {
        position: relative;
        display: inline-flex;
    }

    .mob-bottom-cart-badge {
        position: absolute;
        top: -5px;
        right: -8px;
        background: var(--b2b-accent, #F59E0B);
        color: #FFFFFF;
        font-size: 0.60rem;
        font-weight: 800;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        border-radius: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1.5px solid #FFFFFF;
    }

    /* Ürünler Kataloğu (/Urunler) Tam Mobil Uyum ve Çekmece Filtre Paneli */
    .urunler-sayfa-container {
        padding: 14px 12px 40px !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .b2b-breadcrumb ol {
        flex-wrap: wrap !important;
        gap: 4px 6px !important;
        font-size: 0.78rem !important;
    }

    .urunler-layout {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
    }

    .urunler-main {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .urunler-toolbar {
        padding: 12px !important;
        gap: 10px !important;
    }

    .urunler-toolbar-controls {
        width: 100% !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        gap: 8px !important;
    }

    .mob-open-filter-btn {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        height: 34px !important;
        padding: 0 12px !important;
        border-radius: 8px !important;
        border: 1px solid var(--vf-primary) !important;
        background: #EFF6FF !important;
        color: var(--vf-primary) !important;
        font-size: 0.80rem !important;
        font-weight: 700 !important;
        cursor: pointer;
        flex-shrink: 0;
    }

    .urunler-sort-wrap {
        flex: 1 1 130px !important;
        min-width: 0 !important;
    }

    .urunler-sort-wrap label {
        display: none !important;
    }

    #siralamaSelect {
        width: 100% !important;
        min-width: 0 !important;
        height: 34px !important;
        padding: 0 8px !important;
        font-size: 0.78rem !important;
    }

    .urunler-pagination {
        flex-wrap: wrap !important;
    }

    /* Mobilde Filtre Sidebar'ını Soldan Açılan Uygulama Çekmecesine Dönüştür */
    .mob-filter-overlay.open {
        display: block !important;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.55);
        backdrop-filter: blur(2px);
        z-index: 10065;
    }

    .urunler-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 86vw !important;
        max-width: 340px !important;
        z-index: 10075 !important;
        margin: 0 !important;
        border-radius: 0 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        transform: translateX(-105%);
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 10px 0 30px rgba(15, 23, 42, 0.22) !important;
    }

    .urunler-sidebar.mob-filters-open {
        transform: translateX(0);
    }

    .mob-filter-close-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        border-radius: 6px;
        border: 1px solid #E2E8F0;
        background: #F8FAFC;
        color: #475569;
        font-size: 1.25rem;
        line-height: 1;
        cursor: pointer;
    }

    .urunler-filter-form {
        display: block !important;
    }

    /* Kartların Hücre Dışına Taşmasını Kesin Engelle */
    .product-card {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .product-card-body > div:first-child {
        flex-wrap: wrap !important;
        gap: 4px !important;
        font-size: 0.70rem !important;
    }

    .product-card-body span {
        word-break: break-word;
    }

    /* 7. Kompakt ve Minimal Mobil Footer + Admin Göster/Gizle Kontrolleri */
    body.mob-hide-footer-cols .b2b-footer > .footer-grid {
        display: none !important;
    }

    body.mob-hide-footer-bottom .b2b-footer > .footer-bottom {
        display: none !important;
    }

    body.mob-hide-footer-cols.mob-hide-footer-bottom .b2b-footer {
        display: none !important;
    }

    .b2b-footer {
        padding: 0 !important;
        margin-top: 16px !important;
    }

    .b2b-footer > .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 14px 12px !important;
    }

    .b2b-footer .footer-col {
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .b2b-footer .footer-col:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }

    .b2b-footer .footer-brand {
        margin-bottom: 6px !important;
    }

    .b2b-footer .footer-custom-logo {
        max-height: 28px !important;
    }

    .b2b-footer h4 {
        font-size: 0.78rem !important;
        margin: 0 0 6px !important;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        opacity: 0.9;
    }

    .b2b-footer .footer-desc,
    .b2b-footer .footer-rich-text,
    .b2b-footer .footer-rich-text p {
        font-size: 0.74rem !important;
        line-height: 1.4 !important;
        margin: 0 0 4px !important;
    }

    .b2b-footer ul {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px 14px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .b2b-footer ul li {
        margin: 0 !important;
        font-size: 0.74rem !important;
    }

    .b2b-footer .footer-bottom {
        padding: 10px 0 !important;
        font-size: 0.70rem !important;
    }

    .b2b-footer .footer-bottom-inner {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 5px !important;
    }

    .b2b-footer .footer-bottom-links {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 4px 12px !important;
    }

    /* 8. Yüzen WhatsApp Butonunun Mobil Alt Navigasyon Barı (Bottom Bar) İle Çakışmasını Önle */
    body.mob-show-bottomnav #waWidgetRoot {
        bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
        right: 12px !important;
    }

    body.mob-hide-bottomnav #waWidgetRoot {
        bottom: 16px !important;
        right: 12px !important;
    }

    #waWidgetRoot #waWidgetBtn,
    #waWidgetRoot > button,
    #waWidgetRoot button[onclick="toggleStorefrontWaWidget()"] {
        width: 30px !important;
        height: 30px !important;
    }

    #waWidgetRoot button[onclick="toggleStorefrontWaWidget()"] svg {
        width: 16px !important;
        height: 16px !important;
    }

    #waWidgetRoot #waWidgetUnreadBadge {
        min-width: 15px !important;
        height: 15px !important;
        font-size: 0.58rem !important;
        top: -4px !important;
        right: -4px !important;
        padding: 0 3px !important;
    }

    /* 9. Admin Mobil Arayüz Ayarlarından Gizlenen Vitrin Alanları */
    .mob-hidden-showcase {
        display: none !important;
    }
}

/* ==========================================================================
   TELEFON EKRANLARI İÇİN VİTRİN & ÜRÜN KARTLARI (< 767px)
   ========================================================================== */
@media (max-width: 767px) {
    /* Banner Slider Mobil Uyum */
    .banner-slide {
        min-height: 210px !important;
        padding: 18px 16px !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    .banner-title {
        font-size: 1.18rem !important;
        line-height: 1.25 !important;
    }

    .banner-desc {
        font-size: 0.80rem !important;
        -webkit-line-clamp: 2;
    }

    .banner-slide-visual {
        display: none !important;
    }

    /* 2 Kolonlu Kompakt Mobil Ürün Kartları (body.mob-grid-2 - Trendyol / E-Ticaret App Oranı) */
    .urunler-sayfa-container {
        padding: 8px 6px 36px !important;
    }

    body.mob-grid-2 .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

    body.mob-grid-1 .product-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    /* Ana Sayfa Yatay Ürün Slider'ında da 2'li Kompakt Kart Görünümü */
    body.mob-grid-2 .single-row-slider-track.product-slider-track {
        gap: 6px !important;
    }

    body.mob-grid-2 .single-row-slider-track.product-slider-track .product-card.product-slide-item {
        min-width: calc(50% - 3px) !important;
        max-width: calc(50% - 3px) !important;
        flex: 0 0 calc(50% - 3px) !important;
    }

    body.mob-grid-1 .single-row-slider-track.product-slider-track .product-card.product-slide-item {
        min-width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    /* 2'li Grid İçindeki Ürün Kartı Ergonomisi */
    body.mob-grid-2 .product-card {
        position: relative !important;
        padding: 6px !important;
        border-radius: 9px !important;
        box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05) !important;
    }

    body.mob-grid-2 .product-card-body {
        padding: 0 !important;
    }

    body.mob-grid-2 .product-visual-box {
        height: 145px !important;
        margin: 0 0 5px 0 !important;
        padding: 0 !important;
        border: none !important;
        background: #FFFFFF !important;
        border-radius: 7px !important;
    }

    body.mob-grid-2 .product-visual-box > div[style*="bottom: 8px"] {
        bottom: 3px !important;
        right: 3px !important;
        font-size: 0.62rem !important;
        padding: 2px 6px !important;
        border-radius: 6px !important;
    }

    body.mob-grid-2 .product-card-badges {
        position: absolute !important;
        top: 6px !important;
        left: 6px !important;
        right: 34px !important;
        padding: 0 !important;
        z-index: 2 !important;
        margin: 0 !important;
        min-height: 0 !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        gap: 3px !important;
        pointer-events: none;
    }

    body.mob-grid-2 .badge-campaign,
    body.mob-grid-2 .badge-discount {
        font-size: 0.62rem !important;
        padding: 2px 5px !important;
    }

    body.mob-grid-2 .product-card-body > div:first-child {
        margin-bottom: 3px !important;
        font-size: 0.64rem !important;
    }

    body.mob-grid-2 .product-card-body > div:first-child > span:last-child:not(:first-child) {
        display: none !important;
    }

    body.mob-grid-2 .product-title,
    body.mob-grid-2 .product-card h3 {
        font-size: 0.78rem !important;
        line-height: 1.28 !important;
        min-height: 32px !important;
        margin-bottom: 4px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    body.mob-grid-2 .product-pricing-box {
        background: transparent !important;
        border: none !important;
        padding: 2px 0 !important;
        margin-bottom: 6px !important;
        flex-direction: row !important;
        align-items: baseline !important;
        gap: 4px !important;
    }

    body.mob-grid-2 .product-pricing-box > div {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: baseline !important;
        gap: 4px 6px !important;
    }

    body.mob-grid-2 .product-pricing-box > div > div {
        text-align: left !important;
    }

    body.mob-grid-2 .product-pricing-box > div > span:first-child,
    body.mob-grid-2 .product-pricing-box .price-label {
        display: none !important;
    }

    body.mob-grid-2 .price-campaign,
    body.mob-grid-2 .product-pricing-box strong {
        font-size: 0.96rem !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
    }

    body.mob-grid-2 .price-old,
    body.mob-grid-2 .product-pricing-box del {
        font-size: 0.72rem !important;
        white-space: nowrap !important;
    }

    /* Miktar ve Sepete Ekle Alanının Tek Satırda Kompakt Yerleşimi */
    body.mob-grid-2 .btn-fav-toggle {
        top: 0px !important;
        right: 0px !important;
        width: 26px !important;
        height: 26px !important;
        z-index: 6 !important;
    }

    body.mob-grid-2 .product-card-actions,
    body.mob-grid-2 .product-card-footer {
        padding: 4px 0 0 !important;
        border-top: none !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 4px !important;
    }

    body.mob-grid-2 .qty-selector {
        width: 58px !important;
        height: 30px !important;
        flex-shrink: 0 !important;
        justify-content: space-between !important;
        margin-bottom: 0 !important;
    }

    body.mob-grid-2 .qty-btn {
        width: 19px !important;
        font-size: 0.76rem !important;
        padding: 0 !important;
    }

    body.mob-grid-2 .qty-input {
        width: 20px !important;
        flex: none !important;
        font-size: 0.72rem !important;
        padding: 0 !important;
    }

    body.mob-grid-2 .btn-add-cart {
        flex: 1 !important;
        min-width: 0 !important;
        width: auto !important;
        height: 30px !important;
        font-size: 0.68rem !important;
        padding: 0 4px !important;
        white-space: nowrap !important;
    }

    /* Siparişi Onayla Modalı (#checkoutConfirmModal) Kompakt Mobil Düzeni */
    #checkoutConfirmModal,
    #customerLookupModal {
        padding: 8px !important;
    }

    #checkoutConfirmModal .checkout-modal-dialog,
    #customerLookupModal > div {
        margin: 8px auto !important;
        border-radius: 10px !important;
    }

    #checkoutConfirmModal .checkout-modal-header {
        padding: 10px 12px !important;
    }

    #checkoutConfirmModal .checkout-modal-icon {
        width: 28px !important;
        height: 28px !important;
    }

    #checkoutConfirmModal .checkout-modal-header h3 {
        font-size: 0.92rem !important;
    }

    #checkoutConfirmModal .checkout-modal-subtitle {
        display: none !important;
    }

    #checkoutConfirmModal .checkout-modal-body {
        padding: 12px !important;
    }

    #checkoutCompanyPickerWrapper {
        margin-bottom: 10px !important;
    }

    #checkoutCompanyPickerWrapper label {
        font-size: 0.76rem !important;
        margin-bottom: 4px !important;
    }

    #checkoutCompanyEmptyState,
    #checkoutCompanySelectedState {
        padding: 8px 10px !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    #checkoutCompanyEmptyState span,
    #checkoutSelectedCompanyTitle {
        font-size: 0.76rem !important;
    }

    #checkoutConfirmModal .checkout-items-box {
        max-height: 155px !important;
        margin-bottom: 10px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    #checkoutConfirmModal .checkout-items-table {
        font-size: 0.75rem !important;
    }

    #checkoutConfirmModal .checkout-items-table th,
    #checkoutConfirmModal .checkout-items-table td {
        padding: 6px 8px !important;
    }

    #checkoutConfirmModal .checkout-total-box {
        padding: 8px 12px !important;
        margin-bottom: 10px !important;
    }

    #checkoutConfirmModal .checkout-total-box span {
        font-size: 0.80rem !important;
    }

    #checkoutConfirmModal #checkoutTotalAmount {
        font-size: 1.05rem !important;
    }

    #checkoutConfirmModal .checkout-note-box {
        margin-bottom: 10px !important;
    }

    #checkoutConfirmModal .checkout-note-box label {
        font-size: 0.74rem !important;
        margin-bottom: 4px !important;
    }

    #checkoutConfirmModal #checkoutOrderNote {
        height: 48px !important;
        min-height: 48px !important;
        padding: 6px 8px !important;
        font-size: 0.78rem !important;
    }

    #checkoutConfirmModal .checkout-modal-actions {
        padding-top: 10px !important;
        gap: 8px !important;
    }

    #checkoutConfirmModal .checkout-modal-actions button {
        flex: 1 !important;
        justify-content: center !important;
        padding: 8px 10px !important;
        font-size: 0.80rem !important;
    }

    /* Müşteri / Firma Seçimi Modalı (#customerLookupModal) Kompakt Mobil Düzeni */
    #customerLookupModal .customer-lookup-header {
        padding: 10px 12px !important;
    }

    #customerLookupModal .customer-lookup-icon {
        width: 28px !important;
        height: 28px !important;
    }

    #customerLookupModal .customer-lookup-header h3 {
        font-size: 0.90rem !important;
    }

    #customerLookupModal .customer-lookup-subtitle {
        display: none !important;
    }

    #customerLookupModal .customer-lookup-searchbar {
        padding: 8px 12px !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
    }

    #customerLookupModal .customer-lookup-searchwrap {
        min-width: 0 !important;
        flex: 1 !important;
    }

    #customerLookupModal #customerLookupSearchInput {
        font-size: 0.78rem !important;
        padding: 0 26px 0 30px !important;
    }

    #customerLookupModal .customer-lookup-searchbar > button {
        padding: 0 12px !important;
        font-size: 0.78rem !important;
        flex-shrink: 0 !important;
    }

    #customerLookupModal .customer-lookup-tablewrap {
        max-height: 58vh !important;
    }

    #customerLookupModal #customerLookupTable {
        font-size: 0.75rem !important;
    }

    #customerLookupModal #customerLookupTable th,
    #customerLookupModal #customerLookupTable td {
        padding: 7px 8px !important;
    }

    /* Mobilde Vergi No ve Şehir kolonlarını gizleyerek Cari Kodu + Ünvan + Seç butonunu ekrana tam oturt */
    #customerLookupModal #customerLookupTable th:nth-child(3),
    #customerLookupModal #customerLookupTable td:nth-child(3),
    #customerLookupModal #customerLookupTable th:nth-child(4),
    #customerLookupModal #customerLookupTable td:nth-child(4) {
        display: none !important;
    }

    #customerLookupModal #customerLookupTable th:first-child,
    #customerLookupModal #customerLookupTable td:first-child {
        width: auto !important;
        white-space: nowrap !important;
    }

    #customerLookupModal .customer-lookup-footer {
        padding: 8px 12px !important;
        font-size: 0.74rem !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
    }

    /* Hesabım / Kullanıcı Bilgileri (/Account/KullaniciBilgileri) Kompakt Mobil Düzeni */
    .profile-page-container {
        padding: 6px 8px 36px !important;
    }

    .profile-breadcrumb,
    .profile-header-right,
    .profile-section-title p {
        display: none !important;
    }

    .profile-header-card {
        padding: 10px 12px !important;
        border-radius: 10px !important;
        margin-bottom: 10px !important;
        gap: 10px !important;
    }

    .profile-header-left {
        gap: 10px !important;
    }

    .profile-avatar-badge {
        width: 38px !important;
        height: 38px !important;
        border-radius: 10px !important;
    }

    .profile-header-info h1 {
        font-size: 0.96rem !important;
        margin: 0 0 4px !important;
    }

    .profile-meta-tags {
        gap: 4px !important;
        flex-wrap: wrap !important;
    }

    .profile-badge-role,
    .profile-badge-username,
    .profile-badge-code {
        font-size: 0.68rem !important;
        padding: 2px 6px !important;
    }

    .profile-grid-layout,
    .profile-col-main {
        gap: 10px !important;
    }

    .profile-section-card {
        border-radius: 10px !important;
    }

    .profile-section-header {
        padding: 10px 12px !important;
    }

    .profile-section-title h2 {
        font-size: 0.86rem !important;
    }

    .profile-section-body {
        padding: 10px 12px !important;
    }

    .profile-fields-grid,
    .profile-company-fields {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .profile-col-span-2 {
        grid-column: span 1 !important;
    }

    .profile-form-group {
        display: grid !important;
        grid-template-columns: 96px minmax(0, 1fr) !important;
        align-items: center !important;
        column-gap: 8px !important;
        row-gap: 2px !important;
    }

    .profile-form-group label {
        position: relative !important;
        padding-right: 8px !important;
        font-size: 0.74rem !important;
        margin-bottom: 0 !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .profile-form-group label::after {
        content: ":" !important;
        position: absolute !important;
        right: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        font-weight: 700 !important;
        color: #64748B !important;
    }

    .profile-input-with-icon {
        width: 100% !important;
        min-width: 0 !important;
    }

    .profile-field-error {
        grid-column: 2 !important;
    }

    .profile-input {
        width: 100% !important;
        min-width: 0 !important;
        height: 34px !important;
        font-size: 0.80rem !important;
        box-sizing: border-box !important;
    }

    .profile-textarea {
        height: auto !important;
        font-size: 0.80rem !important;
    }

    .profile-readonly-note {
        padding: 8px 10px !important;
        font-size: 0.74rem !important;
        margin-bottom: 8px !important;
    }

    .profile-actions-bar {
        gap: 8px !important;
    }

    .btn-profile-primary {
        flex: 1 !important;
        justify-content: center !important;
        height: 36px !important;
        font-size: 0.82rem !important;
    }

    .btn-profile-link {
        padding: 8px 14px !important;
        font-size: 0.80rem !important;
    }
}

/* ==========================================================================
   MOBİL GİRİŞ EKRANI (/Account/Login) - YALNIZCA FİRMA LOGOSU VE GİRİŞ FORMU
   ========================================================================== */
@media (max-width: 960px) {
    body.login-page-body {
        min-height: 100vh !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 16px 14px !important;
        box-sizing: border-box !important;
    }

    .login-wrapper {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 430px !important;
        min-height: auto !important;
        margin: 0 auto !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        box-shadow: 0 20px 44px rgba(0, 0, 0, 0.30) !important;
    }

    .login-brand-panel {
        padding: 22px 20px 18px !important;
        min-height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .login-brand-header {
        margin: 0 !important;
        justify-content: center !important;
    }

    .login-custom-logo {
        max-height: 46px !important;
        max-width: 210px !important;
        object-fit: contain !important;
    }

    .login-brand-content,
    .login-brand-footer {
        display: none !important;
    }

    .login-form-panel {
        padding: 22px 20px 26px !important;
        background: #FFFFFF !important;
    }

    .login-form-card {
        padding: 0 !important;
        box-shadow: none !important;
        border: none !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .login-card-header {
        margin-bottom: 18px !important;
        text-align: center !important;
    }

    .login-card-header h2 {
        font-size: 1.25rem !important;
        margin-bottom: 4px !important;
    }

    .login-card-header p {
        font-size: 0.80rem !important;
    }
}



