.wishlist-modal {
    display: block;
    opacity: 0;
    pointer-events: none;
    z-index: 0
}

.wishlist-modal.show {
    opacity: 1;
    pointer-events: all;
    z-index: 1051
}

.wishlist-modal.show+.modal-backdrop {
    pointer-events: all
}

.wishlist-modal.fade .modal-dialog {
    max-width: 380px;
    -webkit-transform: translateY(0);
    transform: translateY(0)
}

.wishlist-modal .close {
    font-weight: 400;
    color: #7a7a7a;
    opacity: 1;
    font-size: 2.25rem !important;
}

.wishlist-modal .close:hover {
    opacity: 0.6
}

.wishlist-modal .modal-header {

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border: none;
    margin-bottom: 20px;
}

.wishlist-modal .modal-header h5 {
    width: 100%;
    display: block;
    color: #232323;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 30px;
    text-align: center;
}

.wishlist-modal .modal-header::after {
    content: none
}

.wishlist-modal .modal-text {
    color: #232323;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 19px;
    text-align: center;
}

.wishlist-modal .modal-body {
    display: inline-block;
    width: 100%;
    text-align: center;
}

.wishlist-modal .modal-body .form-group {
    margin-bottom: 0
}

.wishlist-modal .modal-body .form-group .form-control {
    width: 100%;
    max-width: 100%;
    background: none;
    color: black;
}

.wishlist-modal .modal-content {
    width: 100%
}

.wishlist-modal .modal-cancel {
    color: black;
}

.wishlist-modal .modal-cancel:hover {
    opacity: 0.7
}

.wishlist-modal .modal-footer {
    padding: 12px 30px;
    border: none;
    padding-bottom: 30px;
    text-align: center;
    width: 100%;
}

.wishlist-modal .modal-footer .btn {
    text-transform: none;
    margin: 0;
    margin-bottom: 5px;
    width: auto !important;
    padding: 0 30px !important;
    min-width: auto !important;
    margin-right: 1rem;
}

.wishlist-modal .modal-backdrop {
    pointer-events: none
}

.wishlist-modal .modal-backdrop.in {
    pointer-events: all
}

.wishlist-modal+.modal-backdrop {
    pointer-events: none
}

.wishlist-modal+.modal-backdrop.in {
    pointer-events: all
}

.products article .wishlist-button-add {
    height: auto;
    display: inline-block;
    width: auto;
    overflow: hidden;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
    padding: 0;
    box-shadow: none;
    border: 0;
}

.wishlist-button-add {
    box-shadow: none !important;
    cursor: pointer;
}


.wishlist-footer-links {
    margin-top: 15px;
    margin-bottom: 50px;
    padding: 0 8px;
}

.wishlist-footer-links>a {
    /* color: #2fb5d2; */
    font-size: 14px;
    letter-spacing: 0;
    line-height: 19px;
    padding: 1rem 2rem;
    background: #000;
    color: #fff;
    border-radius: 5px;
    transition: background-color 0.4s;
}
.wishlist-footer-links>a:hover {
    background: #0080c8;
}

.wishlist-footer-links>a:not(:first-child) {
    margin-left: 20px
}

.wishlist-footer-links>a i {
    display: none;
}


.wishlist-button-add i {
    text-indent: 3px;
    font-size: 1.9rem;
    color: #000 !important;
    margin-top: 2px;
}

.wishlist-list-item {
    background: white;
    border-radius: 0;
    margin-bottom: 5px;
    
}
.wishlist-list-item:last-of-type {
margin-bottom: 0;
    
}

.wishlist-list-item p {
    padding: 0 !important;
}

.wishlist-list {
    overflow-y: auto !important;

}

.wishlist-modal .modal-footer {
    padding: 0 !important;
    margin-top: 10px !important;
}
.wishlist-add-to-new {
    color: #0080c8 !important;
}
.wishlist-modal .wishlist-add-to-new {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: auto !important;
}
.wishlist-modal .wishlist-list-item:hover {
    background: #f5f5f5 !important;
}
.wishlist-list-item-default {
    border-bottom: none !important;
}
.product-add-to-cart .wishlist-button-product {
    width: auto;
    box-shadow: none;
    height: 46px;
    padding: 0 14px;
    color: white;
    border: none;
    font-weight: 600;
    transition: all 0.2s;
    margin-left: 5px;
    transform: scale(1) !important;

}

@media (max-width:399px) {
    .product-add-to-cart .wishlist-button-product {
        height: 37px;
    }
}

.product-add-to-cart .wishlist-button-product i {
    margin: 0;
    color: white;
    border: none;
}

#module-blockwishlist-lists .wishlist-container {}

.wishlist-products-container {
    padding: 8px;
    margin-top: 2rem;
}

