.cart-wrapper {
    color: var(--color-primary-blue);
}
/*.cart-message {
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 20%;
    max-width: 1100px;
    display: none;
    color: #fff;
    background-color: var(--color-primary-blue);
    text-align: center;
    padding: 14px 24px;
    z-index: 9999;
    font-size: 14px;
    border-radius: 20px;
    box-shadow: 4px 4px 14px 0 #ccc;
}*/

.cart-message {
    position: fixed;
    top: 120px;
    border-radius: 20px;
    background: #d3fffb;
    border: 1px solid #009688;
    color: #009688;
    font-size: 20px;
    left: unset;
    right: 0;
    box-shadow: none;
    /* width: 100%; */
    padding: 7px 16px;
    z-index: 9999;
    text-align: center;
}

.cart-message-failed {
    background-color: red;
    box-shadow: 4px 4px 14px 0 #ccc;
    color: #fff;
    border: 1px solid red;
}

.container-cart {
    position: relative
}

.cart-modal {
    display:none;
    position:absolute;
    min-width: 320px;
    max-width: 320px;
    top: 40px;
    right:-45px;
    background-color: #FFFFFF;
    //box-shadow: 4px 4px 14px 0 #ccc;
    padding: 20px;
    font-size: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 1000;
}

.cart-modal::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 45px;
    width: 16px;
    height: 16px;
    background: #fff;
    transform: rotate(45deg);
    border-top: 1px solid #e5e5e5;
    border-left: 1px solid #e5e5e5;
}

.cart-modal-products-wrapper {
    display: flex;
    width: 100%;
    margin: 0 auto;
    justify-content: center;
    flex-direction: column;
    row-gap: 15px;
}

.cart-modal-header {
    background: #fff;
    font-size: 16px;
}

.cart-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cart-title-row h3, .cart-price {
    font-weight: bold;
    margin: 0;
}

.shopping-cart-view .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background-color: var(--color-primary-blue);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    width: 100%;
}

.cart-arrow {
    width: 12px;
    height: 12px;
    filter: brightness(0) invert(1);
    display: inline-block;
}

.shopping-cart-view {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.remove-from-cart-modal {
    color: #c0392b;
    cursor: pointer;
    font-size: 13px;
}

.shopping-cart-view a {
    text-decoration: none;
}

.remove-from-cart-modal:hover, .shopping-cart-view a:hover {
    cursor: pointer;
}

.empty-cart-modal {
    text-align: center;
}

.product-modal {
    display: flex;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
    gap: 12px;
}

.product-img-modal {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-modal img {
    max-width: 100%;
    height: auto;
}

.product-details-modal {
    display: flex;
    flex-grow: 1;
    justify-content: space-between;
    align-items: flex-end;
}

.product-title-modal {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.product-meta-modal {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
}

/* Icons Section */
.product-actions-modal {
    display: flex;
    gap: 15px;
}

.product-actions-modal img {
    width: 20px;
    height: 20px;
    cursor: pointer;
    object-fit: contain;
}

.action-btn-modal {
    color: #aaa;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.2s;
    text-decoration: none;
}

.action-btn-modal:hover {
    color: #333;
}

.custom-icon-modal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: grey;
}

.display-none { display: none !important; }
.display-block { display: block !important; }

/* START MEDIA QUERY */
@media (max-width: 600px) {

    .cart-modal-products-wrapper .product-modal {
        column-gap: 5px;
    }
}

@media (max-width: 450px) {
    .cart-modal {
        min-width: 250px;
        max-width: 250px;
    }

    .shopping-cart-view .btn {
        padding: 10px 2px;
    }
}



/* END MEDIA QUERY */