/* Eden Plugin — Order Bump (frontend) */

.eden-bump {
    border-radius: 14px;
    padding: 20px;
    margin: 20px 0;
    background: #fff;
    transition: opacity 0.2s, transform 0.2s;
    font-family: inherit;
}
.eden-bump.is-loading { opacity: 0.5; pointer-events: none; }

.eden-bump__head {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #F2EDE7;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 14px;
    cursor: pointer;
    font-weight: 700;
    color: #2E1052;
    user-select: none;
}
.eden-bump__check {
    width: 18px;
    height: 18px;
    accent-color: #2E1052;
    margin: 0;
    cursor: pointer;
}
.eden-bump__cta { line-height: 1.3; }

.eden-bump__title {
    font-size: 17px;
    font-weight: 700;
    color: #2E1052;
    margin-bottom: 14px;
    line-height: 1.3;
}

.eden-bump__body {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.eden-bump__image {
    width: 100px;
    height: auto;
    border-radius: 8px;
    flex-shrink: 0;
    object-fit: cover;
}
.eden-bump__info { flex: 1; min-width: 0; }
.eden-bump__product {
    display: block;
    font-size: 16px;
    color: #2E1052;
    margin-bottom: 6px;
    font-weight: 700;
}
.eden-bump__description {
    font-size: 14px;
    color: #5D3A8B;
    margin: 0 0 10px;
    line-height: 1.5;
}
.eden-bump__price del {
    color: #999;
    margin-right: 8px;
}
.eden-bump__price strong {
    color: #2E1052;
    font-size: 18px;
    font-weight: 700;
}

@media (max-width: 600px) {
    .eden-bump__body { flex-direction: column; }
    .eden-bump__image { width: 100%; max-width: 200px; }
}

/* Address validation — feedback inline no campo de CEP */
.eden-address-status {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #2E1052;
    font-style: italic;
}
.eden-address-status.is-error {
    color: #b32d2e;
    font-style: normal;
    font-weight: 600;
}

/* Campos bloqueados durante busca do CEP */
.eden-address-locked,
input.eden-address-locked,
select.eden-address-locked,
.select2.eden-address-locked {
    opacity: 0.55;
    cursor: wait !important;
    pointer-events: none;
}
