/* Custom CSS untuk Card Produk TNB */
.tnb-product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efek Card Terangkat saat Hover */
.tnb-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.1);
}

.tnb-product-card .box-img {
    width: 100%;
    aspect-ratio: 4/3;
    /* Menjaga ukuran gambar seragam */
    overflow: hidden;
    position: relative;
}

.tnb-product-card .box-img img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    /* KUNCI: Memaksa gambar memenuhi kotak penuh */
    /* object-fit: cover; /* KUNCI: Memaksa gambar memenuhi kotak penuh */
    object-position: center;
    transition: transform 0.5s ease;
}

/* Efek Zoom Gambar saat Hover */
.tnb-product-card:hover .box-img img {
    transform: scale(1.08);
}

.tnb-product-card .content-post {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* CSS Khusus untuk Tombol Grup di Card Produk */
.tnb-product-card .button-group {
    margin-top: auto;
    display: flex;
    gap: 15px;
}

.tnb-btn {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    border-radius: 5px;
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Tombol Flyer: Default Abu-abu, Hover Biru Tema */
.tnb-btn-flyer {
    background: #EEEEEE;
    color: #142441;
}

.tnb-btn-flyer:hover {
    background: #3764EB;
    color: #FFFFFF;
}

.tnb-btn-flyer i {
    color: #FF0909;
    margin-right: 6px;
    transition: color 0.3s ease;
}

/* Mengubah warna ikon PDF menjadi putih saat di-hover */
.tnb-btn-flyer:hover i {
    color: #FFFFFF;
}

/* Tombol Detail: Default Biru Tema, Hover Biru Gelap/Navy */
.tnb-btn-detail {
    background: #3764EB;
    color: #FFFFFF;
}

.tnb-btn-detail:hover {
    background: #142441;
    color: #FFFFFF;
}

.tnb-btn-detail i {
    margin-left: 6px;
    transition: transform 0.3s ease;
}

/* Efek ikon panah bergeser sedikit ke kanan saat di-hover */
.tnb-btn-detail:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   Custom CSS untuk Product Detail Page (TNB)
   ========================================================================== */

/* Hero Banner Section */
.tnb-product-hero {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    position: relative;
}

.tnb-product-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 36, 65, 0.8);
}

.tnb-product-hero-content {
    position: relative;
    z-index: 2;
}

.tnb-product-hero-title-wrap {
    text-align: center;
    padding: 80px 0;
    margin-top: 80px;
}

.tnb-product-hero-title {
    color: #ffffff;
    margin-bottom: 10px;
}

/* Breadcrumbs */
.tnb-product-breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tnb-product-breadcrumbs li a {
    color: #9AA5B3;
    transition: color 0.3s ease;
}

.tnb-product-breadcrumbs li a:hover {
    color: #ffffff;
}

.tnb-product-breadcrumbs .divider {
    color: #ffffff;
    margin-left: 10px;
}

.tnb-product-breadcrumbs .action {
    color: #3764EB;
}

/* Detail Section Layout */
.tnb-product-detail-section {
    padding: 100px 0;
}

.tnb-product-detail-img-wrap {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.tnb-product-detail-img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.tnb-product-detail-content {
    padding-left: 30px;
}

/* Typography & Elements */
.tnb-product-detail-category {
    color: #3764EB;
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tnb-product-detail-title {
    margin-top: 15px;
    margin-bottom: 25px;
    color: #142441;
    font-weight: 700;
}

.tnb-product-detail-divider {
    width: 60px;
    height: 4px;
    background: #3764EB;
    margin-bottom: 30px;
    border-radius: 2px;
}

.tnb-product-detail-desc {
    font-size: 17px;
    line-height: 1.8;
    color: #666666;
    margin-bottom: 40px;
}

/* Fitur/Informasi Tambahan */
.tnb-product-detail-info {
    list-style: none;
    padding: 25px;
    margin-bottom: 40px;
    background: #F4F7FC;
    border-radius: 8px;
}

.tnb-product-detail-info li {
    margin-bottom: 12px;
    font-size: 14px;
    color: #142441;
}

.tnb-product-detail-info li:last-child {
    margin-bottom: 0;
}

.tnb-product-detail-info i {
    color: #3764EB;
    margin-right: 10px;
}

/* Wrapper Tombol & Ukuran Tombol Besar */
.tnb-product-detail-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.tnb-btn-large {
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
}

/* Responsivitas untuk layar Mobile / Tablet */
@media (max-width: 991px) {
    .tnb-product-detail-content {
        padding-left: 0;
        margin-top: 40px;
    }
}