/* Product Detail */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
}

.product-image-large {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 8px;
    min-height: 400px;
}

.product-image-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 400px;
}

.product-details h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.category-badge {
    display: inline-block;
    background-color: #f0f0f0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.price {
    font-size: 32px;
    font-weight: bold;
    color: #2d5016;
}

.stock-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.stock-status.available {
    background-color: #d4edda;
    color: #155724;
}

.stock-status.unavailable {
    background-color: #f8d7da;
    color: #721c24;
}

.description {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.stock-info {
    background-color: #f9f9f9;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.stock-info strong {
    color: #2d5016;
}

/* Quantity Selector */
.quantity-selector {
    margin-bottom: 20px;
}

.quantity-selector label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: fit-content;
}

.quantity-control button {
    width: 36px;
    height: 36px;
    background-color: #f5f5f5;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    transition: background-color 0.3s ease;
}

.quantity-control button:hover {
    background-color: #e0e0e0;
}

.quantity-control input {
    width: 60px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.quantity-control input:focus {
    outline: none;
}

/* Add to Cart Button */
.btn-add-to-cart {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-image-large {
        min-height: 300px;
    }

    .product-image-large img {
        max-width: 300px;
    }

    .product-details h1 {
        font-size: 24px;
    }

    .price {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .product-detail {
        padding: 15px;
    }

    .product-details h1 {
        font-size: 20px;
    }

    .price {
        font-size: 24px;
    }

    .price-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
