/* Ana stiller */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-display: swap;
    background-color: #f8f9fa;
}

/* Üst Bar */
.top-bar {
    font-size: 0.85rem;
}

.top-bar a:hover {
    text-decoration: underline !important;
}

/* Navbar */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    padding: 0.1rem 0;
}

.logo-img {
    max-height: 75px;
    height: auto;
    width: auto;
    object-fit: contain;
}

.navbar-light {
    border-bottom: 1px solid #e9ecef;
}

.navbar-light .navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #007bff;
}

/* Sticky Navbar */
.sticky-top {
    z-index: 1020;
}

/* Dropdown Menü */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 0.5rem;
    z-index: 100001 !important;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

.dropdown-item i {
    width: 20px;
}

/* Ana Navigasyon */
.main-navbar {
    z-index: 1030;
}

/* Navbar içindeki dropdown menüleri en üstte */
.main-navbar .dropdown,
.main-navbar .dropdown-menu {
    z-index: 100001 !important;
    position: relative;
}

.main-navbar .dropdown-menu {
    z-index: 100001 !important;
}

/* Kategori menüsü navbar'ın altında ama alt menü en üstte */
.category-icons-nav {
    z-index: 1025 !important;
}

/* Kategori Menüsü */
.category-icons-nav {
    z-index: 1025;
    position: relative;
}

/* Header ile içerik arası boşluk */
main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Hero section özel boşluk - header'dan sonra */
section.hero-banner {
    margin-top: 1.5rem !important;
    padding-top: 3rem !important;
}

/* İlk section'a boşluk ekle (eğer hero değilse) */
main>section:first-of-type:not(.hero-banner):not(.hero) {
    margin-top: 0 !important;
    padding-top: 1.5rem !important;
}

/* Kategori menüsü alt menü z-index düzeltmesi */
.category-icons-nav {
    position: relative;
    z-index: 9998;
}

.category-icon-item-wrapper {
    position: relative;
    z-index: 1050;
}

.category-submenu {
    z-index: 1050 !important;
    position: absolute !important;
}

.search-box {
    max-width: 600px;
}

.search-box .form-control-lg {
    font-size: 1rem;
    padding: 0.75rem 1rem;
}

/* Kategori İkonları Menüsü */
.category-icons-nav {
    background: #007bff !important;
    overflow: visible !important;
    position: relative;
    z-index: 9999 !important;
    margin-bottom: 0 !important;
}

/* Kategori menüsü tüm yazılar için zorunlu beyaz renk - Bootstrap override */
.category-icons-nav *,
.category-icons-nav a,
.category-icons-nav a:link,
.category-icons-nav a:visited,
.category-icons-nav a:hover,
.category-icons-nav a:active,
.category-icons-nav a:focus,
.category-icons-nav span,
.category-icons-nav div {
    color: #ffffff !important;
}

