/* ===== WCMO Offer Modal ===== */
.wcmo-modal *{
    line-height: 1 !important;
    box-shadow: none !important;
}

.wcmo-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 16px;
}

.wcmo-modal__dialog {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,.2);
    padding: 24px;
    max-width: 480px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.wcmo-modal__close {
    position: absolute;
    right: 16px;
    top: 16px;
    border: 0;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    color: #666;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
    padding: unset;
}
.wcmo-modal__close:hover {
    background: #f0f0f0;
}

.wcmo-modal__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px;
    color: #111;
}

/* Product Header */
.wcmo-modal__product {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.wcmo-modal__product-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    flex-shrink: 0;
}

.wcmo-modal__product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wcmo-modal__product-name {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    line-height: 1.3;
}

.wcmo-modal__product-price {
    font-size: 14px;
    color: #555;
}

/* BP Badge */
.wcmo-modal__bp-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #FF2D95;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.wcmo-bp-shield {
    flex-shrink: 0;
}

/* Quick Offer Buttons */
.wcmo-modal__quick-offers {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.wcmo-quick-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 8px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    min-height: 60px;
    height: 100%;
}
.wcmo-quick-btn:hover,
.wcmo-quick-btn.active {
    /* border-color: #047857; */
    border-color: #FF2D95;
    /* background: #f0fdf4; */
    background: #ff2d950f;
}

.wcmo-quick-label {
    font-size: 15px;
    font-weight: 700;
    color: #111;
}

.wcmo-quick-price {
    font-size: 13px;
    color: #555;
}

.wcmo-quick-btn--other .wcmo-quick-label {
    font-size: 14px;
    font-weight: 600;
}

/* Form */
.wcmo-modal__label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #111;
    margin-bottom: 8px;
}

.wcmo-modal__input-wrap {
    display: flex;
    align-items: center;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
    margin-bottom: 8px;
}
.wcmo-modal__input-wrap:focus-within {
    border-color: #FF2D95;
}

.wcmo-modal__input-wrap input {
    flex: 1;
    border: none !important;
    outline: none !important;
    padding: 14px 16px;
    font-size: 18px;
    font-weight: 600;
    font-family: inherit;
    background: transparent;
    box-shadow: none !important;
    -moz-appearance: textfield;
}
.wcmo-modal__input-wrap input::-webkit-outer-spin-button,
.wcmo-modal__input-wrap input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wcmo-modal__currency {
    font-size: 16px;
    font-weight: 600;
    color: #999;
    padding: 0 14px;
    flex-shrink: 0;
}

/* BP Live Calculation */
.wcmo-modal__bp-live {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #FF2D95;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
    padding-left: 4px;
}

/* Submit Button */
.wcmo-modal__submit {
    width: 100%;
    padding: 14px 24px;
    background: #FF2D95;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}
.wcmo-modal__submit:hover {
    background: #d41272;
}
.wcmo-modal__submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Message */
.wcmo-msg {
    margin-top: 12px;
    font-size: 13px;
    text-align: center;
}

/* Login Required */
.wcmo-login-required {
    padding: 10px 0;
}

/* Responsive */
@media (max-width: 480px) {
    .wcmo-modal__dialog {
        padding: 18px;
        border-radius: 12px;
    }
    .wcmo-modal__product-img {
        width: 60px;
        height: 60px;
    }
    .wcmo-quick-btn {
        padding: 10px 6px;
    }
    .wcmo-quick-label {
        font-size: 13px;
    }
}
