.aby-order-bump-container {
    background-color: #fcfaf8;
    border: 2px dashed #d80000;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    position: relative;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.aby-order-bump-container:hover {
    border-color: #ff3333;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.aby-ob-header {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.aby-ob-badge {
    background-color: #d80000;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.aby-ob-layout {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.aby-ob-image-col {
    flex: 0 0 80px;
}

.aby-ob-thumbnail {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.aby-ob-content-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.aby-ob-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
}

.aby-ob-checkbox {
    width: 20px !important;
    height: 20px !important;
    margin-right: 12px !important;
    margin-top: 2px !important;
    cursor: pointer;
    accent-color: #d80000;
    flex-shrink: 0;
}

.aby-ob-title {
    flex: 1;
}

.aby-ob-description {
    font-size: 13px;
    color: #555;
    padding-left: 32px;
    line-height: 1.4;
}

.aby-ob-description del {
    color: #999;
    font-weight: normal;
}

/* Beneficios */
.aby-ob-benefits {
    padding-left: 32px;
    margin-top: 4px;
}

.aby-ob-benefits ul, .aby-ob-benefits ol {
    margin: 0;
    padding-left: 15px;
    font-size: 12px;
    color: #444;
}

.aby-ob-benefits li {
    margin-bottom: 3px;
    list-style-type: none;
    position: relative;
}

.aby-ob-benefits li::before {
    content: "✓";
    color: #2ecc71;
    position: absolute;
    left: -15px;
    font-weight: bold;
}

/* Loader */
.aby-order-bump-container.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

.aby-ob-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #d80000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Media Query para móviles */
@media (max-width: 480px) {
    .aby-ob-layout {
        flex-direction: column;
    }
    .aby-ob-image-col {
        flex: 1;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    .aby-ob-thumbnail {
        max-width: 120px;
    }
}

/* Variantes visuales para A/B Testing */
.variant-b { border-color: #0073aa; }
.variant-b .aby-ob-badge { background-color: #0073aa; }
.variant-b .aby-ob-checkbox { accent-color: #0073aa; }

.variant-c { border-color: #00a0d2; }
.variant-c .aby-ob-badge { background-color: #00a0d2; }
.variant-c .aby-ob-checkbox { accent-color: #00a0d2; }

.variant-d { border-color: #11a0d2; }
.variant-d .aby-ob-badge { background-color: #11a0d2; }
.variant-d .aby-ob-checkbox { accent-color: #11a0d2; }

/* Override WooCommerce Place Order Button to Green */
#place_order,
button[name="woocommerce_checkout_place_order"],
.woocommerce-checkout .button.alt,
.woocommerce-page .checkout .button.alt,
.wc-block-components-checkout-place-order-button,
.checkout-button {
    background-color: #2ecc71 !important;
    border-color: #27ae60 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
    transition: all 0.3s ease !important;
    background-image: none !important;
}

#place_order:hover,
button[name="woocommerce_checkout_place_order"]:hover,
.woocommerce-checkout .button.alt:hover,
.woocommerce-page .checkout .button.alt:hover,
.wc-block-components-checkout-place-order-button:hover,
.checkout-button:hover {
    background-color: #27ae60 !important;
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.6) !important;
    transform: translateY(-2px) !important;
}

/* Ocultar enlace de cambio de promoción del tema para el Order Bump */
tr.is-order-bump-row .aby-checkout-item-actions,
tr.is-order-bump-row .aby-checkout-change-offer,
.is-order-bump-row .aby-checkout-item-actions {
    display: none !important;
}
