/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    JA Modules <info@jamodules.com>
 * @copyright Since 2007 JA Modules
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
 */

#header .header-nav .wishlist-top {
    background: none;
    padding: .75rem 0px;
    margin-left: .9375rem;
    min-width: 128px;
    text-align: right;
}

.wishlist_button {
    margin-top: 25px;
}

.submitAddWishlist, .submitSelectWishlist {
    margin-top: 29px;
}

.wishlist-forms {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px;
}

.wishlist-select {
    width: 50%;
    padding: 15px;
    min-height: 140px;
    border: 1px solid #dadada;
    background-color: #f6f6f6;
}

.wishlist-select-form, .wishlist-add-form {
    display: flex;
    flex-direction: row;
}

.wishlist-add {
    width: 50%;
    padding: 15px;
    min-height: 140px;
    border: 1px solid #dadada;
    background-color: #f6f6f6;
}

select#id_customer_wishlist {
    max-width: 100%;
}

.wishlist-suggestions {
    width: 100%;
    float: left;
}

.wishlist-suggestions p {
    margin-bottom: 2px;
}

.wishlist-suggestions button {
    margin-right: 4px;
    margin-bottom: 8px;
}

#formAddWishlist label {
    text-align: left;
}

ul.product-flags li.wishlist {
    right: 10px;
    margin-top: 10px !important;
    background: none;
    box-shadow: none;
    position: absolute;
}

/*.product-miniature ul.product-flags li.wishlist {
    margin-top: 0rem !important;
}*/

ul.product-flags li.wishlist a {
    color: #2fb5d2;
    text-decoration: none;
}

ul.product-flags li.wishlist i {
    font-size: 40px;
}

.product-flag-wishlist {
    /*right: 7px;
    background: none;
    box-shadow: none;
    position: absolute;
    bottom: 275px;*/
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.product-miniature .product-flag-wishlist {
    margin-top: 0rem !important;
}

.product-flag-wishlist a {
    color: #2fb5d2;
    text-decoration: none;
}

.product-flag-wishlist i {
    font-size: 40px;
}

.product-additional-info .open_wishlist_form,
.product-additional-info .nopen_wishlist_form {
    margin-top: 1rem;
}

/*list*/
.jwishlist_breadcrumb {
    margin-bottom: 15px;
}

.jwishlist_breadcrumb a {
    color: #232323;
}

.customer-wishlist .btn-list {
    box-shadow: none;
    text-transform: none;
    font-weight: normal;
    font-size: 11px;
    padding: 3px 5px;
    margin-bottom: 5px;
}

#module-jwishlist-list .buttons-container .btn-secondary {
    background-color: #6c757d;
    color: #ffffff;
}

.share-link-copied {
    display: none;
}

.customer-wishlist .btn-list i {
    font-weight: normal;
    font-size: 17px;
    margin-right: 10px;
}

ul.footer_links {
    border-top: 1px solid #d6d4d4;
    float: left;
    height: 65px;
    padding: 20px 0 0;
    margin-top: 15px;
    width: 100%;
}

.wishlist-products-mobile input.quantity-selected {
    text-align: center;
}

.wishlist-products-mobile small.dropped {
    font-style: italic;
    color: #ff4c4c;
}

.wishlist-products-mobile small.date_add {
    font-style: italic;
}

#module-jwishlist-view .modal-header .close,
#module-jwishlist-list .modal-header .close {
    margin-top: -25px;
}

#module-jwishlist-list .customer-wishlist {
    padding: 10px;
    background: #f6f6f6;
    margin-bottom: 20px;
}

#module-jwishlist-list .customer-wishlist .card-header {
    border-bottom: 1px solid #f6f6f6;
}

#module-jwishlist-list .customer-wishlist .card-body {
    padding: 10px 15px;
}

#module-jwishlist-list .customer-wishlist .card-footer {
    border-top: 1px solid #f6f6f6;
}

/*.buttons-container {
    margin-top: 15px;
}*/

.wishlist_form .modal-header .close {
    margin-top: -25px;
}

#module-jwishlist-view .wishlist-products-mobile {
    display: flex;
    flex-direction: column;
}

#module-jwishlist-view .wishlist-products-mobile .buttons-container {
    justify-content: left;
    display: flex;
    gap: 7px;
    margin-top: 10px;
}

#module-jwishlist-view .flex-product {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

#module-jwishlist-view .product-mobile {
    background-color: #ffffff;
    padding: 15px;
    border-bottom: 2px solid #f6f6f6;
}

#module-jwishlist-view .product-box {
    flex: 0 1 calc(5%);
}

#module-jwishlist-view .product-image {
    flex: 0 1 calc(10%);
}

#module-jwishlist-view .product-name {
    flex: 0 1 calc(50%);
}

#module-jwishlist-view .price, #module-jwishlist-view .total {
    flex: 0 1 calc(15%);
    text-align: right;
}

#module-jwishlist-view .total-whislist {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

#module-jwishlist-view .total-whislist .item {
    font-weight: bold;
    background-color: #ffffff;
    padding: 10px;
    flex: 0 1 calc(50%);
}

#module-jwishlist-view #total_wishlist {
    text-align: right;
}

.open_wishlist_form i:hover {
    opacity: 0.7;
}

@media only screen and (max-width:767px) {
    .wishlist_form h2 {
        font-size: 16px;
    }
    
    .wishlist-select, .wishlist-add {
        width: 100%;
        margin-bottom: 10px;
    }

    .submitAddWishlist, .submitSelectWishlist {
        padding: .5rem 1rem;
    }
    
    .submitAddWishlist span, .submitSelectWishlist span {
        font-size: 13px;
    }
    
    .mobile-hidden {
        display: none;
    }

    #module-jwishlist-list .customer-wishlist {
        background: #ffffff;
    }

    #module-jwishlist-view .product-box {
        flex: 0 1 calc(5%);
    }

    #module-jwishlist-view .product-image {
        flex: 0 1 calc(15%);
    }

    #module-jwishlist-view .product-name {
        flex: 0 1 calc(75%);
    }

    #module-jwishlist-view .total {
        padding-top: 10px;
        border-top: 1px solid #dadada;
        margin-top: 10px;
        flex: 0 1 calc(50%);
    }

    #module-jwishlist-view .price {
        padding-top: 10px;
        border-top: 1px solid #dadada;
        margin-top: 10px;
        flex: 0 1 calc(50%);
    }
}

@media only screen and (max-width:480px) {
    #module-jwishlist-view .product-box {
        flex: 0 1 calc(5%);
    }

    #module-jwishlist-view .product-image {
        flex: 0 1 calc(90%);
        text-align: center;
        margin-bottom: 15px;
    }

    #module-jwishlist-view .product-name {
        flex: 0 1 calc(100%);
        text-align: center;
    }

    #module-jwishlist-view .total {
        padding-top: 10px;
        border-top: 1px solid #dadada;
        margin-top: 10px;
        flex: 0 1 calc(50%);
    }

    #module-jwishlist-view .price {
        padding-top: 10px;
        border-top: 1px solid #dadada;
        margin-top: 10px;
        flex: 0 1 calc(50%);
    }
}
