:root {
    --portal-primary: #0f172a;
    --portal-accent: #2563eb;
    --portal-bg: #f8fafc;
}

body {
    background-color: var(--portal-bg);
    color: #1e293b;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding-bottom: 70px; /* Mobil alt bar için boşluk */
}

@media (min-width: 992px) {
    body { padding-bottom: 0; }
}

/* Üst Header ve Arama */
.portal-navbar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1030;
}

/* Navbar Marka Logosu (Masaüstü ve Mobil Uyumlu) */
/* Navbar Marka Logosu (1.8 Kat Büyütülmüş Masaüstü ve Mobil Uyumlu) */
.brand-logo {
    text-decoration: none;
    flex-shrink: 0;
    line-height: 1;
}

.portal-brand-logo {
    height: 65px;       /* Eski 36px değerinin 1.8 katı */
    width: auto;        /* En-boy oranını korur */
    max-width: 280px;
    object-fit: contain;
    display: block;
}

/* Mobil ve Küçük Ekranlar (< 576px) */
@media (max-width: 575.98px) {
    .portal-brand-logo {
        height: 47px;   /* Eski 26px değerinin 1.8 katı */
        max-width: 185px;
    }
}

/* Kategori & Marka Kartları */
.portal-cat-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    transition: all 0.2s ease;
}

.portal-cat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.07);
    border-color: #cbd5e1;
}

/* Ürün Kartı (Mobil 2'li, Masaüstü 4'lü Grid Uyumlu) */
/* Ürün Kartı (Hem Mobil Hem Masaüstü İçin Çerçevesiz ve Keskin Köşeli) */
.product-card,
.product-card * {
    border-radius: 0 !important;
}

.product-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #f1f5f9;
    overflow: hidden;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.03);
}

.product-card-body {
    padding: 8px 0 4px 0 !important;
    background: transparent !important;
    border: none !important;
}

.badge-series-info {
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.72rem;
    padding: 4px 8px;
    border-radius: 6px;
}

.guest-price-lock {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.78rem;
    color: #475569;
    display: block;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
}

.guest-price-lock:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: var(--portal-accent);
}

/* Mobil Alt Sabit Menü (Bottom Navigation Bar) */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1040;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.04);
}

.mobile-bottom-nav a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.mobile-bottom-nav a.active {
    color: var(--portal-accent);
}

.mobile-bottom-nav .nav-icon {
    font-size: 1.2rem;
    line-height: 1;
}

@media (max-width: 575.98px) {
    .product-card-body {
        padding: 10px !important;
    }
    .product-title {
        font-size: 0.85rem !important;
    }
}

/* Mobil Offcanvas Sidebar İçi Marka Logosu */
.sidebar-brand-logo {
    height: 48px;
    width: auto;
    max-width: 210px;
    object-fit: contain;
    display: block;
}