/**
* 2007-2018 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* 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 http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2018 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/
.beshop_wishlist_layout i{
  font-size: 16px;
  display: inline-block;
}
.beshop_wishlist_layout > div{
  display: inline-block;
  padding: 0px 5px;
  line-height: 30px;
  cursor: pointer;
}
.beshop_wishlist_layout > div > div{
  display: inline-block;
  margin: 0;
}
.beshop_wishlist_layout > div.hidden > div{
  display: none;
}
#beshop_add_new_wishlist {
	background: var(--beshop-line);
	border: 1px solid var(--beshop-primary);
	padding: 2.5px 8px;
	font-size: 25px;
	font-family: Arial;
	font-weight: 700;
	line-height: 25px;
	display: block;
  cursor: pointer;
}
#beshop_wishlist_name {
	padding: 6px;
	width: 200px;
	float: left;
}
.beshop_wishlist_checked_list_group input{
  display: none;
}
.beshop_wishlist_checked_list_group .checkboxlabelspan{
  cursor: pointer;
	display: inline-block;
	position: relative;
	background-color: transparent;
	width: 14px;
	height: 14px;
	transform-origin: center;
	border: 1px solid var(--beshop-line);
	vertical-align: -3px;
	margin-right: 10px;
	transition: background-color 150ms 200ms, transform 350ms cubic-bezier(.78,-1.22,.17,1.89);
}
.beshop_wishlist_checked_list_group .checkboxlabelspan::before{
  content: "";
width: 0px;
height: 1px;
border-radius: 2px;
background: var(--beshop-primary);
position: absolute;
transform: rotate(45deg);
top: 6px;
left: 2px;
transition: width 50ms ease 50ms;
transform-origin: 0% 0%;
}
.beshop_wishlist_checked_list_group .checkboxlabelspan::after{
  content: "";
  width: 0;
  height: 1px;
  border-radius: 2px;
  background: var(--beshop-primary);
  position: absolute;
  transform: rotate(305deg);
  top: 9px;
  left: 4px;
  transition: width 50ms ease;
  transform-origin: 0% 0%;
}
.beshop_wishlist_checked_list_group label{
  display: inline-block;
  cursor: pointer;
  position: relative;
}
.beshop_wishlist_checked_list_group label:hover .checkboxlabelspan::before{
  width: 5px;
  transition: width 100ms ease;
}
.beshop_wishlist_checked_list_group label:hover .checkboxlabelspan::after{
  width: 10px;
  transition: width 150ms ease 100ms;
}
.beshop_wishlist_checked_list_group input:checked + label .checkboxlabelspan::before{
  width: 5px;
  background: var(--beshop-primary);
  height: 2px;
  left: 3px;
  transition: width 100ms ease;
}
.beshop_wishlist_checked_list_group input:checked + label .checkboxlabelspan::after{
  width: 10px;
  background: var(--beshop-primary);
  height: 2px;
  transition: width 150ms ease 100ms;
}
.beshopNewWishlist{
  margin-top: 3em;
}
.beshop_wishlist_loader {
	color: var(--beshop-text);
	font-size: 14px;
	text-indent: -9999em;
	overflow: hidden;
	width: 15px;
	height: 14px;
	border-radius: 50%;
	position: relative;
	-webkit-transform: translateZ(0);
	-ms-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-animation: load6 1.7s infinite ease, round 1.7s infinite ease;
	animation: load6 1.7s infinite ease, round 1.7s infinite ease;
	margin-top: 5px;
	margin-bottom: 6px;
}
.beshop_wishlist_noname{
  color: var(--beshop-error);
  display: none;
}
.beshop_wishlist_item {
  width: 100%;
  margin-top: 2em;
}
.beshop_wishlist_container{
  margin-bottom: 5em;
}
.beshop_wishlist_remove_wishlist {
	cursor: pointer;
	font-size: 1.5rem;
	font-family: sans-serif;
	font-weight: bold;
	display: inline-block;
	line-height: 1em;
	vertical-align: middle;
}
#beshop_wishlist_customWishlistModal .beshop_wishlist_remove_wishlist{
  margin-left: 10px;
  font-size: 1.3em;
}
.beshop_wishlist_favorite {
  display: inline-block;
  cursor: pointer;
}
.beshop_wishlist_remove_product {
	right: 0;
	position: absolute;
	top: 29%;
	display: inline-block;
	cursor: pointer;
	font-size: 1.2rem;
	font-family: sans-serif;
	font-weight: bold;
}
.beshop_wishlist_header{
  margin-bottom: 1em;
}
.beshop_wishlist_product{
  position: relative;
}
.beshop_wishlist_product h6, .beshop_wishlist_product img{
  display: inline-block;
}
.beshop_wishlist_title{
  display: inline-block;
  margin: 0;
  vertical-align: middle;
  max-width: 50%;
}
.beshop_share_input{
  display: inline-block;
  float: right;
}
.beshop_share_input span{
  display: block;
  margin-top: 4.5px;
  float: left;
  margin-right: 0.5em;
}
/* Interruptor "Compartir": casilla con aspecto de interruptor, colores de la paleta */
.beshop_wishlist_checkbox {
  position: relative;
  display: inline-block;
  line-height: 0;
  top: 2px;
}
.beshop_wishlist_checkbox input[type="checkbox"] {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.beshop_wishlist_checkbox label {
  position: relative;
  display: inline-block;
  width: 2.5rem;
  height: 1.375rem;
  margin: 0;
  border-radius: 1rem;
  background: var(--beshop-line);
  cursor: pointer;
  transition: background-color .25s ease;
}
.beshop_wishlist_checkbox label::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc(1.375rem - 6px);
  height: calc(1.375rem - 6px);
  border-radius: 50%;
  background: var(--beshop-bg-card);
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transition: transform .25s ease;
}
.beshop_wishlist_checkbox input:checked + label {
  background: var(--beshop-primary);
}
.beshop_wishlist_checkbox input:checked + label::after {
  transform: translateX(calc(2.5rem - 1.375rem));
}
.beshop_wishlist_checkbox input:focus-visible + label {
  outline: 2px solid var(--beshop-primary);
  outline-offset: 2px;
}

