/* Product Detail Page Styles */

/* Breadcrumb Navigation */
.breadcrumb {
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #773141;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Product Container */
.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Product Image */
.product-image-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Product Info */
.product-info h1 {
    margin: 0 0 10px;
    font-size: 2rem;
    color: #333;
}

.product-info .product-category {
    color: #666;
    font-size: 1rem;
    margin-bottom: 15px;
}

.product-info .product-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #773141;
    margin-bottom: 20px;
}

.product-status {
    margin-bottom: 25px;
}

.stock-info {
    margin-top: 5px;
    font-size: 0.9rem;
    color: #666;
}

/* Product Description */
.product-description {
    margin-bottom: 30px;
}

.product-description h3 {
    margin: 0 0 15px;
    font-size: 1.2rem;
    color: #333;
}

.product-description p {
    line-height: 1.6;
    color: #444;
}

/* Quantity Selector */
.quantity-selector {
    margin-bottom: 25px;
}

.quantity-selector label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.quantity-controls {
    display: flex;
    align-items: center;
    max-width: 150px;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.quantity-btn.minus {
    border-radius: 4px 0 0 4px;
}

.quantity-btn.plus {
    border-radius: 0 4px 4px 0;
}

.quantity-controls input {
    width: 60px;
    height: 40px;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
    text-align: center;
    font-size: 1rem;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 15px;
}

.product-actions .btn {
    padding: 12px 25px;
    font-size: 1rem;
}

/* Related Products */
.related-products {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.related-products h2 {
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8rem;
    color: #333;
}

/* Product Not Found */
.product-not-found {
    text-align: center;
    padding: 60px 0;
}

.product-not-found h2 {
    margin-bottom: 15px;
    font-size: 1.8rem;
    color: #333;
}

.product-not-found p {
    margin-bottom: 25px;
    color: #666;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-image-container {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .product-info h1 {
        font-size: 1.5rem;
    }
    
    .product-info .product-price {
        font-size: 1.5rem;
    }
}