/* Product Variations Styling */
.product-variations {
    margin-bottom: 2rem;
}

.product-variations h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-option {
    margin-bottom: 1.5rem;
}

.product-option .form-label {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.variation-dropdown {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background-color: #fff;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.variation-dropdown:focus {
    outline: none;
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.variation-dropdown:hover {
    border-color: #dc3545;
}

.variation-dropdown option {
    padding: 0.5rem;
    color: #333;
}

.variation-dropdown option:disabled {
    color: #6c757d;
    background-color: #f8f9fa;
}

/* Responsive design */
@media (max-width: 768px) {
    .variation-dropdown {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
        padding-right: 2.2rem;
    }
}

/* Animation for price updates */
.price-update {
    animation: pricePulse 0.3s ease-in-out;
}

@keyframes pricePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
