/* 
   Project: X6PLUS Dijital Ürün Satış
   Script Name: X6PLUS
   Version: 1.1.2
   Author: x6.com.tr
   Developer: X6 Yazılım Hizmetleri
   Description: Bu stil dosyası X6PLUS projesi için özel olarak hazırlanmıştır.
   Website: https://www.x6.com.tr
   Last Update: 21.04.2025
 */

/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 20px; /* Masaüstünde orijinal konum */
    z-index: 100; /* Diğer öğelerden yüksek ama mobil menüden düşük z-index */
}

.whatsapp-widget.left {
    left: 20px;
}

.whatsapp-widget.right {
    right: 20px;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* Sadece mobil cihazlar için ayarlamalar */
@media (max-width: 991px) {
    .whatsapp-widget {
        bottom: 75px; /* Mobilde alt menüden biraz yukarıda */
    }
}

/* Daha küçük mobil ekranlar için */
@media (max-width: 576px) {
    .whatsapp-widget {
        bottom: 70px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
}

/* Menü açıkken WhatsApp butonunu gizle */
.mobile-menu-overlay.active ~ .whatsapp-widget {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-popup {
    position: fixed;
    bottom: 15px;
    left: 0;
    right: 0;
    margin: 0 15px;
    background: rgba(52, 58, 64, 0.85);
    backdrop-filter: blur(8px);
    padding: 16px;
    z-index: 9999;
    transform: translateY(100%);
    animation: slideUp 0.5s forwards;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.cookie-text {
    text-align: center;
    width: 100%;
}

.cookie-text h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #ffffff;
    font-weight: 600;
}

.cookie-text p {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    padding: 0 8px;
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0 8px;
}

.cookie-policy-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 0;
    width: 100%;
    text-align: center;
    order: 2;
}

/* Çerez butonu - mavi renge güncellendi */
.cookie-accept {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    max-width: 180px;
    transition: all 0.3s ease;
    order: 1;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.cookie-accept:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Desktop styles */
@media (min-width: 768px) {
    .cookie-popup {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%) translateY(100%);
        width: 90%;
        max-width: 460px;
        margin: 0 auto;
        padding: 18px 20px;
    }

    .cookie-content {
        flex-direction: column;
        gap: 15px;
    }

    .cookie-buttons {
        flex-direction: row;
        justify-content: center;
        padding: 0;
    }

    .cookie-policy-link {
        width: auto;
        order: 1;
    }

    .cookie-accept {
        width: auto;
        min-width: 140px;
        order: 2;
    }

    @keyframes slideUp {
        from {
            transform: translateX(-50%) translateY(100%);
            opacity: 0;
        }
        to {
            transform: translateX(-50%) translateY(0);
            opacity: 1;
        }
    }
}/* Azaltılmış aralık için küçük separator */
.separator-small {
    max-width: 1200px;
    margin: 15px auto;
    height: 1px;
    background: transparent;
}

/* Ana container - Masaüstü */
.game-banner-container {
    width: 100%;
    background-size: cover;
    background-position: center;
    padding: 15px 0;
    height: 500px;
    min-height: 400px;
}

/* İç container */
.game-banner-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Üst banner */
.game-top-banner {
    height: 55px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    margin-bottom: 15px;
    border-radius: 8px;
    background-image: url('path/to/top-banner-bg.jpg');
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.game-top-banner-title {
    color: white;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-top-banner-button {
    background: #FF4655;
    color: white;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.game-top-banner-button:hover {
    background: #ff5e6b;
    transform: translateY(-1px);
}

/* Slider container */
.game-slider-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    flex-grow: 1;
    min-height: 330px;
}

.game-slide {
    width: 100%;
    height: 100%;
    min-height: 330px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 30px;
    background-size: cover;
    background-position: center;
}

/* Oyun tag - MASAÜSTÜ AYNI KALDI */
.game-tag {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 50px;
    border: 1.5px solid rgba(255, 165, 0, 0.7);
    color: #FFA500;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(4px);
}

/* Slide içeriği */
.slide-content {
    position: relative;
    z-index: 2;
    width: 50%;
    transform: translateY(-25px);
    opacity: 1;
}

.slide-title {
    font-size: 28px; /* MASAÜSTÜ AYNI KALDI */
    color: white;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.slide-subtitle {
    font-size: 36px; /* MASAÜSTÜ AYNI KALDI */
    color: white;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Slider Dots - Sağ tarafta */
.slider-dots {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 3;
}

.slider-dot {
    width: 8px;
    height: 24px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #FF4655;
    height: 32px;
    box-shadow: 0 0 10px rgba(255, 70, 85, 0.5);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Oyun Logoları - Slider dışında - MASAÜSTÜ AYNI KALDI */
.game-logos-section {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-top: 15px;
    border-radius: 12px;
    overflow: hidden;
    height: 75px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.game-logo-item {
    flex: 1;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: background-color 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    background: transparent;
    height: 100%;
}

.game-logo-item:last-child {
    border-right: none;
}

/* Aktif logo göstergesi */
.game-logo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    width: 0;
    height: 3px;
    background: #FF4655;
    transition: width 0.3s ease, transform 0.3s ease;
    border-radius: 0 0 4px 4px;
}

.game-logo-item.active::before {
    width: 70%;
    transform: translateX(-50%) translateY(0);
}

.game-logo-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.game-logo-item.active {
    background: rgba(255, 255, 255, 0.15);
}

.game-logo-item img {
    height: 48px; /* MASAÜSTÜ AYNI KALDI */
    width: auto;
    transition: all 0.3s ease;
    opacity: 0.9;
    filter: brightness(1);
    object-fit: contain;
}

.game-logo-item:hover img {
    opacity: 1;
}

.game-logo-item.active img {
    opacity: 1;
}

/* MOBİL DÜZENLEMELER - TABLET - GÜNCELLEME */
@media (max-width: 768px) {
    .separator-small {
        margin: 8px auto;
    }

    .game-banner-container {
        padding: 10px 0;
        height: auto;
        min-height: 350px;
    }

    .game-banner-section {
        padding: 0 10px;
    }

    .game-top-banner {
        height: 45px;
        padding: 0 15px;
        margin-bottom: 12px;
    }

    .game-top-banner-title {
        font-size: 14px;
    }

    .game-top-banner-button {
        padding: 5px 12px;
        font-size: 12px;
    }

    .game-slider-wrapper {
        border-radius: 10px;
        min-height: 260px;
    }

    .game-slide {
        min-height: 260px;
        padding: 20px 15px;
    }

    .slide-content {
        width: 65%;
        transform: translateY(-15px);
    }

    .game-tag {
        padding: 5px 14px; /* Mobilde büyütüldü */
        font-size: 12px; /* Mobilde büyütüldü */
        margin-bottom: 10px;
    }

    .slide-title {
        font-size: 20px; /* Mobilde büyütüldü */
        margin-bottom: 8px;
    }

    .slide-subtitle {
        font-size: 28px; /* Mobilde büyütüldü */
    }

    .slider-dots {
        right: 12px;
        gap: 8px;
    }

    .slider-dot {
        width: 5px;
        height: 18px;
    }

    .slider-dot.active {
        height: 24px;
    }

    .game-logos-section {
        height: 70px; /* Mobilde büyütüldü */
        margin-top: 12px;
        border-radius: 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .game-logo-item {
        min-width: 85px; /* Mobilde büyütüldü */
        flex: none;
        padding: 10px 14px; /* Mobilde büyütüldü */
    }

    .game-logo-item img {
        height: 42px; /* Mobilde büyütüldü */
    }
}

/* MOBİL DÜZENLEMELER - TELEFON - GÜNCELLEME */
@media (max-width: 480px) {
    .separator-small {
        margin: 5px auto;
    }

    .game-banner-container {
        height: auto;
        min-height: 320px;
        padding: 8px 0;
    }

    .game-banner-section {
        padding: 0 8px;
    }

    .game-top-banner {
        height: 40px;
        padding: 0 12px;
        margin-bottom: 10px;
    }

    .game-top-banner-title {
        font-size: 12px;
    }

    .game-top-banner-button {
        padding: 4px 10px;
        font-size: 11px;
    }

    .game-slider-wrapper {
        border-radius: 8px;
        min-height: 220px;
    }

    .game-slide {
        min-height: 220px;
        padding: 15px 12px;
    }

    .slide-content {
        width: 70%;
        transform: translateY(-10px);
    }

    .game-tag {
        padding: 4px 12px; /* Mobilde büyütüldü */
        font-size: 11px; /* Mobilde büyütüldü */
        margin-bottom: 8px;
    }

    .slide-title {
        font-size: 18px; /* Mobilde büyütüldü */
        margin-bottom: 6px;
    }

    .slide-subtitle {
        font-size: 24px; /* Mobilde büyütüldü */
    }

    .slider-dots {
        right: 8px;
        gap: 6px;
    }

    .slider-dot {
        width: 4px;
        height: 16px;
    }

    .slider-dot.active {
        height: 20px;
    }

    .game-logos-section {
        height: 60px; /* Mobilde büyütüldü */
        margin-top: 10px;
        border-radius: 8px;
    }

    .game-logo-item {
        min-width: 75px; /* Mobilde büyütüldü */
        padding: 8px 12px; /* Mobilde büyütüldü */
    }

    .game-logo-item img {
        height: 36px; /* Mobilde büyütüldü */
    }
}

/* Scrollbar gizleme */
.game-logos-section::-webkit-scrollbar {
    display: none;
}

.game-logos-section {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Banner altı bölümü stilleri */
.banner-bottom-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    margin-top: 0.2rem;
    margin-bottom: 0.8rem;
}

.banner-bottom-container {
    width: 100%;
}

.banner-bottom-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 100%;
}

.banner-bottom-item {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 80px;
    background: transparent;
}

.banner-bottom-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 68%;
    z-index: 2;
    border-radius: 0 4px 4px 0;
}

.banner-bottom-item:nth-child(1)::before {
    background: #FF6B4A;
}

.banner-bottom-item:nth-child(2)::before {
    background: #00C2FF;
}

.banner-bottom-item:nth-child(3)::before {
    background: #FFB800;
}

.banner-bottom-item:nth-child(4)::before {
    background: #00E075;
}

.banner-bottom-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.banner-bottom-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.banner-bottom-item:hover .banner-bottom-image {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .banner-bottom-wrapper {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
    
    .banner-bottom-item {
        height: 70px;
    }
    
    .banner-bottom-item::before {
        width: 4px;
        height: 60%;
    }
}

@media (max-width: 768px) {
    .banner-bottom-section {
        padding: 0 0.8rem;
        margin-top: 0.4rem;
        margin-bottom: 0.6rem;
    }

    .banner-bottom-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .banner-bottom-item {
        height: 55px;
        border-radius: 8px;
    }
    
    .banner-bottom-item::before {
        width: 5px;
        height: 67%;
    }
}

@supports (display: grid) {
    .banner-bottom-wrapper {
        display: grid;
        grid-auto-rows: auto;
        align-items: stretch;
    }
    
    .banner-bottom-item {
        width: 100%;
        margin: 0;
    }
}
/* Güncellenmiş kategori başlık resimleri için CSS stilleri */
.category-title-image {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 4px; /* Daha az yuvarlatılmış köşeler */
    margin-right: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    vertical-align: middle;
    background-color: #f9fafb;
}

/* Mevcut başlık stillerini korumak için */
.cs-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0074e4;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cs-title i {
    color: #0074e4;
    font-size: 1.2rem;
}

/* Responsive için mobil düzenlemeler */
@media (max-width: 768px) {
    .category-title-image {
        width: 42px;  /* Mobilde daha büyük */
        height: 42px; /* Mobilde daha büyük */
        margin-right: 10px;
    }
    
    .cs-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .category-title-image {
        width: 41px;  /* En küçük ekranlarda bile daha büyük */
        height: 41px; /* En küçük ekranlarda bile daha büyük */
        margin-right: 8px;
    }
    
    .cs-title {
        font-size: 1.2rem;
    }
}
/* Popüler Ürünler için Tamamen Özel Stiller */
.pop-section {
    background: #1e1e1e;
    border-radius: 6px 6px 12px 12px; /* üst köşeler keskin, alt köşeler yumuşak */
    margin-bottom: 2rem;
    border: 1px solid #333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 1.5rem;
    position: relative;
}

/* Sol Sabit İkon + Sola Doğru Kayan Yazı Stili */
.pop-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    overflow: hidden;
}

.pop-title-container {
    display: flex;
    align-items: center;
    height: 32px;
}

.pop-fixed-icon {
    position: relative;
    margin-right: 10px;
    z-index: 5;
    background: #1e1e1e; /* Aynı arkaplan rengi */
}

.pop-title-icon {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
    animation: pop-pulse 2s infinite;
}

/* Yeni kayan yazı stili */
.pop-ticker-tape {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 32px;
}

.pop-ticker-text {
    position: absolute;
    white-space: nowrap;
    will-change: transform;
    animation: tickerMove 20s linear infinite;
}

.pop-ticker-text span {
    display: inline-block;
    padding-right: 4px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

@keyframes tickerMove {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes pop-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Slider container */
.pop-slider-wrap {
    position: relative;
}

.pop-slider-outer {
    overflow: hidden;
    position: relative;
    margin-bottom: 1rem;
}

.pop-slider {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch; 
}

.pop-slider::-webkit-scrollbar {
    display: none;
}

/* Nokta Navigasyonu */
.pop-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Masaüstü ve mobil için farklı dot seti */
.pop-desktop-dots {
    display: flex;
}

.pop-mobile-dots {
    display: none;
}

.pop-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pop-dot.active {
    background-color: #3b82f6;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

/* Ürün Kartı */
.pop-item {
    flex: 0 0 auto;
    width: calc(20% - 0.8rem); /* Masaüstünde 5 ürün */
    background: #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #3a3a3a;
}

.pop-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    border-color: rgba(59, 130, 246, 0.5);
}

/* Ürün Resim Alanı */
.pop-img-wrap {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 aspect ratio */
    overflow: hidden;
}

.pop-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pop-item:hover .pop-img {
    transform: scale(1.05);
}

/* Stokta Yok Etiketi */
.pop-no-stock {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(239, 68, 68, 0.85);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    backdrop-filter: blur(4px);
}

/* İndirim Badge - mavi tema */
.pop-discount {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

/* Popüler ürün rozeti - mavi tema */
.pop-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #3b82f6;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(4px);
}

/* Ürün Detaylar */
.pop-info {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.pop-name {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 2.8rem;
}

.pop-price-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pop-old-price {
    color: #999;
    text-decoration: line-through;
    font-size: 0.9rem;
}

.pop-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #3b82f6;
}

.pop-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 0.3rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.pop-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

/* Responsive */
@media (max-width: 1200px) {
    .pop-item {
        width: calc(25% - 0.8rem); /* Büyük tablette 4 ürün */
    }
}

@media (max-width: 992px) {
    .pop-item {
        width: calc(33.33% - 0.8rem); /* Orta tablette 3 ürün */
    }
    
    .pop-ticker-text span {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .pop-section {
        padding: 1rem;
        border-radius: 6px 6px 12px 12px; /* mobilde de aynı köşe ayarı */
    }
    
    .pop-ticker-text span {
        font-size: 1.2rem;
    }
    
    .pop-item {
        width: calc(50% - 0.6rem); /* Mobilde 2 ürün */
    }
    
    .pop-slider {
        gap: 0.6rem;
    }
    
    .pop-info {
        padding: 1rem;
    }
    
    .pop-name {
        font-size: 0.95rem;
        height: 2.6rem;
    }
    
    .pop-price {
        font-size: 1.2rem;
    }
    
    .pop-btn {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    /* Mobilde farklı dot setini göster */
    .pop-desktop-dots {
        display: none;
    }
    
    .pop-mobile-dots {
        display: flex;
    }
    
    .pop-badge {
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .pop-section {
        border-radius: 6px 6px 12px 12px; /* küçük mobilde de aynı */
    }
    
    .pop-ticker-text span {
        font-size: 1.1rem;
    }
    
    .pop-info {
        padding: 0.8rem;
    }
    
    .pop-name {
        font-size: 0.9rem;
        height: 2.5rem;
    }
    
    .pop-price {
        font-size: 1.1rem;
    }
}/* Yeni Banner Slider Stilleri */
.promo-slider-section {
    margin: 2rem auto;
    max-width: 1200px;
}

.promo-slider-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Slider ana container */
.promo-slider-wrapper {
    position: relative;
    overflow: hidden;
    height: 300px; /* Daha düşük yükseklik */
}

/* Slider */
.promo-slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
    height: 100%;
}

/* Slider içindeki slide */
.promo-slide {
    flex: 0 0 100%;
    position: relative;
    overflow: hidden;
}

.promo-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

/* Slide görseli */
.promo-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.promo-slide:hover .promo-slide-image {
    transform: scale(1.05);
}

/* Slide içeriği - artık arka plan yok, metinler beyaz */
.promo-slide-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 4rem;
    padding-top: calc(2rem - 20px); /* Masaüstünde biraz yukarı */
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
    text-align: left;
    z-index: 3;
}

.promo-slide-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    max-width: 60%;
}

.promo-slide-description {
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    max-width: 60%;
}

/* Detaylı bilgi butonu - ortalı ve altta */
.promo-button-container {
    position: absolute;
    bottom: 45px; /* Nokta navigasyonunun hemen üstü */
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 15;
}

.promo-main-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    color: white;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.promo-main-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.promo-button-icon {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.promo-main-button:hover .promo-button-icon {
    transform: translateX(3px);
}

/* Navigasyon butonları */
.promo-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0.85;
}

.promo-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.promo-prev {
    left: 20px;
}

.promo-next {
    right: 20px;
}

/* Nokta navigasyonu */
.promo-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 15px 0;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    z-index: 5;
}

.promo-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.promo-dot.active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

/* Responsive düzenlemeler - mobilde yazılar sağa ve yukarı */
@media (max-width: 992px) {
    .promo-slider-wrapper {
        height: 260px;
    }
    
    .promo-slide-content {
        padding: 1.5rem 3rem;
        padding-top: calc(1.5rem - 15px); /* Biraz yukarı */
    }
    
    .promo-slide-title {
        font-size: 24px;
        max-width: 70%;
    }
    
    .promo-slide-description {
        font-size: 15px;
        max-width: 70%;
    }
    
    .promo-main-button {
        padding: 8px 20px;
        font-size: 14px;
    }
    
    .promo-button-container {
        bottom: 40px;
    }
}

@media (max-width: 768px) {
    .promo-slider-wrapper {
        height: 220px;
    }
    
    .promo-slide-content {
        padding: 1.2rem 2rem;
        justify-content: center; /* Tam ortala */
        padding-top: 0; /* Padding kaldırıldı - varsayılan ortalama */
    }
    
    .promo-slide-title {
        font-size: 20px;
        margin-bottom: 6px;
        max-width: 80%;
        padding-left: 10px; /* Sola padding */
    }
    
    .promo-slide-description {
        font-size: 14px;
        max-width: 80%;
        padding-left: 10px; /* Sola padding */
    }
    
    .promo-nav {
        width: 38px;
        height: 38px;
    }
    
    .promo-main-button {
        padding: 7px 18px;
        font-size: 13px;
    }
    
    .promo-button-container {
        bottom: 38px;
    }
}

@media (max-width: 576px) {
    .promo-slider-wrapper {
        height: 180px;
    }
    
    .promo-slide-content {
        padding: 1rem 1.5rem;
        /* Tam ortalı kalması için padding-top değeri kaldırıldı */
        padding-right: 10px; /* Sağdan boşluk azalt */
    }
    
    .promo-slide-title {
        font-size: 18px;
        margin-bottom: 4px;
        max-width: 90%;
        padding-left: 15px; /* Sağa doğru ittir */
    }
    
    .promo-slide-description {
        font-size: 13px;
        max-width: 90%;
        padding-left: 15px; /* Sağa doğru ittir */
    }
    
    .promo-nav {
        width: 32px;
        height: 32px;
    }
    
    .promo-nav svg {
        width: 20px;
        height: 20px;
    }
    
    .promo-main-button {
        padding: 6px 16px;
        font-size: 12px;
    }
    
    .promo-button-container {
        bottom: 35px;
    }
}
/* Yatay banner stilleri */
.horizontal-banner {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.banner-link {
    display: block;
    width: 100%;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.horizontal-banner:hover .banner-image {
    transform: scale(1.02);
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .horizontal-banner {
        margin: 1.5rem 0;
        border-radius: 8px;
    }
}
.categories-section {
    padding: 1rem 0;
    background: white;
    margin-bottom: 1rem;
}

.categories-slider-container {
    position: relative;
    padding: 0 40px;
}

.categories-slider {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.5rem 0;
}

.categories-slider::-webkit-scrollbar {
    display: none;
}

.category-card {
    min-width: 260px;
    text-decoration: none;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.category-content {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.category-card:hover .category-content {
    background: #e9ecef;
    transform: translateY(-2px);
}

.category-icon {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.category-info {
    flex: 1;
}

.category-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    margin-bottom: 0.2rem;
    color: #1a1a1a;
}

.product-count {
    font-size: 0.85rem;
    color: #6c757d;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e9ecef;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.slider-arrow:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.slider-arrow.prev {
    left: 0;
}

.slider-arrow.next {
    right: 0;
}

@media (max-width: 768px) {
    .category-card {
        min-width: 220px;
    }
    
    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .category-name {
        font-size: 0.95rem;
    }
    
    .product-count {
        font-size: 0.8rem;
    }
}
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --secondary: #64748b;
    --success: #10b981;
    --danger: #ef4444;
    --dark: #0f172a;
    --light: #f8fafc;
    --border: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--light);
    min-height: 100vh;
}





/* Product Grid */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    font-size: 1.8rem;
    color: var(--dark);
    text-align: center;
    margin: 2rem 0;
    font-weight: 600;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    padding: 0.5rem;
}
/* Product Card Styles */
.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

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

.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-info {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.product-title {
    font-size: 1.1rem;
    color: #1a1a1a;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    justify-content: center;
}

.original-price {
    color: #999;
    text-decoration: line-through;
    font-size: 0.9rem;
}

.current-price {
    color: #e53e3e;
    font-size: 1.3rem;
    font-weight: 700;
}

.add-to-cart-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    background: var(--primary);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
    z-index: 2;
}

.product-card:hover .add-to-cart-btn {
    opacity: 1;
    transform: translateY(0);
}

.out-of-stock-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--danger);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-button {
    width: 100%;
    padding: 0.8rem;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.product-button:hover {
    background: #2d2d2d;
}





/* Notification */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1rem 2rem;
    border-radius: 10px;
    color: white;
    font-weight: 500;
    display: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive */
@media (max-width: 1400px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

@media (max-width: 768px) {
    .banner-slider {
        height: 300px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .add-to-cart-btn {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {


    .banner-slider {
        height: 200px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

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

    .current-price {
        font-size: 1.2rem;
    }

    .product-button {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
}
.animated-text-container {
    position: relative;
    background: linear-gradient(to right, #1a1a1a, #262626);  /* Daha soft siyah tonları */
    padding: 15px 0;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.animated-text-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(0, 253, 128, 0) 0%,
        #00FD80 50%,  /* Ana yeşil renk korundu */
        rgba(0, 253, 128, 0) 100%);
    animation: shimmer 2s infinite;
}

.animated-text-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(0, 253, 128, 0) 0%,
        #00FD80 50%,  /* Ana yeşil renk korundu */
        rgba(0, 253, 128, 0) 100%);
    animation: shimmer 2s infinite reverse;
}

.animated-text-wrapper {
    display: flex;
    overflow: hidden;
    position: relative;
}

.animated-text {
    display: flex;
    gap: 30px;
    white-space: nowrap;
    padding: 0 20px;
    animation: scrollText 20s linear infinite;
    color: #ffffff;  /* Net beyaz */
    font-weight: 500;
    font-size: 16px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.highlight {
    color: #00FD80;  /* Ana yeşil renk vurgusu */
    font-weight: 600;
    text-shadow: 0 0 8px rgba(0, 253, 128, 0.3);
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(0, 253, 128, 0.15);  /* Soft yeşil arka plan */
    border: 1px solid rgba(0, 253, 128, 0.3);  /* Yeşil kenarlık */
    border-radius: 6px;
    margin: 0 5px;
    font-size: 14px;
    color: #00FD80;  /* Yeşil metin */
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-shadow: none;
    transition: all 0.3s ease;
}

@keyframes scrollText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.animated-text i {
    color: #00FD80;  /* Ana yeşil renk */
    margin-right: 5px;
    filter: drop-shadow(0 0 6px rgba(0, 253, 128, 0.3));
}

/* Hover efektleri */
.animated-text-container:hover {
    background: linear-gradient(to right, #202020, #2d2d2d);  /* Biraz daha açık ton */
}

.animated-text-container:hover .animated-text {
    animation-play-state: paused;
}

/* Badge hover efekti */
.badge:hover {
    background: rgba(0, 253, 128, 0.2);  /* Hover'da biraz daha belirgin */
    border-color: rgba(0, 253, 128, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive ayarlamalar */
@media (max-width: 768px) {
    .animated-text {
        font-size: 14px;
    }
    .badge {
        font-size: 12px;
        padding: 2px 8px;
    }
}

/* Dark mode optimizasyonu */
@media (prefers-color-scheme: dark) {
    .animated-text-container {
        background: linear-gradient(to right, #1a1a1a, #262626);
    }
    
    .badge {
        background: rgba(0, 253, 128, 0.15);
        border-color: rgba(0, 253, 128, 0.3);
    }
}
/* Popup ana container - temiz ve modern */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

/* Popup içerik alanı - orta boyut ve koyu renk */
.popup-content {
    background: #0f172a;
    max-width: 480px;
    width: 90%;
    border-radius: 12px;
    position: relative;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.popup.show .popup-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Kapatma butonu - sağ üst */
.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: rgba(239, 68, 68, 0.9);
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
    z-index: 2;
}

.popup-close:hover {
    background: #dc2626;
    transform: scale(1.05);
}

/* Popup içerik - normal padding */
.popup-body {
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    color: white;
}

/* Popup resim - normal boyut */
.popup-image {
    width: 100%;
    border-radius: 10px;
    display: block;
    object-fit: cover;
    max-height: 260px;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Popup başlık - normal boyut */
.popup-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 1.2rem 0;
    line-height: 1.3;
}

/* Popup metin - normal boyut */
.popup-text {
    color: #cbd5e1;
    line-height: 1.6;
    margin: 1rem 0;
    font-size: 1rem;
}

/* Buton container */
.popup-button-container {
    margin-top: 2rem;
}

/* Aksiyon butonu - ilk tasarımdaki açık mavi */
.popup-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.2rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    min-width: 180px;
}

.popup-button:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.5);
}

.popup-button i {
    transition: transform 0.3s ease;
}

.popup-button:hover i {
    transform: translateX(3px);
}

/* Performance optimizasyonu */
.popup-content {
    will-change: transform, opacity;
}

/* Mobil düzenlemeler */
@media (max-width: 768px) {
    .popup-content {
        width: 92%;
        max-width: 420px;
        border-radius: 10px;
    }
    
    .popup-body {
        padding: 2rem 1.8rem 1.8rem;
    }
    
    .popup-close {
        top: 12px;
        right: 12px;
        width: 28px;
        height: 28px;
        font-size: 12px;
        border-radius: 6px;
    }
    
    .popup-title {
        font-size: 1.3rem;
        margin: 1rem 0;
    }
    
    .popup-text {
        font-size: 0.9rem;
        margin: 0.8rem 0;
    }
    
    .popup-button {
        width: 100%;
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
        border-radius: 8px;
    }
    
    .popup-image {
        max-height: 220px;
        border-radius: 8px;
        margin-bottom: 1.2rem;
    }
}

@media (max-width: 480px) {
    .popup-content {
        width: 95%;
        max-width: 360px;
    }
    
    .popup-body {
        padding: 1.8rem 1.5rem 1.5rem;
    }
    
    .popup-title {
        font-size: 1.2rem;
    }
    
    .popup-text {
        font-size: 0.85rem;
    }
    
    .popup-button {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
    }
    
    .popup-image {
        max-height: 180px;
        border-radius: 6px;
    }
}

/* GPU hızlandırma */
.popup-content,
.popup-close,
.popup-button {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Font rendering optimizasyonu */
.popup * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}/* Arama Modal Ana Container */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-modal.show {
    opacity: 1;
    visibility: visible;
}

/* Modal İçerik */
.search-modal-content {
    background: white;
    width: 90%;
    max-width: 700px;
    margin: 2rem auto;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.search-modal.show .search-modal-content {
    transform: translateY(0);
}

/* Blog Section Styles */
.blog-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    margin-top: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.view-all i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.view-all:hover i {
    transform: translateX(3px);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 0 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(226, 232, 240, 0.5);
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.blog-card-inner {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-image {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.blog-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

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

.blog-image.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.blog-image.no-image::before {
    content: '\f15c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    font-size: 2.2rem;
    color: #cbd5e1;
    opacity: 0.6;
}

.blog-content {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: white;
}

.blog-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.6rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3rem;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    padding-top: 1.2rem;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.blog-date {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-date i {
    color: #3b82f6;
    font-size: 0.8rem;
}

/* Responsive Tasarım */
@media (max-width: 1400px) {
    .blog-grid {
        max-width: 1000px;
        gap: 1.8rem;
    }
}

@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.8rem;
        max-width: 900px;
    }

    .section-header h2 {
        font-size: 2.4rem;
    }

    .blog-title {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 700px;
    }

    .blog-content {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .blog-section {
        padding: 3rem 0;
    }

    .section-header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        margin-bottom: 3rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        padding: 0 1rem;
        max-width: none;
    }

    .blog-card {
        width: 100%;
        max-width: none;
    }

    .blog-content {
        padding: 1.3rem;
    }

    .blog-title {
        font-size: 0.95rem;
        min-height: 2.5rem;
    }

    .blog-excerpt {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }

    .blog-image {
        padding-top: 55%;
    }
}

@media (max-width: 576px) {
    .blog-grid {
        gap: 1rem;
    }

    .blog-content {
        padding: 1.1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .blog-title {
        font-size: 0.9rem;
        min-height: 2.2rem;
    }

    .blog-excerpt {
        font-size: 0.75rem;
    }

    .blog-date {
        font-size: 0.75rem;
    }

    .blog-image {
        padding-top: 50%;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .blog-section {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    }

    .blog-card {
        background: #1e293b;
        border-color: #334155;
    }

    .blog-content {
        background: #1e293b;
    }

    .section-header h2 {
        background: linear-gradient(135deg, #60a5fa, #3b82f6);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .blog-title {
        color: #f8fafc;
    }

    .blog-excerpt {
        color: #94a3b8;
    }

    .blog-meta {
        border-top-color: #334155;
    }

    .blog-date {
        color: #94a3b8;
    }

    .blog-image.no-image {
        background: linear-gradient(135deg, #334155, #475569);
        border-bottom-color: #475569;
    }

    .blog-image.no-image::before {
        color: #64748b;
    }
}

/* Lazy Loading */
.blog-image img.lazy {
    filter: blur(10px);
    transition: filter 0.3s ease;
}

.blog-image img.lazy.loaded {
    filter: blur(0);
}
/* Kategori Bölümü */
.cs-section {
    margin-bottom: 2.5rem;
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Kategori Başlık */
.cs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 1rem;
}

.cs-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0074e4;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cs-title i {
    color: #0074e4;
    font-size: 1.2rem;
}

.cs-view-all {
    display: inline-flex;
    align-items: center;
    color: #0074e4;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    gap: 8px;
    border-radius: 6px;
    transition: color 0.3s ease;
    padding: 0.4rem 0.8rem;
    background-color: #f0f9ff;
    border: 1px solid #cce7ff;
}

.cs-view-all i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.cs-view-all:hover {
    color: #0061c3;
}

.cs-view-all:hover i {
    transform: translateX(3px);
}

/* Slider Container */
.cs-slider-wrap {
    position: relative;
}

.cs-slider-outer {
    overflow: hidden;
    position: relative;
    margin-bottom: 1rem;
}

.cs-slider {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch; 
}

.cs-slider::-webkit-scrollbar {
    display: none;
}

/* Nokta Navigasyonu */
.cs-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Masaüstü ve mobil için farklı dot seti */
.cs-desktop-dots {
    display: flex;
}

.cs-mobile-dots {
    display: none;
}

.cs-dot {
    width: 10px;
    height: 10px;
    background-color: #d4d4d8;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cs-dot.active {
    background-color: #0074e4;
}

/* Ürün Kartı */
.cs-item {
    flex: 0 0 auto;
    width: calc(20% - 0.8rem); /* Masaüstünde 5 ürün */
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 1px solid #f0f0f0;
}

/* Ürün Resim Alanı */
.cs-img-wrap {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 aspect ratio */
    overflow: hidden;
    background-color: #f9fafb;
}

.cs-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Stokta Yok Etiketi */
.cs-no-stock {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ef4444;
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

/* İndirim Badge */
.cs-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #10b981;
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 2;
}

/* Ürün Detaylar */
.cs-info {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.cs-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 2.8rem;
}

.cs-price-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cs-old-price {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 0.9rem;
}

.cs-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ef4444;
}

.cs-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    background: #0074e4;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 0.3rem;
}

.cs-btn:hover {
    background: #0061c3;
}

/* Responsive */
@media (max-width: 1200px) {
    .cs-item {
        width: calc(25% - 0.8rem); /* Büyük tablette 4 ürün */
    }
}

@media (max-width: 992px) {
    .cs-item {
        width: calc(33.33% - 0.8rem); /* Orta tablette 3 ürün */
    }
}

@media (max-width: 768px) {
    .cs-item {
        width: calc(50% - 0.6rem); /* Mobilde 2 ürün */
    }
    
    .cs-title {
        font-size: 1.3rem;
    }
    
    .cs-view-all {
        font-size: 0.85rem;
        padding: 0.35rem 0.7rem;
    }
    
    .cs-slider {
        gap: 0.6rem;
    }
    
    .cs-section {
        margin-bottom: 1.5rem;
        padding: 1rem;
    }
    
    .cs-info {
        padding: 1rem;
    }
    
    .cs-name {
        font-size: 0.95rem;
        height: 2.6rem;
    }
    
    .cs-price {
        font-size: 1.2rem;
    }
    
    .cs-btn {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    /* Mobilde farklı dot setini göster */
    .cs-desktop-dots {
        display: none;
    }
    
    .cs-mobile-dots {
        display: flex;
    }
}

@media (max-width: 480px) {
    .cs-title {
        font-size: 1.2rem;
    }
    
    .cs-view-all {
        font-size: 0.8rem;
    }
    
    .cs-info {
        padding: 0.8rem;
    }
    
    .cs-name {
        font-size: 0.9rem;
        height: 2.5rem;
    }
    
    .cs-price {
        font-size: 1.1rem;
    }
}
