/**
 * 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__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#module-jwishlist-list .customer-wishlist__title .name {
    color: var(--adn-content-first);
}

#module-jwishlist-list .customer-wishlist__details {
    display: flex;
    justify-content: space-between;
}

#module-jwishlist-list .customer-wishlist__details > div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#module-jwishlist-list .customer-wishlist__details small {
    color: var(--adn-content-second);
}

#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-link {
    display: block;
    font-weight: 600;
    text-decoration: underline;
}

#module-jwishlist-view .product-price {
    color: var(--adn-content-first);
}

#module-jwishlist-view .product-description-short {
    margin-top: 0.3rem;
    font-size: 0.875rem;
}

#module-jwishlist-view .product-description-short p {
    font-size: inherit;
}

#module-jwishlist-view .product-description-short p:last-child {
    margin-bottom: 0;
}

#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 {
    font-weight: 600;
}

#module-jwishlist-view .quantity {
    display: flex;
    align-items: center;
}

#module-jwishlist-view .quantity .minus-quantity,
#module-jwishlist-view .quantity .plus-quantity {
    border: 1px solid;
    background-color: #fff;
    width: 2rem;
    height: 2rem;
}

#module-jwishlist-view .quantity .minus-quantity {
    border-radius: 5px 0 0 5px;
}

#module-jwishlist-view .quantity .plus-quantity {
    border-radius: 0 5px 5px 0;
}

#module-jwishlist-view .quantity input {
    border: 1px solid #ddd;
    height: 2rem;
    width: 2rem;
    text-align: center;
}

.open_wishlist_form i:hover {
    opacity: 0.7;
}

.wishlist-add-product-form-wrapper {
    display: flex;
}

.wishlist-add-product-form {
    position: relative;
    padding: 0;
    flex: 1;
    /* overflow: hidden; */
}

.wishlist-add-product-form.autocomplete-search {
    max-width: 100%;
}

.wishlist-add-product-form__icon {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    color: var(--adn-action);
    font-size: 1.3rem;
}

.wishlist-add-product-form__btn {
    margin-left: 0.5rem;
}

.wishlist-sortable-products-table thead th {
    border-top: none;
    border-bottom: none;
}

.wishlist-sortable-products-table td {
    vertical-align: middle;
}

.wishlist-sortable-products-table  .wishlist-sortable-products-table__td-sm {
    width: 20px;
}

.wishlist-sortable-products-table  .wishlist-sortable-products-table__td-lg {
    width: 50%;
}

.wishlist-sortable-products-table  .wishlist-sortable-products-table__td-grab,
.wishlist-sortable-products-mobile .wishlist-sortable-products-mobile__grab {
    cursor: grab;
    font-size: 1.5rem;
}

.wishlist-sortable-products-mobile__item {
    display: flex;
    align-items: center;
    border-top: 1px solid #d0d5dc;
    padding: 1rem 0.5rem;
}

.wishlist-sortable-products-mobile__item:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, .05);
}

.wishlist-sortable-products-mobile__grab {
    margin-right: 1rem;
}

.wishlist-sortable-products-mobile__content {
    flex: 1;
}

.wishlist-sortable-products-mobile__heading {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.wishlist-sortable-products-mobile__2cols {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.wishlist-sortable-products-mobile__2cols > div {
    flex-basis: 50%;
}

.wishlist-add-product-form .select2-container {
    width: 100% !important;
}

/* .wishlist-add-product-form .select2-selection {
    border: none !important;
    background: transparent !important;
} */

.wishlist-sortable-products-table__customization {
    font-size: 0.8rem;
}

@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%);
    }

    .wishlist-add-product-form-wrapper {
        display: block;
    }

    .wishlist-add-product-form__btn {
        margin: .5rem 0 0 0;
        width: 100%;
    }
}

@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;
    }
}
