.page-layout-3columns .column.main {
    width: 100%!important;
}

.wishlist-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.wishlist-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
    gap: 20px;
}

.wishlist-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px;
    text-align: center;
}

.wishlist-item-image img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    max-height: 114px;
    min-height: 114px;
}

.wishlist-item-details {
    padding: 10px 0;
}

.wishlist-item-name a {
    color: #1f1f1f;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}
.wishlist-item-name{min-height:50px}

.wishlist-item-name a:hover {
    text-decoration: underline;
}

.wishlist-item-price {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.wishlist-item-actions .action {
    display: inline-block;
    padding: 8px 12px;
    margin: 5px 0;
    text-decoration: none;
    color: #fff;
    border-radius: 3px;
    width: 45%;
    min-width: 145px;
    min-height: 39px;
    max-height: 39px;
}

.wishlist-item-actions .remove-wishlist {
    background-color: grey;
}
.wishlist-item-actions .remove-wishlist:hover{color:#fff}

.wishlist-item-actions .tocart {
    background-color: #00224A;
}
.wishlist-item-actions .tocart:hover{
    color:#eeb423;
    opacity: 1;
}

.wishlist-item-actions .action:hover {
    opacity: 0.9;
}

.notloggedin {
    display: block;
}

body.customer .notloggedin {
    displa y: none !important;
}

body:not(.customer) .towishlist {
    displa y: none !important;
}

@media all and (min-width: 992px), print {
        .page-layout-3columns .column.main {
            width: 100%;
        }
        .wishlist-grid{    grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));}
    }