.product .onsale {
  width: fit-content;
  text-transform: none;
  background-color: #132850;
  font-size: 14px;
  border-radius: 20px;
  padding: 0 10px;
}

.product .category {
  font-size: .75rem;
  margin-bottom: 5px;
}

.products .product .ttm-product-box .ttm-product-content .ttm-product-title h2 {
  font-size: 16px;
  text-align: center;
  margin-bottom: 10px;
  min-height: 40px;
}

.products .product .ttm-product-box .ttm-product-content .ttm-product-family p {
  color: #86898c;
  line-height: 1.4em;
  min-height: 35px;
}

.products .product .ttm-product-box .ttm-product-image-box img {
  padding: 15px;
  max-height: 230px;
}

/* Botón visible siempre encima */
#toggleSidebar {
  position: relative;
  top: 15px;
  left: 15px;
  z-index: 5;
  border-radius: 50px;
  background-color: #5eb4da;
  border: none;
  font-weight: 600;
  padding: 10px 20px;
  transition: background-color 0.3s ease;
  font-size: 15px;
}

#toggleSidebar:hover {
  background-color: #152850;
}

.sidebar .top-rated-products li a {
  font-size: 11px;
}

.sidebar .top-rated-products li .amount {
  font-size: 12px;
}

table tbody th {
  border-left: 1px solid #e6e6e6;
}

.sidebar aside.widget li.fam_activa a {
  font-weight: 800 !important;
  color: #d07c38;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 23px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 17px;
  width: 17px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

.widget ul>li {
  padding: 0 0 7px 0;
}

.widget ul>li:last-child {
  margin-bottom: 30px;
}

aside.widget ul {
  border-bottom: 1px solid #E4E4E4;
}

.widget-reto ul>li>a {
  font-size: 18px !important;
  color: #86898c !important;
}


input:checked+.slider {
  background-color: #5EB5D9;
}

input:focus+.slider {
  box-shadow: 0 0 1px #5EB5D9;
}

input:checked+.slider:before {
  -webkit-transform: translateX(23px);
  -ms-transform: translateX(23px);
  transform: translateX(23px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 28px;
}

.slider.round:before {
  border-radius: 50%;
}

.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.image-center {
  display: flex;
  justify-content: center;
}

.image-center img {
  display: block;
  object-fit: contain;
}

.producto-home {
  width: 266px;
  height: 266px;
  background: #fff;
}

body .site-main {
  padding-top: 0px;
}


.ttm-single-product-details .product-details__short-description {
  margin-bottom: 10px;
  text-align: justify;
}

.lista-semaforos {
  display: flex;
  align-items: stretch;
}

.semaforo {
  margin-top: 5px;
  border: 2px solid #48c148;
  border-radius: 5px;
  text-align: center;
  margin-right: 1.2rem;
}

.semaforo .titulo {
  display: block;
  color: #fff;
  background: #48c148;
  padding: 5px 8px;
  font-weight: 700;
}

.semaforo .valor {
  display: block;
  color: #48c148;
  background: #fff;
  padding: 15px 25px;
  font-weight: 600;
  font-size: 1.5rem;
}

.ttm-page-title-row {
  background: #111;
  padding-top: 45px;
  padding-bottom: 45px;
}

/* Productos en color */
.featured-imagebox-team .ttm-box-view-overlay.ttm-team-box-view-overlay .featured-thumbnail img {
  -webkit-filter: unset;
  filter: unset;
  /* -webkit-filter: grayscale(100%); */
  /* filter: grayscale(100%); */
  width: 100%;
}

.lista-numeros {
  list-style: numbers outside none;
}

.lista-letras {
  list-style: upper-alpha outside none;
}

.ttm-page-title-row {
  background: #484848;
}

div.ttm-page-title-row>.ttm-bg-layer {
  background: unset;
}

::-moz-selection {
  /* Code for Firefox */
  color: black;
  background: grey;
}

::selection {
  color: black;
  background: grey;
}

/* Quitar flechas en Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.sidebar .top-rated-products li a img {
  width: 80px;
  max-height: 96px;
}

.sidebar .top-rated-products li a {
  min-height: 52px;
}

/*
Cambios Ligna TIENDA online - 14/11/2022
*/

@media only screen and (min-width: 1200px) {
  .ttm-header-style-stackcenter #site-header-menu #site-navigation .menu ul.dropdown>li>a {
    padding: 7px 0;
    margin: 0 10px;
    font-weight: 600;
    font-size: 15px;
  }

}

.menu-tienda-online {
  background-color: #5EB5D9;
  color: white !important;
}

.font-21 {
  font-size: 21px !important;
}

input.error {
  border: 1px solid red;
}

select.error {
  border: 1px solid red;
}

.product .con-alergenos {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
}

.con-alergenos .img-alergenos {
  padding: 3px !important;
  width: 100%;
  position: relative;
  max-width: unset;
  z-index: 100;
}

.posted_in .bullet-gama {
    font-size: 15px;
    text-decoration: underline;
}

.bullet-gama.verde {
  color: #6fbe68 !important;
}

.bullet-gama.roja {
  color: #bb1d1d !important;
}

.bullet-gama.amarilla {
  color: #e0ca00 !important;
}

a.anchor {
  display: block;
  position: relative;
  top: -70px;
  visibility: hidden;
}


.product-destacado .ttm-product-content {
  background-color: #5EB5D930;
}

.product-destacado .ttm-product-box {
  border-width: 2px;
  /*border-color: #5EB5D930;*/
  border-color: #5EB5D9;

  border-bottom-style: dotted;
  border-right-style: dotted;
  border-top-style: solid;
  border-left-style: solid;
}

#user-compra-btn.logged {
  /*background-color: #5EB5D9; 
  border: 1px dashed #5EB5D9;
  */
  color: #7acce4;
}

