/**
 * AIRENA Currency Switcher - Frontend Styles
 * Only displays on checkout page, above shipping options
 */

/* Checkout page currency switcher */
.airena-currency-switcher-checkout {
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

.airena-currency-switcher-checkout h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.airena-currency-switcher-checkout .form-row {
    margin: 0;
}

.airena-currency-switcher-checkout label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.airena-currency-switcher-checkout select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 16px;
    cursor: pointer;
}

.airena-currency-switcher-checkout select:hover {
    border-color: #999;
}

.airena-currency-switcher-checkout select:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

/* Loading state */
body.airena-currency-loading {
    cursor: wait;
}

body.airena-currency-loading .airena-currency-switcher-checkout select {
    opacity: 0.6;
    cursor: wait;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .airena-currency-switcher-checkout {
        padding: 15px;
    }

    .airena-currency-switcher-checkout h3 {
        font-size: 16px;
    }
}

/* Lock the shipping-country selector. The detected/billing country still
   displays, but the customer cannot change it from the shipping form
   (so toggling to Colombia does not flip the price currency).
   Billing country remains fully editable. */
.wc-block-checkout__shipping-fields select#shipping-country,
.wc-block-checkout__shipping-fields .wc-block-components-country-input select,
.wc-block-checkout__shipping-fields [id$="-country"] input,
.wc-block-checkout__shipping-fields [id$="-country"] button {
    pointer-events: none;
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.85;
}

.wc-block-checkout__shipping-fields .wc-block-components-combobox__suggestions-container,
.wc-block-checkout__shipping-fields .components-form-token-field__suggestions-list {
    display: none !important;
}
