* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f4f4;
}


.logo {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}
/* --- HEADER & ARAMA ÇUBUĞU GÜNCELLEMESİ --- */
header {
    background-color: #fff;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Yeni Arama Çubuğu Stili */
.search-bar {
    flex: 1;
    max-width: 650px; /* Genişliği sınırla */
    margin: 0 30px; /* Yanlardan boşluk */
    display: flex;
    align-items: center;
    background-color: #f0f2f5; /* Resimdeki gibi açık gri arka plan */
    border: 1px solid; /* Varsayılan kenarlık yok */
    border-radius: 50px; /* Tam yuvarlak köşeler (Oval) */
    padding: 6px 15px; /* İç dolgu */
    transition: all 0.3s ease;
}

/* Arama çubuğuna odaklanınca (Tıklayınca) */
.search-bar:focus-within {
    background-color: #fff; /* Arka plan beyaz olsun */
    border-color: #ff6000; /* Kenarlık turuncu olsun */
    box-shadow: 0 4px 12px rgba(255, 96, 0, 0.15); /* Hafif gölge */
}

.search-bar input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    padding: 8px;
    font-size: 15px;
    color: #444;
}

/* Placeholder rengi */
.search-bar input::placeholder {
    color: #999;
    font-weight: 500;
}

.search-bar button {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 8px;
    font-size: 18px; /* İkonu biraz büyüt */
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.search-bar button:hover {
    color: #ff6000;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Cüzdan Göstergesi */
.wallet-badge {
    background-color: #e3f2fd;
    color: #1976d2;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s;
}
.wallet-badge:hover { background-color: #bbdefb; }

/* Dropdown Menü */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    padding: 10px;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {background-color: #f1f1f1;}

.dropdown:hover .dropdown-content {display: block;}

/* Sepet İkonu */
.cart-icon {
    font-size: 20px;
    color: #333;
    text-decoration: none;
    position: relative;
}

/* Form Sayfaları Tasarımı */
.auth-container {
    background-color: #fff;
    width: 100%;
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.auth-container h2 {
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #666;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background-color: #ff6000;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: #e55600;
}

.error-msg {
    color: red;
    background-color: #ffe6e6;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
}

/* Cüzdan ve Bakiye Sayfası */
.wallet-container {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.balance-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.balance-card {
    border: 2px solid #eee;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    width: 150px;
    text-align: center;
    transition: all 0.3s;
}

.balance-card:hover, .balance-card.active {
    border-color: #ff6000;
    background-color: #fff8f2;
    transform: translateY(-5px);
}

.balance-amount {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

/* Sahte Ödeme Formu (Başlangıçta Gizli) */
#payment-modal {
    display: none; /* JS ile açacağız */
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.payment-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    width: 400px;
    text-align: center;
}

.fake-input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fafafa;
}


/* Başarılı İşlem Pop-up Tasarımı */
.custom-alert-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); /* Arka planı hafif karart */
    z-index: 2999;
    display: none; /* Varsayılan gizli */
    justify-content: center;
    align-items: center;
}

.custom-alert-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 350px;
    
    /* Animasyon Başlangıç Değerleri */
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* JS ile 'active' classı eklenince bu hale gelecek */
.custom-alert-box.active {
    opacity: 1;
    transform: scale(1);
}

.success-icon {
    font-size: 60px;
    color: #2ecc71; /* Yeşil */
    margin-bottom: 20px;
}

.custom-alert-box h3 {
    color: #333;
    margin-bottom: 10px;
}

.custom-alert-box p {
    color: #666;
    font-size: 16px;
}

/* Ürün Izgarası */
.products-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative; /* Animasyon için referans */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.product-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.product-price {
    font-size: 20px;
    font-weight: bold;
    color: #ff6000;
    margin-bottom: 15px;
}

/* Sepete Ekle Butonu */
.add-to-cart-btn {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}

.add-to-cart-btn:hover {
    background-color: #000;
}

/* Uçan Resim Animasyonu */
.fly-img {
    position: fixed;
    z-index: 9999;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Yaylanma efekti */
    pointer-events: none; /* Tıklanmayı engelle */
    border-radius: 50%;
    opacity: 0.8;
}

/* Sepet İkonu Üzerindeki Sayı (Badge) */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #ff6000;
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}



/* --- Ürün Detay Sayfası --- */
.detail-container {
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    display: flex;
    gap: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.detail-left {
    flex: 1;
}

.detail-left img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #eee;
}

.detail-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.detail-price {
    font-size: 28px;
    color: #ff6000;
    font-weight: bold;
    margin-bottom: 20px;
}

.detail-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.detail-btn {
    padding: 15px 30px;
    font-size: 18px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    align-self: start;
}

.detail-btn:hover {
    background-color: #000;
}

/* --- Toast Bildirim (Sağ Altta Çıkan Kutucuk) --- */
#toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 16px;
    position: fixed;
    z-index: 1000;
    right: 30px;
    bottom: 30px;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.5s, bottom 0.5s;
}

#toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px; /* Yukarı doğru kayma efekti */
}

