/* Product Detail Content */
.product-detail-content {
    padding: 40px 0;
    background-color: #f8f9fa;
}

/* Product Gallery Styles */
.product-gallery {
    position: relative;
    margin-bottom: 30px;
}

#productCarousel {
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(26, 82, 118, 0.5);
    border-radius: 3px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    /*opacity: 1;*/
    background: var(--primary-color);
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail.active,
.thumbnail:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Details Styles */
.product-details {
    padding: 25px;
    /*background: white;*/
    border-radius: 3px;
    /*box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);*/
    position: relative;
    overflow: hidden;
}

.product-title {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.product-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.product-price {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.product-description {
    margin-bottom: 1.5rem;
    text-align:justify;
    color: #555;
    line-height: 1.6;
}

.product-features {
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
}

.feature-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 5px;
    font-size: 1rem;
}

.product-actions {
    margin-top:50px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-quote2 {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 3px;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-quote2:hover {
    background: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 3px;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Specifications Section */
.specifications {
    background: white;
    padding: 30px;
    border-radius: 3px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    /*margin-top: 40px;*/
}

.section-title {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 24px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark-color);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 37px;
    width: 70px;
    height: 3px;
    background-color: var(--primary-color);
}

.specs-tabs {
    display: flex;
    border-bottom: 2px solid #eee;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.specs-tab {
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    font-weight: 600;
    color: #777;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.specs-tab:hover {
    color: var(--primary-color);
}

.specs-tab.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.specs-content {
    padding: 1rem 0;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #eee;
    transition: background 0.2s ease;
}

.specs-table tr:hover {
    background: rgba(26, 82, 118, 0.03);
}

.specs-table td {
    padding: 0.7rem 0.5rem;
    font-size: 0.9rem;
}

.specs-table td:first-child {
    font-weight: 600;
    width: 40%;
    color: var(--dark-color);
}

.specs-table td:last-child {
    color: var(--dark-color);
}

/* Related Products */
.related-products {
    margin-top: 50px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: white;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-image-container {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-card .product-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 15px;
    color: white;
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: none !important;
    z-index: 2;
}

/* Nonaktifkan efek hover sepenuhnya */
.product-card:hover .product-info-overlay {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/*.product-card:hover .product-info-overlay {*/
/*    opacity: 1;*/
/*    transform: translateY(0);*/
/*}*/

.product-title-sm {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-category-sm {
    position: absolute;
    top: 15px;
    background: #1a5276b8;
    color: white;
    padding: 3px 8px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-actions-sm {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price-sm {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
}

.product-btn-sm {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 3px;
    font-size: 0.7rem;
    transition: all 0.3s ease;
}

.product-btn-sm:hover {
    background: var(--dark-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-price {
        font-size: 1.3rem;
    }
    
    .carousel-item img {
        height: 300px;
    }
    
    .thumbnail {
        width: 60px;
        height: 45px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .btn-quote, .btn-whatsapp {
        width: 100%;
    }
}

.industrial-pattern {
    background-color: #f8f9fa;
    background-image: 
        linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}