/* ================= DETAIL PRODUK ================= */

#detail-produk{
    width:90%;
    max-width:1200px;
    margin:60px auto;
}

.detail-wrapper{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:50px;
    background:#fff;
    padding:40px;
    border-radius:25px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

/* ================= KIRI : INFORMASI ================= */

.detail-info{
    width:60%;
}

.detail-info h2{
    font-size:38px;
    color:#1b5e20;
    margin-bottom:20px;
}

.detail-info .deskripsi{
    color:#555;
    line-height:1.9;
    text-align:justify;
    margin-bottom:20px;
}

.detail-info p{
    text-align:justify;
    margin-bottom:20px;
}

.section-title{
    font-size:24px;
    color:#1b5e20;
    margin-top:25px;
    margin-bottom:10px;
    border-left:5px solid #4caf50;
    padding-left:12px;
}

/* ================= LIST ================= */

.kandungan,
.manfaat{
    margin:15px 0 25px;
    padding-left:25px;
}

.kandungan li,
.manfaat li{
    margin-bottom:10px;
    line-height:1.8;
    color:#444;
}

.kandungan li::marker,
.manfaat li::marker{
    color:#4caf50;
}

/* ================= GAMBAR ================= */

.detail-image{
    width:40%;
    display:flex;
    flex-direction:column;
    align-items:center;
}

.detail-image img{
    width:100%;
    max-width:380px;
    border-radius:20px;
    object-fit:cover;
    box-shadow:0 15px 35px rgba(0,0,0,.15);
    transition:.3s;
}

.detail-image img:hover{
    transform:scale(1.03);
}

/* ================= LABEL HARGA ================= */

.price-label{
    width:100%;
    max-width:380px;
    margin-top:18px;
    padding:14px;
    background:#198754;
    color:#fff;
    text-align:center;
    font-size:24px;
    font-weight:700;
    border-radius:12px;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
}

/* ================= JIKA TIDAK ADA GAMBAR ================= */

.no-image{
    width:380px;
    height:380px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#f4f4f4;
    border:2px dashed #ccc;
    border-radius:20px;
    color:#888;
    text-align:center;
    font-weight:600;
    padding:20px;
}

.detail-info .btn{
    display:inline-block;
    margin-top:30px;
}

/* ================= RESPONSIVE ================= */

@media (max-width:768px){

    .detail-wrapper{
        flex-direction:column-reverse;
        padding:25px;
        gap:30px;
    }

    .detail-info,
    .detail-image{
        width:100%;
    }

    .detail-info h2{
        text-align:center;
        font-size:30px;
    }

    .detail-info .deskripsi{
        text-align:left;
    }

    .detail-image img,
    .price-label,
    .no-image{
        max-width:320px;
    }

    .no-image{
        height:320px;
    }

    .price-label{
        font-size:20px;
    }
}