/**
 * Storefront Modern Responsive UI CSS
 * Otomotiv & Yedek Parça E-Ticaret ve B2B Portalı Tasarımı
 * PHP 7.4 - 8.4 Uyumlu, 100% Mobil Uyumlu
 */

:root {
    --store-primary: #0284c7;
    --store-primary-hover: #0369a1;
    --store-dark: #0f172a;
    --store-slate: #1e293b;
    --store-gray-100: #f1f5f9;
    --store-gray-200: #e2e8f0;
    --store-gray-500: #64748b;
    --store-gray-700: #334155;
    --store-red: #dc2626;
    --store-red-light: #fef2f2;
    --store-green: #16a34a;
    --store-green-light: #f0fdf4;
    --store-amber: #d97706;
    --store-amber-light: #fffbeb;
    --store-purple: #7c3aed;
    --store-purple-light: #f5f3ff;
    --store-radius: 8px;
    --store-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px -1px rgba(0, 0, 0, 0.08);
    --store-shadow-hover: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.06);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8fafc;
    color: var(--store-dark);
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

/* Kapsayıcı */
.store-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Üst Bildirim / Bilgi Çubuğu */
.store-topbar {
    background-color: var(--store-dark);
    color: #94a3b8;
    font-size: 12.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 7px 0;
}

.store-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.store-topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.store-topbar-left span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.store-topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.store-topbar-right a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.store-topbar-right a:hover {
    color: #ffffff;
}

.badge-dealer-top {
    background: #4338ca;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 11px;
}

/* Ana Header Navbar */
.store-header {
    background: #ffffff;
    border-bottom: 1px solid var(--store-gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.store-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
    gap: 24px;
}

/* Marka / Logo */
.store-brand-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.store-header-logo {
    height: 44px;
    width: auto;
    max-width: 280px;
    display: block;
    object-fit: contain;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-brand-link:hover .store-header-logo {
    transform: scale(1.02);
}

.store-footer-logo {
    height: 42px;
    width: auto;
    max-width: 280px;
    display: block;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.store-footer-logo:hover {
    opacity: 0.9;
}

.store-logo-mark {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    box-shadow: 0 4px 6px -1px rgba(2, 132, 199, 0.3);
}

.store-brand-text {
    display: flex;
    flex-direction: column;
}

.store-brand-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--store-dark);
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.store-brand-subtitle {
    font-size: 11px;
    font-weight: 600;
    color: var(--store-primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Arama Çubuğu */
.store-search-form {
    flex: 1;
    max-width: 580px;
    position: relative;
    display: flex;
    align-items: center;
}

.store-search-input {
    width: 100%;
    height: 44px;
    padding: 0 100px 0 16px;
    border: 2px solid var(--store-gray-200);
    border-radius: 22px;
    font-size: 13.5px;
    color: var(--store-dark);
    background: #ffffff;
    outline: none;
    transition: all 0.2s ease;
}

.store-search-input:focus {
    border-color: var(--store-primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.store-search-btn {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    background: var(--store-primary);
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.store-search-btn:hover {
    background: var(--store-primary-hover);
}

/* Sağ İşlem Butonları */
.store-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-b2b-highlight {
    background: #ede9fe;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.btn-b2b-highlight:hover {
    background: #6d28d9;
    color: #ffffff;
    border-color: #6d28d9;
}

.btn-cart-box {
    background: var(--store-gray-100);
    border: 1px solid var(--store-gray-200);
    color: var(--store-dark);
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-cart-box:hover {
    background: #e2e8f0;
}

/* Mobil Hamburger Butonu */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--store-dark);
    cursor: pointer;
    padding: 6px;
}

/* İkincil Kategori Gezinme Barı (Desktop) */
.store-subnav {
    background: #ffffff !important;
    border-bottom: 1px solid var(--store-gray-200);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.store-subnav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 46px;
    gap: 16px;
}

.store-subnav-links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2px;
    flex: 1;
    overflow-x: auto;
    white-space: nowrap !important;
    scrollbar-width: none;
}

.store-subnav-links::-webkit-scrollbar {
    display: none;
}

.store-subnav-links li {
    display: inline-block;
    flex-shrink: 0;
    white-space: nowrap !important;
}

.store-subnav-links a {
    color: var(--store-gray-700);
    text-decoration: none;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap !important;
    line-height: 1.2;
}

.store-subnav-links a:hover {
    background: var(--store-gray-100);
    color: var(--store-primary);
}

.store-subnav-links a.active {
    background: #e0f2fe;
    color: #0369a1;
}

.nav-link-hot {
    color: var(--store-red) !important;
    font-weight: 700 !important;
}

.nav-link-hot:hover {
    background: var(--store-red-light) !important;
}

.badge-pulse {
    background: var(--store-red);
    color: #ffffff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 700;
}

/* Mobil Çekmece Menü (Offcanvas Drawer) */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.mobile-drawer-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    max-width: 85%;
    background: #ffffff;
    z-index: 2001;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}

.mobile-drawer.active {
    transform: translateX(0);
}

.drawer-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--store-gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--store-gray-500);
    cursor: pointer;
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}

.drawer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.drawer-menu-list li {
    margin-bottom: 4px;
}

.drawer-menu-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    color: var(--store-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
}

.drawer-menu-list a:hover {
    background: var(--store-gray-100);
    color: var(--store-primary);
}

/* Mobil Alt Sabit Navigasyon Barı (< 768px) */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #ffffff;
    border-top: 1px solid var(--store-gray-200);
    z-index: 990;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.mobile-bottom-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 100%;
}

.mobile-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--store-gray-500);
    font-size: 10.5px;
    font-weight: 600;
    gap: 3px;
    flex: 1;
}

