/* ========================================
   GECE/GÜNDÜZ MODU - CSS VARIABLES
   ======================================== */
:root[data-theme="light"] {
    --topbar-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --topbar-text: #ffffff;
    --topbar-hover: #ffd700;

    --mainbar-bg: #1a1a1a;
    --mainbar-text: #ffffff;

    --search-bg: #2d2d2d;
    --search-text: #ffffff;
    --search-placeholder: #8b8b8b;
    --search-border: #3d3d3d;

    --action-btn-hover: rgba(255, 255, 255, 0.1);

    --body-bg: #f5f5f5;
    --body-text: #1a1a1a;
}

:root[data-theme="dark"] {
    --topbar-bg: linear-gradient(135deg, #404EED 0%, #5a4ba2 100%);
    --topbar-text: #e5e5e5;
    --topbar-hover: #ffd700;

    --mainbar-bg: #0a0a0a;
    --mainbar-text: #e5e5e5;

    --search-bg: #1a1a1a;
    --search-text: #e5e5e5;
    --search-placeholder: #6b6b6b;
    --search-border: #2d2d2d;

    --action-btn-hover: rgba(255, 255, 255, 0.1);

    --body-bg: #0a0a0a;
    --body-text: #e5e5e5;
}

/* ========================================
   BODY THEME SUPPORT
   ======================================== */
body {
    background-color: var(--body-bg) !important;
    color: var(--body-text) !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ========================================
   1. KAT - ÜST MENÜ (MAVİ)
   ======================================== */
.fp-top-bar {
    background: var(--topbar-bg) !important;
    padding: 10px 0 !important;
    font-size: 14px !important;
}

.fp-top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fp-top-bar-left {
    display: flex;
    gap: 25px;
}

.fp-top-link {
    color: var(--topbar-text) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.fp-top-link:hover {
    color: var(--topbar-hover) !important;
    transform: translateY(-2px) !important;
}

.fp-top-bar-right {
    color: var(--topbar-text) !important;
}

.fp-top-text {
    font-size: 13px !important;
    font-weight: 500 !important;
}

/* Dil ve Para Birimi Seçimi */
.fp-lang-dropdown .dropdown-toggle {
    font-size: 13px !important;
    padding: 0 5px !important;
}

.fp-lang-dropdown .dropdown-menu {
    border: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    border-radius: 10px !important;
    padding: 10px !important;
    background: #1a1a1a !important;
}

.fp-lang-dropdown .dropdown-item {
    border-radius: 8px !important;
    padding: 8px 15px !important;
    font-size: 13px !important;
    color: #e5e5e5 !important;
    transition: all 0.2s ease !important;
}

.fp-lang-dropdown .dropdown-item:hover {
    background: var(--topbar-bg) !important;
    color: #fff !important;
    transform: translateX(5px) !important;
}

.fp-lang-dropdown img {
    border-radius: 3px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* ========================================
   2. KAT - ANA HEADER (SİYAH)
   ======================================== */
.fp-header {
    background: var(--mainbar-bg) !important;
    transition: background-color 0.3s ease !important;
}

.fp-header .logo {
    color: var(--mainbar-text) !important;
}

.fp-header .search-box {
    background: var(--search-bg) !important;
    border: 1px solid var(--search-border) !important;
}

.fp-header .search-box input {
    background: transparent !important;
    color: var(--search-text) !important;
}

.fp-header .search-box input::placeholder {
    color: var(--search-placeholder) !important;
}

.fp-header .right-link {
    color: var(--mainbar-text) !important;
    transition: background-color 0.3s ease !important;
}

.fp-header .right-link:hover {
    background: var(--action-btn-hover) !important;
}

/* Chat & Sepet İkonları */
.fp-cart-link,
.fp-chat-link {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.fp-cart-icon,
.fp-chat-icon {
    position: relative !important;
}

.fp-cart-badge,
.fp-chat-badge {
    position: absolute !important;
    top: -5px !important;
    right: -5px !important;
    background: #ef4444 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    width: 18px !important;
    height: 18px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Tema Toggle Butonu */
.fp-theme-toggle {
    background: transparent !important;
    border: none !important;
    color: var(--mainbar-text) !important;
    cursor: pointer !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.fp-theme-toggle:hover {
    background: var(--action-btn-hover) !important;
    transform: rotate(20deg) !important;
}

/* Tema ikonlarını gizle/göster */
[data-theme="light"] .fp-theme-icon-dark {
    display: none !important;
}

[data-theme="dark"] .fp-theme-icon-light {
    display: none !important;
}

/* ========================================
   GİRİŞ YAPMAYAN KULLANICI İÇİN BUTONLAR
   ======================================== */
/* Kayıt Ol Butonu (Yeşil) */
.fp-btn-register {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 20px !important;
    background: #10b981 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.fp-btn-register:hover {
    background: #059669 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.fp-btn-register i {
    font-size: 18px !important;
}

/* Giriş Yap Butonu (Mavi) */
.fp-btn-login {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 20px !important;
    background: #3b82f6 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: none !important;
    margin-left: 10px !important;
}

.fp-btn-login:hover {
    background: #2563eb !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.fp-btn-login i {
    font-size: 18px !important;
}

/* ========================================
   RESPONSIVE TASARIM
   ======================================== */
@media (max-width: 991px) {
    .fp-top-bar {
        padding: 8px 0 !important;
        font-size: 13px !important;
    }

    .fp-top-bar-left {
        gap: 15px !important;
    }

    .fp-top-link {
        font-size: 13px !important;
    }

    .fp-top-text {
        font-size: 12px !important;
    }
}

@media (max-width: 767px) {
    .fp-top-bar {
        padding: 6px 0 !important;
        font-size: 12px !important;
    }

    .fp-top-bar-left {
        gap: 10px !important;
        flex-wrap: wrap !important;
    }

    .fp-top-link {
        font-size: 11px !important;
    }

    .fp-top-bar-right {
        display: none !important;
    }

    .fp-cart-link .content,
    .fp-chat-link .content {
        display: none !important;
    }
}

@media (max-width: 575px) {
    .fp-top-link i {
        display: none !important;
    }
}

/* ========================================
   3. KAT - NAVBAR & MEGA MENU (Dark Mode Uyumlu)
   ======================================== */
:root[data-theme="light"] {
    --navbar-bg: #2d3748;
    --navbar-text: #ffffff;
    --navbar-link-hover: rgba(255, 255, 255, 0.1);

    --mega-menu-bg: #ffffff;
    --mega-menu-text: #1a1a1a;
    --mega-menu-border: #e5e5e5;
    --mega-menu-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    --mega-menu-item-hover: #f5f5f5;
}

:root[data-theme="dark"] {
    --navbar-bg: #1a1a1a;
    --navbar-text: #e5e5e5;
    --navbar-link-hover: rgba(255, 255, 255, 0.05);

    --mega-menu-bg: #1a1a1a;
    --mega-menu-text: #e5e5e5;
    --mega-menu-border: #2d2d2d;
    --mega-menu-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --mega-menu-item-hover: #2d2d2d;
}

/* Navbar Genel Stil */
.fp-navbar {
    background: var(--navbar-bg) !important;
    transition: background-color 0.3s ease !important;
}

.fp-navbar .link {
    color: var(--navbar-text) !important;
    transition: all 0.3s ease !important;
}

.fp-navbar .link:hover {
    background: var(--navbar-link-hover) !important;
}

.fp-navbar-categories-dropdown {
    position: relative;
}

.fp-categories-btn {
    background: var(--topbar-bg) !important;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.fp-categories-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4) !important;
}

.fp-categories-mega-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: var(--mega-menu-bg) !important;
    border-radius: 12px !important;
    box-shadow: var(--mega-menu-shadow) !important;
    padding: 20px !important;
    min-width: 800px !important;
    max-width: 1000px !important;
    z-index: 1000 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s ease !important;
    margin-top: 10px !important;
}

.fp-categories-mega-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* GRİD KART TASARIMI - 2. fotodaki gibi */
.fp-categories-list-new {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    max-height: 500px;
    overflow-y: auto;
    padding: 10px;
    margin-bottom: 20px;
}

.fp-categories-list-new::-webkit-scrollbar {
    width: 8px;
}

.fp-categories-list-new::-webkit-scrollbar-track {
    background: var(--search-bg) !important;
    border-radius: 10px !important;
}

.fp-categories-list-new::-webkit-scrollbar-thumb {
    background: var(--topbar-bg) !important;
    border-radius: 10px !important;
}

.fp-category-list-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 15px !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    position: relative !important;
    overflow: hidden !important;
    background: var(--mega-menu-bg) !important;
    border: 1px solid var(--search-border) !important;
    color: var(--mega-menu-text) !important;
}

.fp-category-list-item:hover {
    transform: translateX(5px) !important;
    background: var(--mega-menu-item-hover) !important;
    border-color: var(--search-border) !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2) !important;
    text-decoration: none !important;
    color: var(--mega-menu-text) !important;
}

.fp-category-list-img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 8px;
}

.fp-category-list-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
}

.fp-category-list-name {
    font-weight: 600 !important;
    color: var(--mega-menu-text) !important;
    font-size: 14px !important;
    flex: 1 !important;
    text-shadow: none !important;
}

.fp-categories-footer {
    border-top: 2px solid var(--mega-menu-border) !important;
    padding-top: 15px !important;
    text-align: center !important;
}

.fp-all-categories-link {
    color: #667eea !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
    font-size: 15px !important;
}

.fp-all-categories-link:hover {
    color: #5865F2 !important;
    text-decoration: none !important;
}

.fp-all-categories-link:hover {
    color: #764ba2;
    gap: 12px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .fp-top-bar {
        display: none;
    }

    .fp-categories-mega-menu {
        min-width: 95vw;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
    }

    .fp-navbar-categories-dropdown:hover .fp-categories-mega-menu {
        transform: translateX(-50%) translateY(0);
    }

    .fp-categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }

    .fp-category-card {
        padding: 15px 10px;
    }

    .fp-category-icon {
        width: 50px;
        height: 50px;
    }

    .fp-category-name {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .fp-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   NAVBAR KATEGORİ İCONLARI
   ======================================== */
.category-icon-small {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-right: 10px;
    vertical-align: middle;
    display: inline-block;
}

.category-icon-tiny {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-right: 8px;
    vertical-align: middle;
    display: inline-block;
}

/* ========================================
   ALT KATEGORİ KARTLARI
   ======================================== */
.fp-subcategories-grid {
    margin-bottom: 30px;
}

.fp-subcategory-card {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    height: 200px;
}

.fp-subcategory-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.3);
}

