/* =========================
   1. DASAR HALAMAN
========================= */
* {
    box-sizing: border-box;
}

body.halaman-detail {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6fa;
    color: #263548;
    line-height: 1.6;
}

/* =========================
   2. NAVBAR DETAIL
========================= */
body .header-utama {
    background: #0c192b !important;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* =========================
   3. CONTAINER
========================= */
.halaman-detail .container {
    width: 92%;
    max-width: 1100px;
    margin: 0 auto;
}

/* =========================
   4. BREADCRUMB
========================= */
.breadcrumb {
    margin-bottom: 20px;
    font-size: 13px;
    color: #64748b;
}

.breadcrumb a {
    color: #245a91;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #D93636;
}

/* =========================
   5. KARTU DETAIL
========================= */
.detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: start;
    padding: 30px;
    background: white;
    border: 1px solid #edf0f4;
    border-radius: 14px;
    box-shadow: 0 5px 22px rgba(16, 42, 67, 0.07);
}

/* =========================
   6. FOTO PRODUK
========================= */
.foto-area {
    min-height: 320px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7fa;
    border-radius: 10px;
}

.foto-produk {
    display: block;
    width: 100%;
    max-height: 380px;
    object-fit: contain;

}

/* =========================
   7. INFORMASI PRODUK
========================= */
.info {
    padding: 5px 0;
}

.kategori {
    display: inline-block;
    padding: 6px 13px;
    background: #e8eef7;
    color: #172b4d;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 12px;
}

.info h2 {
    color: #172b4d;
    font-size: 30px;
    line-height: 1.3;
    margin: 5px 0 15px;
}

.deskripsi {
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 22px;
}

/* =========================
   8. HARGA DAN STOK
========================= */
.harga {
    color: #172b4d;
    font-size: 28px;
    font-weight: bold;
    margin: 15px 0;
}

.stok {
    display: inline-block;
    padding: 7px 13px;
    background: #e9f7ee;
    color: #287a46;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 22px;
}

/* =========================
   9. TOMBOL WHATSAPP
========================= */
.tombol-wa {
    display: block;
    width: 100%;
    padding: 14px 18px;
    background: #168447;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 7px;
    font-size: 14px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
}

.tombol-wa:hover {
    background: #116b38;
    transform: translateY(-2px);
}

/* =========================
   10. TOMBOL KEMBALI
========================= */
.kembali {
    display: inline-block;
    color: #245a91;
    text-decoration: none;
    font-size: 14px;
    margin-top: 18px;
}

.kembali:hover {
    color: #D93636;
}

/* =========================
   11. FOOTER
========================= */
.footer {
    text-align: center;
    color: #64748b;
    font-size: 13px;
    padding: 25px 15px;
}

/* =========================
   12. RESPONSIVE HP
========================= */

@media (max-width: 768px) {
    .container {
        width: 94%;
    }

    .detail-card {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 22px;
    }

    .foto-area {
        min-height: 230px;
    }

    .foto-produk {
        max-height: 280px;
    }

    .info h2 {
        font-size: 25px;
    }

    .harga {
        font-size: 25px;
    }
}

@media (max-width: 400px) {
    .detail-card {
        padding: 15px;
    }

    .foto-area {
        min-height: 190px;
    }

    .info h2 {
        font-size: 22px;
    }
}

/* PERBAIKAN BREADCRUMB DETAIL PRODUK */
.halaman-detail .breadcrumb {
    display: block;
    position: relative;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px 0;
    color: #64748b;
    font-size: 13px;
    visibility: visible;
    opacity: 1;
    z-index: 1;
}

.halaman-detail .breadcrumb a {
    color: #245a91;
    text-decoration: none;
}