/* Mobilde detay sayfası alt alta olsun */
@media (max-width: 768px) {
    .detail-container {
        flex-direction: column;
    }
}



/* --- Sepet Sayfası --- */
.cart-container {
    max-width: 1000px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.cart-table th, .cart-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cart-table th {
    background-color: #f9f9f9;
    color: #555;
}

.cart-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.total-section {
    text-align: right;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-top: 20px;
}

/* --- Ödeme Sayfası (Checkout) --- */
.checkout-options {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.payment-method {
    flex: 1;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

/* Radio butonu gizle, etiketi tüm kutuya yay */
.payment-method input[type="radio"] {
    display: none;
}

/* Seçili olan ödeme yöntemi */
.payment-method.selected {
    border-color: #ff6000;
    background-color: #fff8f0;
}

.payment-title {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
    display: block;
}

.payment-desc {
    font-size: 14px;
    color: #666;
}

/* Yetersiz Bakiye Durumu */
.payment-method.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #f4f4f4;
    border-color: #ddd;
}

.card-form {
    display: none; /* Varsayılan gizli */
    background: #fafafa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid #eee;
}

/* Sepet Adet Kontrolleri */
.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100px;
}

.qty-btn {
    background: #f4f4f4;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-weight: bold;
    color: #555;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #e0e0e0;
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    outline: none;
}

/* Silme Butonu (Çöp Kutusu) */
.remove-btn {
    background: none;
    border: none;
    color: #e74c3c; /* Kırmızı */
    cursor: pointer;
    font-size: 18px;
    transition: transform 0.2s;
}

.remove-btn:hover {
    transform: scale(1.2);
    color: #c0392b;
}

/* --- GENEL MODAL VE POPUP SİSTEMİ --- */

/* Arka Plan Karartma (Ortak) */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 3000;
    display: none; /* JS ile açılacak */
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px); /* Arkadaki siteyi hafif buzlar */
}

/* Kutu Tasarımı (Ortak) */
.modal-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Aktif olduğunda animasyon */
.modal-overlay.active .modal-box {
    transform: scale(1);
    opacity: 1;
}

