.store-cart .icon-cart{
    margin: 0.3rem;
    width: 40px;
    height: 40px;
    stroke: #ffffff;
}
.store-cart .icon-cart:hover{
    cursor: pointer;
}

.store-cart{
    position: relative;
}
.store-cart .count-products{
    position: absolute;
    top: 55%;
    right: 0;
    background-color: #ffffff;
    color: #000000;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}
.store-cart #contador-productos{
    font-size: 12px;
}
.store-cart .container-cart-products{
    position: absolute;
    top: 50px;
    right: 0;
    background-color: #ffffff;
    max-width: 400px;
    width: min(92vw, 400px);
    z-index: 1;
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    max-height: min(600px, var(--cart-available-height, 65dvh));
    overflow: hidden;
}
.store-cart .container-cart-products .row-product{
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    scrollbar-color: #1565c0 #edf3fa;
}
.store-cart .container-cart-products .cart-total,
.store-cart .container-cart-products .cart-empty{flex-shrink:0}
.store-cart .cart-payment-switch{display:flex;align-items:center;justify-content:center;gap:8px;position:relative;width:100%;font-family:Poppins,Arial,sans-serif;font-size:11px;line-height:1.3;color:#15345b;cursor:pointer}
.store-cart .cart-payment-switch input{position:absolute;width:1px;height:1px;opacity:0}
.store-cart .switch-track{position:relative;flex:0 0 38px;width:38px;height:22px;border-radius:20px;background:#1565c0}
.store-cart .switch-track::before{content:"";position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform .15s}
.store-cart .cart-payment-switch input:checked + .switch-track::before{transform:translateX(16px)}
.store-cart .cart-payment-switch input:focus-visible + .switch-track{outline:3px solid #90caf9;outline-offset:3px}
.store-cart .cart-total-line{display:flex;align-items:center;justify-content:space-between;width:100%;gap:12px}
.store-cart .cart-product{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    gap: 12px;

    border-bottom: 1px solid rgba(0, 0, 0, 0.20);

}
.store-cart .info-cart-product{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    flex: 1;
    min-width: 0;
}
.store-cart .titulo-producto-carrito{
    font-size: 13px;
    line-height: 1.35;
    margin: 0;
    overflow-wrap: anywhere;
}
.store-cart .precio-producto-carrito{
    font-weight: 700;
    font-size: 15px;
}
.store-cart .cantidad-producto-carrito{
    font-weight: 600;
    font-size: 14px;
    min-width: 28px;
    text-align: center;
}
.store-cart .cart-quantity{display:flex;align-items:center;gap:6px}.store-cart .quantity-button,.store-cart .remove-cart-item{display:grid;place-items:center;border:1px solid #c9c9c9;background:#fff;color:#15345b;cursor:pointer}.store-cart .quantity-button{width:30px;height:30px;border-radius:6px;font-size:18px;line-height:1}.store-cart .quantity-button:hover:not(:disabled){background:#e3f2fd;border-color:#1565c0}.store-cart .quantity-button:disabled{opacity:.45;cursor:not-allowed}.store-cart .remove-cart-item{width:30px;height:30px;border:0;border-radius:50%;font-size:24px;line-height:1;flex-shrink:0}.store-cart .remove-cart-item:hover{background:#fee2e2;color:#b91c1c}.store-cart .quantity-button:focus-visible,.store-cart .remove-cart-item:focus-visible{outline:3px solid #90caf9;outline-offset:2px}
.store-cart .icon-close{
    width: 25px;
    height: 25px;
}
.store-cart .icon-close:hover{
    stroke: red;
    cursor: pointer;
}
.store-cart .cart-total{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 16px 18px;
    gap: 14px;
}
.store-cart .cart-total h3{
    padding: 0;
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}
.store-cart .total-pagar{
    font-size: 20px;
    font-weight: 900;
}
.store-cart .hidden-cart{
    display: none;
}

@media (max-width:480px){.store-cart .container-cart-products{width:min(92vw,400px)}.store-cart .cart-product{padding:14px}.store-cart .titulo-producto-carrito{font-size:12px}}
.store-cart .cart-empty{
    padding: 20px;
    text-align: center;
}


.store-cart .btn-buy{
    border: none;
    background: none;
    font-family: 'Poppins', sans-serif;
    background-color: #1565c0;
    color: rgb(255, 255, 255);
    padding: 15px 10px;
    cursor: pointer;
    width: 100%;
    margin: 0;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}
.store-cart .btn-buy:hover:not(:disabled){background-color:#15345b}
.store-cart .btn-buy:disabled{opacity:.5;cursor:not-allowed}

@media (max-width: 760px){
    .store-cart{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
    }
    .store-cart .container-cart-icon{
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .store-cart .icon-cart{
        width: 32px;
        height: 32px;
        margin: 0;
    }
    .store-cart .count-products{
        top: 21px;
        right: -3px;
        width: 21px;
        height: 21px;
    }
    .store-cart #contador-productos{
        font-size: 10px;
    }
}
.store-cart {font-family:Poppins,Arial,sans-serif;line-height:normal;color:#000}
.store-cart *, .store-cart *::before, .store-cart *::after {box-sizing:border-box}
.store-cart .container-cart-icon {position:relative;display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:0;padding:0;background:transparent;color:inherit;font:inherit;cursor:pointer}
.store-cart .container-cart-icon:focus-visible {outline:3px solid #90caf9;outline-offset:2px;border-radius:6px}
.store-cart .container-cart-products {color:#000}
.store-cart .cart-status {margin:0;padding:18px;color:#9f1239;font-size:13px;line-height:1.5}
.store-cart .hidden, .store-cart [hidden] {display:none}
