/* ========================================
   URUN DETAY SAYFASI
   ======================================== */

/* Ana Resim */
.detay-ana-resim {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #f8f8f8;
}

    .detay-ana-resim img {
        width: 100%;
        height: auto;
        max-height: 650px;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

    .detay-ana-resim:hover img {
        transform: scale(1.03);
    }

/* Küçük Resimler */
.detay-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.detay-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid #e0e0e0;
    transition: all 0.3s ease;
}

    .detay-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .detay-thumb:hover {
        border-color: var(--main-color);
        transform: scale(1.05);
    }

    .detay-thumb.active {
        border-color: var(--main-color);
        box-shadow: 0 0 10px rgba(98, 196, 74, 0.4);
    }

/* Ürün Adı */
.detay-urun-ad {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.3;
    margin-bottom: 15px;
}

/* Fiyat */
.detay-normal-fiyat {
    font-size: 2rem;
    font-weight: 700;
    color: var(--main-color);
}

.detay-eski-fiyat {
    font-size: 1.3rem;
    color: var(--gray-color);
    text-decoration: line-through;
}

.detay-indirimli-fiyat {
    font-size: 2rem;
    font-weight: 700;
    color: #e74c3c;
}

/* Açıklama */
.detay-aciklama {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Sepet Alanı */
.detay-sepet-alani .input-group .form-control {
    font-size: 1.1rem;
    font-weight: 600;
}

.detay-sepet-alani .btn-primary {
    padding: 12px 30px;
    font-size: 1.05rem;
    font-weight: 600;
}

/* Bilgi Kutusu */
.detay-bilgi-kutu {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

/* Tab Alanı */
.detay-tablar .nav-link {
    color: var(--dark-color);
    font-weight: 600;
    padding: 12px 20px;
    border: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

    .detay-tablar .nav-link:hover {
        color: var(--main-color);
        border-bottom-color: var(--main-color);
    }

    .detay-tablar .nav-link.active {
        color: var(--main-color);
        border-bottom-color: var(--main-color);
        background: transparent;
    }

    .detay-tablar .nav-link i {
        margin-right: 6px;
    }

.detay-tab-icerik {
    padding: 25px 15px;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 10px 10px;
    background: var(--white-color);
    line-height: 1.8;
    color: #555;
}

/* İncele Butonu — Kategori Kartı */
.urun-kart .btn-outline-primary {
    border-width: 2px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.urun-kart:hover .btn-outline-primary {
    background: var(--main-color);
    color: var(--white-color);
    border-color: var(--main-color);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .whatsapp-float:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
        color: #fff;
    }

/* Responsive */
@media (max-width: 767px) {
    .detay-urun-ad {
        font-size: 1.4rem;
    }

    .detay-normal-fiyat,
    .detay-indirimli-fiyat {
        font-size: 1.5rem;
    }

    .detay-thumb {
        width: 60px;
        height: 60px;
    }

    .detay-tablar .nav-link {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}