/* Ajustes propios de eshigiene sobre el tema Classic (2026-10-22) */

/* Carrusel de portada: en escritorio la imagen va a la derecha y el texto en la columna izquierda, sin solaparse */
@media (min-width: 768px) {
  .carousel .carousel-item figure {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    background: #fff;
  }
  /* La imagen puede ir directamente en el figure o dentro de un enlace (diapositivas sin URL) */
  .carousel .carousel-item figure > img,
  .carousel .carousel-item figure > a:first-child {
    flex: 0 0 62%;
    width: 62%;
    max-width: 62%;
  }
  .carousel .carousel-item figure > a:first-child img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  /* Misma altura en todas las diapositivas: las imagenes originales tienen proporciones algo distintas */
  .carousel .carousel-item figure img {
    aspect-ratio: 12 / 5;
    object-fit: cover;
  }
  .carousel .carousel-item .caption {
    top: 50%;
    bottom: auto;
    left: 40px;
    max-width: 34%;
    transform: translateY(-50%);
    color: #333;
  }
  .carousel .carousel-item .caption .display-1 {
    font-size: 2.4rem;
    line-height: 1.1;
  }
  .carousel .carousel-item .caption .caption-description,
  .carousel .carousel-item .caption .caption-description p {
    color: #333;
  }
  .carousel .carousel-item .caption .btnSlider {
    margin-top: .5rem;
    padding: .5rem 1.25rem;
    background: #24b9d7;
    color: #fff;
  }
}

/* Listado de categoria: como en la tienda en produccion, sin bloque de subcategorias ni cabecera alta */
#subcategories {
  display: none;
}
.block-category {
  min-height: 0;
  padding-bottom: .5rem;
}
.block-category .block-category-inner:empty {
  display: none;
}

/* Columna izquierda: el bloque de ofertas muestra un producto a todo el ancho, como en produccion */
#left-column .featured-products .products {
  display: block;
}
#left-column .featured-products .product,
#left-column .featured-products .js-product {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
  padding: 0;
}
#left-column .featured-products .all-product-link {
  float: none;
  display: block;
  margin-top: .5rem;
}

/* Pie como en la tienda en produccion */
.footer-container {
  background: #edf4f8;
  box-shadow: none;
  padding-top: 1.5rem;
}
.footer-container .esh-footer-col {
  margin-bottom: 1.5rem;
  color: #777;
  font-size: 13px;
  line-height: 20px;
}
.footer-container .esh-footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-container .esh-footer-col li a {
  color: #777;
}
.footer-container .esh-footer-col li a.esh-footer-mail {
  color: #188bbf;
  text-decoration: underline;
}
.footer-container .esh-footer-title {
  margin: 20px 0 10px;
  color: #b3bfca;
  font-size: 16px;
  font-weight: 700;
}
.footer-container .esh-footer-logo {
  max-width: 250px;
  margin-bottom: 10px;
}
.footer-container .esh-footer-brand p {
  width: 235px;
  max-width: 100%;
  font-size: 14px;
  line-height: 20px;
}

/* Tarjetas de producto como en produccion: precio grande azul, nombre azul y boton de compra */
.product-miniature .product-description {
  text-align: center;
}
.product-miniature .product-price-and-shipping .price {
  color: #188bbf;
  font-size: 22px;
  font-weight: 600;
}
.product-miniature .product-title a {
  color: #188bbf;
  font-size: 13px;
}
.product-miniature .esh-add-to-cart {
  margin: .5rem 0 .75rem;
}
.product-miniature .esh-add-to-cart .btn {
  padding: .45rem .9rem;
  background: #188bbf;
  border-radius: 0;
  font-size: 13px;
  text-transform: none;
}
.product-miniature .esh-add-to-cart .material-icons {
  margin-right: .4rem;
  font-size: 18px;
  vertical-align: middle;
}

/* Cabecera como en produccion: logo, buscador, Mi cuenta y carrito en una linea; menu debajo */
#header .header-top {
  padding: 20px 0 0;
  background: #fff;
}
#header .header-top .esh-header-search,
#header .header-top .esh-header-user {
  display: flex;
  align-items: center;
  min-height: 46px;
}
#header .header-top .esh-header-user {
  justify-content: flex-end;
  gap: 2rem;
}
#header .esh-header-search #search_widget {
  float: none;
  width: 100%;
  max-width: 485px;
  min-width: 0;
  margin: 0;
}
#header .esh-header-search #search_widget form {
  border: 1px solid #188bbf;
  border-radius: 20px;
  background: #fff;
}
#header .esh-header-search #search_widget form input[type=text] {
  height: 28px;
  padding: 0 34px 0 13px;
  border: 0;
  background: transparent;
  font-size: 14px;
  color: #555;
}
#header .esh-header-search #search_widget form i.search {
  right: 8px;
  left: auto;
  top: 2px;
  color: #188bbf;
}
#header .esh-header-user .user-info a,
#header .esh-header-user .user-info a span {
  color: #188bbf;
  font-size: 13px;
  font-weight: 700;
}
#header .esh-header-user .user-info .material-icons {
  margin-right: 6px;
  font-size: 22px;
  color: #188bbf;
}
#header .esh-header-user .blockcart {
  padding: 0;
  background: transparent;
  height: auto;
}
#header .esh-header-user .blockcart .header span {
  display: none;
}
#header .esh-header-user .blockcart .shopping-cart {
  color: #188bbf;
  font-size: 28px;
}
#header .esh-header-menu {
  margin-top: 10px;
  text-align: center;
}
#header .esh-header-menu .top-menu[data-depth="0"] {
  display: inline-block;
}
#header .esh-header-menu .top-menu a[data-depth="0"] {
  padding: 2px 10px 5px;
  color: #ccc;
  font-size: 16px;
  font-weight: 700;
  text-transform: none;
}
#header .esh-header-menu .top-menu a[data-depth="0"]:hover,
#header .esh-header-menu .top-menu li.current > a[data-depth="0"] {
  color: #188bbf;
  border-bottom: 2px solid #188bbf;
}

/* Barra de contacto bajo el carrusel */
.esh-contact-bar {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 30px;
  background: #188bbf;
}
.esh-contact-bar .esh-contact-item {
  flex: 1 1 33.33%;
  min-width: 220px;
  padding: 10px 0 12px;
  text-align: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.esh-contact-bar a {
  color: #fff;
}
.esh-contact-bar img {
  width: 20px;
  margin-right: 10px;
  vertical-align: middle;
}
#header .esh-header-search #search_widget form i.clear {
  display: none;
}
#header .esh-header-search {
  justify-content: center;
}
#header .esh-header-search #search_widget {
  overflow: visible;
}