.fp-subcategory-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.fp-subcategory-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.fp-subcategory-card:hover .fp-subcategory-img img {
    transform: scale(1.1);
}

.fp-subcategory-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.fp-subcategory-card:hover .fp-subcategory-name {
    background: linear-gradient(to top, rgba(102, 126, 234, 0.95), transparent);
}

/* Dark theme için alt kategori kartları aynı kalacak */

/* ========================================
   USER DROPDOWN (PROFİL DROPDOWN)
======================================== */
.fp-user-dropdown {
    position: relative;
}

.fp-user-trigger {
    cursor: pointer;
}

.fp-user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 15px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.fp-user-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fp-user-dropdown-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.fp-user-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.fp-user-info {
    flex: 1;
}

.fp-user-name {
    font-weight: 700;
    color: #2d3748;
    font-size: 15px;
    margin-bottom: 3px;
}

.fp-user-email {
    font-size: 13px;
    color: #718096;
}

.fp-user-dropdown-balance {
    padding: 15px 20px;
    background: linear-gradient(135deg, #667eea15, #764ba215);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #4a5568;
}

.fp-user-dropdown-balance i {
    font-size: 20px;
    color: #667eea;
}

.fp-user-dropdown-balance strong {
    color: #667eea;
    font-weight: 700;
}

.fp-user-dropdown-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 5px 0;
}

