/* 
* Nokta Oto Modern V2 - Style CSS
* Kurumsal ve Profesyonel Tasarım
*/

/* ===== Base Styles ===== */
:root {
    --primary-color: #0A3D62;
    --secondary-color: #3498DB;
    --accent-color: #FF6B35;
    --text-color: #333;
    --text-light: #777;
    --light-color: #f8f9fa;
    --dark-color: #2C3E50;
    --border-color: #e9ecef;
    --success-color: #27AE60;
    --danger-color: #E74C3C;
    --warning-color: #F39C12;
    --info-color: #3498DB;
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 15px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center {
    text-align: center;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--radius-md);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-accent {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-accent:hover {
    background-color: #e55a24;
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-light {
    background-color: #fff;
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    box-shadow: var(--shadow-sm);
}

.top-bar {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 0;
    font-size: 0.875rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-info a {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-info a:hover {
    color: var(--secondary-color);
}

/* Mobil için top-bar contact-info düzenlemesi */
@media (max-width: 768px) {
    .top-bar .contact-info {
        flex-grow: 1; /* Alanı doldurması için */
        justify-content: flex-start; /* Soldan başlaması için */
        overflow: hidden; /* Taşan kısmı gizle */
        white-space: nowrap; /* Tek satırda kalmasını sağla */
        margin-right: 15px; /* Sosyal medya ikonlarından biraz boşluk bırak */
    }

    .top-bar .contact-info a {
        display: inline-block; /* Animasyon için inline-block */
        text-overflow: ellipsis; /* Uzun metinler için ... */
        overflow: hidden;
        white-space: nowrap;
        max-width: 100%; /* Genişliğin taşmamasını sağla */
    }
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #fff;
    font-size: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary-color);
}

.main-header {
    padding: 15px 0; /* Dikey padding eklendi */
    min-height: 80px; /* Sabit yükseklik yerine minimum yükseklik */
    height: auto; /* İçeriğe göre yükseklik ayarlanacak */
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.main-header .logo {
    padding: 0;
    flex-shrink: 0;
}

.main-header .main-nav {
    flex: 1;
}

.logo {
    padding: 10px 0;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.main-nav .nav-list {
    display: flex;
    gap: 0px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-item a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 12px;
    position: relative;
    font-size: 0.95rem;
    display: block;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 12px;
    right: 12px;
    width: calc(100% - 24px);
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav-item a:hover::after,
.nav-item.active a::after {
    transform: scaleX(1);
}

.nav-item.active a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 8px 20px;
    color: var(--text-color);
    font-size: 0.9rem;
    transition: var(--transition);
    border-bottom: none;
}

.dropdown-menu a:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    padding-left: 25px;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 5px 0;
}

.dropdown-menu .view-all {
    font-weight: 500;
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-toggle,
.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-actions .btn {
    padding: 8px 16px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 40px;
}

.header-actions .btn i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .header-actions .btn.b2b-toggle {
        padding-top: 10px; /* Mobil için dikey padding artırıldı */
        padding-bottom: 10px; /* Mobil için dikey padding artırıldı */
        font-size: 0.8rem; /* Yazı tipi boyutu biraz küçültüldü */
    }
}

.search-toggle:hover,
.mobile-menu-toggle:hover {
    color: var(--primary-color);
}

.cart-icon {
    position: relative;
    font-size: 1.25rem;
    color: var(--text-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: #fff;
    font-size: 0.75rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

.search-panel {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 20px 0;
    box-shadow: var(--shadow-md);
    display: none;
    z-index: 100;
}

.search-panel.active {
    display: block;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    outline: none;
}

.search-form input:focus {
    border-color: var(--primary-color);
}

.search-form button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    padding: 0 20px;
    cursor: pointer;
    transition: var(--transition);
}

.search-form button:hover {
    background-color: var(--secondary-color);
}

.search-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.search-close:hover {
    color: var(--primary-color);
}

/* ===== Hero Slider ===== */
.hero-slider {
    position: relative;
    height: 450px; /* Yükseklik daha da azaltıldı */
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.slide-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 600px;
    padding: 60px 0; /* Padding daha da azaltıldı */
    display: flex; /* İçeriği dikeyde ortalamak için */
    flex-direction: column; /* İçeriği dikeyde ortalamak için */
    justify-content: center; /* İçeriği dikeyde ortalamak için */
    height: 100%; /* Ana container yüksekliğini alması için */
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #fff;
    animation: fadeInUp 1s ease;
}

.slide-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.slide-buttons {
    display: flex;
    gap: 15px;
    animation: fadeInUp 1s ease 0.4s both;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.dot.active {
    background: #fff;
}

/* ===== Features ===== */
.features {
    padding: 80px 0;
    background-color: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    background-color: #fff;
    padding: 15px 10px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
    flex-shrink: 0;
}

.feature-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* ===== Popular Products ===== */
.popular-products {
    padding: 80px 0;
}

.popular-products .text-center {
    margin-top: 30px; /* Buton ve ürünler arasına boşluk eklendi */
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 2;
}

.product-thumb {
    position: relative;
    overflow: hidden;
}

.product-thumb img {
    width: 100%;
    height: auto; 
    aspect-ratio: 1 / 1; 
    object-fit: cover; 
    transition: var(--transition);
}

.product-card:hover .product-thumb img {
    transform: scale(1.05);
}

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.product-card:hover .product-actions {
    bottom: 0;
}

.product-actions button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.product-actions button:hover {
    background-color: var(--secondary-color);
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 16px; 
    line-height: 1.3; 
    height: 2.6em; 
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    white-space: normal; 
}

.product-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 1rem;
    margin-right: 10px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-rating i {
    color: #F39C12;
    font-size: 0.875rem;
}

.product-rating span {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ===== Categories Section ===== */
.categories-section {
    padding: 60px 0; 
    background-color: var(--light-color);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); 
    gap: 20px;
}

.category-card {
    background-color: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 15px; 
    transition: var(--transition);
    display: flex;
    flex-direction: row; 
    align-items: center; 
    justify-content: flex-start; 
    min-height: 80px; 
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.category-icon {
    width: 40px; 
    height: 40px; 
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem; 
    margin-right: 15px; 
    flex-shrink: 0; 
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background-color: var(--secondary-color);
}

.category-card .category-text-content { 
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
}

.category-card h3 {
    margin-bottom: 3px; 
    font-size: 0.9rem; 
    color: var(--primary-color);
    line-height: 1.3;
    display: block; 
}

.category-count {
    display: block;
    color: var(--text-light);
    font-size: 0.7rem; 
}

/* ===== B2B Banner ===== */
.b2b-banner {
    padding: 80px 0;
    color: #fff;
    position: relative; 
    overflow: hidden; 
}

/* Varsayılan arka plan sadece inline style yoksa */
.b2b-banner:not([style]) {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.banner-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative; 
    z-index: 1; 
}

.banner-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.banner-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* ===== Testimonials ===== */
.testimonials {
    padding: 80px 0;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    display: none;
}

.testimonial-item.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.testimonial-content {
    background-color: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 30px;
    text-align: center;
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #F39C12;
    font-size: 1.25rem;
}

.testimonial-content p {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    margin-top: 20px;
}

.author-name {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--primary-color);
}

.author-title {
    color: var(--text-light);
}

.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.testimonial-arrow:hover {
    background-color: var(--secondary-color);
}

.testimonial-arrow.prev {
    left: -60px;
}

.testimonial-arrow.next {
    right: -60px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.testimonial-dots .dot.active {
    background-color: var(--primary-color);
}

/* ===== Brands ===== */
.brands {
    padding: 60px 0;
    background-color: var(--light-color);
}

.brands-slider {
    display: flex;
    justify-content: center; /* Markaları ortalamak için */
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.brand-item {
    /* flex: 1; Bu satır kaldırıldı, markaların eşit genişlemesini engellemek için */
    min-width: 150px; /* Minimum genişlik korunuyor */
    text-align: center;
    flex-grow: 0; /* Markaların büyümesini engelle */
    flex-shrink: 0; /* Markaların küçülmesini engelle */
}

.brand-item img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.brand-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* ===== Newsletter ===== */
.newsletter {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: #fff;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.newsletter-text {
    flex: 1;
}

.newsletter-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.newsletter-text p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-form {
    flex: 1;
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--radius-md);
    outline: none;
}

.newsletter-form button {
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    padding: 0 25px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #e55a24;
}

/* ===== Footer ===== */
.site-footer {
    background-color: var(--dark-color);
    color: #fff;
    font-size: 15px; 
}

.footer-top {
    padding: 20px 0 0px; 
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px; 
}

.footer-widget {
    margin-bottom: 25px; 
}

.footer-logo {
    margin-bottom: 15px; 
}

.footer-logo img {
    height: 50px; 
    width: auto;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.8); 
    margin-bottom: 15px; 
    line-height: 1.7; 
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--secondary-color);
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: #fff !important; 
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.widget-links li {
    margin-bottom: 10px;
}

.widget-links a {
    color: rgba(255, 255, 255, 0.8); 
    transition: var(--transition);
    font-size: 15px; 
}

.widget-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.widget-contact li {
    display: flex;
    align-items: center; 
    gap: 10px;
    margin-bottom: 12px; 
    color: rgba(255, 255, 255, 0.8); 
    font-size: 15px; 
}

.widget-contact li i {
    color: var(--accent-color);
    font-size: 1rem; 
}

.widget-contact a {
    color: rgba(255, 255, 255, 0.8); 
    font-size: 15px; 
}

.widget-contact a:hover {
    color: #fff;
}

.footer-bottom {
    padding: 10px 0 20px; 
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .container {
    display: flex;
    justify-content: center; 
    align-items: center;
    text-align: center; 
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-map-widget img {
    width: 150px !important; 
    height: 150px !important; 
    object-fit: cover; 
    border-radius: var(--radius-sm);
    margin-top: 10px;
    display: block; 
    margin-left: auto; /* Tekrar ortalamak için */
    margin-right: auto; /* Tekrar ortalamak için */
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 99;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -300px; 
    width: 300px;
    height: 100%;
    background-color: #fff;
    z-index: 1001;
    box-shadow: var(--shadow-lg);
    transition: left 0.3s ease; 
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0; 
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-logo img {
    height: 50px;
    width: auto;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-close:hover {
    color: var(--primary-color);
}

.mobile-nav {
    padding: 20px;
}

.mobile-search-form .search-form input {
    padding: 10px 12px; /* Padding küçültüldü */
    font-size: 0.9rem; /* Yazı tipi boyutu küçültüldü */
}

.mobile-search-form .search-form button {
    padding: 0 15px; /* Padding küçültüldü */
    font-size: 0.9rem; /* Yazı tipi boyutu küçültüldü */
}

.mobile-nav-item {
    margin-bottom: 15px;
}

.mobile-nav-item a {
    display: block;
    padding: 10px 0;
    color: var(--text-color);
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.mobile-nav-item a:hover,
.mobile-nav-item.active a {
    color: var(--primary-color);
}

.mobile-contact {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.mobile-contact a {
    display: block;
    margin-bottom: 10px;
    color: var(--text-color);
}

.mobile-contact a i {
    margin-right: 10px;
    color: var(--primary-color);
}

.mobile-social {
    display: flex;
    gap: 15px;
    padding: 0 20px 20px;
}

.mobile-social a {
    width: 40px;
    height: 40px;
    background-color: var(--light-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-social a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Mobile Auth Section */
.mobile-auth-section {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.mobile-auth-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 10px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.mobile-auth-btn.login-btn {
    background-color: var(--light-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.mobile-auth-btn.login-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.mobile-auth-btn.register-btn {
    background-color: var(--primary-color);
    color: #fff;
}

.mobile-auth-btn.register-btn:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

.mobile-auth-btn i {
    font-size: 1.1rem;
}

/* Mobile User Section */
.mobile-user-section {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background-color: var(--light-color);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 500;
}

.mobile-user-info i {
    font-size: 1.2rem;
}

.mobile-user-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-user-links .mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: var(--transition);
    font-weight: 500;
}

.mobile-user-links .mobile-nav-item:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.mobile-user-links .mobile-nav-item i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* ===== Cart Sidebar ===== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background-color: #fff;
    z-index: 1001;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h3 {
    margin-bottom: 0;
}

.cart-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.cart-close:hover {
    color: var(--primary-color);
}

.cart-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.cart-empty i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.cart-empty p {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-info h4 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.cart-item-info p {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0;
}

.remove-item {
    background-color: var(--danger-color);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.remove-item:hover {
    background-color: #c0392b;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.25rem;
    font-weight: 600;
}

.total-amount {
    color: var(--primary-color);
}

.cart-buttons {
    display: flex;
    gap: 10px;
}

.cart-buttons .btn {
    flex: 1;
}

/* ===== Site Overlay ===== */
.site-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.site-overlay.active {
    display: block;
}

/* ===== Page Header ===== */
.page-header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 45px 0 50px;
    text-align: center;
}

.page-header h1 {
    color: #fff;
    margin-bottom: 10px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
}

.breadcrumb .current {
    color: #fff;
}

/* ===== Products Section ===== */
.products-section {
    padding: 80px 0;
}

.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

    .products-sidebar {
        position: sticky;
        top: 100px;
    }

    .mobile-product-search {
        display: none; /* Varsayılan olarak gizli */
        margin-bottom: 20px; /* Altına boşluk */
    }

    .mobile-product-search .widget {
        margin-bottom: 0; /* Widget'ın kendi alt boşluğunu kaldır */
    }

.widget {
    background-color: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 20px;
    margin-bottom: 30px;
}

.widget-title { /* Genel widget başlığı */
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--primary-color); /* Varsayılan başlık rengi */
    position: relative;
    padding-bottom: 10px;
}

.products-sidebar .widget .widget-title { /* Ürünler sayfası sidebar başlıkları için özel renk */
    color: var(--primary-color) !important; /* Footer'daki !important kuralını ezmek için */
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.sidebar-search-form {
    display: flex;
    gap: 10px; /* Giriş alanı ve buton arasına boşluk */
}

.sidebar-search-form input[type="text"] {
    flex-grow: 1; /* Giriş alanının kalan boşluğu doldurması için */
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    min-width: 0; /* flex item'ın küçülebilmesi için */
}

.sidebar-search-form button {
    padding: 10px 15px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background-color var(--transition);
    flex-shrink: 0; /* Butonun küçülmesini engelle */
}

.sidebar-search-form button:hover {
    background-color: var(--secondary-color);
}

.widget-list li {
    margin-bottom: 10px;
}

.widget-list a {
    display: flex;
    justify-content: space-between;
    color: var(--text-color);
    transition: var(--transition);
}

.widget-list a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.price-range {
    margin-top: 20px;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.price-inputs input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    outline: none;
}

.price-inputs input:focus {
    border-color: var(--primary-color);
}

.widget-checkboxes {
    margin-top: 15px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.checkbox-item input {
    display: none;
}

.checkmark {
    position: relative;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
}

.checkbox-item input:checked ~ .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-color);
    font-size: 0.75rem;
}

.widget-banner {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.widget-banner img {
    width: 100%;
    height: auto;
}

/* .widget .banner-content için olan bu kısım .b2b-banner .banner-content ile karıştırılmamalı. */
/* Eğer .widget .banner-content için de benzer bir sorun varsa ayrıca belirtin. */
.widget .banner-content { /* Sadece widget içindeki banner-content'i hedeflemek için seçiciyi özelleştirdim */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
}

.widget .banner-content h4 { /* Sadece widget içindeki banner-content'i hedeflemek için seçiciyi özelleştirdim */
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.banner-content p {
    margin-bottom: 20px;
}

.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.products-count {
    font-size: 0.875rem;
    color: var(--text-light);
}

.products-count strong {
    color: var(--text-color);
}

.products-sorting {
    display: flex;
    align-items: center;
    gap: 20px;
}

.view-switcher {
    display: flex;
    gap: 10px;
}

.view-switcher button {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.view-switcher button.active,
.view-switcher button:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.sort-by {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-by label {
    color: var(--text-light);
}

.sort-by select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    outline: none;
    cursor: pointer;
}

.sort-by select:focus {
    border-color: var(--primary-color);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-color);
    transition: var(--transition);
}

.pagination a.active,
.pagination a:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.pagination .dots {
    color: var(--text-light);
}

.pagination .prev,
.pagination .next {
    width: auto;
    padding: 0 15px;
}

/* ===== Recently Viewed ===== */
.recently-viewed {
    padding: 60px 0;
    background-color: var(--light-color);
}

.products-slider {
    position: relative;
    display: flex;
    gap: 30px;
    overflow: hidden;
}

/* ===== Quick View Modal ===== */
.quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.quick-view-modal.active {
    opacity: 1;
    visibility: visible;
}

.quick-view-content {
    background-color: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.quick-view-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    z-index: 1;
}

.quick-view-close:hover {
    color: var(--primary-color);
}

.product-quick-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
}

.product-images {
    position: relative;
}

.main-image {
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: auto;
}

.thumbnail-images {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 100px;
    height: 100px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.thumbnail.active,
.thumbnail:hover {
    border-color: var(--primary-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    padding-right: 0px;
}

.product-details .product-title {
    font-size: 1.75rem;
    margin-bottom: 15px;
}

.product-details .product-rating {
    margin-bottom: 15px;
}

.product-details .product-price {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.product-description {
    margin-bottom: 20px;
    color: var(--text-light);
}

.product-variations {
    margin-bottom: 20px;
}

.variation {
    margin-bottom: 15px;
}

.variation label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.variation-options {
    display: flex;
    gap: 10px;
}

.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.color-option.active,
.color-option:hover {
    border-color: var(--primary-color);
}

.size-option {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.size-option.active,
.size-option:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.product-quantity {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.quantity-decrease,
.quantity-increase {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-decrease:hover,
.quantity-increase:hover {
    background-color: var(--border-color);
}

.quantity-selector input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-weight: 500;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.product-actions .btn {
    flex: 1;
}

.product-meta {
    margin-bottom: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.meta-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.875rem;
}

.meta-item span:first-child {
    font-weight: 500;
    color: var(--text-color);
}

.meta-item a {
    color: var(--primary-color);
}

.meta-item a:hover {
    text-decoration: underline;
}

.product-share {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.875rem;
}

.product-share span {
    font-weight: 500;
    color: var(--text-color);
}

.product-share a {
    width: 30px;
    height: 30px;
    background-color: var(--light-color);
    color: var(--text-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.product-share a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .hero-slider {
        height: 400px; /* Responsive yükseklik ayarlandı */
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-arrow.prev {
        left: -30px;
    }
    
    .testimonial-arrow.next {
        right: -30px;
    }
    
    .products-layout {
        grid-template-columns: 250px 1fr;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-slider {
        height: 350px; /* Responsive yükseklik ayarlandı */
    }
    
    .slide-content {
        max-width: 500px;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1.125rem;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-text {
        margin-bottom: 20px;
    }
    
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-layout {
        grid-template-columns: 1fr;
    }
    
    .products-sidebar {
        display: none !important; /* Mobil görünümde sidebar'ı tamamen gizle */
    }

    .mobile-product-search {
        display: block !important; /* Mobil görünümde arama widget'ını göster */
    }
    
    .product-quick-view {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .top-bar .container {
        flex-direction: row; 
        justify-content: space-between; 
        align-items: center;
    }

    .top-bar .contact-info {
        flex-direction: row; 
        justify-content: flex-start; 
        flex-wrap: wrap; 
        gap: 15px; 
        margin-right: auto; 
    }
    
    .hero-slider {
        height: 300px; /* Responsive yükseklik ayarlandı */
    }
    
    .slide-content {
        padding: 30px 0; /* Responsive padding ayarlandı */
    }
    
    .slide-content h1 {
        font-size: 1.75rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .categories-grid { 
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid .category-card.hidden-mobile { 
        display: none;
    }

    #showMoreCategories { 
        display: inline-block; 
        margin-top: 15px;
    }
    
    .testimonial-arrow {
        display: none;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .hero-slider {
        height: 280px; /* Responsive yükseklik ayarlandı */
    }
    
    .slide-content h1 {
        font-size: 1.5rem;
    }
    
    .slide-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .products-grid { 
        grid-template-columns: repeat(2, 1fr);
        gap: 15px; 
    }
    
    .categories-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }

    .brands-slider .brand-item.hidden-mobile { 
        display: none;
    }

    #showMoreBrands { 
        display: inline-block; 
        margin-top: 15px;
    }
    
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr); 
        gap: 15px; 
    }
    
    .footer-widget {
        margin-bottom: 20px; 
    }

    .footer-widget:nth-child(1) { order: 3; } 
    .footer-widget:nth-child(2) { order: 2; } 
    .footer-widget:nth-child(3) { order: 1; } 
    .footer-widget:nth-child(4) { order: 4; } 

    .footer-widget:nth-child(1) .widget-title,
    .footer-widget:nth-child(1) .widget-title::after {
        text-align: left; 
        left: 0; 
        transform: translateX(0); 
    }
    
    .footer-widget:nth-child(1) .widget-contact,
    .footer-widget:nth-child(1) .footer-social {
        justify-content: flex-start; 
        text-align: left; 
    }
    
    .footer-widget:nth-child(1) .footer-social {
        margin-top: 15px; 
    }

    .footer-widget:nth-child(3) .widget-title,
    .footer-widget:nth-child(3) .widget-title::after {
        text-align: left; 
        left: 0; 
        transform: translateX(0); 
    }

    .footer-widget p {
        overflow-wrap: break-word; 
        word-wrap: break-word; 
        hyphens: auto; 
    }
    
    .footer-widget .widget-title { 
        color: #fff !important; 
        font-size: 1.1rem; 
    }

    .footer-social { 
        flex-wrap: wrap; 
        justify-content: flex-start; 
    }

    .footer-social a { 
        width: 30px;  
        height: 30px; 
        font-size: 0.8rem; 
    }
    
    .footer-map-widget img {
        width: 100% !important; 
        height: auto !important;   
        aspect-ratio: 1 / 1; 
    }

    .products-toolbar {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .products-sorting {
        width: 100%;
        justify-content: space-between;
    }
}

/* ===== Utilities ===== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.d-flex {
    display: flex !important;
}

.align-items-center {
    align-items: center !important;
}

.justify-content-center {
    justify-content: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.flex-column {
    flex-direction: column !important;
}

.w-100 {
    width: 100% !important;
}

.h-100 {
    height: 100% !important;
}

.m-0 {
    margin: 0 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.p-0 {
    padding: 0 !important;
}

.pb-0 {
    padding-bottom: 0 !important;
}

.pt-0 {
    padding-top: 0 !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
}

.bg-light {
    background-color: var(--light-color) !important;
}

.bg-dark {
    background-color: var(--dark-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.text-light {
    color: var(--text-light) !important;
}

.text-dark {
    color: var(--text-color) !important;
}

.text-white {
    color: #fff !important;
}

.rounded {
    border-radius: var(--radius-md) !important;
}

.shadow {
    box-shadow: var(--shadow-md) !important;
}

.overflow-hidden {
    overflow: hidden !important;
}

.position-relative {
    position: relative !important;
}

.position-absolute {
    position: absolute !important;
}

.z-1 {
    z-index: 1 !important;
}

.z-10 {
    z-index: 10 !important;
}

.z-100 {
    z-index: 100 !important;
}

.z-1000 {
    z-index: 1000 !important;
}

/* ===== B2B Modal ===== */
.b2b-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none !important;
    align-items: center;
    justify-content: center;
    z-index: 1003;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.b2b-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

body.modal-open {
    overflow: hidden;
    padding-right: 17px; /* Scrollbar genişliği kadar padding ekliyoruz */
}

.b2b-modal-content {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.b2b-modal.active .b2b-modal-content {
    transform: translateY(0);
}

/* Custom scrollbar for modal content */
.b2b-modal-content::-webkit-scrollbar {
    width: 8px;
}

.b2b-modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.b2b-modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.b2b-modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.b2b-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #e9ecef;
}

.b2b-modal-header h3 {
    margin: 0;
    color: #0A3D62;
}

.b2b-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #777;
    cursor: pointer;
    transition: all 0.3s ease;
}

.b2b-modal-close:hover {
    color: #0A3D62;
}

.b2b-modal-body {
    padding: 30px;
}

/* Form styling */
.b2b-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.b2b-form .form-group {
    flex: 1;
}

.b2b-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.b2b-form input,
.b2b-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.b2b-form input:focus,
.b2b-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(10, 61, 98, 0.1);
}

/* File upload styling */
.file-upload {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
}

.file-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background-color: var(--light-color);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload:hover .file-upload-label {
    border-color: var(--primary-color);
    background-color: rgba(10, 61, 98, 0.05);
}

.file-upload i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.file-info {
    margin-top: 8px;
    padding: 8px 12px;
    background-color: var(--light-color);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-info i {
    color: var(--success-color);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}

@media (max-width: 576px) {
    .b2b-form .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .b2b-modal-content {
        margin: 10px;
    }
}
/* ===== End B2B Modal ===== */

/* ===== Form Modal ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: #fff;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.modal-header h3 {
    margin: 0;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #777;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--primary-color);
    background: rgba(10, 61, 98, 0.1);
}

.modal-content {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

@media (max-width: 768px) {
    .modal-container {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-content {
        padding: 20px;
    }
}

/* ===== Membership Modal ===== */
.membership-modal .modal-container {
    max-width: 500px;
}

.membership-tabs {
    display: flex;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 30px;
}

.membership-tabs .tab-btn {
    flex: 1;
    padding: 15px 20px;
    background: none;
    border: none;
    color: #777;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.membership-tabs .tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.membership-tabs .tab-btn:hover {
    color: var(--primary-color);
    background: rgba(10, 61, 98, 0.05);
}

.membership-modal .tab-content {
    display: none;
}

.membership-modal .tab-content.active {
    display: block;
}

.membership-form {
    margin-bottom: 20px;
}

.membership-form .form-group {
    margin-bottom: 20px;
}

.membership-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.membership-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.membership-form .input-group {
    position: relative;
}

.membership-form .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    font-size: 1rem;
}

.membership-form .form-control {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    box-sizing: border-box;
}

.membership-form .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(10, 61, 98, 0.1);
}

.membership-form .password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.membership-form .password-toggle:hover {
    color: var(--primary-color);
}

.membership-form .form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.membership-form .form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    margin-top: 2px;
    flex-shrink: 0;
}

.membership-form .form-check label {
    margin: 0;
    font-weight: 400;
    color: #666;
    cursor: pointer;
    line-height: 1.4;
    font-size: 0.9rem;
}

.membership-form .form-check label a {
    color: var(--primary-color);
    text-decoration: none;
}

.membership-form .form-check label a:hover {
    text-decoration: underline;
}

.membership-form .form-help {
    font-size: 0.8rem;
    color: #777;
    margin-top: 5px;
}

.membership-form .btn-block {
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.membership-form .form-links {
    text-align: center;
    margin-top: 15px;
}

.membership-form .forgot-password-link {
    color: #777;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.membership-form .forgot-password-link:hover {
    color: var(--primary-color);
}

/* Password Strength */
.password-strength {
    margin-top: 8px;
    font-size: 0.8rem;
}

.strength-bar {
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    margin-top: 5px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-weak { 
    background: #dc3545; 
    width: 25%; 
}

.strength-fair { 
    background: #ffc107; 
    width: 50%; 
}

.strength-good { 
    background: #17a2b8; 
    width: 75%; 
}

.strength-strong { 
    background: #28a745; 
    width: 100%; 
}

/* Alert Messages */
.membership-modal .alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.membership-modal .alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.membership-modal .alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.membership-modal .alert-icon {
    font-size: 1.1rem;
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.user-toggle:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

.user-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-dropdown:hover .user-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.user-menu a:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-buttons .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    white-space: nowrap;
}

.btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.btn-icon span {
    display: none;
}

@media (max-width: 768px) {
    .membership-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .auth-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .auth-buttons .btn {
        width: 100%;
        justify-content: center;
        font-size: 0.8rem;
        padding: 6px 12px;
        height: 32px;
    }
    
    .user-menu {
        right: -10px;
        min-width: 160px;
    }
}

@media (max-width: 480px) {
    .membership-modal .modal-container {
        margin: 5px;
        max-width: calc(100% - 10px);
    }
    
    .membership-tabs .tab-btn {
        padding: 12px 15px;
        font-size: 0.85rem;
    }
    
    .membership-form .form-control {
        padding: 10px 12px 10px 40px;
        font-size: 0.9rem;
    }
    
    .membership-form .input-icon {
        left: 12px;
        font-size: 0.9rem;
    }
    
    .membership-form .password-toggle {
        right: 12px;
        font-size: 0.9rem;
    }
}