.mobile-bottom-item.active,
.mobile-bottom-item:hover {
    color: var(--store-primary);
}

.mobile-bottom-item .icon {
    font-size: 18px;
}

/* Hero Section (Compact & Slim) */
.store-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 12px;
    color: #ffffff;
    padding: 24px 28px;
    margin: 16px 0 22px 0;
    position: relative;
    overflow: visible;
    z-index: 50;
    box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.2);
}

.store-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 12px;
    background: radial-gradient(circle at 85% 20%, rgba(2, 132, 199, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-pill-badge {
    display: none;
}

.hero-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 6px 0;
    letter-spacing: -0.3px;
}

.hero-desc {
    color: #94a3b8;
    font-size: 13.5px;
    line-height: 1.5;
    width: 100%;
    max-width: 100%;
    margin: 0 0 16px 0;
}

/* Hero Arama Kutusu Tabları (Tam Sığacak Şekilde) */
.hero-search-box {
    background: #ffffff;
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

.hero-search-tabs {
    display: flex;
    gap: 4px;
    padding: 4px 4px 0 4px;
}

.hero-tab-btn {
    background: none;
    border: none;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--store-gray-500);
    border-radius: 6px;
    cursor: pointer;
}

.hero-tab-btn.active {
    background: #e0f2fe;
    color: #0369a1;
}

.hero-search-form {
    display: flex;
    gap: 8px;
    padding: 6px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.hero-search-input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--store-gray-200);
    border-radius: 6px;
    padding: 0 14px;
    font-size: 13.5px;
    color: var(--store-dark);
    height: 42px;
    outline: none;
}

.hero-search-input:focus {
    border-color: var(--store-primary);
}

.hero-search-submit {
    background: var(--store-primary);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0 20px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.hero-search-submit:hover {
    background: var(--store-primary-hover);
}

/* ========================================================
   BELİRGİN ANASAYFA BLOKLARI (Distinct Section Panels)
   ======================================================== */
.home-section-block {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 14px;
    padding: 24px 28px;
    margin-bottom: 32px;
    box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.08);
    position: relative;
}

.block-discounted {
    border-top: 4px solid #dc2626;
}

.block-categories {
    border-top: 4px solid #0284c7;
}

.block-featured {
    border-top: 4px solid #f59e0b;
}

.block-trust {
    border-top: 4px solid #10b981;
}

.home-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 16px;
    margin-bottom: 22px;
    border-bottom: 1.5px solid #f1f5f9;
    flex-wrap: wrap;
    gap: 12px;
}