#beshop_wishlist_shareModal .now_shared #beshop_wishlist_share_link{
  display: block;
  width: 80%;
  height: 40px;
  border: 0px;
  background: var(--beshop-line);
  float: left;
}
#beshop_wishlist_shareModal .now_shared .first_part button {
	display: block;
	width: 20%;
	border: 0;
	height: 40px;
	background: var(--beshop-line);
}
#beshop_remove_wishlist_confirm_button {
	border: 0;
	padding: 7px 14px;
	background: var(--beshop-primary);
	color: var(--beshop-primary-contrast);
  cursor: pointer;
}
#beshop_remove_wishlist_cancel_button {
	border: 0;
	padding: 7px 14px;
	background: var(--beshop-bg-soft);
	color: var(--beshop-text);
  cursor: pointer;
}

#beshopw_wishlist_copiedToClipboard, #beshop_wishlist_shareModal .now_shared .first_part button:hover{
	background: var(--beshop-success) !important;
	color: var(--beshop-primary-contrast) !important;
  transition: 0.5s ease-in-out;
}
#module-beshop_wishlist-front .modal-backdrop.show{
display: none;
}
#module-beshop_wishlist-front #beshop_wishlist_shareModal, #module-beshop_wishlist-front #beshop_wishlist_remove_wishlist_modal{
background: rgba(0,0,0,.2);
}
#module-beshop_wishlist-front #beshop_wishlist_shareModal .modal-content, #module-beshop_wishlist-front #beshop_wishlist_remove_wishlist_modal .modal-content{
padding: 10px;
}
.page-account-content input {
    margin: 0
}
#beshop_wishlist_shareModal .beshop_wishlist_checkbox {
    margin-left: 1em;
}
#beshop_wishlist_shareModal .close {
    width: initial;
}
#beshop_wishlist_shareModal .now_shared button {
    line-height: initial;
}
@-webkit-keyframes load6 {
  0% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  5%,
  95% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  10%,
  59% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
  }
  20% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
  }
  38% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
  }
  100% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
}
@keyframes load6 {
  0% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  5%,
  95% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  10%,
  59% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
  }
  20% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
  }
  38% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
  }
  100% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
}

/* =====================================================
   BESHOP WISHLIST — SVG heart icon (beshopv2)
   ===================================================== */

/* Botón base — resetear estilos de button */
.beshop_wishlist_quickadd.in_product,
.beshop_wishlist_customlist.in_product {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  line-height: 1;
}

/* Icono relleno oculto por defecto */
.beshop-wl-icon--filled {
  display: none;
}

/* Estado: producto en wishlist */
.beshop_wishlist_quickadd.added .beshop-wl-icon--empty,
.beshop_wishlist_customlist.added .beshop-wl-icon--empty {
  display: none;
}
.beshop_wishlist_quickadd.added .beshop-wl-icon--filled,
.beshop_wishlist_customlist.added .beshop-wl-icon--filled {
  display: block;
}

/* Transición suave */
.beshop-wl-icon {
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.beshop_wishlist_quickadd:hover .beshop-wl-icon,
.beshop_wishlist_customlist:hover .beshop-wl-icon {
  transform: scale(1.15);
}

/* Label de texto (hookProduct.tpl — página de producto) */
.beshop-wl-btn__label {
  font-size: 0.85rem;
  vertical-align: middle;
}



.beshop_wishlist_product .js-product {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  padding: 0 !important;
}

/* En la página de wishlist, ocultar el corazón de la miniatura */
.beshop_wishlist_product .wishlist-button-add {
  display: none !important;
}

/* Posicionar la X de eliminar encima de la imagen, donde estaría el corazón */
.beshop_wishlist_product {
  position: relative;
}

.beshop_wishlist_remove_product {
  position: absolute;
  top: 0.5rem;
  right: 28px;
  z-index: 20;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--beshop-bg-card);
  border: 0.5px solid var(--beshop-line);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  color: var(--beshop-text);
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}

.beshop_wishlist_remove_product:hover {
  background: var(--beshop-primary);
  color: var(--beshop-primary-contrast);
}