.fp-user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #4a5568;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.fp-user-dropdown-item:hover {
    background: #f7fafc;
    color: #667eea;
}

.fp-user-dropdown-item i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.fp-user-dropdown-item.fp-admin-link {
    color: #f6ad55;
}

.fp-user-dropdown-item.fp-admin-link:hover {
    background: #fffaf0;
    color: #dd6b20;
}

.fp-user-dropdown-item.fp-logout {
    color: #fc8181;
}

.fp-user-dropdown-item.fp-logout:hover {
    background: #fff5f5;
    color: #e53e3e;
}

/* Dark theme */
[data-theme="dark"] .fp-user-dropdown-menu {
    background: #2d3748;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .fp-user-dropdown-header {
    border-bottom-color: #4a5568;
}

[data-theme="dark"] .fp-user-name {
    color: #e2e8f0;
}

[data-theme="dark"] .fp-user-email {
    color: #a0aec0;
}

[data-theme="dark"] .fp-user-dropdown-balance {
    background: rgba(102, 126, 234, 0.1);
    color: #e2e8f0;
}

[data-theme="dark"] .fp-user-dropdown-divider {
    background: #4a5568;
}

[data-theme="dark"] .fp-user-dropdown-item {
    color: #e2e8f0;
}

[data-theme="dark"] .fp-user-dropdown-item:hover {
    background: #4a5568;
    color: #667eea;
}