.header-badge-accent {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.badge-accent-red {
    background: #fee2e2;
    color: #dc2626;
}

.badge-accent-blue {
    background: #e0f2fe;
    color: #0284c7;
}

.badge-accent-amber {
    background: #fef3c7;
    color: #d97706;
}

.home-block-title {
    font-size: 21px;
    font-weight: 800;
    color: var(--store-dark);
    margin: 0;
    line-height: 1.25;
}

.home-block-subtitle {
    font-size: 13px;
    color: var(--store-gray-500);
    margin-top: 3px;
}

.btn-block-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-action-red {
    color: #dc2626;
    background: #fef2f2;
    border: 1.5px solid #fecaca;
}

.btn-action-red:hover {
    background: #dc2626;
    color: #ffffff;
}

.btn-action-blue {
    color: #0284c7;
    background: #f0f9ff;
    border: 1.5px solid #bae6fd;
}

.btn-action-blue:hover {
    background: #0284c7;
    color: #ffffff;
}

/* Güven Rozetleri (Trust Badges) */
.store-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 0;
}

.trust-item {
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: var(--store-radius);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--store-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.trust-title {
    font-weight: 700;
    font-size: 13.5px;
    color: var(--store-dark);
    margin-bottom: 2px;
}

.trust-subtitle {
    font-size: 11.5px;
    color: var(--store-gray-500);
}

/* Ürün Kartı Grid & Kart Yapısı */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.products-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 1200px) {
    .products-grid-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 900px) {
    .products-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .products-grid-4 {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
}

.product-card {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    transition: all 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px -4px rgba(2, 132, 199, 0.16);
    border-color: var(--store-primary);
}

.card-top-badges {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.badge-sku {
    background: var(--store-gray-100);
    color: var(--store-gray-700);
    font-size: 11px;
    font-family: monospace;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 4px;
}

.badge-discount-percent {
    background: var(--store-red-light);
    color: var(--store-red);
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid #fecaca;
}

.product-img-box {
    height: 140px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    overflow: hidden;
    position: relative;
}

.product-img-box img {
    max-height: 120px;
    max-width: 90%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

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

.product-meta-oem {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--store-primary);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--store-dark);
    margin: 0 0 6px 0;
    line-height: 1.35;
    height: 38px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.product-title a:hover {
    color: var(--store-primary);
}

.product-sub-info {
    font-size: 12px;
    color: var(--store-gray-500);
    margin-bottom: 10px;
}

/* Stok Rozetleri */
.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.stock-in {
    background: var(--store-green-light);
    color: var(--store-green);
    border: 1px solid #bbf7d0;
}

.stock-low {
    background: var(--store-amber-light);
    color: var(--store-amber);
    border: 1px solid #fde68a;
}

.stock-out {
    background: var(--store-red-light);
    color: var(--store-red);
    border: 1px solid #fecaca;
}

/* Fiyat ve Buton Bölümü */
.card-bottom-bar {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--store-gray-100);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.price-box-old {
    text-decoration: line-through;
    color: var(--store-gray-500);
    font-size: 12px;
    line-height: 1.2;
}

.price-box-current {
    font-size: 18px;
    font-weight: 800;
    color: var(--store-dark);
    line-height: 1.2;
}

.price-box-current.discounted {
    color: var(--store-red);
}

.btn-card-action {
    background: var(--store-primary);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-card-action:hover {
    background: var(--store-primary-hover);
}

/* Kategori Listesi / Çipleri (Belirgin Blok Kartları) */
.category-chips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
    margin-bottom: 0;
}

.category-chip {
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}

.category-chip:hover {
    background: #ffffff;
    border-color: var(--store-primary);
    box-shadow: 0 8px 20px -4px rgba(2, 132, 199, 0.18);
    transform: translateY(-2px);
}

.category-chip-icon {
    width: 42px;
    height: 42px;
    background: #e0f2fe;
    color: #0284c7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

/* Filtreli Katalog Düzeni */
.catalog-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 28px;
    margin-bottom: 40px;
}

.catalog-sidebar {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.05);
    height: fit-content;
}

.catalog-sidebar-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--store-dark);
    margin: 0 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--store-gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Footer Tasarımı (Garanti BBVA ibaresi temizlendi) */
.store-footer {
    background: #0b132b;
    color: #94a3b8;
    padding: 40px 0 20px 0;
    margin-top: 24px;
    border-top: 1px solid #1c2541;
}

.store-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 36px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.footer-col p {
    color: #94a3b8;
    line-height: 1.6;
    margin: 0 0 10px 0;
    font-size: 13px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-security-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.security-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: #cbd5e1;
}

