/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Badge renkleri */
.popular-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popular-badge.one-cikan { background: linear-gradient(135deg,#C1272D,#A02025); }
.popular-badge.populer { background: linear-gradient(135deg,#3182CE,#2C5282); }
.popular-badge.firsat { background: linear-gradient(135deg,#DD6B20,#C05621); }
.popular-badge.yeni { background: linear-gradient(135deg,#38A169,#2F855A); }
.popular-badge.cok-satan { background: linear-gradient(135deg,#805AD5,#6B46C1); }
.popular-badge.ozel { background: linear-gradient(135deg,#D69E2E,#B7791F); }
.popular-badge.trend { background: linear-gradient(135deg,#E53E3E,#C53030); }

/* Featured action button */
.featured-action {
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #C1272D;
    border: none;
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.featured-action:hover {
    background: white;
    transform: translateX(5px);
}

/* Logo Stilleri */
.logo-container { display: flex; align-items: center; }
.logo-link { display: flex; align-items: center; text-decoration: none !important; color: inherit; gap: 12px; }
.site-logo { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; transition: transform 0.3s ease; }
.site-logo:hover { transform: scale(1.05); }
.logo-text { font-size: 20px; font-weight: 700; color: #C1272D; letter-spacing: 0.5px; }

/* Mobil logo ayarları */
@media (max-width: 768px) {
    .site-logo { width: 75px; height: 35px; }
    .logo-text { font-size: 18px; }
}
@media (max-width: 480px) {
    .logo-text { font-size: 16px; }
    .logo-link { gap: 8px; }
}

html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #555555;
    overflow-x: hidden;
}

/* FEATURED SLIDER */
/* Slider kartına derinlik kat */
.featured-section .swiper-slide {
    border-radius: 24px;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Aktif olan slide daha büyük ve belirgin olsun */
.featured-section .swiper-slide-active {
    transform: scale(1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Overlay'i daha modern yap (Alttan yukarı koyu geçiş) */
.featured-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px !important;
}

/* Fiyatı daha çarpıcı yap */
.featured-price {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    width: fit-content;
    padding: 5px 15px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.3);
    font-size: 20px;
    margin-top: 8px;
}


.featured-slider {
    border-radius: 16px;
    overflow: hidden;
    /*box-shadow: 0 10px 30px rgba(0,0,0,0.1);*/
    position: relative;
}
.featured-image { width: 100%; height: 300px; object-fit: cover; 
    border-bottom-left-radius: 12px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}
.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 30px 20px 20px;
}
.featured-title { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.featured-desc {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.featured-price { font-size: 20px; font-weight: 700; color: #FFD700; }

/* CATEGORIES SECTION */
.categories-section {
    padding: 5px;
    max-width: 1200px;
    margin: 0 auto;
}
.category-block { margin-bottom: 0px; }
.category-header {
    background: rgb(255 255 255 / 26%);
    backdrop-filter: var(--blur-val);
    -webkit-backdrop-filter: var(--blur-val);
    border: 0.5px solid rgb(255 255 255 / 12%);
    border-radius: 30px;
    z-index: 10000 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 6px 15px 7px 14px;
    padding: 10px -1px;
    background: rgb(255 255 255 / 24%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    border-left: 5px solid #993434;
    box-shadow: inset 20px -11px 20px 2px rgb(255 255 255 / 26%);
    height: 30px;
	
}


/* Başlık metni için stil */
.category-header h2, .category-header h3 {
margin: 3px;
    font-size: 0.8rem; 
    font-weight: 700;
    color: #e3e3e3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    left: 15px;
    right: 35px;
    margin-left: 17px;
}
.category-title { font-size: 14px; font-weight: 700; color: #333; }
.category-count {
    font-size: 14px;
    color: #ffffff;
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgb(25 25 25 / 23%);
    /* padding: 6px 0px; */
    border-radius: 50px;
    backdrop-filter: var(--blur-val);
    -webkit-backdrop-filter: var(--blur-val);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 15px var(--glass-shadow);
}

/* PRODUCTS SLIDER - Mobil öncelikli */
.products-slider {
    padding-bottom: 29px;
    padding-top: 30px;
    /* margin: -5px; */
    margin-right: -5px;
    margin-left: -5px;
}

.products-slider .swiper-slide {
    width: 65vw; /* Mobilde slide genişliği */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.products-slider .swiper-slide-active .product-card {
transform: scale(1.15);
    box-shadow: 0px 0px 6px 1px rgb(0 0 0 / 56%);
    opacity: 1;
}

.products-slider .swiper-slide:not(.swiper-slide-active) .product-card {
    transform: scale(0.9);
    opacity: 0.8;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; /* Bindirme için şart */
}
}


.product-image {
    width: 100%;
    height: 240px;   /* Mobil için yüksek */
    object-fit: cover;
    display: block;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
.product-video-wrapper{
    width: 100%;
   /* height: 240px;    Mobil için yüksek */
    object-fit: cover;
    display: block;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
	}
.favorite-btn {
    position: absolute;
    /* top: -38px; */
    /* right: 45px; */
    /* bottom: 13px; */
    width: 30px;
    height: 30px;
    border-radius: 100%;
    background: rgb(0 0 0 / 90%);
    border: none;
    color: #ef0303;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s 
cubic-bezier(0.68, -0.55, 0.265, 1.55);
    /* z-index: 10; */
    rigy: 18px;
    right: 45px;
}

.favorite-btn:hover {
    transform: scale(1.1) rotate(5deg);
	
}

.favorite-btn.favorited {
    animation: heartBeat 0.5s ease;
	color: #6f0000
}

.add-to-adisyon {
    margin: 12px;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.add-to-adisyon i {
    font-size: 12px;
}

.swiper-slide-active .add-to-adisyon {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.add-to-adisyon:active {
    transform: scale(0.96);
}

.add-to-adisyon:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,.2);
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(0.95); }
    75% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.product-info {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    padding: 12px;
    height: 37%;
    background: linear-gradient(to top, rgb(2 2 2 / 40%) 0%, rgb(0 0 0 / 21%) 60%, rgb(175 175 175 / 0%) 100%);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(8px);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 25%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 25%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: -28px;
    color: #ffffff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}
.featured-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 0 20px;
}

.header-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
}

.header-text {
    text-align: center;
}

.header-text .subtitle {
    display: block;
    font-size: 10px;
    letter-spacing: 3px;
    color: #C1272D; /* Logonun kırmızısı */
    font-weight: 800;
    margin-bottom: 4px;
}

.header-text .title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

/* KART DOKUNUŞU: Resmin üzerine hafif bir parıltı efekti */
.featured-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}
.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #C1272D;
    margin-top: auto;
    transition: color 0.3s ease;
}
.product-price-container{
    display: flex;
    margin-top: -10px;
    justify-content: space-between;
	}
/* FOOTER */
.minimal-footer { background: #1a1a1a;
    color: white;
    padding: 0px 0px;
    text-align: center;
    position: fixed;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 9000;
    height: 16px;}
.footer-content { max-width: 1200px; margin: 0 auto; }
.footer-address { font-size: 14px; opacity: 0.8; margin-bottom: 15px; line-height: 1.6; }
.footer-address span { color: #C1272D; }
.copyright { font-size: 9px; opacity: 0.6; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .product-slide { width: 45vw !important; }
    .product-image { height: 200px; width: 100%; }
    .product-name { font-size: 14px; min-height: 36px; }
    .product-price { font-size: 16px; }
}
@media (max-width: 480px) {
    .product-slide { width: 70vw !important; }
    .product-image { height: 180px; width: 100%; }
    .product-name { font-size: 14px; min-height: 32px; }
    .product-price { font-size: 15px; }
}



/* =======================
   PRODUCT POPUP
   ======================= */
.product-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.popup-content {
    background: white;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-gallery {
    height: 400px;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.popup-gallery .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-details {
    padding: 25px;
}

.popup-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.popup-price {
    font-size: 24px;
    font-weight: 700;
    color: #C1272D;
    margin-bottom: 0px;
}

.popup-description {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}

.popup-actions {
    display: flex;
    gap: 12px; /* Butonlar arası boşluk */
    margin-top: 20px;
}

.popup-action-btn {
    /* flex: 1; Butonları eşit genişliğe böler */
    padding: 12px; /* Daha minimal yükseklik */
    border: none;
    border-radius: 12px; /* Daha modern yuvarlama */
    font-size: 14px; /* Minimal font boyutu */
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

/* Favorilere Ekle Butonu (İlk Buton) */
.popup-action-btn:first-child {
    background: #f1f2f6; /* Hafif gri */
    color: #ae1f23; /* Favori kırmızısı */
    border: 1px solid #e1e2e6 !important;
}

/* Adisyona Ekle Butonu (İkinci Buton) */
.popup-action-btn:last-child {
    background: #1e272e; /* Şık koyu antrasit */
    color: #fff;
}

.popup-action-btn:active {
    transform: scale(0.97); /* Tıklama hissi */
}



/* =======================
   POPUP ANIMATIONS
   ======================= */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* RESPONSIVE POPUP */
@media (max-width: 768px) {
    .popup-content {
        max-height: 95vh;
    }
    
    .popup-gallery {
        height: 300px;
    }
    

}

/* Sosyal medya ikonları */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #C1272D;
    color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 480px) {
    .social-icon {
        width: 32px;
        height: 32px;
    }
}

.admin-edit {
    top: 8px;
    right: 8px;
    z-index: 50; /* slider'dan yüksek bir değer */
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #C1272D;
    transition: all 0.3s ease;
    position: absolute;
}

.admin-edit:hover {
    background: #C1272D;
    color: white;
    transform: scale(1.1);
}

/* =============================================================
   FAVORİLER SİSTEMİ (IOS CARD & GLASS PANEL)
   ============================================================= */

/* 1. PANEL YAPISI (DİĞER PANELLERLE AYNI) */
.favorites-panel {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
    z-index: 10002;
    display: none; align-items: flex-end;
    opacity: 0; transition: opacity 0.3s ease;
}

.favorites-panel.active { display: flex; opacity: 1; }

.favorites-content-wrapper {
    width: 100%;
    max-height: 90vh;
    /* background: #0000003d; */
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    transform: translateY(100%);
    /* transition: transform 0.4s 
cubic-bezier(0.32, 0.72, 0, 1); */
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: env(safe-area-inset-bottom);
    /* box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15); */
    backdrop-filter: var(--blur-val);
}

.favorites-panel.active .favorites-content-wrapper { transform: translateY(0); }

/* Tutamak */
.favorites-content-wrapper::before {
    content: ''; position: absolute; top: 10px; left: 50%;
    transform: translateX(-50%); width: 40px; height: 5px;
    background: #d1d1d6; border-radius: 10px; z-index: 2;
}

/* 2. HEADER */
.favorites-header {
    padding: 25px 20px 15px;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.favorites-header h3 { margin: 0; font-size: 22px; font-weight: 800; color: #ffffff; }

.favorites-close {
    width: 32px;
    height: 32px;
    background: rgb(255 255 255);
    border-radius: 50%;
    border: none;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* 3. İÇERİK ALANI (SENİN GÖNDERDİĞİN CSS) */
.favorites-content {
    flex: 1; overflow-y: auto; padding: 15px !important;
    background: transparent !important;
}

/* Favori Kartı */
.favorite-item {
    background: #ffffff;
    border-radius: 18px;
    padding: 12px;
    margin-bottom: 12px;
    display: flex; align-items: center; gap: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative; transition: transform 0.2s;
    cursor: pointer;
}

.favorite-item:active { transform: scale(0.98); }

/* Resim Alanı */
.favorite-item .res-img-box {
    width: 60px; height: 60px;
    border-radius: 12px; background: #f2f2f7;
    overflow: hidden; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}

.favorite-item .res-img-box img { width: 100%; height: 100%; object-fit: cover; }

/* Bilgi Alanı */
.favorite-item .item-info {
    flex: 1; display: flex; flex-direction: column;
    justify-content: center; min-width: 0;
}

.favorite-item .item-name {
    font-size: 15px; font-weight: 600; color: #1c1c1e;
    margin-bottom: 4px; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}

.favorite-item .item-price {
    font-size: 13px; color: #C1272D; font-weight: 600;
}

/* Silme Butonu */
.favorite-item .item-actions-right { display: flex; align-items: center; gap: 8px; }

.fav-remove-btn {
    width: 32px; height: 32px; border-radius: 50%;
    background: #ffeaea; color: #ff3b30; border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s;
}

.fav-remove-btn:active { transform: scale(0.9); background: #ff3b30; color: white; }

/* --- FAVORİLER TEMİZLE BUTONU (TAM ORTALANMIŞ & GLASS) --- */
.favorites-menu-btn {
    position: relative;
    /* bottom: 25px; */
    left: 52% !important;
    transform: translateX(-50%) !important;
    min-width: 110px;
    height: 35px;
    /* display: flex !important; */
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 0.5px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 20px !important;
    color: #ff3b30 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s 
cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    justify-content: space-between;
    /* left: 15px; */
    /* margin-left: 204px; */
    flex-direction: row;

}

/* Etkileşimler */
.favorites-menu-btn:active {
    transform: translateX(-50%) scale(0.92) !important; /* Hem merkezi korur hem küçülür */
    background: rgba(255, 59, 48, 0.15) !important;
    opacity: 0.8;
}

/* İkon (Varsa) */
.favorites-menu-btn i {
    font-size: 14px;
}

/* --- KRİTİK NOT --- */
/* Butonun içinde olduğu ana div'in (wrapper) position: relative; olduğundan emin ol. 
   Aksi halde sayfanın ortasına kaçabilir. */
.favorites-content-wrapper {
    position: relative !important;
}
/* Boş Durum */
.favorites-empty {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    height: 300px; text-align: center; color: #8e8e93;
}

.favorites-empty i {
    font-size: 60px; margin-bottom: 20px;
    opacity: 0.3; color: #ffffff;
}

.favorites-empty h3 {
    font-size: 18px; font-weight: 600; color: #1c1c1e; margin-bottom: 5px;
}

/* Footer (Temizle Butonu İçin) */
.favorites-footer {
    padding: 0px; 
    border-top: 1px solid rgba(0,0,0,0.05);
}

.clear-fav-btn {
    width: 100%; padding: 14px;
    background: #f2f2f7; color: #ff3b30;
    border: none; border-radius: 14px;
    font-weight: 600; cursor: pointer;
}

/* Çift Tıklama Kalp Animasyonu */
@keyframes heartBeat {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}


/* Instagram tarzı çift tıklama animasyonları */
.double-tap-heart {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    animation: heartBeatDoubleTap 1s ease-out forwards;
    filter: drop-shadow(0 0 10px rgba(193, 39, 45, 0.5));
}

@keyframes heartBeatDoubleTap {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    15% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
    30% {
        transform: translate(-50%, -50%) scale(1);
    }
    45% {
        transform: translate(-50%, -50%) scale(1.1);
    }
    60% {
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

/* Mobil hint */
.double-tap-hint {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 100;
    animation: fadeInOut 3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
    20% { opacity: 1; transform: translateX(-50%) translateY(0); }
    80% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}

/* Ürün resimlerine tıklanabilir görünüm */
.product-image, .featured-image {
    cursor: pointer;
	object-fit: cover;
}

.product-image:hover, .featured-image:hover {
    opacity: 0.95;
}

/* =======================
   INTERAKTİF TUR SİSTEMİ
   ======================= */

.tour-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,49%);
    z-index: 999;
    animation: fadeIn 0.3s ease;
}



/* Tur başlatma butonu */
.tour-starter-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: #eee;
    cursor: pointer;
    padding: 8px;
    margin-right: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.tour-starter-btn:hover {
    color: #C1272D;
    transform: scale(1.1);
    background: rgba(255,255,255,0.1);
}

/* Animasyonlar */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* --- 1. DEĞİŞKENLER VE TEMEL --- */
:root {
    --glass-bg: rgba(255, 255, 255, 0.7); /* Daha Apple vari bir şeffaflık */
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: rgba(0, 0, 0, 0.1);
    --blur-val: blur(4px) saturate(170%);
    --brand-red: #C1272D;
    --ios-blue: #007AFF;
    --primary: #38bdf8;
}

/* --- 2. HEADER & SOSYAL İKONLAR (GÜNCEL) --- */

.minimal-header { 
    padding: 15px 5%; 
    position: sticky; 
    top: 0; 
    z-index: 900; 
    transition: all 0.3s ease;
}

.header-container { 
    
    background: rgb(25 25 25 / 26%);
    backdrop-filter: var(--blur-val);
    -webkit-backdrop-filter: var(--blur-val);
    border: 0.5px solid rgb(255 255 255 / 12%);
    border-radius: 30px;
    z-index: 10000 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 50px;
    box-shadow: inset 0px 0px 4px 0px rgb(255 255 255 / 40%);
    background: rgb(209 209 209 / 34%);
    padding: 5px 20px;
    background: rgb(25 25 25 / 26%);
    backdrop-filter: var(--blur-val);
    -webkit-backdrop-filter: var(--blur-val);
    border: 0.5px solid rgb(255 255 255 / 12%);
    border-radius: 30px;
    z-index: 10000 !important;
    box-shadow: inset -3px 2px 20px 3px rgb(255 255 255 / 40%);
}

/* Sağ taraftaki grup (İkonlar + Saat) */
.glass-social-group {
    display: flex; 
    align-items: center; 
    gap: 5px; 
    background: rgb(25 25 25 / 23%); 
    padding: 6px 0px; 
    border-radius: 50px; 
    backdrop-filter: var(--blur-val); 
    -webkit-backdrop-filter: var(--blur-val);
    border: 1px solid var(--glass-border); 
    box-shadow: 0 4px 15px var(--glass-shadow);
}

.glass-icon {
    width: 32px; 
    height: 32px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: #333; 
    font-size: 15px; 
    border-radius: 50%; 
    transition: 0.3s ease;
    text-decoration: none;
}

.glass-icon:hover { 
    background: rgba(255,255,255,0.5); 
    color: var(--brand-red); 
    transform: translateY(-2px); 
}

/* --- MOBİL UYUMLULUK VE IPHONE DÜZELTMESİ --- */

/* 1. Tablet ve Mobil Genel Ayarlar (768px altı) */
@media (max-width: 768px) {
    /* KRİTİK DÜZELTME: Bu satırın başındaki yorum işaretlerini kaldırdım. 
       Artık sosyal medya varsa saat mobilde gizlenecek ve yer açılacak. */
    .show-on-desktop {
        display: none !important; 
    }
    
    .minimal-header {
        padding: 10px 3%; /* Mobilde kenar boşluklarını daralt */
    }
    
    .site-logo {
        max-height: 35px;
    }
    
    /* Mobilde saatin yazı boyutunu küçült */
    .live-time-wrapper {
        font-size: 13px; 
    }
}
    .header-right { 
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-end;
    justify-content: space-evenly;
    align-items: baseline;
/* 2. TÜM TELEFONLAR İÇİN GÜVENLİ ALAN (iPhone & Android) - Max 450px */
/* Sadece 380px değil, 450px yaparak iPhone Pro/Max modellerini de kapsıyoruz */
@media (max-width: 450px) {
    
    /* Logo Alanı: Çok yer kaplamasın */
    .header-left {
        flex: 0 0 auto; 
        max-width: 35%; /* Logoya %35'ten fazla yer verme */
        overflow: hidden; 
        padding-right: 5px; /* Sağ tarafla yapışmasın */
    }

    .site-logo {
        max-height: 30px !important; 
    }

    .text-logo {
        font-size: 15px !important; 
        display: block;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    /* Sağ Taraf: Esnek olsun */
    .header-right { 
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-end;
    justify-content: space-evenly;
    align-items: baseline;
}
	
    }

    /* İkon Grubu: Sığmazsa KAYDIRILSIN (Taşmasın) */
    .glass-social-group {
        max-width: 100%; 
        
        /* Yatay kaydırma özellikleri */
        display: flex;
        align-items: center;
        overflow-x: auto; 
        white-space: nowrap;
        
        /* iPhone'da kaydırmayı yumuşatır */
        -webkit-overflow-scrolling: touch; 
        
        /* İç boşluklar */
        padding: 6px 0px;
        gap: 5px;

        /* Kaydırma çubuğunu gizle (Temiz görünüm) */
        -ms-overflow-style: none;  
        scrollbar-width: none;  
    }
    
    .glass-social-group::-webkit-scrollbar {
        display: none; 
    }

    /* İkon Boyutları: Standart mobil boyutu */
    .glass-icon {
    width: 33px !important;
        height: 23px !important;
        font-size: 16px !important;
        flex-shrink: 0;
    }

    /* Saat de ezilmesin */
    .live-time-wrapper {
        flex-shrink: 0 !important;
        white-space: nowrap;
        padding-right: 5px;
    }
    
    /* iPhone köşe yuvarlaklığı için sağa ekstra boşluk */
    .minimal-header {
        padding-right: 4%; 
    }
}
/* --- 3. BOTTOM GLASS TAB BAR (REVIZE) --- */
.glass-tab-bar {
    position: fixed;
    bottom: 17px;
    left: 50%;
    transform: translateX(-50%);
    width: 88%;
    max-width: 360px;
    height: 45px;
    background: rgb(25 25 25 / 26%);
    backdrop-filter: var(--blur-val);
    -webkit-backdrop-filter: var(--blur-val);
    border: 0.5px solid rgb(255 255 255 / 12%);
    border-radius: 30px;
    z-index: 10000 !important;
    box-shadow: inset -3px 2px 20px 3px rgb(255 255 255 / 40%);

}

.tab-items { display: flex; justify-content: space-around; align-items: center; height: 100%; }
.tab-item {
    background: none; border: none; display: flex; flex-direction: column;
    align-items: center; color: #444; font-size: 10px; font-weight: 700;
    cursor: pointer; position: relative; padding: 5px;
}
.tab-item i { font-size: 14px; margin-bottom: 3px; }

/* Adisyon (Merkez Buton) */
.main-icon-circle {
    width: 45px;
    height: 45px;
    background: linear-gradient(154deg, #bfbfbf, #0000002b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    /* border: 2px solid #fff; */
    margin-top: -27px;
    box-shadow: 0px 0px 8px 0px rgb(255 255 255 / 82%);
}
#adisyonToggle{
	 background: none !important;
}
.badge {
    position: absolute; top: -5px; right: -5px; background: #000; color: #fff;
    font-size: 9px; width: 17px; height: 17px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; border: 2px solid #fff;
}

/* --- 4. DİL SEÇİCİ (MİNİMAL iOS STYLE) --- */
.lang-dropdown-up { position: relative; }
.lang-trigger-ios { background: none; border: none; padding: 0; cursor: pointer; transition: 0.3s; }
.lang-dropdown-up.active .lang-trigger-ios { transform: scale(1.1); }

.flag-circle {
    width: 26px !important; height: 26px !important; border-radius: 50% !important;
    object-fit: cover; border: 2px solid #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Kapsayıcıyı hizalama için hazırla */
.lang-dropdown-up { 
    position: relative; 
    display: inline-block; 
}

/* Yukarı Açılan Action Sheet */
.lang-up-sheet {
position: absolute;
    bottom: 60px;
    left: -61%;
    transform: translateX(-50%) translateY(20px);
    background: rgb(109 109 109 / 57%);
    backdrop-filter: var(--blur-val);
    -webkit-backdrop-filter: var(--blur-val);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 10px;
    /* width: 140px; */
    display: flex;
    flex-direction: column;
    gap: 5px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* transition: transform 0.4s 
cubic-bezier(0.32, 0.72, 0, 1), opacity 0.3s 
ease, visibility 0.3s; */
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

/* AKTİF DURUM (Yukarı süzülme anı) */
.lang-dropdown-up.active .lang-up-sheet {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    /* BİTİŞ: Kendi yerine (0) oturur */
    transform: translateX(-50%) translateY(0); 
}

/* İç öğelerdeki çizgileri ve renkleri temizle */
.sheet-item {
    display: flex; 
    align-items: center; 
    gap: 10px; 
    padding: 10px;
    text-decoration: none !important; 
    color: #fff; /* Glass üzerinde beyaz/açık renk daha iyi durur */
    font-size: 13px; 
    font-weight: 600; 
    border-radius: 12px;
    transition: background 0.2s;
}

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

/* --- 5. ARAMA (SEARCH) MODAL --- */
.search-overlay-glass {
    position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
    z-index: 10001; display: none; opacity: 0; transition: opacity 0.3s ease;
}
.search-overlay-glass.active { opacity: 1; }

.search-modal-container {
    width: 100%; max-width: 600px; margin: 30px auto; padding: 0 20px;
    transform: translateY(-20px); transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.search-overlay-glass.active .search-modal-container { transform: translateY(0); }

.search-header-group { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.search-input-wrapper {
    position: relative; flex: 1; background: rgba(255, 255, 255, 0.15);
    border-radius: 15px; border: 1px solid rgba(255, 255, 255, 0.2);
}
.search-icon-left { position: absolute;
position: absolute;
    left: 14px;
    top: 51%;
    transform: translateY(-50%);
    color: rgb(255 255 255 / 69%);}

.search-input-overlay {
    width: 100%; border: none; background: none; color: white;
    padding: 14px 14px 14px 45px; font-size: 17px; outline: none;
	border-radius: 15px;
}
.close-search-btn-glass { background: none; border: none; color: var(--primary); font-weight: 600; cursor: pointer; }

/* Arama Sonuç Kartları */
.search-result-glass-item {
    background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 18px;
    padding: 12px; display: flex; align-items: center; gap: 15px;
    margin-bottom: 10px; cursor: pointer; color: white;
}

.res-img-box {
    width: 50px; height: 50px; border-radius: 12px; overflow: hidden;
    background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
}
.res-img-box img { width: 100%; height: 100%; object-fit: cover; }
.res-info { flex: 1; }
.res-name { font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.res-price { color: var(--primary); font-weight: 700; font-size: 14px; }
.highlight-pulse { box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.4); border-radius: 15px; }

/* --- 6. KARANLIK MOD VE BODY --- */
body { padding-bottom: 100px; }

@media (prefers-color-scheme: dark) {
    :root { --glass-bg: rgba(25, 25, 25, 0.8); --glass-border: rgba(255, 255, 255, 0.1); }
    .glass-icon, .tab-item, .sheet-item { color: #eee; }
    .sheet-item:hover { background: rgba(255,255,255,0.1); }
    .main-icon-circle { border-color: #1a1a1a; }
}

/* =============================================================
   ADİSYON (SİPARİŞ) SİSTEMİ - GÜNCEL iOS TASARIM
   ============================================================= */

/* 1. PANEL YAPISI (SLIDE-UP SHEET)
   ------------------------------------------------------------- */
.adisyon-panel {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); /* Arka plan karartma */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10002; /* Tab Bar'ın (10000) üstünde olmalı */
    display: none;
    align-items: flex-end; /* İçeriği aşağı yasla */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.adisyon-panel.active {
    display: flex;
    opacity: 1;
}

/* Panel İçerik Kutusu */
.adisyon-content-wrapper {
width: 100%;
    max-height: 90vh;
    /* background: #0000003d; */
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    transform: translateY(100%);
    /* transition: transform 0.4s 
cubic-bezier(0.32, 0.72, 0, 1); */
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: env(safe-area-inset-bottom);
    /* box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15); */
    backdrop-filter: var(--blur-val);
}

.adisyon-panel.active .adisyon-content-wrapper {
    transform: translateY(0); /* Açılınca yukarı kayar */
}

/* Gri Tutamak Çizgisi (Handlebar) */
.adisyon-content-wrapper::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 5px;
    background: #d1d1d6;
    border-radius: 10px;
    z-index: 2;
}

/* 2. HEADER VE KAPAT BUTONU
   ------------------------------------------------------------- */
.adisyon-header {
padding: 25px 20px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.adisyon-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
}

.adisyon-close {
    width: 32px;
    height: 32px;
    background: rgba(200,200,200,0.3);
    border-radius: 50%;
    border: none;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.adisyon-close:active {
    background: rgba(200,200,200,0.5);
}

/* 3. İÇERİK ALANI VE ÜRÜN KARTLARI
   ------------------------------------------------------------- */
.adisyon-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: transparent;
}

/* Ürün Kartı */
.adisyon-item {
    background: #ffffff;
    border-radius: 18px;
    padding: 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    position: relative;
    transition: transform 0.2s;
}

.adisyon-item:active {
    transform: scale(0.98);
}

/* Ürün Resmi */
.adisyon-item .res-img-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #f2f2f7;
    overflow: hidden;
    flex-shrink: 0;
}

.adisyon-item .res-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ürün Bilgisi */
.adisyon-item .item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.adisyon-item .item-name {
    font-size: 15px;
    font-weight: 600;
    color: #1c1c1e;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.adisyon-item .item-price {
    font-size: 13px;
    color: #8e8e93;
    font-weight: 500;
}

/* Adet Kontrolü (Hap Tasarım) */
.item-quantity-pill {
    display: flex;
    align-items: center;
    background: #f2f2f7;
    border-radius: 20px;
    padding: 4px;
    height: 36px;
    margin-right: 8px;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: #1c1c1e;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.quantity-btn:active {
    transform: scale(0.9);
}

.quantity-btn i { font-size: 10px; }

.quantity-text {
    font-size: 14px;
    font-weight: 600;
    color: #1c1c1e;
    width: 24px;
    text-align: center;
}

/* Sağ Taraf (Toplam ve Sil) */
.item-actions-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    min-width: 60px;
}

.item-total-price {
    font-size: 15px;
    font-weight: 700;
    color: #C1272D; /* Marka Rengi */
}
/* --- ADİSYON TOPLAM VE SIFIRLA ALANI --- */
.adisyon-total-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center; /* Her şeyi tam ortaya hizalar */
    gap: 15px;
    padding: 20px;
    margin-top: auto; /* Panel en altına iter */
}

/* 1. Toplam Tutar Satırı */
.adisyon-total {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 5px;
}

.total-label {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6); /* Hafif soluk beyaz */
}
 
.total-amount {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
/* 4. ALT BÖLÜM (FOOTER)
   ------------------------------------------------------------- */
.adisyon-footer {
    padding: 0px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
	opacity: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* Butonlar Grubu */
.adisyon-action-buttons {
    display: flex;
    gap: 10px;
}



.reset-btn {
    flex: 1;
    padding: 16px;
    background: #f2f2f7;
    color: #ff3b30; /* Kırmızı metin */
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.checkout-btn:active, .reset-btn:active {
    transform: scale(0.98);
}

/* 5. BOŞ DURUM (EMPTY STATE)
   ------------------------------------------------------------- */
.adisyon-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 300px;
    text-align: center;
    color: #8e8e93;
}

.adisyon-empty i {
    font-size: 60px;
    margin-bottom: 20px;
    opacity: 0.3;
    color: #C1272D;
}

.adisyon-empty h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1c1c1e;
    margin-bottom: 5px;
}

.adisyon-empty p {
    font-size: 14px;
    max-width: 200px;
}


/* =============================================================
   Z-INDEX VE ANİMASYON DÜZELTMELERİ
   ============================================================= */

/* 1. TAB BAR EN ÜSTTE KALSIN (Kritik) */
.glass-tab-bar {
    z-index: 10020 !important; /* En yüksek katman */
}

/* 2. PANELLER TAB BAR'IN ALTINDA KALSIN */
.adisyon-panel, .favorites-panel, .product-popup {
    z-index: 10010 !important; /* Tab Bar(10020)'dan düşük, İçerikten yüksek */
    /* Arkaplan bulanıklığı ve karartması */
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* 3. İÇERİK WRAPPER (SLIDE-UP ANİMASYONU) */
.adisyon-content-wrapper, 
.favorites-content-wrapper{
    /* Başlangıç durumu (Aşağıda) */
    transform: translateY(100%);
    /* Apple tarzı yumuşak yaylanma */
    transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
    
    /* Tab Bar altında kalacağı için alt boşluk bırakıyoruz */
    padding-bottom: 104px !important; 
}

/* Aktif olduğunda yukarı kay */
.adisyon-panel.active .adisyon-content-wrapper,
.favorites-panel.active .favorites-content-wrapper,
.product-popup.active .popup-content {
    transform: translateY(0)!important;
}


.adisyon-add-btn {
    background: #111827;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.adisyon-badge {
    position: absolute;
    top: 108px;
    right: 14px;
    background: #C1272D;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    z-index: 15;
    box-shadow: 0 2px 5px rgba(193, 39, 45, 0.3);
    animation: badgePulse 1.5s infinite;
}




@keyframes slideUpPopup {
    from {
        opacity: 0;
        transform: translate(-50%, 20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
}

.notification-glass-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-glass-content i {
    color: #fff; /* Vurguyu senin iç gölgene uygun şekilde beyaz tuttuk */
}
/* Bildirim İçeriği */
.notification-glass-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.notification-glass-content i {
    color: #38bdf8; /* Vurgu rengi */
}

/* Kapatma Butonu */
.notification-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 20px;
    cursor: pointer;
    margin-left: 15px;
    line-height: 1;
}

/* iOS Tarzı Giriş Animasyonu */
@keyframes iosSlideDown {
    from {
        opacity: 0;
        transform: translate(-50%, -20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
}

.confirm-glass-box {
    position: fixed;
    bottom: 83px; /* Tab barın tam üstü */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 350px;
    padding: 20px;
    z-index: 100001;
    
    /* Senin Glass Stilini Uyguladık */
    background: rgba(25, 25, 25, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 0.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    box-shadow: inset -3px 2px 20px 3px rgba(255, 255, 255, 0.2), 0 15px 35px rgba(0,0,0,0.5);
    
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: white;
    transition: opacity 0.3s ease;
    animation: slideUpConfirm 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.confirm-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
}

.confirm-content i { color: #ff3b30; }

.confirm-actions {
    display: flex;
    gap: 10px;
}

.btn-confirm-yes, .btn-confirm-no {
    flex: 1;
    padding: 12px;
    border-radius: 18px;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-confirm-yes {
    background: #ff3b30; /* iOS Danger Red */
    color: white;
}

.btn-confirm-no {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-confirm-yes:active, .btn-confirm-no:active {
    transform: scale(0.95);
}

@keyframes slideUpConfirm {
    from { opacity: 0; transform: translate(-50%, 30px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* Tıklama vurgusunu ve metin seçimini her yerde kapatır */
.product-card, .product-image, .swiper-slide {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
    outline: none !important;
}

/* Kalp animasyonu için gerekli stil */
.insta-heart {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: white;
    font-size: 50px;
    z-index: 100;
    pointer-events: none;
    text-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: heartFade 0.8s ease-out;
}

@keyframes heartFade {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.9; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

/* Empty State Alanı */
.empty-state {
    padding: 60px 20px;
    text-align: center;
    background: #fff;
    border-radius: 20px;
    margin: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.empty-state i {
    color: #cbd5e0;
    margin-bottom: 20px;
    display: block;
}

.empty-state h2 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 10px;
}

.empty-state p {
    color: #718096;
    font-size: 1rem;
}

/* Debug Bilgileri (Sadece Admin Görmeli veya Geliştirme Aşamasında) */
.debug-info {
    margin-top: 40px;
    padding: 20px;
    background: #fff5f5;
    border: 1px dashed #feb2b2;
    border-radius: 12px;
    text-align: left;
    display: inline-block;
    max-width: 100%;
}

.debug-info h4 {
    margin: 0 0 10px 0;
    color: #c53030;
    font-size: 14px;
    text-transform: uppercase;
}

.debug-info p {
    margin: 5px 0;
    font-family: monospace;
    font-size: 13px;
    color: #4a5568;
}

/* Loading Spinner */
#menu-loading {
    display: none; /* JS ile açılacak */
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    margin: 20px auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#menu-loading {
    border-top: 4px solid #993434; /* Marka renginle eşleşsin */
    display: block;
    margin: 20px auto;
}

/* 1. Popup galeri alanının yüksekliğini sabitleyin */
#popupGallery {
    width: 100%;
    /* Mobilde ekranın yaklaşık %50-60'ını kaplaması idealdir 
    height: 60vh; */
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    background: #000; /* Video dolana kadar arkada siyah görünmesi iyidir */
    position: relative;
}

/* 2. Swiper slide yapısını tam boy yapın */
#popupGallery .swiper-slide {
    width: 100% !important;
    height: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 3. Kritik Dokunuş: Video ve resimlerin sığdırılması */
#popupGallery .swiper-slide img,
#popupGallery .swiper-slide video {
    width: 100%;
    height: 100%;
    /* 'cover' videoyu alanı dolduracak şekilde kırpar (boşluk bırakmaz).
       'contain' ise videonun tamamını gösterir ama kenarlarda boşluk kalabilir.
       Tam oturmasını istiyorsanız 'cover' en iyi sonuçtur.
    */
    object-fit: cover; 
    display: block;
}

/* 4. Swiper pagination (noktalar) görünürlüğü */
.popup-gallery .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
}


#popupGallery {
    width: 100%;
    
    overflow: hidden;
}

#popupGallery video, #popupGallery img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Videoyu alana tam sığdırır */
}

/* --- MEVCUT STYLE KODLARININ TAMAMI BURADA KALACAK --- */
/* ... (Mevcut kodlar) ... */

/* =============================================================
   YENİ TEMA 1: ACCORDION (LİSTE & GLASS GÖRÜNÜM)
   ============================================================= */
body.theme-accordion .featured-section { display: none; } /* Slider'ı gizle */

/* Kategori Bloğu - Glass Efekti */
body.theme-accordion .category-block {
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.05); /* Şeffaf */
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
	background: rgb(25 25 25 / 26%);
    backdrop-filter: var(--blur-val);
    -webkit-backdrop-filter: var(--blur-val);
    border: 0.5px solid rgb(255 255 255 / 12%);
    border-radius: 30px;
    z-index: 10000 !important;
    box-shadow: inset -3px 2px 20px 3px rgb(255 255 255 / 40%);
}

/* Başlık */
body.theme-accordion .category-header {
    margin: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.1) !important;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
    box-shadow: none;
    padding: 9px 20px;
    height: auto;
    display: flex; justify-content: space-between; align-items: center;
}

body.theme-accordion .category-title {
color: #ffffffe3;
    font-size: 14px;
    margin: 0;
}
}

/* İkon */
.accordion-icon { display: none; }
body.theme-accordion .accordion-icon { 
    display: block; 
    transition: transform 0.3s;
    color: #ccc;
}

/* Ürün Listesi */
body.theme-accordion .products-slider {
    display: none; 
    padding: 0; margin: 0;
}

body.theme-accordion .category-block.active .products-slider {
    display: block; 
    animation: slideDown 0.3s ease;
}

@keyframes slideDown { from {opacity:0; transform:translateY(-10px);} to {opacity:1; transform:translateY(0);} }

/* Slider'ı Listeye Çevir */
body.theme-accordion .swiper-wrapper {
    display: flex; flex-direction: column; transform: none !important; width: 100% !important;
}

body.theme-accordion .swiper-slide {
    width: 100% !important; margin: 0 !important;
}

/* Yatay Ürün Kartı (Glass Style) */
body.theme-accordion .product-card { 
 /*    flex-direction: row;*/
    align-items: center;
    padding: 12px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: transparent;
    box-shadow: none;
    height: auto;
}

body.theme-accordion .product-image {
    width: 70px; height: 70px;
    border-radius: 12px;
    margin-right: 15px;
    flex-shrink: 0;
}

/* Bilgi Alanı */
body.theme-accordion .product-info {
    position: relative;
    background: none; backdrop-filter: none;
    padding: 0; height: auto;
    mask-image: none; -webkit-mask-image: none;
    width: 100%;
}

body.theme-accordion .product-name {
    color: #eee;
    font-size: 15px;
    margin-bottom: 4px;
    white-space: normal;
}

body.theme-accordion .product-desc-short {
    font-size: 12px; color: #aaa; margin-bottom: 5px;
    display: block; /* Açıklamayı göster */
}

body.theme-accordion .product-price {
    color: #C1272D;
    font-size: 15px;
}

/* Kalp Butonu */
body.theme-accordion .favorite-btn {
    position: absolute; top: 10%; right: 0;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    width: 32px; height: 32px;
    color: #fff;
}

/* =============================================================
   YENİ TEMA 2: STICKY TABS (ÜST MENÜLÜ & GLASS)
   ============================================================= */
body.theme-tabs {
  
/*  padding-top: 50px;*/
}

/* Yapışkan Glass Menü */
.sticky-cat-nav {
position: sticky;
    top: 60px;
    z-index: 890;
    background: rgba(25, 25, 25, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 0;
    overflow-x: auto;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    background: rgb(25 25 25 / 26%);
    backdrop-filter: var(--blur-val);
    -webkit-backdrop-filter: var(--blur-val);
    border: 0.5px solid rgb(255 255 255 / 12%);
    /* border-radius: 30px; */
    z-index: 10000 !important;
    box-shadow: inset -3px 2px 20px 3px rgb(255 255 255 / 40%);
}

.cat-nav-wrapper {
    display: inline-flex;
    padding: 0 15px;
    gap: 10px;
}

/* Hap Şeklinde Butonlar */
.cat-nav-item {
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: #ccc;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.cat-nav-item.active {
    background: #C1272D;
    color: white;
    border-color: #C1272D;
    box-shadow: 0 0 15px rgba(193, 39, 45, 0.4);
}

/* Tabs modunda başlıkları sadeleştir */
body.theme-tabs .category-header {
    background: transparent;
    border: none;
    box-shadow: none;
    padding-left: 5px;
    margin-top: 25px;
    height: auto;
}
body.theme-tabs .category-title {
    color: #fff;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
/* --- SCALE EFEKTİ DÜZELTMESİ --- */

/* 1. Tablet ve Mobilde Scale İptali (1024px altı) */
@media (min-width: 1024px) {
    .products-slider .swiper-slide-active .product-card {
        transform: none !important;
        box-shadow: none !important; /* Varsa gölgeyi de sıfırlar */
    }
}

/* 2. Diğer Temalarda (Accordion & Tabs) Scale İptali */
body.theme-accordion .products-slider .swiper-slide-active .product-card{
    transform: none !important;

}

/* =============================================================
   ROTARY MENU (ÇEVİRMELİ KATEGORİ MENÜSÜ)
   ============================================================= */

/* Ana Kapsayıcı (Sağ Alt) */
.rotary-container {
    position: fixed;
    bottom: 100px; /* Tab barın biraz üstünde */
    right: 20px;
    z-index: 990;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* Kapalıyken tıklamayı engelleme */
}

/* Tetikleyici Buton (FAB) */
.rotary-trigger {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #C1272D; /* Marka Rengi */
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(193, 39, 45, 0.4);
    cursor: pointer;
    z-index: 992;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.rotary-trigger:active {
    transform: scale(0.9);
}

.rotary-trigger.active {
    transform: rotate(45deg);
    background: #333;
}

/* Dairesel Menü Alanı */
.rotary-menu {
    position: absolute;
    width: 260px; /* Çap */
    height: 260px;
    border-radius: 50%;
    /* Glass Effect Arka Plan */
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0) rotate(-90deg); /* Başlangıçta küçült ve döndür */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    touch-action: none; /* Mobilde sayfa kaymasını engelle, çark dönsün */
}

.rotary-container.active .rotary-menu {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    pointer-events: auto;
    /* Butonu merkeze alıyoruz */
    right: -102px; 
    bottom: -102px; 
    /* Bu değerler butonu çarkın bir köşesine değil merkezine yakın tutar */
    /* Daha ergonomik olması için çeyrek daire gibi konumlandırıyoruz */
    transform-origin: center center;
}

/* Tekil Kategori Baloncuğu */
.rotary-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin-top: -30px;
    margin-left: -30px;
    
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    
    text-decoration: none;
    font-size: 10px;
    color: #333;
    font-weight: 600;
    
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}

.rotary-item.active-cat {
    background: #C1272D;
    color: white;
    border: 2px solid white;
}

.rotary-item i {
    font-size: 16px;
    margin-bottom: 2px;
    pointer-events: none;
}

.rotary-item span {
    display: block;
    max-width: 50px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

/* Merkezdeki "Touch" alanı göstergesi */
.rotary-center-hint {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px dashed rgba(255,255,255,0.3);
    position: absolute;
    z-index: -1;
}

/* --- KATEGORİ VURGULAMA EFEKTİ (GLASS PULSE) --- */
@keyframes categoryFlash {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(193, 39, 45, 0); /* Hiçlik */
        border-color: transparent;
    }
    30% {
        transform: scale(1.03); /* Hafif Büyüme */
        box-shadow: 0 10px 40px rgba(193, 39, 45, 0.15); /* Hafif Kırmızı Gölge */
        border-color: rgba(193, 39, 45, 0.3); /* Kenarlık Belirginleşir */
        background: rgba(255, 255, 255, 1); /* Daha opak beyaz */
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(193, 39, 45, 0);
        border-color: transparent;
    }
}

.category-highlight {
    animation: categoryFlash 2.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    z-index: 50; /* Diğer elementlerin üzerine çıkması için */
    position: relative; 
    border: 1px solid transparent; /* Border geçişi için yer tutucu */
    border-radius: 12px; /* Kategori köşeleriyle uyumlu */
}


 