/* ========================================
   KATEGORİ FOTOĞRAFLARI - ÇERÇEVE YOK
======================================== */
.fp-subcategory-img img {
    object-fit: cover;
    /* Tam doldur, kırpabilir */
    border-radius: 0;
    /* Çerçeve yok */
}

/* ========================================
   ÜRÜN SAYFA TAB SİSTEMİ
   ======================================== */
.fp-product-tabs {
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.fp-tabs-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
}

.fp-tabs-nav li {
    flex: 1;
}

.fp-tabs-nav li a {
    display: block;
    padding: 12px 20px;
    background: #f5f5f5;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: #666;
    font-weight: 600;
    transition: all 0.3s ease;
}

.fp-tabs-nav li.active a,
.fp-tabs-nav li a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

[data-theme="dark"] .fp-product-tabs {
    background: #2d3748;
}

[data-theme="dark"] .fp-tabs-nav li a {
    background: #4a5568;
    color: #e2e8f0;
}

/* ========================================
   KATEGORİ HERO SECTION
   ======================================== */
.fp-category-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
    margin-bottom: 40px;
    position: relative;
}

.fp-category-hero-content {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 2;
}

.fp-category-hero-icon {
    margin: 0 auto 20px;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.fp-category-hero-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.fp-category-hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.fp-category-hero-desc {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 768px) {
    .fp-category-hero {
        padding: 60px 0;
    }

    .fp-category-hero-icon {
        width: 80px;
        height: 80px;
        padding: 15px;
    }

    .fp-category-hero-title {
        font-size: 32px;
    }

    .fp-category-hero-desc {
        font-size: 16px;
    }
}

/* Dark Theme Support */
[data-theme="dark"] .fp-categories-mega-menu {
    background: #1a202c;
    color: #fff;
}

[data-theme="dark"] .fp-category-card {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: #e2e8f0;
}

[data-theme="dark"] .fp-category-card:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

[data-theme="dark"] .fp-categories-footer {
    border-top-color: #4a5568;
}

/* ============================================
   TAB SİSTEMİ - Frontend Product Page
============================================ */
.fp-tabs-container {
    margin-bottom: 35px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.fp-tabs-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--search-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--search-border);
    border-radius: 100px;
    padding: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.05);
    max-width: 100%;
}

.fp-tabs-header::-webkit-scrollbar {
    display: none;
}

.fp-tabs-header {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.fp-tab-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 100px;
    background: transparent;
    color: var(--body-text);
    opacity: 0.6;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    border: 1px solid transparent;
}

.fp-tab-item:hover {
    color: var(--body-text);
    opacity: 1;
    background: var(--action-btn-hover);
    text-decoration: none;
}

.fp-tab-item.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #d946ef);
    color: #ffffff !important;
    opacity: 1;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    font-weight: 700;
    transform: translateY(-1px);
    border-color: transparent;
}

.fp-tab-item.active:hover {
    background: linear-gradient(135deg, #818cf8, #a78bfa, #e879f9);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.fp-tab-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.fp-tab-item.active .fp-tab-icon {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.fp-tab-item:hover .fp-tab-icon,
.fp-tab-item.active .fp-tab-icon {
    transform: scale(1.1);
}

/* Tab yoksa mesaj */
.fp-no-products {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.fp-no-products i {
    font-size: 64px;
    color: #dee2e6;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .fp-tabs-container {
        justify-content: flex-start;
        padding: 0 4px;
        margin-bottom: 25px;
    }

    .fp-tabs-header {
        border-radius: 12px;
        padding: 6px;
        gap: 6px;
    }

    .fp-tab-item {
        padding: 10px 16px;
        font-size: 13px;
        border-radius: 8px;
    }

    .fp-tab-item.active {
        border-radius: 8px;
    }

    .fp-tab-icon {
        width: 18px;
        height: 18px;
    }
}

/* ============================================
   ANA KATEGORİ SAYFA KARTLARI - Simple Design
============================================ */
.fp-main-category-grid {
    margin-bottom: 40px;
}

/* 5 sütun için custom class */
.col-xl-2-4 {
    flex: 0 0 auto;
    width: 20%;
}

.fp-main-category-card {
    display: block;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background: #111;
    text-decoration: none;
    height: 320px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.2s ease;
}

.fp-main-category-card:hover {
    border-color: #f59e0b;
    text-decoration: none;
}

.fp-main-category-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.fp-main-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.fp-main-category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 40%, transparent 100%);
    z-index: 2;
}

