/* ================= RESET ================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial;
}

/* ================= GLOBAL BACKGROUND ================= */
body {
    min-height: 100vh;
    background:
        radial-gradient(1200px 500px at 10% -10%, #4f9cff55, transparent 60%),
        radial-gradient(800px 400px at 90% 10%, #2c6cff55, transparent 55%),
        linear-gradient(180deg, #0b1c3f 0%, #0e2a66 35%, #f3f6fb 35%);
    color: #111;
}

/* ================= HEADER ================= */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.4);
    padding: 14px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #2563eb;
}
.logo span {
    color: #38bdf8;
}

/* ================= SEARCH ================= */
.search-box {
    flex: 1;
    display: flex;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(37,99,235,.15);
    overflow: hidden;
}

.search-box input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    outline: none;
}

.search-box button {
    padding: 0 22px;
    border: none;
    background: linear-gradient(135deg,#2563eb,#38bdf8);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

/* ================= AUTH LINKS ================= */
.auth-links a {
    margin-left: 14px;
    text-decoration: none;
    font-weight: 600;
    color: #1e40af;
}

/* ================= CONTAINER ================= */
.container {
    max-width: 1250px;
    margin: 60px auto;
    padding: 0 20px;
}

/* ================= PRODUCT GRID ================= */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 28px;
}

.product {
    background: linear-gradient(180deg,#ffffff,#f1f5ff);
    border-radius: 18px;
    box-shadow:
        0 20px 40px rgba(0,0,0,.15),
        inset 0 1px 0 rgba(255,255,255,.7);
    transition: .35s;
}

.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(0,0,0,.25);
}

.product-link {
    display: block;
    padding: 14px;
    text-decoration: none;
    color: #111;
}

.product img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 14px;
    background: #eef2ff;
}

.product h3 {
    margin: 14px 6px 6px;
    font-size: 15px;
    font-weight: 600;
}

/* ================= NORMAL PRICE (ESKİ SİSTEM) ================= */
.price {
    margin-left: 6px;
    font-size: 17px;
    font-weight: 800;
    color: #2563eb;
}

/* ================= DISCOUNT PRICE (YENİ) ================= */
.price-box {
    margin-left: 6px;
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.price-old {
    font-size: 13px;
    color: #6b7280;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.price-new {
    font-size: 17px;
    font-weight: 800;
    color: #2563eb;
}

/* ================= DETAIL PAGE ================= */
.detail {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    color: #fff;
}

.price-big {
    font-size: 30px;
    font-weight: 800;
    color: #38bdf8;
    margin-bottom: 20px;
}

/* ================= FOOTER ================= */
.footer {
    text-align: center;
    padding: 40px 20px;
    color: #c7d2fe;
    font-size: 13px;
}

/* ================= MOBILE ================= */
@media(max-width: 900px) {
    .detail {
        grid-template-columns: 1fr;
    }

    .header {
        flex-wrap: wrap;
    }

    .search-box {
        width: 100%;
    }

    .auth-links {
        width: 100%;
        text-align: right;
    }
}