.wishlist-products-list {
    /* display: flex;
    flex-wrap: wrap; */
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin: 0 auto;
}
@media (min-width: 1900px) {
    .wishlist-products-list {
        grid-template-columns: repeat(6, 1fr);
    }
}
@media (min-width: 3000px) {
    .wishlist-products-list {
        grid-template-columns: repeat(8, 1fr);
    }
}


@media (max-width: 1349px) {
    .wishlist-products-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1079px) {
    .wishlist-products-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 849px) {
    .wishlist-products-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 549px) {
    .wishlist-products-list {
        grid-template-columns: 1fr;
    }
}

.wishlist-list-container {
    /* background: white; */
    border-radius: 5px;
}

.wishlist-products-list>li {
    /* width: 20%; */
    padding: 3px;
    text-align: center;
}

.wishlist-products-list>li .wishlist-product {
    position: relative;
    border-radius: 5px;
    padding: 5px;
    background: white;
    max-width: 100%;
}

.wishlist-product-combinations a {
    display: none !important;
}

.wishlist-product-image {
    width: 100%;
    height: auto;
    margin: auto;
}

.wishlist-products-list>li .wishlist-product img {
    width: 100%;
}

.wishlist-product-bottom {
    margin-bottom: 15px;
    margin-top: 15px;
}

.wishlist-product-title {
    color: black !important;
    font-size: 16px !important;
    transition: color 0.4s !important;
}
.wishlist-product-title:hover {
    color: #0080c8 !important;
}

/* UKRYCIE ROZMIARU KOMBINACJI  */
.wishlist-product-combinations-text {
    display: none;
}


@media screen and (max-width: 768px) {
    .wishlist-product-image {
        width: 200px !important;
        height: 200px !important;
        margin-right: auto !important;
    }

    .wishlist-product-link {
        flex-direction: column;
    }

    .wishlist-product-bottom {
        justify-content: center !important;
    }


    .btn.wishlist-product-addtocart.btn-primary {
        padding: 10px 20px !important;
    }


    .wishlist-button-add {
        margin-left: -10px !important;
    }

    .wishlist-product {
        position: relative;
        height: 100%;
        display: flex;
    }

    .wishlist-product-right {
        margin: auto;
    }

    .wishlist-product-availability {
        margin-top: -5px !important;
    }
}

.wishlist-product-addtocart i {
    margin-left: 0;
}

@media (max-width: 768px) {
    .wishlist-products-item {

        margin-bottom: 0 !important;
        border-radius: 5px;
    }

    .wishlist-products-container .page-content.card {
        box-shadow: none !important;
        background-color: transparent !important;
    }

    .wishlist-product-availability {
        position: absolute !important;
        top: 20px !important;
    }

    .wishlist-products-item:not(:last-child) {
        margin-bottom: 0px !important;
    }

    .wishlist-products-container .wishlist-products-list {
        padding: 0 !important;
    }

    .wishlist-container .page-content.card {
        box-shadow: none !important;
        background-color: transparent !important;
    }

}

.wishlist-products-container-header h1 {
    margin: 1rem 0;
}

.wishlist-list-item-right {
    display: flex !important;
}

.wishlist-container-header h1 {
    margin: 0 !important;
    font-size: 18px;
}

.wishlist-list-item-right .dropdown-menu {
    position: absolute !important;
    min-width: 160px !important;
    z-index: 2;
}

.wishlist-list-item-right .dropdown-menu button {
    border-radius: 0;
}

.wishlist-list-item-link {
    padding: 10px 20px !important;
}

.wishlist-list-item-title {
    font-weight: normal !important;
}

.product-additional-special-icons .wishlist-button-add {
        margin-left: 0 !important;  
}

.wishlist-chooselist .wishlist-list-item {
        padding-left: 1rem;       
}

.wishlist-list-item:hover .wishlist-list-item-title {
    color: #0080c8 !important;
}
.wishlist-chooselist {
    margin: 1rem 0 2rem 0;
    }

    .modal-body .wishlist-list-item:hover {
        background: #31b502 !important;
    }
    .modal-body .wishlist-list-item:hover p{
        color: #fff !important;
    }
    .modal-body .wishlist-list-item{
        text-align: left;
        position: relative;
    }
    .modal-body .wishlist-list-item::after{
        position: absolute;
        color: #31b502;
        top: 11px;
        right: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        content: '+';
        width: 20px;
        height: 20px;
        font-size: 2rem;
    }
    .modal-body .wishlist-list-item:hover::after{
 
        color: #fff;
      
    }
    .wishlist-modal .modal-footer .wishlist-add-to-new {
        padding: 1rem 2rem !important;
        color:#fff !important;    
        border: none;
        background: #000;
        border-radius: 5px;
    }
    .wishlist-modal .modal-footer .wishlist-add-to-new:hover {
        background: #0080c8 !important;
        color:#fff !important;    
        opacity: 1 !important;
    }