/**
 * Frontend styles for Marktstandplaatsen Extra Opties
 */

/* Minimal styling - let theme handle most of it */
.mseo-extra-options-container {
    margin: 20px 0;
}

.mseo-options-list {
    margin: 15px 0;
}

.mseo-option-item {
    margin: 8px 0;
}

.mseo-option-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.mseo-option-checkbox {
    margin-right: 10px;
}

/* Subtitle as H4 */
.mseo-subtitle {
    margin: 20px 0 10px 0;
}

/* Quantity controls */
.mseo-quantity-controls {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.mseo-quantity-minus,
.mseo-quantity-plus {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.mseo-quantity-minus:hover,
.mseo-quantity-plus:hover {
    background: #e0e0e0;
    border-color: #999;
}

.mseo-quantity-minus:active,
.mseo-quantity-plus:active {
    transform: scale(0.95);
}

.mseo-option-quantity {
    width: 50px;
    height: 30px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
}

/* Price display */
.mseo-price-display {
    margin: 20px 0;
}

.mseo-price-row {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    padding: 10px 0;
}

.mseo-price-row.total {
    border-top: 2px solid #ddd;
    font-weight: bold;
}

.mseo-price-label {
    flex: 1;
}

.mseo-price-amount {
    font-weight: 600;
    transition: all 0.3s ease;
}

.mseo-price-amount.price-updated {
    transform: scale(1.15);
}

@keyframes price-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* Add to cart section */
.mseo-add-to-cart-section {
    margin-top: 20px;
}

.mseo-add-to-cart-button {
    width: 100%;
}

/* Notice messages */
.mseo-notice {
    margin-top: 15px;
}

/* Cart item meta */
.mseo-cart-options-list {
    margin-top: 8px;
    padding-left: 0;
    list-style: none;
}

.mseo-cart-option-item {
    padding: 4px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .mseo-price-row {
        flex-direction: column;
        gap: 5px;
    }
}