/* ================================================================
   PRODUK DETAIL PAGE - CSS
   ================================================================ */

/* ================================================================
   BREADCRUMB
   ================================================================ */
.detail-breadcrumb {
    padding: 20px 0;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.breadcrumb {
    margin: 0;
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #2ecc71;
}

.breadcrumb-item.active {
    color: #94a3b8;
}

/* ================================================================
   DETAIL PRODUK
   ================================================================ */
.detail-produk {
    padding: 40px 0 60px;
    background: #ffffff;
}

/* Gambar Produk */
.produk-gambar {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #f8fafc;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.produk-gambar-main {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    padding: 20px;
}

.produk-badge {
    position: absolute;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.produk-badge.kategori {
    top: 16px;
    left: 16px;
    background: #2ecc71;
    color: #fff;
}

.produk-badge.featured {
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
}

.produk-badge.featured i {
    margin-right: 4px;
}

/* Info Produk */
.produk-info {
    padding-left: 20px;
}

.produk-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
}

.meta-item {
    font-size: 0.8rem;
    color: #94a3b8;
}

.meta-item i {
    margin-right: 6px;
    color: #2ecc71;
}

.produk-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a2a3a;
    margin-bottom: 12px;
    line-height: 1.2;
}

.produk-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2ecc71;
    margin-bottom: 16px;
}

.produk-description {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 24px;
}

/* Features */
.produk-features {
    margin-bottom: 20px;
}

.produk-features h5 {
    font-weight: 700;
    font-size: 1rem;
    color: #1a2a3a;
    margin-bottom: 8px;
}

.produk-features h5 i {
    color: #2ecc71;
    margin-right: 8px;
}

.produk-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
}

.produk-features ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #475569;
    padding: 4px 0;
}

.produk-features ul li i {
    color: #2ecc71;
    font-size: 0.7rem;
}

/* Specifications */
.produk-specifications {
    margin-bottom: 24px;
}

.produk-specifications h5 {
    font-weight: 700;
    font-size: 1rem;
    color: #1a2a3a;
    margin-bottom: 8px;
}

.produk-specifications h5 i {
    color: #2ecc71;
    margin-right: 8px;
}

.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
    background: #f8fafc;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid #f1f5f9;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: #1a2a3a;
    font-size: 0.8rem;
}

.spec-value {
    color: #475569;
    font-size: 0.8rem;
}

/* Actions */
.produk-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.btn-produk-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 32px;
    background: #2ecc71;
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-produk-primary:hover {
    background: #27ae60;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(46, 204, 113, 0.3);
}

.btn-produk-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 32px;
    background: #25d366;
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-produk-wa:hover {
    background: #1da851;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}

/* Share */
.produk-share {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.share-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.share-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-link:hover {
    transform: translateY(-3px);
}

.share-link.facebook {
    background: #1877f2;
}

.share-link.twitter {
    background: #1da1f2;
}

.share-link.whatsapp {
    background: #25d366;
}

.share-link.linkedin {
    background: #0a66c2;
}

/* ================================================================
   PRODUK TERKAIT
   ================================================================ */
.produk-terkait {
    padding: 60px 0 80px;
    background: #f8fafc;
}

.related-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.04);
}

.related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.10);
    border-color: #2ecc71;
}

.related-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #f1f5f9;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.related-card:hover .related-image img {
    transform: scale(1.05);
}

.related-category {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #2ecc71;
    color: #fff;
    padding: 2px 12px;
    border-radius: 50px;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
}

.related-body {
    padding: 16px 18px;
}

.related-body h6 {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1a2a3a;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-price {
    display: block;
    font-weight: 700;
    color: #2ecc71;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.related-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2ecc71;
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-btn:hover {
    color: #27ae60;
    gap: 10px;
}

/* ================================================================
   CTA
   ================================================================ */
.detail-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, #0a1a24, #1a3a4a);
}

.cta-box-detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: rgba(255,255,255,0.03);
    padding: 40px 50px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.06);
}

.cta-content-detail h2 {
    color: #fff;
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.cta-content-detail p {
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
    margin: 0;
}

.btn-cta-detail {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: #2ecc71;
    color: #0a1a24;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-cta-detail:hover {
    background: #27ae60;
    color: #0a1a24;
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(46, 204, 113, 0.3);
}

.btn-cta-detail i:last-child {
    transition: transform 0.3s ease;
}

.btn-cta-detail:hover i:last-child {
    transform: translateX(6px);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Tablet */
@media (max-width: 992px) {
    .produk-info {
        padding-left: 0;
        margin-top: 20px;
    }
    .produk-title {
        font-size: 1.8rem;
    }
    .produk-price {
        font-size: 1.5rem;
    }
    .cta-box-detail {
        flex-direction: column;
        text-align: center;
        padding: 30px 24px;
    }
}

@media (max-width: 768px) {
    .detail-produk {
        padding: 20px 0 40px;
    }
    .produk-title {
        font-size: 1.5rem;
    }
    .produk-price {
        font-size: 1.3rem;
    }
    .produk-description {
        font-size: 0.9rem;
    }
    .produk-gambar-main {
        max-height: 300px;
    }
    .produk-features ul {
        grid-template-columns: 1fr;
    }
    .spec-grid {
        grid-template-columns: 1fr;
    }
    .produk-actions {
        flex-direction: column;
    }
    .produk-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .cta-content-detail h2 {
        font-size: 1.4rem;
    }
    .btn-cta-detail {
        padding: 10px 24px;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .produk-title {
        font-size: 1.3rem;
    }
    .produk-price {
        font-size: 1.1rem;
    }
    .produk-gambar-main {
        max-height: 250px;
    }
    .produk-badge {
        font-size: 0.6rem;
        padding: 3px 10px;
    }
    .cta-box-detail {
        padding: 20px 16px;
    }
    .btn-cta-detail {
        width: 100%;
        justify-content: center;
    }
}