/**
 * 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 version 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.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
 */
.wishlist-modal {
  display: none !important;
  opacity: 0;
  pointer-events: none;
  z-index: 0
}

.wishlist-modal.show {
  display: block !important;
  pointer-events: all;
  z-index: 1051
}

.wishlist-modal.show+.modal-backdrop {
  pointer-events: all
}

.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
}

.sort-by-row,
.wishlist-footer-links,
.wishlist-product-bottom,
.wishlist-product-combinations,
.wishlist-container .material-icons {
  display: none !important;
}

.wishlist-list-item-default {
  border: none !important;
}

.wishlist-add-to-new {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 5px;
  padding: 8px 18px;
  font-weight: var(--ed-weight-bold);
  background-color: var(--ed-vertsauge) !important;
  border-color: var(--ed-vertsauge) !important;
  border-radius: 100px;
}

.wishlist-list-item &+.wishlist-list-item {
  margin-top: 10px;
}

.wishlist-list-item-link {
  min-height: 74px;
  padding: 15px 22px;
  margin: 0;
  background: #FCF3E6;
  border: 0;
  border-radius: 10px;margin-bottom: 15px;
}

.wishlist-list-item:hover .wishlist-list-item-title {
  color: var(--ed-navy) !important;
}

.wishlist-list-item-title {
  color: var(--ed-navy);
  font-size: 1rem;
  font-weight: var(--ed-weight-bold);
}

.wishlist-list-item-right>button i {
  color: var(--ed-navy);
}

.wishlist-products-container-header {
  align-items: flex-start;
}

.wishlist-products-count {
  color: var(--ed-outer-space);
  font-size: 0.875rem;
}

.wishlist-products-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0 !important;
  margin: 0 !important;
}

.wishlist-products-item {
  min-width: 0;
  padding: 14px;
  margin: 0 !important;
  background: #f4faff;
  border-radius: 10px;
}

.wishlist-product-title {
  color: var(--ed-outer-space) !important;
  font-size: 0.875rem !important;
  font-weight: var(--ed-weight-semibold);
  line-height: 1.4 !important;
}

@media (max-width: 991.98px) {

  .wishlist-container .page-content.card,
  .wishlist-products-container .page-content.card {
    padding: 20px !important;
  }

  :is(#module-blockwishlist-view, #view) .wishlist-products-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {

  .wishlist-container-header h1,
  .wishlist-products-container-header h1 {
    font-size: 1.25rem;
  }
}

@media (max-width: 767.98px) {


  .wishlist-container-header,
  .wishlist-products-container-header {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
  }

  .wishlist-add-to-new {
    min-height: 38px;
    padding: 7px 15px;
    font-size: 0.75rem;
  }

  .wishlist-container .page-content.card,
  .wishlist-products-container .page-content.card {
    padding: 0 !important;
    background: transparent;
    box-shadow: none;
  }

  .wishlist-list-item-link {
    min-height: 65px;
    padding: 12px 15px;
  }

  .wishlist-products-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wishlist-products-item {
    width: 100%;
    padding: 12px;
    margin: 0;
  }

  .wishlist-product-link {
    align-items: center;
  }

  .wishlist-product-image {
    width: 96px;
    height: 96px;
    flex: 0 0 96px;
    margin-right: 14px;
  }
}