.store-footer-bottom {
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: #64748b;
}

/* ========================================================
   MODERN KOMPONENTLER (Arama Şeridi, Ürün Detay, Sepet, Filtre)
   ======================================================== */

/* Mobil Arama Şeridi */
.store-mobile-search-strip {
    display: none;
    background: #ffffff;
    border-bottom: 1.5px solid var(--store-gray-200);
    padding: 8px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.mobile-search-form {
    display: flex;
    gap: 6px;
    align-items: center;
}

.mobile-search-input {
    flex: 1;
    height: 40px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 13.5px;
    color: var(--store-dark);
    outline: none;
    background: #f8fafc;
}

.mobile-search-input:focus {
    background: #fff;
    border-color: var(--store-primary);
}

.mobile-search-submit {
    height: 40px;
    background: var(--store-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

/* Ürün Detay Komponentleri */
.product-detail-card {
    background: #ffffff;
    border: 1px solid var(--store-gray-200);
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--store-shadow);
    margin-bottom: 18px;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 36px;
    align-items: start;
}

.product-gallery-main {
    background: #f8fafc;
    border: 1px solid var(--store-gray-200);
    border-radius: 10px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
}

.product-guarantee-grid {
    border-top: 1px solid var(--store-gray-200);
    padding-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    font-size: 12.5px;
}

/* Sepet Komponentleri */
.cart-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--store-gray-100);
    gap: 16px;
}