.category-icons-nav .category-icon-item-wrapper *,
.category-icons-nav .category-icon-item-wrapper a,
.category-icons-nav .category-icon-item-wrapper a:link,
.category-icons-nav .category-icon-item-wrapper a:visited,
.category-icons-nav .category-icon-item-wrapper a:hover,
.category-icons-nav .category-icon-item-wrapper a:active,
.category-icons-nav .category-icon-item-wrapper span,
.category-icons-nav .category-icon-item-wrapper .category-name {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

/* Bootstrap link renklerini override et */
nav.category-icons-nav a.category-icon-item,
nav.category-icons-nav a.category-icon-item:link,
nav.category-icons-nav a.category-icon-item:visited,
nav.category-icons-nav a.category-icon-item:hover,
nav.category-icons-nav a.category-icon-item:active {
    color: #ffffff !important;
}

nav.category-icons-nav .category-name,
nav.category-icons-nav span.category-name {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

.category-icons-nav .category-icon-item,
.category-icons-nav .category-icon-item:link,
.category-icons-nav .category-icon-item:visited,
.category-icons-nav .category-icon-item:hover,
.category-icons-nav .category-icon-item:active {
    color: #ffffff !important;
    text-decoration: none !important;
}

.category-icons-nav .category-name,
.category-icons-nav span.category-name,
.category-icons-nav .category-icon-item-wrapper .category-name,
.category-icons-nav .category-icon-item-wrapper span {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

.category-icons-nav .category-icon-item-wrapper a,
.category-icons-nav .category-icon-item-wrapper a * {
    color: #ffffff !important;
}

/* Scrollbar kaldırıldı - scroll istenmiyor */

.category-scroll {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.5rem 0;
    flex-wrap: nowrap;
    position: relative;
    z-index: 9999;
    overflow: visible !important;
}

.category-icons-nav .container {
    position: relative;
    overflow: visible !important;
    z-index: 9999;
}

.category-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #ffffff !important;
    min-width: 70px;
    transition: all 0.3s ease;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    margin: 0;
}

.category-icon-item span,
.category-icon-item .category-name,
.category-icon-item-wrapper .category-icon-item span,
.category-icon-item-wrapper .category-icon-item .category-name {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
    display: block !important;
}

.category-icon-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: white !important;
    text-decoration: none;
}

.category-icon-item:hover .category-name {
    color: white !important;
}

.category-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.category-icon-item:hover .category-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.category-icon i {
    font-size: 1.5rem;
    color: #ffffff !important;
}

.category-icons-nav a,
.category-icons-nav .category-icon-item,
.category-icons-nav .category-icon-item * {
    color: #ffffff !important;
}

.category-name {
    font-size: 0.75rem;
    text-align: center;
    white-space: nowrap;
    font-weight: 600 !important;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.category-icon-item * {
    color: #ffffff !important;
}

.category-icon-item span,
.category-icon-item .category-name {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.category-icon-item-wrapper .category-name,
.category-icon-item-wrapper span {
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* Kategori Alt Menü */
.category-icon-item-wrapper {
    position: relative;
    z-index: 100000 !important;
}

.category-submenu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: #fff !important;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2) !important;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100000 !important;
    overflow: visible !important;
}

/* Alt kategori menüsü - Tüm yazılar siyah - En yüksek öncelik */
.category-submenu,
.category-submenu *,
.category-submenu ul,
.category-submenu li,
.category-submenu li *,
.category-submenu a,
.category-submenu a:link,
.category-submenu a:visited,
.category-submenu a:active,
.category-submenu a:focus,
.category-submenu span,
.category-submenu div,
.category-submenu i,
.category-submenu .submenu-item,
.category-submenu .submenu-item *,
.category-submenu .submenu-item i,
.category-submenu .submenu-item span,
.category-icons-nav .category-submenu,
.category-icons-nav .category-submenu *,
.category-icons-nav .category-submenu a,
.category-icons-nav .category-submenu a *,
.category-icons-nav .category-submenu span,
.category-icons-nav .category-submenu i,
.category-icon-item-wrapper .category-submenu,
.category-icon-item-wrapper .category-submenu *,
.category-icon-item-wrapper .category-submenu a,
.category-icon-item-wrapper .category-submenu a * {
    color: #000000 !important;
}

.category-icon-item-wrapper:hover .category-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.category-submenu .submenu-item {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #000000 !important;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.submenu-item-wrapper {
    position: relative;
}

.submenu-nested {
    position: absolute !important;
    left: 100% !important;
    top: 0 !important;
    margin-left: 0.5rem;
    min-width: 200px;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 100001 !important;
    display: block !important;
    pointer-events: none;
}

.submenu-item-wrapper:hover .submenu-nested {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0);
    pointer-events: auto;
}

.submenu-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.submenu-item i.fa-chevron-left {
    margin-left: auto;
    font-size: 0.7rem;
}

.category-submenu .submenu-item:hover {
    background-color: #f8f9fa;
    color: #007bff !important;
    padding-left: 1rem;
}

/* ============================================
   YENİ HEADER BAR - HAMBURGER MENÜ
   ============================================ */

.secondary-header-bar {
    padding: 0.75rem 0;
    position: relative;
    z-index: 1020;
}

.hamburger-menu-btn {
    text-decoration: none !important;
    border: none !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.hamburger-menu-btn:hover {
    color: #007bff !important;
    background-color: transparent !important;
}

.hamburger-menu-btn i {
    transition: transform 0.3s ease;
}

.hamburger-menu-btn.active i {
    transform: rotate(90deg);
}

.quick-links-container {
    min-height: 40px;
}

/* ============================================
   TRENDYOL TARZI MEGA MENU
   ============================================ */

.trendyol-mega-menu-wrapper {
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
    margin-top: 0;
    will-change: max-height, opacity;
}

/* Mega menü açıldığında header'ların altından başlasın */
body.mega-menu-open {
    overflow: hidden;
}

.trendyol-mega-menu-wrapper.mega-menu-hidden {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
}

.trendyol-mega-menu-wrapper.mega-menu-visible {
    max-height: 600px;
    opacity: 1;
    visibility: visible;
}

/* Sol Taraf: Dikey Kategori Menüsü */
.trendyol-sidebar-menu {
    width: 280px;
    background-color: #f8f9fa;
    border-right: 1px solid #e0e0e0;
}

.trendyol-category-sidebar {
    padding: 0;
}

.trendyol-category-item {
    border-bottom: 1px solid #e8e8e8;
    position: relative;
}

.trendyol-category-item:last-child {
    border-bottom: none;
}

.trendyol-category-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    background-color: transparent;
}

.trendyol-category-link:hover {
    background-color: #ffffff;
    color: #007bff;
}

.trendyol-category-item:hover .trendyol-category-link {
    background-color: #ffffff;
    color: #007bff;
}

.trendyol-category-link i.fa-chevron-right {
    font-size: 10px;
    color: #999999;
    transition: color 0.2s ease;
}

.trendyol-category-link i.fa-chevron-left {
    font-size: 10px;
    color: #999999;
    margin-left: auto;
}

.trendyol-category-item:hover .trendyol-category-link i {
    color: #007bff;
}

/* Sağ Taraf: Mega Menu Paneli */
.trendyol-mega-menu-panel {
    background-color: #ffffff;
    min-height: 400px;
    position: relative;
}

.mega-menu-content {
    display: none;
    padding: 24px 32px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    min-height: 400px;
    background-color: #ffffff;
    z-index: 1000;
}

.mega-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.mega-menu-header h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333333;
}

.mega-menu-view-all {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.mega-menu-view-all:hover {
    color: #0056b3;
    text-decoration: underline;
}

.mega-menu-body {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.mega-menu-column {
    min-width: 200px;
    flex: 1;
}

.mega-menu-category-item {
    margin-bottom: 24px;
}

.mega-menu-category-item:last-child {
    margin-bottom: 0;
}

.mega-menu-category-link {
    display: block;
    color: #333333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.mega-menu-category-link:hover {
    color: #007bff;
}

.mega-menu-category-link strong {
    font-weight: 600;
}

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

.mega-menu-subcategories li {
    margin-bottom: 8px;
}

.mega-menu-subcategory-link {
    display: block;
    color: #666666;
    text-decoration: none;
    font-size: 13px;
    padding: 4px 0;
    transition: all 0.2s ease;
}

.mega-menu-subcategory-link:hover {
    color: #007bff;
    padding-left: 8px;
}

/* Aktif kategori için stil */
.trendyol-category-item.active .trendyol-category-link {
    background-color: #ffffff;
    color: #007bff;
    font-weight: 600;
}

.trendyol-category-item.active .trendyol-category-link i {
    color: #007bff;
}

/* Responsive: Mobilde gizle */
@media (max-width: 991.98px) {
    .trendyol-mega-menu-wrapper {
        display: none !important;
    }
}

.category-submenu .submenu-item:hover *,
.category-submenu .submenu-item:hover i {
    color: #007bff !important;
}

.category-submenu .submenu-item i {
    font-size: 0.7rem;
    color: #000000 !important;
}

/* Mobil Offcanvas Menü */
.offcanvas-start {
    width: 300px;
}

.offcanvas-body {
    overflow-y: auto;
    max-height: calc(100vh - 70px);
    /* Header yüksekliği çıkarılarak */
}

.offcanvas-body .list-group-item {
    border: none;
    padding: 1rem;
}

.offcanvas-body .list-group-item a {
    color: #333;
    font-weight: 500;
}

.offcanvas-body .list-group-item a:hover {
    color: #007bff;
}

.offcanvas-body .collapse .list-group-item {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

.offcanvas-body .collapse .list-group-item a {
    font-weight: 400;
}

/* Çerez Bildirimi */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-notice a {
    text-decoration: underline;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0;
}

.hero-banner {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    padding: 4rem 0;
    border-radius: 0;
    position: relative;
    z-index: 1 !important;
}

.hero-image-placeholder {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    color: #fff !important;
}

.hero-image-placeholder i,
.hero-image-placeholder h3 {
    color: #fff !important;
}

.hero-banner h1 {
    font-size: 3rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-banner p {
    font-size: 1.25rem;
    line-height: 1.6;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem 0;
        text-align: center;
    }

    .hero h1 {
        font-size: 1.75rem !important;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem !important;
        margin-bottom: 1.5rem;
    }

    .hero .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Ürün kartları */
.product-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-card .card-body {
    padding: 1rem;
}

.product-image {
    width: 100%;
    height: 100%;
    max-width: 250px;
    max-height: 250px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    background-color: #ffffff;
    display: block;
    padding: 10px;
    box-sizing: border-box;
    aspect-ratio: 1 / 1;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    border-radius: 4px;
}

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

/* Yatay Ürün Kartı Tasarımı */
.product-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.product-card-link:hover {
    color: inherit;
    text-decoration: none;
}

.product-card-horizontal {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    background: #ffffff;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: row;
    cursor: pointer;
}

.product-card-horizontal .row {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin: 0;
}

.product-card-link:hover .product-card-horizontal {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.product-image-wrapper-horizontal {
    width: 100%;
    height: 250px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.product-image-horizontal {
    width: 100%;
    height: 100%;
    max-width: 250px;
    max-height: 250px;
    object-fit: contain;
    object-position: center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
}

.product-card-body-horizontal {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    box-sizing: border-box;
}

.product-title-horizontal {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title-horizontal {
    color: #1a1a1a;
    text-decoration: none;
}

.product-description-horizontal {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.5;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 0;
}

.product-footer-horizontal {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #e9ecef;
    flex-shrink: 0;
}

.product-price-section-horizontal {
    flex: 1;
}

.product-price-horizontal {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.product-price-horizontal .old-price {
    font-size: 1rem;
    font-weight: 400;
    color: #999;
    text-decoration: line-through;
}

.product-price-horizontal .current-price {
    color: #1a1a1a;
}

.product-action-horizontal {
    margin-left: 0.75rem;
}

@media (max-width: 768px) {
    .product-card-horizontal {
        display: flex;
        flex-direction: row !important;
    }

    .product-card-horizontal .row {
        display: flex !important;
        flex-direction: row !important;
        width: 100%;
        margin: 0;
    }

    .product-card-horizontal .row>[class*="col-"] {
        display: flex;
        flex-direction: column;
    }

    .product-card-body-horizontal {
        padding: 0.75rem;
        min-height: auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .product-title-horizontal {
        font-size: 0.95rem;
        margin-top: 0.4rem;
        margin-bottom: 0.4rem;
    }

    .product-description-horizontal {
        font-size: 0.75rem;
        margin-top: 0.4rem;
        margin-bottom: 0.4rem;
        -webkit-line-clamp: 2;
    }

    .product-price-horizontal {
        font-size: 1.1rem;
    }

    .product-footer-horizontal {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.5rem;
        padding-top: 0.6rem;
        margin-top: auto;
    }

    .product-action-horizontal {
        margin-left: auto;
        width: auto;
        flex-shrink: 1;
    }

    .product-action-horizontal .btn {
        width: auto;
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .product-image-wrapper-horizontal {
        height: 220px;
        min-height: 220px;
        padding: 12px;
        flex-shrink: 0;
    }

    .product-image-horizontal {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        border-radius: 15px;
    }

    .product-card-body-horizontal {
        padding: 0.875rem;
        box-sizing: border-box;
    }

    /* Bootstrap col sınıflarını override et - ürünler sayfası ile aynı oranlar */
    .product-card-horizontal .col-4,
    .product-card-horizontal [class*="col-4"] {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
        width: 33.333333% !important;
    }

    .product-card-horizontal .col-8,
    .product-card-horizontal [class*="col-8"] {
        flex: 0 0 66.666667% !important;
        max-width: 60.666667% !important;
        width: 66.666667% !important;
    }

    /* Ana sayfa için özel düzenlemeler */
    .product-card-horizontal.card {
        display: flex !important;
        flex-direction: row !important;
    }

    .product-card-horizontal.card .row {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        margin: 0 !important;
    }

    /* Küçük mobil ekranlar için */
    @media (max-width: 576px) {
        .product-image-wrapper-horizontal {
            height: 200px;
            min-height: 200px;
            padding: 12px;
        }

        .product-card-body-horizontal {
            padding: 0.875rem;
            box-sizing: border-box;
        }

        /* Küçük ekranlarda da aynı oranları koru */
        .product-card-horizontal .col-4,
        .product-card-horizontal [class*="col-4"] {
            flex: 0 0 33.333333% !important;
            max-width: 33.333333% !important;
            width: 33.333333% !important;
        }

        .product-card-horizontal .col-8,
        .product-card-horizontal [class*="col-8"] {
            flex: 0 0 66.666667% !important;
            max-width: 66.666667% !important;
            width: 66.666667% !important;
        }
    }

    /* Yeni Eklenen Ürünler mobil görünümü */
    .product-image-wrapper {
        height: 220px;
        max-width: 100%;
        padding: 12px;
    }

    .product-image-wrapper img {
        max-width: 100%;
        max-height: 100%;
    }

    .product-image {
        max-width: 100%;
        max-height: 100%;
        padding: 12px;
    }

    .new-product-item-horizontal {
        flex: 0 0 calc(50% - 0.5rem);
        min-width: calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem);
    }

    .new-products-scroll {
        max-height: calc(2 * (220px + 2rem));
        /* Mobilde 2 sıra için yükseklik */
    }
}

/* Ürün Kartı Hover Butonları */
.product-image-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 250px;
    height: 250px;
    aspect-ratio: 1 / 1;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    margin: 0 auto;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    max-width: 250px;
    max-height: 250px;
    object-fit: contain;
    object-position: center;
    padding: 0;
    box-sizing: border-box;
    aspect-ratio: 1 / 1;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    border-radius: 4px;
}

.product-hover-actions {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 10;
}

.product-card:hover .product-hover-actions {
    opacity: 1;
    visibility: visible;
}

.product-hover-actions .btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: none;
}

.product-hover-actions .btn:hover {
    background-color: #007bff !important;
    color: #fff !important;
    transform: scale(1.1);
}

.product-hover-actions .favorite-btn.active i,
.product-hover-actions .favorite-btn:hover i {
    color: #dc3545;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #007bff;
}

.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #28a745;
}

.old-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

/* Kategori filtreleme */
.category-filter {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.category-item {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    background: #f8f9fa;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-item:hover,
.category-item.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.category-card {
    transition: all 0.3s ease;
}

.category-card:hover {
    text-decoration: none;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
}

/* Bölge filtreleme */
.region-filter {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.region-select {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 0.5rem;
}

/* Toptancı kartları */
.wholesaler-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.wholesaler-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.wholesaler-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #007bff;
}

.wholesaler-info h5 {
    color: #333;
    margin-bottom: 0.5rem;
}

.wholesaler-regions {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Dashboard kartları */
.dashboard-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.dashboard-card.admin {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.dashboard-card.wholesaler {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
}

.dashboard-card.business {
    background: linear-gradient(135deg, #45b7d1 0%, #96c93d 100%);
}

.dashboard-card h3 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.dashboard-card p {
    font-size: 1.1rem;
    margin: 0;
}

/* Form stilleri */
.form-container {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    max-width: 600px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn-custom {
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Profil sayfası */
.profile-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    margin-bottom: 1rem;
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.stats-section {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.stats-section .stat-item {
    padding: 1rem;
}

.stats-section .stat-item i {
    opacity: 0.9;
}

/* Ürün detay sayfası */
.product-detail {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    max-width: 1200px;
}

.product-gallery {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-main-image {
    flex: 2;
    border-radius: 10px;
    overflow: visible;
    position: relative;
    width: 100%;
    background-color: #ffffff;
    aspect-ratio: 1/1;
    min-height: 400px;
    max-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    box-sizing: border-box;
    border: 1px solid #e9ecef;
}

.product-main-image img,
.product-main-image .img-fluid {
    width: auto !important;
    height: auto !important;
    max-width: 75% !important;
    max-height: 75% !important;
    object-fit: contain !important;
    object-position: center !important;
    background-color: transparent;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.product-thumbnails {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.thumbnail {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    background-color: #f8f9fa;
    aspect-ratio: 1 / 1;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #007bff;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #007bff;
}

.product-info {
    padding-left: 2rem;
}

.product-title-detail {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
}

.product-price-detail {
    font-size: 2.5rem;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 1rem;
}

.product-description {
    line-height: 1.6;
    color: #666;
    margin-bottom: 2rem;
}

.product-meta {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.meta-label {
    font-weight: 600;
    color: #333;
}

.meta-value {
    color: #666;
}

/* Sipariş tablosu */
.order-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.order-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
    padding: 1rem;
    border: none;
}

.order-table td {
    padding: 1rem;
    border: none;
    border-bottom: 1px solid #e9ecef;
}

.order-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-approved {
    background: #d1ecf1;
    color: #0c5460;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.status-published {
    background: #d4edda;
    color: #155724;
}

/* Admin paneli */
.admin-sidebar {
    background: #000000 !important;
    color: white !important;
    height: 100vh !important;
    position: fixed !important;
    width: 280px !important;
    z-index: 1000 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    left: 0 !important;
    top: 0 !important;
}

.admin-sidebar-content {
    padding: 2rem 1rem !important;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1.5rem;
    margin: 0.25rem 0;
    border-radius: 0;
    transition: all 0.3s ease;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Toptancı ve İşletme Sidebar */
.wholesaler-sidebar,
.business-sidebar {
    background: #000000 !important;
    background-color: #000000 !important;
    color: white !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    position: fixed !important;
    top: 70px !important;
    /* Header altına yerleşmesi için */
    left: 0 !important;
    bottom: 0 !important;
    width: 280px !important;
    z-index: 1000 !important;
    padding: 10px 0 !important;
    display: block !important;
    scrollbar-width: thin;
    scrollbar-color: #444 #111;
}

/* Sidebar Scrollbar Stilleri */
.wholesaler-sidebar::-webkit-scrollbar,
.business-sidebar::-webkit-scrollbar {
    width: 6px;
}

.wholesaler-sidebar::-webkit-scrollbar-track,
.business-sidebar::-webkit-scrollbar-track {
    background: #111;
}

.wholesaler-sidebar::-webkit-scrollbar-thumb,
.business-sidebar::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 10px;
}

.wholesaler-sidebar::-webkit-scrollbar-thumb:hover,
.business-sidebar::-webkit-scrollbar-thumb:hover {
    background: #666;
}

.wholesaler-sidebar h5,
.business-sidebar h5,
.wholesaler-sidebar h5.text-white,
.business-sidebar h5.text-white {
    color: #ffffff !important;
}

.wholesaler-sidebar h5 i,
.business-sidebar h5 i,
.wholesaler-sidebar h5.text-white i,
.business-sidebar h5.text-white i {
    color: #ffffff !important;
}

/* Toptancı ve İşletme Sidebar - Nav Link Renkleri */
.wholesaler-sidebar .nav-link,
.business-sidebar .nav-link,
.wholesaler-sidebar .nav a,
.business-sidebar .nav a,
.wholesaler-sidebar .nav a.nav-link,
.business-sidebar .nav a.nav-link {
    color: #ffffff !important;
    padding: 0.75rem 1rem;
    margin: 0.25rem 0;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.wholesaler-sidebar .nav-link:hover,
.business-sidebar .nav-link:hover,
.wholesaler-sidebar .nav a:hover,
.business-sidebar .nav a:hover,
.wholesaler-sidebar .nav a.nav-link:hover,
.business-sidebar .nav a.nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.2) !important;
}

.wholesaler-sidebar .nav-link.active,
.business-sidebar .nav-link.active,
.wholesaler-sidebar .nav a.active,
.business-sidebar .nav a.active,
.wholesaler-sidebar .nav a.nav-link.active,
.business-sidebar .nav a.nav-link.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.3) !important;
    font-weight: 600;
}

.wholesaler-sidebar .nav-link i,
.business-sidebar .nav-link i,
.wholesaler-sidebar .nav a i,
.business-sidebar .nav a i,
.wholesaler-sidebar .nav a.nav-link i,
.business-sidebar .nav a.nav-link i {
    color: #ffffff !important;
    margin-right: 0.5rem;
}

.wholesaler-sidebar hr,
.business-sidebar hr {
    border-color: rgba(255, 255, 255, 0.3) !important;
    background-color: rgba(255, 255, 255, 0.3) !important;
}

/* Wholesaler ve Business içerik konumlandırma */
.wholesaler-content,
.business-content {
    margin-left: 280px !important;
    padding: 20px !important;
    background: #f8f9fa !important;
    min-height: 100vh !important;
    transition: margin-left 0.3s ease !important;
}

/* Hamburger Menu Button */
.sidebar-toggle-btn {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1002;
    background: #000000;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.sidebar-toggle-btn:hover {
    background: #333333;
    transform: scale(1.05);
}

.sidebar-toggle-btn:active {
    transform: scale(0.95);
}

/* Sidebar Close Button */
.sidebar-close-btn {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.sidebar-close-btn:hover {
    opacity: 0.7;
    transform: rotate(90deg);
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Mobile Sidebar Styles */
@media (max-width: 767.98px) {

    /* Admin Sidebar Mobile */
    .admin-sidebar {
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease !important;
        top: 0 !important;
        left: 0 !important;
        z-index: 1001 !important;
        position: fixed !important;
    }

    .admin-sidebar.active {
        transform: translateX(0) !important;
    }

    .admin-content {
        margin-left: 0 !important;
        padding-top: 60px !important;
        padding-bottom: 20px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Wholesaler Sidebar Mobile */
    .wholesaler-sidebar {
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease !important;
        top: 0 !important;
        left: 0 !important;
        z-index: 1001 !important;
        position: fixed !important;
    }

    .wholesaler-sidebar.active {
        transform: translateX(0) !important;
    }

    .wholesaler-content {
        margin-left: 0 !important;
        padding-top: 80px !important;
        padding-bottom: 90px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        transition: none !important;
    }

    /* Mobilde col-md-9 ve col-lg-10 class'larını override et */
    .col-md-9.wholesaler-content,
    .col-lg-10.wholesaler-content {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Business Sidebar Mobile */
    .business-sidebar {
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease !important;
        top: 0 !important;
        left: 0 !important;
        z-index: 1001 !important;
        position: fixed !important;
    }

    .business-sidebar.active {
        transform: translateX(0) !important;
    }

    .business-content {
        margin-left: 0 !important;
        padding-top: 80px !important;
        padding-bottom: 90px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        transition: none !important;
    }

    /* Mobilde col-md-9 ve col-lg-10 class'larını override et */
    .col-md-9.business-content,
    .col-lg-10.business-content {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

.admin-content {
    padding: 2rem;
    background: #f8f9fa;
    min-height: 100vh;
}

.admin-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: #212529 !important;
    color: #fff !important;
}

.footer h5,
.footer h6 {
    color: #fff !important;
}

.footer a {
    transition: color 0.3s ease;
    color: rgba(255, 255, 255, 0.75) !important;
}

.footer a:hover {
    color: #fff !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.75) !important;
}

.footer-bottom {
    background: #000 !important;
    border-top: 1px solid #333;
}

.social-links a {
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Quick Filters */
.quick-filters {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

/* ============================================
   EN ÇOK ARANAN KATEGORİLER - YATAY SCROLL
   ============================================ */

.category-scroll-container {
    position: relative;
    padding: 1rem 0;
    overflow: hidden;
}

.category-scroll-wrapper {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 0.5rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #007bff #f8f9fa;
}

.category-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.category-scroll-wrapper::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 10px;
}

.category-scroll-wrapper::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 10px;
}

.category-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

.category-scroll-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    max-width: 120px;
    transition: transform 0.3s ease;
    text-align: center;
}

.category-scroll-item:hover {
    transform: translateY(-5px);
    text-decoration: none;
}

.category-scroll-image-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 0.75rem;
    border: 3px solid #ffffff;
}

.category-scroll-item:hover .category-scroll-image-wrapper {
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
    transform: scale(1.05);
    border-color: #007bff;
}

.category-scroll-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.category-scroll-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #007bff;
}

.category-scroll-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    word-wrap: break-word;
}

.category-scroll-item:hover .category-scroll-name {
    color: #007bff;
}

.category-scroll-count {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 500;
}

/* Mobil için kategori scroll */
@media (max-width: 768px) {
    .category-scroll-item {
        min-width: 100px;
        max-width: 100px;
    }

    .category-scroll-image-wrapper {
        width: 80px;
        height: 80px;
    }

    .category-scroll-icon {
        font-size: 2rem;
    }

    .category-scroll-name {
        font-size: 0.8rem;
    }

    .category-scroll-count {
        font-size: 0.7rem;
    }

    .category-scroll-wrapper {
        gap: 1rem;
        padding: 0.75rem 0.5rem;
    }
}

/* Newsletter */
.newsletter-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Badge Stilleri */
.badge {
    font-weight: 600;
    padding: 0.35em 0.65em;
}

/* Responsive tasarım */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 992px) {
    .product-card {
        margin-bottom: 1rem;
    }

    .product-image-wrapper {
        width: 100%;
        max-width: 250px;
        height: 250px;
        aspect-ratio: 1 / 1;
        padding: 10px;
    }

    .product-image {
        width: 100%;
        height: 100%;
        max-width: 250px;
        max-height: 250px;
        aspect-ratio: 1 / 1;
        object-fit: contain;
    }
}

@media (max-width: 768px) {
    .product-image-wrapper {
        width: 100%;
        max-width: 100%;
        height: 220px;
        aspect-ratio: 1 / 1;
        padding: 12px;
    }

    .product-image {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        aspect-ratio: 1 / 1;
        object-fit: contain;
        padding: 0;
    }
}

@media (max-width: 576px) {
    .product-image-wrapper {
        width: 100%;
        max-width: 100%;
        height: 200px;
        aspect-ratio: 1 / 1;
        padding: 10px;
    }

    .product-image {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        aspect-ratio: 1 / 1;
        object-fit: contain;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        margin-top: 1rem;
    }

    .main-navbar .navbar-brand {
        font-size: 1.1rem;
    }

    .main-navbar .navbar-brand i {
        font-size: 1.2rem;
    }

    .category-scroll {
        gap: 1rem;
        padding: 0.75rem 0;
    }

    .category-icon {
        width: 45px;
        height: 45px;
    }

    .category-icon i {
        font-size: 1.25rem;
    }

    .category-name {
        font-size: 0.7rem;
    }

    .mega-menu-dropdown {
        max-width: 100%;
        padding: 1rem !important;
    }

    .mega-menu-dropdown .col-md-4 {
        margin-bottom: 1rem;
    }

    .cookie-notice {
        font-size: 0.85rem;
    }

    .cookie-notice .btn {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    .offcanvas-start {
        width: 280px;
    }

    .offcanvas-body {
        max-height: calc(100vh - 60px);
    }

    .product-gallery {
        flex-direction: column;
    }

    .product-main-image {
        min-height: 300px;
        max-height: 400px;
        aspect-ratio: 1/1;
        padding: 40px;
        overflow: visible;
    }

    .product-main-image img,
    .product-main-image .img-fluid {
        width: auto !important;
        height: auto !important;
        max-width: 75% !important;
        max-height: 75% !important;
        object-fit: contain !important;
        image-rendering: auto;
    }

    .product-thumbnails {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .thumbnail {
        flex: 0 0 80px;
        min-width: 80px;
        height: 80px;
    }

    .profile-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .product-gallery {
        flex-direction: column;
    }

    .product-info {
        padding-left: 0;
        padding-top: 2rem;
    }

    .dashboard-card h3 {
        font-size: 2rem;
    }

    .admin-sidebar,
    .wholesaler-sidebar,
    .business-sidebar {
        min-height: auto;
        margin-bottom: 2rem;
        position: relative;
        width: 100%;
    }

    .admin-content,
    .wholesaler-content,
    .business-content {
        margin-left: 0 !important;
        padding-top: 60px !important;
        padding-bottom: 20px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    /* Mobilde Bootstrap column class'larını override et */
    .col-md-9.admin-content,
    .col-lg-10.admin-content,
    .col-md-9.wholesaler-content,
    .col-lg-10.wholesaler-content,
    .col-md-9.business-content,
    .col-lg-10.business-content {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Mobilde container-fluid ve row yapısını düzelt */
    .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .container-fluid .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .container-fluid .row>[class*="col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Mobilde body padding'ini kontrol et */
    body {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Mobilde ürünler 2'li sütun */
    .product-card {
        margin-bottom: 0;
    }

    .product-image {
        height: 220px;
    }

    .product-title {
        font-size: 0.95rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
        min-height: 2.4em;
        -webkit-line-clamp: 2;
    }

    .product-price {
        font-size: 1rem;
    }

    .card-body {
        padding: 0.75rem;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .card-body .mt-auto {
        margin-top: auto;
    }

    /* Mobilde gap azalt */
    .row.g-3 {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }

    /* Hero section mobil */
    .hero {
        padding: 2rem 0 !important;
    }

    .hero h1 {
        font-size: 1.75rem !important;
    }

    .hero p {
        font-size: 1rem !important;
    }

    /* Filtreler mobil */
    .filter-section .row {
        margin: 0;
    }

    .filter-section .col-md-4,
    .filter-section .col-md-3,
    .filter-section .col-md-2 {
        padding: 5px;
        margin-bottom: 10px;
    }

    /* Tablo responsive */
    .table-responsive {
        font-size: 0.85rem;
    }

    .table th,
    .table td {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {

    /* Çok küçük ekranlar için */
    .product-image {
        height: 200px;
        max-height: 200px;
        object-fit: contain;
        padding: 10px;
    }

    .product-title {
        font-size: 0.9rem;
        min-height: 2.2em;
        -webkit-line-clamp: 2;
    }

    .product-price {
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .btn-sm {
        padding: 0.35rem 0.75rem;
        font-size: 0.8rem;
    }

    .card-body {
        padding: 0.65rem;
    }

    h1,
    h2,
    h3 {
        font-size: 1.25rem;
    }

    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Mobilde gap daha da azalt */
    .row.g-3 {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }

    /* Mobilde kategori kartları */
    .category-card {
        margin-bottom: 0.75rem;
    }

    /* Mobilde filtreler */
    .filter-section .form-select,
    .filter-section .form-control {
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    /* Hero section mobil */
    .hero {
        padding: 2rem 0 !important;
        text-align: center;
    }

    .hero h1 {
        font-size: 1.75rem !important;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem !important;
        margin-bottom: 1.5rem;
    }

    .hero .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* İstatistikler mobil */
    .stat-item {
        margin-bottom: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    /* Kategori listesi mobil */
    .category-item {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
        text-align: center;
    }
}

/* Animasyonlar */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

/* Loading göstergesi varsayılan olarak gizli */
.loading {
    display: none !important;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Tooltip stilleri */
.tooltip-custom {
    position: relative;
    display: inline-block;
}

.tooltip-custom .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip-custom:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Yeni Eklenen Ürünler - Yatay Kaydırılabilir (Desktop: 2 Sıra, Mobil: Alt Alta 2 Sıra) */
.new-products-scroll-wrapper {
    position: relative;
    overflow: hidden;
    padding: 10px 0;
}

.new-products-scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 #f7fafc;
    max-height: calc(2 * (250px + 2rem));
    /* Desktop: 2 sıra için yükseklik */
}

.new-products-row {
    flex: 0 0 auto;
    width: 100%;
}

.new-products-scroll::-webkit-scrollbar {
    height: 8px;
}

.new-products-scroll::-webkit-scrollbar-track {
    background: #f7fafc;
    border-radius: 10px;
}

.new-products-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 10px;
}

.new-products-scroll::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

.new-product-item-horizontal {
    flex: 0 0 calc(50% - 0.5rem);
    min-width: calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
    margin-bottom: 1rem;
}

/* Desktop: 2 sıra, her satırda 2 ürün görünür, geri kalan kaydırılabilir */
@media (min-width: 993px) {
    .new-products-scroll {
        flex-wrap: nowrap !important;
        max-height: calc(2 * (250px + 2rem)) !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    .new-product-item-horizontal {
        flex: 0 0 calc(50% - 0.5rem) !important;
        min-width: calc(50% - 0.5rem) !important;
        max-width: calc(50% - 0.5rem) !important;
        margin-bottom: 1rem !important;
    }
}

.new-product-item-horizontal .product-card-horizontal {
    height: 100%;
    margin-bottom: 0;
}

.new-product-item-horizontal .product-card-horizontal:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* Mobilde alt alta 2 sıra, her satır yatay kaydırılabilir, her ürün ekrana tam sığar */
@media (max-width: 992px) {
    .new-products-scroll-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .new-products-scroll {
        flex-wrap: nowrap !important;
        max-height: none !important;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .new-product-item-horizontal {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 0 !important;
        margin-right: 1rem !important;
    }

    .new-product-item-horizontal:last-child {
        margin-right: 0 !important;
    }
}

/* Yeni Eklenen Ürünler görsel iyileştirmeleri */
.new-product-item .product-image-wrapper {
    width: 100%;
    height: 250px;
    max-width: 100%;
    max-height: 250px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
}

.new-product-item .product-image-wrapper img,
.new-product-item .product-image {
    width: 100%;
    height: 100%;
    max-width: 250px;
    max-height: 250px;
    object-fit: contain;
    object-position: center;
    padding: 0;
    box-sizing: border-box;
    aspect-ratio: 1 / 1;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 4px;
}


@media (max-width: 768px) {
    .new-product-item-horizontal {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 0 !important;
        margin-right: 1rem !important;
    }

    .new-product-item-horizontal:last-child {
        margin-right: 0 !important;
    }
}

@media (max-width: 576px) {
    .new-product-item-horizontal {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 0 !important;
        margin-right: 1rem !important;
    }

    .new-product-item-horizontal:last-child {
        margin-right: 0 !important;
    }

    .new-products-scroll {
        flex-wrap: nowrap !important;
        max-height: none !important;
    }

    .new-product-item {
        flex: 0 0 300px;
        min-width: 300px;
        max-width: 300px;
    }

    .product-main-image {
        min-height: 250px;
        max-height: 350px;
        padding: 30px;
        overflow: visible;
    }

    .product-main-image img,
    .product-main-image .img-fluid {
        width: auto !important;
        height: auto !important;
        max-width: 75% !important;
        max-height: 75% !important;
        object-fit: contain !important;
        image-rendering: auto;
    }

    .thumbnail {
        flex: 0 0 60px;
        min-width: 60px;
        height: 60px;
    }
}

/* Gerçek Zamanlı Arama Dropdown Stilleri */
.search-box {
    position: relative;
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    max-height: 500px;
    overflow-y: auto;
    margin-top: 5px;
}

.search-results-header {
    padding: 12px 16px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    font-size: 0.875rem;
}

.search-results-header a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.search-results-header a:hover {
    text-decoration: underline;
}

.search-results-list {
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s;
}

.search-result-item:hover {
    background-color: #f8f9fa;
    text-decoration: none;
    color: #333;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    margin-right: 12px;
    border-radius: 4px;
    overflow: hidden;
    background: #f8f9fa;
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result-barcode {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 4px;
}

.search-result-price {
    font-weight: 600;
    color: #28a745;
    font-size: 0.95rem;
}

.search-loading,
.search-no-results,
.search-error {
    padding: 20px;
    text-align: center;
    color: #6c757d;
}

.search-loading i {
    margin-right: 8px;
}

/* Mobil için arama dropdown ayarları */
@media (max-width: 991.98px) {
    .search-results-dropdown {
        max-height: 400px;
    }

    .search-result-item {
        padding: 10px 12px;
    }

    .search-result-image {
        width: 50px;
        height: 50px;
    }
}