.fp-main-category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 10px;
    text-align: center;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.fp-main-category-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.fp-main-category-logo img {
    width: auto;
    height: 45px;
    max-width: 100%;
    object-fit: contain;
}

.fp-main-category-title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.fp-market-category-card {
    border-color: rgba(124, 92, 255, 0.34);
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.2), rgba(17, 24, 39, 0.96));
    box-shadow: 0 18px 44px rgba(124, 92, 255, 0.16);
}

.fp-market-category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.26), rgba(32, 209, 255, 0.08) 48%, rgba(0, 0, 0, 0.15));
    pointer-events: none;
}

.fp-market-category-card:hover {
    border-color: rgba(124, 92, 255, 0.78);
}

.fp-market-category-logo {
    width: 58px;
    height: 58px;
    margin-bottom: 12px;
    border-radius: 18px;
    align-items: center;
    background: linear-gradient(135deg, #7c5cff, #3b82f6);
    box-shadow: 0 14px 30px rgba(59, 130, 246, 0.28);
}

.fp-market-category-logo img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.fp-market-category-logo i {
    color: #fff;
    font-size: 28px;
}

.fp-market-category-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    margin-top: 8px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #dbeafe;
    background: rgba(59, 130, 246, 0.18);
    border: 1px solid rgba(147, 197, 253, 0.22);
    font-size: 11px;
    font-weight: 800;
}

/* ============================================
   ÜRÜN KARTLARI - Ana Sayfa (Yeni Overlay Sistemi)
============================================ */
.fp-product-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.fp-product-item .content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.fp-product-item .alt-info {
    min-height: 50px;
    margin-top: auto;
}

.fp-product-item .alt-info .text {
    font-size: 11px;
    margin-bottom: 4px;
}

/* Ürün görseli wrapper */
.fp-product-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 12px;
}

.fp-product-img-wrapper .img {
    display: block;
}

/* SATICI OVERLAY - Sol Alt Köşe */
.fp-product-seller-overlay {
    position: absolute;
    bottom: 8px;
    left: 8px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.fp-product-seller-overlay:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.fp-product-seller-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fp-product-seller-overlay .seller-avatar {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
}

/* Resmi mağaza özel stil */
.fp-product-seller-overlay.fp-official {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: default;
}

.fp-product-seller-overlay.fp-official i {
    color: #fff;
    font-size: 18px;
}

/* KATEGORİ OVERLAY - Sağ Alt Köşe */
.fp-product-category-overlay {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.fp-product-category-overlay:hover {
    transform: scale(1.15);
    background: #fff;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.fp-product-category-overlay img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.fp-product-category-overlay i {
    font-size: 18px;
    color: #667eea;
}

/* ============================================
   HEADER İYİLEŞTİRMELERİ
============================================ */

/* Sepet Badge */
.fp-cart-icon {
    position: relative;
}

.fp-cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Chat Icon */
.fp-chat-link {
    margin: 0 8px !important;
}

.fp-chat-icon {
    position: relative;
}

.fp-chat-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.fp-chat-link:hover .fp-chat-icon i {
    color: #667eea;
}

/* Theme Toggle Button - Tek İkon */
.fp-theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0 8px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.fp-theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.fp-theme-toggle .icon {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fp-theme-toggle i {
    font-size: 20px;
    transition: all 0.3s ease;
}

/* Dark theme - Ay göster */
[data-theme="dark"] .fp-theme-icon-light {
    display: none;
}

[data-theme="dark"] .fp-theme-icon-dark {
    display: block;
    color: #ffd93d;
}

/* Light theme - Güneş göster */
[data-theme="light"] .fp-theme-icon-light {
    display: block;
    color: #ff9800;
}

[data-theme="light"] .fp-theme-icon-dark {
    display: none;
}

/* Responsive - Ana Kategori Kartları */
.col-xl-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
}

@media (max-width: 1400px) {
    .col-xl-2-4 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 1200px) {
    .fp-main-category-card {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .fp-main-category-card {
        height: 240px;
    }

    .fp-main-category-logo img {
        height: 36px;
    }

    .fp-main-category-title {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .fp-main-category-card {
        height: 200px;
    }

    .fp-main-category-logo {
        margin-bottom: 8px;
    }

    .fp-main-category-logo img {
        height: 30px;
    }

    .fp-main-category-title {
        font-size: 12px;
    }
}
