/* Product Detail Page */
.product-image-container {
    position: relative;
    background-color: #f8f9fa;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    overflow: hidden;
}

.product-detail-image {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 12px;
}

.discount-badge-detail {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff4d4d, #ff1a1a);
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(255, 77, 77, 0.4);
    z-index: 10;
}

.out-of-stock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.out-of-stock-overlay span {
    background-color: #dc3545;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
}

.product-info-detail {
    padding: 0 20px;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.price-section-detail {
    padding: 20px 0;
}

.original-price-detail {
    color: #999;
    text-decoration: line-through;
    font-size: 18px;
    margin-bottom: 5px;
}

.discounted-price-detail {
    color: #ff4d4d;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 5px;
}

.current-price-detail {
    color: #1a1a1a;
    font-size: 36px;
    font-weight: bold;
}

.savings-detail {
    color: #28a745;
    font-size: 16px;
    font-weight: 600;
}

.stock-status .badge {
    font-size: 14px;
    padding: 8px 15px;
}

.product-description {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.product-description h5 {
    font-weight: 600;
    margin-bottom: 15px;
}

.product-description p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 0;
}

.add-to-cart-detail {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
}

.additional-info {
    padding: 20px 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: #555;
}

.info-item i {
    color: #007bff;
    font-size: 20px;
}

/* Related Products */
.card-price {
    color: #007bff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 991px) {
    .product-title {
        font-size: 26px;
    }
    
    .discounted-price-detail,
    .current-price-detail {
        font-size: 28px;
    }
    
    .product-info-detail {
        padding: 20px 0;
    }
}

@media (max-width: 576px) {
    .product-title {
        font-size: 22px;
    }
    
    .discounted-price-detail,
    .current-price-detail {
        font-size: 24px;
    }
    
    .discount-badge-detail {
        font-size: 16px;
        padding: 8px 15px;
    }
}