/* Items */

.product-cart {
    border: 1px solid rgb(221, 218, 218);
    border-radius: 12px;
    background: white;
    padding: 10px;
    margin: 5px 4px;
    max-width: 340px;
}

.product-cart.custom-width {
    max-width: unset !important;
    margin: unset !important;
    margin-bottom: 8px !important;
}

@media (max-width: 500px) {
    .product-cart {
        max-width: 350px !important;
    }
}

.product-cart-payment {
    border: 1px solid rgb(223, 223, 223);
    border-radius: 12px;
    background: white;
    padding: 6px;
    margin: 5px 4px;
    width: 100%;
}

.product-cart-secure-payment {
    border: 1px solid rgb(223, 223, 223);
    border-radius: 12px;
    background: white;
    padding: 6px;
    margin: 5px 4px;
    width: 100%;
}


@media (min-width: 831px) {
    .product-cart-payment {
        width: 49%;
    }
}

.product-cart-row {
    text-align: left;
    display: inline-block;
    vertical-align: top;
    width: 100%;
    display: flex;
    align-items: flex-start;
}

.product-image-cart {
    margin-right: 10px;
}

.product-image-cart img {
    border-radius: 12px;
    max-width: 200px;
}

.product-image-cart.custom img {
    max-width: 100px !important;
}

@media (max-width: 450px) {
    .product-image-cart img {
        max-width: 160px;
    }

    .product-image-cart.custom img {
        max-width: 100px !important;
    }
}

.truncate-3-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


.product-info-cart {
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-info-cart h3 {
    color: #000;
    font-size: 14px;
    margin: 5px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 42px;
    line-height: 21px;
    font-weight: 600;
}

.add-to-cart {
    border: none;
    border-radius: 12px;
    background-color: white;
    padding: 0px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    transition: background-color 0.3s;
    margin-left: 2px;
    height: 35px;
    width: 35px;
}

.remove-to-cart {
    border: none;
    border-radius: 12px;
    background-color: white;
    padding: 0px;
    cursor: pointer;
    font-weight: bold;
    font-size: 12px;
    transition: background-color 0.3s;
    margin-left: 2px;
    height: 35px;
    width: 35px;
}

.add-to-cart:hover {
    transform: scale(1.05);
}

.remove-to-cart:hover {
    transform: scale(1.05);
}

.add-to-cart-mini {
    border: 1px solid black;
    border-radius: 12px;
    background-color: white;
    padding: 0px;
    cursor: pointer;
    font-weight: bold;
    font-size: 10px;
    transition: background-color 0.3s;
    margin-left: 2px;
    height: 20px;
    width: 20px;
}

.remove-to-cart-mini {
    border: 1px solid black;
    border-radius: 12px;
    background-color: white;
    padding: 0px;
    cursor: pointer;
    font-weight: bold;
    font-size: 10px;
    transition: background-color 0.3s;
    margin-left: 2px;
    height: 20px;
    width: 20px;
}

.add-to-cart-mini:hover {
    transform: scale(1.05);
}

.remove-to-cart-mini:hover {
    transform: scale(1.05);
}

/* Estilo para la sección de comentarios */

.edit-comments {
    border: none;
    border-radius: 6px;
    background-color: white;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 10px;
    font-weight: bold;
}

.delete-item {
    border: none;
    border-radius: 6px;
    background-color: white;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 10px;
    font-weight: bold;
}

.save-comments {
    border: none;
    border-radius: 6px;
    background: white;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 10px;
    font-weight: bold;
}

.comments-section {
    text-align: left;
    background-color: #f0f0f0;
    padding: 6px;
    margin-top: 5px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.comments-text {
    font-weight: bold;
    font-size: 10px;
    margin: 0;
}

.comments-content {
    color: #555;
    font-size: 10px;
    margin: 0;
}

.checkout-button {
    display: flex;
    background-color: green;
    border-radius: 16px;
    width: 98%;
    margin-bottom: 60px;
}

.process-payment {
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 12px;
    color: green;
    background-color: white;
    padding: 0px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    transition: background-color 0.3s;
    margin-left: 2px;
    padding: 8px 16px;
}

@media (min-width: 1200px) {
    .process-payment {
        padding: 16px 32px;
    }

    .checkout-button {
        margin-left: 275px;
        margin-right: 25px;
        width: auto;
        margin-bottom: 25px;
    }
}