/* 
 * file: /assets/modulos/wishlist/wishlist.css
 */
#wishModal .modal-header .close{
  margin-top: 0.5rem;
    height: 35px;
    width: 35px;
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: -18px;
    top: -25px;
    background-color: #444444b3;
    border-radius: 50%;
    color: #fff;
    font-size: 27px;
}
.wishlist-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: pointer;
}

.wishlist-icon:hover {
  transform: scale(1.1);
}

.wishlist-icon a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  color: #555;
  text-decoration: none;
}

/* Iconos de corazón */
.icon_heart_alt,
.icon_heart {
  color: #777;
  transition: color 0.3s ease;
}

.icon_heart {
  color: #e74c3c;
}

.icon_heart:before {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  content: "favorite";
  color: #e74c3c;
}

.icon_heart_alt:before {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  content: "favorite_border";
  color: #ffffff;
}

.removeToWish .icon_heart {
  color: #e74c3c;
}

.addToWish .icon_heart_alt:hover {
  /*color: #e74c3c;*/
}

.addToWish .icon_heart_alt:hover:before {
  color: #ff9a00;
}

/* Ícono de corazón en la navegación */
.nav-wishlist-icon-heart {
  transition: all 0.3s ease;
}

.nav-wishlist-icon-heart.redIcon {
  color: #e74c3c !important;
}

.nav-wishlist-icon-heart.whiteIcon {
  color: inherit;
}

.counterwc {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
 top: 12px;
    left: 36px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  color: white;
  font-size: 10px;
  font-weight: bold;
  border-radius: 8px;
  background-color:transparent;
}
.item-trigger.wishCounter.redIcon .counterwc {
  background-color: #e74c3c;
}
.wishBar {
  position: fixed;
  top: 120px;
  right: 0;
  width: 300px;
  background-color: white;
  border: 1px solid #e1e1e1;
  border-radius: 8px 0 0 8px;
  box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.1);
  transform: translateX(300px);
  transition: transform 0.3s ease;
  z-index: 1050;
  overflow: hidden;
}

.wishBar.show {
  transform: translateX(0);
}

.wishBar.hidden {
  transform: translateX(300px);
}

.wishBar-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.wishBar-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e1e1e1;
  font-weight: bold;
}

.wishBar-content {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  max-height: 300px;
}

.wishBar-footer {
  padding: 10px;
  border-top: 1px solid #e1e1e1;
  text-align: center;
}

.wishBar-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f1f1;
}

.wishBar-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.wishBar-item-img {
  width: 60px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 10px;
}

.wishBar-item-title {
  flex: 1;
  font-size: 12px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #333;
  text-decoration: none;
}

.wishBar-item-title:hover {
  color: #0d6efd;
  text-decoration: none;
}

.wishBar-item-remove {
  margin-left: 5px;
  color: #dc3545;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  font-size: 0.7rem;
}

.wishBar-item-remove:hover {
  opacity: 1;
}

.wishBar-more-items {
  font-size: 12px;
  color: #6c757d;
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

/* Estilos para el modal de wishlist */
.modal-body .infoNotWish {
  padding: 30px 15px;
  text-align: center;
  color: #6c757d;
}
#wishModal .mt-0.close {
    position: absolute;
    right: -11px;
    top: -14px;
    background-color: #444;
    color: #fff;
    border-radius: 50%;
    width: 30px;
    font-size: 24px;
    height: 30px;
}
#wishList {
  max-height: 400px;
  overflow-y: auto;
}

.wishedItem {
  position: relative;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f1f1f1;
}

.wishedItem:last-child {
  margin-bottom: 0;
  padding-bottom: 0;

}

.wishedItem h5 {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wishedItem .img-wrapper {
  display: inline-block;
  vertical-align: top;
  width: 100px;
  margin-right: 15px;
}

.wishedItem .img-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}

.wishedItem .text-wrapper {
  display: inline-block;
  vertical-align: top;
  width: calc(100% - 120px);
  font-size: 13px;
  color: #666;
}

.wishedItem .action-wrapper {
  display: flex;
  align-items: center;
}

.wishedItem .clearWishelm {
  color: #dc3545;
  text-decoration: none;
}

.wishedItem .clearWishelm:hover {
  color: #c82333;
}

/* Animación para los cambios en wishlist */
@keyframes wishPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.wish-pulse {
  animation: wishPulse 0.3s ease-in-out;
}

/* Overrides para botones en tarjetas */
.activity-card .wishlist-icon {
 /* background-color: rgba(255, 255, 255, 0.9);*/
 /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);*/
}

.activity-card .wishlist-icon:hover {
 /* background-color: #fff;*/
  /*box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);*/
}
.wishlist-icon:hover i:before {
    color:#ff9a00;
}
/* Responsive */
@media (max-width: 767px) {
  .wishBar {
    width: 250px;
  }
  
  .wishedItem .img-wrapper {
    width: 80px;
  }
  
  .wishedItem .text-wrapper {
    width: calc(100% - 100px);
    font-size: 12px;
  }
  .activity-card .wishlist-icon {
    width: 26px;
    height: 26px;
  }
  
  .activity-card .wishlist-icon i:before {
    font-size: 20px;
  }
}