/**
 * Precio Personalizado para WooCommerce - Frontend Styles
 */

.pp-custom-price-wrapper {
    margin: 20px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.pp-custom-price-label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #333;
}

.pp-custom-price-input-wrapper {
    display: flex;
    align-items: center;
    max-width: 200px;
}

.pp-currency-symbol {
    background-color: #e9e9e9;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-weight: 600;
    color: #555;
}

.pp-custom-price-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 0 4px 4px 0;
    font-size: 1.1em;
    font-weight: 600;
    width: 100%;
    -moz-appearance: textfield;
}

.pp-custom-price-input::-webkit-outer-spin-button,
.pp-custom-price-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pp-custom-price-input:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

.pp-price-range-info {
    margin-top: 10px;
    font-size: 0.9em;
    color: #666;
}

.pp-suggested-price-info {
    margin-top: 5px;
    font-size: 0.9em;
    color: #0073aa;
    font-style: italic;
}

/* Responsive */
@media (max-width: 480px) {
    .pp-custom-price-wrapper {
        padding: 15px;
    }

    .pp-custom-price-input-wrapper {
        max-width: 100%;
    }
}
