* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #0b0f19; /* Şık koyu siber tema */
    color: #f1f5f9;
}

/* 1. HEADER VE SEPET ROZETİ */
header {
    background-color: #111827;
    color: white;
    padding: 18px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.logo { margin: 0; font-size: 24px; font-weight: 900; letter-spacing: 1px; }
.logo span { color: #38bdf8; text-shadow: 0 0 10px rgba(56,189,248,0.5); }

nav a {
    color: #94a3b8;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    transition: 0.3s;
}
nav a:hover, nav a.aktif { color: #38bdf8; text-shadow: 0 0 8px rgba(56,189,248,0.4); }

.sepet-buton {
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: white !important;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(37,99,235,0.4);
}
.sepet-buton:hover { transform: translateY(-2px); box-shadow: 0 0 25px rgba(56,189,248,0.6); }

/* 2. KATEGORİ BUTONLARI */
.kategori-bar {
    text-align: center;
    padding: 20px;
    background: #111827;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.kat-btn {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 10px 18px;
    margin: 5px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    color: #cbd5e1;
    transition: 0.3s;
}
.kat-btn:hover, .kat-btn.aktif { background: #38bdf8; color: #0b0f19; border-color: #38bdf8; box-shadow: 0 0 12px rgba(56,189,248,0.4); }

/* 3. ÜRÜN VİTRİNİ (GRID) */
.urun-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.urun-karti {
    background: #161e2e;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.urun-karti:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(56,189,248,0.15);
    border-color: #38bdf8;
}
.urun-karti img {
    width: 100%;
    height: 170px;
    object-fit: contain;
    margin-bottom: 15px;
}
.urun-karti h3 { font-size: 18px; margin-bottom: 8px; color: #fff; }
.urun-fiyat {
    font-size: 22px;
    font-weight: 900;
    color: #34d399;
    margin: 10px 0;
}
.ekle-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(16,185,129,0.3);
}
.ekle-btn:hover { box-shadow: 0 0 20px rgba(16,185,129,0.6); transform: scale(1.02); }

/* 4. SEPET SAYFASI (İKİ SÜTUNLU YAPI) */
.sepet-sayfasi-ikiye-bol {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}
.sepet-tablo-alani { flex: 2; }
.odeme-form-alani { flex: 1; }

/* TABLO TASARIMI */
table {
    width: 100%;
    border-collapse: collapse;
    background: #161e2e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.06);
}
th, td { padding: 15px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.06); color: #cbd5e1; }
th { background: #111827; color: #fff; }
td img { width: 55px; height: 55px; object-fit: contain; border-radius: 6px; background: #fff; padding: 2px; }
.toplam-fiyat { font-size: 22px; font-weight: 900; color: #34d399; }
.urun-sil-btn { background: #ef4444; color: white; border: none; padding: 6px 12px; border-radius: 6px; cursor: pointer; transition: 0.2s; }
.urun-sil-btn:hover { background: #dc2626; box-shadow: 0 0 10px rgba(239,68,68,0.4); }
.temizle-btn { margin-top: 15px; background: #475569; color: white; border: none; padding: 10px 18px; border-radius: 6px; cursor: pointer; font-weight: bold; transition: 0.2s; }
.temizle-btn:hover { background: #334155; }

/* KUPON ALANI */
.kupon-alani {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}
.kupon-alani input {
    flex: 1;
    background: #161e2e;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 10px 15px;
    border-radius: 6px;
    color: #fff;
}
.kupon-btn {
    background: #8b5cf6;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.kupon-btn:hover { background: #7c3aed; box-shadow: 0 0 10px rgba(139,92,246,0.4); }

/* ÖDEME FORMU TASARIMI */
fieldset {
    background: #161e2e;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
legend { font-weight: 900; font-size: 18px; color: #38bdf8; padding: 0 10px; }
.form-grup { margin-bottom: 15px; }
.form-grup label { display: block; font-size: 13px; font-weight: bold; margin-bottom: 5px; color: #94a3b8; }
.form-grup input, .form-grup textarea {
    width: 100%;
    padding: 11px;
    background: #0b0f19;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: #fff;
    font-family: inherit;
}
.form-grup input:focus, .form-grup textarea:focus { border-color: #38bdf8; outline: none; box-shadow: 0 0 8px rgba(56,189,248,0.3); }
.yan-yana-input { display: flex; gap: 10px; }
.satinal-btn {
    width: 100%;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 0 15px rgba(37,99,235,0.4);
    transition: 0.3s;
}
.satinal-btn:hover { box-shadow: 0 0 25px rgba(37,99,235,0.7); }

@media (max-width: 768px) {
    .sepet-sayfasi-ikiye-bol { flex-direction: column; }
    header { padding: 15px 20px; }
    .urun-grid { padding: 20px; }
}