/* İkonlar */
.modal-icon {
    font-size: 50px;
    margin-bottom: 20px;
}
.modal-icon.success { color: #2ecc71; }
.modal-icon.warning { color: #e74c3c; }

/* Başlık ve Metin */
.modal-box h3 { margin-bottom: 10px; color: #333; }
.modal-box p { color: #666; margin-bottom: 25px; line-height: 1.5; }

/* Buton Grubu (Onay Kutusu İçin) */
.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-modal {
    padding: 10px 25px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}

.btn-confirm { background: #e74c3c; color: white; }
.btn-confirm:hover { background: #c0392b; }

.btn-cancel { background: #eee; color: #555; }
.btn-cancel:hover { background: #ddd; }


/* --- YÜKLEME EKRANI (LOADING SPINNER) --- */
.loader-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.9); /* Arkayı hafif beyazlat */
    z-index: 9999;
    display: none; /* JS ile açılacak */
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loader-spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #ff6000; /* Turuncu renk */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.loader-text {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    letter-spacing: 1px;
    animation: pulse 1.5s infinite;
}

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

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* --- SİPARİŞ İŞLEME MODALI (YEŞİL KUTU) --- */
.processing-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Arka planı karart */
    z-index: 10000;
    display: none; /* JS ile açılacak */
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.processing-box {
    background: linear-gradient(135deg, #2ecc71, #27ae60); /* Şık Yeşil Gradyan */
    width: 300px;
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    color: white;
    box-shadow: 0 15px 35px rgba(46, 204, 113, 0.4);
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Modal açılınca büyüme efekti */
.processing-overlay.active .processing-box {
    transform: scale(1);
    opacity: 1;
}

/* Beyaz Dönen Halka */
.white-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    animation: spin 1s linear infinite;
}

.processing-text {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.processing-subtext {
    font-size: 14px;
    margin-top: 8px;
    opacity: 0.9;
}
.orders-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.order-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 25px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.order-header {
    background: #f9f9f9;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
    font-size: 14px;
}

.order-header strong {
    color: #333;
}

.order-body {
    padding: 20px;
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f1f1f1;
}

.order-item-row:last-child {
    border-bottom: none;
}

.order-status {
    background: #e6ffe6;
    color: #008000;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid #ccffcc;
}

/* --- ARAMA SONUÇLARI TAG TASARIMI --- */
.search-header-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-label {
    font-size: 18px;
    color: #555;
}

.search-tag {
    display: inline-flex;
    align-items: center;
    background-color: #fff3e0; /* Açık turuncu arka plan */
    border: 1px solid #ffcc80;
    color: #e65100;
    padding: 6px 15px;
    border-radius: 20px; /* Hap şeklinde yuvarla */
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.search-tag-remove {
    margin-left: 10px;
    color: #e74c3c; /* Kırmızı renk */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    transition: all 0.2s;
    border: 1px solid #ffcc80;
}

.search-tag-remove:hover {
    background-color: #e74c3c;
    color: white;
    border-color: #e74c3c;
    transform: scale(1.1);
}

/* --- ANA SAYFA SLIDER STİLLERİ --- */
.slider-section {
    max-width: 1200px;
    margin: 30px auto 50px auto; /* Üstten ve alttan boşluk */
    padding: 0 20px;
}

.slider-container {
    position: relative;
    overflow: hidden; /* Taşan kısımları gizle */
    border-radius: 16px; /* Köşeleri yuvarlat */
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Şık gölge */
    aspect-ratio: 16 / 6; /* Modern geniş ekran oranı (Örn: 1200x450) */
}

.slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); /* Yumuşak kayma efekti */
}

.slide {
    min-width: 100%; /* Her slayt tam genişlikte */
    position: relative;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi alana doldur */
}

/* Slayt Üzerindeki Yazı Alanı */
.slide-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.9); /* Yarı saydam beyaz kutu */
    padding: 25px;
    border-radius: 12px;
    backdrop-filter: blur(5px); /* Arkasını buzla */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.slide-content-r {
    position: absolute;
    bottom: 40px;
    left: 680px;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.9); /* Yarı saydam beyaz kutu */
    padding: 25px;
    border-radius: 12px;
    backdrop-filter: blur(5px); /* Arkasını buzla */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.slide-content h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
    color: #333;
}
.slide-content p {
    margin: 0;
    font-size: 16px;
    color: #666;
}

/* Slider Okları */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.8);
    color: #333;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    z-index: 5;
    opacity: 0; /* Varsayılan gizli */
}
.slider-container:hover .slider-arrow { opacity: 1; } /* Üzerine gelince göster */
.slider-arrow:hover { background: #ff6000; color: white; }
.arrow-prev { left: 20px; }
.arrow-next { right: 20px; }

/* Slider Noktaları (Dots) */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}
.dot {
    width: 10px; height: 10px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}
.dot.active {
    background: #ff6000;
    width: 25px; /* Aktif olan daha geniş */
    border-radius: 10px;
}

/* Mobilde yazı kutusunu ve okları düzenle */
@media (max-width: 768px) {
    .slider-container { aspect-ratio: 16 / 9; } /* Mobilde daha karemsi */
    .slide-content { bottom: 20px; left: 20px; right: 20px; max-width: none; padding: 15px; }
    .slide-content h2 { font-size: 20px; }
    .slide-content p { font-size: 14px; }
    .slider-arrow { display: none; } /* Mobilde okları gizle, sadece kaydırma/nokta */
}

/* --- YENİ CARD TASARIMI (CODEPEN ENTEGRASYONU) --- */

/* Kartın Dış Çerçevesi */
.wrapper {
  width: 100%; /* Grid hücresine sığsın */
  max-width: 320px; /* Çok genişlemesin */
  height: 500px;
  background: white;
  margin: auto;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  transform: scale(0.98);
  transition: box-shadow 0.5s, transform 0.5s;
}

.wrapper:hover {
  transform: scale(1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.wrapper .container {
  width: 100%;
  height: 100%;
}

/* Üst Kısım (Resim Alanı) */
.wrapper .container .top {
  height: 75%;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; /* Resmi kutuya sığdır */
  transition: transform 0.5s;
}

/* Alt Kısım (Bilgiler) */
.wrapper .container .bottom {
  width: 200%; /* Kaydırma efekti için genişlik 2 katı */
  height: 25%;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wrapper .container .bottom.clicked {
  transform: translateX(-50%);
}

/* Sol Taraf (Normal Görünüm) */
.wrapper .container .bottom .left {
  height: 100%;
  width: 50%;
  background: #f4f4f4;
  position: relative;
  float: left;
}

.wrapper .container .bottom .left .details {
  padding: 15px;
  float: left;
  width: 70%;
}

.wrapper .container .bottom .left .details h1 {
  font-size: 18px;
  color: #333;
  margin-bottom: 5px;
  
}

.wrapper .container .bottom .left .details p {
  font-size: 16px;
  font-weight: bold;
  color: #ff6000;
}

.wrapper .container .bottom .left .buy {
  float: right;
  width: calc(30% - 2px);
  height: 100%;
  background: #f1f1f1;
  transition: background 0.5s;
  border-left: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.wrapper .container .bottom .left .buy i {
  font-size: 24px;
  color: #254053;
  transition: transform 0.5s;
}

.wrapper .container .bottom .left .buy:hover {
  background: #A6CDDE;
}

.wrapper .container .bottom .left .buy:hover i {
  transform: translateY(-3px);
  color: #00394B;
}

/* Sağ Taraf (Sepete Eklendi Görünümü) */
.wrapper .container .bottom .right {
  width: 50%;
  background: #A6CDDE;
  color: white;
  float: right;
  height: 200%;
  overflow: hidden;
}

.wrapper .container .bottom .right .details {
  padding: 15px;
  float: right;
  width: 70%;
  text-align: right;
}

.wrapper .container .bottom .right .done {
  width: calc(30% - 2px);
  float: left;
  height: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,0.2);
}

.wrapper .container .bottom .right .remove {
  width: calc(30% - 1px);
  clear: both;
  height: 50%;
  background: #BC3B59;
  transition: background 0.5s;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,0.2);
}

.wrapper .container .bottom .right .remove:hover {
  background: #9B2847;
}

.wrapper .container .bottom .right i {
  font-size: 24px;
  color: white;
}

/* Hover Efektiyle Açılan Detay Alanı */
.wrapper .inside {
  z-index: 9;
  background: #92879B;
  width: 140px;
  height: 140px;
  position: absolute;
  top: -70px;
  right: -70px;
  border-radius: 0px 0px 200px 200px;
  transition: all 0.5s, border-radius 2s, top 1s;
  overflow: hidden;
}

.wrapper .inside .icon {
  position: absolute;
  right: 85px;
  top: 85px;
  color: white;
  opacity: 1;
}

.wrapper .inside:hover {
  width: 100%;
  right: 0;
  top: 0;
  border-radius: 0;
  height: 80%; /* Detay penceresinin ne kadar açılacağı */
}

.wrapper .inside:hover .icon {
  opacity: 0;
  right: 15px;
  top: 15px;
}

.wrapper .inside:hover .contents {
  opacity: 1;
  transform: scale(1);
  transform: translateY(0);
}

.wrapper .inside .contents {
  padding: 20px;
  opacity: 0;
  transform: scale(0.5);
  transform: translateY(-200%);
  transition: opacity 0.2s, transform 0.8s;
  color: white;
}

.wrapper .inside .contents p {
  font-size: 14px;
  line-height: 1.6;
}
.details h1{
    font-size: 1.2rem;
}

/* --- MODERN FOOTER TASARIMI --- */

.site-footer {
    background-color: #254053; /* Karttaki koyu lacivert */
    color: #e3e3d8; /* Kartın arka planına yakın kırık beyaz */
    padding-top: 60px;
    margin-top: 100px; /* Sayfanın en altına itmek için */
    font-family: sans-serif;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    margin-bottom: 40px;
}

/* 1. Sütun: Logo ve Metin */
.footer-logo {
    font-size: 28px;
    color: #fff;
    margin-bottom: 20px;
    font-weight: bold;
}

.footer-logo span {
    color: #A6CDDE; /* Karttaki açık mavi */
}

.footer-col p {
    line-height: 1.6;
    color: #bdc3c7;
    margin-bottom: 20px;
}

/* Sosyal Medya İkonları */
.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: #A6CDDE;
    color: #254053;
    transform: translateY(-3px);
}

.social-links i {
    font-size: 20px;
}

/* Başlıklar */
.footer-col h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #A6CDDE;
}

/* Linkler */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col.links ul li {
    margin-bottom: 12px;
}

.footer-col.links ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-col.links ul li a i {
    font-size: 16px;
    color: #A6CDDE;
}

.footer-col.links ul li a:hover {
    color: #fff;
    padding-left: 5px; /* Sağa kayma efekti */
}

/* İletişim Kısmı */
.footer-col.contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: #bdc3c7;
}

.footer-col.contact ul li i {
    color: #f26f2b; 
    font-size: 22px;
    margin-top: 2px;
}

/* Alt Çubuk */
.footer-bottom {
    background-color: #1a2d3b; /* Ana rengin biraz daha koyusu */
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
    color: #7f8c8d;
    font-size: 14px;
    margin: 0;
}

/* Mobil Uyum */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-col {
        margin-bottom: 20px;
    }

    .logo{
        font-size: 16px;
    }
    .search-bar{
        width: 150px;
    }
    .wallet-badge{
        display: none;
    }
    .search-bar input{
        width: 50px;
    } 
}