.eco-cart-popup{
    z-index:99999;
}

.eco-cart-popup-content{
    position:relative;
}

/* 🔥 flechita apuntando al botón */
.eco-cart-popup-content::before{
    content:"";
    position:absolute;
    top:-6px;
    right:20px;
    border-width:6px;
    border-style:solid;
    border-color:transparent transparent #fff transparent;
}

.eco-cart-popup{
    z-index:999999;
}

.eco-cart-popup-content{
    background:#fff;
    border-radius:14px;
    padding:14px;
    width:260px;
    box-shadow:0 15px 40px rgba(0,0,0,0.15);
    border:1px solid #eee;
    position:relative;
}

/* 🔥 flecha alineada con panel */
.eco-cart-popup-content::before{
    content:"";
    position:absolute;
    top:-6px;
    right:20px;
    border-width:6px;
    border-style:solid;
    border-color:transparent transparent #fff transparent;
}
.eco-cart-popup-actions{
    display:flex;
    gap:10px;
}

.eco-popup-checkout{
    flex:1;
}

.woocommerce-message{
    display:none !important;
}

.eco-oferta-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #5aa0f8;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    z-index: 2;
}

.eco-price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 13px;
    margin-right: 6px;
}

.eco-price-new {
    color: #2d5cff;
    font-weight: bold;
    font-size: 18px;
}
.eco-price-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    line-height: 1;
    margin-bottom: 6px;
}

.eco-price-old {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
}

.eco-price-new {
    color: #2d5cff;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.05;
}

.ship-item{
    position: relative;
    overflow: visible !important;
    z-index: 1;
}

.eco-oferta-badge{
    z-index: 10;
    text-transform: uppercase;
}

/* ==============================
   🔥 POPUP CARRITO FINAL PRO
============================== */

#eco-cart-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
}

/* CONTENEDOR */
.eco-cart-popup-content {
    background: #fff;
    border-radius: 24px;
    padding: 40px 30px;
    width: 90%;
    max-width: 700px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* CERRAR */
.eco-popup-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 22px;
    cursor: pointer;
    color: #999;
}

/* TEXTO */
.eco-cart-popup-text h3 {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 1.3;
}

/* GIF */
.eco-popup-image img {
    width: 280px;   /* 🔥 más grande */
    max-width: 100%;
    margin: 10px auto 30px;
    display: block;
}

/* BOTONES */
.eco-popup-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* CONTINUAR */
.eco-popup-continue {
    flex: 1;
    max-width: 260px;
    border: 2px solid #000;
    border-radius: 16px;
    padding: 14px;
    text-decoration: none;
    color: #5a9ff9 !important;
    font-size: 15px !important;
    font-weight: 600;
    background: #fff;
    text-align: center;
}

/* IR AL CARRITO */
.eco-popup-cart {
    flex: 1;
    max-width: 300px;
    background: #5a9ff9;
    color: #ffffff !important;
    border-radius: 16px;
    padding: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
}

/* ICONO CARRITO */
.eco-popup-cart img {
    width: 22px;
    filter: brightness(0) invert(1);
}

#eco-cart-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);

    display: none;
    align-items: center;
    justify-content: center;

    z-index: 9999999; /* 🔥 más alto aún */
}

/* 🔥 evitar “huecos” por scroll */
body.eco-popup-open {
    overflow: hidden;
}