/* Sayfa başlığı */
.urun-header {
    text-align: center;
    padding: 40px 20px;
}
.urun-header h1 {
    font-size: 36px;
    font-weight: 700;
}
.urun-header p {
    font-size: 17px;
    margin-top: 8px;
    color: #555;
}

/* Grid */
.urun-grid {
    width: 90%;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

/* Ürün kutuları */
.urun-kutu {
    background: #fff;
    border-radius: 18px;
    padding: 30px 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    text-align: center;
    cursor: pointer;
    transition: .25s ease;
}
.urun-kutu img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 18px;
}
.urun-kutu h3 {
    font-size: 18px;
    font-weight: 600;
}

/* Hover */
.urun-kutu:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 50px rgba(0,0,0,0.12);
}

/* ============ POPUP ============ */
.popup-container {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup-box {
    background: #fff;
    padding: 35px;
    border-radius: 18px;
    width: 420px;
    max-width: 95%;
    text-align: center;
    position: relative;
    animation: fadeIn .3s ease;
}

.popup-box img {
    width: 220px;
    margin-bottom: 20px;
}

.popup-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 30px;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}
/* Sayfa başlığı */
.urun-header {
    text-align: center;
    margin-top: 40px;
}
.urun-header h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}
.urun-header p {
    font-size: 18px;
    opacity: .8;
}


/* ============================ */
/*     KATEGORİ GRID – ORTA     */
/* ============================ */
.kategori-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 4 yerine 3 yapıldı */
    gap: 35px;
    max-width: 1100px;  /* daha sıkı ve dengeli görünüm */
    margin: 60px auto;
    padding: 0 20px;
    justify-items: center; /* kartları ortalar */
}


/* KATEGORİ KUTUSU */
.kategori-kutu {
    background: #fff;
    border-radius: 26px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    transition: .3s ease;
    cursor: pointer;
    text-decoration: none !important;
    color: #222;
    width: 100%;
    max-width: 320px; /* her kart aynı genişlikte */
}

.kategori-kutu:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}


/* GÖRSELLER */
.kategori-kutu img {
    width: 80%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 18px;
}


/* BAŞLIK */
.kategori-kutu h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .03em;
    color: #333;
}


/* TABLET */
@media(max-width: 992px){
    .kategori-grid { 
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBİL */
@media(max-width: 600px){
    .kategori-grid { 
        grid-template-columns: 1fr;
    }
}