.product .con-favoritos {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
}

.product .con-favoritos .cesta-favorito-btn {
  display: inline-block;
  text-align: center;
  height: 35px;
  width: 35px;
  line-height: 35px;
  font-size: 19px !important;
  color: #484848;
  border: none;
}

.product .con-favoritos .cesta-favorito-btn .rojo {
  color: red;
}

.has-error {
  border-color: red !important;
  background-color: #ff00000a !important;
}

/* Overlay */

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgb(94 180 218 / 81%);
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.ttm-product-box-inner:hover .product-overlay {
  opacity: 1;
}

.quantity-box {
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
  padding: 6px 16px;
  display: flex;
  margin-bottom: 1rem;
}

.quantity-box button {
  border: none;
  background: none;
  font-size: 1.2rem;
  color: #333;
  width: 20px;
  padding: 0;
  margin: 0;
}

.quantity-box input {
  border: none;
  font-weight: 500;
  text-align: center;
  max-width: 50px;
}

.btn-add {
  background: #24364a;
  color: #fff;
  border-radius: 9999px;
  padding: 8px 24px;
  font-weight: 600;
  border: none;
}

.btn-add:hover {
  background: #D07C37;
  color: #fff;
}

/* Quitar flechas en Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/*
  Cuestionarios de Retos
  Proyecto RETOs paralizado



.cuestiones {
  margin: 5px 0;
  font-weight: 500;
  font-size: 16px !important; 
  color: #86898c !important;
}
.cuestiones li {
  justify-content: flex-start;
  border: 1px solid #e9e9e9;
  padding: 7px 0;
  box-shadow: 3px 3px 4px rgba(150, 150, 150, .1);
  margin: 20px 0;
  border-radius: 2px;
  height: auto;
  align-items: center;
}
.cuestiones ul {
  padding: 0;
  list-style: none;
}
.numero {
  display: flex;
  background-position: center;
  align-items: center;
  background-color: #fff;
  margin: 0 20px;
  width: 42px;
  height: 42px;
  color: #5EB5D9;
  justify-content: center;
  border-radius: 50%;
  font-size: 25px;
  font-weight: 600;
  border: 2px solid #d6d6d6;
  transition: all .3s;
}
.numero.pulsado {
  color: #fff;
  background-color: #5EB5D9;
}
.cuestiones a {
  background-image: url(/resources/images/brillo-preguntas.svg);
  background-repeat: no-repeat;
  color: #fff;
  background-color: #afafaf;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 600;
  margin: 0 10px;
  padding: 20px;
  text-decoration: none;
  width: 63px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  transition: all .2s;
}
.cuestiones-btn {
  margin-left: auto;
}
.respuestas {
  display: flex;
  align-items: center;
}
.respuestas .pulsado{
  background-color: #5EB5D9;
}
*/

@media (max-width: 991px) {

  .add-to-cart-btn {
    font-size: 17px !important;
    font-weight: 600 !important;
    margin: 10px auto !important;
  }

  a.anchor {
    top: unset;
  }

}