.cart-item-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.cart-item-thumb {
    width: 56px;
    height: 56px;
    background: #f8fafc;
    border: 1px solid var(--store-gray-200);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-title {
    font-weight: 700;
    color: var(--store-dark);
    font-size: 13.5px;
    text-decoration: none;
    display: block;
    margin: 2px 0;
    line-height: 1.35;
}

.cart-item-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.cart-item-qty {
    flex-shrink: 0;
}

.cart-item-total {
    text-align: right;
    min-width: 95px;
    flex-shrink: 0;
}

.cart-table-footer {
    padding: 14px 20px;
    background: #fafafa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-summary-box {
    background: #ffffff;
    border: 1px solid var(--store-gray-200);
    border-radius: 12px;
    box-shadow: var(--store-shadow);
    padding: 24px;
    position: sticky;
    top: 90px;
}

/* Mobil Filtre Butonu */
.mobile-filter-bar-btn {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    background: #ffffff;
    border: 1.5px solid var(--store-primary);
    color: var(--store-primary);
    font-weight: 700;
    border-radius: 8px;
    font-size: 13.5px;
    cursor: pointer;
    margin-bottom: 14px;
    transition: all 0.15s ease;
}

.mobile-filter-bar-btn:active {
    background: #f0f9ff;
}

/* ========================================================
   RESPONSIVE BREAKPOINTS (Mobil ve Tablet Uyumluluğu)
   ======================================================== */

@media (max-width: 992px) {
    .store-subnav {
        display: none !important;
    }

    .mobile-nav-toggle {
        display: flex !important;
    }

    .store-topbar-left {
        display: none !important;
    }

    .store-topbar-inner {
        justify-content: flex-end;
    }

    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .mobile-filter-bar-btn {
        display: flex !important;
    }

    .catalog-sidebar {
        display: none;
    }

    .catalog-sidebar.mobile-open {
        display: block !important;
        margin-bottom: 20px;
    }

    .product-detail-card {
        padding: 20px;
        margin-bottom: 24px;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-gallery-main {
        height: 280px;
    }

    .cart-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .cart-summary-box {
        position: static !important;
    }

    .store-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .store-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    body {
        padding-bottom: 72px !important; /* Mobil alt bar için nefes payı */
    }

    .store-container {
        padding: 0 12px !important;
    }

    /* Üst çubuğu mobilde gizle - Maksimum ekran alanı */
    .store-topbar {
        display: none !important;
    }

    /* Mobil Arama Şeridi Aktif */
    .store-mobile-search-strip {
        display: block !important;
    }

    .mobile-bottom-bar {
        display: block !important;
    }

    .store-header {
        height: 60px;
    }

    .store-nav-wrapper {
        height: 60px;
        gap: 8px;
    }

    .store-header-logo {
        height: 36px !important;
        max-width: 195px !important;
    }

    .store-footer-logo {
        height: 38px !important;
        max-width: 220px !important;
    }

    .store-brand-title {
        font-size: 15px !important;
        max-width: 170px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: inline-block !important;
    }

    .store-brand-subtitle {
        display: none !important;
    }

    .store-search-form {
        display: none !important;
    }

    /* Header aksiyonları mobilde slimleşir */
    .header-cart-label,
    .header-cart-total,
    .header-catalog-btn {
        display: none !important;
    }

    .btn-cart-box {
        padding: 6px 10px !important;
        border-radius: 8px !important;
        gap: 4px !important;
    }

    .mobile-nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 38px !important;
        height: 38px !important;
        border-radius: 8px !important;
        font-size: 18px !important;
    }

    /* Belirgin Bloklar Mobilde Uyumlu */
    .home-section-block {
        padding: 16px 14px !important;
        border-radius: 12px !important;
        margin-bottom: 20px !important;
    }

    .home-section-header {
        padding-bottom: 12px !important;
        margin-bottom: 16px !important;
    }

    .home-block-title {
        font-size: 18px !important;
    }

    .btn-block-action {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 7px 10px !important;
        font-size: 12.5px !important;
    }

    /* Hero Alanı Mobilde İnce & Kompakt */
    .store-hero {
        padding: 18px 14px !important;
        margin: 12px 0 18px 0 !important;
        border-radius: 10px !important;
    }

    .hero-title {
        font-size: 19px !important;
        margin-bottom: 6px !important;
    }

    .hero-desc {
        font-size: 12.5px !important;
        margin-bottom: 14px !important;
    }

    /* Mobilde Tekli Ürün Kartları (1 Ürün / Satır - Kullanıcı İsteği) */
    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .product-card {
        padding: 14px !important;
        border-radius: 10px !important;
    }

    .product-img-box {
        height: 160px !important;
    }

    .product-title {
        font-size: 14px !important;
        line-height: 1.4 !important;
        height: auto !important;
        min-height: 20px !important;
        margin: 6px 0 !important;
    }

    .product-sub-info {
        font-size: 12px !important;
        margin-bottom: 6px !important;
    }

    .price-box-current {
        font-size: 16px !important;
    }

    .price-box-old {
        font-size: 12px !important;
    }

    .card-bottom-bar {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-top: 12px !important;
        padding-top: 10px !important;
        border-top: 1px solid var(--store-gray-100) !important;
    }

    .card-bottom-bar .btn {
        width: auto !important;
        padding: 8px 18px !important;
        font-size: 13px !important;
        text-align: center;
        justify-content: center;
    }

    /* Kategori Çipleri 2 Sütun */
    .category-chips-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        margin-bottom: 24px !important;
    }

    .category-chip {
        padding: 10px !important;
        gap: 8px !important;
    }

    .category-chip-icon {
        width: 30px !important;
        height: 30px !important;
        font-size: 14px !important;
    }

    /* Güven Rozetleri 2 Sütun */
    .store-trust-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        margin-bottom: 24px !important;
    }

    .trust-item {
        padding: 10px !important;
        gap: 8px !important;
    }

    .trust-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 15px !important;
    }

    .trust-title {
        font-size: 11.5px !important;
    }

    .trust-subtitle {
        display: none !important;
    }

    /* Sepet Kartı Mobilde Dikey Katlanır */
    .cart-item-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        padding: 12px 14px !important;
    }

    .cart-item-right {
        justify-content: space-between !important;
        width: 100% !important;
        padding-top: 8px !important;
        border-top: 1px dashed var(--store-gray-200) !important;
    }

    .cart-table-footer {
        flex-direction: column !important;
        gap: 10px !important;
        text-align: center !important;
    }

    .cart-summary-box {
        padding: 16px !important;
    }

    /* Ürün Detay Garantileri 1 Sütun */
    .product-guarantee-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .product-detail-card {
        padding: 14px !important;
    }

    .product-gallery-main {
        height: 240px !important;
    }

    /* Footer Mobilde Tek Sütun */
    .store-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    .store-footer {
        padding: 30px 0 16px 0 !important;
    }

    .store-footer-bottom {
        flex-direction: column !important;
        gap: 10px !important;
        text-align: center !important;
    }
}
